15 Ethernet interface
Page 3
Syntaxofamessageunit
Amessageunit(forexample::REAR:SETUP1)ismadeofseveralfields:
-Heading:
Forthecommandmessages(forexample::REAR:SETUP 1)orfortheinterrogationmessages(for
example::REAR ?),itismadeofacharacterchain(simpleheading)orofseveralchains separated
with":"(composedheading).
Achainincludesfrom1to12alphanumericalcharactersorthe"_"character(codeASCII95in
decimal).Advisablechainlength:4characters.
Aheadingchainalwaysbeginswithanalphabeticcharacter.Itmaybeprecededby":"(composed
heading)orendwithaninterrogationpoint"?"(interrogationmessage).
Aninterrogationmessagemustalwaysbefollowedbytheterminationsequence.
-Headingseparator:
OneorseveralASCIIcharacters(0to32,indecimalexcept10and13).
-Oneorseveralpiecesofdata:
(forexample::SPEED 1,MM_S),alphanumerical,numericalormadeofanycharactersorbinary
bytes.
-Dataseparator:
acomma","possiblyfollowedand/orprecededbyoneorseveral"filling"charactersinASCIIcode
(0to32,indecimalexcept10and13).
Data:
Thereareseveraltypesofpiecesofdata:
-Alphanumericaldata:
1to12-characterASCII-codedchainsthatcanbealphabetical(loweroruppercase),numericalor
the"-"(95d).
Thechainmustbeginwithanalphabeticalcharacter.
Forexample,foranon-numericalparameter:S1M.
-Decimaldigitaldata:
madeofamantissaandpossiblyofanexponent,andfiguredasasuccessionofASCII-coded
charactersthatbeginwithadigitora sign(+or-).ItcanbeofNR1(integer),NR2(decimal)or
NR3type(withanexponent)oracombinationofthesethreetypes.
-Text:
7-bitASCII-codedcharacterchainbetweenquotationmarks(")orapostrophes(').
Forexample:"Channel1".