EasyManua.ls Logo

Moxa Technologies MGate 5105-MB-EIP Series - Modbus TCP Settings

Moxa Technologies MGate 5105-MB-EIP Series
81 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MGate 5105-MB-EIP Series User Manual
53
Parameters
Description
Endian swap
Data Byte Swapping
None: Don't need to swap
Byte: 0x0A, 0x0B, 0x0C, 0x0D becomes 0x0B, 0x0A, 0x0D, 0x0C.
Word: 0x0A, 0x0B, 0x0C, 0x0D becomes 0x0C, 0x0D, 0x0A, 0x0B.
ByteWord: 0x0A, 0x0B, 0x0C, 0x0D becomes 0x0D, 0x0C, 0x0B, 0x0A.
There are two phases in changing ByteWord
1) 0x0A, 0x0B, 0x0C, 0x0D becomes 0x0B, 0x0A, 0x0D, 0x0C.
2) 0x0B, 0x0A, 0x0D, 0x0C becomes 0x0D, 0x0C, 0x0B, 0x0A.
Read starting address
Station Address. The range is from 0 to 65535
Read quantity
Specifying how many quantities to write.
There are two kinds of quantity units: 1 bit and 16 bits, which are associated with
the function field. The range is from 1 to 125.
Write starting address
Station Address. The range is from 0 to 65535
Write quantity
Specifying how many quantities to write.
There are two kinds of quantity units: 1 bit and 16 bits, which are associated with
the function field. The range is from 1 to 121.
Fault Protection
For the Modbus RTU master mode, the opposite side refers to EtherNet/IP. The
Modbus Write command is sent from the EtherNet/IP side. If the EtherNet/IP
connection fails, the gateway cannot receive the EtherNet/IP data, but the
gateway will continuously send output data to the Modbus RTU server/slave
device. To avoid problems in case the EtherNet/IP side fails, the MGate 5105 can
be configured to react in one of the three ways: keep the latest data, clear data to
zero, or user-defined value.
Fault Timeout
Defines the communication timeout for the EtherNet/IP side. The range is from 0
to 60000 ms.
Modbus TCP Settings
The MGate 5105-MB-EIP supports Modbus TCP function with slave and master mode. For slave mode,
MGate works as a server and waits for an incoming connection from Modbus TCP client. And for client mode,
MGate works as a client and will try to build a TCP connection with a remote Modbus TCP server device. In
this mode, users have to specify the IP address of the remote device and the relative Modbus command.
Slave Mode Settings
The MGate 5105-MB-EIP supports Modbus TCP server mode, which means the MGate will work as a server
and wait for incoming connection requests. The default TCP listen port is 502. In this mode, the MGate will
wait for incoming Modbus TCP requests and use the internal memory as the server/slave register to
respond.
Change the Slave ID settings to match the system requirements. The default TCP port for Modbus TCP is
502, so you may need to change if there is a firewall in place.
Parameters
Value
Description
Slave ID
1 to 247
The Modbus address of the MGate.
TCP Port
1 to 65535
The local TCP port for the MGate.

Table of Contents

Related product manuals