Table of Contents

Advertisement

tM-TH8

2.16 $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:
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
3: The DCON, Modbus RTU and Modbus
ASCII protocols are supported
C
Current protocol saved in EEPROM that will be
used at the next power on reset
0: the protocol set in EEPROM is DCON
1: the protocol set in EEPROM is Modbus RTU
3: the protocol set in EEPROM is Modbus
ASCII
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.
62
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
!AASC[CHKSUM](CR)

Advertisement

Table of Contents
loading

Table of Contents