Var1:POINTER TO INT; ptiVar2:POINTER TO INT; ptiVar3:POINTER TO INT; iVar:INT
: POINTER TO INT; byte [...] 到“POINTER TO INT”指针 [...] 可能意外地导致意外访问。如果您指定一个 POINTER TO
例 96 . 例子 VAR ref_int : REFERENCE TO INT; ref [...] 类型变量 REFERENCE TO 理由:IEC 61131
Temp : POINTER TO INT; pbyTemp : POINTER TO BYTE; END [...] 类型变量 POINTER TO 理由:IEC 61131
Test : POINTER TO INT; i : INT [...] Test : INT; ariTest : ARRAY[0..10] OF INT
TO INT#100 BY 1 DO [...] arWord[a] := INT_TO [...] : INT; arWord : ARRAY
_TEMP iIndex : INT; END_VAR FOR iIndex := INT#0 TO INT#20 BY INT#1
Counter := INT#0 TO INT#5 BY INT#1 DO CONTINUE [...] Continue_In_Loop_FUN: BOOL; iCounter: INT
Index := INT#0 TO INT#20 BY INT#1 DO iVar := i [...] Index : INT; iVar : INT
PROGRAM PLC_PRG VAR pInt : POINTER TO INT; dw [...] #1; pInt := dw