CODESYS Development System
PROGRAM PROG1 VAR str [...] POS : STRING; END_VAR
CODESYS Development System
PLC_PRG VAR i : INT; END_VAR CASE i OF 3
CODESYS Development System
示例: PROGRAM PLC_PRG VAR i : INT; b : UINT; END_VAR
CODESYS Development System
示例: PROGRAM PLC_PRG VAR i : DINT; b : REAL; END_VAR
CODESYS Development System
示例: PROGRAM PLC_PRG VAR st [...] ); END_VAR 信息: C
CODESYS Development System
PLC_PRG VAR bTest: BOOL; END_VAR IF b
CODESYS Development System
. 无限循环示例: VAR ui [...] ); ... END_VAR FOR ui:=0 [...] RangeSigned : DINT VAR_INPUT value
CODESYS Development System
能范围 <scope list> 适用范围: VAR [...] list> END_VAR 对于输入/输出变量的变量声明 VAR
CODESYS Development System
103 . 例子 造成 var [...] var1 := 2#1001
CODESYS Development System
_PRG VAR a : INT; ITFref [...] 2 : ITF2; END_VAR