Rule for: standard -> daylight-saving time. Default: Last Sunday in March; 2:00 o'clock
Name Type Start value Comment
W2S STRUCT W2S must be specified in STANDARD TIME!
M BYTE B#16#3 Month of switchover
W BYTE B#16#9 nth occurrence of the weekday
(1 = first, 2 = second,. , 9 = last)
D BYTE B#16#1 Day of week (Sunday = 1)
H BYTE B#16#2 Hour
Rule for: daylight-saving -> standard time. Default: Last Sunday in October 3:00 o'clock
Name Type Start value Comment
S2W STRUCT S2W must be specified in DAYLIGHT-SAVING TIME
M BYTE B#16#10 Month of switchover
W BYTE B#16#9 nth occurrence of the weekday
(1 = first, 2 = second,. , 9 = last)
D BYTE B#16#1 Day of week (Sunday = 1)
H BYTE B#16#3 Hour
All the parameters that have the format BYTE are interpreted as BCD
values!
The specification of the daylight-saving/standard time switchover points
by a rule is mandatory in the EU as of 2002.
15.6.2 FC 61 - BT_LT - Convert base timer to local time
The FC 61 calculates the local time for the base time specified at the input.
Parameter
Parameter Declaration Data type Description
BT INPUT DATE_AND_TIME Base time
WS_DAT INPUT BLOCK_DB Information on the time zone for standard/daylight
saving switchover (Rule DB)
RET_VAL OUTPUT INT Error code
LT OUTPUT DATE_AND_TIME Local time
Description
VIPA SPEED7
Standard
Time Functions > FC 61 - BT_LT - Convert base timer to local time
HB00 | OPL_SP7 | Operation list | en | 18-30 879