12 提示 当输出变量 ( VAR [...] 16 . 例子 VAR_GLOBAL g_xVar AT %QX
PROGRAM PLC_PRG VAR aoi [...] := [2.2]; iVar : INT; rVAR : REAL; END_VAR
_Address_Type_PRG VAR iVar AT %QB [...] .: %QX1.0 END_VAR iVar := iVar + INT#1; x
PROGRAM PLC_PRG VAR iVar : INT; END_VAR iVar := (iVar + 10) / 2
PROGRAM PLC_PRG VAR iVar [...] Test : INT; END_VAR iTest := iTest + iVar
prog_control VAR END_VAR ; PROGRAM PLC_PRG VAR END_VAR
PROGRAM PLC_PRG VAR uiTemp : UINT; TempVarInFUNC : DWORD; END_VAR TempVar
PROGRAM PLC_PRG VAR [...] := INT#15; END_VAR VAR [...] _iValue + 1] OF INT; END_VAR
_TYPE PROGRAM PLC_PRG VAR iVar [...] Temp : BOOL; END_VAR iVar [...] _Enum.black; CASE iVar OF My
PROGRAM PLC_PRG VAR i [...] Cond:BOOL := FALSE; iVar : INT; END_VAR IF INT