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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...