beautypg.com

Block 9970 or 270 – set plc time using module time – ProSoft Technology MVI71-DNP User Manual

Page 88

background image

MVI71-DNP ♦ PLC Platform

Reference

DNP 3.0 Master/Slave Communication Module

Page 88 of 172

ProSoft Technology, Inc.

August 23, 2007

The sequence counter field in the returned block is set to the last successfully
processed block 9959 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 9959 block, the PLC must re-send the
block.

Block 9970 or 270 – Set PLC Time Using Module Time
This block transfers the module's time to the PLC processor. Ladder logic must
be used to set the processor's clock using the data received. The format of the
block sent from the PLC has the following format:

Word Offset in Block

Data Field(s)

Description

0

Block ID

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

1 to 63

Not Used

Not Used

The module responds to the request with a read block 9970 with the following
format:

Word Offset in Block

Data Field(s)

Description

0

Block Read ID

This field contains the block identification code of
9970 for the block.

1

Block Write ID

This is the next block requested by the module.

2

Year

This field contains the four-digit year to be used with
the new time value.

3 Month

This field contains the month value for the new time.
Valid entry for this field is in the range of 1 to 12.

4

Day

This field contains the day value for the new time.
Valid entry for this field is in the range of 1 to 31.

5 Hour

This field contains the hour value for the new time.
Valid entry for this field is in the range of 0 to 23.

6

Minute

This field contains the minute value for the new time.
Valid entry for this field is in the range of 0 to 59.

7 Seconds

This field contains the second value for the new
time. Valid entry for this field is in the range of 0 to
59.

8

Milliseconds

This field contains the millisecond value for the new
time. Valid entry for this field is in the range of 0 to
999.

9

Remote Time
Synchronization

This field informs the PLC if the date and time
passed has been synchronized with a remote DNP
master device on the module's slave port.

10 to 63

Not Used

Not Used