klauer / blark

Beckhoff TwinCAT ST (IEC 61131-3) code parsing in Python using Lark (Earley)
https://klauer.github.io/blark/
GNU General Public License v2.0
42 stars 5 forks source link

Language features in upcoming TwinCAT 4026 release #71

Open klauer opened 1 year ago

klauer commented 1 year ago

https://www.beckhoff.com/en-us/products/automation/twincat/twincat-3-build-4026/

Some relevant ones might include:

keyword: ABSTRACT for abstract function block/method/property definition ENUMs available as strings in the PLC exception handling via TRY-CATCH conditional compilation available in declaration part (in addition to implementation part) multi-line support in pragma declarations optional storage format Base64 for graphical PLC objects

Will need code examples. If you find more details about the build - specifically structured text-related changes - please feel free to add a comment here.

engineerjoe440 commented 1 year ago

Here are some resources that are related to CODESYS in regards to TRY/CATCH:

And some interesting information on the ABSTRACT keyword (seems pretty general)