MVI69E-MBTCP ♦ CompactLogix Platform Using Controller Tags
Modbus TCP/IP Enhanced Communication Module User Manual
ProSoft Technology, Inc. Page 81 of 150
June 28, 2017
MBTCP.CONTROL.EventCommand_DBData
This array allows the processor to dynamically build Modbus commands with
data associated to the module’s database. This feature is meant for periodic
execution such as resetting clock and zeroing-out counters.
MBTCP.CONTROL.EventCommand
_DBData.Trigger
Toggle to send Event Command.
0 = Disable, 1 = Enable
MBTCP.CONTROL.EventCommand
_DBData.ClientID
Client ID associated with the command to be
executed
MBTCP.CONTROL.EventCommand
_DBData.ServerIPaddress
IP address of target Modbus server
MBTCP.CONTROL.EventCommand
_DBData.ServicePort
Service port of target Modbus server
MBTCP.CONTROL.EventCommand
_DBData.SlaveAddress
Slave address of target Modbus TCP/IP to serial
device, if applicable
MBTCP.CONTROL.EventCommand
_DBData.InternalDBaddress
0 to 9999
(word-level)
or
0 to 65535
(bit-level)
Specifies the module’s internal database
register to be associated with the command.
Allowable range is:
0 to 9999 for Modbus Function Codes 3, 4, 6, or
16
0 to 65535 for Modbus Function Codes 1, 2, 5,
or 15.
MBTCP.CONTROL.EventCommand
_DBData.RegisterCount
1 to 125
(words)
or
1 to 800
(coils)
Specifies the number of registers or digital
points to be associated with the command.
Modbus Function Codes 5 and 6 ignore this field
as they only apply to a single data point.
MBTCP.CONTROL.EventCommand
_DBData.SwapCode
Specifies if the data received from the Modbus
server is to be ordered differently than received
from the server device.
This parameter is helpful when dealing with
floating-point or other multi-register values, as
there is no standard method of storage of these
data types in server devices.
MBTCP.CONTROL.EventCommand
_DBData.ModbusFC
Specifies the Modbus function to be executed
by the command.
MBTCP.CONTROL.EventCommand
_DBData.DeviceModbusAddress
Specifies the register or digital point address
offset within the Modbus server device. The
MBTCP client reads or writes from/to this
address within the server.
MBTCP.CONTROL.EventCommand
_DBData.StatusReturned
0 = Fail
1 = Success
-1 = Client is not Enabled and Active
MBTCP.CONTROL.EventCommand
_DBData.CmdInQue
Number of commands in the queue waiting to
be executed