Professional Documents
Culture Documents
Industrial Automation M Lab No 5 19022024 092203am
Industrial Automation M Lab No 5 19022024 092203am
INDUSTRIAL AUTOMATION
LAB EXPERIMENT # 5
EQUIPMENT:-
A programmable logic controller (PLC) is specialized computers used to control machines and
process. It is consists of the following components:
Central Processing Unit (CPU)
Memory
Input modules
Output modules
Power supply
A PLC hardware block diagram is shown in Figure 5.1. The programming terminal in the diagram is
not a part of the PLC, but it is essential to have a terminal for programming or monitoring a PLC. In
the diagram, the arrows between blocks indicate the information and power flowing directions.
26
LAB# 05
These functions are basic and combinational logic operations such as AND, OR, AND-NOT, OR- NOT,
timer and counter operations. In addition to these, PLCs may have the ability to realize several transfer,
mathematical, and PID operations.
PLC consists of three main parts: CPU, memory and I/O units.
CPU is the brain of PLC. It reads the input values from inputs, runs the program existed in the
program memory and writes the output values to the output register. Memory is used to store
different types of information in the binary structure form. I/O units provide communication
between PLC control systems. The programming is the terminal uses for programming software
for programming and talking to a PLC.
The ladder logic diagram (LAD) method is commonly used to implement the programs for process
controls.
The screen shot shown on next page is a typical working screen of WinProladder is consist of many
operating areas, among these areas the most important are shown in Figure 5.2:
27
LAB# 05
Move the mouse pointer to the component pallet and click the button then the pointer will change from the
pure arrow shape into an arrow shape with an A contact beneath with it. At this time the cursor act like a
stamp, if left click the mouse button will stamp an A contact on the click position.
Now move the cursor to the top most left position of ladder window and click then a dialog will pop out
as shown in Figure 5.3:
Insert the timer contact like we insert the input contact as described in Figure 5.4.
Select the timer from input pallet by clicking on it, see Figure 5.5.
Now enter the T0 at T: field then enter 100 at PV field and click the OKbutton or press Enter.
29
LAB# 05
Now enter SHFL Enter or 51 Enter or click the 'Shift/Rotate' item in the class field and then pick 'SHFL'
in the Name field then SHFL will show in the Function Name field and then press Enter key.
After above operation then will pop up a dialog as shown in Figure 5.8:
Example
30
PROCEDURE for GLOFA PLC:-
Below is the procedure to use GMWIN (software used with Glofa PLC)
Input program name Star_to_Delta and then click [Next] to move to new program page.
Select the type of language for program (LD) from new program dialogue box.
After input the comments for program to the comments column, press [Enter] key or click
[Finish]
3. How to do Programming.
Select from tool box and click the mouse on the ‘0’ row position of LD window.
If variable window appears as shown in Figure 5.11, input the variable name and click [ok].
31
LAB# 05
Select the type of variable from variable add/modify window and click [ok].
Similarly, select from toolbox and click the mouse on the side position of Contact.
After selecting the variable type of, click [ok] and the coil will be inputted.
Select from tool window by using a mouse, a window appears as shown in Figure 5.12.
Click [ok]
32
LAB# 05
33
LAB# 05
Lab Exercise
Q1. Construct the Ladder diagram as given in Figure 5.13 for the following Boolean functions and
verify your results.
Q2. A PLC motor has two START and two STOP buttons. The motor is to run when two START
buttons pressed simultaneously. The motor should run when the buttons are released. Motor stops by
pressing any STOP button. Construct ladder logic for this motor control task. Use the below symbols
as shown in TABLE 5.1 for inputs and output.
34
LAB# 05
Allocate the memory and give the names to indirect variables according to the memory I/O map
As given in TABLE 5.2.
36