7-Segment Decode: Seg - Mitsubishi Electric MELSEC Q Series Programming Manual

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU

5.4.34 7-segment decode: SEG

Setting
data
X
Y
M
(S)
(D)
[Setting data]
[Function]
(S)
Hexadecimal
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Bit device
SM
F
T
C
D
[Instruction]
Command
SEG
Setting data
Data to be decoded or head number of the devices where the data to be
(S)
(D)
(1) Decodes the data from 0 to F designated by the lower 4 bits of (S) to 7-segment
display data, and stores at (D).
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
Usable device
Word device
W
T
C
SD
Z
SEG
decoded is stored (BIN 16 bits)
Head number of the devices where the decoding result will be stored
B7
B6
B5
0
0
1
0
0
0
0
1
0
0
1
0
0
1
1
0
1
1
0
1
1
B1
0
0
1
0
1
1
B2
0
1
1
0
1
1
0
1
1
0
0
1
0
1
0
0
1
1
0
1
1
5 - 75
Constant
Pointer
Level
K
H
P
N
(S)
(D)
Description
(BIN 16 bits)
(D)
B4
B3
B2
B1
1
1
1
1
0
0
1
1
1
1
0
1
0
1
1
1
0
0
1
1
0
1
1
0
1
1
1
0
0
0
1
1
1
1
1
1
0
1
1
1
1
0
1
1
1
1
1
0
1
1
0
0
1
1
1
1
1
1
0
0
1
0
0
0
(Note): Lowest bit of word device
Digit
desig-
Index
nation
: Usable
Display data
B0
(Note)
1
0
1
1
0
1
1
1
1
1
1
0
1
0
1
1

Advertisement

Table of Contents
loading

Table of Contents