Fc Timetask - Siemens TIM 1531 IRC Operating Instructions Manual

Telecontrol
Table of Contents

Advertisement

Notes on operator input
When changing from one mode to the next, the content of DB TestCopyData is not deleted.
Only internal pointers and frame counters in the management area of the DB TestCopyData
are reset. When there is a mode change it is therefore recommended to use the delete
function "FF" to preset the frame buffer area with 0. The makes the copied frame blocks
easier to read.
If send and receive frames are to be copied, in the left half byte of the "OperationMode"
parameter, the same mode must be entered as in the right half byte.
The following scheme applies to mode 0, 1, 2 and 3:
● If the buffer is deleted, FF
● Separate deletion of the receive and send frames is not possible.
5.7.2.10

FC TimeTask

Function
The FC TimeTask keeps a continuous date and time on a CPU The FC has no parameters.
Link the FC into the cyclic user program (in OB1) following the FC BasicTask.
FC TimeTask can only be used when the CPU is synchronized by a local TIM. Activate the
time-of-day synchronization for the relevant TIM modules.
After the CPU has started up, the TIM supplies the date and current time the first time with
an Org. frame. After this, time-of-day synchronization is performed at the interval specified in
the configuration of the TIM. For time-of-day synchronization on MPI/partyline an interval of
one minute is recommended. FC TimeTask sets the clock of the CPU with the time provided
by the TIM.
The FC reads out the time in every OB1 cycle. The read time is entered in the first two
double words of the DB BasicData and marked as valid or invalid and with an indication
whether it is daylight saving or standard time.
From DB BasicData all blocks take the current time if they need it. For example the data
point typicals do this to time stamp their data or FC Trigger to check whether a time set for
the FC has been reached or a preset interval has elapsed. This time of day is also available
to the user program.
Table 5- 13
CurrentDate
CurrentTime
TIM 1531 IRC
Operating Instructions, 02/2018, C79000-G8976-C468-02
must always be entered.
h
Assignment of the data words with date, time and time status
Data byte 0
Data byte 1
Data byte 2
Data byte 3
Data byte 4
Data byte 5
Data byte 6
Data byte 7
Block library TeleControl ST7
Year * 10
Month * 10
Day * 10
Hour * 10
Minute * 10
Second * 10
Milliseconds * 100
Milliseconds * 1
5.7 Master copies
Year * 1
Month * 1
Day * 1
Hour * 1
Minute * 1
Second * 1
Milliseconds * 10
Time status
249

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents