Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 849 Bytes

File metadata and controls

43 lines (35 loc) · 849 Bytes

ModBus RTU to ModBus TCP

untested; in dev

[general]
log_level = DEBUG

[transport.0] #name must be unique, ie: transport.modbus
#rs485 / modbus device
#protocol config files are located in protocols/
protocol_version = v0.14
analyze_protocol = false
write = false

#modbus address
address = 1
port = {{serial port, likely /dev/ttyUSB0}}
baudrate = 9600

#modbus tcp/tls/udp example
#host = 192.168.0.7
#port = 502
#override protocol reader
#transport = modbus_tcp

#the 'transport' that we want to share this with
bridge = transport.1

manufacturer = {{Your device's manufacturer here}}
model = {{Your device's model number here}}
#optional; leave blank to autofetch serial from device
serial_number = 

read_interval = 10


[transport.1]
#modbus tcp
protocol_version = v0.14
transport=modbus_tcp
write = true
host = 127.0.0.1
port = 502