Profibus: Soulimane MAMMAR
Profibus: Soulimane MAMMAR
Soulimane MAMMAR
March 9, 2021
Introduction
A ProfiBus system uses a bus master to poll slave devices on an RS485 serial
bus.
A ProfiBus slave is any peripheral device (I/O transducer, valve, network drive,
or other measuring device) which processes information and sends its output to
the master.
The slave forms a "passive station": has not access rights, only
acknowledge received messages or sends response messages
ProfiBus slaves have the same priority
ProfiBus DP defines two classes of masters.
A class 1 master handles the normal communication or exchange of data
with the slaves assigned to it.
A class 2 master is a special device primarily used for commissioning
slaves and for diagnostic purposes.
Some masters may support both class 1 and class 2 functionality.
Master-to-master communication is normally not permitted in Profibus
except in order to grant bus access rights to another master via the
exchange of a token.
However, master-to-master communication between two mono-master
systems can be facilitated using a DP-DP gateway.
ProfiBus DP most often uses a single class 1 master device (mono- master)
ProfiBus also allows for acyclic communication between class 2 masters and
slaves
A class 1 master will automatically detect the presence of a new active station
connected to the network bus (a class 2 master).
When the class 1 master completes its polling cycle, it will pass a token to the
class 2 master granting it temporary access to the bus.
Deterministic behavior is maintained because the class 2 master can only use
the time allotted to it via the gap time specified (Token half-time or Token
hold-time TH ).
Although, mono-master operation is generally recommended, it is not
mandatory.
A ProfiBus system may have more than one class 1 master
master to master communication is not permitted, except for the granting
of bus access rights via token exchange.
Figure:Profibus
Soulimane MAMMAR
Technology
Fields:
Fields:
Bit-transmission layer (OSI-Layer 1) Three different methods are specified for the
bit-transmission layer:
EIA-485 (Primarily used with PROFIBUS DP)
Twisted pair cables with impedances of 150 ohms in a bus topology.
Bit rates from 9.6 kbit/s to 12 Mbit/s can be used.
The cable length between two repeaters is limited from 100 to 1200 m,
depending on the bit rate used.