Mitsubishi MELSEC Q Series Programming Manual page 450

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

SEG(P)
S
Hexa-
decimal
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Program Example
(1) The following program converts the data from XC to XF to 7-segment display data and
outputs it to Y38 to Y3F when X0 is turned ON.
[Ladder Mode]
[Timing Chart]
Y38 to Y3F
7-76
7-segment decode display
Configuration of 7
Segments
Bit Pattern
0000
0001
0010
0011
0100
0101
B0
0110
B5
0111
B6
1000
B4
1001
B3
1010
1011
1100
1101
1110
1111
X0
* 1
*1: The data Y38 to Y3F will not change until the next data is output.
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
B1
0
0
1
0
0
0
1
1
1
1
B2
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
Head number of bit device
Lowest bit of word device
[List Mode]
Step
Instruction
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
Device

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents