Mvi56e-mcm user defined data types – ProSoft Technology MVI56E-MCM/MCMXT User Manual

Page 154

Advertising
background image

Reference

MVI56E-MCM ♦ ControlLogix Platform

User Manual

Modbus Communication Module

Page 154 of 199

ProSoft Technology, Inc.

June 18, 2014

Offset

Content

Description

231

Port 1 Current Error

For a Slave Port, this field contains the value of the most
recently returned error code. For a Master Port, this field
contains the index number of the most recently executed
command that failed.

232

Port 1 Last Error

For a Slave Port, this field contains the value of the previous
most recently returned error code. For a Master Port, this
field contains the index number of the previous most
recently executed command that failed.

233

Port 2 Current Error

For a Slave Port, this field contains the value of the most
recently returned error code. For a Master Port, this field
contains the index number of the most recently executed
command that failed.

234

Port 2 Last Error

For a Slave Port, this field contains the value of the previous
most recently returned error code. For a Master Port, this
field contains the index number of the previous most
recently executed command that failed.

6.7

MVI56E-MCM User Defined Data Types

6.7.1 MCMModuleDef

This object contains the data types that apply to the operation of the module.

Name

Data Type

Description

CONFIG

MCMCONFIG (page
154)

Module and port configuration

DATA

MCMDATA (page
157)

Modbus data transferred between module and
processor

STATUS

MCMSTATUS (page
157)

Status information in each read block

CONTROL

MCMCONTROL
(page 158)

Optional requests from the processor to the
module

UTIL

Util (page 158)

Variables for internal ladder usage - should not
be accessed by user application

6.7.2 MCMCONFIG

This object contains the data types that apply to the configuration of the module.
Refer to MVI56E-MCM Configuration Data (page 144) for a complete description
of each element in this object.

Name

Data Type

Description

ModDef

MCMModule (page
155)

Module Definition

Port1

MCMPort (page
155)

Port 1 configuration settings

Port2

MCMPort

Port 2 configuration settings

Port1MasterCmd

MCMCmd (page
156)

Master commands for Port 1 (ignore if port is
configured for slave mode)

Advertising