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
CODESYS Development System
_PRG VAR inst : FB; END_VAR
CODESYS Development System
_Output1 => bVar1; FBcomp [...] _Output1 分配给变量 bVar1 . 本节内容如下 :
CODESYS Development System
:=T#300ms); var [...] 了 TMR.Q 并赋值给变量 var