- 64 -
CLOSING
Name Characters Meaning
Checksum 3
Message checksum, defined as the low byte of the
sum of the ASCII codes of all the characters in the
message (apart from the stop message ETX cha-
racter and the final <CR> <LF>)
Stop 1 Stop message character: <ETX>
2 <CR><LF>
EXAMPLE OF DATA OUTPUT
In the following example, the values of two measurements (OG1 and OG2) perfor-
med on good piece number 11 using the Biella program are transferred:
<STX><CR><LF>
10/01/0815:10:01biella______________11__________________G_2_<CR><LF>
OG1+24.1234____μm__G__<CR><LF>
OP1-12.123_____μm__G__<CR><LF>
xxx<ETX><CR><LF>
Legend:
<STX>: character ASCII 2
<ETX>: character ASCII 3
<LF>: character ASCII 10
<CR>: character ASCII 13
_ : ASCII space character 32
xxx: it indicates the value calculated for the checksum
NOTE: The default parameters used by the standard protocols on
Merlin are:
Baudrate: 9600
Bit: 8
Parity: None
StopBit: 1