API
Mnemonic
73
SEGD
P
Type
Bit Devices
X
Y
OP
S
D
Operands:
S: Source device to be decoded
Explanations:
See the specifications of each model for their range of use.
Program Example:
When X10 = On, the contents (0 ~ F in hex) of the lower 4 bits (b0 ~ b3) of D10 will be decoded into a 7-segment
display for output. The decoded results will be stored in Y10 ~ Y17. If the content exceeds 4 bits, the lower 4 bits are
still used for the decoding.
X10
SEGD
D10
Decoding table of the 7-segment display:
Bit
Composition
Hex
combi-
of the 7-
segment display
nation
0
0000
1
0001
2
0010
0011
3
0100
4
0101
5
0110
6
a
7
0111
b
g
1000
8
d
9
1001
1010
A
B
1011
1100
C
D
1101
E
1110
F
1111
7 - 6 6
Operands
Seven Segment Decoder
M
S
K
H KnX KnY KnM KnS T
*
*
*
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
D: Output device after the decoding
K2Y10
Status of each segment
ON
ON
ON
ON
ON
ON
OFF
OFF
OFF
ON
ON
ON
ON
ON
ON
ON
OFF
ON
ON
OFF
ON
OFF ON
ON
ON
OFF ON
ON
ON
ON
ON
OFF
ON
ON
ON
ON
c
ON
ON
ON
ON
OFF
ON
ON
ON
OFF OFF ON
ON
ON OFF
OFF
ON
OFF ON
ON
ON
ON
ON
OFF OFF
ON
OFF OFF OFF
7 Application Instructions API 50-99
Function
Word Devices
C
*
*
*
*
*
*
*
*
*
*
PULSE
Data
displayed
ON
ON
OFF
OFF
OFF
OFF
OFF ON
ON
OFF
OFF
ON
OFF
ON
ON
ON
ON
OFF
ON
ON
ON
OFF
ON
OFF
ON
ON
ON
OFF
ON
ON
ON
ON
ON
ON
ON
ON
ON
ON
OFF
OFF
ON
ON
ON
ON
ON
ON
ON
ON
Controllers
ES/EX/SS SA/SX/SC EH/SV
Program Steps
D
E
F
SEGD, SEGDP: 5 steps
*
*
*
*
*
*
16-bit
D V P - P L C A P P L I C AT I O N M A N U A L
32-bit
Need help?
Do you have a question about the DVP-PLC and is the answer not in the manual?
Questions and answers