Bonito Technical Manual
V2.4.0
72
Appendix
Appendix
Command reference
This chapter describes the general command reference of the
Bonito CL-400B/C
firmware. It can be output to the camera’s serial interface by
sending the command
?=1
.
Bonito CL-400 and CMC-4000 Series Command Reference
===============================================================================
Referenced Firmware...: CMC.040.01.07
Document Version......: 06 / 02.02.2012
(C) Allied Vision Technologies GmbH
General Information
-------------------
Each command consists of a command letter, optionally followed by an equality
sign and a parameter value in hexadecimal number representation. The command
letter is case sensitive. Hexadecimal values are always upper case and are 1 to
8 digits long. The command is activated by sending a carriage return character
([CR], ASCII character number 0x0D). Serial communication operates in echo mode
by default. This means that each character received by the module is echoed
back to the PC.
Example (set Baudrate to 115200 Baud, RS-232 only):
s=A[CR]
After successful execution of the command, the command prompt character ">" is
output. If any error occurred, somewhere previous to the prompt a question
mark character "?" is displayed.
To query a parameter value, send the corresponding command letter followed by
the equality sign and a question mark character:
s=?[CR]
If the intended action does not need any parameter, it is also sufficient - as
a shortcut - to send the command letter only, directly followed by [CR].
At the beginning of a command sequence it is good practice to check the serial
communication by sending just a [CR] to the camera and verify that the command
prompt ">" is returned. There is an input buffer holding a few characters
but no hardware handshake. a sequence of commands should not be send to
the camera without awaiting the intermediate input prompts. Otherwise the
camera’s serial input buffer may overflow.
How to use Help
---------------
To see this help text type the following command:
?[CR]