I am having problems programming the logic for my stepfeeders and am looking for some help! This is PLC5 just to clear that up.
What I've got now is the bit for a log being on the top stepfeeder and the forward signal, this latches a bit that I call "Log in Trough"
In the next rung, I have a XIC of "Log in Trough" and a XIC of a photocell that it has to pass by and clear before it feeds another log. If these are true I latch a bit "Log in trough and eye has seen the log"
In the next rung I have a XIC of "Log in trough and eye has seen the log" and a XIO of the photocell, if this is true then I latch "Belt is clear and ready to feed"
Next rung is XIC of "Belt is clear and ready to feed" amd this unlatches all of the above.
My problem is that the stepfeeder keeps doublefeeding on me. I thought this was pretty fool proof logic, but apparently not. For some reason if the log doesn't make it to the eye before the next is ready to feed it double feeds.
SOR EQU N42:24 0 BST BST XIC B33/20 XIC O:105/4 NXB XIC B271/17 BND NXB BST XIC B33/16 XIC O:105/1 NXB XIC B271/18 BND BND OTL B3/583 EOR SOR XIC B3/583 XIC I:027/16 OTL B3/582 EOR SOR EQU N42:24 0 XIC B3/582 XIO I:027/16 OTL B3/581 EOR SOR XIC B3/581 BST OTU B3/583 NXB OTU B3/582 NXB OTU B3/581 BND EOR
Thanks for your help again guys!!
What I've got now is the bit for a log being on the top stepfeeder and the forward signal, this latches a bit that I call "Log in Trough"
In the next rung, I have a XIC of "Log in Trough" and a XIC of a photocell that it has to pass by and clear before it feeds another log. If these are true I latch a bit "Log in trough and eye has seen the log"
In the next rung I have a XIC of "Log in trough and eye has seen the log" and a XIO of the photocell, if this is true then I latch "Belt is clear and ready to feed"
Next rung is XIC of "Belt is clear and ready to feed" amd this unlatches all of the above.
My problem is that the stepfeeder keeps doublefeeding on me. I thought this was pretty fool proof logic, but apparently not. For some reason if the log doesn't make it to the eye before the next is ready to feed it double feeds.
SOR EQU N42:24 0 BST BST XIC B33/20 XIC O:105/4 NXB XIC B271/17 BND NXB BST XIC B33/16 XIC O:105/1 NXB XIC B271/18 BND BND OTL B3/583 EOR SOR XIC B3/583 XIC I:027/16 OTL B3/582 EOR SOR EQU N42:24 0 XIC B3/582 XIO I:027/16 OTL B3/581 EOR SOR XIC B3/581 BST OTU B3/583 NXB OTU B3/582 NXB OTU B3/581 BND EOR
Thanks for your help again guys!!