CODESYS Development System
_MyB VAR_INPUT i [...] _OUTPUT iOutB : INT; END_VAR VAR iCounter : INT
CODESYS Development System
示例: PROGRAM PLC_PRG VAR i [...] ; END_VAR CASE i OF 1: i := i+1; a: i
CODESYS Development System
PLC_PRG VAR i : INT; END_VAR CASE i OF 3..5: i := i+2; 4: i
CODESYS Development System
PLC_PRG VAR i : INT; END_VAR CASE i OF 3..5: i := i+2; 1..4
CODESYS Development System
_MyA VAR_INPUT i [...] _OUTPUT iOutA : INT; END_VAR VAR iCounter : INT
CODESYS Development System
示例: PROGRAM PLC_PRG VAR i : INT; END_VAR i := Test(iPar2 := 2, 5
CODESYS Development System
_OUTPUT iCnt : INT; END [...] _DoIt : BOOL iCnt := -1 [...] _Base VAR_OUTPUT i
CODESYS Development System
NVL 编辑器的声明部分 I/O 设备对象的 I/O 映像配置 句法 [...] AT %I* ) 被声明,变量
CODESYS Development System
RETURN; END_IF; iCounter := iCounter + 1; 如果 [...] ,则功能块立即退出,语句 i
CODESYS Development System
示例: PROGRAM PLC_PRG VAR i : INT; END_VAR i := TEST(iVar := 1