
CB-7080 & CB-7080D Counter/Timer User's Guide $AA2
2-17
$AA2
Description: Read the configuration of module.
Syntax: $AA2[chk](cr)
$ A delimiter character
AA 2-character HEX module address, from 00 to FF
[chk] 2-character checksum. If checksum is disabled, no [chk].
(cr) 0x0D
Response:
Valid response: !AATTCCFF[chk](cr),
Invalid response: ?AA[chk](cr)
no response: Syntax error, communication error or address error
! A delimiter character indicating a valid response
? A delimiter character indicating an invalid response
AA 2-character HEX module address
TT Refer to Table 1-10.
CC Refer to Table 1-8.
FF Refer to Table 1-9.
[chk] 2-character checksum. If checksum is disabled, no [chk].
(cr) 0x0D
Examples:
Address=01, counter, 9600 BPS, checksum disabled:
command: $012(cr)
response: !01500600(cr)
Address=02, frequency, 19200 BPS, checksum disabled:
command: $022(cr)
response: !02510700(cr)
Note
If you use the %AANNTTCCFF command to change module configuration, the new configuration code is
stored into EEPROM immediately.
The configuration code includes the module address, module type, baud rate code, checksum enable/disable
code, calibration code, power-on value and safe value.
The EEPROM data of a CB-7080 can be read an infinite number of times, and can be written about 100,000
times maximum. Therefore, you should not frequently change the configuration code for testing.
The $AA2 command is used to read EEPROM data only. You can send this command to CB-7080 module
without limit.
Komentarze do niniejszej Instrukcji