![background image](http://html2.mh-extra.com/html/icp-das-usa/m-7026/m-7026_user-manual_3573567082.webp)
M-7026
M-7026 User Manual Rev: 1.5 Date: 2016/03/10
82
2.34 $AAPN
Description:
This command is used to set the communication protocol to be used by a
specified module.
Syntax:
$AAPN[CHKSUM](CR)
$
Delimiter character
AA
The address of the module to be set in hexadecimal format (00 to FF)
P
The command to set the communication protocol
N
The protocol to be used
0: DCON
1: Modbus RTU
Note:
Before using this command, the INIT switch must be in the INIT position, see
Section 5.1 for details. The settings for the new protocol are saved in the
EEPROM and will become effective after the next power-on reset.
Response:
Valid Command:
!AA[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)
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
Attempts to set the communication protocol for module 01 to Modbus
RTU, but returns a response indicating that the command was
unsuccessful, because the INIT switch is not in INIT position.
Command: $01P1
Response: !01
Sets the communication protocol for module 01 to Modbus RTU and
returns a response indicating that the command was successful. The new
protocol will become effective after the next power-on reset.
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.
Содержание M-7026
Страница 8: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 8 1 3 Pin Assignments...
Страница 12: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 12 1 5 Block Diagram...
Страница 13: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 13 1 6 Application Wiring...
Страница 39: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 39 Related Topics Section 1 8 1 Analog Input Calibration...
Страница 41: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 41 Related Topics Section 1 8 2 Analog Output Calibration...
Страница 43: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 43 Section 1 8 1 Analog Input Calibration...
Страница 45: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 45 Related Topics Section 1 8 2 Analog Output Calibration...
Страница 47: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 47 Section 5 1 INIT Mode...
Страница 57: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 57 Section 1 9 5 Analog Output Type Codes and Data Format...
Страница 65: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 65 Section 1 9 5 Analog Output Type Codes and Data Format...
Страница 90: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 90 Section 5 2 Dual Watchdog Operation...
Страница 106: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 106 Section 2 35 AAS1 Related Topics Section 1 8 Calibration...
Страница 113: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 113 Section 2 68 AARECi...
Страница 118: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 118 Section 2 54 AACH Section 2 69 AARH Section 2 71 AARHi...
Страница 123: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 123 Section 2 57 AACL Section 2 72 AARL Section 2 74 AARLi...
Страница 127: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 127 Section 2 62 AADODD...
Страница 129: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 129 Related Commands Section 2 61 AADI...
Страница 137: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 137 AARAO Section 2 70 AARHCi Section 2 73 AARLCi...
Страница 141: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 141 Related Commands Section 2 53 AACECi...
Страница 143: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 143 Section 1 9 4 Analog Input Type Codes and Data Format...
Страница 180: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 180...
Страница 183: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 183...