PROGRAM PLC_PRG VAR iValue1: INT; iValue2: INT; END_VAR iValue1
CODESYS Development System
:= GVL_1.A; ivar2: INT [...] 1 , 'hello' , 3 [...] 目包括两个全局变量列表 GVL_1 和 GVL_2 ,以及
CODESYS Development System
Return_bit := BIT_TO_INT(1); i [...] Return_lr := LREAL_TO_INT(1 [...] Return_tod_0 := TOD_TO_INT(TOD#1:1
Counter : INT; afb [...] Local: INT; END_VAR METHOD METH : INT VAR
_INPUT iVar_fb1in1 : INT; ivar_fb1in2 : INT; rVar_fb1 [...] _OUTPUT iVar_fb1out:INT
CODESYS Development System
2 : FUNCTION fun1 : INT VAR [...] processed in App1 *) g_globalInt := g_globalInt + 1
CODESYS Development System
示例: PROGRAM PLC_PRG VAR arr1 : ARRAY[1..2,1..3] OF INT; END_VAR arr1[1
CODESYS Development System
示例: PROGRAM PLC_PRG VAR arr1 : ARRAY[1..2] OF INT; END_VAR arr1[3
CODESYS Development System
_OUTPUT iCnt : INT; END [...] _DoIt : BOOL iCnt := -1 [...] _BLOCK FB_1 EXTENDS FB
CODESYS Development System
] OF INT; test1 [...] INT; END_VAR VAR [...] ; END_VAR test1