HMC7000 Series I/O Module Guide
Reference the table below when configuring each HSC Configuration Register:
Input Mode
Normal Input
High Speed,
Single Phase,
Up Counter
Quadrature 1X
Quadrature 2X
Quadrature 4X
High Speed Counter Operation
To implement High Speed Counter Operation:
1. Connect a device that will provide the high speed pulses to one of the four High-Speed inputs on the
expansion module.
2. Configure the HSC using the configuration register for that channel.
3. Write the HSC preset count value in the Preset register for that channel.
4. Enable the HSC by setting the HSC Enable Bit that channel.
5. HSC increments the current value register for that channel until the preset value is reached.
6. Enable the HSC Reset Bit by setting for that channel. This will cause the HSC current value to reset back
to 0.
7. To start the process again, simply reset (clear) the HSC Reset Bit and set the HSC Enable Bit. Note: if the
HSC Enable Bit is still ON, you must reset (clear) this bit, and then set it again.
HMC7000 Series I/O Module Guide
Output Mode
N/A
Output ON when preset is reached
Output ON when counter is enabled,
OFF when preset is reached
Output ON when preset is reached
Output ON when counter is enabled,
OFF when preset is reached
Output ON when preset is reached
Output ON when counter is enabled,
OFF when preset is reached
Output ON when preset is reached
Output ON when counter is enabled,
OFF when preset is reached
Register Value
0
2
258
3
259
67
323
131
387
56
56
Need help?
Do you have a question about the HMC7000 Series and is the answer not in the manual?