Mr Daniel Posted October 4, 2017 Report Share Posted October 4, 2017 Hi. I'm an experienced PLC programmer but I'm new to the unitronics universe. I'm wondering if anybody can give me an example on how I can send and receive text strings over TCP client interface? I'll be using a UNIStream PLC to communicate with a robot arm using a TCP connection. I would like to connect to the robot on port 29999 to send different commands. The robot will then come with a reply. For example: Command sent to robot: "load <robotprogram.file>" Return value on success: "Loading program: <robotprogram.file>" Return value on failure: "File not found: <robotprogram.file>" "Error while loading program: <robotprogram.file>" The Ladder functions "TCP Client Tx", "TCP Client Rx" and "TCP Client Connect" is not documented in the help file... What's the correct way to use string data as buffer source or buffer destination? I will appreciate any support! 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.