
adccommunitymod (AutomationDirect) asked a question.
High Speed Counter
Created Date: October 26,2018
Created By: mb2005
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Is there a way to assign the same high speed input to two different counters? I would like to use the same inputs for different scenarios, like position and velocity. I was hoping to do this using enable bits for each counter to be enabled at different times. It looks like the software won't allow the same input to be used in an up/down counter and an interval measurement in the same program. Thanks for any input.
Created Date: October 26,2018
Created by: mb2005
Is there a way to assign the same high speed input to two different counters? I would like to use the same inputs for different scenarios, like position and velocity. I was hoping to do this using enable bits for each counter to be enabled at different times. It looks like the software won't allow the same input to be used in an up/down counter and an interval measurement in the same program. Thanks for any input.
Created Date: October 26,2018
Created by: Alexandru
no. A high speed counter is tied to the input., you can’t have two counters on the same port.
You can have the same signal split to two different inputs, and then the same signal can be processed by two diffenently set counters.
Created Date: November 05,2018
Created by: genebond
Or, you can copy the current count to two different registers and go from there...
Created Date: January 02,2019
Created by: Garry
You could also wire the high speed counter input to another input and use it as well. I have done this with the High Speed Count Mode and Frequency Mode of the high speed counter.
Regards,
Garry