beautypg.com

ProSoft Technology MVI69-DNP User Manual

Page 81

background image

Reference MVI69-DNP

♦ CompactLogix or MicroLogix Platform

DNP 3.0 Master/Slave Communication Module

ProSoft Technology, Inc.

Page 81 of 129

November 3, 2008

The module responds to a valid request with a block 9949 containing the
requested slave information. The following example shows the format of the
block:

Block Format for Read

Word Offset in Block Data Field(s)

Description

0 Block

ID

This field contains the value of 9949 identifying
the block type to the PLC.

1

Block ID

This is the next block requested by the module.

2 Slave

Count

This field contains the number of slave records
contained in the block that must be processed by
the PLC. This field will have a value of 1 to 7.

3

Slave Start Index

This field contains the index in the slave array for
the first record in the file. This field will have a
value of 0 to MaxSlaves-1.

4 to 11

Slave Data #1

This is the slave data for the first slave in the
block. The slave index for the data is the Slave
Start Index given in word 3.

12 to 19

Slave Data #2

This is the slave data for the second slave in the
block.

20 to 27

Slave Data #3

This is the slave data for the third slave in the
block.

28 to 35

Slave Data #4

This is the slave data for the third slave in the
block.

36 to 43

Slave Data #5

This is the slave data for the third slave in the
block.

44 to 51

Slave Data #6

This is the slave data for the third slave in the
block.

52 to 59

Slave Data #7

This is the slave data for the third slave in the
block.

60 to 61

Spare

Not Used

Block 9950 - Read Command Error List

If the processor sends a block number of 9950 to the module, the application
responds with a command error list. Each command in the system has a data
word set aside for its last error code. The value is set by the DNP master port
command list task and the values correspond to the error section of this manual.
The format of the block is shown below:

Block Format for Write

Word Offset in Block Data Field(s)

Description

0 Block

ID

This field contains the value of 9950 identifying
the block type to the module.

1

Number of Commands
to report

This field contains the number of commands to
report in the response message. The value has a
range of 1 to 58.

2

Start Index of First
Command

This parameter sets the index in the command
list where to start. The first command in the list
has a value of 0. The last index in the list has a
value of MaxCommands -1.

3 to 61

Spare

Not Used