Profibus: What A Fieldbus System Needs To Offer
Profibus: What A Fieldbus System Needs To Offer
flexible
standardization
Chapter 1
Date 11/04/99, page 1
PROFIBUS
EN 50170
EN 50170 Volume 2
Chapter 1
Date 11/04/99, page 2
INTERNATIONAL
More than 900 members - 23 regional user associations
PROFIBUS
PROFIBUSInternational
International
America
America Africa
Africa Europe
Europe Asia
Asia Australia
Australia
Austria
Brazil China Australia
South Africa Belgium
USA Japan New Zealand
Czech Republic
Denmark Korea
Finland Singapore
France
Germany
Ireland
Italy
Netherlands
Norway
Russia
Sweden
Switzerland
United Kingdom *Status: Q3/1999
Chapter 1
Date 11/04/99, page 3
PRODUCT Variety
Drives Controllers
AC Drives PLC/NC/RC
Software Drivers
DC Drives VME, PC DOS/Windows/NT/95
Tools
Workstation RT-OS/OS9/VRTX
Configuration
VxWorks/PSOS+
Bus Monitor
OS2, QNX
Decentralized I/O Engineering
Network components UNIX/VMS
Binary I/O
Analog I/O Repeaters Services
Fiber optics
Host Interfaces
Regulators Development Support
VAX computers
Timer Cables Implementation Support
VME computers
Counter Training
MMI
Ident-Systems
Operator Panels Instruments
Level Gateways
Valves Text Displays
Flow AS-Interface
Pneumatic Valves
Pressure Proprietary networks
Magnetic Valves
Temperature
Chapter 1
Date 11/04/99, page 4
Factory Ethernet/TCP/IP TCP/IP/Ethernet
level Area
Controller
Bus Cycle PC/VME
Time
< 1000 ms CNC
Cell
Level
PROFIBUS-FMS RS-485/FO
Bus Cycle VME/PC
Time PLC DCS
< 100 ms
Bus Cycle-
Time
< 10 ms
Chapter 1
Date 11/04/99, page 5
EN 50170 - 2
The PROFIBUS Protocol is in Accordance with the ISO/OSI
Reference Model for Open Systems
FMS DP PA
DP-Profiles PA-Profiles
Layer
FMS
User Device DP-Extensions
Profiles
DP Basic Functions
PC
PLC
PROFIBUS
Chapter 1
Date 11/04/99, page 7
Bus Access
PLC PC PLC
PROFIBUS
Chapter 1
Date 11/04/99, page 8
Bus Access
Master
active stations with the right to control the bus for a
limited amount of time (Token - Hold - Time)
Slave
Slaves only respond on request of a Master -
they have no rights to control the bus
Chapter 1
Date 11/04/99, page 9
Bus Access
in Multi-Master Networks, the Token Passing procedure
must ensure that each master has enough time to fulfill its
communication tasks
the user therefore configures the overall Target Token
Rotation Time (TTR) taking into account the
communication tasks of all masters
each Master calculates the available amount of time for its
communication tasks at token receipt according to the
following rule:
Chapter 1
Date 11/04/99, page 10
FMS, DP, PA
Chapter 1
Date 11/04/99, page 11
FMS/DP In Common
Chapter 1
Date 11/04/99, page 12
FMS/DP In Common
Chapter 1
Date 11/04/99, page 13
PA/DP In Common
Chapter 1
Date 11/04/99, page 14
PA/DP In Common
PROFIBUS-DP, up to 12 Mbit/s
DP-Slave
DP/AS-i
DP/PA coupler,
24 V DP/PA link
link
PA - 31.25 kBd
PROFIBUS-PA
Actuator/Sensor interface
Chapter 1
Date 11/04/99, page 15
FMS Features
Chapter 1
Date 11/04/99, page 16
FMS Services
Chapter 1
Date 11/04/99, page 17
FMS Services
virtual field device (VFD).
The PROFIBUS-FMS communication model permits distributed
application processes to be unified into a common process by
using communication relationships.
The portion of an application process in a field device which can be
reached via communication is called a virtual field device (VFD)
Chapter 1
Date 11/04/99, page 18
FMS Services
Context Management services are for
establishing and terminating logical connections.
Variable Access services are used to access
variables, records, arrays or variable lists.
Domain Management services are used to
transmit large memory areas. The data must be
divided into segments by the user.
Program Invocation Management services are
used for program control.
Event Management services are used to
transmit alarm messages. These messages can
also be sent as broadcast or multicast
transmissions.
VFD Support services are used for
identification and status polling. They can also be
sent spontaneously at the request of a device as
multicast or broadcast transmissions.
OD Management services are used for read and
write access to the object dictionary.
Chapter 1
Date 11/04/99, page 19
FMS Services
Chapter 1
Date 11/04/99, page 20
FMS Features
Chapter 1
Date 11/04/99, page 21
PA Features
Chapter 1
Date 11/04/99, page 22
PA Features
+ εx
I IEC 1158-2 with 31,25 kBit/s
PROFIBUS-PA
Segment-
coupler/Link
Transmitter H1
Chapter 1
Date 11/04/99, page 23
DP Features
Chapter 1
Date 11/04/99, page 24
DP Features
Class 2
Chapter 1
Date 11/04/99, page 25
Reliability-DP/FMS
Hamming Distance HD = 4
HD 4 means, that up to 3 transmission failures at a
time can be detected (done by the ASICs)
By detecting a faulty telegram, it will be resent
automatically without affecting other existing stations
HD 4 is a term used to describe the reliability of the
data transmission on the Profibus network.
Special Start and End Sentinels
Parity Bit for Each Byte
Slip Free
According to IEC 870-5-1
Delimiter Synchronization
Chapter 1
Date 11/04/99, page 26
PROFIBUS Wiring
Chapter 1
Date 11/04/99, page 27
PROFIBUS Wiring
Chapter 1
Date 11/04/99, page 28
PROFIBUS Wiring
noise immune
potential difference independent
longer distances (up to 20 miles)
redundant operating is possible
line, ring and star configuration
Chapter 1
Date 11/04/99, page 29
PROFIBUS Wiring
infrared components
wireless linking of devices in close-up ranges
communication with moving devices
communication with changing devices
noise immune
ground independent
Chapter 1
Date 11/04/99, page 30
PROFIBUS Wiring
Redundancy Improves System Reliability
System redundancy Media redundancy
FO FO
coupler coupler
Two devices
per measuring
point
FO FO
coupler coupler
Chapter 1
Date 11/04/99, page 32
DP Details
Reading Diagnosis
Parameter Assignment
Reading Diagnosis Configuring
Parameter Assignment Address Change
Configuring Reading Configuration
Data Exchange Reading I/O
Controlling of one Slave
Slave
a device can consist of multiple functions, e.g.... class1 and class2, class1 and slave
Chapter 1
Date 11/04/99, page 33
DP Details
A device can consist of multiple functions, e.g... class1
and class2, class1 and slave, which allows:
a simple master master communication via the master -
slave combination
whenever one master has the token the other PLC can be a
slave to this master
PLC1 - master and slave
PLC PLC
PLC2 - master and slave
Chapter 1
Date 11/04/99, page 34
DP Details
Master - Master communication by using a DP-DP gateway
combination of two mono master systems
simple data exchange between the two masters up to 244
byte
PLC PLC
Chapter 1
Date 11/04/99, page 35
Interoperability
PLC
GSD GSD GSD GSD GSD GSD
Chapter 1
Date 11/04/99, page 36
Device Description
GSD file
each slave or master class 1 device on PROFIBUS DP
needs to have a device description file, the characteristic
of each PROFIBUS-DP device is described in the GSD-File
the GSD-file contains all device specific parameters e.g.:
Supported Baudrate
Supported Message Length
Number of input / output data
Meaning of diagnostic messages
Options for modular devices e.g. which are available
Chapter 1
Date 11/04/99, page 37
Device Description
GSD-Files are created by the device vendors
the PROFIBUS Trade Organization provides an GSD-Editor
which makes it very easy to create GSD-Files
the GSD-Editor contains a GSD-Checker which guarantees
the conformance of the GSD-Files to the PROFIBUS
standard
a library of GSD-Files is provided at the PROFIBUS web
page: http://www.profibus.com
Chapter 1
Date 11/04/99, page 38
Device Description
# P r o f ib u s _ D P (M )
: < P R M - T e x t _ D e f _ L is t > (O )
P rm T e x t =
… … .. Parameter text (O)
E n d P rm T E x t
; < E x t - U s e r _ P r m _ D a t a _ D e f _ L is t > (O )
E x tU s e rP rm D a ta =
… … … . ext. user parameter data (O)
E n d E x tU s e rP rm D a ta
; < U n it _ D e f in it io n _ L is t > (M )
G S D _ R e v is io n = 1
V e n d o r_ N a m e =
… … ..
mandatory general data (M)
… … .
; S la v e s p e c if ic d a t a (M )
F re e z e _ m o d e _ s u p p o rte d =
… … .. generic slave data (M)
… …
;U s e r_ P rm _ d a ta
… … .
; U n it _ d ia g n o s t ic
device related slave data (O)
… … ..
; < M o d u le _ D e f in it io n _ L is t (M )
M o d u le =
… … . I/O definition (M)
E n d M o d u le
Chapter 1
Date 11/04/99, page 39
DP Interactions
DP Extended
Why DP extended?
the requirements of the process industry are included
selecting and changing parameters of a field device from
several DP-Masters, e.g.. CPU, PG or HMI Devices
provides for higher flexibility in operation
Chapter 1
Date 11/04/99, page 40
DP Extended
DP-Extension
PROFIBUS-DP-Standard • Additional
acyclic messages between Master and Slave
by reading and writing of data blocks
PROFIBUS-DP-Standard !
Chapter 1
Date 11/04/99, page 41
DP Extended
Chapter 1
Date 11/04/99, page 42
DP Extended
Chapter 1
Date 11/04/99, page 43
Network Setup
class 1 master
class 2 master
termination
termination
Chapter 1
Date 11/04/99, page 44
PIC certification
NO Test passed ?
YES
Vendor receives two test reports and can apply for a certificate via PI
CERTIFICATE
Chapter 1
Date 11/04/99, page 45
Profibus & Ethernet
Chapter 1
Date 11/04/99, page 46
PROFInet
Automation object model according to the Microsoft
COM/DCOM standard
Communication: TCP(UDP)/IP and DCOM wire protocol
devices
Object handling in
engineering and HMI:
Microsoft OLE,
ActiveX
Integration of existing
unchanged PROFIBUS
bus segments and
PROFIBUS based
devices
Chapter 1
Date 11/04/99, page 47
Chapter 1
Date 11/04/99, page 48