CODESYS Development System
示例: PROGRAM PLC_PRG VAR Value : INT; END_VAR
CODESYS Development System
_PRG VAR r1 : REAL; END_VAR
CODESYS Development System
_PRG VAR i : INT; END_VAR
CODESYS Development System
示例: PROGRAM PLC_PRG VAR END_VAR
CODESYS Development System
示例: PROGRAM PLC_PRG VAR X: BYTE; END_VAR X
_BLOCK SendData VAR _paby [...] ] OF BYTE ; END_VAR VAR CONSTANT c
CODESYS Development System
. 例子 造成 diVar : 1 英石 diVar := TRUNC(1.9); (* Result: 1 *) diVar
CODESYS Development System
. 例子 造成 iVAR : 1 英石 iVar := TRUNC [...] : 1 *) iVar
CODESYS Development System
96 . 例子 Var1 中的结果:1 英石 var1 := 9
CODESYS Development System
_PRG VAR inst : FB; END_VAR