What is a high-speed counter?
A high-speed counter detects and counts narrow (fast) pulses and then issues specialized instructions to initiate control operations when the detected counts reach their preset values. Control operations include the automatic and immediate execution of the high-speed counter interrupt routine and the immediate update of outputs based on the configured source and mask pattern.
High-speed counter capabilities
Because HSC instructions have high-performance requirements, their operation is performed by custom circuitry that runs in parallel with the main system processor. Enhanced capabilities of HSC include:
- 100 kHz operation high-speed direct control of outputs
- 32-bit signed integer data (count range of
2,147,483,647) - Programmable high and low presets
- Overflow and underflow setpoint
- Automatic interrupt processing based on accumulated count
- Run-time editable parameters (from the user control program) HSC instruction operation
Micro800 controller support for HSC
All
Micro850
L50E and Micro870
L70E controllers support
up to six HSC inputs. HSC functionality is implemented in Micro800
controllers using high-speed counter hardware (embedded inputs in the controller), and the HSC
instruction in the application. The HSC instructions configures the
high-speed counter hardware and updates the image accumulator.Provide Feedback