Help with Ladder Logic Question

Here is a simulation of the process you can use to drive the limit and photos switches' inputs to drive the control logic. I assume LogixPro has a way for you to toggle the button inputs. You would have to port this to LogixPro and use your own tag ids. It should run on each scan cycle before the control logic. The first-pass bit tests can be removed, in case LogixPro does not have that bit.

The first routine (LAD 5 SIMBOTTLES) alternates large and small bottles, and assumes large bottles are sent to conveyor 3. It also assume photo switch input values are 1 when a bottle is present, so you might have to fix that too.

The second routine (LAD 6 SIM_BOXES) responds to conveyor 2 and conveyor 3 running. The Box Present photo switch input values are 1 when a box is present, and do not come on immediately when their corresponding conveyor starts.

Both routines implement poor-man's clocks by counting alternate scan cycles. This works on a MicroLogix 1100 with a scan time of about 1ms; based on your actual scan time you will want to change which bits are used to drive the switches in the LAD 5 SIMBOTTLES routine, and the counter presets in the LAD 6 SIM_BOXES routine.

bottles.jpg
 

Attachments

  • bottles.pdf
    180.3 KB · Views: 6

Similar Topics

Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
226
Working on project will update after it is completed.
Replies
2
Views
356
Can someone help me piece this problem together. I have a lot of it down I think but cannot seem to get it right. Probably an easy one for most on...
Replies
1
Views
303
Hi everyone, I'm working on a project that involves using a Keyence LR-X100 sensor in Studio 5000 V35 ladder logic to determine the object's...
Replies
4
Views
677
I need to know how to take a schematic like this and solve it for let’s say a run time of 5 seconds By solve I mean determine which rungs are...
Replies
33
Views
9,146
Back
Top Bottom