_GLOBAL xVar1 : BOOL; iVar [...] PROGRAM PLC_PRG VAR xVar1 [...] xVar1 := NOT GVL.xVar1
Inversion1 VAR xA, xB, x [...] iVar := iVar + 1 [...] iVar:= 1; (* IF 1
Counter, iVar1, iVar [...] Counter := 0 TO 10 DO iVar1 [...] 2 := iVar2 + iVar1
%QW1 : INT ; END_VAR [...] _OUTPUT xVarOut1:BOOL; xVar [...] Condition OF INT#1: xVarOut1
CODESYS Development System
iVar1 := 0; _label1: iVar1 := iVar1 [...] *) IF (iVar1 < 10
33 := 3.3; lrVar1 := lr [...] 33 - lr11; botest := lrVar1 [...] 变量 lrVar1 和 lrVar2 两者
PROGRAM PLC_PRG VAR ptiVar1 [...] ; ptiVar1 := ADR(iVar); ptiVar1^ := i
CODESYS Development System
inst0 : FB1; END_VAR FUNCTION_BLOCK FB1 VAR inst1 : FB2; END_VAR
CODESYS Development System
_TWO: bVar1 := TRUE; bVar [...] ; 10..20: bVar1 [...] ; ELSE bVar1 := NOT bVar1
CODESYS Development System
Counter := 1 TO 5 BY 1 DO iVar1 := iVar1*2; END_FOR; Erg := iVar1; 如果