PROGRAM PLC_PRG VAR iVar [...] ; END_VAR iVar := iVar + INT#1; //in the
PROGRAM PLC_PRG VAR iTemp1 [...] Temp5 : LREAL; END_VAR iTemp1 [...] := ROL(DWORD#1, i
PROGRAM PLC_PRG VAR xBool1 [...] Result : BOOL; END_VAR xResult := xBool1 > x
VAR_GLOBAL g_xTest1 [...] InCopyCode : BOOL; END_VAR g_xTest1 [...] ; END_VAR METHOD
PROGRAM PLC_PRG VAR byTemp1 [...] ; END_VAR byTemp1 := SHR(byTemp1, BYTE
输出变量地址所在的代码位置( VAR_OUTPUT , VAR [...] 127 . 例子 功能块 FB1 有 VAR_OUTPUT 多变的 i
PROGRAM PLC_PRG VAR iTemp1 [...] ; END_VAR iTemp1
PLC_PRG VAR iCounter1 [...] Counter2 : INT; // SA0035 END_VAR iCounter1 := 100
:INT; END_VAR a := INT#1 [...] VAR_GLOBAL iTemp:INT; instPOU:POU; END_VAR
comment 1 *) *) PROGRAM PLC_PRG VAR (* That [...] comment 2 comment *) iVal1