I'm using an Ethernet communication app that I thought I'd used before, but today the KR C is giving me Error no. 1429 "String too long" when send a (332 byte) message to the KR C. I have fiddled with the code a bit on the server side, but didn't change much of anything to the message sent. That seems like it must be on the KR C side.
I suspect something wrong with CPARMS because after
ret_code = eth_read(cnxn_handle, int_array_in[], float_array_in[], char_array_in[], 0) ; Read from port with no wait time
I monitor char_array_in[] and it says
so that seems like a really long string.
Just putting this out there in case anyone has an idea. Thanks.
EDIT: Okay, problem solved. What happened is that in the KRL app I had
but I put that in via an editor on a remote computer and forgot to get it to compile on the KR C before running, so it wasn't calling that StrClear function. Now char_array_in[] shows no length when monitoring it on the HMI.