7.8 SEGT (7-Segment Decoding)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
S
The device address where the data for decoding are stored, or the constant
D
Storage device address
■
Available devices (●: Available)
Operan
d
W
W
X
Y
S
●
●
D
●
●
(Note 1)
Only 16-bit devices, and integer constants can be modified. (Real number constants, and character
constants cannot be specified.)
■
Outline of operation
● This instruction converts the device address value or a constant specified by [S] to 7-
segment data in 4 digits, and stores it to an address of 2 words beginning with [D].
■
Processing
Example) H ABCD is stored in [S]
[S]...DT0
[D]...DT10
DT0
H ABCD
WUME-FP7CPUPGR-12
US
●
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
DT10
0011
DT11
0111
7.8 SEGT (7-Segment Decoding)
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
●
●
●
●
●
1001
0101
111 0
0111
0111
1100
SL
SF
Real
Integer
numbe
r
D
IX
K
H
SF
U
F
●
●
DF
St
rin
Index
g
modifie
r
(Note 1)
" "
●
●
7-17