
Rockwell Automation Publication 2080-UM002L-EN-E - November 2021
231
Appendix C Quickstarts
Figure 20 - Quadrature Encoder on Inputs 0 and 1
This quickstart includes the following sections:
•
Create the HSC Project and Variables on page 231
•
Assign Values to the HSC Variables on page 234
•
Assign Variables to the Function Block on page 236
•
Run the High-Speed Counter on page 237
•
Use the Programmable Limit Switch (PLS) Function on page 239
Create the HSC Project and Variables
1. Start the Connected Components Workbench software and open a new
project. From the Device Toolbox, go to Catalog
→
Controllers. Double-
click your controller
(1)
or drag and drop it onto the Project Organizer
window.
2. Under Project Organizer, right-click Programs. Click Add New LD:
Ladder Diagram to add a new ladder logic program.
Quadrature Encoder
A
B
Input 0
Input 1
Reverse Rotation
Forward Rotation
B
A
1
2
3
2
1
Count
(1) The HSC module is supported on all Micro830, Micro850, and Micro870 controllers, except
on 2080-LCxx-xxAWB types.