Skip to content

#901 #921 PLCgen: S7 has additional naming constraints

  • Best to review per commit.
  • End-user visible changes:
    • PLCgen for S7-300 and S7-400 now handles additional keywords, reserved identifiers, etc.
  • Other changes:
    • The name generator still has disallowed names, to handle I/O names that can't be used for other names.
    • The target now gets queried by the name generator for (dis)allowing names.
    • Moved the PLC keywords to the base target.
    • Moved S7 keywords to the S7 target.
  • I opted not to restrict the length of identifiers, as the limit listed in #901 (closed) has been disproven in practice.

Closes #901 (closed), #921 (closed)

Edited by Dennis Hendriks

Merge request reports