3-1
3
Operating principle and application notes
INIT*_pin operation principle
All CB-7000 modules contain an EEPROM to store configuration information. To determine the status of the
CB-7080 modules, connect the INIT*_pin to the GND_pin and apply power to the module. The CB-7080
modules will go to the factory default setting without changing the EEPROM data. The factory default setting
is as follows:
Address
= 00
baud rate
= 9600
checksum
= DISABLED
data format
= 1 start + 8 data bits + 1 stop bit
To auto-configure the CB-7080/7080D module according to the EEPROM data:
Disconnect the INIT*_pin and GND_pin.
To find the EEPROM configuration data easily in the default setting:
1.
Power-down the module, and connect the INIT*_pin to GND_pin.
2.
Power-up the module.
3.
Send command string $002[0x0D] to the module.
The module returns EPROM data.
4.
Record the EEPROM data.
5.
Power-down the module, and disconnect the INIT*_pin from the GND pin.
6.
Power-up the module.
D/O operation principles
Refer to
Digital output application notes
on page 1-7 for more information.
The D/O outputs of CB-7080 and CB-7080D modules are OFF on the first power-up.
The D/O outputs are changed to the desired state if the “@AADO0D” command is received. Then, all
D/Os will stay in the same states until the next “@AADO0D” command.
If the host watchdog is active, D/Os do not change, and the module status is set to 04. If the host
computer sends “@AADO0D” to those modules now, those modules will ignore this command and
return “!” as warning information. The host must use “~AA1” command to clear the module status to 0,
then the CB-7080 and CB-7080D module will accept the “@AADO0D” again.
If a D/O output is configured as an alarm output, the module controls the ON/OFF state automatically.
The “@AADO0D” command is ignored in this condition.