Académique Documents
Professionnel Documents
Culture Documents
To summarize
Application layer
Link layer
Physical layer
What is Profibus DP
Slide 1 / 32
What is Profibus DP
To summarize
Application layer
Link layer
Physical layer
What is Profibus DP
Slide 2 / 32
History
Profibus = PROcess FIeld BUS
Initialized in 1987 by the German Ministry for Research and Technological
Development.
Now managed by an association of PROFIBUS : - Manufacturers, Users and research institutions - More than 1100 menbers worldwide (Profibus International) Conforms to standard EN 50 170
Slide 3 / 32
Profibus versions
Management level
Sensor level
Machine level
Slide 4 / 32
Profibus DP
Field bus level to connect Distributed Peripherals
I/O modules
Speed drive unit Valves Operator terminal,
Slide 5 / 32
6 5 4 3 2 1
Slide 6 / 32
Physical layer
To summarize
Application layer
Link layer
Physical layer
What is Profibus DP
Slide 7 / 32
Transmission technologies
The technologies
RS 485 (2 wires) : Universal applications
Fiber optical (multimode/singlemode) : EMC immunity and longer distances IEC 61 158-2 (4 wires) : Process applications RS 485 Intrinsically Safe (4 wires) : Process application in explosive areas
Slide 8 / 32
Remote I/O
Drive
Address 1
Remote I/O
Each node must have its own & unique address Address range : 1 to 125
Slide 9 / 32
Device 3
. 32 max.
Bus termination
Bit-rate : 9,6 Kbits/s to 12 Mbits/s 125 devices max. in a fieldbus with 32 devices max. per segment The length of a segment depends on the bit-rate Each segment forms a line with a termination resistor at the beginning and at the end
Slide 10 / 32
Device 3
. 32 max. Device 4
Bus termination
Device 1
Device 2
For bit rate up to 1.5 Mbit/s a sum of 6 m for all branches in a segment can be accepted
For higher transmission rates the sum of all branches in a segment must not exceed 0.8m.
Caution: Branches are also present within each device between the Profibus port (connector) and the bus drivers. Manufacturers must reduce such branches to a minimum
Slide 11 / 32
Cable specification
Cable types are available for Fixed Installation
Underground Installation Trailing Chain
Parameter
Cable design Loop impedance Impedance (nominal) Wire diameter Wire cross section Operating capacity
Cable A Schneider reference : TSX PBS CA100 (100m) or TSX PBS CA400 (400m)
Slide 12 / 32
Segment length
Bit rate
9.6 Kb/s 187.5 Kb/s 19.2 Kb/s 93.75 Kb/s 500 Kb/s 1,5 Mb/s 3 Mb/s 6 Mb/s 12 Mb/s 1000 m 400 m 200 m 100 m
1200 m
The max. number of repeaters between a master and a node is depending from the type of the repeater and is can vary between 3 and 9.
Slide 13 / 32
Repeaters using
Bus termination
Device 3
Device 31
Note : Repeaters do not have bus addresses but do count as device (bus load) in a segment!
Device 1 Device 2
Repeater
Bus termination
Bus termination
Device 60
A segment consists of up to 32 bus loads The beginning and the end of a bus/segment must be terminated (termination resistors) The termination resistors must always be supplied with voltage
The repeater(s) allows to increase the length of the bus or/and the devices number
BU Automation Product Support - Training PhB - Profibus DP_Technical Description_en - 04 / 2007 Slide 14 / 32
Bus termination
VP* B A (6) (3) (8)
390 W 220 W 390 W 390 W 220 W 390 W
Data line B
VP*
B A
(6)
(3) (8)
Data line A
DGnd* (5)
DGnd* (5)
A (8)
B (3)
A (8)
B (3)
Device 2
Device 3
* Each device must provide the power supply for the termination resistor (VP=5 VDC)
Station 3
Slide 15 / 32
D-SUB connector
9 pin DSUB male connectors recommended for IP20 The socket (female) is on the device Schneider offer :
Input Bus Output Bus
- 490 NAD 911 03 : with termination resistor - 490 NAD 911 04 : without termination resistor - 490 NAD 911 05 : with selection of termination resistor
Pin 1 2 3 4 5 6 7 8 9
Description Shield/Protective earth ground for 24V output voltage Transmit-/Receive data positive (B line), color = red Repeater control signal positive Data Ground Supply voltage for the termination resistors (5V) Output voltage positive 24V 3 Transmit-/ReceiveStation data negative (B line), color = green Repeater control signal negative
Link layer
To summarize
Application layer
Link layer
Physical layer
What is Profibus DP
Slide 17 / 32
Slide 18 / 32
The transmit message send to the slaves and it answer is called PPO (Parameter Process Object).
Note : The Profibus DP module for Premium PLC doesnt support the muti-Master mode
Slide 19 / 32
Length
Security mechanisms - Start delimiter and End delimiter - Parity bit - Slip-free synchronisation - Frame Sequence Check (CRC) - Distance hamming = 4
Note : Profibus DP device can transfert up 244 bytes of input and output data.
Slide 20 / 32
Application layer
To summarize
Application layer
Link layer
Physical layer
What is Profibus DP
Slide 21 / 32
Communication profiles
DP Master class 1 (DPM1)
Central devices which exchanges I/O data with remote field devices cyclically. Typical devices are PLCs and PCs
DP Slave
Peripheral device performing cyclical exchanges with "its" active station.
Slide 22 / 32
Slide 23 / 32
When the master receives an answer from the slave, the same process occurs (2 types of exchanges are included in return)
Cyclical exchanges : I/O data A periodic exchanges : Parameters monitoring, diagnostics
Slide 24 / 32
Output Data
PKE PWE aperiodic exchange
Input Data
PKE
PWE aperiodic exchange
PKW
PZD
PZD
PZD1
PZD2 PZD3 PZDn periodic exchange
last word PKW (Parameter - Kennung - Wert) : Logical address value PKE (Parameter - Kennung) : Logical address
last word
- Periodic exchanges are always used and refreshed (device control & monitoring) - Aperiodic exchanges are used where necessary
PKE output : Bits 0 to E : Modbus address of the variable Bit F : = 0 Single write or read = 1 Permanent write or read R/W output : = 16#0052 Read = 16#0057 Write PWE output : = If write : Value to be written
PKE input : Copies of output PKE value R/W/N input : = 16#0052 Correct read = 16#0057 Correct write = 16#004E Write or read error PWE input : If correct read value of the variable If correct write value of output PWE If error = 0 : incorrect address = 1 : write operation refused
Slide 26 / 32
Application profile
Profibus provides some profiles depending of the application to define an interoperability between similar devices for different vendors. Profile examples
PROFIdrive (Speed drive device) It specifies the behavior of devices and the access procedure to data for variable speed drives.
ATV71
Low-voltage switchgear It defines data exchange for low-switchgear (motor staters, switch-disconnectors, etc.) on Profibus DP.
TeSys U TeSys T
Encoders It describes the interfacing of rotary, angle and linear encoders with single-turn or multi-turn resolution. Panel devices (HMI)
It describes the interfacing of simple human machine interface devices (HMI) to higher-level automation components.
Slide 27 / 32
GSD files
It is provided by the manufacturer for all Profibus devices. It is readable ASCII text file and contains both general and devicespecific specifications supported by the device.
Configuration tool allows : - Reads the device identification, the adjustable parameters, the data type and the permitted values for the configuration of the device.
Master specifications
- Contain all master related parameters, such as: the maximum slaves number that can be connected, or upload and download options. Slaves specifications - Contain all slave related specifications such as: the number and type of I/O channels, diagnostic texts & information on the available modules in the modular devices case.
BU Automation Product Support - Training PhB - Profibus DP_Technical Description_en - 04 / 2007 Slide 28 / 32
18 14
10 6 2 5
10
20
30 DP Slaves
Conditions: Each slave has 2 byte input and 2 byte output data. The minimum slave interval is 200 micro seconds. The standard default bus parameters are set.
BU Automation Product Support - Training PhB - Profibus DP_Technical Description_en - 04 / 2007
Slide 29 / 32
To summarize
To summarize
Application layer
Link layer
Physical layer
What is Profibus DP
Slide 30 / 32
Data rate:
Max. no. of devices:
Slide 31 / 32
Transmission security:
Data exchanges:
Application level
Interchangeability:
BU Automation Product Support - Training PhB - Profibus DP_Technical Description_en - 04 / 2007