Professional Documents
Culture Documents
by
A PROJECT REPORT
Submitted to the
of
in
June, 2018
Salalah Vocational College – Department of Electrical Engineering 2
PLC Based Motor Control Panel “Implementation of a PLC Program”
ABSTRACT
This report can be considered as a supplement for the “PLC based motor control panel”, as
it treats the software side of this project. The first one has talked about the wiring diagrams and
connections performed to achieve this graduation project, in addition to the required mechanical
works.
We should remind that this project consists in the conception of a control panel based on a
Programmable Logic Controller that will be used to control a three-phase squirrel cage
asynchronous motor in different ways:
Direct START
Reverse START
Direct star/delta START
Reverse star/delta START
Page | 2
Salalah Vocational College – Department of Electrical Engineering 3
PLC Based Motor Control Panel “Implementation of a PLC Program”
Acknowledgment
Page | 3
Salalah Vocational College – Department of Electrical Engineering 4
PLC Based Motor Control Panel “Implementation of a PLC Program”
Contents
Content 4
List of Figures 5
List of tables 6
Introduction 7
References 22
Annexes 23
Page | 4
Salalah Vocational College – Department of Electrical Engineering 5
PLC Based Motor Control Panel “Implementation of a PLC Program”
List of Figures
Page | 5
Salalah Vocational College – Department of Electrical Engineering 6
PLC Based Motor Control Panel “Implementation of a PLC Program”
List of Tables
Page | 6
Salalah Vocational College – Department of Electrical Engineering 7
PLC Based Motor Control Panel “Implementation of a PLC Program”
Introduction
Programs for microprocessor-based systems have to be loaded into them in machine code,
this being a sequence of binary code numbers to represent the program instructions. However,
assembly language based on the use of mnemonics can be used; for example, LD is used to indicate
the operation required to load the data that follows the LD, and a computer program called an
assembler is used to translate the mnemonics into machine code. Programming can be made even
easier by the use of the so-called high-level languages, such as C, BASIC, PASCAL, FORTRAN,
COBOL. These use pre-packaged functions, represented by simple words or symbols descriptive
of the function concerned. For example, with C language the symbol & is used for the logic AND
operation. However, the use of these methods to write programs requires some skill in programming
and PLCs are intended to be used by engineers without any great knowledge of programming. As
a consequence, ladder programming was developed. This is a means of writing programs which
can then be converted into machine code by some software for use by the PLC microprocessor.
This method of writing programs became adopted by most PLC manufacturers, however
each tended to have developed their own versions and so an international standard has been
adopted for ladder programming and indeed all the methods used for programming PLCs. The
standard, published in 1993, is IEC 1131-3 (International Electrotechnical Commission). The IEC
1131-3 programming languages are ladder diagrams (LAD), instruction list (IL), sequential function
charts (SFC), structured text (ST), and function block diagrams (FBD).
This chapter is an introduction to the programming of a PLC using ladder diagrams and
functional block diagrams, with discussion of the other techniques in the next chapter. Here we are
concerned with the basic techniques involved in developing ladder and function block programs to
represent basic switching operations, involving the logic functions of AND, OR, Exclusive OR, NAND
and NOR, and latching.
Page | 7
Salalah Vocational College – Department of Electrical Engineering 8
PLC Based Motor Control Panel “Implementation of a PLC Program”
This chapter will give a description about the main functions of the LOGO! logic module in
this module.
Typical tasks are explained by using a sample task and processed in a project in the following steps:
Creating a program for the LOGO! logic module
Testing the task in LOGO! RUN mode
Setting the IP address
Programming the task with the LOGO! software
Simulating the task with the LOGO! software
Test the task with the LOGO! software.
1- Hardware and software needed:
Page | 8
Salalah Vocational College – Department of Electrical Engineering 9
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 9
Salalah Vocational College – Department of Electrical Engineering 10
PLC Based Motor Control Panel “Implementation of a PLC Program”
DM AM AM2AQ
Connectors
LOGO! 0BA6 LOGO!0BA7
LOGO! 230RCE Two groups: I9 to I24 AI1 to none
LOGO! 230RC/RCo I1 to I4 and I5 to I8 AI8
LOGO! 24RC/RCo
Inputs LOGO! 12/24RCE I1, I2, I3-I6, I7, I8 I9 to I24 AI5 to
LOGO! 12/24RC/RCo AI3, AI4 ... AI1, AI2 Al8
LOGO! 24/24o LOGO!
24C/24Co
Q1 to Q4 Q5 to none AQ1,
Outputs Q16 AQ2
lo Logical '0' signals (off)
hi Logical '1' signals (on)
X An existing connection that is not used
Digital flags: M1 to M27
Analog flags:
Flags
AM1 to AM6 (0BA6)
AM1 to AM 16 (0BA7)
S1 to S8 (0BA6) S1.1
Shift register bits
to S4.8 (0BA7)
Network inputs 1) NI1 to NI64 (0BA7 only)
NAI1 to NAI32 (0BA7 only)
Network analog inputs 1)
Page | 10
Salalah Vocational College – Department of Electrical Engineering 11
PLC Based Motor Control Panel “Implementation of a PLC Program”
Input
This connector is not
Block
Page | 11
Salalah Vocational College – Department of Electrical Engineering 12
PLC Based Motor Control Panel “Implementation of a PLC Program”
Block numbers
Page | 12
Salalah Vocational College – Department of Electrical Engineering 13
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 13
Salalah Vocational College – Department of Electrical Engineering 14
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 14
Salalah Vocational College – Department of Electrical Engineering 15
PLC Based Motor Control Panel “Implementation of a PLC Program”
This chapter will describe the different steps done to implement the program in the
programmable logic controller.
1- Main task:
The objective of this graduation project is to concept a PLC based control panel used to
control a three-phase squirrel cage asynchronous motor with regards to the following specifications:
Start the motor in different ways: Forward start, reverse start, forward star/delta start and reverse
star/delta start
Stop the motor manually, or in case of an emergency or when overload occurs.
Display the state of the motor (forward running, reverse running, star connection, delta connection
and overloaded).
2- Technological choices:
The following table 2 shows the technological choices used for the control of the motor.
Technological choices
Element Designation Function
STOP STOP Button Stop the motor
FW Forward START Button Run the motor in the forward direction
RV Reverse START Button Run the motor in the reverse direction
Forward Star/Delta START
FWYD Direct star/delta Starter
Button
Reverse Star/Delta START
RVYD Reverse star/delta Starter
Button
ES Emergency STOP Button Stop the motor (case of an emergency)
K1 Magnetic Contactor Supply the motor (Positive sequence)
K2 Magnetic Contactor Supply the motor (Negative sequence)
Ky Magnetic Contactor Star connection
Kd Magnetic Contactor Delta connection
F Thermal Overload Relay Protection against overload
Page | 15
Salalah Vocational College – Department of Electrical Engineering 16
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 16
Salalah Vocational College – Department of Electrical Engineering 17
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 17
Salalah Vocational College – Department of Electrical Engineering 18
PLC Based Motor Control Panel “Implementation of a PLC Program”
5- Problem solution:
The main problem in this program is how to isolate the effect of each inputs (especially push
buttons for motor running), so we can activate only one push button and only one at a time. At that
moment, if one push button of those one (FW, RV, FWYD and RVYD) is activated, the effect of
others will be eliminated until the motor is switched off.
This problem can be solved by using to special blocks:
NOR block:
This logic functions gives 0 when at least one input is set to 1.
Latching Relay:
This function memorizes the state of the SET (S) input until it is erased by the RESET (R)
input.
In the following, we will give the held solution: PLC connection label, the required blocks and
the complete program.
Page | 18
Salalah Vocational College – Department of Electrical Engineering 19
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 19
Salalah Vocational College – Department of Electrical Engineering 20
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 20
Salalah Vocational College – Department of Electrical Engineering 21
PLC Based Motor Control Panel “Implementation of a PLC Program”
PLC or Programmable logic controllers are in the end controller better suited and specifically
made for automation industry. The following reason can be cited for PLCs success over
microcontroller or microprocessor-based costume solutions.
Large capacity - The PLC nowadays have a capacity of 3000+ I/Os that is analog and digital
combined. This is maintained through a central engineering station for ease of control.
Modular Design - The PLC capacity and design can easily modified to suite customer need
post implementation stage. This is not feasible with relays or microcontroller-based solutions.
Distributed architecture - For large application a distributed system can be implement with
communication between various PLC using protools like Modbus or profibus etc.
Industrial Grade - PLCs are designed with tolerance to withstand various hazardous condition
for Industries such as Electromagnetic interference, high temperature, power fluctuation etc.
Safety - PLCs manufacturers also provide safety features such are SIL certification as per
customer requirement for Protection/Emergency Shutdown System.
Utility - PLCs can interface with a large no of drives and actuators ranging from analog and
digital to special type such as speed measurement and RTD/thermocouples etc. These can be done
easily by changing the I/Os modules and configuring them.
Easy Maintenance and Spares - Due to modular design the trouble shooting is easier and the
no of spares requirement is reduced and easily manageable.
Inbuilt Function and Algorithms - There are inbuilt functions like PIDs, Feedforward, State
observer etc in the PLC logic software that can be used for logic design.
Diagnostic features - PLC have inbuilt diagnostics for LAN failure, power failure, logic issues,
Disconnection of I/Os and alarms.
In this report, we try to give a global description of a program that should be implemented for
controlling a three-phase squirrel cage asynchronous motor in different starting methods. This
program has taken into account all the required specifications, in addition to the mandatory safety
precautions.
Page | 21
Salalah Vocational College – Department of Electrical Engineering 22
PLC Based Motor Control Panel “Implementation of a PLC Program”
References
[2] R.W. Lewis, “Programming industrial control systems using IEC 1131-3”
W.A. Halang & K.M. Sacha, “Programmable Logic Controllers, in Real Time Systems,
[3] Implementation of Industrial Computerised Process Automation”, World Scientific,
pages 291-313, Chapter 15
http://w3.siemens.com/mcms/programmable-logic-controller/en/logic-module-
[6]
logo/overview/Pages/default.aspx
Page | 22
Salalah Vocational College – Department of Electrical Engineering 23
PLC Based Motor Control Panel “Implementation of a PLC Program”
Annexes
ANNEXE 1
Page | 23
Salalah Vocational College – Department of Electrical Engineering 24
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 24
Salalah Vocational College – Department of Electrical Engineering 25
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 25
Salalah Vocational College – Department of Electrical Engineering 26
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 26
Salalah Vocational College – Department of Electrical Engineering 27
PLC Based Motor Control Panel “Implementation of a PLC Program”
Page | 27