Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 28, 2017, 05:44:12 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Communication issue  (Read 3890 times)
Henryp
Hero Member
*****
Posts: 129


« on: May 10, 2016, 04:41:37 pm »

I’m using a Modbus gateway to talk to a few multi-dropped RS485 VFDs and other devices in a motor control center. The units have device IDs of 1 to 5. It appears that when one of the devices gets turned off for maintenance it causes the other devices to stop communicating. I was able to duplicate the problem by creating two Kepware OPC devices, one with a valid device ID and the other one with an invalid device ID. When I turn on data collection for the invalid device ID, I see the valid device error out.
Logged
Gummi Ben
Jr. Member
**
Posts: 15


« Reply #1 on: June 19, 2017, 04:45:42 am »

Hello, I have the same issu, did you get any solution to your problem ?

Best regards

Guğmundur
Logged
Henryp
Hero Member
*****
Posts: 129


« Reply #2 on: July 20, 2017, 12:43:19 pm »

No I did find a solution.
Logged
Garyhlucas
Hero Member
*****
Posts: 128


« Reply #3 on: July 20, 2017, 06:45:33 pm »

I have 8 VFDs on Modbus and the communications are done via a series of stages. When a drive is intentionally off I skip the appropriates stages. Every stage with a Modbus block ends on the success bit AND the error bit, so communication continues to all the other drives. The difference between success and error bits is that errors generate alarms too.

Hope this helps.
Logged
Mike Nash
Hero Member
*****
Posts: 437


« Reply #4 on: July 21, 2017, 02:31:01 pm »

If a timeout occurs, I set a bit to disable talking to that device for awhile (timer), then try again later. You do get the one long delay, but then the rest get updated quickly while the one that stopped talking sits in the timeout corner. I watch for awhile to see how long all good communications takes then set the timeout a bit longer than that.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM