ProSoft Technology PLX31-EIP-SIE User Manual
Page 95

PLX3x Series
MBTCP Protocol
Ethernet and Serial Gateways
User Manual
ProSoft Technology, Inc.
Page 95 of 218
September 17, 2014
Modbus TCP/IP Server
The server driver accepts incoming connections on Service Port 502 for
Clients using Modbus TCP/IP MBAP messages and connections on Service
Port 2000 (or other Service Ports) for Clients using Encapsulated Modbus
messages.
Supports multiple independent server connections for any combination of
Service Port 502 (MBAP) and Service Port 2000 (Encapsulated)
Up to 20 servers are supported
Modbus Commands
Supported
(Client and Server)
1: Read Coil Status
2: Read Input Status
3: Read Holding Registers
4: Read Input Registers
5: Force (Write) Single Coil
6: Preset (Write) Single
Holding Register
15: Force (Write) Multiple Coils
16: Preset (Write) Multiple
Holding Registers
22: Mask Write Holding
Register (Slave Only)
23: Read/Write Holding
Registers (Slave Only)
Configurable
Parameters:
(Client and Server)
Gateway IP Address
PLC Read Start Register (%MW)
PLC Write Start Register (%MW)
Number of MBAP and MBTCP servers
Gateway Modbus Read Start Address
Gateway Modbus Write Start Address
Configurable
Parameters:
(Client Only)
Minimum Command Delay
Response Timeout
Retry Count
Command Error Pointer
Command List
Up to 160 Modbus commands (one tag per command)
Status Data
Error codes reported individually for each command.
High-level status data available from Modbus TCP/IP Client
(for example PLC)
Command List Polling
Each command can be individually enabled or disabled;
write-only-on-data-change is available
6.1.2 Internal Database
Central to the functionality of the gateway is the internal database. This database
is shared between all the ports on the gateway and is used as a conduit to pass
information from one device on one network to one or more devices on another
network. This permits data from devices on one communication port to be viewed
and controlled by devices on another communication port.
In addition to data from the Client and server, status and error information
generated by the gateway can also be mapped into the internal database.