EIDCS2 - Learning Unit 4
EIDCS2 - Learning Unit 4
LEARNING UNIT 4
PROFIBUS
4.1 Introduction
PROFIBUS (Process Fieldbus) is an open fieldbus standard to EN 50 170 (European standard) initiated in 1989
by Siemens to cater to the needs of both process automation and factory manufacturing automation. It is
suitable for both fast, time-critical applications and complex communication tasks. Profibus can connect a
maximum of 126 devices on a single network segment. The initial release of PROFIBUS specified a complex
protocol version called PROFIBUS-FMS (Field bus Message Specification) that was replaced by the following
two alternatives:
A PROFIBUS network can have both DP and PA segments interfaced using a DP/PA segment coupler to
facilitate communication between different wiring standards as shown in Figure 4.1. DP/PA segment couplers are
used as repeaters. They do not have their own bus address and are transparent to the DP master station controlling
the PA network. When DP/PA segment couplers are used, every PA device will have its own station address,
which must be unique within the overall PROFIBUS network.
Figure 4.1: Profibus PA/DP– showing the link device (or coupler)
PROFIBUS supports two types of devices: master devices and slave devices. The former is called an “active
station”, while the latter is called a “passive station”. A master device has the right to control the bus when it
has bus access. Then it can transmit messages without any remote request. Transmitters, sensors, and actuators
are examples of slave devices. A slave device acknowledges any received message upon receiving a request from
a master and they can send messages to that master.
Profibus-DP (variant DPV1) is an extension of the original PROFIBUS standard. An extension contains a subset
of the functionality of the original standard and is targeted at a specific area of application.
Page 1 of 17
PROFIBUS-DP handles fast communication processes such as drives, and remote inputs/outputs (I/O)
normally encountered in factory automation. In the original version, PROFIBUS-DP allowed only one master
that communicated via the master-slave method. Multi-masters are also used in which case a slave is assigned to
one master only. It means that multiple masters can read inputs from a specific device but only one master can
write outputs to that device. The extended version of DPV1 allows up to 127 participants including up to 32
masters. A slave, however, may be allocated to only one "Class 1" master. Slaves are configured by a Class 2
master using acyclic services. The Technical data of Profibus-DP can be summarised as follows in Table 4.1:
Standard EN 50 170
Physical layer RS-485 and/or Fibre optic
Maximum length 1200 m
Number of devices 32/segment, max 4 repeaters=126 devices
Transmission rate 9.6kbps to 12Mbps
Table 4.1 Summary of Profibus-DP Features
PROFIBUS-DP is based on a linear topology (bus structure). For lower data transmission rates, a tree structure
is also possible. Up to 32 stations (masters or slaves) can be connected in a single segment. The beginning and
end of each segment are fitted with an active bus terminator (see Figure 4.2). Both bus terminators have a
permanent power supply to ensure error-free operation. The bus terminator is usually switched in the devices
or the connectors. If more than 32 stations are implemented or there is a need to expand the network area,
repeaters must be used to link the individual bus segments.
Different cable types (type designation A - D) for different applications are available on the market for connecting
devices either to each other or to network elements (segment couplers, links, and repeaters). When using RS485
transmission technology, PI (PROFIBUS & PROFINET International) recommends the use of cable type A. A
summary of the specifications for type A cable is given in Table 4.2.
Page 2 of 17
PROFIBUS cables are offered by a wide range of manufacturers; PI particularly recommends the fast connect
system which, when used with a suitable cable and special stripping tool allows fast, reliable, and extremely
simple wiring. When connecting the stations, always ensure that the data lines are not reversed. Always use a
shielded data line (type A is shielded) to ensure high interference immunity of the system against electromagnetic
emissions. The shield should be grounded on both sides where possible and large-area shield clamps should be
used for grounding to ensure good conductivity. Furthermore, always ensure that the data line is laid separately
and where possible, away from all power cables. Spur lines should not be used for transmission rates ≥ 1.5
Mbit/s. Commercially available connectors support direct connection of the incoming and outgoing data cable in
the connector. This eliminates the need for spur lines and the bus connector can be connected and disconnected
from the bus at any time without interrupting data communications. The type of connector suitable for RS485
transmission technology depends on the degree of protection. A 9-pin D-Sub connector is primarily used for
protection rating IP 20. Problems with data transmission in PROFIBUS networks can usually be attributed to
incorrect wiring or installation. These problems can often be solved using bus test devices, which can detect
many typical wiring errors even before commissioning.
4.2.2 RS485-IS
There has been great demand among users to support the use of RS485 with its fast transmission rates in
intrinsically safe areas. The PNO (in German name: PROFIBUS Nutzer organisation) (same meaning as PI) has
addressed this task and worked out a guideline for the configuration of intrinsically safe RS485 solutions with
simple device interchangeability. The specification of the interface details the levels of current and voltage
that must be adhered to by all stations in order to ensure safe functioning during operation. An electric circuit
permits maximum currents at a specified voltage level. When connecting active sources, the sum of the
currents of all stations must not exceed the maximum permissible current.
An innovation of the RS485-IS concept is that, in contrast to the Fieldbus Intrinsically Safe Concept (FISCO)
model that only has one intrinsically safe source, all stations now represent active sources. The continuing
investigations of the testing agency led us to expect that it will be possible to connect up to 32 stations to the
intrinsically safe bus circuit.
Developed specifically for the process automation to replace 4-20mA transmission, at the field level of the
industrial network hierarchy. It uses the same two-wire analogue loop copper connection carrying both power
Page 3 of 17
and data. Generally designed for external use for connecting field devices. It is slower than PROFIBUS DP and
runs at a fixed speed of 31.2Kbps using the Manchester-coded bus-powered (MBP) transmission technology.
It has two specialities: firstly, participants can draw intrinsically safe power from the bus and secondly, the
data transfer is handled according to the international standard IEC 61158-2. A maximum of 32 participants
can be connected to a PROFIBUS-PA segment.
Bus access is governed by the master/slave method. Unlike the automated applications in manufacturing
engineering which require short cycle times of a few milliseconds, other factors are of importance in process
automation, such as the following:
• The class-1 master (DPM1) is the central control unit of a system, e.g. a PLC, which exchanges data
with the field devices within a specified message cycle. Class 1 masters have the following
characteristics: tokens are passed between the masters; can write data into the slaves assigned to it and
can read data from a slave in the network; sets the data rate; and the connected slaves detect the same
data automatically. When compared with conventional techniques, the cyclic communication of the
class-1 master assumes tasks of the analogue 4 to 20 mA standardized signals and additionally enables
the bidirectional exchange of data.
Note: The DPV1 services also enable the class-1 master to have cyclic access to field device data. However,
masters available on the market as well as the current GSD specifications do not yet support this function.
• Class-2 masters (DPM2) are used for operation and monitoring purposes as well as during start-up. It
acts as supervisory masters, used for diagnostic purposes and slave commissioning, control slaves at
any given point of time, and can only read slaves but do not have written access. For example, a PC
can be used as a class 2 master. Therefore, class-2 masters require acyclic communication services
exclusively.
• A slave is a peripheral or field device which communicates only when requested by a master.
Actuators receive input information from the master and actively influence the process. Sensors
collect state and process data and provide the master with this information.
It is available for applications in process automation with a demand for bus powering and the intrinsic safety of
devices. Compared to the previously used procedure, the "Fieldbus Intrinsically Safe Concept “(FISCO) which
was specially developed for the interconnection of intrinsically safe fieldbus devices, considerably simplifies
Page 4 of 17
planning and installation. MBP is the synchronous transmission with a defined transmission rate of 31.25 Kbit/s
and Manchester coding. This transmission technology used in process automation satisfies the key demands of
the chemical and petrochemical industries for intrinsic safety and bus power using two wire-technology. The
characteristics of the different transmission technology are summarized in Table 4.4. This means that PROFIBUS
can also be used in potentially explosive areas and be intrinsically safe.
The intrinsically safe transmission technology MBP is usually limited to a specific segment (field devices in
hazardous areas) of a plant, which is then linked to the RS485 segment (control system and engineering devices
in the control room) via a segment coupler or links (Figure 4.3).
Segment couplers are signal converters that modulate the RS485 signals to the MBP signal level and vice versa.
They are transparent from the bus protocol standpoint. In contrast, links have their own intrinsic intelligence. They
map all the field devices connected to the MBP segment as a single slave in the RS485 segment. There is no limit
to the transmission rate in the RS485 segment when using links so fast networks can also be implemented using
field devices with MBP connection.
Page 5 of 17
Tree or line structures (and any combination of the two) are network topologies supported by PROFIBUS with
MBP transmission. In a line structure, stations are connected to the trunk cable using tee adapters. The multi-
core master cable is replaced by the two-wire bus master cable. The field distributor retains its function of
connecting the field devices and detecting the bus terminator impedance. When using a tree topology, all field
devices connected to the fieldbus segment are wired in parallel in the field distributor. In all cases, the maximum
permissible spur line lengths must be taken into account when calculating the overall line length. In
intrinsically safe applications, a spur line has a maximum permissible length of 30m.
A shielded two-wire cable is used as the transmission medium. The bus trunk cable has a passive line terminator
at each end, which comprises an RC element connected in series with R = 100Ω and C = 2μF. The bus terminator
is already integrated into the segment coupler or link. When using MBP technology, an incorrect connection of
a field device (i.e. polarity reversal) has no effect on the functionality of the bus as these devices are usually fitted
with an automatic polarity detection function.
The number of stations that can be connected to a segment is limited to 32. However, this number may be
further determined by the protection type selected and bus power (if any). In intrinsically safe networks, both
the maximum feed voltage and the maximum feed current are defined within strict limits. However, the output
of the supply unit is limited even for non-intrinsically safe networks.
As a rule of thumb for determining the maximum line length, it suits to calculate the power requirements of
the connected field devices and to specify a supply unit and the line length for the selected cable type. The
required current (=Σ power requirements) is derived from the sum of the basic currents of the field devices
connected in the respective segment plus, where applicable, a reserve of 9 mA per segment for the operating
current of the FDE (Fault Disconnection Electronics).
Page 6 of 17
The FDE prevents faulty devices from permanently blocking the bus. Joint operation of bus-powered and
externally fed devices is permissible. Note that externally fed devices also consume a basic current over the bus
terminator, which must be taken into account accordingly when calculating the maximum available feed
current.
Some fieldbus application conditions place restrictions on wire-bound transmission technology, such as those in
environments with very high electromagnetic interference or when particularly large distances need to be
covered. Fibre optic transmission over fibre optic conductors is suitable in such cases. The PROFIBUS guideline
(2.022) for fibre optic transmission specifies the technology available for this purpose. When determining these
specifications, great care was naturally taken to allow problem-free integration of existing PROFIBUS
devices in a fibre optic network without the need to change the protocol behaviour of PROFIBUS (layer 1).
This ensures backward compatibility with existing PROFIBUS installations. The supported fibre optic types are
shown in Table 4.5. The transmission characteristics support not only star and ring topology structures but also
line structures. In the simplest case, a fibre optic network is implemented using electrical/optical transformers
that are connected to the device and the fibre optics over an RS485 interface. This allows switching between
RS485 and fibre optic transmission within a plant, depending on the circumstances.
Some of the advantages and disadvantages of using fibre optic cables instead of copper are: Fibre optic cables
are lighter and smaller and are immune to electromagnetic interference. It is immune to differences in ground
plane potentials. It can support more complex network topologies and can be used over longer distances than
copper. The main disadvantages are that it is more expensive and difficult to handle (installation, connection,
etc). With very complex networks it may also be necessary to adjust the bus timing parameters.
Cables with differing optical characteristics are available. The method of construction, materials used, and
dimensions of the cable influence the characteristics. The cable can be single or multi-mode fibre. The cable is
further categorised by the core diameter, cladding diameter and jacket diameter. The construction of a fibre optic
cable is illustrated in Figure 4.4 with the most commonly used diameters for jacket, cladding and core indicated.
Page 7 of 17
A cable might thus be designated 10/125/250 single mode fibre or 50/125/250 multimode fibre. For multimode
fibre, the core size will be 50 or 62.5 µm and for the single mode, the core size will be 10 µm. The maximum
distances for the different fibre optic cables are indicated in Table 4.5 above. The maximum distances can be
extended using fibre optic repeaters. Fibre optic repeaters serve the same purpose for fibre optic transmission
as RS-485 repeaters serve for copper communication. Two types of connectors are generally used. They are
Bayonet Fibre Optic Connectors (BFOC) and Field-Installable Sub-miniature Assembly (F-SMA).
RS-485 is normally used in a straight-line configuration. Repeaters can be used to obtain branching. With
fibre optic cable transmission several different topologies are possible. Redundancy can also be achieved. In
Figure 4.5(A) a straight-line topology is followed. This can be used in a noisy environment where fibre optics
are used, and only short runs of copper are used for the devices. In Figure 4.5(B) a star topology is used. It should
be noted that for any break in the fibre optic when using redundancy topology, there will still be an alternate path
to any of the repeaters and thus to any copper segment.
When planning installation certain aspects need to be considered and some variables need to be calculated.
Aspects that must be considered are the following:
When selecting a segment coupler, the type of atmosphere (environmental conditions – hazardous atmosphere
or normal) should be taken into consideration. If it is a hazardous atmosphere the zone/explosion group and
type of protection required should be known and the appropriate devices selected. Devices that are classified
as non-ex may not be operated in an explosion-hazardous area. Segment couplers are available from various
manufacturers for ex and standard conditions.
Page 8 of 17
The maximum length of the segment depends on the protection required for the segment and the specification
of the cable. For the basic requirements for transmission on the IEC 61158-2 physical layer to be fulfilled and the
inductance and capacitance of the cable can be neglected, the bus length and loop resistance are limited. The
Profibus-PA specifications are listed in Table 4.6 below.
Standardised power supplies are assumed with maximum loop resistance and bus length for various applications
(standard and explosion-proof). The bus length is the length of the trunk and all spurs. The length can be
doubled by using a repeater. When using spurs, the following should be kept in mind:
Keeping the limits in Table 4.7 above in mind, the maximum cable length for a particular cable type can be
calculated as follows:
For maximum loop resistance of segment coupler, see Table 4.6 If it is not given the loop resistance is:
Ω
(𝐿𝑜𝑜𝑝 𝑟𝑒𝑠𝑖𝑠𝑡𝑎𝑛𝑐𝑒) 𝐾𝑚 = 2 ∗ 1000 ∗ ρ/A.
Page 9 of 17
The loop resistance of the various cables is available from the manufacturer of the cable. In general, a value of ≤
44 Ω/km is normal for the cable resistance. Table 4.8 list examples of cable available from different
manufacturers.
The number of devices in a segment is primarily determined by the current that can be supplied by the power
supply. When designing a system, the current consumption has to be calculated for each segment.
• In non-hazardous areas 32 devices per segment are permissible. A repeater can be included to
increase the number of devices in the segment.
• In the hazardous areas category (ia), 10 devices are allowed. To do the calculation the following is
required to be known:
➢ The current supplied by the segment coupler Is
➢ The basic current of each device IB and
➢ The fault current of each device IFDE.
The basic current, fault current and other specifications can be obtained from the manufacturers of the devices.
Due to the length and resistance of the cable, a volt drop on the segment will occur. The volt drop is the largest
at the last device in the segment furthest from the segment coupler. An operating voltage of at least 9 V (for Zone
0, and 9,6 V in Zone 1) is required for a Profibus-PA device to operate.
UB = US – (ISEG x RSEG)
Where:
Page 10 of 17
The following example is for a bus in a safe area. The layout of the bus is shown in Figure 4.6 below and a
standard Siemens Segment coupler is used. The specifications for the segment coupler are as follows:
Is = 400 mA and Us = 19 V. The cable is Siemens and has a cable resistance of 44 Ω/km.
Maximum loop resistance for a standard segment coupler (Table 4.6 – standard cable) =39Ω. The specific
resistance of the cable = 44 Ω/km
Level
Control Level
Valve
Temp
Transmitter
Temp Control
Transmitter Valve
Flow Flow
Transmitter Transmitter
Flow Flow
Transmitter Transmitter
Control Control
Valve Valve
1000∗39
Maximum allowable length (in m) = (1000 x loop resistance)/specific resistance = = 𝟖𝟖𝟔. 𝟑𝟔 𝒎
44
Therefore, Maximum allowable length (886,36m) > Total length of cable (201m)
The following table shows the devices used and the current consumption of each device.
Level transmitter 2 11 mA 0 mA
Valve positioner 4 13 mA 4 mA
Current consumption: ISEG= ⅀IB + maximum IFDE = 148 + 16 = 164 mA
Is ≥ ⅀ IB + Max IFDE
Given information:
Thus, Voltage at the last device = 17,55 V which is more than the required 9 V
Conclusion
The Cable Length, Voltage at the last device and Current are within the specified limits. The installation is
therefore in order.
The PROFIBUS-PA segment is to operate in an explosion-hazardous EEx ia area. In accordance with the FISCO
model, the devices are on two separate segments with the type of protection EEx ia for Zone 0 and EEx ib for
Zone 1. Calculations are made for both segments. The Temperature and Level devices are in an EEx ia, Zone 0
environment while the rest of the devices are in an EEx ib, Zone 1 environment. The layout of the equipment is
shown in Figure 4.7.
Page 12 of 17
Max. length (m)= 1000 x loop resistance/specific resistance = 1000 x (40 Ω/44 Ω) = 909 m
The segment in the hazardous area Zone 1 is shown in Figure 4.7. A Segment coupler [EEx ia/ib] IIC with the
following specifications is used: Is = 100 mA, Us = 13 V. The cable is Siemens with a specific resistance = 44
Ω/km
Max. length (m) = 1000 x loop resistance/specific resistance = 1000 x (16 Ω/44Ω) = 363 m
The segment consists of 4 valve positioners and 4 flow meters. The flow meters are identical and each has a basic
current of 12 mA. The fault current for the flow meters is 0 mA. The positioners have a basic current of 13 mA
each and 3 of the positioners have a fault current of 4 mA. One of the positioners has a maximum fault current of
6 mA. This is the highest fault current and is to be used in the calculation. The current consumption will thus
be:
⅀ISEG + IFDE = (4 flows meter x 12 mA) + (4 positioner x 13 mA) + (4x6 mA) = (48+52) + 24 mA = 124 mA
The segment coupler is therefore not suitable. An alternative segment coupler can be used, or the segment
can be divided as will be shown below in Figure 4.8. An alternative segment coupler with a maximum current
of 280 mA is available.
Page 14 of 17
The output voltage of segment coupler US according to manufacturer's data = 13 V Specific resistance of cable
RK (given information) = 44 Ω/km
In the above case, the current consumption is too high. An alternative is: that two segments with type of protection
EEx ib are routed to one trunk each to measure the level and temperature. In this case, the current consumption
is reduced to 56 mA. A segment coupler with the type of protection EEx ia IIC is adequate for this requirement.
This arrangement is shown in Figure 4.8 below.
If the participants communicate directly with the PROFIBUS-DP master through a segment coupler, then the
amount of data exchanged sets no limits to the design of the PROFIBUS-DP segment. If a link is used as an
interface to the PROFIBUS-DP system, however, the amount of data that can be stored in the I/O buffer is limited.
The maximum telegram length that can be handled by the PLC must also be taken into consideration. The
length of data and the maximum length of the data telegram vary and should be checked with the
manufacturer of the equipment.
Page 15 of 17
Example 1: Determine if the devices in Figure 4.6 can be connected to a Profibus –DP segment using a link
module. The following information is given: The temperature and the level transmitters require 5 bytes each. The
flow transmitters require 6 – 51 bytes each. The 4 positioners require 0 – 15 bytes each.
Calculation:
= 44 – 284 bytes
Depending upon the device configuration, from 44 bytes to 284 bytes is periodically exchanged with the PLC. In
the case of a link, the data are transmitted to the PLC in a telegram. The telegram length is limited by:
As can be seen, the use of a link is determined by the configuration of the field devices and the system
components used. Should the maximum configuration be required, a link could not be used due to the length
of the communications.
In addition to the amount of data, the cycle times must also be considered when the PROFIBUS-PA segment is
planned. Data exchange between a PLC (a Class 1 master) and the field devices occurs automatically in a
fixed, repetitive order. The cycle times determine how much time is required until the data of all the devices
in the network are updated. The more complex a device is, the greater the amount of data to be exchanged
and the longer the response time for the exchange between PLC and the device. The amount of data and the
response times for the various devices from different manufacturers can be obtained from the manufacturers.
The total cycle time for the updating of network data is calculated as follows:
Total cycle time = Sum of the cycle times of the field devices + internal PLC cycle time + PROFIBUS-DP
transmission time.
The total cycle time of a system can be reduced considerably using links. The Link’s limitation placed on the
transmission rate of the PROFIBUS-DP side by a segment coupler is eliminated.
4.4.9 Addressing
Every device in the bus system is assigned a unique address. Valid addresses lie in the range of 0...126. If the
address is not set correctly, the device cannot communicate.
Page 16 of 17
The PLC can assign up to 126 addresses to individual devices. A device address may appear only once within
a particular PROFIBUS-DP system. If a segment coupler is used, then the addresses assigned to the
PROFIBUS-PA devices count as PROFIBUS-DP addresses. For a typical bus configuration with PLC and
PC, the addresses are assigned as follows:
If one or more links are in use, these are considered to be on the PROFIBUS-DP network. However, the field
devices connected to the link form a separate PROFIBUS PA system. In this case, the PROFIBUS-DP
addresses are assigned as follows:
The field devices connected to the link are assigned a unique address for the PROFIBUS-PA segment of
which they are part. They are not counted as part of the PROFIBUS-DP system.
• the rest of the addresses are assigned to the other field devices that are connected to transparent
segment couples or directly to the PROFIBUS-DP system.
On the PROFIBUS-PA side, every device is assigned an address between 3 and 126, (the addresses 0 and 1 are
reserved). Address 2 is reserved for the link.
Page 17 of 17