Originally created by: ph0010421
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.
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).
You are right
Thanks for the help; have a good day!
Log in to post a comment.