Lab 4 (PLC)
Lab 4 (PLC)
Lab 4 (PLC)
Laboratory 4
Programmable Logic Controller
ID 7D7B5131 7D7B4921
Objectives
To Learn and understand software aspect by using of the PLC To draw a ladder diagram consisting of basic components of the PLC To learn the basic commands and the mnemonic codes for the instructions of the Handheld Programming console.
1. Introduction
The automation of many different processes, such as controlling machines or factory assembly lines, is done through the use of small computers called a programmable logic controller (PLCs). This is actually a control device that consists of a programmable microprocessor, and is programmed using a specialized computer language. A modern programmable logic controller is usually programmed in any one of several languages, ranging from ladder logic to Basic or C. Typically, the program is written in a development environment on a computer, and then is downloaded onto the programmable logic controller directly through a cable connection.
In this test 1, the operation is periodic and continuous with each cycle lasting 30secconds and it can be initiated and stopped with a single bush button or switch. In each cycle during the operation, each of the three lights will alternately be on and remain so for 10sec only with only one light on at any particular time. The operation will be stopped either when a pushbutton is pressed or the duration exceeds 3 minutes. Mnemonic Program Address 000000 000001 000002 000003 000004 000005 000006 000007 000008 000009 000010 000011 000012 000013 000014 000015 000016 000017 000018 000019 000020 000021 000022 000023 000024 000025 000026 000027 Instruction Operand LD OR OR OR AND NOT TIM LD OR OR AND NOT AND NOT AND NOT OUT LD TIM LD OR AND NOT AND NOT AND NOT OUT LD TIM LD OR AND NOT AND NOT AND NOT 000000 000100 000101 000102 000001 0000 #1800 000000 000100 T0003 000001 T0001 T0000 000100 000100 0001 #0100 T0001 000101 000001 T0002 T0000 000101 000101 0002 #0100 T0002 000102 000001 T0003 T0000
In this test, it was about processing line for packaging apple, when PB1 (START Push Button) is pressed, box conveyor moves.Upon detection of box present, box conveyor will stops and apple conveyor will starts. Parts sensor will count for 10 apples. Then, the operation will repeated where the apple conveyor will stops and the box conveyor will starts again. Counter will be reset and the operation repeats until PB2 (STOP Push Button) is pressed.
(iii) Develop Truth Tables for one sensor indicating a defective item and also two sensors indicating defective items. D1 indicating the warning light will be light D2 indicating the robotic arm will be moving to pick up the item. S3 0 0 0 0 1 1 1 1 S2 0 0 1 1 0 0 1 1 S1 0 1 0 1 0 1 0 1 D1 0 1 1 1 1 1 1 1 D2 0 0 0 1 0 1 1 1