223
High-speed Counters
Section 5-2
■
Creating the Ladder Program
Programming in Cyclic Task
Use CTBL(882) to start the comparison operation with high-speed counter 0
and interrupt task 10.
Programming in Interrupt Task 10
Create the processing performed by interrupt task 10.
5-2-8
Additional Capabilities and Restrictions
Restrictions on High-
speed Counter Inputs
• The Phase-Z Software reset method cannot be used when the
high speed counters are operating in Differential Phase or Pulse + Direc-
tion Input Modes and the origin search function is enabled for the pulse
output (in the PLC Setup). The Phase-Z Software reset method
can be used when the high speed counters are operating in Incrementing
or Up/Down Input Modes.
D10005 to
D10008
All
#0000
Range 2 lower and upper limit values
(Not used and don’t need to be set.)
Range 2 settings
D10009
#FFFF
Disables range 2.
~
D10014
D10019
D10024
D10029
D10034
#FFFF
Set the fifth word for ranges 3 to 7 (listed at left) to #FFFF to
disable those ranges.
~
D10035 to
D10038
All
#0000
Range 8 lower and upper limit values
(Not used and don’t need to be set.)
Range 8 settings
D10039
#FFFF
Disables range 8.
Word
Setting
Function
@CTBL(8 82)
#0000
#0001
D10000
0 .01
W0.00
A 531.00
W0.00
W0.01
W0.01
A531.00 W 0.00
Use high-speed counter 0.
First comparison table word
Register a range comparison table and
start comparison operation.
0.00 (Measurement start input)
W0.01
END(001)
100.00 (Pass inspection: PL1 indicator)
A274.00 (in range)
A274.00 (in range)
100.01 (Fail inspection: PL2 indicator)
Содержание CP1H CPU UNITS - PROGRAMMING 05-2007
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Страница 370: ...336 Analog I O XA CPU Units Section 5 5...
Страница 552: ...518 Trouble Shooting Section 8 7...
Страница 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 598: ...564 Sample Application Section 9 12...
Страница 642: ...608 Standard Models Appendix A...
Страница 643: ...609 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 652: ...618 Dimensions Diagrams Appendix B...
Страница 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Страница 776: ...742 PLC Setup Appendix G...
Страница 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Страница 786: ...752 Revision History...