118158‐001REV.A 8OF20
1.4.2. MessagessentfromeSLunittoHost
Themessagesentbackbytheunitscontainsthereceivedcommandandoneormore
datastrings.Ifnodataistobesentback,a$characterissentasacknowledgmentthat
messagewasreceivedwithouterrors.Iftheunitreceivesamessageinerroritwillsend
anerrorcode.
Ifthehostreceivesamessageinerror,itwilldisregardthemessageandtryagain.
ThefollowingarethemessagesthatcanbesentfromunittoHost.
Unitreceivedmessagesuccessfully.It
sendsdatabacktohost
STXCMD,DATA,..,DATA,ETX
Unitreceivedmessagesuccessfully.No
datatobesent.Itsends
acknowledgement
STXCMD,$,ETX
Unitreceivedmessageinerror.Itsends
errorcode
STX,EC,ETX
Where:
STX ASCII0x02Startofmessage
CMD 2numericASCIIcharactersrepresentingthecommandID.See
commandsbelow.
, ASCII0x2Ccharacter
DATA OneormoredatastringsinASCIIformatandseparatedbycommas
ETX ASCII0x03Endofmessage
$ ASCIIcharacterindicatingmessagewas
receivedsuccessfully
EC Errorcode.1:Wrongnumberofparametersorparameteroutofrange
2:Parsingerrororinvalidcommandcode.