Var : INT; diVar : DINT [...] Var := DINT_TO_UDINT(di [...] Var := INT_TO_WORD(i
:= dint * dint ,编译器仅在乘法之后执行隐式转换: lint := TO_LINT(dint [...] := TO_LINT(dint) * TO
: POINTER TO INT; y : INT [...] _PRG //Declaration VAR x: INT; b [...] _PRG //Declaration VAR x: INT := 6
Temp1 := DINT_TO_REAL(di [...] Temp1 := DINT_TO_REAL(di [...] Temp1 := TO_REAL(di
Var := DINT_TO_BYTE(di [...] Var:SINT; diVar:DINT; li [...] Var := LINT_TO_SINT(li
大于 DINT ,可以 [...] _var := TO_LREAL(dintvar1) * TO_LREAL(dintvar
使用它的 mbMyDintB 变量 [...] mbMyDintA : DINT [...] _A VAR mbMyDint
PROGRAM PLC_PRG VAR i:INT; iBorder1: INT := 10; iBorder2: INT
Var1:POINTER TO INT; ptiVar2:POINTER TO INT; ptiVar3:POINTER TO INT; iVar:INT
: POINTER TO INT; byte [...] 到“POINTER TO INT”指针 [...] 可能意外地导致意外访问。如果您指定一个 POINTER TO