Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 478

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions decode the data consisting of 0 to F specified by the lower 4 bits in the device specified by (s) to seven-
segment display data, and store the decoded data in the device specified by (d).
• In the case of a bit device, (d) indicates the start device for storing 7-segment display data. In the case of a word device, it
indicates the device number for storing the data.
Ex.
Bit device
SEG
The data in Y48 to Y4F does not change until the next data is output.
Ex.
Word device
SEG
(1) The upper 8 bits are filled with 0s.
(2) The seven-segment display data are stored in the lower 8 bits.
• The following is the truth table for the seven-segment display.
(s)
Hexadecimal
Bit pattern
0
0000
1
0001
2
0010
3
0011
4
0100
5
0101
6
0110
7
0111
8
1000
9
1001
A
1010
B
1011
C
1100
D
1101
E
1110
F
1111
6 BASIC INSTRUCTIONS
476
6.6 Data Conversion Instructions
K7
K2Y48
K7
D8
Seven-segment
display
b0
b5
b1
b6
b4
b2
b3
∙∙∙
Y48
Y4F
0 0 1 0 0 1 1 1
b15
b8
b7
∙∙∙
∙∙∙
0 0 0 0 0 0 0 0
0 0 1 0 0 1 1 1
(1)
(2)
(d)
b7
b6
b5
b4
b3
0
0
1
1
1
0
0
0
0
0
0
1
0
1
1
0
1
0
0
1
0
1
1
0
0
0
1
1
0
1
0
1
1
1
1
0
0
1
0
0
0
1
1
1
1
0
1
1
0
1
0
1
1
1
0
0
1
1
1
1
0
0
1
1
1
0
1
0
1
1
0
1
1
1
1
0
1
1
1
0
b0
Display data
b2
b1
b0
1
1
1
1
1
0
0
1
1
1
1
1
1
1
0
1
0
1
1
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
0
0
0
1
0
0
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents