SRO Posted May 4, 2016 Report Share Posted May 4, 2016 Hey all, The PLC I'm using is an Unistream 7". I'm writing an application where the PLC needs to communicate with a server through a TCP connection. Communication is established through a Restfull API; - PLC asks the server when needed for a list of all the configured items on the server. This list is JSON-formatted, will be parsed by the PLC and then loaded into a DTI for further use.. - PLC sends updates to server when an item has changed state. - Server sends commands to the PLC when an item needs to change state. Setting up the TCP client Rx was a breeze! Communicating with the server works like a charm if the received messages are smaller than the receiving buffertag of the TCP client Rx FB! (e.g. commands from server to PLC) If larger then the buffertag, the message will be truncated. (e.g. List of items send by server to PLC) => According the help-file: due to insufficient buffer size (user buffer) I noticed that a buffertag can be defined as a maximum of around 1600 bytes. I was wondering why this limit? And then again, if I could enlarge the buffer to say 3500 bytes and my list grows eventually beyond this limit.. So.. How do I receive a message that's larger then my predefined receivebuffer? What am I missing? Tnx in advance, SRO 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.