
Communication rotocol
6
Notes:
♦BCOT751 adds 3 spaces
in the beginning of the response.
♦BCOT751 returns decimal point
even when the value is integer.
♦#13 (CR) is byte 0x0D;
#10 (LF) is byte 0x0A.
Protocol examples:
PC or other device: BCOT751 response:
reading filter time
f.t#13#10 f.t 0015.#13#10
writing filter time of 30
f.t 30#13#10 f.t 0030.#13#10
reading measured conductivity
c.v#13#10 c.v 027.5#13#10
Protocol architecture
♦The protocol is based
on UART protocol with:
Baud Rate - 9600 bps;
Data bits - 8;
Parity Control - Even;
Stop bit - 1.
♦ASCII protocol is used
for communicating,
and the information
is exchanged in frames.
♦Each frame consists of 1,
or 2 words separated
by byte 32 (SPACE),
and ends with bytes 13 (CR)
and 10 (LF). The first word
in the frame denotes
the parameter 'Symbol'
as taken from Table 1 and
the second word (if needed)
is the parameter 'Value',
both spelled with only
small Latin letters (except for
Conducti ity Unitvalue), digits,
dots, and/or the '-' sign.
Reading from a device
♦If the frame consists of
only 1 word, it is recognized
as a command for reading.
♦The device responds to it by
returning the same word and
its value, according to Table 1.
Writing in a device
♦If the frame consists of
2 words, it is recognized
as a command for writing.
♦With writing, transferred are
the same 2 words that
would have been received
at the respective command
for reading from the device
(except for the reset
command).