Command request format, Command response format – ProSoft Technology MVI46-DNP User Manual

Page 82

Advertising
background image

MVI46-DNP ♦ SLC Platform

Reference

Master/Slave Communication Module

Page 82 of 143

ProSoft Technology, Inc.

August 23, 2007

The format of the block is shown in the following table:

Word Offset in Block

Data Fields

Description

M0: .80

Command Code

This field contains a value of zero to indicate that the module
processed the command.

M0: .81

Acknowledge
Value

This field contains a value of 259 to indicate that the module
processed the command. This value is written over the event count
sent in the request message.

M0: .82

Event Count

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

M0: .83

Sequence Counter This field contains the sequence number corresponding to the last

event set processed.

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

270 or 9970 – Set SLC Time Using Module Time (Slave Mode)

This block transfers the module's DNP clock time to the SLC processor. The
module responds to the command with the time in the response message. The
structure of the command and response is shown below:

Command Request Format

Word Offset in Block

Data Field(s)

Description

M0: .80

BTR ID Code

This field contains the value of 270 identifying the set time request to the
module.

Command Response Format

Word Offset in Block

Data Field(s)

Description

M0: .80

Command Code

This field contains a value of zero to indicate that the module processed
the command.

M0: .81

Acknowledge Value This field contains a value of 270 to indicate that the module processed

the command.

M0: .82

Year

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

M0: .83

Month

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

M0: .84

Day

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

M0: .85

Hour

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

M0: .86

Minute

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

M0: .87

Seconds

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

Advertising