SlideShare a Scribd company logo
Chapter VII
Chapter VI Microcontroller and microprocessors
Intr. to Mechatronics Prepare by: Bereket 1
5. Micro-processors and Micro-controllers
Introduction
Programmable Logic Devices (PLD) are programmable systems and are
generally used in manufacturing.
There are following three types of PLDs are being employed in mechatronics
systems
1. Microprocessor
It is a digital integrated circuit which carries out necessary digital functions to process the
information obtained from measurement system.
2. Microcomputer
It uses microprocessor as its central processing unit and contains all functions of a
computer.
3. Programmable Logic Controller (PLC)
It is used to control the operations of electro-mechanical devices especially in tough and
hazardous industrial environments.
Intr. to Mechatronics Prepare by: Bereket 2
6. Micro…
A typical programmable machine has basic three components
1. Processor, which processes the information collected from measurement system and
takes logical decisions based on the information.
2. Memory, it stores the input data collected from sensors and the programs to process the
information and to take necessary decisions . A group of programs is called software.
3. Input/output devices: these are used to communicate with the outside world/operator.
Intr. to Mechatronics Prepare by: Bereket 3
6. Micro…
A. Microprocessor
It is a multi-purpose programmable device
• It reads binary instructions from a storage device called memory
• It processes the data according to the instructions, and then provides results as
output.
• known as CPU (central processing unit).
• CPU can be referred as complete computational engine on a single chip.
Intr. to Mechatronics Prepare by: Bereket 4
6. Micro…
A. Microprocessor
• Applications of microprocessors are classified in two categories:
i. Reprogrammable Systems
supports CPUs for the personal computer and workstation industry, where the
main constraints are high speed and large word size (32 and 64 bits).
ii. Embedded Systems
Used for development of the microcontroller, which is a single IC
containing specialized circuits and functions that are applicable to
mechatronic system design.
Eg. photocopying machine, Digital camera
• First Microcontroller, Intel 4004 was launched in 1971.
• It was able to process just 4 bits. It started a new era in electronics engineering
Intr. to Mechatronics Prepare by: Bereket 5
6. Micro…
• Microprocessor works or operates in binary digits i.e. 0 and 1, bits.
• These bits are nothing but electrical voltages in the machine,
• Generally 0 - low voltage level, and 1 - high voltage level.
• A group of bits form a ‘word’. In general, the word length is about 8 bits. This is
called as a ‘byte’.
• A word with a length of 4 bits is called as a ‘Nibble’
Intr. to Mechatronics Prepare by: Bereket 6
6. Micro…
Basic blocks of a microprocessor functions
• ALU: ALU stands for Arithmetical Logical Unit. As name indicates it
has two parts:
a. Arithmetical unit which is responsible for mathematical
operations like
addition, subtraction, multiplication and division,
b. Logical unit which is dedicated to take logical decisions like
greater than, less than, equal to, not equal to etc. (Basically
AND/OR/NOT Operations)
• Register Array: Registers are small storage devices that are available to
CPU or processors. They act as temporary storage for processing of
intermediate data by mathematical or logical operations.
Intr. to Mechatronics Prepare by: Bereket 7
6. Micro…
• Control: This part of CPU is dedicated to coordinate data flow and signal
flow through various types of buses i.e. Data Bus, Control Bus, and Address
Bus etc. It directs data flow between CPU and storage and I/O devices.
• Memory: There are two different types of memory segments being used by
the CPU. First is the ROM which stands for Read Only Memory while other
is R/W which stands for Read and Write Memory or Random Access
Memory (RAM).
• Input Devices: Input devices are used to enter input data to microprocessor
from Keyboard or from ADC which receives data from sensors/signal
conditioning systems.
• Output Devices: These devices display the results/conclusions coming out
from ALUs either in soft copy (Monitor) or in Hard Copy (Printer).
Intr. to Mechatronics Prepare by: Bereket 8
End of Chapter VI
Intr. to Mechatronics Prepare by: Bereket 9
Chapter VII
Programable logic Controller (PLC)
Intr. to Mechatronics Prepare by: Bereket 10
7. PLC…
• Introduction:
• PLC was introduced in late 1960’s.
• First commercial & successful Programmable Logic
Controllers was designed and developed by Modicon as a
relay replacer for General Motors.
• Earlier, it was a machine with thousands of electronic parts.
Later ,in late 1970’s,the microprocessor became reality &
greatly enhanced the role of PLC permitting it to evolve form
simply relay to the sophisticated system as it is today.
Intr. to Mechatronics Prepare by: Bereket 11
7. PLC…
• PLC is actually an industrial microcontroller system where you
have hardware and software specifically adapted to industrial
environment.
• PLC is a digital computer designed for multiple inputs and output
arrangements, extended temperature ranges, immunity to electrical
noise, and resistance to vibration and impact.
• A PLC is an example of a real time system.
• Program unit is usually a computer used for writing a program
(often in ladder diagram).
Intr. to Mechatronics Prepare by: Bereket 12
7. PLC…
Key Terminologies:
1. Control task definition
• Control task is determining what needs to be done.
• This information provides the foundation for the control program.
• Proper definition of the task is directly related to the success of the control
program.
2. Control strategy
• After the control task has been defined, the planning of its solution can begin.
• It is determining the sequence of steps that must occur within the program to
produce the desired output control.
• This part of the program development is known as the development of an
algorithm.
Intr. to Mechatronics Prepare by: Bereket 13
7. PLC…
3. Creating flowcharts
• Flowcharting is a method of pictorially representing the operation of a
process in a sequential manner.
• It is a technique often used when planning a program after a written
description has been developed.
• A flowchart is a pictorial representation that records, analyzes, and
communicates information, as well as describes the operational process in a
sequential manner.
• Each step in the chart performs an operation, whether it is an input/output,
decision, or data process.
Intr. to Mechatronics Prepare by: Bereket 14
7. PLC…
Intr. to Mechatronics Prepare by: Bereket 15
7. PLC…
Figure Simple flowchart
Intr. to Mechatronics Prepare by: Bereket 16
7. PLC…
• Program coding—the process of translating a logic or relay diagram into PLC ladder
program form.
• Once the flowchart is completed, the user can employ either logic gates or contact
symbology to implement the logic sequences.
• Logic gates implement a logical output sequence given specific real and/or internal input
conditions, while PLC contact symbology directly implements the logic necessary to
program an output rung.
Intr. to Mechatronics Prepare by: Bereket 17
7. PLC…
Major Components of a Common PLC
Intr. to Mechatronics Prepare by: Bereket 18
7. PLC…
1. POWER SUPPLY; Provides the voltage needed to run the primary PLC components
2. I/O MODULES; Provides signal conversion and isolation between the internal logic
level signals inside the PLC and the field’s high level signal.
Input Signals can be AC or DC, Analog or Digital
1. PROCESSOR; Provides intelligence to command and govern the activities of the entire
PLC systems.
2. PROGRAMMING DEVICE; Used to enter the desired program that will determine the
sequence of operation and control of process equipment or driven machine.
3. Output Modules: Outputs are either AC or DC Analog Signals (Although it is possible to
‘Construct’ Digital Outputs)
• Modern PLC’s have Expansion Ports to Increase the Number of Available Inputs and
Outputs.
Intr. to Mechatronics Prepare by: Bereket 19
7. PLC…
PLC operation sequence
1. Self test: Testing of its own hardware and software for faults.
2. Input scan: If there are no problems, PLC will copy all the
inputs and copy their values into memory.
3. Logic solve/scan: Using inputs, the ladder logic program is
solved once and outputs are updated.
4. Output scan: While solving logic the output values are updated
only in memory when ladder scan is done, the outputs will be
updated using temporary values in memory.
Intr. to Mechatronics Prepare by: Bereket 20
7. PLC…
Programming Languages of PLC
 There are four most common PLC programming languages;
1. Ladder Logic
 The ladder logic is the oldest programming language for PLC.
 It is well suited to express Combinational logic.
 The main ladder logic symbols represent the elements:
 Ladder Logic Diagrams Provide a Method to Symbolically Show
How Relay Control Schemes are Implemented
 Relay Contacts and Coils, Inputs and Outputs lie on “Rungs”
Between the Positive and Ground Rails
Intr. to Mechatronics Prepare by: Bereket 21
7. PLC…
Basic Ladder Logic Symbol
Intr. to Mechatronics Prepare by: Bereket 22
7. PLC…
Simple Ladder Logic
Intr. to Mechatronics Prepare by: Bereket 23
7. PLC…
Simple Ladder Logic
Intr. to Mechatronics Prepare by: Bereket 24
7. PLC…
Intr. to Mechatronics Prepare by: Bereket 25
7. PLC…
Intr. to Mechatronics Prepare by: Bereket 26
7. PLC…
• Ladder Logic Program for Start/Stop of Motor :
Intr. to Mechatronics Prepare by: Bereket 27
7. PLC…
Intr. to Mechatronics Prepare by: Bereket 28
7. PLC…
Starting of Motor:
Intr. to Mechatronics Prepare by: Bereket 29
7. PLC…
Ladder Logic Diagram
Example 1
Draw a ladder diagram that will cause the output, pilot light PL2, to be on when selector
switch SS2 is closed, push button PB4 is closed and limit switch LS3 is open.
Example 2
Draw a ladder diagram that is
equivalent to the following
digital logic diagram
Intr. to Mechatronics Prepare by: Bereket 30
7. PLC…
Y is on when (A is on, B is on and C is off ) or D is on, or E is off
 What happens if the D
contact refers to Y?
Intr. to Mechatronics Prepare by: Bereket 31
7. PLC…
 Output Y is set (latched) indefinitely
Intr. to Mechatronics Prepare by: Bereket 32
7. PLC…
Repeated Output
• Do not repeat normal output coils that refer to the same address
• The coils for first and second rung refer to Out1
 Second rung overrides the logic in first rung
Intr. to Mechatronics Prepare by: Bereket 33
7. PLC…
Repeated Output Correction
First consider the output
Next, consider ALL the conditions that drive the output (Out1)
(Implement the conditions in parallel)
Intr. to Mechatronics Prepare by: Bereket 34
7. PLC…
Reverse Power Flow
• This is not allowed:
• If the reverse power flow path is truly needed, then put it as a
separate path, where the power flows from left to right:
Intr. to Mechatronics Prepare by: Bereket 35
7. PLC…
Reverse Power Flow
Intr. to Mechatronics Prepare by: Bereket 36
7. PLC…
Ladder Logic Evaluation
Intr. to Mechatronics Prepare by: Bereket 37
Ladder Logic Evaluation
Intr. to Mechatronics Prepare by: Bereket 38
Ladder Logic Evaluation
Intr. to Mechatronics Prepare by: Bereket 39
Ladder Logic Evaluation
Intr. to Mechatronics Prepare by: Bereket 40
Ladder Logic Evaluation
Intr. to Mechatronics Prepare by: Bereket 41
Ladder Logic Evaluation
Intr. to Mechatronics Prepare by: Bereket 42
Ladder Logic Evaluation
Push Button (PB) Scan Timing Diagram
Intr. to Mechatronics Prepare by: Bereket 43
7. PLC…
Advantage of PLCs;
• Reliability.
• Flexibility in programming and reprogramming.
• Cost effective for controlling complex systems.
• Small physical size, shorter project time.
• High speed of operation.
• Ability to communicate with computer systems in the
plant.
• Ease of maintenance /troubleshooting.
• Reduced space.
• Energy saving.
Intr. to Mechatronics Prepare by: Bereket 44
7. PLC…
Disadvantage of PLCs;
• PLC devices are proprietary it means that part or software of one manufacturer
can’t be used in combination with parts of another manufacturer.
• Limited design and cost option
• Fixed Circuit Operations.
Intr. to Mechatronics Prepare by: Bereket 45
7. PLC…
Applications
• Wherever automation is desired the PLCs are best suited to meet the task.
• Few examples of industries where PLCs are used :
1. Robots manufacturing and control
2. Car park control
3. Train control station system
4. Food processing
5. Materials handling
6. Machine tools
7. Conveyer system etc.
Intr. to Mechatronics Prepare by: Bereket 46

More Related Content

PDF
Introduction to PLC
PDF
Lecture 10.cont,11 (plc)
PDF
PLC-converted.pdf
PDF
plc-131022133632-phpapp02.pdfNBCvNVhbig knobh
PPT
DOCX
Plc on cnc
PPT
PDF
Plc 131022133632-phpapp02
Introduction to PLC
Lecture 10.cont,11 (plc)
PLC-converted.pdf
plc-131022133632-phpapp02.pdfNBCvNVhbig knobh
Plc on cnc
Plc 131022133632-phpapp02

Similar to Introduction_to_Mechatronics_Chapter67.pdf (20)

PPTX
Use of plc in industrial automation
PPTX
chapter 2 IE.pptx
PPTX
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
PPTX
PLC presentation
PPTX
module 1.pptx
PPTX
MergeResult_2023_04_02_05_26_56.pptx
PPTX
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
PPT
Introduction to microcontrollers
PPTX
Overview of Microcontroller and ATMega32 microcontroller
PDF
Basics and applications of programmable logic controller (plc)
PDF
EE6602 Embedded System
PPT
Programmable logic Controller
PPT
Programming logic controllers (plc)
PDF
Chapter 1
PDF
PLCProgramming for beginners in automation
PDF
Identify elements associated with the preparation of a programmable l.pdf
DOCX
Plc notes
PPTX
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
PDF
n5acb0f1c011fb.pdf
PPTX
Plc ppt filke
Use of plc in industrial automation
chapter 2 IE.pptx
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
PLC presentation
module 1.pptx
MergeResult_2023_04_02_05_26_56.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
Introduction to microcontrollers
Overview of Microcontroller and ATMega32 microcontroller
Basics and applications of programmable logic controller (plc)
EE6602 Embedded System
Programmable logic Controller
Programming logic controllers (plc)
Chapter 1
PLCProgramming for beginners in automation
Identify elements associated with the preparation of a programmable l.pdf
Plc notes
Alisksdjdhdhhdhdhdhdhhdhdheheksjsjs.pptx
n5acb0f1c011fb.pdf
Plc ppt filke
Ad

Recently uploaded (20)

PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Construction Project Organization Group 2.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
web development for engineering and engineering
PPT
Project quality management in manufacturing
PPTX
Geodesy 1.pptx...............................................
DOCX
573137875-Attendance-Management-System-original
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Artificial Intelligence
PPT
Mechanical Engineering MATERIALS Selection
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Construction Project Organization Group 2.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
web development for engineering and engineering
Project quality management in manufacturing
Geodesy 1.pptx...............................................
573137875-Attendance-Management-System-original
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
additive manufacturing of ss316l using mig welding
Artificial Intelligence
Mechanical Engineering MATERIALS Selection
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Ad

Introduction_to_Mechatronics_Chapter67.pdf

  • 1. Chapter VII Chapter VI Microcontroller and microprocessors Intr. to Mechatronics Prepare by: Bereket 1
  • 2. 5. Micro-processors and Micro-controllers Introduction Programmable Logic Devices (PLD) are programmable systems and are generally used in manufacturing. There are following three types of PLDs are being employed in mechatronics systems 1. Microprocessor It is a digital integrated circuit which carries out necessary digital functions to process the information obtained from measurement system. 2. Microcomputer It uses microprocessor as its central processing unit and contains all functions of a computer. 3. Programmable Logic Controller (PLC) It is used to control the operations of electro-mechanical devices especially in tough and hazardous industrial environments. Intr. to Mechatronics Prepare by: Bereket 2
  • 3. 6. Micro… A typical programmable machine has basic three components 1. Processor, which processes the information collected from measurement system and takes logical decisions based on the information. 2. Memory, it stores the input data collected from sensors and the programs to process the information and to take necessary decisions . A group of programs is called software. 3. Input/output devices: these are used to communicate with the outside world/operator. Intr. to Mechatronics Prepare by: Bereket 3
  • 4. 6. Micro… A. Microprocessor It is a multi-purpose programmable device • It reads binary instructions from a storage device called memory • It processes the data according to the instructions, and then provides results as output. • known as CPU (central processing unit). • CPU can be referred as complete computational engine on a single chip. Intr. to Mechatronics Prepare by: Bereket 4
  • 5. 6. Micro… A. Microprocessor • Applications of microprocessors are classified in two categories: i. Reprogrammable Systems supports CPUs for the personal computer and workstation industry, where the main constraints are high speed and large word size (32 and 64 bits). ii. Embedded Systems Used for development of the microcontroller, which is a single IC containing specialized circuits and functions that are applicable to mechatronic system design. Eg. photocopying machine, Digital camera • First Microcontroller, Intel 4004 was launched in 1971. • It was able to process just 4 bits. It started a new era in electronics engineering Intr. to Mechatronics Prepare by: Bereket 5
  • 6. 6. Micro… • Microprocessor works or operates in binary digits i.e. 0 and 1, bits. • These bits are nothing but electrical voltages in the machine, • Generally 0 - low voltage level, and 1 - high voltage level. • A group of bits form a ‘word’. In general, the word length is about 8 bits. This is called as a ‘byte’. • A word with a length of 4 bits is called as a ‘Nibble’ Intr. to Mechatronics Prepare by: Bereket 6
  • 7. 6. Micro… Basic blocks of a microprocessor functions • ALU: ALU stands for Arithmetical Logical Unit. As name indicates it has two parts: a. Arithmetical unit which is responsible for mathematical operations like addition, subtraction, multiplication and division, b. Logical unit which is dedicated to take logical decisions like greater than, less than, equal to, not equal to etc. (Basically AND/OR/NOT Operations) • Register Array: Registers are small storage devices that are available to CPU or processors. They act as temporary storage for processing of intermediate data by mathematical or logical operations. Intr. to Mechatronics Prepare by: Bereket 7
  • 8. 6. Micro… • Control: This part of CPU is dedicated to coordinate data flow and signal flow through various types of buses i.e. Data Bus, Control Bus, and Address Bus etc. It directs data flow between CPU and storage and I/O devices. • Memory: There are two different types of memory segments being used by the CPU. First is the ROM which stands for Read Only Memory while other is R/W which stands for Read and Write Memory or Random Access Memory (RAM). • Input Devices: Input devices are used to enter input data to microprocessor from Keyboard or from ADC which receives data from sensors/signal conditioning systems. • Output Devices: These devices display the results/conclusions coming out from ALUs either in soft copy (Monitor) or in Hard Copy (Printer). Intr. to Mechatronics Prepare by: Bereket 8
  • 9. End of Chapter VI Intr. to Mechatronics Prepare by: Bereket 9
  • 10. Chapter VII Programable logic Controller (PLC) Intr. to Mechatronics Prepare by: Bereket 10
  • 11. 7. PLC… • Introduction: • PLC was introduced in late 1960’s. • First commercial & successful Programmable Logic Controllers was designed and developed by Modicon as a relay replacer for General Motors. • Earlier, it was a machine with thousands of electronic parts. Later ,in late 1970’s,the microprocessor became reality & greatly enhanced the role of PLC permitting it to evolve form simply relay to the sophisticated system as it is today. Intr. to Mechatronics Prepare by: Bereket 11
  • 12. 7. PLC… • PLC is actually an industrial microcontroller system where you have hardware and software specifically adapted to industrial environment. • PLC is a digital computer designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. • A PLC is an example of a real time system. • Program unit is usually a computer used for writing a program (often in ladder diagram). Intr. to Mechatronics Prepare by: Bereket 12
  • 13. 7. PLC… Key Terminologies: 1. Control task definition • Control task is determining what needs to be done. • This information provides the foundation for the control program. • Proper definition of the task is directly related to the success of the control program. 2. Control strategy • After the control task has been defined, the planning of its solution can begin. • It is determining the sequence of steps that must occur within the program to produce the desired output control. • This part of the program development is known as the development of an algorithm. Intr. to Mechatronics Prepare by: Bereket 13
  • 14. 7. PLC… 3. Creating flowcharts • Flowcharting is a method of pictorially representing the operation of a process in a sequential manner. • It is a technique often used when planning a program after a written description has been developed. • A flowchart is a pictorial representation that records, analyzes, and communicates information, as well as describes the operational process in a sequential manner. • Each step in the chart performs an operation, whether it is an input/output, decision, or data process. Intr. to Mechatronics Prepare by: Bereket 14
  • 15. 7. PLC… Intr. to Mechatronics Prepare by: Bereket 15
  • 16. 7. PLC… Figure Simple flowchart Intr. to Mechatronics Prepare by: Bereket 16
  • 17. 7. PLC… • Program coding—the process of translating a logic or relay diagram into PLC ladder program form. • Once the flowchart is completed, the user can employ either logic gates or contact symbology to implement the logic sequences. • Logic gates implement a logical output sequence given specific real and/or internal input conditions, while PLC contact symbology directly implements the logic necessary to program an output rung. Intr. to Mechatronics Prepare by: Bereket 17
  • 18. 7. PLC… Major Components of a Common PLC Intr. to Mechatronics Prepare by: Bereket 18
  • 19. 7. PLC… 1. POWER SUPPLY; Provides the voltage needed to run the primary PLC components 2. I/O MODULES; Provides signal conversion and isolation between the internal logic level signals inside the PLC and the field’s high level signal. Input Signals can be AC or DC, Analog or Digital 1. PROCESSOR; Provides intelligence to command and govern the activities of the entire PLC systems. 2. PROGRAMMING DEVICE; Used to enter the desired program that will determine the sequence of operation and control of process equipment or driven machine. 3. Output Modules: Outputs are either AC or DC Analog Signals (Although it is possible to ‘Construct’ Digital Outputs) • Modern PLC’s have Expansion Ports to Increase the Number of Available Inputs and Outputs. Intr. to Mechatronics Prepare by: Bereket 19
  • 20. 7. PLC… PLC operation sequence 1. Self test: Testing of its own hardware and software for faults. 2. Input scan: If there are no problems, PLC will copy all the inputs and copy their values into memory. 3. Logic solve/scan: Using inputs, the ladder logic program is solved once and outputs are updated. 4. Output scan: While solving logic the output values are updated only in memory when ladder scan is done, the outputs will be updated using temporary values in memory. Intr. to Mechatronics Prepare by: Bereket 20
  • 21. 7. PLC… Programming Languages of PLC  There are four most common PLC programming languages; 1. Ladder Logic  The ladder logic is the oldest programming language for PLC.  It is well suited to express Combinational logic.  The main ladder logic symbols represent the elements:  Ladder Logic Diagrams Provide a Method to Symbolically Show How Relay Control Schemes are Implemented  Relay Contacts and Coils, Inputs and Outputs lie on “Rungs” Between the Positive and Ground Rails Intr. to Mechatronics Prepare by: Bereket 21
  • 22. 7. PLC… Basic Ladder Logic Symbol Intr. to Mechatronics Prepare by: Bereket 22
  • 23. 7. PLC… Simple Ladder Logic Intr. to Mechatronics Prepare by: Bereket 23
  • 24. 7. PLC… Simple Ladder Logic Intr. to Mechatronics Prepare by: Bereket 24
  • 25. 7. PLC… Intr. to Mechatronics Prepare by: Bereket 25
  • 26. 7. PLC… Intr. to Mechatronics Prepare by: Bereket 26
  • 27. 7. PLC… • Ladder Logic Program for Start/Stop of Motor : Intr. to Mechatronics Prepare by: Bereket 27
  • 28. 7. PLC… Intr. to Mechatronics Prepare by: Bereket 28
  • 29. 7. PLC… Starting of Motor: Intr. to Mechatronics Prepare by: Bereket 29
  • 30. 7. PLC… Ladder Logic Diagram Example 1 Draw a ladder diagram that will cause the output, pilot light PL2, to be on when selector switch SS2 is closed, push button PB4 is closed and limit switch LS3 is open. Example 2 Draw a ladder diagram that is equivalent to the following digital logic diagram Intr. to Mechatronics Prepare by: Bereket 30
  • 31. 7. PLC… Y is on when (A is on, B is on and C is off ) or D is on, or E is off  What happens if the D contact refers to Y? Intr. to Mechatronics Prepare by: Bereket 31
  • 32. 7. PLC…  Output Y is set (latched) indefinitely Intr. to Mechatronics Prepare by: Bereket 32
  • 33. 7. PLC… Repeated Output • Do not repeat normal output coils that refer to the same address • The coils for first and second rung refer to Out1  Second rung overrides the logic in first rung Intr. to Mechatronics Prepare by: Bereket 33
  • 34. 7. PLC… Repeated Output Correction First consider the output Next, consider ALL the conditions that drive the output (Out1) (Implement the conditions in parallel) Intr. to Mechatronics Prepare by: Bereket 34
  • 35. 7. PLC… Reverse Power Flow • This is not allowed: • If the reverse power flow path is truly needed, then put it as a separate path, where the power flows from left to right: Intr. to Mechatronics Prepare by: Bereket 35
  • 36. 7. PLC… Reverse Power Flow Intr. to Mechatronics Prepare by: Bereket 36
  • 37. 7. PLC… Ladder Logic Evaluation Intr. to Mechatronics Prepare by: Bereket 37
  • 38. Ladder Logic Evaluation Intr. to Mechatronics Prepare by: Bereket 38
  • 39. Ladder Logic Evaluation Intr. to Mechatronics Prepare by: Bereket 39
  • 40. Ladder Logic Evaluation Intr. to Mechatronics Prepare by: Bereket 40
  • 41. Ladder Logic Evaluation Intr. to Mechatronics Prepare by: Bereket 41
  • 42. Ladder Logic Evaluation Intr. to Mechatronics Prepare by: Bereket 42
  • 43. Ladder Logic Evaluation Push Button (PB) Scan Timing Diagram Intr. to Mechatronics Prepare by: Bereket 43
  • 44. 7. PLC… Advantage of PLCs; • Reliability. • Flexibility in programming and reprogramming. • Cost effective for controlling complex systems. • Small physical size, shorter project time. • High speed of operation. • Ability to communicate with computer systems in the plant. • Ease of maintenance /troubleshooting. • Reduced space. • Energy saving. Intr. to Mechatronics Prepare by: Bereket 44
  • 45. 7. PLC… Disadvantage of PLCs; • PLC devices are proprietary it means that part or software of one manufacturer can’t be used in combination with parts of another manufacturer. • Limited design and cost option • Fixed Circuit Operations. Intr. to Mechatronics Prepare by: Bereket 45
  • 46. 7. PLC… Applications • Wherever automation is desired the PLCs are best suited to meet the task. • Few examples of industries where PLCs are used : 1. Robots manufacturing and control 2. Car park control 3. Train control station system 4. Food processing 5. Materials handling 6. Machine tools 7. Conveyer system etc. Intr. to Mechatronics Prepare by: Bereket 46