CODESYS Development System
ST Statement: CASE The CASE statement is a conditional control structure which causes a statement or a section of a statement to be executed only under a specific condition. The section which is execu
CODESYS Development System
ST Statement: WHILE The WHILE loop is used like the FOR loop in order to execute statements several times until the abort condition occurs. The abort condition of a WHILE loop is a Boolean expression.
CODESYS Development System
ST Statement: REPEAT The REPEAT loop is used like the WHILE loop, but with the difference that CODESYS only checks the abort condition after the execution of the loop. The consequence of this behavior
CODESYS Development System
ST Statement: RETURN Use the RETURN statement in order to exit from a function block. You can make this dependent on a condition , for example. Example 64 . Example IF xIsDone THEN RETURN; END_IF; iCo
CODESYS Development System
ST Statement: JMP The JMP statement is used for executing an unconditional jump to a program line that is marked by a jump label. Syntax: <label>: <instructions> JMP <label>; The jump label <label> is
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 282 . 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
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
CODESYS Development System
Error Messages and Warnings :