214
High-speed Counters
Section 5-2
Up/Down Mode
The up/down mode uses two signals, an increment pulse input and a decre-
ment pulse input.
Conditions for Incrementing/Decrementing the Count
• The count is incremented for each increment pulse input and decre-
mented for each decrement pulse input.
• Only up-differentiated pulses (rising edges) can be counted.
Increment Mode
The increment mode counts single-phase pulse signal inputs. This mode only
increments the count.
Conditions for Incrementing/Decrementing the Count
• Only up-differentiated pulses (rising edges) can be counted.
Note
The count of the high-speed counter can be monitored to see if it is currently
being incremented or decremented. The count in the current cycle is com-
pared with the count in the previous cycle to determine if it is being incre-
mented or decremented. The results are reflected in the High-speed Counter
Count Direction Flags (A274.10 for high-speed counter 0, A275.10 for high-
speed Counter 1, A320.10 for high-speed counter 2, and A321.10 for high-
speed counter 3.)
Counting Modes
Linear Mode
Input pulses can be counted in the range between the lower limit and upper
limit values. If the pulse count goes beyond the lower/upper limit, an under-
flow/overflow will occur and counting will stop.
2
2
1
1
0
0
7
6
8
7
6
5
5
4
4
3
3
Increment pulse
Decrement pulse
Decrement
pulse
Increment
pulse
Count value
↑
L
Decrement
H
↑
Increment
↓
H
No change
L
↓
No change
L
↑
Increment
↑
H
Decrement
H
↓
No change
↓
L
No change
14
2
15
1
16
0
9
10
8
7
6
11
5
12
4
13
3
Pulse
Pulse
Count value
↑
Increment
H
No change
↓
No change
L
No change
Содержание Sysmac CP1H
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 76: ...42 Function Blocks Section 1 5...
Страница 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Страница 372: ...338 Analog I O XA CPU Units Section 5 5...
Страница 578: ...544 Trouble Shooting Section 8 7...
Страница 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 668: ...634 Standard Models Appendix A...
Страница 669: ...635 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Страница 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Страница 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Страница 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Страница 808: ...774 Revision History...
Страница 809: ......