Omron CP1E CPU UNIT SOFTWARE User Manual page 402

Cp1e cpu unit software
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
7-SEGMENT
7SEG
DISPLAY OUT-
PUT
A-48
Variations
Symbol/Operand
---
7SEG (214)
S
O
C
D
S: 1st source word
O: Output word
C: Control data
D: System word
Function
Converts the source data (either 4-digit or 8-digit BCD) to 7-seg-
ment display data, and outputs that data to the specified output
word.
O: Output Word (Data and Latch Outputs)
Specify the output word allocated to the Output Unit and con-
nect the 7-segment display to the Output Unit as shown in the
following diagram.
• Converting 4 digits
15
14
13
12
11
10
9
8
7
6
5
O
One Round Flag
LE3
LE2
Latch outputs
LE1
LE0
• Converting 8 digits
15
14
13
12
11
10
9
8
7
6
5
O
One Round
Flag
LE3
LE2
Latch
LE1
outputs
LE0
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 fol-
lowing table. (The logic refers to the transistor output's NPN or
PNP logic.)
Display's data
Source data
Display's latch input logic
input logic
4 digits (S)
Same as Out-
Same as Output Unit
put Unit
Different from Output Unit 0001
Different from
Same as Output Unit
Output Unit
Different from Output Unit 0003
8 digits (S, S+1) Same as Out-
Same as Output Unit
put Unit
Different from Output Unit 0005
Different from
Same as Output Unit
Output Unit
Different from Output Unit 0007
D: System Word
Specifies a work word used by the instruction. This word can-
not be used in any other application.
15
D
System word
(Cannot be accessed by the user.)
CP1E CPU Unit Software User's Manual(W480)
4
3
2
1
0
D0
D1
4-digit data
D2
output
D3
4
3
2
1
0
D0
D1
Leftmost
D2
4-digit data
D3
output
D0
D1
Rightmost 4-digit
D2
data output
D3
C
0000
0002
0004
0006
0

Advertisement

Table of Contents
loading

Table of Contents