ProSoft Technology MVI46-DNP User Manual

Page 78

Advertising
background image

MVI46-DNP ♦ SLC Platform

Reference

Master/Slave Communication Module

Page 78 of 143

ProSoft Technology, Inc.

August 23, 2007

Using the data in this block, the module responds with data in the M0: with the
following format.

Word Offset in
Block

Data Fields

Description

M0: .80

Command
Code

This field contains a value of zero the command is
complete. indicating

M0: .81

Acknowledge
Value

This field contains a value of 249 to indicate that the
module processed the command. This value is written
over the number of slaves sent in the request message.

M0: .82

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 6.

M0: .83

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.

M0: .84 to
M0: .93

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 83.

94 to 103

Slave Data #2

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

104 to 113

Slave Data #3

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

114 to 123

Slave Data #4

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

124 to 133

Slave Data #5

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

134 to 143

Slave Data #6

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

The 10-word data area for each slave is that shown in the previous table. You
can sequentially read through the list of all IED units up to six at a time to retrieve
all the error information. If all 100-slave units are to be retrieved, it requires 17
transfers.

250 or 9950 – Read Command Error List (Master Port)

If the SLC sends a command control code of 250 or 9950, the application
responds with a command error list. Each command in the system has a data
word set aside for its last error code. This value is set by the DNP master port
command list task and the values correspond to the errors listed in the error
section of this documentation. This 250-word data area can be accessed 60
commands at a time. The format of the command control block sent from the
SLC is described in the following table.

Word Offset in Block

Data Fields

Description

M0: .80

Command Code

This field contains the value of 250 identifying the command list error
table request.

M0: .81

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 60.

M0: .82

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.

Advertising