Phau Ntawv Qhia

Table Of Contents
Chengdu Ebyte Electronic Technology Co., Ltd. E90-DTU(xxxSLxx-ETH)_V2.0-AT Instruction Set
Copyright ©2012–2022Chengdu Ebyte Electronic Technology Co., Ltd.
15
2. "Modbus function" AT command set
2.1 Summary of "Modbus Function" Commands
Command
Description
AT+MODWKMOD
Modbus mode
AT+MODPTCL
Protocol conversion
AT+MODGTWYTM
Storage Gateway Instruction Storage
Time and Query Interval
AT+MODCMDEDIT
Modbus RTU command pre-stored
2.2 Query Modbus working mode and command timeout time
Command
AT+MODWKMOD
Function
Query and set Modbus working mode
SendQuery
AT+MODWKMOD<CR><LF>
Return
Query
<CR><LF>+OK=<Mode><Timeout><CR><LF>
Remarks
Mode: NONE (disables MODBUS)
SIMPL (Simple Protocol Conversion)
MULIT (Multi-Master Mode)
STORE (Storage Gateway)
CONFIG (Configurable Gateway)
AUTOUP (active upload mode)
Timeout:0-65535
Inquire:
Send: AT+MODWKMOD\r\n
Received:\r\n+OK=SIMPL,100\r\n
set up:
Send: AT+MODWKMOD=MULIT,1000\r\n
Received:\r\n+OK\r\n
2.3 Enable Modbus TCP to Modbus RTU protocol conversion
Command
AT+MODPTCL
Function
Query and set protocol conversionModbus TCP<=>Modbus RTU
SendQuery
AT+MODPTCL<CR><LF>
Return
Query
<CR><LF>+OK=<Mode><CR><LF>
Remarks
Mode: ON(Enable protocol conversion)
OFF(Disable protocol conversion)