zed Posted December 17, 2022 Report Share Posted December 17, 2022 Hello fellow UL fans, I'm looking for some help or an example for using the TCP Rx ladder function. I have a sense of how to trigger COM Rx for a serial connection by looking for an ASCII control character such as CR or LF but not sure how to do this for a TCP Rx since the system struct for TCP client is different (snip below) than the USB serial struct. The help file contains very little on the subject and I was not able to find anything on the forum and my comms experience is rather limited. I'm also wondering how the TCP Connect ladder function should be executed. Should that be triggered only once (edge trigger or set in/reset out) and await connection or should it be triggered continuously until a connection is established? In my application the PLC is the TCP Client and the TCP server is a checker weigher which will send individual pack weights as they pass over its load cell in the form of <STX>341.6<ETX><cr><lf> where 341.6 is weight in grams. Packs are weighed at various speeds from 30 to 120 per minute. Kind regards, Quote Link to comment Share on other sites More sharing options...
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.