Power-On State; Modbus Gateway; Modbus Tcp/Rtu Protocol Conversion; Mod Bus Address Filtering - Ebyte ME31-XAAX0440 User Manual

I/o networking module
Hide thumbs Also See for ME31-XAAX0440:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
function, both DI or AI can be used as the following source, otherwise this function is useless) to change the relay
state, multiple outputs can follow the same follow source output, simply put When DI generates a trigger signal
(rising edge or falling edge) , DO will have a state change . When the trigger flip mode is turned on , the following
source should be configured at the same time, otherwise it will follow the first input by default.

4.2.7 power-on state

According to the state set by the user. After the device is powered on, the output relay is turned on according
to the state set by the user, and it is turned off by default.

4.3 Modbus gateway

The device can transparently transmit non-native Modbus commands from the network/serial port to the serial
port/network, and the local Modbus commands are directly executed .

4.3.1 Modbus TCP/RTU protocol conversion

After opening, Modbus TCP data on the network side will be converted to Modbus RTU data .

4.3.2 Mod bus address filtering

This function can be used as the host to access the serial port of the device in some host software or
configuration screen, and use the gateway function of the device, the slave is on the network end, and Modbus is
turned on It is used when the function of TCP to RTU is converted. There are multiple slaves on the bus that may
cause data confusion. At this time, enabling address filtering can ensure that only the specified address can pass
through the device; when the parameter is 0, the data is transparently transmitted, and the parameter is 1-255 Only
data from the set slave address is passed.

4.3.3 Mod bus TCP protocol data frame description

TCP frame format:
Transaction ID
2 Bits
 Transaction ID: It can be understood as the serial number of the message. Generally, 1 is added after each
communication to distinguish different communication data messages .
 Protocol identifier: 00 00 means Modbus TCP protocol.
 Length: Indicates the length of the next data in bytes.
Copyright © 2012–2023 , Chengdu Ebyte Electronic Technology Co., Ltd.
18
Protocol ID
length
2 Bits
N+ 2 B it
device address
function code
1 Bit
1 B it
ME31- XAAX0440 _User Manual
data segment
N B it

Advertisement

Table of Contents
loading

Table of Contents