Handling with VIPA data handling blocks Manual BG41/BG42/BG43
4-8 Rev. 99/49
Allocation DB99
The data words of the data block DB99 are allocated as follows:
DW0
DL0: 40h = building block’s aknowledgement byte
DR0: Error byte
00h = no error
01h = building block wrongly addressed or defect
04h = data block not available
0Ah = wrong clock command
DW1
DL1: 40h = clock should be addressed
DR1: Sub-command for operating clock
01h = Transfer time and date to PLC
(BCD depiction)
02h * = Set clock
(Sub-commandinDW2uptoDW5)
03h * = Set clock one hour forward
(adjusts from winter to summer time)
04h * = Set clock one hour back
(adjusts from summer to winter time)
05h = Transfer time and date to PLC
(ASCII character)
* These functions are not available,
if the DCF77 antenna module is being operated.
DW1 is to be previously occupied by the user prior to the loading of FBs.
DW2
DL2 00h…59h seconds (BCD)
DR2 00h…59h minutes (BCD)
DW3
DL3 00h…23h hours (BCD)
DR3 01h…31h day (BCD)
DW4
DL4 01h…12h month (BCD)
DR4 00h…99h year (BCD)
DW5
DL5 00h…06h weekday, Sunday = 00h (BCD)
DR5 00h