Omron SYSMAC CP Series Instruction & Reference Manual page 402

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions
• Converting 8 digits
15
14
O
One Round Flag
Latch outputs
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.)
Source data
Display's data input logic
4 digits (S)
Same as Output Unit
Different from Output Unit
8 digits (S, S+1)
Same as Output Unit
Different from Output Unit
D: System Word
Specifies a work word used by the instruction. This word cannot be used in any other application.
15
D
Operand Specifications
Word addresses
Area
CIO
WR
HR
S, O
OK
OK
OK
C
---
---
---
D
OK
OK
OK
Flags
Name
Error Flag
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.
2-366
13
12
11
10
9
8
7
6
5
4
LE3
LE2
LE1
LE0
Display's latch input logic
Same as Output Unit
Different from Output Unit
Same as Output Unit
Different from Output Unit
Same as Output Unit
Different from Output Unit
Same as Output Unit
Different from Output Unit
0
System word
(Cannot be accessed by the user.)
AR
T
C
DM
OK
OK
OK
OK
---
---
---
---
OK
OK
OK
OK
Label
P_ER
OFF
3
2
1
0
D0
D1
Leftmost 4-digit data output
D2
D3
D0
D1
Rightmost 4-digit data output
D2
D3
C
0000
0001
0002
0003
0004
0005
0006
0007
Indirect DM addresses
Constants
@DM
*DM
OK
OK
---
---
---
OK
OK
OK
---
Operation
CP1E CPU Unit Instructions Reference Manual(W483)
CF
Pulse bits
TR bits
---
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents