Configuring The Modbus (Rs-485) Channels - Infinite AERINOS ADS-270 User Manual

Lorawan iot platform, lora end node
Table of Contents

Advertisement

4.4 Configuring the MODBUS (RS-485) channels

ADU-500 supports up to 8 MODBUS channels.
The configuration command for a MODBUS channel is:
1241,n,a,c,sr,nr
1241: Command ID
n:
Channel number (1-8)
a:
RS-485 address
m:
MODBUS command
sr:
Start register
nr:
Number of registers
4.4.1 Start Measurement Trigger command
The command concerns sensors requiring a trigger to make a measurement.
1240,a,r,v
1240: Command ID
a:
RS-485 address
r:
Register
v:
Value
4.4.2 Clear MODBUS channel configuration
The command clears a MODBUS channel configuration.
1248,n
1248: Command ID
n:
Channel number
4.4.3 Clear all MODBUS channels
The command clears a MODBUS channel configuration.
1249
1249: Command ID
4.4.4 Set MODBUS baud rate
The command sets the baud rate for the MODBUS communications. The other
settings are fixed: Data bits: 8, Parity: none, Stop bits: 1
1245,b
1245: Command ID
b:
Baud rate: 9600, 19200, 38400, 57600, 115200
4.4.5 Set MODBUS protocol
The command sets the protocol for the MODBUS communications.
1244,p
1244: Command ID
p:
Protocol: 0: RTU, 1: ASCII
ADS-270 User Guide
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents