Product Function; Working Mode; Slave Mode; Master Mode - Ebyte E821-RTU User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd

4. Product Function

4.1 Working mode

The working mode has master mode and slave mode, which are configured by Modbus register 40081 (0x0050).
When the register value is 0, it is the master mode; when the register value is 1, it is the slave mode, and default is the

slave mode.

4.1.1 Slave mode
In slave mode (register value is 0x01), the data sent to the device by network or 485 bus (sender) conforms to
Modbus RTU or Modbus TCP protocols, and the address in the data is the device address. The device will respond to the
sender with the same protocol. If the data sent to the device by the network end or 485 bus end does not conform to the
Modbus RTU or Modbus TCP protocol, or meets the Modbus RTU or Modbus TCP protocol, but the data address is
different from that of the device, the data will be discarded.
In the slave mode, the device can directly connect to the device in master mode through the 485 bus. When the slave
is not connected to the network, the network can also access the data of the slave through the master.

4.1.2 Master mode

In slave mode (register value is 0x00), the data sent to the device by network or 485 bus (sender) conforms to
Modbus RTU or Modbus TCP protocols, and the address in the data is the device address. The device will respond to the
sender with the same protocol. If the data sent to the device by the network end or 485 bus end does not conform to the
Modbus RTU or Modbus TCP protocol, or meets the Modbus RTU or Modbus TCP protocol, but the data address is
different from that of the device, the data of 485 bus will be transmitted to the network, and the data on the network will
be transmitted to 485 bus.
This function of host mode can realize the cascade function of devices and the data transmission between 485 bus
and network.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
E821-RTU (0400-ETH)User Manual
16

Advertisement

Table of Contents
loading

Table of Contents