ProSoft Technology MVI69L-MBTCP User Manual
Page 82
![background image](https://www.manualsdir.com/files/866076/content/doc082.png)
Using Controller Tags
MVI69L-MBTCP ♦ CompactLogix Platform
User Manual
Communication Module
Page 82 of 152
ProSoft Technology, Inc.
January 6, 2014
MBTCP.CONTROL.EventCommand_
DBData.SwapCode
0,1,2,3
Defines 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
1,2,3,4,5,6,1
5,16
Specifies the Modbus function to be
executed by the command.
MBTCP.CONTROL.EventCommand_
DBData.DeviceModbusAddress
0 to 9999
Specifies the register or digital point
address offset within the Modbus server
device. The MBTCP Client will read or
write from/to this address within the
server.
MBTCP.CONTROL.EventCommand_
DBData.StatusReturned
0, 1, or -1
0 = Fail
1 = Success
-1 = Client is not Enabled and Active
MBTCP.CONTROL.EventCommand_
DBData.CmdInQue
Number of Commands in Queue waiting
to be executed
5.3.3.3 MBTCP.CONTROL.EventCommand_PLCData
This array allows the processor to dynamically build Modbus commands with
PLC processor data. This feature is meant for periodic execution such as a clock
reset, zeroing-out counters, etc.
Tag Name
Range
Description
MBTCP.CONTROL.EventCommand_
PLCData.Trigger
0 or 1
Toggle to send Event Command.
0 = Disable, 1 = Enable
MBTCP.CONTROL.EventCommand_
PLCData.ClientID
0 to 9
Client ID associated with the command
to be executed
MBTCP.CONTROL.EventCommand_
PLCData.ServerIPaddress
xxx.xxx.xxx.
xxx
IP address of target Modbus server
MBTCP.CONTROL.EventCommand_
PLCData.ServicePort
502 or 2000
Service port of target Modbus server
MBTCP.CONTROL.EventCommand_
PLCData.SlaveAddress
1 to 255
Slave address of target Modbus TCP/IP
to serial device, for backwards
compatibility
MBTCP.CONTROL.EventCommand_
PLCData.ModbusFunctionCode
1,2,3,4,5,6,1
5,16
Specifies the Modbus function to be
executed by the command.
MBTCP.CONTROL.EventCommand_
PLCData.DeviceDBAddress
0 to 9999
Specifies the register or digital point
address offset within the Modbus server.
The MBTCP Client will read or write
from/to this address within the server.
MBTCP.CONTROL.EventCommand_
PLCData.PointCount
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_
PLCData.Data
Data values associated with the
command
MBTCP.CONTROL.EventCommand_
PLCData.ErrorStatus
Command status after execution