; END_VAR METHOD [...] InCopyCode : BOOL; END_VAR g [...] VAR_GLOBAL g
Value :BOOl; END_VAR Fun1(b [...] Fun1 VAR_INPUT bIn : BOOL; VAR_END VAR
:= INT#15; END_VAR VAR [...] TO INT; END_VAR [...] 须确保此函数不会更改传输的值。尽可能使用 VAR
. 例子 VAR_GLOBAL iVarGlob:INT; END_VAR PROGRAM PLC [...] ); END_VAR iSubr1 := n
_Enum; END_VAR iTemp1 := i [...] State : DWORD; END_VAR // OK [...] := 4 ); END
Test: BOOL; END_VAR [...] Text : BOOL; END_VAR [...] ; bTest: BOOL; END_VAR
: LINT; END_VAR aunionVar [...] Temp : LINT; END_UNION END_TYPE PROGRAM PLC_PRG VAR
; END_VAR iVar := iVar [...] PROGRAM PLC_PRG VAR iVar [...] : CASE iVar OF ELSE x
PROGRAM PLC_PRG VAR byTestVar: BYTE; END_VAR WHILE byTestVar >= 260
; END_VAR diVar := diVar [...] ); END_TYPE PROGRAM PLC_PRG VAR diVar