ProSoft Technology MVI94-DNP User Manual

Page 57

Advertising
background image

MVI94-DNP ♦ Flex I/O

Diagnostics and Troubleshooting

DNP 3.0 Server over Ethernet Communication Module

User Manual

ProSoft Technology, Inc.

Page 57 of 131

December 17, 2010

4.6

Error Status Data

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

data are available with this type of data: Error/Status Data, Slave Status Data

and Command Error List Data. Each of these datasets are discussed in the

following topics:

4.6.1 Error Status Data

This data is provided to the processor using blocks 200 to 210 and is available

for viewing using the configuration/debug port option. The module transfers this

data to the processor at the end of each scan of normal data-block transfer. Each

block contains 6-words of data. Ladder logic should be written to place the data

received into a user data file. The following table describes the block numbers

and data received in each block:

Word

Block
Number

Block
Offset

Variable Name

Description

0

200

2

Current DNP Slave Port

status

This value represents the current value
of the error code for the port. This value

will only be valid if the port is

configured as a slave. The possible

values are described in the application

documentation.

1

200

3

DNP Slave Port last

transmitted error code

This value represents the last error

code transmitted to the master by this

slave port.

2

200

4

DNP Slave Port total
number of message

frames received by slave

This value represents the total number
of message frames that have matched

this slaves address on this port. This

count includes message frames which

the slave may or may not be able to

parse and respond.

3

200

5

DNP Slave Port total
number of response

message frames sent

from slave

This value represents the number of
good (non-error) responses that the

slave has sent to the master on this

port. The presumption is that if the

slave is responding, the message was

good. Note: This is a frame count.

4

200

6

DNP Slave Port total
number of message

frames seen by slave

This value represents the total number
of message frames received by the

slave, regardless of the slave address.

5

200

7

DNP Slave
synchronization error

count (Physical Layer

Error)

This value counts the number of times
a sync error occurs. The error occurs

when extra bytes are received before

the start bytes (0x05 and 0x64) are

received.

6

201

2

DNP Slave overrun error
count (Physical Layer

Error)

This value counts the number of times
the overrun error occurs. This error

occurs when the mainline Data Link

Layer routine cannot read the data

received on the communication port

before it is overwritten.

Advertising