ProSoft Technology PLX31-EIP-SIE User Manual
Page 102
MBTCP Protocol
PLX3x Series
User Manual
Ethernet and Serial Gateways
Page 102 of 218
ProSoft Technology, Inc.
September 17, 2014
6.2.3 MBTCP Client[x] Commands
The MBTCP Client[x] Commands section defines the Modbus TCP/IP commands
to be issued from the gateway to server devices on the network. These
commands can be used for data collection and/or control of devices on the
TCP/IP network.
In order to interface the PLX3x gateway with Modbus TCP/IP server devices, a
command list must be constructed. The commands in the list specify the server
device to be addressed, the function to be performed (read or write), the data
area in the device to interface with and the registers in the internal database to
be associated with the device data. The Client command list supports up to 16
commands per Client. The command list is processed from top (command #0) to
bottom.
The following table describes the command list configuration parameters.
Parameter
Value
Description
Enable
YES
NO
CONDITONAL
Specifies if the command is to be executed and under what
conditions.
No (0) - the command is disabled and will not be executed in the
normal polling sequence.
Yes (1)- the command will be executed upon each scan of the
Command List if the Poll Interval is set to zero (0). If the Poll
Interval is set to a non-zero value, the command will be executed
when the interval timer for that command expires.
Conditional (2)- the command will execute only if the internal bit
data associated with the command changes. It will also clear the
bit or bits in the internal database after the write command is built.
This parameter is valid only for bit-level write commands (FC 5
and 15).
Internal
Address
0 to 3999 (for
register-level
addressing)
or
0 to 63999(for
bit-level
addressing)
Specifies the database address in the gateway's internal
database to use as the destination for data brought in by a read
command, or as the source for data to be sent out by a write
command. The database address is interpreted as a bit address
or a 16-bit register (word) address, depending on the Modbus
Function Code used in the command.
For Modbus functions 1, 2, 5, and 15, this parameter is