PROGRAM PLC_PRG VAR xTemp1 [...] ; END_VAR xTemp1 := xTemp1 [...] Temp2 := xTemp1 OR TRUE; x
:= 1, blue := 2 [...] _TYPE PROGRAM PLC_PRG VAR iTemp1 [...] _Enum; END_VAR iTemp1 := iTemp1
PLC_PRG VAR byTemp1 [...] byTemp1 <= 255 DO byTemp1 := byTemp1
_PRG VAR iSubr1: INT (INT#1..INT#10); iSubr2: INT (INT#1..INT
:= ROL(DWORD#1, i [...] PROGRAM PLC_PRG VAR iTemp1 [...] Temp5 : LREAL; END_VAR iTemp1
_INPUT xVarIn1 : BOOL; x [...] #1; CASE iCondition OF INT#1: g
3 。 FUNCTION_BLOCK fb1 VAR_INPUT iVar_fb1in1 : INT; ivar_fb1in2 : INT; rVar_fb1
_Afb VAR_INPUT iIn1: INT [...] _VAR VAR_OUTPUT iOut1 [...] ; END_VAR iOut1 := iIn1
PROGRAM PLC_PRG VAR xBool1 [...] Result := xBool1 > xBool2; // SA0051 xBool1
PLC_PRG VAR eColor1: COLOR; END_VAR eColor1 := COLOR.Red; eColor1