:= 10; iBorder2: INT := 10; iCounter: INT [...] Border:INT := 10; END_VAR FOR i
(ariTest[10]); FOR i [...] PROGRAM PLC_PRG VAR i [...] Test : ARRAY[0..10] OF INT
Var := (iVar + 10) / 2 [...] : (int+10) 可以超过 16 位 [...] PROGRAM PLC_PRG VAR i
Y := 10; pB.iX := 2; pB.i [...] : STRUCT iX: INT; i [...] B : DATAPOINT; END_VAR pointA.i
Counter := 0 TO 10 DO i [...] PROGRAM PLC_PRG VAR iCounter, iVar1, i
_PRG VAR iSubr1: INT (INT#1..INT#10); i [...] . 例子 VAR_GLOBAL i
PROGRAM Test VAR_TEMP i [...] [0..10] OF INT; END_VAR FOR i
:= ROL(DWORD#1, i [...] PROGRAM PLC_PRG VAR iTemp1 : INT := 10; //no
.: %QX1.0 END_VAR iVar := iVar + INT#1; x [...] _Address_Type_PRG VAR iVar AT %QB
遵循声明并对应于为基本数据类型定义的命名约定。 例子 已设置以下命名约定: i 在 [...] 3 : REFERENCE TO INT; iVar4 : INT; iVar5 : INT