_TEMP iIndex : INT; END_VAR FOR iIndex := INT#0 [...] DO iIndex := i
CODESYS Development System
示例: PROGRAM PLC_PRG VAR i : INT; END_VAR i := Test(iPar1:=2, 5
_GLOBAL xVar1 : BOOL; i [...] Var1 : BOOL; // SA0013 i [...] .xVar1; iVar3 := i
_INPUT ref_i [...] _VAR ref_iTest := 99 [...] __ISVALIDREF(ref_iTest) THEN
CODESYS Development System
Gamma VAR_INPUT iAlpha : INT; iBeta : INT [...] _OUTPUT iGamma : INT; END
_GLOBAL g_iTemp1: INT [...] _PRG // Controlled by MainTask g_iTemp1 := g_iTemp1 + INT#2
:") for i in (1,2,3,4): print(i, end [...] :") for i in "CODESYS
CODESYS Development System
. 例子 FOR iCounter := 1 TO 5 BY 1 DO iVar1 := iVar1*2; END
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END_VAR VAR_OUTPUT i
CODESYS Development System
_PRG VAR END_VAR i := 1; 信息: C0018: 'i' 不是有效的分配目标 C0046: 标识符“i”未定