Block library TeleControl ST7
5.7 Master copies
TIM 1531 IRC
Operating Instructions, 02/2018, C79000-G8976-C468-02
249
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
h
must always be entered.
●
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 Assignment of the data words with date, time and time status
CurrentDate
Data byte 0
Year * 10
Year * 1
Data byte 1
Month * 10
Month * 1
Data byte 2
Day * 10
Day * 1
Data byte 3
Hour * 10
Hour * 1
CurrentTime
Data byte 4
Minute * 10
Minute * 1
Data byte 5
Second * 10
Second * 1
Data byte 6
Milliseconds * 100
Milliseconds * 10
Data byte 7
Milliseconds * 1
Time status
Содержание TIM 1531 IRC
Страница 262: ...Block library TeleControl ST7 5 7 Master copies TIM 1531 IRC 262 Operating Instructions 02 2018 C79000 G8976 C468 02 ...
Страница 302: ...Dimension drawings TIM 1531 IRC 302 Operating Instructions 02 2018 C79000 G8976 C468 02 ...
Страница 322: ...Documentation references 13 TIM 1531 IRC 322 Operating Instructions 02 2018 C79000 G8976 C468 02 ...
Страница 336: ...Glossary TIM 1531 IRC 336 Operating Instructions 02 2018 C79000 G8976 C468 02 ...