Anyway to set automatic daylight savings time in North America using codesys 2.3?
I have the oscat library which is good for European DST only as far as i'm aware.
If it helps i'm using the wago 750-841 with the 750-640 rtc card.
look in the text for below.
i do not know the american dates.
but if you have them, please mail them to him or me as this forum is very big.
hugo will give them in his program.
Equation used TO calculate the beginning OF European Summer TIME:
Sunday (31 - (5*y/4 + 4) mod 7) March at 01.00 UTC
(valid through 2099, courtesy of Robert H. van Gent, EC).
European Summer Time ends (clocks go back) at 01.00 UTC on
* 29 October 2006
* 28 October 2007
* 26 October 2008
Equation used to calculate the end of European Summer Time:
Sunday (31 - (5*y/4 + 1) mod 7) October at 01.00 UTC
(validity AND credits as above).
The North American dates are the 2nd sunday of march at 2am (goes ahead to 3am)
and the 1st Sunday of November at 3am (goes down to 2am). I will play with this text for a bit but like i said i'm new at this so we'll see what happens. thanks for your help
I don't see how to change this equation to suit north american dst.
Is there a function block where you can trigger an event on the 2nd sunday of march or 1st sunday of november?
Ok, so for now I'm just going to let the DST be a couple weeks off.
The problem now is that when daylight savings is triggered, it goes back an hour instead of ahead in my ethernet settings (on the http site and on Wago Ethernet Settings software)
Been looking for us version all week. http://www.webexhibits.org/daylightsaving/i.html
For the United States:
Begin DST: Sunday April (2+6*y-y/4) mod 7+1
End DST: Sunday October (31-(y*5/4+1) mod 7)
Valid for years 1900 to 2006, though DST wasn't adopted until the 1950s-1960s. 2007 and after:
Begin DST: Sunday March 14 - (1 + y*5/4) mod 7
End DST: Sunday November 7 - (1 + y*5/4) mod 7;
European Economic Community:
Begin DST: Sunday March (31 - (5*y/4 + 4) mod 7) at 1h U.T.
End DST: Sunday October (31 - (5*y/4 + 1) mod 7) at 1h U.T.
Since 1996, valid through 2099
(Equations by Wei-Hwa Huang (US), and Robert H. van Gent (EC))