CODESYS Development System
For POUs Identifier designation recommendation for Description Example Functions, function blocks, programs Library prefix followed by an underscore and a short, informative POU name Like for variable
CODESYS Development System
For POUs in CODESYS V3 Libraries Identifier designation recommendation for Description Example POU The library prefix is omitted because the namespace replaces the function of the library prefix. FUNC
CODESYS Development System
For visualizations Name recommendations for visualization objects Important Note that a visualization is not named the same as another block in the project because this may cause problems when changin
CODESYS Development System
Shadowing Rules In CODESYS , you are generally allowed to use the same identifier for different elements. For example, a POU and a variable can be named the same. However, you should avoid this practi
CODESYS Development System
Keywords In all editors, you must capitalize keywords that for example denote scopes, data types, or operators. Keywords cannot be used as variable names. Example 281 . Example VAR END_VAR BOOL_TO_INT
CODESYS Development System
Region Pragma The pragma is used to combine multiple lines in a text editor to a block. The block can be named. Region pragmas can also be nested. Code with region pragma: Expanded and collapsed views
CODESYS Development System
Identifier Designation Rules and recommendations for the identifier designation for variables, constants, functions, function blocks, methods, and other objects :
CODESYS Development System
For Variables in CODESYS V3 Libraries Identifier designation recommendation for Description Example Variable Corresponds to the description for variable names, with the exception that global variables
CODESYS Development System
Error Messages and Warnings :