Flags function, 2 instructions, C: control data – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 402: D: system word, Operand specifications

2 Instructions
2-366
CP1E CPU Unit Instructions Reference Manual(W483)
• Converting 8 digits
C: Control Data
The value of C indicates the number of digits of source data and the logic for the Input and Output
Units, as shown in the following table. (The logic refers to the transistor output’s NPN or PNP logic.)
D: System Word
Specifies a work word used by the instruction. This word cannot be used in any other application.
Operand Specifications
Flags
Function
7SEG(214) reads the source data, converts it to 7-segment display data, and outputs that data (as left-
most 4 digits D0 to D3, rightmost 4 digits D0 to D3, latch output signals LE0 to LE3) to the 7-segment
display connected to the output indicated by O. The value of C indicates the number of digits of source
data (either 4-digit or 8-digit) and the logic for the Input and Output Units.
7SEG(214) displays the 4-digit or 8-digit data in 12 cycles, and then starts over and continues display-
ing the data.
The One Round Flag (bit 08 of O when converting 4 digits, bit 12 of O when converting 8 digits) is
turned ON for one cycle in every 12 cycles after 7SEG(214) has turned ON each of the latch output sig-
nals.
Source data
Display’s data input logic
Display’s latch input logic
C
4 digits (S)
Same as Output Unit
Same as Output Unit
0000
Different from Output Unit
0001
Different from Output Unit
Same as Output Unit
0002
Different from Output Unit
0003
8 digits (S, S+1)
Same as Output Unit
Same as Output Unit
0004
Different from Output Unit
0005
Different from Output Unit
Same as Output Unit
0006
Different from Output Unit
0007
Area
Word addresses
Indirect DM addresses
Constants
CF
Pulse bits
TR bits
CIO
WR
HR
AR
T
C
DM
@DM
*DM
S, O
OK
OK
OK
OK
OK
OK
OK
OK
OK
---
---
---
---
C
---
---
---
---
---
---
---
---
---
OK
D
OK
OK
OK
OK
OK
OK
OK
OK
OK
---
Name
Label
Operation
Error Flag
P_ER
OFF
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
O
D0
D1
D2
D3
LE3
LE2
LE1
LE0
D0
D1
D2
D3
Leftmost 4-digit data output
Rightmost 4-digit data output
Latch outputs
One Round Flag
D
15
0
System word
(Cannot be accessed by the user.)