Thank you for your feedback. The problem is that i must transmit and receive variable-size data with different EOS chars and it looks like there is some problem with Ethernet KRL.
For example: I configure receive data as raw data of type BYTE and size=1. The result is that i can receive data only by 1 byte portions (it's OK) but also i'm forced to send data with same portions. No matter if i will configure SEND data like STREAM OR BYTE[5] i will send only 1-byte data.
Another example: I configure receive data as raw data of type STREAM and EOS=13. The result is that i can receive data of variable length if this data has 13 in the end. But now every time when i send data driver will add 13 to the end.
Looks like Ethernet KRL in case of RAW data uses parameters for send and receive only from receive parameters structure in XML file.
I've written simple TCP client on my PC so i exactly know what KUKA sends to me.