0% found this document useful (0 votes)
532 views6 pages

ECE2071 Lab 6 - PLCs

This document provides instructions for a laboratory session on programming a PLC using ladder logic. The learning goals are to introduce the Siemens LOGO! PLC hardware and software, gain familiarity with inputs/outputs, and program simple tasks. Exercises include controlling a pump based on water level switches, adding an extra switch, and implementing motor protection and emergency light flashing sequences using timers and memory bits.

Uploaded by

Rajeen Venura
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
532 views6 pages

ECE2071 Lab 6 - PLCs

This document provides instructions for a laboratory session on programming a PLC using ladder logic. The learning goals are to introduce the Siemens LOGO! PLC hardware and software, gain familiarity with inputs/outputs, and program simple tasks. Exercises include controlling a pump based on water level switches, adding an extra switch, and implementing motor protection and emergency light flashing sequences using timers and memory bits.

Uploaded by

Rajeen Venura
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ECE2071 Computer Organisation and Programming

Laboratory Session 6

Learning Goals

• Introduction to the Siemens LOGO! 8 12/24 RCE Programmable Logic Controller (PLC) and
the LOGO! Soft Comfort V8.3 software package
• Gain familiarity with its input/output and communications modules
• Program some simple tasks using ladder logic diagrams

Exercise 1 – Pump Control for Mine Sump

In this first exercise you are going to find out how to enter a ladder logic program, download it to the
PLC and then run it.
In a coal mine, a sump collects water that seeps into the mine workings. There are two normally
open (N.O.) water level switches in the sump, which are used to detect water at the bottom and top
of the sump. When the sump is almost full (the upper level switch closes), a pump switches on to
pump water out of the sump until the lower level switch opens (Note: you may assume all switches
are normally open, and therefore the contact closes when you press/actuate the pushbutton).

Figure 1 - The sump pump application

The pump is to be controlled by a PLC running the following program, which implements a latch:

Figure 2 - The ladder diagram for the sump pump


Here is the procedure for entering the program:
1) Start the application ‘LOGO! Soft Comfort V8.3’.

2) Create a new ladder diagram file:

Figure 3 – Creating a new ladder diagram file

3) Construct the ladder diagram shown in Figure 2. You can insert components by clicking a
component in the ‘Instructions’ list and then clicking somewhere in the ladder diagram:

Select an input, output or


memory bit (flag) to control
the contact. Some blocks will
only appear in this list after
they have been placed on
the ladder diagram

Figure 4: Adding a component to the ladder

Components can be connected to the power rail and to each other by clicking and dragging a
connection line from one component’s connection point to the other:

Figure 5: Connecting components

4) After completing the ladder diagram, you can simulate the operation of your circuit:
Click ‘SIM’ icon to
toggle simulation

Figure 6: Simulating the ladder diagram


Exercise 2 – Extension of Mine Sump Pump System

Add an extra water level switch to the sump pump system so that the sump can be emptied before
the water level reaches the upper level switch. Assume that this new level switch is normally closed
(N.C.) and so it will be actuated (and its contact opened) when water reaches its level. Use an
inversion rung as shown below to emulate the N.C. level switch (a memory bit can be used as a
control relay coil):

The memory bit (flag) M1 will be


the inverted version of the input I3

Figure 7: Emulating N.C. switch via inversion rung


Exercise 3 – Motor Protection Scheme Controller

This exercise is to implement a protection scheme for a motor that is not continuously rated. After
pressing the start switch momentarily, the motor should run for 5 minutes (to save time we will
reduce this to 5 seconds). To allow the motor to cool, it must not be started again for another 5
minutes (once again this will be represented by 5 seconds). The PLC program must ensure that the
cool off time occurs before the motor can be restarted. The following PLC program was written to
implement the motor control:

These two rungs are needed because LOGO does


not support recursion in a rung (Eg. cannot use
T001 to control contacts connected to its input)

Figure 8 - Motor protection program

Unfortunately, this program contains an error. Enter this program, identify the error, correct the
error and ensure that your corrected program works correctly.
Exercise 4 – Emergency Lights Controller

For this exercise, you are to program the PLC so that pressing the Emergency Push Button (I5)
momentarily, causes all four amber/yellow traffic lights (Q7, Q10, Q13, Q16) to flash together with
a repeated sequence of 1 second off and 1 second on. (Hint: use a combination of your solutions to
parts 1 and 3).

Appendix A – Siemens LOGO! 8 12/24 RCE PLC Input/Output

Digital Inputs

Car Push Button - South I1


Walk Push Button - South I2
Car Push Button - East I3
Walk Push Button - East I4
Emergency Push Button I5

Digital Outputs

SELECTED (Address 6) – LED - Red Q5


East Traffic LED - Red Q6
East Traffic LED - Yellow Q7
East Traffic LED - Green Q8
West Traffic LED - Red Q9
West Traffic LED - Yellow Q10
West Traffic LED - Green Q11
South Traffic LED - Red Q12
South Traffic LED - Yellow Q13
South Traffic LED - Green Q14
North Traffic LED - Red Q15
North Traffic LED - Yellow Q16
North Traffic LED - Green Q17
Walk LED – East - Red Q18
Walk LED – South - Red Q19

Horace Josh, April 2018

You might also like