Read module's time to processor (9970), Block format for write, Block format for read – ProSoft Technology PTQ-101M User Manual

Page 121

Advertising
background image

Reference PTQ-101M

♦ Quantum Platform

IEC 60870-5-101 Master Communication Module

ProSoft Technology, Inc.

Page 121 of 181

May 14, 2008

Offset Parameter

Description

41 Requests

This word contains the total number of messages
transmitted on channel 1.

42 Responses

This word contains the total number of messages
received on channel 1.

43 Err

Sent

This word contains the number of error messages
sent on channel 1.

44 Err

Received

This word contains the number of error messages
received on channel 1.

45 Cfg

Err

This bit mapped word is used to recognize any
configuration errors for channel 1. Refer to the
configuration error word table (page 152) for a
definition of each bit.

46 Current

Error

This word contains the error code for the current
command executing on channel 1.

47 Last

Error

This word contains the error code for the last error
recognized on channel 1.

48 to 63

Spare

Not used

Read Module's Time to Processor (9970)
If a value of 9970 is placed in the control register, the processor will read the
module's current time.

Block Format for Write
The following table shows the block format for write:

Word Offset in Block

Data Field(s)

Description

0 Sequence

Number

This number triggers the request for the module.
When this number changes, the module will
process the command control request.

1 Block

ID

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

Block Format for Read
The module responds to a valid 9970 request with a block containing the
requested date and time. The block format is shown in the following table:

Word Offset in Block

Data Field(s)

Description

0 Sequence

Number

This is the sequence number received by the
module, incremented by one, after the request is
processed.

1

Block ID

This word will contain the value of 9970.

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 Values: 1 to 12.

4 Day

This field contains the day value for the new time.
Valid Values: 1 to 31.

5 Hour

This field contains the hour value for the new time.
Valid Values: 0 to 23

6 Minute

This field contains the minute value for the new
time. Valid Values: 0 to 59.

7 Seconds

This field contains the second value for the new
time. Valid Values: 0 to 59.

8 Milliseconds

This field contains the millisecond value for the
new time. Valid Values: 0 to 999.

Advertising