custom training ppt for step7 plus- hwcn

94
© Siemens AG 2009. All Rights Reserved. Industry Sector Internal Custom Training – STEP7+ HWCN

Upload: sohel-mandal

Post on 12-Jan-2016

26 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Internal Custom Training – STEP7+ HWCN

Page 2: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

HWCN - Contents

CPUs, CPU variants on 1200, 300 1500 & 400 CPU Properties Distributed I/0 Power supply module Intro to GSD and GSD-ML Signal Modules and its properties Fail-safe and Redundant Automation Systems Functional modules SIMATIC PC Stations SDB Comparison Exercises

Page 3: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

CPUs, CPU variants on 1200, 300,1500 & 400

Role of CPU in PLC Types of CPU CPU Properties

ADV of PLC based control system over relay based:

Reduces the Hardware wiringThe System can be made compactContact Failure rate is very lessSpeed of operation is very highEasy for Trouble shootingReduces the Maintenance costEasier way of Making logics

Page 4: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Role of CPU in PLC

The processor, central processing unit, or CPU is the "brain" of the PLC. The size and type of CPU will determine things like:

The programming functions available

Size of the application logic available

Amount of memory available

Processing speed

Page 5: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Types of CPU: SIMATIC Modular Controllers

Page 6: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 300

The SIMATIC S7-300 universal controller is specially designed for innovative system solutions in manufacturing technology.

Safety technology and motion control can be integrated into this universal controller.

A graded CPU range with a wide performance range is available for configuring the controller. The product range comprises

1. Standard CPUs2. Compact CPUs3. Fail-safe CPUs 4. Technology CPUs5. Fail-safe technology CPU

Link

Page 7: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 – 300 Comparison

Page 8: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 – 300 Benefits

High Processing Speed. Provides the right solution for every application.

Modular configuration without the need for slot rules for I/O modules.

Available for the centralized and the distributed configuration with ET 200 modules.

Integral PROFINET interfaces enable simple networking of the controllers.

The ability to integrate powerful CPUs with Industrial Ethernet/PROFINET interface, integrated technological functions, or fail-safe designs makes additional investments unnecessary.

Page 9: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Expansion Options

Page 10: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Automobile industry

General mechanical engineering

Building of special machines

Series mechanical engineering, OEM

Plastics processing

Packaging industry

Food and Beverage industry

Process engineering

Fast counting/fairs with direct access on the hardware counters  

Simply positioning with direct control the MICROMASTER frequency static frequency changers

PID-Regulation with integrated functional module

Applications

Page 11: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 400

The S7-400 is the most powerful PLC in the SIMATIC Controller family.

SIMATIC S7-400 covers medium and upper performance range.

S7-400 has been designed for system solutions in the fields of manufacturing and process automation.

The product range comprises Standard CPU’s, Failsafe CPU’s and Fault Torrent CPU’s

Page 12: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 – 400 Comparison

Page 13: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 – 400 Benefits

Page 14: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Applications

Automotive industry  

Standard mechanical equipment manufacture incl. custom mechanical equipment manufacture

Warehousing systems

Building engineering

Steel industry

Power generation and distribution

Paper and printing industries

Woodworking

Textile manufacture

Pharmaceuticals

Food and beverages industries

Process engineering, e.g. water and wastewater utilities

Chemical industry and petrochemicals

Page 15: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 1200

Simple but highly precise : low-end discrete and standalone automation

Modular and compact

The compact design, low cost, and powerful features make the S7-1200 a perfect solution for controlling small applications

Consisting of: Controller with integrated PROFINET interface

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

Page 16: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Applications

• Conveyor systems

• Elevators and escalators

• Material transportation equipment

• Metalworking machinery

• Packaging machines

• Printing machines

• Textile machines

• Mixing systems

• Freshwater treatment plants

• Wastewater treatment plants

• External displays

Page 17: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Applications…Continued

• Electricity distribution stations

• Room temperature control

• Heating/cooling system control

• Energy management

• Fire protection systems

• Air conditioning

• Lighting control

• Pump control

• Security/access control systems

Page 18: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7 1500

Page 19: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Considerations for Choosing a PLC

1. Determine whether your system is new or existing.

2. Define Environment issues (temp, dust, vibration, etc).

3. Determine how many discrete/analog devices

4. Determine the requirement of special features: high speed counting/positioning.

5. Determine the type of CPU— How much memory will your system require? How many devices will your system have (determines data memory)? How large is your program, and what types of instructions will your program include (determines program memory)? How fast a scan time do you need?

6. Determine where your I/O will be located

7. Determine your communication requirements

8. Determine your programming requirements

Page 20: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

CPU Properties

Few common properties: Interface Cycle Clock memory Startup Interrupts Retentive memory Protection Web server System Diagnostics

Page 21: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interfaces : MPI

The Multi-Point Interface is a Siemens proprietary interface.

It enables establishment of subnets in which CPU’s , HMI’s and programming devices can exchange data with each other.

Data exchange is handled via Siemens proprietary protocol

The maximum number of nodes on the MPI network is 32

It follows “token passing” access procedure

Either a shielded twisted pair cable or a glass or plastic fiber optic cable

The Transmission rate is usually 187.5kbits/s

Page 22: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interfaces: PROFIBUS

PROFIBUS stands for “Process Field Bus” .

It is vendor independent standard complying with IEC 61158/EN for universal Automation PROFIBUS DP(Distributed Periphery) and PROFIBUS PA(Process Automation) according to 61158-2

The maximum number of nodes on the PROFIBUS network is 127

Suitable for both fast, time-critical applications and complex communication tasks.

It follows “token passing” access procedure

It uses a shielded twisted two wire cable (RS485 interface)

The transmission rate is from 9.6kbits/s to 12Mbits/s

Page 23: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interfaces: PROFINET

PROFINET is the open industrial Ethernet standard of PROFIBUS international(PNO) .

It uses standard industrial Ethernet subnet as physical medium for data transmission

Compatibility with TCP/IP and the IT standards of Industrial Ethernet are

retained

The transmission rate is 100 Mbps(field level) and 1 Gbps (higher level plant networks).

Page 24: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interfaces: PROFINET

PROFINET

Page 25: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Communication Network: Example

Page 26: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Cycle

Specification of a max. cycle time or a fixed min. cycle time:

If the cycle time exceeds the max. cycle time, the CPU goes to STOP mode. Causes of a violation:

Communication processes

Accumulation of interrupt events

CPU program error.

If the cycle time is shorter than the min. cycle time you have entered, the CPU waits until the min. cycle time has been reached. The CPU processes the OB 90 (background OB) in this additional program processing time, if it is loaded.

Page 27: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Cyclical Program Execution(OB1)

Page 28: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Cycle

Cyclic program processing can be interrupted by the following:

An interrupt

A STOP command (mode selector, menu option on the programming device, SFC46 STP, SFB20 STOP)

A power outage

The occurrence of a fault or program error

Page 29: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Clock memory

Bit memory that changes its binary status periodically in the pulse-no-pulse ratio of 1:1.

We decide which memory byte of the CPU will become the clock memory byte when assigning the clock memory parameters.

Example: Activate flashing indicator lamps or to initiate periodically recurring operations such as recording of actual values.

A period duration/frequency is assigned to each bit of the clock memory byte:

Bit 7 6 5 4 3 2 1 0

Period duration (s) 2 1.6 1 0.8 0.5 0.4 0.2 0.1

Frequency (Hz): 0.5 0.625 1

1

.25 2 2.5 5 10

Page 30: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Startup

Before the CPU can start processing the user program, a startup program must first be executed.

By programming startup OBs in your startup program, you can specify certain settings for your cyclic program.

There are three types of startup:

Warm restart

Cold restart

Hot restart

A hot restart is only possible on S7-400 CPUs. In future may be with S7-1500 CPUs.

Page 31: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Features Of STARTUP:

Page 32: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interrupts*

Time-of-day Interrupt S7 provides up to eight OBs (OB 10 to OB 17) which can be started once

or periodically. We can assign parameters for CPU in such a manner that these OBs are

processed in the following intervals:OnceEvery minuteHourlyDailyWeeklyMonthlyYearlyEnd of month

* Number of interrupts, priority assignment will vary for different PLCs/PLC Types

Page 33: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interrupts

Time –Delay interrupts

S7 provides up to four OBs (OB 20 to OB 23) which are executed after a specified delay.

Every time-delay interrupt OB is started by calling the "SRT_DINT" instruction. The delay time is an input parameter of the instruction

Page 34: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interrupts

Cyclic Interrupts The S7-CPUs provide cyclic interrupt OBs that interrupt cyclic program

execution at certain intervals S7 provides up to nine cyclic interrupt OBs (OB 30 to OB 38). we can use it

to start programs after equidistant time phases

Hardware Interrupts Hardware interrupts also referred to as process interrupts They are used to pick up critical events from the controlled system or plant

without delay pass them on to the user program and react immediately by initiating the appropriate interrupt program.

Step7 offers organization blocks OB40 to OB 47 for processing a hardware interrupt

Page 35: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Interrupts

Interrupts for DPV1: DPV1 interrupts are used in conjunction with PROFIBUS DPV1

slaves . An appropriately equipped slave can call one of the organization

blocks OB55 to OB 57 in the event of a DPV1 interrupt in the CPU.

Isochronous mode interrupts(OB61 – OB63): Configure a CPU capable of isochronous mode and set the properties for

isochronous mode: Isochronous mode interrupt Assigned DP master system Process image partition Delay time(DP master processes the cyclical data exchange

with the DP slaves)

Page 36: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Asynchronous error events

Time error (for example, cycle time exceeded) OB 80

Power supply error (for example, battery fault) OB 81

Diagnostics interrupt(example, defective fuse on a signal module) OB 82

Insert/remove module interrupt OB 83

CPU hardware fault (for example, interface error) OB 84

Program execution error OB 85

Rack failure OB 86

Communication error OB 87

Interrupts

Page 37: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Retentive memory

Data loss after power failure can be avoided by marking certain data as retentive. This data is stored in a retentive memory area.

A retentive memory area is an area that retains its content following a warm restart, in other words, after cycling the power when the CPU changes from STOP to RUN.

Page 38: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Protection

Configuring access levels offers a high degree of protection against unauthorized changes to the CPU by restricting download privileges to the CPU

With an S7-1500 CPU, we can configure the following access levels

Full Access(no protection) Read Access HMI Access No Access (complete protection)

Page 39: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Web server

The web server lets you monitor and administer the CPU through authorized users by means of a network. This permits evaluation and diagnostics over long distances. All you need is a web browser. Alarms and status information are visualized on HTML pages.

The following web browsers are suitable for communication with the CPU:Internet Explorer (Version 8)Mozilla Firefox (Version 21)MobileSafari (iOS5)

Page 40: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

System Diagnostics

System diagnostics with "Report System Errors" (RSE) provides a convenient way of evaluating diagnostics information from PLCs, ET200S, ET200Pro and software PLCs and to display it in the form of messages.

The required blocks and alarm texts are created in the properties of the particular PLC. You only need to download the generated blocks to the CPU and, if required, transfer the texts to connected HMI devices.

To display diagnostics events graphically, for example on an HMI device or via a Web server, you can generate one or more status DBs.

These status DBs are updated by the system diagnostics blocks and then contain information on the current state of the system

Page 41: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Distributed I/0

Distributed I/O refers to modules connected via PROFIBUS DP or PROFINET IO.

PROFIBUS DP uses the Profibus sub network for data transmission

PROFINET IO uses industrial Ethernet sub network

Page 42: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Distributed I/0

Page 43: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

PROFIBUS

PROFIBUS (Process Field Bus) is a standard for fieldbus communication in automation technology.

There are two variations:PROFIBUS DP

Decentralized Peripherals Factory AutomationPROFIBUS PA

Process Automation

PROFIBUS DP is usually operated as a “mono master system” that is one DP master controls several DP slaves

The interface module is called as DP Master and the Field devices are called as DP slave

Page 44: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

DP Master

DP master is the active node on the PROFIBUS network . It exchanges cyclic data with its slaves

DP Master can be:

1. A CPU with integral DP master interface (CPU 315-2DP ,CPU417, CPU1518, etc)

2. An interface module in conjunction with CPU (IM 467, etc)

3. A CP in conjunction with CPU (CP 342-5 ,CP 443-5, CP1542-5, etc)

Page 45: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

DP Slave

DP slaves are passive nodes on the PROFIBUS network

DP Slaves can be:

1. Compact DP slaves – they behave like a single module towards DP master

2. Modular DP slaves – They comprise of several modules (sub modules)

3. Intelligent DP slaves – They contain a control program that controls the lower level (own) modules

Page 46: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Configuration In TIA

Page 47: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

PROFINET I/O System

PROFINET IO is the Ethernet-based automation standard of PROFIBUS International defines a cross-vendor communication, automation and engineering model.

PROFINET devices can be networked in industrial systems in two different physical ways:

Wire-connected

– By means of electrical pulses via copper cables

– By means of optical pulses via fiber-optic cables

Wireless via wireless network using electromagnetic waves

The interface module is called as IO controller and the Field devices are called as IO Devices

Page 48: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

IO Controller

IO controller is the active station on the PROFINET . It exchanges cyclic data with its IO devices

IO controller can be:

1. A CPU with integral PROFINET interface (CPU 317-2PN/DP, etc )

2. A CP in conjunction with CPU (CP 343-1, etc)

Page 49: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

IO Device

IO devices are passive stations on the PROFINET .

IO devices can be:

1. Modular/compact I/O Devices – ET200M , ET200S and ET200Pro

Page 50: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Configuration In TIA

Page 51: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Power Supply Modules

The power source provides supply not only for the control system but also for external signaling devices

The power supply is necessary to convert 120/230 v Ac line voltage to the standard supply voltages of 24 v dc ( required for the internal power needs of the I/O modules) and to the 5 V DC operating voltage required for the logic circuits of the processor

It can be integral part of PLC or separate unit/Module

Page 52: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Types of Power Supply

Standard

Normal 24V dc power supply

Redundant

1. It takes two slots ( 1 and 2) and is applicable only for 400.

2. This is used in case of redundancy.

3. This is one advanced feature available on high-end machines (especially servers).

4. If for some reason there is a failure in one of the equipment units, the other one will seamlessly take over to prevent the loss of power.

Page 53: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Power Supply Module - Front Plate Control

DetailsPS 307 2A

PS 307 5A

PS 307 10A

PS 405 10A

PS 405 20A

PS 405 4APS 407 10A

PS 407 20A

PS 405 4A

Input Voltage

120/230V AC

120/230V AC

120/230V AC

120/230V AC

120/230V AC

120/230V AC

120/230V AC

120/230V AC

120/230V AC

Max. Output Current

2A 5A 10A 10A 20A 4A 10A 20A 4A

Short cct.Protection

Yes Yes Yes Yes Yes Yes Yes Yes Yes

Output Voltage 24 DC±5

%

24 DC±5%

24 DC±5%

24 DC±5%

24 DC±5%

24 DC±5% 24 DC±5%

24 DC±5%

24 DC±5%

Page 54: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Intro to GSD and GSD-ML

GSD – General Station Description

GSDML – General station Description markup Language

Standard Profibus slaves and Profinet IO devices can be included into STEP 7 through import of GSD / GSDML archives

GSD and GSDML are archives delivered by the equipment fabricant that descript the device.

The GSD file contains device descriptions for modules working at PROFIBUS

The GSDML file contains device descriptions for modules working at PROFINET

Page 55: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Install GSD or GSDML file

Open TIA In options tab select option install General description file .Use the browse button to navigate the GSD or GSDML file

Once the source path is selected all the details about the GSD or GSDML file will get displayed in the fields like

1. File - Name of the file

2. Version – Version of the file

3. Language – Language in which the file will be installed

4. Status – can be Already Installed or NotYetInstalled

5. Info – Name of the device

After installing the GSD/GSDML file , the device will get reflected in HW catalog.

Page 56: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Installation In TIA

Browse Button

Page 57: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

GSD installation

Installed GSD device can be find by following parameters defined in GSD file

Vendor Name - Manufacturer's Name Model Name - Manufacturer's designation Slave Family –

Here, the DP slave is assigned to a function class. The family name is structured hierarchically. In addition to the main family, subfamilies can be generated that are respectively added with "@". A maximum of three subfamilies can be defined.

Page 58: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

GSD Installation In TIA

Page 59: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

GSDML installation

The properties of PROFINET IO devices are not stored in a keyword based text file but in an XML file whose structure and rules are determined by a GSDML schema.

The structure of the names for a GSD file is explained based on the following example: "GSDML-V1.0-Siemens-ET200S-20030616.xml"

 

Page 60: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

GSDML Installation In TIA

Page 61: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Signal Modules and its properties

Signal Modules

Signal modules are the interface of the controller to the process.

Digital modules

Digital actuators and sensors can be connected to a S7-300/S7-400 via digital modules. The extensive range of modules allows the most suitable signal module to be selected in each case

Benefits:

Optimum adaptation

Flexible process connection

Characteristics:

Compact design

Easy assembly

User-friendly wiring

Page 62: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Signal Modules and its properties

Analog modules

More complex tasks require the processing of analog process signals. Analog actuators and sensors can be connected to a S7-300/S7-400 via analog modules without additional amplifiers Benefits

Optimum adaptation

High performance analog technology Characteristics

Compact design

Easy assembly

User-friendly wiring

Page 63: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

While there are PLCs that are "designed" to be fail safe, there is no such thing as a 100% fail safe PLC.

The generic name for such a PLC is a safety PLC and they distinguish themselves from regular PLC (commonly called general purpose PLC or standard PLC) by things like increased diagnostics, redundancy, high reliability designs, fail safe design, security features, utilization of safety lifecycle concepts in design and manufacture, and usually third party certification (typically by TUV) to IEC 61508 or other suitable standards for a particular industry.

Normally a fail-safe PLC is used for Emergency Shutdown applications, and carries a much higher price tag than a normal PLC.

The fail-safe SIMATIC controllers are used to guarantee the functional safety of machines or plants, human and environment.

Accidents and damage as the result of an error must be avoided at all costs. They satisfy maximum safety requirements and comply with the relevant standards:EN 954-1 up to Cat. 4, IEC 62061 up to SIL 3 and EN ISO 13849-1 up to PL e.

FAIL-SAFE : Theory

Page 64: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Safety System Examples

Mechanical

Aircraft landing If the arrested landing fails, the plane can safely take off again

Air brakes on railway trains and air brakes on trucks

Motorized gates In a power outage, the gate can only be opened by a hand crank that is usually kept in a safe area. Etc

Electrical

Many devices are protected from short circuit with fuses.

Traffic light controllers use a Conflict Monitor Unit to detect faults

Industrial automation

Alarm signals are usually "normally closed" (or active at 0). This insures that in case of a wire break the alarm will be triggered. If the signal were normally open, no wire failure would be detected.

Page 65: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SIMATIC Safety Integrated

SIMATIC Safety Integrated comprises the fail-safe SIMATIC controllers as well as I/O and engineering modules within the product range of Safety Integrated.

If a fault occurs, the application can be flexibly changed into a safe state and remains in that safe state.

Both PROFIBUS and PROFINET have been expanded by the PROFIsafe profile for safety-related communication.

Typical applications in factory automation Conveyor systems, presses, processing machines, machine tools, etc.

Transport of people, e.g. cable cars, lifting platforms, rides in amusement parks, etc.

Typical applications in process automation (FH Controllers) Chemical, petrochemical

Burner management systems etc.

Page 66: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

FAIL-SAFE SIMATIC CPUs

Page 67: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SIMATIC Safety CPUs

The fail-safe CPUs have the following functionality:

Comprehensive self-tests and self-diagnostics to check the fail-safe state of the CPU.

Execution of standard and fail-safe programs on one CPU.

Fail-safe internode communication.

Common diagnostics and signaling functions as for standard SIMATIC S7 CPU.

When using the "S7 Distributed Safety" software package, no additional know-how is required. Programming of safety related programs for the fail-safe CPUs is carried out over the well-known STEP 7 standard language LAD and FBD. A safety-related program is automatically generated through a special function during Compilation.

Page 68: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Integrated Safety System

Page 69: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Factory Automation Example

Page 70: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Process Automation Example

Page 71: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

PROFIsafe profile

Page 72: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Risk factors such as power outages, water damage, fire outbreaks, or lightning strikes, but also system failures or operator errors, can significantly affect the operation of a plant, as far as plant downtimes.

The fault-tolerant system environment ensures protection against system failure and helps you to increase your productivity to a maximum.

In order to make it possible for companies to implement a highly dynamic, integrated redundancy concept, Siemens came out with the fault-tolerant SIMATIC S7-400H system. This concept is also called as hardware based redundancy.

Fault Tolerant System: Theory

Page 73: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

REDUNDANT AUTOMATION SYSTEM

Redundant automation systems

Fault-tolerant

Objective:

Reduced risk of production loss by

means of parallel operation of two systems

Fail-safe

Objective:

Protect life, the environment and

investments by safely disconnec-

ting to a secure “off” position

Page 74: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Redundancy can be applied into below areas:

Power Supply

CPU

Communication

I/O

Fault Tolerant System

Page 75: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

S7–400H basic system

Page 76: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Working with Redundancy

Without malfunction

With malfunction

Failure of a redundant node (total failure)

Page 77: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Types Hardware Redundancy System

Power Supply

CPU

Communication

I/O

Fault Tolerant System

Page 78: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Benefits of using hardware based redundancy: Highest system availability with early fault detection and integrated diagnostic

capabilities Short switch-over times (< 100ms - hot standby) Efficient solutions with scalable performance and redundancy Simple programming and configuration Performance-oriented solution for time-critical processes Synchronized hardware solution without information loss Highly available communication via Industrial Ethernet Integrated diagnostic functions Exchange of all components during operation SIMATIC S7-400H CPUs can be extended with safety functionality in the

case of need

REDUNDANT AUTOMATION SYSTEM

Page 79: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Functional Module

The FM Technology is divided into three main components

1. FM 2. PID

3. PTP

FM-Function modules Function modules are intelligent modules for

the SIMATIC S7 controller family.

Execute technological tasks independently and, consequently, relieve the load on the CPU

Function modules are used for applications demanding ultimate precision and dynamic response.

Page 80: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Functional Module

Benefits

High degree of accuracy and dynamic response

Specialized and universal modules with a wide range of functions

CPU is not involved since the functionality is stored in the firmware of each module

Quick reaction times (deterministic dynamic response)

Areas of Application

Wood, glass, stone and metal processing

Packaging machines, Presses

General machine manufacturing

Machine tools, Textile machines

Rubber and plastic industry, Plants

Page 81: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Functional Module

FMs Counting -Intelligent counter module for counting tasks . 350-1 Counter 450-1 Counter 350-2 Counter Positioning - For controlling rapid traverse/creep speed drives

351-FIX Speed POS451-FIX Speed POS

Cam Control - Solves position or time-dependent tasks 352-CAM

452-CAM ET200S

1 COUNT, 1POS U, 2 PULSE, 1STEP, 1SSI

Page 82: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

PID

PID proportional–integral–derivative controller

A (PID controller) is a generic control loop feedback mechanism (controller) widely used in industrial control systems

PID is the most commonly used feedback controller. A PID controller calculates an "error" value as the difference between a measured process variable and a desired set point.

Benefits

Flexible solution using specific block calls in the user program

Low-cost solutions for low-end applications

User-friendly engineering integrated into STEP 7 short training times

High degree of flexibility with respect to connection of set point/actual value interfaces

Page 83: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

PID Types

Controller TypesContinuous-action PID controller FB41 - CONT_C FB42 - CONT_S FB58 - TCONT_CP FB59 - TCONT_S

Pulse controller 355 -C 455- C 355 -2C

Step controller 355 S 455 S 355 -2S

Page 84: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

PTP

PTP – Point to Point

Point-to-point link via communication processors (CPs) is an extremely powerful and low-cost alternative to bus systems.

Point-to-Point link modules, adaptation to the physical transmission media is achieved by plugging in the relevant interface submodules, without the need for external converters.

All point-to-point communications modules use up to 4 protocol drivers which are integrated in the operating system.

The CPs, like all other S7 modules, are parameterized from a programming device or PC via the central processing unit (CPU).

Page 85: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

PTP

Benefits

The advantage of point-to-point links over bus systems is especially significant when only a few (RS 485) devices are to be connected to the SIMATIC S7

The CPs can also easily link third-party systems to the SIMATIC S7. Different physical transmission media, transmission rates or even customized transmission protocols can be implemented.

Types

CP-340, CP-340, CP-440, CP-441-1, CP-441-2

Page 86: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SIMATIC PC Stations

SIMATIC PC-based Controllers use the real time-capable software controller WinAC RTX or its fail-safe variant WinAC RTX F on the basis of Windows operating systems.

Any PC applications, operator control and monitoring tasks, as well as technological functions can simply be combined here to form an overall automation solution.

Comparison: SIMATIC S7 with a SIMATIC PC station The PC Station can host hardware components such as CPs as well as software components, for

example, applications or OPC servers.

SIMATIC PC stations are in the form of a module rack and show the contained slots.

The PC station in the network view, we can see all the components you have added in the device view of the PC station. We can edit them in the Inspector window of Net view as well as Device view.

With the virtual slot allocation, an "index" is used instead of an "address" or slot number to differentiate the terminology.

Page 87: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SIMATIC PC Stations

Page 88: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Example

Page 89: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SIMATIC PC Stations

Page 90: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SDB Comparison

This verifies the consistency of TIA Portal w.r.t Classic (Simatic Manager).

Applicable only for S7300 and S7400 configurations.

To archive SDBs below settings are required. S7 Plus- Set up

i)Go to C:\Program Files\Siemens\Automation\Portal V11\Meta\Settings and open Hwcn-BusinessLogic-LocalSettingsSystemData.xml and change the following values

</Setting>

<Setting name="System_Data_Logging">

<String>C:\S7tmp</String>

</Setting>

ii) Set the Environment variable as shown below:

Variable name: SYSTEM_DATA_LOGGING

Variable value: C:\S7tmp

Then SDBs will be stored under C:\S7tmp.

Page 91: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SDB Comparison

S7 Classic - Set up

Go to “regedit”

[HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\STEP7\2.0\General\SdbServices\S7hwx\Test]

"deleteSdbTmpFiles"="no"

SDBs will be created under C:\Program Files\Siemens\Step7\S7tmp\ SDBDATA\s7hwcnfx\DOWN\r00s02

Page 92: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

SDB Comparison

Creating Classic-Reference-Project

Compile project and save the SDB’s as reference

Creating Plus-Script according to the Classic-Reference-Project

Compile project and save the SDB’s as reference

Comparison of the Classic- and Plus-SDB-sets

Analyzing all the differences between the SDB-Sets.

Page 93: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Industry Sector

Implement the startup behavior of CPU with the help of retentive memory concept. Check cold restart, warm restart and hot restart Use 2 inputs and 1 output Use CPU Operational panel

Check various protection levels of CPU. Use simple program.

Create the HW configuration using TIA based. Central configuration. Create Rack extension configuration with S7312 PLC and S7313 PLC and compile it.??? Rack extension with S7400 configuration Distributed IO (Master slave config. using PB). Distributed IO (Master slave config. using PN). Distributed IO (Master slave config. using PB and CP as master). Multi-Master configuration. Master slave using PC station.

Exercises

Page 94: Custom Training PPT for Step7 Plus- HWCN

© Siemens AG 2009. All Rights Reserved.

Thank You