EasyManua.ls Logo

Spellman SL Series - 1.4.2. Messages sent from eSL unit to Host

Default Icon
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
118158001REV.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.

Table of Contents

Related product manuals