82
W&T Packetizing serial datagrams
Example 1:
Modbus/ASCII begins each datagram with the character :
(0x3a). The end of the datagram is indicated by the character
string CRLF (0x0d, 0x0a).
As soon as the Com-Server has received the character 0x3a, it
collects more data until the End Sequence 0x0d 0x0a is recei-
ved and then passes the datagram to the network.
Example 2:
The block end of a serial protocol is indicated by the charac-
ter strings CRLF or LFCR.