CODESYS Development System
ST Function Block Call Calling a function block in ST Syntax <FB instance>(<FB input variable>:=<value or address>\|, <other FB input variables>); Example 67 . Example TMR:TON; TMR (IN:=%OX5, PT:=T#30
CODESYS Development System
Structured Text and Extended Structured Text (ExST) :
CODESYS Development System
ST Editor The ST editor is a textual editor used for the implementation of code in Structured Text (ST) and Extended Structured Text (ExST). The line numbering is displayed on the left side of the edi
CODESYS Development System
ST Editor in Online Mode In online mode, CODESYS displays the variables and expressions in the ST editor ( Monitoring of Values ). The writing and forcing of variables and expressions as well as debu
CODESYS Development System
ST Assignment Operator Syntax: <operand> := <expression> This assignment operator executes the same function as the MOVE operator. :
CODESYS Development System
ST Assignment Operator for Outputs The assignment operator => assigns the output of a function, a function block, or a method to a variable. The position on the right side of the operator can also be
CODESYS Development System
ExST Assignment: S= When the operand of the Set assignment switches to TRUE , then TRUE is assigned to the variable to the left of the operator. The variable is set. <variable name> S= <operand name>
CODESYS Development System
ExST Assignment: R= When the operand of the Reset assignment switches to TRUE , then FALSE is assigned to the variable to the left of the operator. The variable is reset. <variable name> R= <operand n
CODESYS Development System
ExST Assignment as An Expression In ExST , as an extension to the IEC 61131-3 standard, CODESYS permits the use of assignments as expressions. Example 57 . Examples int_var1 := int_var2 := int_var3 +