Troubleshooting Modbus RTU Integration with Siemens Devices: Solutions for Packet Loss and Interface Issues

Question:

Hello, Our company is in the process of developing a custom controller for our advanced alarm system, which features multiple ports with various interface types, including a dedicated port for Modbus communication. We utilize Modbus to connect with several external systems, and in one specific project, we are integrating Modbus RTU with 25 slaves, all of which are Siemens devices. This includes several frequency drives and primarily Simocode starters. Typically, we operate with a single node, handling all data transmission through point-to-point communication, rather than deploying multiple dropped slaves. However, we are currently facing packet loss issues with this setup. We’ve experimented with numerous adjustments and are in the process of upgrading our cabling to a two-wire Profibus cable, as opposed to the previous two-wire twisted pair. I have reservations about whether this change will resolve our issues, as it appears there may be compatibility problems with the Modbus message format in relation to the Siemens slaves. If that is indeed the case, I would like to understand how teams typically address interface problems, particularly when the issues may be embedded in the Modbus message payload. I’m aware that noise-related issues can be diagnosed with scopemeters, but what steps can be taken when protocol discrepancies arise due to different manufacturers? How can these differences be accurately identified? I appreciate any insights or guidance you can provide! Thank you!

Top Replies

Are you experiencing issues with missing complete responses or only parts of them? If it's the former, there may be a problem with the synchronization between your request and reply. On the other hand, if you're only losing portions of the replies, it could be due to several factors: you might be using a baud rate that is too high, encountering noise interference, or perhaps your setup lacks terminal resistors at either end. Keep in mind that transmission over two wires operates in half-duplex mode, meaning it cannot send and receive data simultaneously. As a result, each time a request is made, the system needs to wait for the response before it can send out another request.

Several of the responses are functioning, indicating that some level of communication is established. However, we are experiencing intermittent packet loss on certain slave devices, which appears somewhat erratic. We analyzed the communication signals, and from my observation, the pulse waveform appears to be consistent, suggesting that there may not be a signal-related issue. Our system identifies packet loss when responses to requests are not received within a specified timeframe.

What is the physical configuration? Is it structured as a single wire daisy chain? Ideally, the first step is to isolate specific sections of the network to determine the source of the problem. Using a Modbus master simulator can help facilitate this process and guide you in troubleshooting effectively.

In a Modbus RTU communication system, new queries cannot be transmitted until the previous ones either time out or receive a response, as it operates in half-duplex mode. Is this consideration accounted for on the master side?

Modbus RTU protocol utilizes silence intervals to identify the termination of data packets and to reset receive buffers. Certain devices strictly enforce these rules and may disregard a packet if the buffer is cleared too soon due to insufficient silence. Does your system comply with the essential silence timing requirements of 3.5 and 1.5 character intervals?

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

You must be a registered user to add a comment. If you've already registered,
sign in. Otherwise, register and sign in.

Frequently Asked Questions (FAQ)

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  →