EasyManua.ls Logo

Mitsubishi Electric MELSEC FX3U - Page 722

Mitsubishi Electric MELSEC FX3U
1000 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
720
FX3G/FX3U/FX3UC 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
M8027SET
" 5126" is
output.
PR (FNC 77)
instruction
Y040 to Y051

Table of Contents

Related product manuals