FX Series Programmable Controlers Applied Instructions 5
5-106
5.8.4 SEGD (FNC 73)
Operation:
A single hexadecimal digit (0 to 9, A to F)
occupying the lower 4 bits of source device S is
decoded into a data format used to drive a seven
segment display. A representation of the hex digit
is then displayed. The decoded data is stored in
the lower 8 bits of destination device D. The upper
8 bits of the same device are not written to. The
diagram opposite shows the bit control of the
seven segment display. The active bits correspond
to those set to 1 in the lower 8 bits of the
destination device D.
Mnemonic Function
Operands
Program steps
SD
SEGD
FNC 73
(Seven
segment
decoder)
Hex data is
decoded into a
format used to
drive seven
segment displays
K, H
KnX, KnY, KnM, KnS,
T, C, D, V, Z
Note:Usesonlythe
lower 4 bits
KnY, KnM, KnS,
T, C, D, V, Z
Note: The upper 8 bits
remain unchanged
SEGD,
SEGDP:
5steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
Flags
Zero M8020
X0
D 0 K2Y0SEGD
[ D ][ S ]
B0
B1
B2
B3
B4
B5
B6
It can be seen that
B7 is NOT used.
HenceB7ofthe
destination device D
will always be OFF,