drbitboy
Lifetime Supporting Member
Hi All,
Does it look okay now?
Yes. It looked okay originally except for the (copy-paste?) typo.
Sensor_High contains the conveyor stopped and the carton present
Hmm, I'd be worried about the conveyor stopping, and then starting and stopping again, both times while the same carton is present, as that would trigger a second add and subtract for one carton.
Index_Step - this simply is high when the conveyor is on certain indexes
Same worry.
The debounce TON and one-shot should ensure each carton is counted (added at C1, or added and subtracted at C2 and C3, or subtracted at C4) only and exactly once.
_