2.11 $AA2
z
Description
: Read the configuration of module.
z
Syntax
: $AA2[chk](cr)
$ is a delimiter character
AA=2-character HEX module address, from 00 to FF
[chk]=2-character checksum, if checksum disable
Æ
no [chk]
(cr)=0x0D
z
Response
: valid command
Æ
!AATTCCFF[chk](cr),
invalid
command
Æ
?AA[chk](cr)
no response
Æ
syntax error or communication
error or address error
! is a delimiter character indicating a valid command
? is a delimiter character indicating a invalid command
AA=2-character HEX module address
TT, CC, FF: refer to Sec. 1.9
[chk]=2-character checksum, if checksum disable
Æ
no [chk]
(cr)=0x0D
z
Example
:
command: $012(cr)
response : !01530600(cr)
command: $022(cr)
response : !02530700(cr)
Address=01, encoder, 9600 BPS,
checksum disable
NOTE: If the user use %AANNTTCCFF command to change module
configuration, the new configuration code will be stored into
EEPROM immediately. The configuration code includes module
address, module type, baud rate code, checksum enable/disable code,
calibration code, power-on value and safe value.
The EEPROM data
of I-7000 can be read infinite times and can be written about
100,000 times max.
Therefore the user should not change
configuration code often for testing.
The $AA2 command is used to read EEPROM data only, therefore
the user can send this command to I-7000 module infinitely.
Address=02, encoder, 19200 BPS,
checksum disable
I-7083/7083D/7083B/7083BD User Manual (V 1.1, Dec/2007) ------------------ 35