PLX3x Series ♦ Multi-Protocol Gateways
MBTCP Protocol
User Manual
ProSoft Technology, Inc.
Page 105 of 215
January 25, 2018
6.2.3 Configuring 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. You
can use these commands for data collection and/or control of devices on the
TCP/IP network.
To configure the MBTCP Client [x] commands in PCB
1
In
ProSoft Configuration Builder
, click the
[+]
next to the gateway, then click
the
[+]
next to
MBTCP Client [x]
.
2
Double-click
MBTCP Client [x] Commands
to display the
Edit - MBTCP Client
[x] Commands
dialog box.
3
In the dialog box, click
A
DD
R
OW
to add a command, then click
E
DIT
R
OW
to
enter values for the command.
You must construct a command list in order to interface the PLX3x gateway with
Modbus TCP/IP server devices. 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 gateway processes the command list 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.
N
O
(0)
- the command is disabled and is not executed in the normal
polling sequence.
Y
ES
(1)
- the command is 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 is executed when the interval timer for that
command expires.
C
ONDITIONAL
(2)
- the command is executed only if the internal bit data
associated with the command changes. This parameter is valid for write
commands (FC 5, 6, 15 and 16).
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 from a read command, or as the source
for data sent 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 interpreted
as a bit-level address.
For Modbus functions 3, 4, 6, and 16, this parameter is interpreted
as a register-level address.