Mitsubishi Electric FX3G SERIES Programming Manual page 680

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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.
X000
FNC260
DABINP
b15
D20
20H(space)
D21
32H(2)
D22
36H(6)
"-
678
D20
D0
END
b8 b7
b0
2DH(-)
20H(space)
37H(7)
276"
29 Data Table Operation – FNC250 to FNC269
29.5 FNC260 – DABIN / Decimal ASCII to BIN Conversion
D0
-276
(It is regarded as
Binary
"-00276".)
value

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents