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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Applicable Program Areas
Operands
Note
710
Block program areas
OK
OK
P: Port Specifier
P specifies the port to which the operation applies.
P
0000 hex
Pulse output 0
0001 hex
Pulse output 1
0002 hex
Pulse output 2 (CP1H only)
0003 hex
Pulse output 3 (CP1H only)
0010 hex
High-speed counter 0
0011 hex
High-speed counter 1
0012 hex
High-speed counter 2
0013 hex
High-speed counter 3
0020 hex
Inverter positioning 0 (CP1L only)
0021 hex
Inverter positioning 1 (CP1L only)
0030 hex
Error counter 0, signed (CP1L only)
0031 hex
Error counter 1, signed (CP1L only)
0040 hex
Error counter 0, unsigned (CP1L only)
0041 hex
Error counter 1, unsigned (CP1L only)
0100 hex
Interrupt input 0 in counter mode
0101 hex
Interrupt input 1 in counter mode
0102 hex
Interrupt input 2 in counter mode
0103 hex
Interrupt input 3 in counter mode
0104 hex
Interrupt input 4 in counter mode
0105 hex
Interrupt input 5 in counter mode
0106 hex
Interrupt input 6 in counter mode
0107 hex
Interrupt input 7 in counter mode
1000 hex
PWM output 0
1001 hex
PWM output 1
Input interrupts 6 and 7 cannot be used on Y CPU Units and CP1L CPU Units.
Input interrupts 4, 5, 6, and 7 cannot be used on CP1L CPU Units with 14 I/O
Points.
C: Control Data
The function of INI(880) is determined by the control data, C.
C
PRV(881) function
0000 hex
Reads the PV.
0001 hex
Reads status.
0002 hex
Reads range comparison results.
@
3 hex P = 0000 or 0001:
00
Reads the output frequency of
pulse output 0 or pulse output 1.
P = 0010:
Reads the frequency of high-
speed counter input 0.
Step program areas
Subroutines
OK
Port
---
---
---
C = 0003 hex:
Standard operation
C = 0013 hex:
10-ms sampling method for high fre-
quency
C = 0023 hex:
100-ms sampling method for high
frequency
C = 0033 hex:
1-s sampling method for high fre-
quency
Section 3-20
Interrupt tasks
OK
Variations

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents