programmable logic controller - siemens s7-1200
TRANSCRIPT
![Page 1: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/1.jpg)
Programmable Logic Controller S7-1200
SIMATIC TIA PORTAL
Eng. Ahmed Elsayed
![Page 2: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/2.jpg)
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
![Page 3: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/3.jpg)
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
![Page 4: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/4.jpg)
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
![Page 5: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/5.jpg)
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
![Page 6: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/6.jpg)
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
![Page 7: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/7.jpg)
Module (8) Human Machine Interface
1. Display Data on HMI Screens.
2. Sending Data from HMI Screens.
Module (9) Graduation Project
Eng. Ahmed Elsayed
![Page 8: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/8.jpg)
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
![Page 9: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/9.jpg)
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
![Page 10: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/10.jpg)
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
![Page 11: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/11.jpg)
PLC like any PC, consists of:
1. Central Processing Unit.
2. Input/Output (I/O) interface system.
Eng. Ahmed Elsayed
![Page 12: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/12.jpg)
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
![Page 13: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/13.jpg)
Final Block Diagram of CPU interacting with I/Os
Eng. Ahmed Elsayed
![Page 14: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/14.jpg)
Functional interaction of a PLC system
Eng. Ahmed Elsayed
![Page 15: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/15.jpg)
The major components of a common PLC.
Eng. Ahmed Elsayed
![Page 16: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/16.jpg)
Physical Components
Eng. Ahmed Elsayed
![Page 17: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/17.jpg)
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
![Page 18: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/18.jpg)
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
![Page 19: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/19.jpg)
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
![Page 20: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/20.jpg)
Discrete input AC/DC INPUTS
Eng. Ahmed Elsayed
![Page 21: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/21.jpg)
Physical Wiring in Field
Eng. Ahmed Elsayed
AC input module DC input module
![Page 22: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/22.jpg)
DC INPUTS (SINK/SOURCE)
Eng. Ahmed Elsayed
Sinking input module/sourcing input device
Sourcing input module/sinking input device
![Page 23: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/23.jpg)
Field device connections for a sink/source DC input module
Eng. Ahmed Elsayed
![Page 24: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/24.jpg)
Analog Input
Eng. Ahmed Elsayed
![Page 25: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/25.jpg)
Physical Wiring in Field
Eng. Ahmed Elsayed
![Page 26: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/26.jpg)
Discrete Output
AC Output
Eng. Ahmed Elsayed
Logic 1– ON (“Switch” Closed)
Logic 0– OFF (“Switch” Open)
![Page 27: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/27.jpg)
Physical Wiring in Field
Eng. Ahmed Elsayed
![Page 28: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/28.jpg)
DC Output
Eng. Ahmed Elsayed
![Page 29: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/29.jpg)
Analog Output
Eng. Ahmed Elsayed
![Page 30: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/30.jpg)
Physical Wiring in Field
Eng. Ahmed Elsayed
![Page 31: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/31.jpg)
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
![Page 32: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/32.jpg)
Addressing on Rack
Eng. Ahmed Elsayed
![Page 33: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/33.jpg)
Case Study Process Control System (Tank Control System)
Eng. Ahmed Elsayed
![Page 34: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/34.jpg)
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).
![Page 35: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/35.jpg)
Actual Control System
Eng. Ahmed Elsayed
![Page 36: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/36.jpg)
Eng. Ahmed Elsayed
![Page 37: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/37.jpg)
Introduction to Siemens PLCs (S7-1200 family)
Eng. Ahmed Elsayed
![Page 38: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/38.jpg)
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
![Page 39: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/39.jpg)
1) Power Connector.
2) I/Os Wiring Connectors.
3) I/Os Status LEDs.
4) PROFINET Connector.
Eng. Ahmed Elsayed
![Page 40: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/40.jpg)
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
![Page 41: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/41.jpg)
Communication with Programming device
Eng. Ahmed Elsayed
![Page 42: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/42.jpg)
Eng. Ahmed Elsayed
![Page 43: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/43.jpg)
Architecture Layout
Eng. Ahmed Elsayed
![Page 44: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/44.jpg)
Addressing System
Input
Eng. Ahmed Elsayed
Output
![Page 45: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/45.jpg)
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
![Page 46: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/46.jpg)
Eng. Ahmed Elsayed
![Page 47: Programmable logic controller - Siemens S7-1200](https://reader033.vdocuments.site/reader033/viewer/2022061616/554a5d44b4c90531228b5312/html5/thumbnails/47.jpg)
Moving to TIA Software !
Eng. Ahmed Elsayed