phuz
Member
I am using a HSC in a ControlLogix system (L72S) in order to trigger a vision system for bad items on a tray.
I reset the count at the beginning of each tray and then each of the 10 triggers is based on position of the tray.
Position 1 > 200 for Trigger 1
Position 2 > 500 for Trigger 2
Position 3 > 800 for Trigger 3
Position 4 > 1100 for Trigger 4
...You get the idea.
What is happening is a double trigger for 3 and 4 and it appears to happen because the value coming from the counters PresentValue[0] is already greater than both Position 3 and 4 by the time it comes to that rung, so I get both. My entire controller scan time is around 2ms. I dropped the RPI on the HSC card to 2ms. It hasn't helped. Any advice on how I can capture this or get a quicker update from the HSC?
From what I can physically see in Logix5000, the count jumps from 780 to 1300 while I am monitoring Counterx.PresentValue[0].
The HSC is currently set for Counter. Would it make a difference if I switch to Encoder X1?
I reset the count at the beginning of each tray and then each of the 10 triggers is based on position of the tray.
Position 1 > 200 for Trigger 1
Position 2 > 500 for Trigger 2
Position 3 > 800 for Trigger 3
Position 4 > 1100 for Trigger 4
...You get the idea.
What is happening is a double trigger for 3 and 4 and it appears to happen because the value coming from the counters PresentValue[0] is already greater than both Position 3 and 4 by the time it comes to that rung, so I get both. My entire controller scan time is around 2ms. I dropped the RPI on the HSC card to 2ms. It hasn't helped. Any advice on how I can capture this or get a quicker update from the HSC?
From what I can physically see in Logix5000, the count jumps from 780 to 1300 while I am monitoring Counterx.PresentValue[0].
The HSC is currently set for Counter. Would it make a difference if I switch to Encoder X1?