ECE2071 Lab 6 - PLCs
ECE2071 Lab 6 - PLCs
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
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).
The pump is to be controlled by a PLC running the following program, which implements a latch:
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:
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:
4) After completing the ladder diagram, you can simulate the operation of your circuit:
Click ‘SIM’ icon to
toggle simulation
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):
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:
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).
Digital Inputs
Digital Outputs