PLC is a digitally operating electronic apparatus which uses a programmable memory for the internal storage of instructions by implementing specific functions such as logic sequencing, timing, counting, and arithmetic to control, through digital or analog input/output modules, various types of machines or processes.
A robot is to be used to unload finished parts from a machine onto an AGV and to load raw parts from the AGV to the machine. Assume that there are sensors at the AGV's docking station to indicate the arrival of a vehicle and onboard sensors indicating whether the vehicle has brought a raw part to be processed as well as whether the AGV has space to carry away a finished part. Also assume there are sensors on the machine to indicate whether the machine is loaded with a part and also to signal completion of part processing. The robot is required to unload a processed part from the machine onto the AGV, pick up a new part for processing from the AGV, and load it onto the machine. The AGV is to be dispatched after completion of the cycle. Construct a ladder logic diagram for this task.
A ladder logic diagram is made up of inputs and outputs connected according to the appropriate logic.
Each rung in the ladder represents a set of logical relationships between the inputs that leads to a particular output.
The output from one rung of the ladder could be used as an input in another rung of the same ladder.
Except when special provisions are made, it is considered that all rungs in a given ladder logic diagram are executed simultaneously, so the order of the rungs on the ladder in general does not matter.
During the powder metallurgy process, a punch is used to press blended metal powder into a compact inside a die. A pushbutton is used to start the process. When the start button is pressed, the die is filled with powder. The punch is then advanced and it applies pressure to the powder for a duration of 10 s, after which it is retracted. The pressed compact is then ejected from the die and the cycle repeats. The cycle can be interrupted by pressing a stop button. If the stop button is pressed, the punch is required to retract (if it had been advanced) before the process is stopped. We are required to construct a ladder logic diagram for this task.
This example illustrates the use of both the timing and counting functions. Consider a production line in which parts requiring processing are brought to a machine by a conveyor. A robot is used to load parts from the conveyor onto the machine and, after the part has been processed, unload the part from the machine and place it on a pallet. The cycle time for processing each part is 10 min. The robot is to palletize the parts by placing 125 parts on each pallet. The parts are to be arranged on the pallet in five layers of 25 parts each. Once a pallet is complete, it is dispatched and a new pallet is started. An allowance of 30 s is to be made for pallet dispatching and presentation of a new pallet. Construct a ladder logic diagram to effect the required control.