Applied Instructions
《16 位》
INT D10 D20
S· D·
X0
《32 位》
DINT D10 D20
S· D·
X0
Function & Action
(D11,D10) → (D20)
Binary Floating BIN integer
Give up the data after the decimal dot
(D11,D10) → (D20,D21)
Binary Floating BIN integer
Give up the data after the decimal dot
z The binary source number is converted into an BIN integer and stored at the
destination device. Abandon the value behind the decimal point.
z This instruction is contrary to FLT instruction.
z When the result is 0, the flag bit is ON。
When converting, less than 1 and abandon it, zero flag is ON.
16 bits operation:-32,768~32,767
32 bits operation:-2,147,483,648~2,147,483,647
[INT]
16 bits instruction:- 32 bits instruction:INT
Suitable Models:
XC3、XC5
Word
Device
Bit
Device
D
FD
DM
DX
DY
DS
TD
CD
K/H
D·
S·
X Y M S T C Dn.m
109