171
High-speed Counters
Section 5-1
■
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-1-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.
• When a high-speed counter is being used (enabled in the PLC Setup), the
input cannot be used as a general-purpose (normal) input, interrupt input,
or quick-response input.
D10014
D10019
D10024
D10029
D10034
FFFF
Set the fifth word for ranges 3 to 7 (listed at left) to FFFF to dis-
able 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)
Summary of Contents for CP1L - 12-2007
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 428: ...395 Clock Section 6 9...
Page 429: ...396 Clock Section 6 9...
Page 523: ...488 Troubleshooting Unit Errors Section 9 4...
Page 531: ...496 Replacing User serviceable Parts Section 10 2...
Page 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...634 Index...
Page 671: ...636 Revision History...