CODESYS Development System
_TWO: bVar1 := TRUE; bVar3 := FALSE; 2: bVar2 := FALSE; bVar3 := TRUE
_Test VAR bParameter: BOOL; END_VAR METHOD Call : BOOL VAR
. 例子 VAR_GLOBAL iVarGlob:INT; END_VAR PROGRAM PLC_PRG VAR iSubr1: INT
Fun1 VAR_INPUT bIn : BOOL; VAR_END VAR [...] _VA ; PROGRAM PLC_PRG VAR b
PLC_PRG VAR iVar [...] ; END_VAR iVar := iVar + INT#1; CASE iVar OF
. 例子 VAR_GLOBAL g_iVar AT %QW1 : INT; END_VAR PROGRAM PLC_PRG VAR i
12 提示 当输出变量 ( VAR [...] 16 . 例子 VAR_GLOBAL g_xVar AT %QX
CODESYS Development System
示例: PROGRAM PLC_PRG VAR END_VAR [...] VAR END_VAR POU
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