Decoding data to seven-segment display data
SEG(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions decode the data consisting of 0 to F specified by the lower 4 bits of the device to seven-segment display
data.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
■Execution condition
Instruction
SEG
SEGP
Setting data
■Description, range, data type
Operand
Description
(s)
Decode data or the device where the decode data is stored
(d)
Device for storing the decoded data
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=SEG(EN,s,d);
ENO:=SEGP(EN,s,d);
Range
Data type
-32768 to 32767
16-bit signed binary
16-bit signed binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
6.6 Data Conversion Instructions
Data type (label)
ANY16
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6
475