EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 04:14 PM . Last Modified: 2024-04-05 12:17 AM
(CID:130092500)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 04:14 PM . Last Modified: 2024-04-05 12:17 AM
Dear guanyc,
Thank you for your logs, I looked at them and I can identify a number of common errors:
SLAVE_DEVICE_BUSY
GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND
SLAVE_DEVICE_FAILURE
Which for obvious reasons lead to the appearance of a DCE daemon scanning error:
modbus_process_timeout_cbk: read timed out for host 122.192.1.32
Therefore, it is possible to say with a high probability: considering, that you have at least 6 slaves connected on the same Modbus serial line, you have an hardware problem of a Modbus serial line.
For this reason, there are a lot of simple recommendations, for example, my answer to the post :
- reduce number of Modbus slave devices on one IP address (to 5-8);
- reduce the frequency poll of Modbus slave devices (one poll in 2-3 minutes);
- increase the number of attempts of poll for each of problem Modbus slave devices (not 3, and 5-6 attempts – for DCE-7.3.1 and newer);
- increase timeout between unsuccessful attempts poll of Modbus slave devices (for example, up to 15 seconds – for DCE-7.3.1 and newer).
As option it is possible to reduce number of sensors, which are read out on Modbus slave devices.
And at last, to try to understand, and probably to reveal and eliminate defects of the Modbus serial communication line between Modbus devices. Practically, the last recommendation can be the most effective and useful.
I hope this helps you.
If you have any questions, please ask.
With respect.
(CID:130092563)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 04:14 PM . Last Modified: 2024-04-05 12:17 AM
Dear guanyc,
Thank you for your logs, I looked at them and I can identify a number of common errors:
SLAVE_DEVICE_BUSY
GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND
SLAVE_DEVICE_FAILURE
Which for obvious reasons lead to the appearance of a DCE daemon scanning error:
modbus_process_timeout_cbk: read timed out for host 122.192.1.32
Therefore, it is possible to say with a high probability: considering, that you have at least 6 slaves connected on the same Modbus serial line, you have an hardware problem of a Modbus serial line.
For this reason, there are a lot of simple recommendations, for example, my answer to the post :
- reduce number of Modbus slave devices on one IP address (to 5-8);
- reduce the frequency poll of Modbus slave devices (one poll in 2-3 minutes);
- increase the number of attempts of poll for each of problem Modbus slave devices (not 3, and 5-6 attempts – for DCE-7.3.1 and newer);
- increase timeout between unsuccessful attempts poll of Modbus slave devices (for example, up to 15 seconds – for DCE-7.3.1 and newer).
As option it is possible to reduce number of sensors, which are read out on Modbus slave devices.
And at last, to try to understand, and probably to reveal and eliminate defects of the Modbus serial communication line between Modbus devices. Practically, the last recommendation can be the most effective and useful.
I hope this helps you.
If you have any questions, please ask.
With respect.
(CID:130092563)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 04:15 PM . Last Modified: 2024-04-05 12:17 AM
Dear sir,
Thank you for reply!
1. I have 6 devices divided into 2 groups, one has 2 and the other has 4. The new modbus TCP gateway
supports isolation(by different ports), it works properly now.
2. I set the timeout to 60 seconds, but in journal it appears not as long as 60 seconds.
3. Can you give some test documents or softwares for serial lines?
(CID:130093906)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 04:15 PM . Last Modified: 2024-04-05 12:17 AM
Dear guanyc,
2. I set the timeout to 60 seconds, but in journal it appears not as long as 60 sec
If I understand you correctly, and this is really a connection timeout, then this is too much.
Remember: the more you have connected slaves on one same serial line, the less connection timeout should be. Otherwise, the DCE-server will wait too long for communication with only one slave device (especially when the connection is bad) and deny service to other slave devices. Practically, the communication timeout should be selected no more than 10...15 seconds with several slave devices.
To be exact, please show a screenshot from your DCE-7.4.3 where it would be nice to see the scan parameters of any your problem TCP Modbus slave device.
3. Can you give some test documents or softwares for serial lines?
I've been using the simple yet powerful utility Modpoll Modbus Master Simulator for a long time. This utility exists for different platforms, has an excellent help and is easy to use. With the help of this utility it is possible to perform a good diagnosis of your serial communication lines.
Also, do not forget, that the very first point for diagnosing your serial communication line should be directly a TCP/IP Modbus gateway. Any good TCP/IP Modbus gateway should have a statistics menu, where in an accessible form you can find out if there are any errors or problems on the serial communication line? This is a very important point, about which I wrote in detail in a similar topic , for example:
I hope this is what you need.
With respect.
(CID:130094034)
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-07-04 04:15 PM . Last Modified: 2023-10-22 01:26 AM
This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.