Rockwell Automation 1769-HSC Compact High Speed Counter Module User Manual
Page 140

140
Rockwell Automation Publication 1769-UM006E-EN-P - July 2013
Appendix B
Program a 1769-HSC Module, CompactLogix Controller, and 845F Incremental Encoder with RSLogix 5000 Software
Monitor the Current Count
and Verify Output Operation
In this section, you use the 1769-HSC module’s input tags (Local:4:I) to view
what is running.
1. Save the program and download it to your controller.
2. Put the controller into Run mode.
3. Spin the shaft on your 845F encoder.
The Ctr0CurrentCount tag displays the current count data for Counter0
of the 1769-HSC module. For this example, this count is the number of
pulses received from the encoder times four (because the operating mode is
Encoder X4).
4. Continue to spin the encoder shaft until the Ctr0CurrentCount value is
within the limits set for Range 0 (500,000–600,000).
The lowest bit of the RangeActive tag turns on.
InputStates A0, B0, and Z0 toggle on and off reflecting the state of the
encoder signals on those inputs as the encoder shaft is moved.
5. Continue to spin the encoder shaft until the Ctr0CurrentCount value is
within the limits set for Range 1 (1,000,000–1,200,000) turns bit 1 of the
RangeActive tag on.
Your 1769-HSC module and encoder are programmed.