Reading status data from the module, Configuration error codes – ProSoft Technology MVI56E-MCM/MCMXT User Manual

Page 111

Advertising
background image

MVI56E-MCM ♦ ControlLogix Platform

Diagnostics and Troubleshooting

Modbus Communication Module

User Manual

ProSoft Technology, Inc.

Page 111 of 199

June 18, 2014

5.8

Reading Status Data from the Module

The MVI56E-MCM module returns a 33-word Status Data block that can be used
to determine the module’s operating status. This data is located in the module’s
database at registers 15270 to 15302 and at the location specified in the
configuration. This data is transferred to the ControlLogix processor continuously
with each read block. For a complete listing of the status data object, refer to
MVI56E-MCM Status Data Definition (page 152).

5.8.1 Viewing the Error Status Table

Command execution status and error codes for each individual command are
stored in a Master Command Status/Error List, held in the module’s internal
memory. There are several ways to view this data.
 View Command Status, Slave Status and Port Status in the Monitoring

Modbus Port Information (page 105).

 Configure the Command Error Pointer parameter (<CmdErrPtr>) to copy the

status/error values into the User Database area of module memory.

 Copy this table to a section of the ReadData area, where you can view it in

the <R

EAD

D

ATA

A

RRAY

>

tag array in the ControlLogix controller tag database.

You can use these values for communications status monitoring and
alarming.

o

<C

MD

E

RR

P

TR

>

= "MCM.CONFIG.P

ORTX

.C

MD

E

RR

P

TR

"

o

<R

EAD

D

ATA

A

RRAY

>

= "MCM.DATA.R

EAD

D

ATA

[

X

]"

These variables would hold the literal tag names in the sample program or
Add-On Instruction. Use these variables to accommodate future ladder or tag
changes while maintaining backward compatibility.

5.9

Configuration Error Codes

During module configuration download, the OK and APP LEDs will cycle through
various states. If the OK LED remains RED and the APP LED remains OFF or
RED for a long period of time, look at the configuration error words in the
configuration request block. The structure of the block is shown in the following
table.

Offset

Description

Length

0

Reserved

1

1

9000

1

2

Module Configuration Errors

1

3

Port 1 Configuration Errors

1

4

Port 2 Configuration Errors

1

5 to 248

Spare

244

249

-2 or -3

1

The bits in each configuration word are shown in the following table. The module
configuration error word has the following definition:

Advertising