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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Operand Specifications
Description
D: First Destination Word
The PV is output to D or to D and D+1.
15
Lower word of PV
D
D+1
Upper word of PV
2-word PV
Pulse output PV, high-speed counter input PV,
high-speed counter input frequency for high-speed counter input 0
15
D
PV
1-word PV
Interrupt input PV in counter mode, status, range comparison results
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
PRV(881) reads the data specified in C for the port specified in P. The possi-
ble combinations of data and ports are shown in the following table.
P: Port specifier
0000 to 0003 hex:
Pulse output
0010 to 0013 hex:
High-speed counter
input
0
0
P
C
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
See descrip-
See descrip-
tion of oper-
tion of oper-
and.
and.
---
---
---
---
---
---
C: Control data
0000 hex:
0001 hex:
Read PV
Read status
OK
OK
OK
OK
Section 3-20
D
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32766
*D0 to *D32766
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to
IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
0002 hex:
0003 hex:
Read range
Pulse output
comparison
read high-
results
speed
counter
frequency
Not allowed.
OK
OK
OK (high-
speed
counter 0
only)
711

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents