chapter1Date 3/17/98, page 1
EUROPEANFIELDBUS STANDARD
EN 50170
P R O
C E S S
M A N U F A C T U R I N G
B U
I L
D I
N G
Workshop forPC based Controller
chapter1Date 3/17/98, page 2
PROFIBUS
ð Overview chapter 1ü PROFIBUS EN 50170ü PTOü Protocols FMS, DP, PAü wiring
ð DP-details chapter 2ü functionsü configuration toolü data baseü DP-V1 / PA
ð Siemens interface chapter 3
ð OPC chapter 4
chapter1Date 3/17/98, page 3
PROFIBUS
ð Why select a fieldbus system
ü independent of proprietary solution
ü vendor independent
ü cost savings
ü increase of productivity in terms of
û faster
û more flexible
û easy expandable
û customized
chapter1Date 3/17/98, page 4
PROFIBUS
ð What a fieldbus system needs to offer
ü deterministic (since parallel wiring will be replaced)
ü flexible
ü interoperable (multi vendor use)
ü cost effective (installation, startup, service)
ü reliable and safe
ü easy to use
ü solution for all your automation needs
ü openness and vendor independent
ð standardization
chapter1Date 3/17/98, page 5
CNCPC/VME
VME/PCPLC DCS
AreaController
Ethernet/TCP/IP TCP/IP/Ethernet
PROFIBUS-FMS
PROFIBUS-DP PROFIBUS-PA
Factory level
Bus CycleTime
< 1000 ms
Cell Level
Bus CycleTime
< 100 ms
Field Level
Bus Cycle-Time
< 10 ms
chapter1Date 3/17/98, page 6
EN 50170 Volume 2
Process Automation
PROFIBUS-PAIEC 1158-2
- Powering over the bus - Intrinsic safety
Factory Automation
PROFIBUS-DPRS 485 / FO
- Plug and play- Efficient and cost effective
Fast
General PurposeAutomation
PROFIBUS-FMSRS 485 / FO
- Large variety of applications- Multi-master communication
Universal Application Oriented
chapter1Date 3/17/98, page 7
PRODUCT variety
ð Today there are more than 1,100 products frommore than 250 different vendors available
or visit the Web - Site:http://www.profibus.com
on disk available from every user group world-wide
Get your free copy of the latest PROFIBUS product guide:
*Status: Q4/1997
chapter1Date 3/17/98, page 8
PRODUCT varietyDrives
AC Drives
DC Drives
Decentralized I/O
Binary I/O
Analog I/O
Regulators
Timer
Counter
Ident-Systems
Gateways
AS-Interface
Proprietary networks
Tools
Configuration
Bus Monitor
Engineering
Host Interfaces
VAX computers
VME computers
Network components
Repeaters
Fiber optics
Cables
Controllers
PLC/NC/RC
VME, PC
Workstation
Software Drivers
DOS/Windows/NT/95
RT-OS/OS9/VRTX
VxWorks/PSOS+
OS2, QNX
UNIX/VMS
Services
Development Support
Implementation Support
TrainingMMI
Operator Panels
Text DisplaysValves
Pneumatic Valves
Magnetic Valves
Instruments
Level
Flow
Pressure
Temperature
chapter1Date 3/17/98, page 9
Product profiles
ð PROFIBUS has defined profiles for the easyinterconnectivity of certain product ranges
ü NC/RC Profile (3.052)
ü Encoder Profile (3.062)
ü Variable-Speed Drive Profile (3.071)
ü Operator control and process monitoring profile (HMI)
F PC based controller could offer integrated basicPC based controller could offer integrated basicfunctionsfunctions
chapter1Date 3/17/98, page 10
EN 50170 - 2
ð The PROFIBUS Protocol is in Accordance with theISO/OSI Reference Model for Open Systems
PA-ProfilesFMS
DeviceProfiles
FMS
IEC 1158-2
User
Laye
r
(3)-(6)
Application(7)
Data Link(2)
Physical(1)
not used
PA
EN 50 170 PROFIBUS guidelines + profiles
DP
DP-Extensions
DP-Profiles
RS-485 / Fiber Optic
* Proposed amendment A2 to EN 50170 Volume 2 under vote until Q1 / 1998
DP Basic Functions
Fieldbus Data Link (FDL) IEC Interface*
Fieldbus MessageSpecification
chapter1Date 3/17/98, page 11
BUS access
ð The PROFIBUS Bus Access Method combinesMulti-Master and Master-Slave communications
PROFIBUS
Active Stations, Master Devices
Passive Stations(Slave Devices) are polled
PLCPC
chapter1Date 3/17/98, page 12
Bus access
ð the PROFIBUS Bus Access Protocol (Layer 2) isidentical for all three PROFIBUS variations
ð this enables transparent communication and easycombinations of FMS/DP/PA Network sections
ð Because FMS/DP are using the same PhysicalMedia (RS-485/FO) they can be combined on thesame cable
Active Stations, Master Devices
PROFIBUS
PLCPLC PC
chapter1Date 3/17/98, page 13
Bus access
ð Hybrid Bus Access Protocol
ü Token-Passing between MastersMaster - Slave Protocol between Master and Slaves
ð Master
ü active stations with the right to control the bus for alimited amount of time (Token - Hold - Time)
ð Slave
ü Slaves only respond on request of a Masterthey have no rights to control the bus
chapter1Date 3/17/98, page 14
Bus access
ü in Multi Master Networks the Token Passing proceduremust ensure that each master has enough time to fulfill it scommunication tasks
ü the user therefore configures the overall Target TokenRotation Time (TTR) taking into account thecommunication tasks of all masters
ü each Master calculates the available amount of time for it scommunication tasks at token receipt according to thefollowing rule:
TTH = Token Hold TimeTTR = Target Token Rotation TimeTRR = Real Token Rotation Time
TTH = TTR - TRR
chapter1Date 3/17/98, page 15
FMS, DP, PA
ð FMS stands for Fieldbus Messaging System
ü peer to peer communication
ð DP stands for Decentralized Pheripherie
ü fast data exchange
ð PA stands for Process Automation
ü intrinsically safe environment
chapter1Date 3/17/98, page 16
FMS/DP in common
FMSDeviceProfiles
IEC Interface*
FMS
User
Laye
r
(3)-(6)
Application(7)
Data Link(2)
Physical(1)
not used
EN 50 170 PROFIBUS guidelines + profiles
DP
DP-Profiles
RS-485 / Fiber Optic
Fieldbus data link (FDL)
DP Basic Functions
Fieldbus MessageSpecification
chapter1Date 3/17/98, page 17
FMS/DP in common
ð DP and FMS are based on Layer 1 and 2, that is
ü DP and FMS can be operated on the same bus
ü Message header and data length are identical
ü The bus physics are identical
ð One master can service several slaves
ð Several masters can participate on the bus
ð Baudrates from 9.6 kBd up to 12 M B d are possible
chapter1Date 3/17/98, page 18
FMS/DP in common
ð Data transmission can be between 1 and 244 bytes
ð 126 stations can be connected
ð System can consist of several segments
ð 32 stations (RS 485 drivers) per segment
ð Common components
ü Cabling, connectors, repeater, fibre optic
ð Savings in maintenance and spare parts inventory
chapter1Date 3/17/98, page 19
PA/DP in common
User
Laye
r
(3)-(6)
Application(7)
Data Link(2)
Physical(1)
EN 50 170 PROFIBUS guidelines + profiles
Specification (FMS)
PA-Profiles
IEC 1158-2
not used
PADP
DP-Extensions
Fieldbus Data Link (FDL)
DP-Profiles
RS-485 / Fiber Optic
FDL
DP Basic Functions
IEC Interface*
chapter1Date 3/17/98, page 20
PA/DP in common
ð DP and PA are based on the same protocoldefinition - DP/V1 (extended DP)
ü DP and PA can use the same master systems
ü Message header and data length are identical
ü Configuration tools are the same
ü Data transmission can be between 1 and 244 bytes
ü System can consist of several segments
ü 32 stations per segment
chapter1Date 3/17/98, page 21
PA/DP in common
PROFIBUS-PA
PROFIBUS-DP, up to 12 Mbit/s
PLC or PC with PROFIBUS
DP-Slave
DP/AS-ilink
Actuator/sensor interface
24 VDP/PA coupler,
DP/PA link
PA - 31.25 kBd
chapter1Date 3/17/98, page 22
FMS features
ð FMS is optimized for universal, object orientedcommunication of intelligent master devices at thecell level
ð FMS permits a subset of the MMS-Functions(Manufacturing Message Specification, ISO 9506)
ð A slave can be assigned to several masters
ü Several masters can write to the same slave
ð Communication connections can be temporary orpermanent
ð Communication is defined in a communicationrelation list
chapter1Date 3/17/98, page 23
FMS features
ð Main application areas are:
ü Transmission of large amounts of data e.g.programs, data blocks....
ü Integration of several decentralized process partsto one common process
ü Communication between intelligent stations
chapter1Date 3/17/98, page 24
FMS features
ð FMS access procedure
Slave 1 Slave 2 Slave 3 Slave x
chapter1Date 3/17/98, page 25
PA features
ð Based on the extended PROFIBUS-DP Protocol andIEC 1158-2 Transmission
ü Suitable to replace today's 4...20 mA Technology
ü Only two wires for data and power
ü Connects Instruments to the control system via a serialbus
ü Functional improvements, reliable serial digitaltransmission
ü Control, regulation and monitoring via a simple twisted paircable
ü A single engineering tool for all devices
chapter1Date 3/17/98, page 26
PA features
ü Interoperability and interchangeability due to thePROFIBUS-PA Profile
ü Maintenance and diagnosis information from theinstruments available
ü low power management, therefore suitable for EEx-Applications with Intrinsic Safety
ü Distance up to 1900m per segment, expandable up to 10km
ü 10 - 32 stations per segment, up to 125 stations
chapter1Date 3/17/98, page 27
PA features
Typical System Configuration with PROFIBUS-PA
PROFIBUS-DP RS 485 up to 12 MBit/s
Area Controller (PLC) Engineering or
B&B Tool
PROFIBUS-PA
IEC 1158-2 with 31,25 kBit/sI
ex
Segment-coupler/Link
Transmitter
H2
H1
+ ex
chapter1Date 3/17/98, page 28
DP features
ð same priority for data exchange
ð DP communication is permanent and cyclic
ð the transmitted data is specified during theconfiguration (optimized data exchange)
ð only one master can write outputs (safety aspect)
ð data can be read by any master
ð acyclic data via DP V1 functions
ð Alarm acknowledgement
ð fastest fieldbus system (up to 12 Mbaud)
ð up to 244 byte input and output data per station
chapter1Date 3/17/98, page 29
DP features
ð DP- access procedure
Slave 1 Slave 2 Slave 3 Slave x
Master - Token exchange
chapter1Date 3/17/98, page 30
Combination
CNCPC/VME
AreaController
Ethernet/TCP/IP TCP/IP/Ethernet
PROFIBUS-FMS
PROFIBUS-DP PROFIBUS-PA
one PC card handles the communication
chapter1Date 3/17/98, page 31
Combination
CNCPC/VME
AreaController
Ethernet/TCP/IP TCP/IP/Ethernet
PROFIBUS-FMS
PROFIBUS-DP PROFIBUS-PA
separate solution
chapter1Date 3/17/98, page 32
PROFIBUS wiring
ð PROFIBUS DP/FMS wiring can be done with:
ü twisted shielded pair copper cable
ü fiber optic components
ü infrared components
ð detailled installation guideline is availablePTO order no. 2.112
chapter1Date 3/17/98, page 33
PROFIBUS wiring
ð twisted shielded pair cable
ü line parameters are defined in EN 50170
ü standard cable available from Belden and Siemens
ü standard connectors available
Baudrate Max. Segment length Max. Expansion9.6 1000m / 3278feet 10,000m / 32786feet
19.2 1000m / 3278feet 10,000m / 32786feet93.75 1000m / 3278feet 10,000m / 32786feet187.5 1000m / 3278feet 10,000m / 32786feet500.0 400m / 1311feet 4,000m / 13114feet
1,500.0 200m / 655feet 2,000m / 6557feet3,000.0 100m / 327feet 1,000m / 3270feet6,000.0 100m / 327feet 1,000m / 3270feet
12,000.0 100m / 327feet 1,000m / 3270feetmax. expansion is done with 9 repeaters in a row
chapter1Date 3/17/98, page 34
PROFIBUS wiring
ð Special requirements for baudrates >1.5 MBaud
ü use of Baudrates greater than 1.5 MBaud requires specialconnectors. The connector or the device has to have builtin Inductors in order to run with higher baudrates (asstated in the PROFIBUS guidelines)
ü spur lines are not allowed when using baud rates greaterthan 1.5 MBaud
ü the maximum length between optical link components is:300m / 981feet
ü in some applications, several bus connectors are used atelectrically short distances, 12 Mbaud installations requirea minimum cable length between two stations of 1m/ 3feet
chapter1Date 3/17/98, page 35
PROFIBUS wiring
ð Cable shielding
ü use only cables with braided shields.
ü the shield density should be more than 80 %
ü always connect the cable shields at both ends
ü if a potential difference occurs between the groundingpoints, an equalization current can flow through a shieldconnected at both ends. In this case, install an additionalpotential equalization line
chapter1Date 3/17/98, page 36
PROFIBUS wiring
ð one prefered connector type - 9 pin Sub-D
ü connectors with integrated termination available
ü for use of higher baudrates Inductivity built in
ü easy plug and unplug without interrupting thecommunication to other devices
ü other connector types are possible, mandatory signals(A,B, Gnd, 5V) must be provided as well as a possibility fortermination
chapter1Date 3/17/98, page 37
PROFIBUS wiring
ð 9 pin sub D
chapter1Date 3/17/98, page 38
PROFIBUS wiring
ð fiber optic components
ü plastic and glass fiber optic is available
ü optical plugs and modules are available
ü distances up to 20 miles are possible
Cnoise immune
Cpotential difference independent
Clonger distances
Credundant operating is possible
Cline, ring and star configuration
chapter1Date 3/17/98, page 39
PROFIBUS wiring
ð infrared components
ü wireless linking of devices in close up ranges
ü communication with moving devices
ü communication with changing devices
ü noise immune
ü ground independent
chapter1Date 3/17/98, page 40
PROFIBUS wiring
ð PROFIBUS FMS / DP are based on RS 485
ü Termination is necessary
ü Expansion of network through segments
ü the two wire cable is usually color coded
!! recommendation:
use always the red wire for signal B (pin3 - TXD/RXD-positiv)
and the green wire for signal A (pin 8 - TXD/RXD-negativ)
ü the shield is connected to housing
chapter1Date 3/17/98, page 41
PROFIBUS wiring
ð Termination
ü each segment needs to be terminated at both ends
ü termination needs to be powered at all time
ü if possible use one termination at the master
ü power for termination or the termination itself needs to beprovided by the device
390 Ohm
A-Line (3)
B-Line (8)
220 Ohm
390 Ohm
GND(5)
VP(6)
chapter1Date 3/17/98, page 42
PROFIBUS wiring
ð Segment structure with termination
Repeater or last device
...
Master
Termination “on” (usually whenever only one cable is connectedto a device the termination needs to be “on”)
chapter1Date 3/17/98, page 43
PROFIBUS wiring
ð Segments are needed by
ü exceeding the length
ü exceeding 32 devices (incl. Repeater/OLM)
ð Segments can be used for
ü building branch segments
ü connecting up to 126 stations (Repeater/ OLM don’t count)
ð Rules
ü one segment has a maximum of 32 devices (incl. Repeater)
ü the first and the last segment can have 31 stations
ü segments between have 30 stations as a maximum
chapter1Date 3/17/98, page 44
PROFIBUS wiring
ð segment structure with termination
Connectsegments
...
RemoteRepeater
Link Segment(Segment withoutstations)
...Branch segments
...
Interface forfiber optic
Max. Number Repeater Cascading: 9 Termination “on”
chapter1Date 3/17/98, page 45
PROFIBUS wiring
Several interfaces enableredundant systems
Fiber optic segmentsenable redundant wiring
Two devices per measuring point
FOcoupler
FOcoupler
FOcoupler
FOcoupler
System redundancy Media redundancy
ð Redundancy Improves System Reliability