Chapter 16 PLC Function ApplicationsC2000-HS
16-89
API
INT
Binary floating point number → BIN whole
number transformation
129
D P
Bit device Word device
16-bit command (5 STEP)
INT Continuous
execution type
INTP Pulse
execution type
32-bit command (9 STEP)
DINT Continuous
execution type
DINTP Pulse
execution type
Flag signal: none
X Y M K H KnX KnY KnM T C D
S *
D *
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S: the source device to be transformed. D: results of transformation.
The content of the register designated by S is transformed from a binary floating
point number format into a BIN whole number, and is temporarily stored in D. The
BIN whole number floating point number will be discarded.
The action of this command is the opposite of that of command API 49 (FLT).
When X0=On, the binary floating point number (D1, D0) is transformed into a
BIN whole number, and the result is stored in (D10); the BIN whole number
floating point number will be discarded.
X0
DINT D0 D10