Adding MODBUS RTU slaves
Regular MODBUS RTU addressing
When using Serial Link, MODBUS slaves are identified by a unique
number, whose value is comprised between 1 and 247.
New MODBUS RTU slaves can be created by using one of the
following patterns:
- 1
- Create just one slave with address 1.
- 5-10
- Create all six slaves with addresses ranging from 5 to 10 included.
- 6, 12
- Create two slaves, the first with address 6 and the second with
address 12.
- 5, 8-10, 12
- Create slaves with addresses 5, 8, 9, 10 and 12.
Note: the comma can be replaced by a new line. White
spaces following the comma are ignored.
MODBUS RTU slaves behind a MODBUS TCP gateway
ModbusPal can emulate MODBUS RTU devices as if they were behind
a MODBUS TCP gateway.
Such MODBUS slaves must be identified by both an IP address and a slave
number, and can be created by using one of the
following patterns:
- 127.0.0.1(17)
- Create juste one slave at IP address 127.0.0.1 (listen on all
network interfaces) and slave number 17.
- 192.168.10.100(10-15)
- Create 6 slaves sharing the same IP address (local network interface
192.168.10.100). Each slave is assigned a slave number ranging from 10
to 15 included.