Jump to content

Failed reading DataTables structure from PLC


Elfstone

Recommended Posts

Good morning,

 

I use .NET driver dll since 2011 to communicate between our software and several PLC.

Recently, we move the server (on wich our software run)  from Paris (France) to Hambourg (Deutshland).

PLC still remains in Paris.

Server ask every 10 seconds all the PLC and sometimes I have an issue (almost 1 per hour) :

 

"Failed reading DataTables structure from PLC. Details :

Source array was not long enough. Check srcIndex and length, and the array's lower bounds"  Source : Unitronics.DataTables

 

This error never occured before.

TimeOut may be the cause ?

 

Versions are as below :

Unitronics.DataTables.DLL (1.0.0.13) and Unitronics.ComDriver.DLL (1.0.0.13)

 

Thanks a lot for your help

Link to comment
Share on other sites

You can try increasing the timeout, maybe it will help (but my guess that it will not).

Maybe once in 10 seconds is too much (since you are connecting to several PLCs). You should consider the latency.

Reading the structure and values probably requires several packets to be sent from and to the PC, and since now the distance from the PC to the PLC is larger, then the request might not finish in time. (And maybe several requests in the Data Tables DLL are mixing)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.