FX Series Programmable Controlers Applied Instructions 5
5-27
5.2.10 BIN (FNC 19)
Operation: (Applicable to all units)
The BCD source data (S) is converted into an
equivalent binary number and stored at the
destination device (D). If the source data is not
provided in a BCD format an error will occur. This instruction can be used to read in data
directly from thumbwheel switches.
Mnemonic Function
Operands
Program steps
SD
BIN
FNC 19
(Binary)
Converts BCD
numbers to their
binary equivalent /
Converts scientific
format data to float-
ing point format
KnX, KnY, KnM, KnS,
T, C, D, V, Z
KnY, KnM, KnS,
T, C, D, V, Z
BIN, BINP:
5steps
DBIN, DBINP:
9steps
When using M8023 to convert data to floating
point format, only double word (32 bit) data reg-
isters (D) may be used. See page 4-46 for more
details regarding floating point format.
FX1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
X0
BIN D 13K2X0
[ S ] [ D ]