![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262513.webp)
A-53
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1 In
struction
Fu
nctio
n
s
App
A-1-20 B
a
sic I/O Unit Instr
uctio
ns
7-SEGMENT
DISPLAY OUT-
PUT
7SEG
---
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
•
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 fol-
lowing 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 can-
not be used in any other application.
Instruction
Mnemonic
Variations
Symbol/Operand
Function
7SEG (214)
S
O
C
D
S
: 1st source word
O
: Output word
C
: Control data
D
: System word
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
4-digit data
output
Latch outputs
One Round Flag
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
Source data
Display’s data
input logic
Display’s latch input logic
C
4 digits (S)
Same as Out-
put Unit
Same as Output Unit
0000
Different from Output Unit 0001
Different from
Output Unit
Same as Output Unit
0002
Different from Output Unit 000
3
8
digits (S, S+1) Same as Out-
put 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
D
15
0
System word
(Cannot be accessed by the user.)
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......