CODESYS Development System
PROGRAM PLC_PRG VAR [...] ; END_VAR svar
CODESYS Development System
示例: PROGRAM PLC_PRG VAR X: BYTE; END_VAR X
CODESYS Development System
_PRG VAR arr : ARRAY[1..2] OF BIT; END_VAR
CODESYS Development System
示例: PROGRAM PLC_PRG VAR Value : INT; END_VAR
CODESYS Development System
_PRG VAR i : INT; END_VAR
CODESYS Development System
_PRG VAR r1 : REAL; END_VAR
CODESYS Development System
示例: PROGRAM PLC_PRG VAR END_VAR
CODESYS Development System
96 . 例子 Var1 中的结果:1 英石 var1 := 9
CODESYS Development System
PLC_PRG VAR i : INT; END_VAR i := 5
CODESYS Development System
示例: PROGRAM PLC_PRG VAR x [...] ; END_VAR IF b