NBS.TCP_Read Function Block

Anonymous
2019-06-12
2019-06-13
  • Anonymous - 2019-06-12

    Originally created by: ph0010421

    Hello
    I'm using the 'Network' library from Utils to create a TCP Client.

    Everything is working (open/send/read) except the 'xDone' flag in the TCP_Read FB is never set, and the 'szCount' output is always zero.

    I am actually receiving data, though.

    Any ideas?

    ph

     
  • e.kislov - 2019-06-13

    I think after receiving data you get TRUE in xReady flag and valid value in szCount for only one PLC cycle (so you can not see this in monitoring, only with breakpoints).

     
  • Anonymous - 2019-06-13

    Originally created by: ph0010421

    You are right
    Thanks for the help; have a good day!
    ph

     

Log in to post a comment.