0% found this document useful (0 votes)
439 views7 pages

Application Exercise 6 Washing Machine For PLC

This document provides instructions for an application exercise using a PLC to simulate a washing machine. Students are asked to program a washing machine simulator using ladder logic to control inputs like buttons and switches and output signals to LEDs. The exercise aims to have students write a program that will run through a washing cycle with different stages like filling, washing, spinning based on inputs. Precise steps are outlined for connecting the simulator, writing the ladder logic program, simulating it, and transferring the program to the PLC.

Uploaded by

Harlz Ranch
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)
439 views7 pages

Application Exercise 6 Washing Machine For PLC

This document provides instructions for an application exercise using a PLC to simulate a washing machine. Students are asked to program a washing machine simulator using ladder logic to control inputs like buttons and switches and output signals to LEDs. The exercise aims to have students write a program that will run through a washing cycle with different stages like filling, washing, spinning based on inputs. Precise steps are outlined for connecting the simulator, writing the ladder logic program, simulating it, and transferring the program to the PLC.

Uploaded by

Harlz Ranch
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/ 7

Department of Engineering and Design- Room T405 PLC Application Exercises

Application Exercise 6. Washing Machine Simulator


This Module is a Washing machine simulator.
The module has all the necessary programming
buttons/switches(9 inputs) to simulate the
operation of a domestic washing machine. The
aim of this exercise is to program the simulator
in ladder logic to carry out a washing cycle set
by the inputs and activate the corresponding
LEDs to indicate that the washing cycle is active.
The students are advised to work out and write
down the operation of machine in plain English
first before attempting to develop a ladder logic
program. This exercise requires the use of
internal Relays(for Start, Tub Full, Tub Half Full)
and a sequencer to carry out the washing cycle.
The Vibration sensor Button and/or the Door
Lock switch can be used to terminate the cycle
or simulate the Vibration that may occur if a machine is over-loaded.
The table below shows the connection of the Inputs and Outputs to the module. You
are advised to use the same names given below for Inputs and outputs and insert
them in the I/O table.

Function Output LEDs


Start
HotTemp
TepidTemp
ColdTemp
SlowFwd
SlowRev
FastFwdSpin
PumpON
TubFilling
TubFull
TubHalfFull
Locked
ColdWater
HotWater

PLC Output
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Function Switch/Button
StartBTN
HalfLoadSW
SpinSW
CoolWashSW
HotWashSW
TubFullBTN
TubHalfFullBTN
DoorClosedSW
VibrationBTN

PLC Input
1
2
3
4
5
6
7
8
9

Where SW, Stands for Switch and BTN, stands for Button in the Input Table.

Supervisors: Mr.K.Rotter/ Mr.S.Mondal

Authors: Mr.M.Zahir / Mr.P.Adams

Department of Engineering and Design- Room T405 PLC Application Exercises


Washing Cycle Programming
An example Hot Wash Cycle requires the activation of Hot Wash Input. The Tub
Should be filled by pressing the Tub Full Button to latch the condition. Once the Door
is Locked, and the Start button is pressed the Cycle should start by:
Door Locked indicator ON
Start Light ON
Indicate Hot Water Valve ON
Tub Filling ON
After some delay set by the Tub Full Button, Tub Full Indicator ON, Tub Filling
OFF.
HOT Temperature Indicator ON
The Machine Indicates the Slow Reverse/Forward lights Turning ON/OFF in
sequence separated by reasonable delays.
After the Cycle is finished the Machine empties the Tub, i.e Pump ON and
goes into Fast Spin if the Spin button is pressed.
All indicators are then switched OFF.
At any time if the Door Lock or the Vibration sensor inputs are activated the
machine should stop.
The machine should indicate the sequence with reasonable delays so that the
cycle is not too long and also not too short so that the sequence can be observed
easily.
Similarly, by pressing or latching the various switches and buttons a different
washing cycle should be performed.
Note: The entire ladder logic should be Simulated first before transferring
the program to the PLC.

Supervisors: Mr.K.Rotter/ Mr.S.Mondal

Authors: Mr.M.Zahir / Mr.P.Adams

Department of Engineering and Design- Room T405 PLC Application Exercises


How to transfer programs to the PLC
This section describes the step by step procedure for transferring programs to the
PLC. It is essential that you carry out the steps given below exactly.
Ensure the PLC is connected to the power supply and switched ON
Ensure the power supply of any other Rig connected to the PLC is also
switched ON.
Ensure that RS232 Serial cable is connected to the PLCs COM port
Run the TLserver Software if it not already loaded. You will see the following
window appear.

Now click on the Serial Port Setup button above. The following window appears:

Supervisors: Mr.K.Rotter/ Mr.S.Mondal

Authors: Mr.M.Zahir / Mr.P.Adams

Department of Engineering and Design- Room T405 PLC Application Exercises


Ensure the message COM1 opened at 38400bps is displayed in the Response
window. If not please call the Technician in charge to assist you. If the message
confirms that the port is opened as shown above then, proceed to the next page.

Click on Controller and select Program transfer to PLC. The following window is
opened:

Now type in 01 in the Detect ID box and click on Memorize Username &
Password to clear the Tick sign. This means the PLC should not be set with a
username and password.
Note: you must not set a Password for any other subsequent experiment or
project. Username can be ignored and left alone as samples.
Therefore the window should appear as shown below before you proceed to the next
step.

Supervisors: Mr.K.Rotter/ Mr.S.Mondal

Authors: Mr.M.Zahir / Mr.P.Adams

Department of Engineering and Design- Room T405 PLC Application Exercises

Now click OK.

Click Yes to Overwrite PLCs program.

The i-Trilogi software will now compile the Ladder logic to machine code. If the code
contains errors, then the PLC will display an error message that the compilation is
not successful. You must then go back to editing and correcting your errors.
If the compilation is successful, you will see the message Success! In the
Compilation window shown above.

Supervisors: Mr.K.Rotter/ Mr.S.Mondal

Authors: Mr.M.Zahir / Mr.P.Adams

Department of Engineering and Design- Room T405 PLC Application Exercises


Now click on Start Transfer, the following window is displayed:

Click on Yes to Reset PLC?


The program in the PLC will Execute and read data from input ports or output data to
the devices you have programmed. The status of the PLC can be monitored by the
following:

Click on Controller and select On-Line Monitoring. The following example window
appears:

Supervisors: Mr.K.Rotter/ Mr.S.Mondal

Authors: Mr.M.Zahir / Mr.P.Adams

Department of Engineering and Design- Room T405 PLC Application Exercises


The status of all devices can be monitored from this window. If A/D converters are
used then the Raw Data from the converters can be seen at the top of the window in
ADC1-8 boxes.
This concludes a successful PLC Program transfer. The same procedure is
used to transfer any program to the PLC.
Virtual LCD Display
You may view the Virtual LCD Display to see other status data by clicking on the
View button. Click View now. You will see the Virtual LCD display window:

This window is used to output up to 4 lines of text to display messages or values of


Global variables. It also displays, the state of the A/D converters 1 to 8 ,PWM
outputs 1 to 8 and the data that is output the D/A channels.

Supervisors: Mr.K.Rotter/ Mr.S.Mondal

Authors: Mr.M.Zahir / Mr.P.Adams

You might also like