PROGRAM PLC_PRG VAR byTestVar: BYTE; END_VAR WHILE byTestVar >= 260
; END_VAR PROGRAM [...] ; END_VAR i [...] Condition : INT; END_VAR i
; END_VAR IF INT [...] #2; END_IF IF (iVar [...] well iVar := 0; END
: LINT; END_VAR aunionVar [...] Temp : LINT; END_UNION END_TYPE PROGRAM PLC_PRG VAR
; END_VAR iVar := 0 [...] counter*) END_IFiVar [...] Inversion1 VAR xA, xB, x
PROGRAM PLC_PRG VAR iCounter, iVar1, iVar2 : INT; END_VAR FOR i
; END_VAR FOR n [...] 以将此变量创建为临时变量 ( VAR_TEMP )。访问 [...] PROGRAM PLC_PRG VAR n
Temp:INT; instPOU:POU; END_VAR [...] :INT; END_VAR a := INT#1 [...] Temp:STRING; END_VAR pti
:= INT#15; END_VAR VAR [...] _iValue + 1] OF INT; END_VAR [...] PROGRAM PLC_PRG VAR
_BOOL : BOOL VAR_INPUT END_VAR VAR xTest : BOOL; END_VAR x