Configuration error codes, Configuration, Error codes – ProSoft Technology MVI71-MCM User Manual

Page 95

Advertising
background image

Reference MVI71-MCM

♦ PLC Platform

Modbus Communication Module

ProSoft Technology, Inc.

Page 95 of 111

December 28, 2007

5.8 Configuration

Error

Codes

The configuration update procedure starts when the module receives a
configuration block (Write Block ID = 9000):

Offset Description

Length

0 9000

1

1 to 6

Backplane Setup

6

7 to 31

Port 1 Configuration Errors

25

32 to 56

Port 2 Configuration Errors

25

57 to 63

Spare

7

The module then responds with a Read Block (ID = -2) with any possible errors:

5.8.1 BTR

Offset Description

Length

0 -2

1

1 9000

1

2

Module Configuration Errors

1

3

Port 1 Configuration Errors

1

4

Port 2 Configuration Errors

1

5 to 63

Spare

58

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

Bit Description

Value

0

Write block start value is greater than the database size.

0x0001

1

Write block start value is less than zero.

0x0002

2

Write block count value is less than zero.

0x0004

3

Write block count + start is greater than the database size.

0x0008

4

Read block start value is greater than the database size.

0x0010

5

Read block start value is less than zero.

0x0020

6

Read block count value is less than zero.

0x0040

7

Read block count + start is greater than the database size.

0x0080

8

0x0100

9

0x0200

10

0x0400

11

0x0800

12

0x1000

13

0x2000

14

0x4000

15

0x8000

Advertising