01 Profibus Technology

  • Uploaded by: Isai Anguiano
  • 0
  • 0
  • January 2021
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 01 Profibus Technology as PDF for free.

More details

  • Words: 5,798
  • Pages: 27
Loading documents preview...
Automation and Drives

Technology of the PROFIBUS system

Engineering & diagnostics Control tasks & diagnostics i.e. PC

i.e. PLC/PC

Slave i.e. ET200

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 1

Contents

07/2007 © Siemens AG 2007 - All rights reserved

Page

PROFIBUS, Introduction .................................................................................................................. Characteristics of PROFIBUS .......................................................................................................... PROFIBUS variants ......................................................................................................................... Line and Tree structure .................................................................................................................... Data communication ........................................................................................................................ Bus access method for PROFIBUS .................................................................................................. Token bus method ............................................................................................................................ PROFIBUS - DP (Distributed I/O) ..................................................................................................... PROFIBUS - PA ............................................................................................................................... Open Process Control (OPC - Interface) ........................................................................................... Master/slave mode for process and field communication .................................................................. Example - PROFIBUS DP master modules for S7-300 and S7-400 .................................................. DP – Master class 1 and 2 ............................................................................................................... DP functionality DP V0, DP V1 and DP V2 ....................................................................................... Master and slave for modular and compact DP slaves ...................................................................... Master and slave for DP slaves with preprocessing (I-DP slaves) ..................................................... Direct data communication between slave and I-slave, monomaster ................................................. Direct data communication between slave and I-slave, multimaster .................................................. Direct data communication between two master systems ................................................................. Selection of SIEMENS DP slave devices .......................................................................................... Examples of CPs for PC ................................................................................................................... Software for parameterizing the PROFIBUS system for S7 ............................................................... Practical simulation of DP configurations .......................................................................................... Gateways from PROFIBUS to..... ..................................................................................................... Message characters ......................................................................................................................... Example of a PROFIBUS message .................................................................................................. SITRAIN Training for Automation and Industrial Solutions

Page 1

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

IK-PBSYS PROFIBUS Technology

Automation and Drives

PROFIBUS, Introduction

SITRAIN IK-PBSYS / PROFIBUS Technology

Introduction

Page 2

07/2007 © Siemens AG 2007 - All rights reserved

Bus system for process and field communication in cell networks with few stations and with field devices as well as for data communication to IEC 61158/EN 50 170 Offers openness for coupling standardized components from other manufacturers The fieldbus standard in production and process engineering comprises: • Specification of the standards for the physical characteristics of the bus and the access method • Specification of the application protocol and the user interface Process or field communication: • PROFIBUS DP for fast, cyclic data exchange with field devices • PROFIBUS PA for applications in process automation for intrinsically safe systems Data communication • PROFIBUS FMS for data communication between programmable controllers and field devices

SITRAIN Training for Automation and Industrial Solutions

Page 2

IK-PBSYS PROFIBUS Technology

Automation and Drives

Characteristics of PROFIBUS Standard Topology • Electrical network • Optical network • Wireless coupling Transmission medium • Electrical network • Optical network • Wireless coupling Network size • Electrical network • Optical network • Wireless coupling Transmission rate Number of nodes Access method Protocols

PROFIBUS to IEC 61 158/ EN 50 170 Volume 2 Bus, tree Bus, tree, ring Point-to-point; point-to-multipoint Shielded 2-wire cable Fiber-optic cable (glass, PCF and plastic) Infrared max. 9.6 km with repeaters max. 90 km max. 15 m 9.6 kbit/s to 12 Mbit/s (adjustable) incl. 31.25 Kbit/s for PROFIBUS PA max. 127, numbers 0 to 126 Token passing with lower-level master/slave PROFIBUS DP, PG/OP communication S7 communication, S5-compatible communication (SEND/RECEIVE) PROFIBUS FMS

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 3

07/2007 © Siemens AG 2007 - All rights reserved

Basic features of PROFIBUS PROFIBUS defines the technical and functional features of a serial fieldbus system with which distributed digital programmable field controllers of the low-end (sensor/actuator level) to mid performance range (cell level) can be networked. PROFIBUS distinguishes between master and slave devices. Master devices

Master devices determine the data traffic on the bus. A master can send messages without an external request if it has bus access authorization. In the PROFIBUS protocol, masters are also referred to as active stations.

Slave devices

Slave devices are low-overhead I/O devices. Typical slave devices are sensors, actuators and measuring transducers. They are not assigned bus access authorization i.e. they are only permitted to acknowledge received messages or to transmit messages when requested by a master. Slaves are also called passive stations. They only require a small part of the bus protocol. In this way, the bus protocol can be extremely simple.

Transmission technology Transmission by means of cables has been used to US standard EIA RS-485 as a basic version for applications in the area of production technology, building automation and drive technology. A twisted copper cable with one conductor pair is used for this purpose. Fiber-optic cables are used in environments with strong interference as well as to increase the range when high transmission rates are used. Glass and plastic fiber-optic cables are available. Intrinsically-safe transmission supports PROFIBUS PA and the supply of stations over the bus. The transmission technology is described in the international standard IEC 1158-2. Transmission rate 9.6 - 19.2 - 93.75 - 187.5 - 500 - 1500 Kbit/s , 3 - 6 - 12 Mbit/s adjustable in steps.

SITRAIN Training for Automation and Industrial Solutions

Page 3

IK-PBSYS PROFIBUS Technology

Automation and Drives

PROFIBUS variants PROFIBUS

Information is processed differently

Different transmission media

• Electrical transmission • Optical transmission • Wireless transmission with infrared

• Data communication -- PG/OP communication -- S7 routing -- S7 communication -- S5-compatible communication (SEND/RECEIVE) -- Standard FMS communication -- OPC server • Process and field communication -- PROFIBUS DP -- PROFIBUS PA

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 4

07/2007 © Siemens AG 2007 - All rights reserved

PROFIBUS variants PROFIBUS variants are distinguished by • Different transmission media and • Different data processing The transmission media are • Electrical networks • Optical networks and • Wireless transmission with infrared The information is processed differently • Data communication and • Process and field communication

SITRAIN Training for Automation and Industrial Solutions

Page 4

IK-PBSYS PROFIBUS Technology

Automation and Drives

Line and Tree structure

SITRAIN IK-PBSYS / PROFIBUS Technology

Line

Page 5

07/2007 © Siemens AG 2007 - All rights reserved

The line structure is often called a bus structure although not every bus has a line structure. All nodes now only require a single interface. They can be connected to the main line via short spur lines. While it is possible, for example, that four nodes communicate at the same time in a point-to-point structure, this is not possible in a line structure. It must be ensured that only one node can send at any one time while all other nodes can only listen. This requires rules that regulate which node can have send authorization at what time. These are referred to as the bus access methods.

Tree

PROFIBUS also uses the tree structure. The tree structure can also be viewed as a concatenation of several line structures of different lengths but also of different types. The components which connect the individual lines are of special importance. These can be simply amplifiers (repeaters) if the connected components are of the same type or they can also be converters (routers, bridges, gateways) if components of different types are used. The individual "branches" of the tree structure can also be connected directly to each other.

SITRAIN Training for Automation and Industrial Solutions

Page 5

IK-PBSYS PROFIBUS Technology

Automation and Drives

Data communication Communication service

Interface

• PG/OP communication

over

• S7 communication

- S7 Protocol (Application Layer)

• S5-compatible communication

with SEND / RECEIVE interfaces over - FDL – Layer

• Standard FMS communication

over FMS interfaces

• DP operation

alternative - DP- Master or - DP- Slave (with S7-300)

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 6

07/2007 © Siemens AG 2007 - All rights reserved

Data communicationData communication (e.g. PROFIBUS FMS) serves to exchange data between programmable controllers or between programmable controllers and intelligent partners (PC, computer, etc.). The following communication functions are available for this purpose: PG/OP communication comprises integral communication functions that are used by the SIMATIC programmable controllers to perform data communication with HMI devices (e.g. TD/OP) and SIMATIC PG (STEP 7). PG/OP communication is supported by MPI, PROFIBUS and Industrial Ethernet networks. S7 routing

With the help of S7 routing it is possible to use programming device communication across networks.

S7 communication

S7 communication is the integral communication function which has been optimized within the SIMATIC S7/C7. It enables PCs and workstations to be connected. The maximum volume of useful data per task is 64 KB. S7 communication offers simple, powerful communication services and provides a network-independent software interface for MPI, PROFIBUS and Industrial Ethernet networks.

S5-compatible communication (SEND/RECEIVE) The SEND/RECEIVE interface (with PROFIBUS over FDL) is optimized for communication between SIMATIC S5 and S7 programmable controllers and therefore facilitates migration of SIMATIC S5, SIMATIC S7 programmable controllers and PCs over PROFIBUS and Industrial Ethernet. Standard communication Standard communication uses standardized protocols for data communication ( PROFIBUS FMS Fieldbus Message Specification and OPC server). SITRAIN Training for Automation and Industrial Solutions

Page 6

IK-PBSYS PROFIBUS Technology

Automation and Drives

Bus access method for PROFIBUS Logic Token Ring

Active Nodes

Passive Nodes

SITRAIN IK-PBSYS / PROFIBUS Technology

Data Link Layer

Page 7

07/2007 © Siemens AG 2007 - All rights reserved

The data link layer implements the access control function for data backup and handles the transmission protocols and messages. The data link layer (Layer 2) is referred to as the fieldbus data link (FDL) in PROFIBUS.

Bus access control The bus access control defines when a bus node can send data. The bus access control must ensure that only one node has send authorization at any one time. Bus access control requirements Two essential requirements have been included in the PROFIBUS protocol: • One the one hand, communication between complex, equal-priority programmable controllers (data communication), must ensure that each node has enough time within a defined time frame to perform its communication tasks. • On the other hand, communication between a complex programmable controller and the assigned simple I/O devices (slaves) should be as simple as possible using cyclic data exchange.

SITRAIN Training for Automation and Industrial Solutions

Page 7

IK-PBSYS PROFIBUS Technology

Automation and Drives

Token bus method Token passing between active nodes (1)

Master/slave between active and passive nodes(2)

SITRAIN IK-PBSYS / PROFIBUS Technology

Token bus method

Page 8

07/2007 © Siemens AG 2007 - All rights reserved

The nodes connected to PROFIBUS form a logical token ring in ascending numerical order of their bus address. The sequence is independent of the topological arrangement of the active stations on the bus. A token ring is an organizational concatenation of active nodes (masters) in which a token is always passed from one node to the next. The token i.e. the right to access the transmission medium is passed on by means of a special token message between the active bus nodes. If a node has the token, it can send messages until the so-called token holding time (configuration) has elapsed. If the token holding time has elapsed, the station is only permitted to send high-priority messages. If a node does not have a message to send, it passes on the token to the next node in the logical ring. An exception to this is the active node with the highest station address (HSA) on the bus. This node only passes on the token to the active bus node with the lowest bus address so as to close the logical token ring again. The access method is independent of the transmission medium. The diagram above shows the method used for active and passive stations.

SITRAIN Training for Automation and Industrial Solutions

Page 8

IK-PBSYS PROFIBUS Technology

Automation and Drives

PROFIBUS - DP (Distributed I/O) PG S7-300

PROFIBUS - CP

DP - Master PROFIBUS - DP

ET 200

DP - Slave

ET 200

DP - Slave

SITRAIN IK-PBSYS / PROFIBUS Technology

PROFIBUS DP

OP

DP – Slave third - party

Page 9

07/2007 © Siemens AG 2007 - All rights reserved

PROFIBUS DP is a standardized interface for the transmission of process input and process output data between SIMATIC-S7/M7/C7 stations and field devices (DP slaves). Small volumes of data are exchanged isochronously between the DP master and DP slaves. PROFIBUS DP is a serial bus in accordance with standard EN 50170 Vol. 2, PROFIBUS. This PROFIBUS variant which has been optimized for fast data exchange is especially suitable for communication between automation systems and distributed I/O devices on the field level.

Compact DP slaves Compact DP slaves use an I/O structure which cannot be changed. The series of digital ET 200B stations (B for block I/O) are an example of such DP slaves. Depending on the number of I/O channels required and the voltage range, suitable modules from the 200B module range can be selected. Modular DP slaves

For modular DP slaves, the structure of the input and output area is variable and can be defined on configuration. Typical examples of the DP slave type are the ET 200M stations. Up to 8 I/O modules can be connected to an ET 200M head module (IM153) from the S7-300 range (modular).

Intelligent DP slaves (I-DP slaves) Field devices of the S7 range which preprocess signals are called "intelligent slaves". The structure of the input and output area is defined during hardware configuration. A feature of the I-slaves is that the input and output area available to the DP master does not correspond to actual physical I/O devices, but corresponds to an input and output area which is simulated by a pre-processing CPU.

SITRAIN Training for Automation and Industrial Solutions

Page 9

IK-PBSYS PROFIBUS Technology

Automation and Drives

PROFIBUS - PA PG S7-300

C7-626-DP

PROFIBUS - DP

DP/PA-Coupler PROFIBUS - PA

Client-specified solutions with SIEMENS-ASICs SITRAIN IK-PBSYS / PROFIBUS Technology

PROFIBUS-PA

Page 10

07/2007 © Siemens AG 2007 - All rights reserved

PROFIBUS-PA has been specially designed for process engineering and permits connection of sensor/actuators to a shared fieldbus cable (also in hazardous areas). PROFIBUS-PA uses the extended PROFIBUS-DP protocol for data transmission. In addition, the PA profile is used which defines the responses of the field devices. The transmission method to IEC 61158-2 (synchronous transmission method) ensures intrinsic safety and that the field devices are supplied via the bus. PROFIBUS-PA devices can be easily integrated into PROFIBUS DP networks by using segment couplers. PROFIBUS PA can be used to implement individual line, tree and star bus structures or mixed systems. The number of nodes which can be operated on a single bus segment depends on the power supply used, the power consumption of the bus nodes, the bus cable and the extension of the bus system. A PROFIBUS-PA segment in an intrinsically-safe system can be connected to up to 10 nodes; non-intrinsically-safe systems can handle up to 32 stations The transmission rate used is31.25 kbits/s. To increase system availability, redundant bus segments can be used. A PA bus segment is connected to a PROFIBUS DP bus segment by means of asegment coupleror DP/PA link.

.

SITRAIN Training for Automation and Industrial Solutions

Page 10

IK-PBSYS PROFIBUS Technology

Automation and Drives

Open Process Control (OPC - Interface) Application OPC Scout

HMI System

any OPC Data OCX Application

OPC-Server for SIMATIC NET FMS Protocol

DP Protocol

S7 Protocol

Send/Receive Protocol

PROFINET

SIMATIC S7

SIMATIC S7

SIMATIC S5 SIMATIC S5 (only SEND/RECEIVE)

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 11

07/2007 © Siemens AG 2007 - All rights reserved

OPC

OPC refers to a standard interface for communication in automation. OLE is the component model of Microsoft. Components are the software objects or applications that make their functionality available to other applications.

OPC interface

The OPC interface is the specification for a standardized, multi-vendor software interface based on OLE. Previously, applications that accessed process data were restricted to the access mechanisms of the communications network of one manufacturer. The standardized OPC interface now provides the user wanting to use, for example, HMI software with the option of uniform access to communication networks of any vendor.

OPC server

The OPC server offers applications of different manufacturers a standardized OPC interface. Communication via industrial networks is possible by means of simple calls. The process data are accessed via the OPC interface in the same way independent of the communication network or protocol used. An OPC server is therefore an intermediate layer between applications for processing process data and the different network protocols and interfaces for accessing these data.

SITRAIN Training for Automation and Industrial Solutions

Page 11

IK-PBSYS PROFIBUS Technology

Automation and Drives

Master/slave mode for process and field communication

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 12

07/2007 © Siemens AG 2007 - All rights reserved

Master/slave method If a logical ring consists of only one active node and if there are several passive nodes on the bus, this corresponds to a pure master/slave system (see diagram above). The master/slave method permits the master (active node) which currently has send permission (token) to access the slaves (passive nodes) that are assigned to it. The master can send messages to the slaves or receive messages from the slaves. The typical standard PROFIBUS DP bus configuration is based on this bus access method. An active node (DP master) exchanges data with the passive nodes (DP slaves) in a cyclic sequence. The access method permits stations to be added or removed during operation.

SITRAIN Training for Automation and Industrial Solutions

Page 12

IK-PBSYS PROFIBUS Technology

Automation and Drives

Example - PROFIBUS DP master modules for S7-300 and S7-400

CPU 317-2 PN/DP

CP 342-5 DP/FDL CP 443-5 Extended

SITRAIN IK-PBSYS / PROFIBUS Technology

Master-Modules

Page 13

CP 416-2 DP

07/2007 © Siemens AG 2007 - All rights reserved

PROFIBUS distinguish between Master- and Slave-modules. The PROFIBUSMaster coordinates the data transfer on the bus. The S7-300 and S7-400 systems can either be connected as masters over CPUs with an integral PROFIBUS DP interface or over communication modules (CPs) to the PROFIBUS. The CPUs with integral PROFIBUS DP interface permit a distributed automation configuration with a transfer rate of up to 12 Mbaud.

Total integration

The total integration of the master and distributed I/O presents itself to the user in the form of: • Uniform configuration: Both the central as well as the distributed I/O are configured with STEP7. This means that the user can employ the same configuring tool for central and distributed I/O • Centralized and distributed programming: The automation system is programmed using STEP 7 regardless of the system configuration. In this way, the program can be generated independent of the hardware configuration.

SITRAIN Training for Automation and Industrial Solutions

Page 13

IK-PBSYS PROFIBUS Technology

Automation and Drives

DP – Master class 1 and 2

Engineering & diagnostics Control tasks & diagnostics i.e. PC

i.e. PLC/PC

Slave i.e. ET200

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 14

07/2007 © Siemens AG 2007 - All rights reserved

DP device types

PROFIBUS DP distinguishes between two different master classes and different DP functionalities.

DP master Class 1

The DP master Class 1 is the central component on PROFIBUS DP. The central PLC or PC exchanges information with distributed stations (DP slaves) in a fixed, repeated message cycle.

DP master Class 2

This type of device (programming, configuring or HMI device) is used on startup, for configuring the DP system or for operating the system during normal operation (diagnostics). A DP master Class 2 can, for example, read input data, output data, diagnostic data and configuration data of the slaves.

DP slave

A DP slave is an I/O device which reads in input information and passes output information to the I/O. The volume of input and output data depends on the device and can be up to 244 bytes. The functional scope can differ between DP masters of Class 1 and 2 and DP slaves. This determines the performance and availability of a communication processor.

SITRAIN Training for Automation and Industrial Solutions

Page 14

IK-PBSYS PROFIBUS Technology

Automation and Drives

DP functionality DP V0, DP V1 and DP V2 DP-Master class 1

DP-Master class 2

Control jobs and Diagnostic

Engineering and Diagnostic ¾Master Diagnostic ¾Read Bus Parameter ¾Download /Upload and so on

e.g. PLC/PC

¾Configuration Parameter ¾assignment ¾Isochronous reading of input data ¾Writing to outputs, ¾Reading diagnostic data

e.g. PC

¾Reading input data ¾Reading output data ¾Slave Diagnostic ¾Reading Configuration ¾Address changes

e.g. ET200

¾Read/write data record (acyclic)

¾Non-isochrone read and write functions as well as ¾Alarm acknowledgement to be performed ¾isochrone read and write Isochrone mode and ¾Direct data communication between DP slaves

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 15

07/2007 © Siemens AG 2007 - All rights reserved

DP functions DP V0

The DP master functions (DP V0) comprise the following functions • Configuration • Parameter assignment • Isochronous reading of input data and writing to outputs, • Reading diagnostic data.

DP V1

In parallel with the isochronous data traffic, the supplementary DP function expansions (DP V1) permit • Non-isochrone read and write functions as well as • Alarm acknowledgement to be performed. These extended DP functions comprise non-isochrone access to the parameters and measured values of a slave (e.g. field devices of process automation and intelligent HMI devices). This type of slave must be supplied with extensive parameter data during start-up and during normal operation. Data transferred in non-isochrone mode (e.g. parameterization data) are only rarely changed, in comparison to the isochronous measured values, and are transferred at lower priority in parallel with the isochronous high-speed useful data transfer. Alarm acknowledgement by the master ensures reliable transfer of the alarms from DP slaves.

DP V2

Die DP master functions (DP-V0) comprise the following functions • Isochrone mode and • Direct data communication between DP slaves.

SITRAIN Training for Automation and Industrial Solutions

Page 15

IK-PBSYS PROFIBUS Technology

Automation and Drives

Master and slave for modular and compact DP slaves

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 16

07/2007 © Siemens AG 2007 - All rights reserved

Master/slave method If a logical ring consists of only one active node and if there are several passive nodes on the bus, this corresponds to a pure master/slave system (see diagram above). The master/slave method permits the master (active node) which currently has send permission (token) to access the slaves (passive nodes) that are assigned to it. The master can send messages to the slaves or receive messages from the slaves. The typical standard PROFIBUS DP bus configuration is based on this bus access method. An active node (DP master) exchanges data with the passive nodes (DP slaves) in a cyclic sequence. The access method permits stations to be added or removed during operation. Master and slave configuration for modular and compact DP slaves In this configuration, data communication takes place between the DP master and simple DP slaves i.e. I/O modules over the DP master. The DP master polls each configured DP slave in its polling list within the DP master system in sequence and transmits the output data or receives their input values. The I/O addresses are assigned automatically by the configuration system. This configuration is also called a monomaster system since a single DP master with its corresponding DP slaves is connected to a physical PROFIBUS DP subnet.

SITRAIN Training for Automation and Industrial Solutions

Page 16

IK-PBSYS PROFIBUS Technology

Automation and Drives

Master and slave for DP slaves with preprocessing (I-DP slaves)

ET200X or S7-300 with 2 interfaces

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 17

07/2007 © Siemens AG 2007 - All rights reserved

Master/slave configuration for DP slaves with preprocessing (intelligent DP slaves) Automation tasks can be subdivided into subtasks which are controlled by a higher-level automation system. These control tasks, which can be performed independently and efficiently execute on a CPU as preprocessing. This CPU can be implemented in the form of an intelligent DP slave. For configurations with intelligent DP slaves (I-slave) such as a CPU315-2DP, the DP master does not access the I/O modules of the intelligent DP slaves, but only the CPU operand area of the I-slaves i.e. this operand area must not be reserved for real I/O modules in the I-slave. This assignment must be performed when the I-slaves are configured. The DP master can be addressed within a monomaster system so that the data exchange can still be performed according to the cyclic master/slave principle (MS).

SITRAIN Training for Automation and Industrial Solutions

Page 17

IK-PBSYS PROFIBUS Technology

Automation and Drives

Direct data communication between slave and I-slave, monomaster

direct data-exchange

ET200X or S7-300 with 2 interfaces

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 18

07/2007 © Siemens AG 2007 - All rights reserved

Configuration for direct data communication between slave and I-slave With this configuration input data from DP slaves can be transmitted very quickly to intelligent DP slaves on the PROFIBUS DP subnet. Generally, all simple DP slaves (for a certain version and higher) as well as other intelligent DP slaves can make selected input data available that can be used for direct data exchange between DP slaves. These data can only be received by intelligent DP slaves such as the CPU 315-2DP.

SITRAIN Training for Automation and Industrial Solutions

Page 18

IK-PBSYS PROFIBUS Technology

Automation and Drives

Direct data communication between slave and I-slave, multimaster

DP-Master 1

DP-Master 2

ET200X or S7-300 with 2 interfaces

direct data-exchange

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 19

07/2007 © Siemens AG 2007 - All rights reserved

Configuration for data communication between a slave and an I-slave with two master systems Several DP master systems on a physical PROFIBUS-DP subnet are also called a multimaster system. With this configuration, signals from simple DP slaves can be exchanged very quickly across DP master systems with intelligent DP slaves on the same physical PROFIBUS DP subnet. In this way, an intelligent DP slave such as a CPU 315-2DP can have input data from "simple" DP slaves, also from different DP master systems (i.e. multimaster systems), transmitted directly to its input data area. Generally, all simple DP slaves (from a certain version) can make selected input data for direct data exchange (DX) between DP slaves available. These data however can only be used by intelligent DP slaves such as the CPU 315-2DP.

SITRAIN Training for Automation and Industrial Solutions

Page 19

IK-PBSYS PROFIBUS Technology

Automation and Drives

Direct data communication between two master systems

direct data-exchange

ET200X or S7-300 with 2 interfaces

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 20

07/2007 © Siemens AG 2007 - All rights reserved

Direct data communication between an I-slave/DP slave and two master systems Several DP master systems on a physical PROFIBUS-DP subnet are also called a multimaster system. With this configuration, input data from intelligent DP slaves or simple DP slaves can be read directly from the DP master of a different DP master system on the physical PROFIBUS DP subnet. This mechanism is also called shared input since input data are used across master systems.

SITRAIN Training for Automation and Industrial Solutions

Page 20

IK-PBSYS PROFIBUS Technology

Automation and Drives

Selection of SIEMENS DP slave devices

isolating transformer

Block I/O

Multifunctional, intelligent I/O Modules Production Engineering

Protection IP65/67

Process Technology Protection IP20

SITRAIN IK-PBSYS / PROFIBUS Technology

SITRAIN Training for Automation and Industrial Solutions

Page 21

Page 21

07/2007 © Siemens AG 2007 - All rights reserved

IK-PBSYS PROFIBUS Technology

Automation and Drives

Examples of CPs for PC CP5511 Transmission rate 9.6 kbit/s to 12 Mbit/s

CP5611 Transmission rate Interface

Interfaces

9-pin Sub D socket for connection to PROFIBUS

Module format :

PCMCIA slot Type II

9.6 kbit/s to 12 Mbit/s 9-pin Sub-D socket for connection to PROFIBUS

Module format : PCI card Space requirements : 1 x PCI slot SITRAIN IK-PBSYS / PROFIBUS Technology

CP 5511

Page 22

07/2007 © Siemens AG 2007 - All rights reserved

Various different software packages can be used to operate the CP 5511 and it allows the user to perform programming device functions and PC functions over PROFIBUS and the multipoint interface MPI. Only one CP can be used per PG, PC or notebook computer. Similarly, only one protocol (PROFIBUS DP, S7 communication or FDL) can be used per CP.

CP5611

The CP5611 is used to connect PGs/PCs to PROFIBUS and the MPI of the SIMATIC S7. It is a PCI module which can be inserted into the free slot of a desktop PC. It offers the following communication services: • • • • • • •

PROFIBUS DP master Class 1 with SOFTNET DP PROFIBUS master Class 2 including non-isochrone DP expansions with SOFTNET DP PROFIBUS DP slave with SOFTNET DP slave PG/OP communication S7 communication with SOFTNET S7 S5-compatible communication (SEND/RECEIVE based on the FDL interface) with SOFTNET DP or SOFTNET S7 • Short PCI card; for PG/PC with PCI slot for use with STEP 7, STEP 7-Micro/Win, SIMATIC NCM PC, ProTool, COM PROFIBUS, SOFTNET S7 (for S7 communication), SOFTNET DP (for DP) • The OPC servers are included in the scope of supply of the communication software

SITRAIN Training for Automation and Industrial Solutions

Page 22

IK-PBSYS PROFIBUS Technology

Automation and Drives

Software for parameterizing the PROFIBUS system for S7

SITRAIN IK-PBSYS / PROFIBUS Technology

Function

Page 23

07/2007 © Siemens AG 2007 - All rights reserved

The STEP 7 programming software permits menu-prompted parameterization of the distributed I/O devices as well as of the field devices on the PROFIBUS DP. This mainly comprises: • Configuration of the fieldbus system • Generation of the address list for the master module • Adjustment of the transmission rate on the fieldbus • Adjustment of the failure characteristics The STEP 7 programming software supports uniform programming and configuring of central and distributed I/O. The required configuration of the PROFIBUS DP fieldbus is stored on the PROFIBUS DP master module.

Diagnostics

The diagnostic function can be used to localize and remove errors easily during operation. For this purpose, the PG is connected directly to PROFIBUS DP or to the corresponding I/O and field device.

GSD data

STEP 7 can also be used to parameterize field devices of other manufacturers. For simple and easy parameterization, the product is usually supplied with device master files for integration into the parameterization tools. So that the distributed ET 200 I/O devices can be connected to masters of other manufacturers, the GSD files are also available from the central interface center.

SITRAIN Training for Automation and Industrial Solutions

Page 23

IK-PBSYS PROFIBUS Technology

Automation and Drives

Practical simulation of DP configurations

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 24

07/2007 © Siemens AG 2007 - All rights reserved

Introduction

How can I determine the optimal configuration for PROFIBUS DP and how can I correctly estimate the response time and bus cycle time on a PROFIBUS DP line ?

ANSWER:

Many applications require a fast response time over the distributed I/O. In the SIMATIC system, PROFIBUS DP is used for fast and efficient data communication between distributed I/O and S7 stations. One of the most important questions when designing such DP configurations concerns the DP response time which can be expected: • How long does it take until a signal changes at the output of the ET200 after the signal has changed at the input of the ET200? This time varies in accordance with the number, type and mode of the components used on the PROFIBUS DP. This gives rise to further questions: • How does the DP response time change when the configuration is changed • How does the DP bus cycle time and the OB1 cycle time affect the DP response time? • What fluctuations are there for these times ? To answer the questions above, we have performed comprehensive measurements on real DP configurations. You can only select the DP components and assign parameters to them correctly if you can estimate the DP response time correctly. In this way, you can minimize the risk of investing unwisely.

Simulator for DP configurations With the simulator you can simulate your planned DP configurations directly on the PC. You can select and compare two different configurations with a few clicks of the mouse. The simulator will display the estimated response times for real-life situations. Customer support data

Documents in selected folder

System Utilities: Practical simulation of HMI configurations: Mutiple SIMATIC Operator Panels on the built in interface of S7- CPU SITRAIN Training for Automation and Industrial Solutions

Page 24

04.12.2003 6709733 IK-PBSYS PROFIBUS Technology

Automation and Drives

Gateways from PROFIBUS to..... Gateways

SITRAIN IK-PBSYS / PROFIBUS Technology

Overview

Page 25

07/2007 © Siemens AG 2007 - All rights reserved

The two diagrams show how to implement gateways from PROFIBUS to other subnets. More information can be found in the “Industrial Communication" Catalog IKPI 200X“ where the “X “stands for years 2, 3, 4 to 5.

SITRAIN Training for Automation and Industrial Solutions

Page 25

IK-PBSYS PROFIBUS Technology

Automation and Drives

Message characters Universal Asynchronous Receiver/Transmitter for start/stop characters

UART character Bit pattern on the line

1

Significance of the bits (I)

2

3

4

5

6

7

8

20 LSB 0

b1

9

10

11

P

1

27 MSB b2

b3

b4

b5

b6

b7

b8

Start bit (ST)

Stop bit (SP) Parity bit even

1

Startbit

ST

mit binär „0“ - Signal

8

Informationsbit

I

mit binär „0“ - oder „1“ - Signal

1

Paritätsbit GERADE

P

mit binär „0“ - oder „1“ - Signal

1

Stopbit

SP

mit binär „1“ - Signal

LSB MSB

Least Significant Bit Most Significant Bit

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 26

07/2007 © Siemens AG 2007 - All rights reserved

Start/stop characters Each message consists of a number of message characters, the UART characters. The UART character (UC) is a start/stop character for asynchronous transmission. Each UART character has 11 bits.

SITRAIN Training for Automation and Industrial Solutions

Page 26

IK-PBSYS PROFIBUS Technology

Automation and Drives

Example of a PROFIBUS message Formats with variable information length Format of the call message (send/request frame):

SYN

SD2

LE

LEr

SD2

DA

SA

FC

DATA_UNIT FCS

ED

L Format of the call message (response frame):

SD2

LE

LEr

SD2

DA

SA

FC

DATA_UNIT FCS

ED

L SYN SD2 LE LEr DA SA FC DATA_UNIT FCS ED L

= = = = = = = = = = =

Synchronization bits, min. 33 bits for idle state Start byte 2 (start delimiter), code: 68H Length byte, value: 4 to 249 Repeated length byte Destination address byte Source address byte Frame control byte Data field, fixed length (L-3), max. 246 bytes Frame check sequence byte End delimiter byte, code: 16H Information field length, variable number of bytes L = 4 to 249

SITRAIN IK-PBSYS / PROFIBUS Technology

Page 27

07/2007 © Siemens AG 2007 - All rights reserved

Formats with variable information length A PROFIBUS message with variable information length is shown above. The "FC" byte determines whether it is a request or acknowledgement message or an SRD or SDA message. If the message is an acknowledgement to "Request FDL status“, this byte contains information on whether the acknowledging node is active or passive.

SITRAIN Training for Automation and Industrial Solutions

Page 27

IK-PBSYS PROFIBUS Technology

Related Documents


More Documents from "jmroussel"

04 Intelligent Slaves
January 2021 0
01 Profibus Technology
January 2021 0
0_ik-pbsys_cover15_v201
January 2021 2
05 Dp Dp Coupler
January 2021 3
Lake Shore Drive Forma
February 2021 0