Menu

listing of DB’s not working for some CPU's

2015-02-24
2015-09-28
  • Hans Lilläng

    Hans Lilläng - 2015-02-24

    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

     
  • Davide Nardella

    Davide Nardella - 2015-02-24

    Thanks for the report, I will investigate.

     
  • lapie

    lapie - 2015-09-28

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB