beautypg.com

ProSoft Technology MVI56E-MNETC User Manual

Page 131

background image

MVI56E-MNETC ♦ ControlLogix Platform

Reference

Modbus TCP/IP Client Enhanced Communication Module

User Manual

ProSoft Technology, Inc.

Page 131 of 183

February 3, 2013

Block Response from Module to Processor

Offset

Description

Length

0

Reserved

1

1

Write Block ID

1

2

Number of commands added to command queue

1

3 to 248

Spare

246

249

5001 to 5016

1

Controller Tags

The MNETC.CONTROL controller tag array holds all the values needed to create
one Command Control block, have it sent to the module, and control the
processing of the returned response block.

Controller Tag

Description

CmdID

Enter a decimal value representing the quantity of commands to be
requested in the Command Control block (1 to 16). This value is
used by the ladder logic 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.

CmdControl.ClientID

Enter the Client to issue the commands to (0 to 29)

CmdControl.CMDqty

Not used

CmdControl.CmdIndex

Enter the

ROW NUMBER

of the command in the MNET Client x

Command List in ProSoft Configuration Builder minus 1. This is a
16-element array. Each element holds one Command Index.

CmdControl.WriteCmdBits

Enter a 1 (enable) or a 0 (disable) to select which commands on the
configuration's Client x Command List will be executed during
routine polling. There is one 16-bit word for each of the 30 Clients.
Each of the 16 bits corresponds to one of the 16 commands
available to each Client. The state of these WriteCmdBits overrides
whatever value may be assigned to the Enable parameter in the
configuration.

Note: This parameter only affects routine polling. It has
no effect on Command Control blocks.

CmdControlPending

Not used

CmdControlTrigger

Set this tag to 1 to trigger the execution of a Command Control
block after all the other parameters have been entered.

Pass-Through Blocks (9956 to 9961, 9970, 9996)

In Pass-Through mode, write messages sent to a server port are passed directly
through to the processor. In this mode, the module sends special blocks to the
processor when a write request is received from a Client. Ladder logic must
handle the receipt of these blocks and place the enclosed data into the proper
controller tags in the processor.