beautypg.com

Mnetc.util – ProSoft Technology MVI56E-MNETC User Manual

Page 86

background image

Guide to the MVI56E-MNETC User Manual

MVI56E-MNETC ♦ ControlLogix Platform

User Manual

Modbus TCP/IP Client Enhanced Communication Module

Page 86 of 183

ProSoft Technology, Inc.

February 3, 2013

3.4.4 MNETC.UTIL

This controller tag structure stores the variables required for the data transfer
between the processor and the MVI56E-MNETC module.

Name

Data Type

Description

LastRead

INT

Index of last read block

LastWrite

INT

Index of last write block

BlockIndex

INT

Computed block offset for data table

StatusIndex

INT

Computed block offset for status data

ReadDataSizeGet

INT

Gets ReadData array length

WriteDataSizeGet

INT

Gets WriteData array length

ReadDataBlkCount

INT

Holds the value of the block counts of the
ReadData array

WriteDataBlkCount

INT

Holds the value of the block counts of the
WriteData array

RBTSremainder

INT

Holds remainder calculation value from the
read array

WBTSremainder

INT

Holds remainder calculation value from the
write array

PassThru

MNETCPASSTHRU

Modbus pass-through commands

IPsetPending

BOOL

Allows setting module IP address

IPgetPending

BOOL

Allows getting module IP address

InitOutputData

MNETCINITOUTDATA

Used to bring the module into a known state
after a restart operation

FaultCode

INT

Fault Code value

CheckInitialization

BOOL

Check initialization trigger

StatusSeqIndex

INT

Computed block offset for status data

The LastRead tag stores the latest Read Block ID received from the module. The
LastWrite tag stores the latest Write Block ID to be sent to the module. The
BlockIndex tag is an intermediate variable used during the block calculation.