ProSoft Technology MVI69E-MBTCP User Manual

Page 80

Advertising
background image

Using Controller Tags

MVI69E-MBTCP ♦ CompactLogix Platform

User Manual

Modbus TCP/IP Enhanced Communication Module

Page 80 of 150

ProSoft Technology, Inc.

May 20, 2015

5.3.2 MBTCP.DATA

This array contains the Read Data and Write Data arrays for processor-to-
module communication.

Tag Name

Description

MBTCP.DATA.ReadData

Data area copied from the module to the processor. This array
stores the Modbus data coming into the module from the Modbus
network.

MBTCP.DATA.WriteData

Data area copied from the processor to the module. This array
stores the outgoing data sent from the module to the Modbus
network.

5.3.3 MBTCP.CONTROL

This array handles special tasks requested by the processor.

MBTCP.CONTROL

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 quantity of commands to

be requested in the Command Control block (1 to
16). The ladder logic uses this value to generate
the Command Control Block ID. The rightmost
digits of the Command Control Block ID are the
number of commands requested by the block.

MBTCP.CONTROL.
CommandControl.ClientID

0 to 19 Client ID associated with the command to be

executed. There are 20 MBTCP clients available.

MBTCP.CONTROL.
CommandControl.CommandIndex

0 to 15 This array stores the command index within the

client ID. It can be determined by command row
number minus 1. Up to 16 command indexes can
be stored here

MBTCP.CONTROL.
CommandControl.CmdsAddedToQue

This value is returned from the module. This is the
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 the queue waiting to be
executed

Advertising