22 of 95
Reference Manual ATOM one SSM500
The command will be executed and may produce some text output on one or more lines .
Finally the status will be sent as a single line containing either "OK" or "FAIL". In case of
failure an error code may be added in the same line, e.g. "FAIL 3".
The lines sent by the firmware are terminated with both CR and LF.
Most commands do have parameters. The parameters are depending of the given
command.
IMPORTANT:
Any command is subject of change. We will try not to change existing
commands, but any command may change in the future. Details will be announced in
release notes of upcoming software versions.
6.4 RS485 Addressing
On a RS485 Bus multiple ATOM one systems can be used with one RS485 Master
controller.
To communicate with a slave, the following command format is defined for RS485:
<address> <command> <parameter>
Where address is the RS485 address of the given ATOM one device. Example command
with address 1:
1 video_mode 5
The RS485 address can be set with the
rs485_addr
command, valid addresses range
from 0 to 99. The Address 100 is reserved as a fail-safe address. All devices will always
reply to commands send on address 100, as if it was their device address. This can be
used to recover or change the device address if it is lost and no other communication is
possible with the device.
If you want to find out which devices are currently attached to the RS485 bus, you can
send the identify command over the fail-safe address 100, which will have all devices
report back. See the identify command description for more details.
6.5 RS485 Broadcasting
To send commands to multiple cameras, which are connected to the same RS485 bus at
once, they can be grouped in broadcast groups. Therefore each camera gets a second
address, the broadcast address. The broadcast address is set with the
rs485_bc_addr
command, it can not be identical with the normal RS485 address, the default is “0”.
Once all cameras in the group are setup with the correct broadcast address, the same
command format like for normal RS485 communication is used:
<address> <command> <parameter>
Where address now is the broadcast address.
By default the cameras do not reply to broadcast commands with the usual “OK” or “FAIL”
messages, otherwise the RS485 bus would be full with replies from the different devices.
To still be able to implement a handshake with a controller software during broadcast
mode it is possible to select one camera as the broadcast master. This camera will,