Sunrise |
Top Previous Next |
The ‘Out’ output is set to True when the current time on the controller is passed the calculated time for sunrise + the 'Offset' value and before the calculated time for sunset. The 'Offset' is in minutes and can be a positive number (i.e so many minutes after sunrise) or can be a negative number (i.e. so many minutes before sunrise). Note that if the 'Offset' is long enough to get passed the calculated sunset time then the output will be set to False. The RealTimeClock must be properly configured with Time Zone and geo location using a RealTimeClock programming block. If not the block output will always be False.
|