![ICP DAS USA M-7024 User Manual Download Page 114](http://html1.mh-extra.com/html/icp-das-usa/m-7024/m-7024_user-manual_614159114.webp)
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
114
M-7022, M-7024, M-7024L, M-7024R, M-7024U, M-7028
2.31 $AAPN
Description:
Sets the communication protocol.
Syntax:
$AAPN[CHKSUM](CR)
$
Delimiter character
AA
Address of the module to be set (00 to FF)
P
Command to set the communication protocol
N
0: DCON protocol
1: Modbus RTU protocol
Before using this command, the rear slide switch
must be in the INIT position for M-7024U and
M-7028, or the INIT * terminal should be
connected to the GND terminal for M-7022,
M-7024 and M-7024R, see Section A.1 for
details. The new protocol is saved in the
EEPROM and will be effective after the next
power on reset.
Response:
Valid Response:
!AA[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)
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.
Summary of Contents for M-7024
Page 9: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 9 1 2 Terminal Assignment 7021 7021P 7022 ...
Page 10: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 10 7024 7024L 7024R ...
Page 11: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 11 7024U 7028 ...
Page 46: ...I 7021 22 24 M 7022 24 28 User Manual Rev B2 3 46 1 13 3 Wall Mounting ...