beautypg.com

ProSoft Technology MVI94-MCM-MHI User Manual

Page 60

background image

Diagnostics and Troubleshooting

MVI94-MCM ♦ Flex I/O Platform

User Manual

Serial Communications Modbus Communication Module

Page 60 of 109

ProSoft Technology, Inc.

March 29, 2011

4.4

Error/Status Data

The module error/status data areas are discussed in this section. The module

contains three areas related to this data. The user defines the location of two of

these data sets in the virtual Modbus database of the module. The error/status

data contains module data, the command error list data set contains the errors

associated with the command list and the slave status list contains the current

communication status of each slave on the master port.

4.4.1 Error and Status Data Table

The error/status data table is located at the virtual Modbus address assigned by

the user. If the address is set to -1 or the frequency parameter is set to 0, the

data will not be placed in the database. It will only be available through the

Configuration/Debug Port. If valid address and frequency values are assigned,

the module will update the Modbus data area.
The data area will be initialized with zeros whenever the processor is initialized.

This occurs during a cold-start (power-on), reset (reset push-button pressed) or a

warm-boot operation (commanded or loading of new configuration).
The data area is a 22-word register block. The structure of the block is shown in

the following table.

Word

Description

System Information
0

Program Cycle Counter

1

Product Name (ASCII) = MCM

2

3

Revision (ASCII)

4

5

Operating System Rev (ASCII)

6

7

Production Run Number (ASCII)

8

Modbus Port
9

Number of Command Requests

10

Number of Command Responses

11

Number of Command Errors

12

Number of Requests

13

Number of Responses

14

Number of Errors Received

15

Number of Errors Sent

Block Transfer Statistics
16

Total Number of Read Block Operations

17

Total Number of Write Block Operations

18

Total Number of Blocks Parsed

19

Total Number of Event Blocks Received

20

Total Number of Command Blocks Received

21

Total Number of Block Transfer Errors

Counter Values are initialized to 0 at power up.

This manual is related to the following products: