Verify Communication MVI56E-MCMR ♦ ControlLogix Platform
User Manual Modbus Communication Module with Reduced Data Block
Page 106 of 223 ProSoft Technology, Inc.
3.1 Verify Master Communications
Within the MVI56E-MCMR module, there are several ways to verify that the
Modbus Master commands are working correctly.
The most common, and detailed method of checking the communications is
using the MODBUS PORT X COMMAND ERROR POINTER parameter. This parameter
will tell you the individual status of each command that is issued by the module.
For example, with the Modbus Port 1 Command Error Pointer set to 1100 to
1101 for Modbus Master Commands 1 and 2, using the default READ START 600
and READ COUNT 600 in the Backplane Configuration, that data is mapped to
ReadData[500] and ReadData[501].
Another method is to check the MCMR.STATUS.PRTXERRS location for a
running count of commands issued, responses received, errors, and so on.
For example, to check command status for Port 1, toggle the value of the
controller tag MCMR.CONTROL.CMDCONTROLP1.CMDERRTRIGGER. The status
data for that command populates the controller tag
MCMR.CONTROL.CMDCONTROLP1.CMDERRDATA[X].
3.1.1 Status Data Definition as a Master
This section contains a description of the members present in the
MCMR.STATUS object. This data is transferred from the module to the
processor as part of each read block using the module’s Input Image. Sample
Ladder Logic will copy this information from the LOCAL: X: I.DATA {OFFSET} tag
into the MCMR.STATUS array.
This value is incremented each time a complete program
cycle occurs in the module.
These two registers contain the product code of "MCM".
These two registers contain the product version for the
current running software.
These two registers contain the month and year values for
the program operating system.
These two registers contain the run number value for the
currently running software.
Port 1 Command List
Requests
This field contains the number of requests made from this
port to Slave devices on the network.
Port 1 Command List
Response
This field contains the number of Slave response messages
received on the port.
Port 1 Command List
Errors
This field contains the number of command errors processed
on the port. These errors could be due to a bad response or
command.
This field contains the total number of messages sent out of
the port.
This field contains the total number of messages received on
the port.
This field contains the total number of message errors sent
out of the port.
This field contains the total number of message errors
received on the port.