7 get module date and time block (9970), 8 set module time block (9971), 9 cold boot block (9999) – ProSoft Technology PTQ-104C User Manual
Page 59: Get module date and time block (9970), Set module time block (9971), Cold boot block (9999)
49TPTQ-104C ♦ 48TQuantum Platform
Module Configuration
47TIEC 60870-5-104 Client
12TUser Manual
5.3.7 Get Module Date and Time Block (9970)
Block 9970 requests the module’s date and time. This data can be used to set
the PLC clock.
5.3.8 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) to module
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 for 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) to Processor
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
5.3.9 Cold Boot Block (9999)
Block 9999 performs a cold-boot operation on the module. The following table
describes the format of the block constructed by the processor.
Offset
Description
Length
0
9999
1
1 to 63
Spare
63
The warm and cold boot processes perform the same operation. Many of the
variables that must be initialized are fixed when the module first boots. They
cannot be changed after the application starts.
ProSoft Technology, Inc.
Page 59 of 136
March 4, 2013