![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262244.webp)
12 Pulse Outputs
12-44
CP2E CPU Unit Software User’s Manual(W614)
12-7 Reading the Pulse Output Present
Value
The present value of a pulse output can be read in the following two ways.
The PV that is stored in the following words can be read using the MOVL instruction or other instruc-
tions.
z
Reading the Pulse Output PV with a PRV Instruction
•
Value refreshed at the I/O refresh timing
Æ
Read PV from Auxiliary Area.
•
Value updated when a program is executed
Æ
Read PV by executing a PRV instruction.
Reading the PV Refreshed at the I/O Refresh Timing
Read PV
Auxiliary Area words
Pulse output 0
A277 (upper digits) and A276 (lower digits)
Pulse output 1
A279 (upper digits) and A27
8
(lower digits)
Pulse output 2
A5
3
(upper digits) and A52 (lower digits)
Pulse output
3
A55 (upper digits) and A54 (lower digits)
Reading the Value When a Program is Executed
#0000
#0000
D100
D100
D101
@PRV
15
0
P
u
lse o
u
tp
u
t PV that
w
as read
C1: Port specifier (example for p
u
lse o
u
tp
u
t 0)
C2: Control data (example for reading PV)
D: First destination
w
ord
Present
v
al
u
e data lo
w
er
b
ytes
Present
v
al
u
e data
u
pper
b
ytes
Exec
u
tion condition
Содержание 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: ......