Professional Documents
Culture Documents
Troubleshooting Profibus PA
A practical example
Industrial Communication
1
Trends in Instrumentation
Troubleshooting Tool Figure 1: The control system includes two Profibus DP networks with a Siemens APACS DCS
2
Trouble shooting Profibus - A practical example
Figure 3: One of the panels shows violation of Profibus DP wiring guidelines Figure 7: “T” connector junction box with M12 connectors
antennas were not mounted correctly. It Below is a summary of the four major In the case of segment 2, the waveform
looked like they had not been tightened problems that we found, and how they peak to peak is over 800mV. The distor-
enough and had slipped. Once we looked were determined. tion at the top and bottom is similar to a
at the Profibus bus monitor and looked at segment that is missing a terminator. Just
the retry rates to the different stations, Problem 1 looking at the waveform, we thought
we saw that the ones with the largest that we were examining a long run with
retry rates were also the ones with the Figure 4 shows the waveforms from seg- a missing terminator. However, the run
mounting issues. ment 2, which with its angled peaks and was under 500 meters, which is not that
valleys shows there is a problem. Figure long; so what else could be causing that
Fixing the antennas improved things to 5 shows an ideal wave form in Profibus level of distortion?
a point where the DCS was no longer PA. Figure 6 shows the waveform of a
getting Profibus error messages. We were short run with no terminator. After verifying that there were indeed
still getting retries, but given the high two terminators on this network, we
electrical noise and the number of ob- We call this a problem in the sense that started looking at how it was wired in de-
stacles in the Chemical Plant, there were the waveform is not consistent with the tail. This required reading some specifica-
limits to how much we could improve the ideal waveform; the peak to peak volt- tions and doing a few lab bench tests.
performance of the network. age is too high and the peaks and valleys
are distorted. When we attached the bus We found the answer at the T-connectors
Troubleshooting Profibus PA monitor to the segment, we saw zero and cable types that had been mixed
retries and zero errors on this segment. (Figure 7). The site was using Siemens
The Profibus PA segments proved to be All the instruments were properly func- T-connectors and Belden Profibus PA ca-
far more interesting and far more chal- tioning, but we were not content with ble. The Siemens T-connectors are vam-
lenging. The first phase of the investiga- the overall result. We were also getting a pire type connectors and are designed
tion was to attach the Profibus bus moni- similar waveform from most of the other to match the impedance of the Siemens
tor and the oscilloscope to each Profibus segments, many of which were having Profibus PA cable. The IEC 61158-2 stan-
PA segment to get an overview of what communication problems. Something dard does not state an exact specifica-
was going on. was not right. tion for class A cable. It states a range.
Therefore one manufacturer will pick one
Since these segments were located in An ideal waveform has a peak to peak set of values and another vendor will pick
intrinsically safe areas, we needed a hot voltage of around 800mV (Figure 5). If another. When you mix cable types, you
work order before we opened each cabi- you are missing a terminator, then you get reflections similar to what you get
net. Each area was checked for chemical get a peek to peak voltage of around when you are missing a terminator; only
vapor and all necessary people were noti- 1.5 V and distortions at the top and bot- to a lesser degree. In this case, the site
fied, which took about an hour for each tom (Figure 6). Also, as you increase the was unknowingly mixing cable types.
cabinet. Checking out a large network in size of the network, the peak to peak We concluded that given the size of their
an intrinsically safe area requires a con- voltage is lowered. wire runs, this was not a problem for
siderable amount of time. communications; the bus monitor sup-
3
Trends in Instrumentation
Figure 4: Segment 2
waveform; the angled
peaks and valleys indi-
cate problems.
4
Trouble shooting Profibus - A practical example
Figure 6: Waveform
when missing one
terminator.
Fig. 8: Segment 1.
5
Trends in Instrumentation
Fig. 9: Trace from Segment 1: showing framing errors and illegal messages Fig. 10: Temperature transmitter incased in water
ported this. Had this been a non-IS envi- it was natural to assume that it was the transmitters, water started to shot out
ronment with long wire runs, then this electrical noise that was causing this from around the seal and we saw what
wire practice would have been a prob- problem. However, once we solved that the problem was (Figure 11). The unit
lem. The ultimate solution would have problem by drying the connectors and was installed correctly except that where
been to switch out the T-connectors for tightening them, the communication the conduit ended it was not sealed (Fig-
Profibus PA junction boxes. problem with the Sitrans LR250 did not ure 12). Water collected via the conduit
correct it self. From prior experience, we until the temperature transmitter was
Problem 2 know that another cause of the framing completely under water.
errors and illegal messages could be two
Figure 8 shows the waveform from seg- devices with the same address. So we To our amazement we could still com-
ment 1. went up to each field device and veri- municate to all the radar devices on this
fied the address. We found two devices segment and it was in full data exchange.
When we looked at this, we figured that with the same address. The solution was When we tried to do a download with Si-
there were interferences from power simple to change the address in one of matic PDM, we received communications
cables or Variable Frequency Drives the devices to the address that it was errors on the long messages, but given
(VFD). However, when we traced the wire supposed to have. Once we did this, the that several of the instruments were un-
runs, we could not find any sources for bus errors disappeared. derwater, we would not have expected
electrical noise. During our wire tracing any communications at all.
procedure, we opened the cabinets that Problem 4
held the T-connectors with the M12 con- These were also the instruments that the
nectors. These cabinets were not sealed On segment 10, we had the power light customer was reporting losing connec-
correctly and had water dripping from on the Profibus DP/PA Coupler blinking. tion with – not a big surprise. Once the
the M12 connectors (Figure 7). Also, the Since we had only ever seen this light as instruments that were underwater were
M12 connectors were connected with a solid green, we checked the manual. replaced and the conduits were properly
only a half turn. A tight connection re- The manual said that this indicated that sealed, this problem disappeared.
quires several complete turns, and these the segment was drawing too much
connectors were just barely touching. power and the current was being limited. Conclusions
After we dried tightened the connectors On this segment we had a number of
the waveform cleaned up. Sitrans LR250 level and Sitrans TH400 This site visit definitely showed how
temperature transmitters. We were com- robust Profibus is. With the site installa-
Problem 3 municating to the level devices but had tion issues we found, the network should
lost communications to some of the not have even worked. Yet the operators
On this same segment, we were also hav- temperature transmitters. Therefore, we were getting data which met their update
ing trouble communicating to a Siemens thought we were probably dealing with requirements.
radar level transmitter (Sitrans LR250). an overloaded segment – too many de-
We connected the Profibus bus monitor vices and/or too long. The systematic troubleshooting method
program and saw Figure 9. that we followed worked very well. How-
Given the waveform shown in figure 8, When we opened one of the temperature ever, interpreting the data required some
6
Trouble shooting Profibus - A practical example
Reference:
‘A Guide to Troubleshooting Profibus PA
Networks’, James Powell, P.Eng. James Powell, P.Eng. is Product Manager
Communications Systems at
Siemens Milltronics Process Instruments Inc.
www.siemens.com/processautomation
7
Trends in Instrumentation