Professional Documents
Culture Documents
PLC La
PLC La
Lab 3
Problem 1:
Design ladder diagram to control the operation of the SCT conveyor belt. The operation
of the belt should be as follows:
• The belt should begin motion when the infrared sensor (across the belt conveyor)
detects an item. Afterwards the belt continues motion.
• The belt stops when a defective item is detected in the Reject area of the belt (by
the infrared reflect sensor at the reject area). The reject solenoid (output1) is then
activated to reject the item.
• The belt restarts moving only when a new item is detected by the infrared sensor
across the belt conveyor, in which case also the reject solenoid is deactivated.
• After three rejects the belt conveyor system stops completely.
Problem 2:
Design ladder diagram that will automatically control the operation of the traffic lights
on the Traffic Signal Application module (see appendix). The traffic light sequence
must be as follows:
Time Periods ON lights
N/S Green
T0 = 6 seconds
W/E Red
N/S Amber
T1 = 2 seconds
W/E Red
N/S Red
T2 = 6 seconds
W/E Green
N/S Red
T3 = 2 seconds
W/E Amber
Dr. Wafaa ElHaweet Eng. Menna El Kammah
Eng. Sara Abdelhakem
Eng. Eman Rafik
P a g e | 1
Where N/S is the NorthSouth traffic light, W/E is the WestEast traffic light.
• Make your assumptions to include the PED “Pedestrian Crossing” lights
appropriately in the above sequence.
• The above sequence should be repeated infinitely.
Bonus Part
Add to your program the use of the 5 pushbuttons described in table 2 in the Appendix
(for Car Autodetection and Pedestrian Crossing Requests).
If the 5 buttons are not pressed, the sequence should go as described before without
any interruption. Pushing any of these buttons interrupts the sequence described
before.
The system should serve immediately the buttons requests. For example, if south vehicle
detector is pressed, the system should jump to the appropriate state from the sequence
table, which achieves that north/south traffic should be green for 6 seconds. It should
continue its cycle after that normally and so on.
How to resolve conflicting requests?
If two or more buttons are pressed at the same time, we will prefer to give the upper
hand to the request which has higher priority.
Assume priorities to be as follows from higher to lower:
1. North or South vehicle detector.
2. West or East vehicle detector.
3. Crossing request.
Notes on submission
• The appendix is for the whole lab, not the bonus part only, so please take a look at it.
• Submit your work to this form on Tuesday 25th April before the discussion.
Dr. Wafaa ElHaweet Eng. Menna El Kammah
Eng. Sara Abdelhakem
Eng. Eman Rafik
P a g e | 2