EasyManua.ls Logo

Maestro M1002G - Serial to IP Mode and Modbus Configuration; Serial to IP Mode Selection; Modbus Serial Configuration

Maestro M1002G
131 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 18
Serial to IP mode and Modbus
configuration
18.1 Serial to IP mode selection
AT+MODESELECT
Syntax: AT+MODESELECT=<mode>
Response: OK
Defined Values:
<mode> 1 Transparent mode. Default mode.
2 Converter mode from Modbus serial (ASCII or RTU) to ModbusTCP.
3 reserved for future use
4 reserved for future use
Example:
Command Response
AT+MODESELECT=1 OK
Note: default settings
AT+MODESELECT=? +MODESELECT: (1-4)
OK
Note:
For mode 2, the modbus serial configuration needs to be set with the +MODBUSCFG
For mode 2, the TCP port set for the Modbus Master to connect is the port 502 (non-configurable).
18.2 Modbus serial configuration
To set the serial configuration of the Modbus polling commands.
Serial port setting will be set according to the following only when querying Modbus data. After query it will go back
to original setting (e.g. 115200, 8N1).
AT+MODBUSCFG
Syntax: AT+MODBUSCFG=<mbmode>,<brate>,<frame>
Response: OK
Defined Values:
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
85

Table of Contents

Related product manuals