High Speed Counter Setup - CPU Based

This help topic covers the basics of the CPU built-in high speed counter feature and walks through an example to configure this feature and how to program to use this feature.

All of the XEM CPU modules support the same high speed counter feature. Here is the summary of their specifications.

Feature XEM-DN/DP32H2 and XEM-DN/DP32HP
Number of counter inputs 4 (Channel 0-3)
Counter Mode Linear or Ring
Pulse Input Mode 1 Phase 1 input, 1 Phase 2 inputs, CW/CCW or 2 Phases (x4)
Maximum Count Speed 200kpps (1 phase) or 100kpps (2 phases)
Count Range -2,147,483,648 to 2,147,482,647 (DINT)
Compare Mode 2 compare modes per channel
Presets Internal and External

 

 

 

 

 

 

 

 

LP524