Var : INT; diVar : DINT [...] Var := DINT_TO_UDINT(di [...] Var := INT_TO_WORD(i
パイラは乗算後にのみ暗黙的な変換を実行します。 lint := TO_LINT(dint [...] をすでに変換できます。 lint := TO_LINT(dint) * TO_LINT(dint); した
: 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 [...] Temp2 := 1 rTemp1 := TO
Var := DINT_TO_BYTE(di [...] Var:SINT; diVar:DINT; li [...] Var := LINT_TO_SINT(li
変数を使用します mbMyDintB 初期 [...] mbMyDintA : DINT [...] _A VAR mbMyDint
の値の範囲から LREAL のそれよりも大きい DINT [...] _var := TO_LREAL(dintvar1) * TO_LREAL(dintvar
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' への [...] TO BYTE に POINTER