28
2.17 $AAP(Only for EX9060M)
Description:
Read protocol information of Module
Syntax:
$AAP[CHK](cr)
$ delimiter
character
AA address
of
reading/response module (00 to FF)
P
command for read protocol information of module
Response:
Valid Command:
!AAS
Invalid Command:
?AA
S
The protocol supported by the module
10: the protocol set in EEPROM is Normal mode
11: the protocol set in EEPROM is ModbusRTU mode
Example:
Command: $01P
Receive: !0110
Reads the communication protocol of module 01 and returns a
response of 10 meaning the protocol that will be used at the next
power on reset is normal mode.
Command: $01P1
Receive: !01
Sets the communication protocol of module 01 to Modbus RTU
and returns a valid response. And the next power on reset is in
ModbusRTU mode.