#1137 PLCgen: Enable S7 optimized block access

Updated the generated DB files like the example in both cif2plc and plcgen. In the other files (POUs and timer blocks) with the "optimized access" line I only changed the false or true literal.

I checked what happened to optimized-access lines in the past in cif2plc, and they always were in lower case. Likely it never worked thus.

End-user visible changes:

  • Both PLC code generators now generate optimized access indicator values in the generated code as uppercase TRUE and FALSE, rather than lowercase.
  • Both PLC code generators now generate a title and version in generated DB files.

Closes #1137 (closed)

Edited by Dennis Hendriks

Merge request reports

Loading