SlideShare uma empresa Scribd logo
1 de 47
Baixar para ler offline
Programmable Logic Controller
S7-1200
SIMATIC TIA PORTAL
Eng. Ahmed Elsayed
Contents
 Module (0) Introduction
 Module (1) Programming Startup
 Module (2) Function Blocks
 Module (3) Timers and Counters
 Module (4) Math, Comparator and Conversion Operations
 Module (5) Diagnosis & Analog Value Processing
 Module (6) Closed Loop Control
 Module (7) Networking
 Module (8) Human machine Interface
 Module (9) Graduation Project
Eng. Ahmed Elsayed
Objectives
 Module (0) Introduction
1. Describe the major components of a common PLC.
2. Relay Ladder Logic.
3. Introduction to Siemens PLCs (S7-1200 family).
4. Hardware Configuration of S7-1200.
5. Introduction to SIMATIC TIA PORTAL.
 Module (1) Programming Startup
1. Getting familiar with Programming.
2. CPU Connection & Resetting Factory Mode.
3. Addressing System.
4. Data Types.
5. Bit Logic Operations.
6. Configuring and Operating the SIMATIC S7-1200.
7. Tasks: Relay Diagrams to Ladder and FBD, Motor Start/Stop, ……
Eng. Ahmed Elsayed
 Module (2) Function Blocks
1. Types of Blocks
2. Linear Programming
3. Structured Programming
4. User Blocks
Organization Blocks, Functions, Function Blocks, Data Blocks
5. Set/Reset Operation
6. Tasks: Stamping System, Belt Control.
 Module (3) Timers & Counters
1. Types of Timers.
2. Types of Counters.
3. Operation of each type.
4. Tasks: Practical Start/Stop Motor, Practical Stamping Machine, Production Line.
Eng. Ahmed Elsayed
 Module (4) Math, Comparator and Conversion Operations
1. Math Operations
2. Comparator Operations
3. Conversion Operations
 Module (5) Diagnosis & Analog Value Processing
 Diagnosis.
1. Open Project Online
2. Device Diagnosis
3. Offline/Online Comparison
4. Monitoring, Controlling and Forcing Variables
 Analog Value Processing.
1. Analog Signals.
2. Reading/Writing Analog Values.
3. Scaling / Un-scaling
4. Task: Tank Level Control.
Eng. Ahmed Elsayed
 Module (6) Closed Loop Control
1.Fundamental of Closed Loop Control.
2.PID in SIMTIC.
3.Tasks: Water Level and Temperature Control.
 Module (7) Networking
1.Networking Basics.
2.Adding another Controller to the Network
3.Communication Blocks.
4.Tasks:
a. Programming for 1st Controller: Conveyer Control.
b. Programming for 2nd Controller: Conveyer Data Logging.
c. Programming of Communication Blocks.
d. Final Project.
Eng. Ahmed Elsayed
 Module (8) Human Machine Interface
1.Display Data on HMI Screens.
2.Sending Data from HMI Screens.
 Module (9) Graduation Project
Eng. Ahmed Elsayed
Module (0) Introduction
1.What is the word “PLC”?
2.The major components of a common PLC.
3.Basic Definitions.
4.Relay Ladder Logic.
5.Introduction to Siemens PLCs (S7-1200 family).
6.Hardware Configuration of S7-1200.
7.Introduction to SIMATIC TIA PORTAL.
Eng. Ahmed Elsayed
What is meant by PLC?
 PLC is an abbreviation for “Programmable Logic Control”.
 It is simply a special computer device used for industrial control systems.
Eng. Ahmed Elsayed
Advantages of PLCs
 Less wiring.
 Wiring between devices and relay contacts are done in the PLC program.
 Easier and faster to make changes.
 Trouble shooting aids make programming easier and reduce downtime.
 Reliable components make these likely to operate for years before failure.
Eng. Ahmed Elsayed
PLC like any PC, consists of:
1. Central Processing Unit.
2. Input/Output (I/O) interface system.
Eng. Ahmed Elsayed
 The central processing unit (CPU) governs all PLC activities.
 The following three components form the CPU:
1. The Processor.
2. The Memory System.
3. The System Power Supply.
Eng. Ahmed Elsayed
Final Block Diagram of CPU interacting with I/Os
Eng. Ahmed Elsayed
Functional interaction of a PLC system
Eng. Ahmed Elsayed
The major components of a common PLC.
Eng. Ahmed Elsayed
Physical Components
Eng. Ahmed Elsayed
Power Supply (PS)
A separate power source for a PLC that converts the standard incoming
220VAC to the low voltage DC that the CPU requires, around 24V or 5V.
General Advantages of Primary PS
- stabilized output voltage.
- high efficiency.
- compact design.
Main Advantages
- Disconnect automatically if short circuit or over-current occurred.
- Return a fault signal if short circuit or over-current occurred.
Eng. Ahmed Elsayed
Central Processing Unit (CPU)
The brain of the whole PLC is the CPU module.
This module typically lives in the slot beside the power supply.
The CPU consists of
a microprocessor, memory chip and
other integrated circuits to control logic,
monitoring and communications.
The CPU has different operating modes,
In programming mode it accepts the
downloaded logic from a PC.
The CPU is then placed in run mode so
that it can execute the program and
operate the process.
Eng. Ahmed Elsayed
I/O System
The I/O system provides the physical connection between the equipment and the
PLC.
Provides signal conversion and isolation between the internal logic- level signals
inside the PLC and the field’s high level signal.
Input modules converts signals from discrete or analog input devices to logic levels
acceptable to PLC’s processor.
Discrete Input (digital input), is an input that is either ON or OFF are connected to
the PLC digital input.
Analog Input, is an input signal that has a continuous signal.
Output modules converts signal from the processor to levels capable of driving the
connected discrete or analog output devices.
Discrete Output(digital output), is an output that is either ON or OFF are connected
to the PLC digital input. (Contact or Transistor)
An analog output, is an output signal that has a continuous signal. Typical outputs
may vary from 0 to 20mA, 4 to 20mA or 0 to10V.
Eng. Ahmed Elsayed
Discrete input
 AC/DC INPUTS
Eng. Ahmed Elsayed
Physical Wiring in Field
Eng. Ahmed Elsayed
AC input module DC input module
 DC INPUTS (SINK/SOURCE)
Eng. Ahmed Elsayed
Sinking input module/sourcing
input device
Sourcing input module/sinking
input device
Field device connections for a sink/source DC input module
Eng. Ahmed Elsayed
Analog Input
Eng. Ahmed Elsayed
Physical Wiring in Field
Eng. Ahmed Elsayed
Discrete Output
 AC Output
Eng. Ahmed Elsayed
 Logic 1– ON (“Switch” Closed)
 Logic 0– OFF (“Switch” Open)
Physical Wiring in Field
Eng. Ahmed Elsayed
 DC Output
Eng. Ahmed Elsayed
Analog Output
Eng. Ahmed Elsayed
Physical Wiring in Field
Eng. Ahmed Elsayed
Rack
The rack is the component that holds everything together.
Depending on the needs of the control system it can be ordered in different
sizes to hold more modules.
Eng. Ahmed Elsayed
Addressing on Rack
Eng. Ahmed Elsayed
Case Study
Process Control System (Tank Control System)
Eng. Ahmed Elsayed
 Control System
Eng. Ahmed Elsayed
SP: Set Point
PV: Process Variable
E: Error
CV: Control Variable
Controller: Control Technique implemented in PLC.
Process: Our Tank Control System (Temperature).
 Actual Control System
Eng. Ahmed Elsayed
Eng. Ahmed Elsayed
Introduction to Siemens PLCs (S7-1200 family)
Eng. Ahmed Elsayed
Family of S7-1200
1. CPU 1211
2. CPU 1212
3. CPU 1214
Eng. Ahmed Elsayed
AC/DC/RLY DC/DC/RLY DC/DC/DC
1. Type of Supply (DC/AC).
2. Type of input signal.
3. Type of Output; DC means the out put will be only DC via transistor
RLY means the output may be DC or AC via relay
Supply/Input/Output
1) Power Connector.
2) I/Os Wiring Connectors.
3) I/Os Status LEDs.
4) PROFINET Connector.
Eng. Ahmed Elsayed
Features of S7-1200
 controller with integrated PROFINET interface for communication
with programming device, HMI or other SIMATIC controllers.
 powerful, integrated technology functions such as counting,
measuring, closed-loop control, and motion control integrated digital
and analog inputs/outputs
 signal boards for direct use in a controller
 signal modules for expansion of controllers by input/output channels
 communication modules for expansion of controllers by
communications interfaces
 accessories, e.g. power supply, switch module or SIMATIC Memory
Card
Eng. Ahmed Elsayed
Communication with Programming device
Eng. Ahmed Elsayed
Eng. Ahmed Elsayed
Architecture Layout
Eng. Ahmed Elsayed
Addressing System
 Input
Eng. Ahmed Elsayed
 Output
Introduction to SIMATIC TIA PORTAL
 STEP7 is the Programming Software of Programmable Logic Controller (PLC)
of the SIMATIC S7 family of Siemens.
 TIA is an abbreviation for “Totally Integrated Automation”
 TIA is a strategy (architecture) in the automation technology, which defines
the interaction of extensive single components, tool (SW) and the services
(spare part service, etc.) to achieve an Automation solution.
 The interaction performs integration across the four automation levels of
the automation pyramid:
1. Management level
2. Operator’s level
3. Controller’s level
4. Field level
Eng. Ahmed Elsayed
Eng. Ahmed Elsayed
Moving to TIA Software !
Eng. Ahmed Elsayed

Mais conteúdo relacionado

Mais procurados

Automation with plc & scada
Automation with plc & scadaAutomation with plc & scada
Automation with plc & scada
MNIT Jaipur
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
Akshay Modi
 

Mais procurados (20)

Industrial Automation
Industrial AutomationIndustrial Automation
Industrial Automation
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
Automation with plc & scada
Automation with plc & scadaAutomation with plc & scada
Automation with plc & scada
 
Plc
PlcPlc
Plc
 
PLC Basic
PLC BasicPLC Basic
PLC Basic
 
Introduction to plc (s7)­
Introduction to  plc (s7)­ Introduction to  plc (s7)­
Introduction to plc (s7)­
 
automation slides,plc,scada,HMI
automation slides,plc,scada,HMIautomation slides,plc,scada,HMI
automation slides,plc,scada,HMI
 
SIMATIC S7-1200 Overview
SIMATIC S7-1200 OverviewSIMATIC S7-1200 Overview
SIMATIC S7-1200 Overview
 
Plc presentation
Plc presentation Plc presentation
Plc presentation
 
SIEMENS S7-300c.ppt
SIEMENS S7-300c.pptSIEMENS S7-300c.ppt
SIEMENS S7-300c.ppt
 
PLC and SCADA
PLC and SCADAPLC and SCADA
PLC and SCADA
 
programmable logic controller presentation
programmable logic controller presentationprogrammable logic controller presentation
programmable logic controller presentation
 
Plc
PlcPlc
Plc
 
PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)PLC (PROGRAMMABLE LOGIC CONTROLLER)
PLC (PROGRAMMABLE LOGIC CONTROLLER)
 
Presentaton on Plc & Scada
Presentaton on Plc & ScadaPresentaton on Plc & Scada
Presentaton on Plc & Scada
 
ppt on PLC automation
ppt on PLC automationppt on PLC automation
ppt on PLC automation
 
Programmable Logic Controller(PLC)
Programmable Logic Controller(PLC)Programmable Logic Controller(PLC)
Programmable Logic Controller(PLC)
 
Industrial Automation (PLC, SCADA & HMI) by Nilesh Jha
Industrial Automation (PLC, SCADA & HMI) by Nilesh JhaIndustrial Automation (PLC, SCADA & HMI) by Nilesh Jha
Industrial Automation (PLC, SCADA & HMI) by Nilesh Jha
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
 
PPT on INDUSTRIAL AUTOMATION, PLC, SCADA
 PPT on INDUSTRIAL AUTOMATION, PLC, SCADA PPT on INDUSTRIAL AUTOMATION, PLC, SCADA
PPT on INDUSTRIAL AUTOMATION, PLC, SCADA
 

Destaque

PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
Ishank Ranjan
 

Destaque (20)

Plc Siemens Training Notes
Plc Siemens Training NotesPlc Siemens Training Notes
Plc Siemens Training Notes
 
Top Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and TricksTop Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and Tricks
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
 
Sitrain s7 1200 (exercicios)
Sitrain s7 1200 (exercicios)Sitrain s7 1200 (exercicios)
Sitrain s7 1200 (exercicios)
 
ppt on PLC
ppt on PLCppt on PLC
ppt on PLC
 
Basic plc
Basic plcBasic plc
Basic plc
 
INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLC
 
S7 1200 basic
S7 1200 basicS7 1200 basic
S7 1200 basic
 
PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.PLC(Programmable Logic Controller)-Control system Engineering.
PLC(Programmable Logic Controller)-Control system Engineering.
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programming
 
Simens plc training. simatic working-with-step-7
Simens  plc  training. simatic working-with-step-7Simens  plc  training. simatic working-with-step-7
Simens plc training. simatic working-with-step-7
 
Plc (programming)
Plc (programming)Plc (programming)
Plc (programming)
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
 
Manual getstarted
Manual getstartedManual getstarted
Manual getstarted
 
08 comunicação logo! com s7 1200
08 comunicação logo! com s7 120008 comunicação logo! com s7 1200
08 comunicação logo! com s7 1200
 
Programming I lecture 1
Programming I  lecture 1Programming I  lecture 1
Programming I lecture 1
 
Programming fundamentals ch 1
Programming fundamentals ch 1Programming fundamentals ch 1
Programming fundamentals ch 1
 
Apostila do treinamento profibus 2 configuração
Apostila do treinamento profibus 2  configuraçãoApostila do treinamento profibus 2  configuração
Apostila do treinamento profibus 2 configuração
 
Apostila do treinamento profibus instalação
Apostila do treinamento profibus   instalaçãoApostila do treinamento profibus   instalação
Apostila do treinamento profibus instalação
 
Apostila do treinamento profibus configuração
Apostila do treinamento profibus   configuraçãoApostila do treinamento profibus   configuração
Apostila do treinamento profibus configuração
 

Semelhante a Programmable logic controller - Siemens S7-1200

R22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptxR22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptx
BCGowtham1
 
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Nissan Imam
 

Semelhante a Programmable logic controller - Siemens S7-1200 (20)

Plc presentation
Plc presentationPlc presentation
Plc presentation
 
PLCandSCADA.pdf
PLCandSCADA.pdfPLCandSCADA.pdf
PLCandSCADA.pdf
 
plc hardware presentation.pptx
plc hardware presentation.pptxplc hardware presentation.pptx
plc hardware presentation.pptx
 
R22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptxR22EM807_PAVAN.D_PLC.pptx
R22EM807_PAVAN.D_PLC.pptx
 
Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)
 
PLC_1.ppt
PLC_1.pptPLC_1.ppt
PLC_1.ppt
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)
 
plc introduction
plc introductionplc introduction
plc introduction
 
Summer training plc & scada
Summer training  plc & scada Summer training  plc & scada
Summer training plc & scada
 
01 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa1601 introduction to_plc-pac_rev01_fa16
01 introduction to_plc-pac_rev01_fa16
 
Summer training plc & scada
Summer training  plc & scada Summer training  plc & scada
Summer training plc & scada
 
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
 
D132027
D132027D132027
D132027
 
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatPLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
 
Plc & scada seminar
Plc & scada seminarPlc & scada seminar
Plc & scada seminar
 
Basic PLC
Basic PLCBasic PLC
Basic PLC
 
PLC (programmable logic controllers) RTD and CNC PPT- powerpoint presentation...
PLC (programmable logic controllers) RTD and CNC PPT- powerpoint presentation...PLC (programmable logic controllers) RTD and CNC PPT- powerpoint presentation...
PLC (programmable logic controllers) RTD and CNC PPT- powerpoint presentation...
 
Ace datasheet
Ace datasheetAce datasheet
Ace datasheet
 
Programmable logic Controller
Programmable logic ControllerProgrammable logic Controller
Programmable logic Controller
 
Chapter 4 plc programing(1) by m
Chapter 4 plc programing(1) by mChapter 4 plc programing(1) by m
Chapter 4 plc programing(1) by m
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Último (20)

Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 

Programmable logic controller - Siemens S7-1200

  • 1. Programmable Logic Controller S7-1200 SIMATIC TIA PORTAL Eng. Ahmed Elsayed
  • 2. Contents  Module (0) Introduction  Module (1) Programming Startup  Module (2) Function Blocks  Module (3) Timers and Counters  Module (4) Math, Comparator and Conversion Operations  Module (5) Diagnosis & Analog Value Processing  Module (6) Closed Loop Control  Module (7) Networking  Module (8) Human machine Interface  Module (9) Graduation Project Eng. Ahmed Elsayed
  • 3. Objectives  Module (0) Introduction 1. Describe the major components of a common PLC. 2. Relay Ladder Logic. 3. Introduction to Siemens PLCs (S7-1200 family). 4. Hardware Configuration of S7-1200. 5. Introduction to SIMATIC TIA PORTAL.  Module (1) Programming Startup 1. Getting familiar with Programming. 2. CPU Connection & Resetting Factory Mode. 3. Addressing System. 4. Data Types. 5. Bit Logic Operations. 6. Configuring and Operating the SIMATIC S7-1200. 7. Tasks: Relay Diagrams to Ladder and FBD, Motor Start/Stop, …… Eng. Ahmed Elsayed
  • 4.  Module (2) Function Blocks 1. Types of Blocks 2. Linear Programming 3. Structured Programming 4. User Blocks Organization Blocks, Functions, Function Blocks, Data Blocks 5. Set/Reset Operation 6. Tasks: Stamping System, Belt Control.  Module (3) Timers & Counters 1. Types of Timers. 2. Types of Counters. 3. Operation of each type. 4. Tasks: Practical Start/Stop Motor, Practical Stamping Machine, Production Line. Eng. Ahmed Elsayed
  • 5.  Module (4) Math, Comparator and Conversion Operations 1. Math Operations 2. Comparator Operations 3. Conversion Operations  Module (5) Diagnosis & Analog Value Processing  Diagnosis. 1. Open Project Online 2. Device Diagnosis 3. Offline/Online Comparison 4. Monitoring, Controlling and Forcing Variables  Analog Value Processing. 1. Analog Signals. 2. Reading/Writing Analog Values. 3. Scaling / Un-scaling 4. Task: Tank Level Control. Eng. Ahmed Elsayed
  • 6.  Module (6) Closed Loop Control 1.Fundamental of Closed Loop Control. 2.PID in SIMTIC. 3.Tasks: Water Level and Temperature Control.  Module (7) Networking 1.Networking Basics. 2.Adding another Controller to the Network 3.Communication Blocks. 4.Tasks: a. Programming for 1st Controller: Conveyer Control. b. Programming for 2nd Controller: Conveyer Data Logging. c. Programming of Communication Blocks. d. Final Project. Eng. Ahmed Elsayed
  • 7.  Module (8) Human Machine Interface 1.Display Data on HMI Screens. 2.Sending Data from HMI Screens.  Module (9) Graduation Project Eng. Ahmed Elsayed
  • 8. Module (0) Introduction 1.What is the word “PLC”? 2.The major components of a common PLC. 3.Basic Definitions. 4.Relay Ladder Logic. 5.Introduction to Siemens PLCs (S7-1200 family). 6.Hardware Configuration of S7-1200. 7.Introduction to SIMATIC TIA PORTAL. Eng. Ahmed Elsayed
  • 9. What is meant by PLC?  PLC is an abbreviation for “Programmable Logic Control”.  It is simply a special computer device used for industrial control systems. Eng. Ahmed Elsayed
  • 10. Advantages of PLCs  Less wiring.  Wiring between devices and relay contacts are done in the PLC program.  Easier and faster to make changes.  Trouble shooting aids make programming easier and reduce downtime.  Reliable components make these likely to operate for years before failure. Eng. Ahmed Elsayed
  • 11. PLC like any PC, consists of: 1. Central Processing Unit. 2. Input/Output (I/O) interface system. Eng. Ahmed Elsayed
  • 12.  The central processing unit (CPU) governs all PLC activities.  The following three components form the CPU: 1. The Processor. 2. The Memory System. 3. The System Power Supply. Eng. Ahmed Elsayed
  • 13. Final Block Diagram of CPU interacting with I/Os Eng. Ahmed Elsayed
  • 14. Functional interaction of a PLC system Eng. Ahmed Elsayed
  • 15. The major components of a common PLC. Eng. Ahmed Elsayed
  • 17. Power Supply (PS) A separate power source for a PLC that converts the standard incoming 220VAC to the low voltage DC that the CPU requires, around 24V or 5V. General Advantages of Primary PS - stabilized output voltage. - high efficiency. - compact design. Main Advantages - Disconnect automatically if short circuit or over-current occurred. - Return a fault signal if short circuit or over-current occurred. Eng. Ahmed Elsayed
  • 18. Central Processing Unit (CPU) The brain of the whole PLC is the CPU module. This module typically lives in the slot beside the power supply. The CPU consists of a microprocessor, memory chip and other integrated circuits to control logic, monitoring and communications. The CPU has different operating modes, In programming mode it accepts the downloaded logic from a PC. The CPU is then placed in run mode so that it can execute the program and operate the process. Eng. Ahmed Elsayed
  • 19. I/O System The I/O system provides the physical connection between the equipment and the PLC. Provides signal conversion and isolation between the internal logic- level signals inside the PLC and the field’s high level signal. Input modules converts signals from discrete or analog input devices to logic levels acceptable to PLC’s processor. Discrete Input (digital input), is an input that is either ON or OFF are connected to the PLC digital input. Analog Input, is an input signal that has a continuous signal. Output modules converts signal from the processor to levels capable of driving the connected discrete or analog output devices. Discrete Output(digital output), is an output that is either ON or OFF are connected to the PLC digital input. (Contact or Transistor) An analog output, is an output signal that has a continuous signal. Typical outputs may vary from 0 to 20mA, 4 to 20mA or 0 to10V. Eng. Ahmed Elsayed
  • 20. Discrete input  AC/DC INPUTS Eng. Ahmed Elsayed
  • 21. Physical Wiring in Field Eng. Ahmed Elsayed AC input module DC input module
  • 22.  DC INPUTS (SINK/SOURCE) Eng. Ahmed Elsayed Sinking input module/sourcing input device Sourcing input module/sinking input device
  • 23. Field device connections for a sink/source DC input module Eng. Ahmed Elsayed
  • 25. Physical Wiring in Field Eng. Ahmed Elsayed
  • 26. Discrete Output  AC Output Eng. Ahmed Elsayed  Logic 1– ON (“Switch” Closed)  Logic 0– OFF (“Switch” Open)
  • 27. Physical Wiring in Field Eng. Ahmed Elsayed
  • 28.  DC Output Eng. Ahmed Elsayed
  • 30. Physical Wiring in Field Eng. Ahmed Elsayed
  • 31. Rack The rack is the component that holds everything together. Depending on the needs of the control system it can be ordered in different sizes to hold more modules. Eng. Ahmed Elsayed
  • 32. Addressing on Rack Eng. Ahmed Elsayed
  • 33. Case Study Process Control System (Tank Control System) Eng. Ahmed Elsayed
  • 34.  Control System Eng. Ahmed Elsayed SP: Set Point PV: Process Variable E: Error CV: Control Variable Controller: Control Technique implemented in PLC. Process: Our Tank Control System (Temperature).
  • 35.  Actual Control System Eng. Ahmed Elsayed
  • 37. Introduction to Siemens PLCs (S7-1200 family) Eng. Ahmed Elsayed
  • 38. Family of S7-1200 1. CPU 1211 2. CPU 1212 3. CPU 1214 Eng. Ahmed Elsayed AC/DC/RLY DC/DC/RLY DC/DC/DC 1. Type of Supply (DC/AC). 2. Type of input signal. 3. Type of Output; DC means the out put will be only DC via transistor RLY means the output may be DC or AC via relay Supply/Input/Output
  • 39. 1) Power Connector. 2) I/Os Wiring Connectors. 3) I/Os Status LEDs. 4) PROFINET Connector. Eng. Ahmed Elsayed
  • 40. Features of S7-1200  controller with integrated PROFINET interface for communication with programming device, HMI or other SIMATIC controllers.  powerful, integrated technology functions such as counting, measuring, closed-loop control, and motion control integrated digital and analog inputs/outputs  signal boards for direct use in a controller  signal modules for expansion of controllers by input/output channels  communication modules for expansion of controllers by communications interfaces  accessories, e.g. power supply, switch module or SIMATIC Memory Card Eng. Ahmed Elsayed
  • 41. Communication with Programming device Eng. Ahmed Elsayed
  • 44. Addressing System  Input Eng. Ahmed Elsayed  Output
  • 45. Introduction to SIMATIC TIA PORTAL  STEP7 is the Programming Software of Programmable Logic Controller (PLC) of the SIMATIC S7 family of Siemens.  TIA is an abbreviation for “Totally Integrated Automation”  TIA is a strategy (architecture) in the automation technology, which defines the interaction of extensive single components, tool (SW) and the services (spare part service, etc.) to achieve an Automation solution.  The interaction performs integration across the four automation levels of the automation pyramid: 1. Management level 2. Operator’s level 3. Controller’s level 4. Field level Eng. Ahmed Elsayed
  • 47. Moving to TIA Software ! Eng. Ahmed Elsayed