Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Modbus Communication Errors

Industry Automation and Control Forum

This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • Industry Automation and Control Forum
  • Modbus Communication Errors
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
31
LeTomas
Lt. Commander LeTomas Lt. Commander
11
RoozeeR
Lt. Commander RoozeeR Lt. Commander
6
JerryBartlemay
Lieutenant JG JerryBartlemay Lieutenant JG
6
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Hybrid DCS
product field
Schneider Electric
Modicon M580

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Industry Automation and Control Forum
EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-04-17 01:22 AM

0 Likes
16
12513
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-17 01:22 AM

Modbus Communication Errors

Hi everyone,

We are constantly facing communication loss between Modbus Devices (TeSys, ATS48, PM8000, SEPAM...) and PLC (M580 Hotstanby) in our Ecostruxure Hybrid DCS system ,  with recurrent following alarms for instance; Device Failure, Comm Error, ... (refer to the attached images). Devices stop randomly; we have a yellow Bell on our SCADA (SCADA Citect) and you only need to acknowledge the alarm on SCADA to get the communication back. Notice that this issue occurs on different zones randomly and too many times. 
What could be the main reason, knowing that we explored many possibilities  (Earthing, harmonics, performed some software changes such as adjusting number of Active Message Requests on Egx Gateways settings or eNOC port settings; hardware issues such as cables, gateways or switches...) ?
 
Thank you
Attachments
Labels
  • Labels:
  • Hybrid DCS
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 16
Mnabil
Lieutenant JG Mnabil Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-17 10:29 AM

0 Likes
1
12488
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-17 10:29 AM

Hello @EngYoug006 

the error has many reasons such as cable, number of devices on each loop, number of requests,,, and setting parameters like timeout on EGX or gateway.
Please share with me the architecture or the network and the protocols that we are using.

on the other hand, please check the timeout setting on both sides of the M580 and EGX also check the repetitive rate in M580

Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-04-18 02:41 AM

In response to Mnabil
1 Like
0
12476
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-18 02:41 AM

Hi @Mnabil 

 

Kindly find enclosed some pictures of our communication architecture as it appears on SCADA and a PDF of our main network.

As you will notice on the diagram, we opted for a Schneider standard topology which consists of Main RSTP FO ring (PLC and Field), VFDs Modbus TCP sub-rings, star topology (using hubs before gateways) for Modbus Serial devices. Main and redundancy ETH networks (Control room). We also used DRS Connexium Switches which ensure communication with eNOC ports ( I am also wondering if switches do not have something to do with these issues).

Regarding software config in Hybrid DCS, we adjusted Active Message Requests of gateways as per number of Modbus Clients connected to each gateway but still we have intermittent and unstable communication.

On the other hand, I will check timeout settings as you recommended.

 

I remain at your entire disposal for any detail.

 

Kind regards

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Mnabil
Lieutenant JG Mnabil Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-30 12:29 AM

0 Likes
2
12405
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-30 12:29 AM

I did not see any obvious issue in configuration or system architecture, but it seems the problems accrue more in the devices that are linked to EGX , so please check the EGX settings, I attached print screens for some recommended setting  

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-04-30 01:30 AM

In response to Mnabil
0 Likes
0
12404
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-30 01:30 AM

Yes exactly, errors occur  with Modbus devices connected to EGX gateways. I will make these recommended changes and see what happens. 

Other thing, Should I put the same value (32) for "number of active sends" on hybrid DCS config noting that the max value should be 4 according to doc ? See attached pictures.

NB. A max of 8 Modbus clients is linked to each gateway in our case.

 

Regards

 

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-04-30 02:08 AM

In response to Mnabil
0 Likes
0
12400
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-30 02:08 AM

PS. We have some EGX with firmware where I can't find max connections parameter, is 32 by default ?

Attached pictures.

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Mnabil
Lieutenant JG Mnabil Lieutenant JG
Lieutenant JG

Posted: ‎2023-04-30 02:15 AM

0 Likes
7
12397
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-04-30 02:15 AM

it is Okay, try to set it to the max value and make the time out 1 sec or 0.5 sec

Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-05-02 08:06 AM . Last Modified: ‎2024-10-25 12:51 PM

In response to Mnabil
0 Likes
6
12356
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-02 08:06 AM . Last Modified: ‎2024-10-25 12:51 PM

Hi again @Mnabil ,

 

In fact, I applied recommended changes on EGX SP timeout  as well as for max connections and put  "number of active sends"  setting on its max value i.e 4, no improvement so far.

I have another probability even though it does not affect other Modbus devices in other MCCs, shall we use EOL resistors VW3A8306RC on X10 port (Out port on LU9GC3 Hubs with Star Topology) to prevent EMI on devices ? See attachments.

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Mnabil
Lieutenant JG Mnabil Lieutenant JG
Lieutenant JG

Posted: ‎2023-05-02 11:17 AM

In response to EngYoug006
1 Like
5
12352
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-02 11:17 AM

I tested to add the EOL resistor but usually no enhancement, could you advise what are the numbers of devices or the requests  in each Modbus \EGX loop also Please check the EGX diagnostic and the amount of data 

Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-05-02 01:00 PM

In response to Mnabil
0 Likes
3
12350
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-02 01:00 PM

We already checked and tried to adapt the famous setting on hybrid DCS number of active sends" as per the number of devices on each gateway but didn't get concluding results. Nonetheless, number of Modbus devices on EGX settings (webpage config) is set at default value: 10 devices starting with register 1000. Regarding diagnostics, we have communication errors on our EGX exactly where we lose com PLC-Clients. 

I will share with you some screens to make it clear.

Reply

Link copied. Please paste this link to share this article on your social media post.

Robert_Willis
Lieutenant JG Robert_Willis Lieutenant JG
Lieutenant JG

Posted: ‎2023-05-02 01:49 PM

In response to EngYoug006
2 Likes
2
12345
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-02 01:49 PM

The EGX150 is a Modbus TCP/IP to Modbus Gateway and per the Modbus specification the EGX150 is the Master, and the connected devices are the slaves. Each individual Modbus Message MUST complete with a good or bad reply, before the next message is sent. The EGX150 has some communication buffers but is incapable of keeping up with a I/O scanner that is opening all of the connections at one time and sending multiple Modbus messages to multiple slaves and results in total communication failure. There should be a setting in PES to indicate that the I/O scanner is operating through a bridge and this needs to be checked. This option will open a single socket to the EGX150 and then send the Modbus messages. 

To verify that the EGX150 is working correctly stop all communication from PES and use a Modbus Simulator to verify communication to each device. I typically use this to test the response time of the Modbus RS485 network and through the years I have used 150 - 200ms as a general rule of thumb per Modbus device as a starting point. Decrease the time on the simulator and determine when the slave device is unable to respond. to the request before the timeout occurs.

Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-05-02 02:13 PM

In response to Robert_Willis
1 Like
0
12342
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-02 02:13 PM

@Robert_Willis Thank you for your response. I will first of all have to find the PES I/O setting then test RS485 by next plant shutdown. I'll certainly be back to you for more details.

 

Kind regards 

Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-05-03 12:41 AM

In response to Mnabil
0 Likes
0
12327
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-03 12:41 AM

Hi @Mnabil,

 

Here are some EGX screens about our yesterday's conversation.

 

Best regards

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-05-03 02:27 AM . Last Modified: ‎2023-05-07 02:49 AM

In response to Robert_Willis
0 Likes
0
12325
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-03 02:27 AM . Last Modified: ‎2023-05-07 02:49 AM

HI @Robert_Willis,

 

I want to share with you some pictures and Communication Control Guide.PDF, Diagnostics Control Services Guide.PDF,  so that you have better understanding of our Modbus network  topology on PES and some examples with templates' settings and their FBDs.

Frist, notice that we used PES Foudation Library Templates for needed devices for instance $TSysUAdvCtlMB, $EGtwMB, $EMPortM...as it appears on pictures. These templates are already programmed and designed for Schneider products most in use, then it makes it simpler and easier to work.

So as a short abstract, Modbus devices communicate with M580 eNOC Port (Ethernet) through EGX (which converts modbus serial RS485 to Ethernet). See Communication Control Guide, Chap15, Pg 124.

Therefore I need your help to find the I/O scanner bridge setting (if applicable in our case or another setting). 

By the way, please advise some Modbus simulator software and its tuto and doc. Thank you.

 

I remain at your disposal for any details and suggestions.

 

Kind regards

 

 

Attachments
COM Diagnostics.rar
Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug006
Ensign EngYoug006
Ensign

Posted: ‎2023-05-10 01:43 AM

0 Likes
1
12250
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-05-10 01:43 AM

Hi everyone,

 

Could redundancy configuration have something to do with our issues ?

See attached pictures.

 

Regards

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

DVarnerMinn
Ensign DVarnerMinn
Ensign

Posted: ‎2023-12-27 08:46 AM

In response to EngYoug006
0 Likes
0
9395
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-12-27 08:46 AM

I have seen similar issues in the past.

 

Have you found a solution to this?

 

Reply

Link copied. Please paste this link to share this article on your social media post.

EngYoug06
Crewman EngYoug06
Crewman

Posted: ‎2023-12-29 06:36 AM

0 Likes
0
8817
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-12-29 06:36 AM

Hi @DVarnerMinn ,

 

Not really, we had to go for another solution, let's say a radical one: replacing EGX by PLC and we noticed remarkable enhancements and a better stability. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of