ProSoft Technology MVI56E-MCM/MCMXT User Manual

Page 69

Advertising
background image

MVI56E-MCM ♦ ControlLogix Platform

Verify Communication

Modbus Communication Module

User Manual

ProSoft Technology, Inc.

Page 69 of 199

June 18, 2014

Offset

Content

Description

232

Port 1 Last Error

For a Master Port, this field contains the command index
number of the previous most recently executed command
that failed. To find what kind of error occurred, see the
Command Error List entry for this command index number.

233

Port 2 Current Error

For a Master Port, this field contains the command index
number of the most recently executed command that failed.
To find what kind of error occurred, see the Command Error
List entry for this command index number.

234

Port 2 Last Error

For a Master Port, this field contains the command index
number of the previous most recently executed command
that failed. To find what kind of error occurred, see the
Command Error List entry for this command index number.

4.1.2 Command Error Codes

The MVI56E-MCM module will return an individual error code for every command
configured within the MCM.CONFIG.P

ORT

XM

ASTER

C

MD

section. The location of

these error codes are determined by the parameter
MCM.CONFIG.P

ORT

X.C

MD

E

RR

P

TR

.

This parameter determines where in the

module's 10,000-register database the error codes for each command will be
placed. The amount of error codes returned into the database is determined by
the MCM.CONFIG.P

ORT

X.C

MD

C

OUNT

parameter, therefore if the maximum

number of commands have been selected (325), then 325 registers will be
placed into the module memory.

Note: To use up to 325 commands, your MVI56E-MCM module needs to have firmware version

3.01 or higher, and your MVI56E-MCM Add-On Instruction needs to be version 2.8 or higher.

Earlier versions support up to 100 commands.

To be useful in the application, these error codes must be placed within the
MCM.DATA.R

EAD

D

ATA

array.

Once again, the configuration in the MCM.CONFIG.M

OD

D

EF

section for

R

EAD

S

TART

R

EG

,

and R

EAD

R

EG

C

OUNT

determine which of the 10,000 registers

will be presented to the ControlLogix processor and placed in the tag
MCM.DATA.R

EAD

D

ATA

array.

Based on the sample configuration values for R

EAD

S

TART

R

EG

and

R

EAD

R

EG

C

NT

,

this will be addresses 1000 to 1599 of the module memory. Below

are the sample configuration values.

Advertising