Digi TS 2/4 Network Hardware User Manual


 
11-6 Examples
Examples
Configuring Network-Connected Masters
Introduction
Here are a few points regarding this configuration:
All timers for both masters and slaves are using defaults.
The range field on the set modbus master command is an index number that Digi One IA identi-
fies these masters. The range fields on each of the set modbus slave commands identify the indi-
vidual slaves.
The slaves field on the set modbus master command then identifies the slaves that belong to this
master.
The value on the unit fields of the set modbus slave commands are hardware addresses for the
slaves.
The format=rtu option on the set modbus slave command is optional, since rtu is the default for
Modbus communication over the serial port.
Configuration
set line range=1 baud=14400
set ports range=1 dev=modbus
set modbus master range=1 ip=143.191.2.100-143.191.2.102 slaves=2-3
set modbus slave range=2 port=1 format=rtu unit=100
set modbus slave range=3 port=1 format=rtu unit=101
Configuring a Port-Connected Master
Introduction
Take special note of the following attributes of this configuration:
All timers for both masters and slaves are using defaults.
The range field on the set modbus master command is an index number that Digi One IA uses to
identify this master. The range fields on each of the set modbus slave commands identify the
individual slaves.
The slaves field on the set modbus master command then identifies the slaves that belong to this
master.
The value on the unit fields of the set modbus slave commands are hardware addresses for the
slaves.
The format=rtu option on the set modbus master command is optional, since rtu is the default for
Modbus communication over the serial port.
Configuration
set line range=1 baud=14400
set ports range=1 dev=modbus
set modbus master port=1 slaves=2,5 ra=4 format=rtu
set modbus slave ip=143.191.2.100 range=2 unit=200
set modbus slave ip=143.191.2.155 range=5 unit=100