Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 826

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Basic I/O Unit Instructions
External Connections
Timing Chart
Function
(4 digits, 1
block)
Data output
00 to 03
Latch output 0
04
Latch output 1
05
Latch output 2
06
Latch output 3
07
One Round Flag
08
Flags
Even if the connected 7-segment display has fewer than 4 digits or 8 digits in
its display, 7SEG(214) will still output 4 digits or 8 digits of data.
Connect the 7-segment display to the Output Unit as shown in the following
diagram. This example shows an 8-digit display. With a 4-digit display, the
data outputs (D0 to D3) would be connected to outputs 0 to 3 and the latch
outputs (LE0 to LE3) would be connected to outputs 4 to 7. Output point 12
(for 8-digit display) or output point 8 (for 4-digit display) will be turned ON
when one round of data has been output, but it is not necessary to connect
them unless required by the application.
IN@ CH
OUT@ CH
LE3
D0
D1
D2
D3
Leftmost 4 digits
Bit(s) in O
(4 digits, 2
blocks)
00 to 03
04 to 07
10
08
09
10
11
12
1 2
3
12 cycles required to complete one round
Name
Error Flag
CPM1A-40EDT
LE2
LE1
LE0
VDD
(+)
VSS
(0)
Output status (Data and latch logic depends on C)
0
1
2
3
10
10
10
4
5
6
7
8
9 10 11 12 1
Label
ER
OFF
Section 3-22
IN@ CH
OUT@ CH
LE3
LE2
LE1
VDD
(+)
VSS
(0)
Rightmost 4 digits
7-segment display
Note 0 to 3: Data output for word S
4 to 7: Data output for word S+1
Operation
LE0
D0
D1
D2
D3
793

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents