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
Method: FB_Init , FB_Reinit , FB_Exit You can declare the methods explicitly in order to influence the initialization of function block variables, as well as the behavior when exiting function blocks.
CODESYS Development System
Global Init Slots Slot Plug-In / Library POU Description 123 GVLObject __var_persistent_write Copying of persistent variables from the persistent list to mapped instance paths 199 Compiler __var__reta
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
Rules Rules for variables An identifier must not contain spaces or special characters. The underscore is recognized. For example, A_BCD and AB_CD are treated as two different identifiers. Multiple con
CODESYS Development System
For variables Whenever possible, you should name variables in Hungarian notation in applications and libraries. Find a meaningful, short, English name for each variable as a base name, which can consi
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
Shortcuts Users can customize the key combinations for their specific needs. The CODESYS Development System provides a series of default key combinations. These key combinations can be changed on the