ProSoft Technology MVI56E-MCMR User Manual

Page 110

Advertising
background image

Verify Communication

MVI56E-MCMR ♦ ControlLogix Platform

User Manual

Modbus Communication Module with Reduced Data Block

Page 110 of 225

ProSoft Technology, Inc.

May 13, 2014

3.1.2 Command Error Codes

The MVI56E-MCMR module will return an individual error code for every
command configured within the M

ODBUS

P

ORT X

C

OMMANDS

section. The location

of these error codes are determined by the parameter M

ODBUS

P

ORT X

C

OMMAND

E

RROR

P

OINTER

.

This parameter determines where in the module's 5000-register

database the error codes for each command will be placed. The number of error
codes returned into the database is determined by the number of commands
configured in the Modbus Port x Commands section of the configuration. For 10
commands, 10 registers will be used; for 100 commands, 100 registers will be
used.

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

EAD

D

ATA

array.

Once again, the configuration in the B

ACKPLANE

C

ONFIGURATION

section for

R

EAD

R

EGISTER

S

TART

and R

EAD

R

EGISTER

C

OUNT

determine which of the 5000

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

EAD

D

ATA

array.

Based on the sample configuration values for R

EAD

R

EGISTER

S

TART

and R

EAD

R

EGISTER

C

OUNT

,

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

The following illustration shows the sample configuration values.

Advertising