Set module time block (9971), Cold boot block (9999) – ProSoft Technology PTQ-101M User Manual
Page 139

Reference PTQ-101M
♦ Quantum Platform
IEC 60870-5-101 Master Communication Module
ProSoft Technology, Inc.
Page 139 of 181
May 14, 2008
Set Module Time Block (9971)
Block identification code 9971 is used to pass the clock time in the PLC to the
module. The date and time provided will be used to set the module's clock.
Block Format from Processor (4x Register Data)
Word Offset in Block
Data Field(s)
Description
0
Sequence
Counter
This field contains a new value each time the user
wishes to request a new command block.
1 Block
ID
This field contains the block identification code of
9971 for the block.
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 to 63
Spare
Not Used
Block Format from Module (3x Register Data)
Word Offset in Block
Data Field(s)
Description
0
Sequence
Counter
This field contains a new value each time the block is
handled.
1 Block
ID
This field contains the block identification code of
9971 for the block.
2 to 63
Spare
Not Used
Cold Boot Block (9999)
Block 9999 performs a cold-boot operation on the module. The format of the
block constructed by the processor is as follows:
Offset Description
Length
0 9990 1
1 to 63
Spare
63
In this version of the module, the warm and cold boot processes perform the
same operation, because many of the variables that must be initialized are fixed
when the module first boots and cannot be changed after the application starts.