Hi folks, this is for you Shift Register guys.
Can anyone see anything fundamentally wrong with the attached code? i've used this bit of code dozens of times with no real issue other than what position in the SR the cap gate solenoid is energised.
Basically tracks whether a bottle is present in pockets on a rotating carousel and energises a solenoid to release a cap.
The problem i've got on my latest headache is Two caps are released yet there is only one bit true in the register (just testing one at a time at the moment).
Pneumatically every thing is perfect, the gate just seems to take ages to shut, as are all the sensors etc.
Doing my Plank in at the moment. Running on TIA V15
Cheers Guys
Can anyone see anything fundamentally wrong with the attached code? i've used this bit of code dozens of times with no real issue other than what position in the SR the cap gate solenoid is energised.
Basically tracks whether a bottle is present in pockets on a rotating carousel and energises a solenoid to release a cap.
The problem i've got on my latest headache is Two caps are released yet there is only one bit true in the register (just testing one at a time at the moment).
Pneumatically every thing is perfect, the gate just seems to take ages to shut, as are all the sensors etc.
Doing my Plank in at the moment. Running on TIA V15
Cheers Guys