M-7026
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
81
2.33 $AAP
Description:
This command is used to read which communication protocol is supported and
currently being used by a specified module.
Syntax:
$AAP[CHKSUM](CR)
$
Delimiter character
AA
The address of the module to be read in hexadecimal format (00 to
FF)
P
The command to read the communication protocol
Response:
Valid Command:
!AASC[CHKSUM](CR)
Invalid Command:
?AA[CHKSUM](CR)
!
Delimiter character to indicate a valid command
?
Delimiter character to indicate an invalid command
AA
The address of the responding module in hexadecimal format (00 to
FF)
S
Indicates which protocol is supported
0: Only the DCON protocol is supported
1: Both the DCON and Modbus RTU protocols are supported
C
Indicates which protocol is currently being used
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.
Examples:
Command: $01P1
Response: !01
Sets the communication protocol for module 01 to Modbus RTU and
returns a response indicating that the command was successful.
Command: $01P
Response: !0111
Reads which communication protocol is being used by module 01 and
returns a response indicating that the command was successful with a
value of 11, meaning that the module supports both the DCON and
Modbus RTU protocols, and that the protocol which will be used at the
next power-on reset is Modbus RTU.
Related Commands:
Section 2.34 $AAPN
Summary of Contents for M-7026
Page 8: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 8 1 3 Pin Assignments...
Page 12: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 12 1 5 Block Diagram...
Page 13: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 13 1 6 Application Wiring...
Page 43: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 43 Section 1 8 1 Analog Input Calibration...
Page 47: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 47 Section 5 1 INIT Mode...
Page 90: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 90 Section 5 2 Dual Watchdog Operation...
Page 113: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 113 Section 2 68 AARECi...
Page 127: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 127 Section 2 62 AADODD...
Page 129: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 129 Related Commands Section 2 61 AADI...
Page 141: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 141 Related Commands Section 2 53 AACECi...
Page 180: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 180...
Page 183: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 183...