例 96 . 例子 VAR ref_int : REFERENCE TO INT; ref [...] 类型变量 REFERENCE TO 理由:IEC 61131
Var := INT_TO_WORD(i [...] Var : INT; diVar : DINT [...] _VAR liVar := ULINT_TO
then points to array_of_int [...] 是整数值乘以基本大小。 例 75 . ST 中的示例 pINT := ADR(array_of_int[0
Test : POINTER TO INT; i : INT [...] Test : INT; ariTest : ARRAY[0..10] OF INT
Temp : POINTER TO INT; pbyTemp : POINTER TO BYTE; END [...] 类型变量 POINTER TO 理由:IEC 61131
TO INT#100 BY 1 DO [...] arWord[a] := INT_TO [...] : INT; arWord : ARRAY
FUNCTION FUNA : BOOL VAR_INPUT bDo : BOOL; bInit : BOOL; bManual : BOOL
Temp : POINTER TO INT; iTemp : INT; END_VAR i [...] 操作一种类型的变量 POINTER TO 哪些不是 = (平等
0.0 : BOOL; END [...] _INPUT xVarIn1 : BOOL; xVarIn2 : BOOL; END_VAR VAR i
: STRUCT xA : BOOL; xB : BOOL; END_STRUCT END [...] Teststruct: REFERENCE TO TESTSTRUCT