Hello Sina, I also had to check for a possible solution but at another website I found something which might be helpfull in getting your problem solved: https://stackoverflow.com/questions/2533988/how-much-buffer-does-networkstream-and-tcpclient-have I saw in your program you do a single TCPRead. If the complete message isn't received in the hardware buffer yet, you have to repeat it until the NULL characters is received. Hope this helps.
Good morning, I searched in this forum for my issue but couldn't find it exactly. Sorry if it was already discussed earlier. To build some sort of recipe structure which can survive a power down, I declared an array of structs in retained memory. The compiler however gives a warning on that: 'TwinCAT XAE': Retain variable 'PGVL.recipes' not added to retain handler because of local data type 'ARRAY [0..23] OF ST_RECIPE' First question: Is this a codesys error or something Beckhoff specific? Then I...
Good morning, I searched in this forum for my issue but couldn't find it exactly. Sorry if it was already discussed earlier. To build some sort of recipe structure which can survive a power, I declared an array of structs in retained memory. The compiler however gives a warning on that: 'TwinCAT XAE': Retain variable 'PGVL.recipes' not added to retain handler because of local data type 'ARRAY [0..23] OF ST_RECIPE' First question: Is this a codesys error or something Beckhoff specific? Then I have...