beautypg.com

ProSoft Technology MVI56E-MNET/MNETXT User Manual

Page 122

background image

Reference

MVI56E-MNET / MNETXT ♦ ControlLogix Platform

User Manual

Modbus TCP/IP Interface Module

Page 122 of 181

ProSoft Technology, Inc.

April 23, 2014

Controller Tags
The elements of the MNET.UTIL.EventCmd controller tag array contain all the
values needed to build one Modbus TCP/IP command, have it sent to the
module, and control the processing of the returned response block.

Controller Tag

Description

EventCmdTrigger

Set this tag to 1 to trigger the execution of the Event Command.

EventCmdPending

Temporary variable used to prevent a new Event Command block
from being sent to the module until the previously sent Event
Command block has been completely processed and a response
block has been returned.

IPAddress

Enter the four octet IP address numbers of the target Modbus server
into this array tag.

ServicePort

Enter 502 for a MBAP message or 2000 for a MNET message.

SlaveAddress

Enter the Modbus Node Address. Enter 0, if not needed.

InternalDBAddress

Enter the database address for the Client.

PointCount

Enter the number of words or bits to be transferred by the Client.

SwapCode

Enter the swap type for the data. This function is only valid for function
codes 3 and 4.

ModbusFunctionCode

Enter the Modbus function code for the command.

DeviceDBAddress

Enter the database address for the server.

EventCmdStatusReturned

Temporary variable that provides status indication of whether or not
the Event Command was successfully added to the command priority
queue.

EventBlockID

Temporary variable that provides the identification code number of the
Block ID just executed.