
Mikedean (Customer) asked a question.
click plus ladder logic for line divert
hello i want to realize a ladder logic with a click plc
basically my project consist of having a mainline that will divert into 4 sub lines bin sequence like it will send the first tote to the first line the second one to the second line and up to the fourth line
i am struggling with what i need to write the sequence and input will be appreciated.
Thank you
This sounds like a sorting application. Try Garry's website: https://accautomation.ca/?s=sorting
Please provide a drawing showing the arrangement of the conveyors/lines. Show where you have, or plan to have, photoeyes and cylinders.
this is the drawing of what i am trying to realise
the cylinder will be controlled with a 24 v selenoid
Usually, in these applications, the mainline will have a conveyor movement pulse. This is usually proximity mounted to pick up the teeth on gear or an incremental encoder. This is critical to keep the timing of the product.
In the Click, a shift register is used for the tracking of the boxes.
Here is a post and video to demonstrate what I mean.
https://accautomation.ca/plc-programming-example-sorting-station-shift-register/
Video
https://www.youtube.com/watch?v=YMl2DPm_yaU
Regards,
Garry
If you have this partially built - at least one lane - then test when the solenoid should be fired relative to the make or possibly the unmake of the photoeye.
Once you have that add a counter. Presumably you are testing the first lane. It has to allow 3 items pass before pushing the 4th. Once the pushing is started - you will probably need two timers, one for the extend time and one for the retract time.
Once you have that add in that the counter shouldn't count if the 'lane full' eye is made. The item just continues to the next lane.
Once you have all of this then repeat the logic for the next two lanes, with their counters set to 3 and 2 respectively. Of course each lane's logic gets its own Xs, Ys, Timers and Counters.