676
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.5 FNC260 – DABIN / Decimal ASCII to BIN Conversion
Program example
In the program below, the sign and decimal ASCII codes in five digits stored in D20 to D22 are converted into a binary
value and stored in D0 when X000 is set to ON.
D20
b15 b8 b7 b0
-276
D0
Binary
value
36H(6) 37H(7)
20H(space)
32H(2)
2DH(-)
20H(space)
END
X000
FNC260
DABINP
D20 D0
D21
D22
(It is regarded as
"-00276".)
"-
276"