CODESYS Development System
_PRG VAR END_VAR PLC_PRG.METH1(); METHOD METH VAR_INPUT END_VAR Message: C
CODESYS Development System
BOOL VAR_INPUT str [...] as its input (example: b [...] TO STRING; END_VAR VAR
CODESYS Development System
for the selected scope: VAR_INPUT , VAR_OUTPUT , or VAR_IN_OUT . Call :
CODESYS Development System
'} FUNCTION fun1 : INT VAR_INPUT [...] INT VAR_INPUT i : [...] _defined(define1)} FUNCTION POU : BOOL VAR_INPUT
CODESYS Development System
FUNCTION Fun : INT VAR_INPUT [...] METH: INT VAR_INPUT [...] : var1 AT %QB21: INT
CODESYS Development System
of all inputs. OUT := MAX [...] Result: 90 ST Var1 := MAX(30,90,40); Var
CODESYS Development System
of all inputs. OUT := MIN [...] Result: 30 ST Var1 := MIN(90,30,40); Var
CODESYS Development System
_react_on_type_change : INT VAR_INPUT [...] _BLOCK FB_A VAR var_pt: POINTER TO FB_B; var
CODESYS Development System
. When the respective input bit [...] Result in Var1 : 2#0110_1100 ST Var1 := NOT 2
CODESYS Development System
of the input bits yields 1 [...] Result in Var1 : 2#1001_1011 ST Var1 := 2