Mbtcp.control – ProSoft Technology MVI69L-MBTCP User Manual
Page 81
MVI69L-MBTCP ♦ CompactLogix Platform
Using Controller Tags
Communication Module
User Manual
ProSoft Technology, Inc.
Page 81 of 152
January 6, 2014
5.3.3 MBTCP.CONTROL
This array handles special tasks requested by the processor.
5.3.3.1 MBTCP.CONTROL.CommandControl
This array allows the processor to dynamically enable configured commands for
execution.
Tag Name
Range
Description
MBTCP.CONTROL.CommandControl.
Trigger
0 or 1
Command Control: Disable = 0, Enable =
1
MBTCP.CONTROL.CommandControl.
CommandID
1 to 16
This value represents the number of
commands to be requested in the
Command Control block (1 to 16).
MBTCP.CONTROL.CommandControl.
ClientID
0 to 9
Client ID associated with the command to
be executed.
MBTCP.CONTROL.CommandControl.
CommandIndex
0 to 15
This array stores the Client x command
indexes to be executed. Up to 16 command
indexes can be stored here.
MBTCP.CONTROL.CommandControl.
CmdsAddedToQue
-1 or -2
This value is returned from the module.
This number of commands added to the
queue.
-1 = Client not enabled and active
-2 = Client index not valid
MBTCP.CONTROL.CommandControl.
CmdInQue
Number of Commands in Queue waiting to
be executed
5.3.3.2 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, zeroing-out counters, etc.
Tag Name
Range
Description
MBTCP.CONTROL.EventCommand_
DBData.Trigger
0 or 1
Toggle to send Event Command.
0 = Disable, 1 = Enable
MBTCP.CONTROL.EventCommand_
DBData.ClientID
0 to 9
Client ID associated with the command
to be executed
MBTCP.CONTROL.EventCommand_
DBData.ServerIPaddress
xxx.xxx.xxx.
xxx
IP address of target Modbus server
MBTCP.CONTROL.EventCommand_
DBData.ServicePort
502 or 2000
Service port of target Modbus server
MBTCP.CONTROL.EventCommand_
DBData.SlaveAddress
1 to 255
Slave address of target Modbus TCP/IP
to serial device, if applicable
MBTCP.CONTROL.EventCommand_
DBData.InternalDBaddress
0 to 479
(word-level)
or
0 to 3839
(bit-level)
Specifies the module’s internal database
register to be associated with the
command. Allowable range is 0 to 479
for Modbus Function Codes 3, 4, 6, or
16, and 0 to 3839 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.