I have problems with listing of DB’s for some CPU’s
I am writing my program in c++ but for this test I am using your rich-client demo “clientdemo”
The CPU’s I have tested with and failed is WinAC RTX, CPU416-2, CPU318-2
Al this has PDU size of 480byte, I have newer seen this problem for PLC whit PDU size 240byte. The problem occurs when the PLC has more than 112 blocks of the same type (ex. DB).
In your program, if I press “Block list” it report the right amount of blocks but if I chose ex. DB and press “List block of type” It reports:
“ISO : An error occurred during recv TCP : Connection timed out”
Best regards,
Hans Lilläng
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I issue with the same problem. When there are to many blocks of the same type. I got the the same error (“ISO : An error occurred during recv TCP : Connection timed out”). I've used following code in c#. Is there a solution or a work around for this problem?
ushort[] DBArray = new ushort[1024];
S7Client.S7BlocksList BlockCount = new S7Client.S7BlocksList();
I have problems with listing of DB’s for some CPU’s
I am writing my program in c++ but for this test I am using your rich-client demo “clientdemo”
The CPU’s I have tested with and failed is WinAC RTX, CPU416-2, CPU318-2
Al this has PDU size of 480byte, I have newer seen this problem for PLC whit PDU size 240byte. The problem occurs when the PLC has more than 112 blocks of the same type (ex. DB).
In your program, if I press “Block list” it report the right amount of blocks but if I chose ex. DB and press “List block of type” It reports:
“ISO : An error occurred during recv TCP : Connection timed out”
Best regards,
Hans Lilläng
Thanks for the report, I will investigate.
I issue with the same problem. When there are to many blocks of the same type. I got the the same error (“ISO : An error occurred during recv TCP : Connection timed out”). I've used following code in c#. Is there a solution or a work around for this problem?
ushort[] DBArray = new ushort[1024];
S7Client.S7BlocksList BlockCount = new S7Client.S7BlocksList();
Client.ListBlocks(ref BlockCount);
DBResult= Client.ListBlocksOfType(S7Client.Block_DB,DBArray,ref BlockCount.DBCount);
Best regards.