beautypg.com

Block 9959 or 259 – plc analog input event – ProSoft Technology MVI71-DNP User Manual

Page 86

background image

MVI71-DNP ♦ PLC Platform

Reference

DNP 3.0 Master/Slave Communication Module

Page 86 of 172

ProSoft Technology, Inc.

August 23, 2007

Word Offset in Block

Data Field(s)

Description

5 Hour/Minute

Formatted: bits 0 to 5 = Minutes, bits 8 to 12 = Hour.
All other bits are ignored.

6

Sec/Millisecond

Formatted: bits 0 to 9 = Milliseconds, bits 10 to 15 =
Seconds.

7

Year

This is the four digit year for the event.

8 to 12

Five words of data for Event #2.

13 to 17

Five words of data for Event #3.

18 to 22

Five words of data for Event #4.

23 to 27

Five words of data for Event #5.

28 to 32

Five words of data for Event #6.

33 to 37

Five words of data for Event #7.

38 to 42

Five words of data for Event #8.

43 to 47

Five words of data for Event #9.

48 to 52

Five words of data for Event #10.

53 to 57

Five words of data for Event #11.

58 to 62

Five words of data for Event #12.

63

Spare

Not Used

Up to 12 events can be passed from the PLC to the module in each block. To
ensure that the block reached the module and was processed, the module will
send a response read block 9958 to the PLC. The format of the block is shown in
the following table.

Word Offset in Block

Data Field(s)

Description

0

Block ID

Identification code for block set to 9958.

1

Block ID

Block identification code for request from PLC by the
module.

2

Event Count

This field contains the number of events processed
by the module.

Sequence

This field contains the sequence counter of

3

Counter

the last successful block 9958 received.

4 to 63

Spare

Not used

The sequence counter field in the returned block is set to the last successfully
processed block 9958 from the PLC. Compare this value to that sent by the PLC.
If the values match, the events can be removed from the PLC. If the values do
not match, or the PLC does not receive a 9958 block, the PLC must re-send the
block.

Block 9959 or 259 – PLC Analog Input Event
If the PLC sends a block 9959, the module will place the analog input event data
in the block into the event buffer and alter the data values for the points in the
DNP analog input database. The format for the event message is shown in the
following table.