EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 743

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
710
High-speed Counter/Pulse Output Instructions Section 3-20
Applicable Program Areas
Operands P: Port Specifier
P specifies the port to which the operation applies.
Note 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.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
PPort
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
C PRV(881) function Variations
0000 hex Reads the PV. ---
0001 hex Reads status. ---
0002 hex Reads range comparison results. ---
00@3 hex
P = 0000 or 0001:
Reads the output frequency of
pulse output 0 or pulse output 1.
P = 0010:
Reads the frequency of high-
speed counter input 0.
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

Table of Contents

Related product manuals