M-7084 User Manual, Rev. A1.3 7PH-013-A13
71
2.22 $AAP
Description:
Reads the communication protocol information.
Syntax:
$AAP[CHKSUM](CR)
$
Delimiter character
AA
Address of the module to be read (00 to FF)
P
Command to read the communication protocol
Response:
Valid Response:
!AASC[CHKSUM](CR)
Invalid Response:
?AA[CHKSUM](CR)
!
Delimiter character for a valid response
?
Delimiter character for an invalid response
AA
Address of the responding module (00 to FF)
S
The protocols supported by the module
0: only DCON protocol is supported
1: both the DCON and Modbus RTU protocols are
supported
C
The current protocol that is saved in the EEPROM
that will be used at the next power-on reset
0: the protocol set in the EEPROM is DCON
1: the protocol set in the EEPROM is Modbus RTU
There will be no response if the command syntax is incorrect,
there is a communication error, or there is no module with the
specified address.