![Mitsubishi Electric MELSEC FX3G Programming Manual Download Page 722](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083722.webp)
720
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
29 Data Table Operation – FNC250 to FNC269
29.6 FNC261 – BINDA / BIN to Decimal ASCII Conversion
Program example
In the program below, 16-bit binary data stored in D1000 is converted into decimal ASCII codes when X000 is
set to ON, and the ASCII codes converted by PR (FNC 77) instruction are output one by one in the time
division method to Y040 to Y051.
By setting to OFF the output character selector signal M8091 and setting to ON PR mode flag M8027, ASCII
codes up to "00H" are output.
→
For PR mode flag and PR (FNC 77) instruction, refer to Section 15.8.
D0
b15
b8 b7
b0
5126
D1000
16-bit binary
data
36H(6)
32H(2)
20H (space)
31H(1)
20H (space)
35H(5)
X000
RST
M8091
D1
D2
FNC261
BINDAP
D1000
D0
FNC 77
PR
D0
Y040
END
0000H
D3
M8091=OFF
M8027
SET
" 5126" is
output.
PR (FNC 77)
instruction
Y040 to Y051