Beruflich Dokumente
Kultur Dokumente
5/6/2011
Contents
PART SUPPLY CONTROL SYSTEM (PART-A) .......................................................................................... 3
Requirements ................................................................................................................................... 3
Description of the system inputs and outputs................................................................................. 3
Opration pseudo code ..................................................................................................................... 4
Overall control ............................................................................................................................. 4
Control of oranges ....................................................................................................................... 4
Control method .................................................................................................................................... 4
PLC software ........................................................................................................................................ 5
Section One: ON and OFF function of conveyor .............................................................................. 7
Section Two: supply command function.......................................................................................... 7
Section Three: box on conveyor detection ...................................................................................... 7
Section Four: supply oranges ........................................................................................................... 8
Section Five: count oranges and delay timer................................................................................... 8
Section Six: reset and supply ........................................................................................................... 9
Conclusion .......................................................................................................................................... 10
Requirements
Control Objective
Place a specified number of oranges into a box located on the conveyor
Control Specification
Overall Control
1. When switch SW1 on the operation panel is turned ON the conveyor moves forward.
When switch SW is turned OFF the conveyor stops
2. When pushbutton PB1 on the operator panel is pressed SUPPLY COMMAND (Y1) for the
robot is turned ON. SUPPLY COMMAND is turned OFF when the robot moves away from
the starting point. When SUPPLY COMMAND is turned ON the robot supplies a box.
3. When the BOX ON SLIDE (X5) is turned ON, the robot must automatically supply another
box after 5 seconds onto the conveyor.
Control of Oranges
1. When the sensor for BOX ON CONVEYOR in the orange feeder is turned ON, the conveyor
stops.
2. Twenty (20) oranges must be placed in the box. Full boxes containing oranges are carried
to the tray on the right.
3. Oranges are supplied when SUPPLY ORANGE COMMAND is set ON and the number of
oranges supplied are counted by the ORANGE SUPPLIED sensor
4. A 10 second delay is required before the filled orange box moves on to the tray on the
right.
DESCRIPTION
Robot starting position
Box on conveyor belt
Orange supply counter
Object light sensor
Momentary contact Push switch
Rotary switch (ON/OFF)
FUNCTION
Sensor
Sensor
Sensor
Sensor
Opration Command
Opration Command
OUTPUTS
Y0
Y1
Y2
Transport
Transport
Supply material
Control method
This procedure is represented in flowchart in Fig.1 below. By producing flow chart it is clear what
steps should be taken to accomplish this task.
Figure 1: Flow chart of PLC software, blocks outlined in colour as follow, red (switches), blue (sensor inputs) and yellow (outputs)
PLC software
After careful study of flow-chart in Fig.1, the following program in Fig.2 is constructed to meet the
required task. The program is divided into six sections, each task performs given opration as
describe below.
1
2
3
4
5
6
Figure 2: Ladder Logic program layout and it is divided into six sections containing different functions
Relay-3 (M2) in (N.C) state acts as latch for output relay-1 (M0), this also ensures when the
box passes through final stages this circuit is un-latched.
The rotary switch (X024) is fail-safe to over-ride the sensor (X001) function by unlatching
relay-1 (M0) which in turn switches OFF conveyor if ON.
Overall function of this part of the software is to halt the conveyor when a box is detected.
Conclusion
This system is designed in such way to allow user to be able to stop the conveyor through rotary
switch off position by turning the switch back on will allow any content on conveyor to move to
final stage without any future processing, this implication may overcome some issues i.e. if orange
supply is depleted/defective or problem with packaging occurs, in any of these cases current
content of the production line will be rejected. This can ensure quality end product and minimum
loss.
Final stage will trigger five seconds delay before supplying another box to conveyor. As
precautionary measure if the rotary switch was turned off again during five seconds delay, this will
over ride the five seconds delay timer and return opration to its initial state where the user will
need to press the push-button to initiate the supply command. By implementing this method into
this software it gives the user ability to be able to set/reset the production line from one control.
10