PROGRAM PLC_PRG VAR in [...] #01000101 in_word : WORD [...] #0000000001000101 in_uint : UINT
PROGRAM PLC_PRG VAR iVar [...] ; END_VAR iVar := iVar + INT#1; //in the
; END_VAR xContinue_In [...] PROGRAM PLC_PRG VAR xReturn_Before_End: BOOL; xContinue_In
1 : INT VAR_INPUT a,b : INT; END_VAR VAR c,d : INT; END_VAR
Temp; // SA0118 dwVar : DWORD := TempVarIn [...] PROGRAM PLC_PRG VAR dw
_A.Meth_MyInit . FUNCTION_BLOCK FB_A VAR [...] ; END_VAR FUNCTION [...] _A VAR mb
12 提示 当输出变量 ( VAR_IN [...] 16 . 例子 VAR_GLOBAL g_xVar AT %QX
VAR_GLOBAL g [...] ; END_VAR METHOD [...] VAR_INPUT (* If
须确保此函数不会更改传输的值。尽可能使用 VAR_IN [...] PLC_PRG VAR [...] := INT#15; END_VAR VAR
PROGRAM PLC_PRG VAR i [...] Cond:BOOL := FALSE; iVar : INT; END_VAR IF INT