Bonito Technical Manual
V2.4.0
68
Parameters and commands
Default
2A
(115,200 Baud, additionally activates second channel via Camera Link con-
nector O2, each character received from the host is echoed back to it.)
Related
Three sub-fields are available to control the serial control interface, of the
Bonito CL-400B/C
:
•
Baud rate of the serial ports
•
Echo mode
•
Enable state of the serial ports
All of these sub-fields are controlled by the parameter
s
, however, each of them
works independently from the other sub-fields. The sub-fields are represented
by bit groups of different size within the parameter
s
.
To set a sub-field to a certain value, modify the associated bit group by allocat-
ing
s
to the appropriate hexadecimal number.
Since all of the sub-fields are set using the parameter
s
, it is only possible to set
all of them at the same time. The value of
s
is calculated as the aggregate sum
of the hexadecimal values that are set to each of the three sub-fields.
The table below shows the hexadecimal values that can be set for each sub-field.
To work out the final value for
s
, select the usage for each sub-field, then add
the corresponding hexadecimal values.
Bit group
Sub-field description
x
Controls the baud rate of the serial ports.
a
Controls the enable state of the serial ports.
e
Controls the echo mode.
Table 27: Attribution of bit groups and sub-fields
F
E
D
C
B
A
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
-
e
a
a
-
x
x
x
x
-
-
-
-
-
-
-
- rw rw rw
rw rw rw rw
Table 28: Order of bit groups within parameter
s
Bit values
Settings
Weight
(hexadecimal)
Baud rate of the serial ports
xxx-0000
110 Baud *
0
xxx-0001
300 Baud *
1
xxx-0010
600 Baud *
2
Table 29: Baud rate: hexadecimal weights for each setting