![background image](http://html1.mh-extra.com/html/omron/cp1h-cpu-units-programming-05-2007/cp1h-cpu-units-programming-05-2007_operation-manual_742081255.webp)
221
High-speed Counters
Section 5-2
■
I/O Allocation
Input Terminals
Note
The high-speed counter inputs are enabled when the
Use high speed counter
0
Option is selected in the PLC Setup’s Built-in Input Tab.
Output Terminals
Auxiliary Area Addresses for High-speed Counter 0
Range Comparison Table
The range comparison table is stored in D10000 to D10039.
Input terminal
Usage
Word
Bit
CIO 0
00
Start measurement by pushbutton switch (normal input).
01
Detect trailing edge of measured object (normal input).
02
Not used. (normal input)
03
Detect leading edge of measured object for high-speed
counter 0 phase-Z/reset input (see note). Bit status is reflected
in A531.00.
04 to 07
Not used. (normal input)
08
High-speed counter 0 phase-A input (See note.)
09
High-speed counter 0 phase-B input (See note.)
10 and 11 Not used. (normal input)
CIO 1
00 to 11
Not used. (normal input)
Output terminal
Usage
Word
Bit
CIO 100
00
Normal input
PL1: Dimension pass output
01
Normal input
PL2: Dimension fail output
02 to 07
Normal input
Not used.
CIO 101
00 to 07
Normal input
Not used.
Function
Address
PV storage words
Leftmost 4 digits
A271
Rightmost 4 digits
A270
Range Comparison
Condition Met Flag
Range 1 Comparison Condition Met Flag
A274.00
Comparison In-
progress Flag
ON when a comparison operation is being exe-
cuted for the high-speed counter.
A274.08
Overflow/Underflow
Flag
ON when an overflow or underflow has occurred
in the high-speed counter’s PV. (Used only when
the counting mode is set to Linear Mode.)
A274.09
Count Direction Flag
0: Decrementing
1: Incrementing
A274.10
Reset Bit
Used for the PV software reset.
A531.00
High-speed Counter
Gate Bit
When ON, the counter's PV will not be changed
even if pulse inputs are received for the counter.
A531.08
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...