Measurement Computing WBK17 User Manual
Page 34

WBK17, pg. 34
987996
WBK17, Counter/Encoder Module
Detection Example: Channel 4 in Encoder Position Mode, Channel 5 in Period Mode
Detect 4 can be routed to the counter input of another channel that would otherwise be unused. If Detect 4
was measured for pulsewidth, the data returned in the acquisition would be the amount of time that the
encoder position was within the setpoint window. If Detect 4 was measured for period, the data returned in
the acquisition would be the periodicity of the encoder entering the setpoint window. If Detect 4 simply
clocked a totalizing counter, the data returned in the acquisition would be the number of times the encoder
entered the setpoint window. Any or all of these measurements could be made in the acquisition along with
the channel 4 position data and channel 5 period data. It should be noted that the timing resolution of the
Detect signals is the scan period. Reduce the scan period if more resolution is needed.
Detect 5 can also be routed to a counter input of another channel that would otherwise go unused. If Detect
5 was measured for pulsewidth, the data returned in the acquisition would be the amount of time that the
encoder velocity was greater than the setpoint. If Detect 5 was measured for period, the data returned in the
acquisition would be the periodicity of the encoder velocity going beyond the setpoint. If Detect 5 simply
clocked a totalizing counter, the data returned in the acquisition would be the number of times the encoder
went beyond the setpoint velocity.