{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Schneider Electric USA Website

Welcome to our website.
How can we help you today?
How does the sunset and sunrise function work in Zelio smart relay
Issue:
How does the sunset and sunrise function work in Zelio smart relay

Product Line:
Zelio smart relay

Environment:
North American Products

Cause:
How does the sunset and sunrise function work in Zelio smart relay

Resolution:
This function calculates the sunrise and sunset times in relation to the longitude and latitude on the function block inputs.
The discrete output Sun Up or Down is at a high level when the sun is up and at a low level.
The Sunrise/Sunset function block has the following inputs:
  • Activation: This is a boolean. Until this input is activated, the discrete-type output is inactive and the four outputs (Sunrise hour, Sunrise minute, Sunset hour and Sunset minute) are equal to 0. This input is active if it is not connected.
  • Longitude: This integer has a value between -18000 and 18000, representing the longitude of the equipment location from 180°00 West to 180°00 East.
  • Latitude: This integer has a value between -9000 and 9000, representing the latitude of the equipment location from 90°00 South to 90°00 North.
  • Time zone: This integer represents the time difference in minutes between the UTC and the country where the controller is located.
The following table gives examples of converting geographical coordinates from sexagesimal degrees
to decimal degrees and UTC to minutes:

NOTE: Longitude and Latitude must be entered in decimal degrees (hundredths of a degree), not in sexagesimal degrees.
To convert the geographical coordinate Longitude (or Latitude) m°n’ of a point from degrees, minutes to h in hundreths of degrees, apply the formula h=100x(m+(n/60)):
if Longitude is West (or Latitude is South), negate h.
if h is fractional, round it to the nearest integer value.
NOTE: Time zone must be entered in minutes, not in hours

The Sunrise/Sunset function block has the following outputs:
  • Sun Up or Down: This boolean is 1 (sun is up) or 0 (sun is down).
  • Sunrise hour: This integer represents the sunrise hour (value range: 0..24) in relation to the
geographical position and date of the controller.
  • Sunrise minute: This integer represents the sunrise minutes (after Sunrise hour) in relation to the
geographical position and date of the controller.
  • Sunset hour: This integer represents the sunset hour (value range: 0..24) in relation to the geographical position and date of the controller.
  • Sunset minute: This integer represents the sunset minutes (after Sunset hour) in relation to the geographical position and date of the controller.
NOTE:
These four integer values Sunrise/sunset hour and minute are displayed in Simulation and Monitoring modes.
Date and time must be correctly set in the controller to get correct Sunrise/sunset hour and minute values as outputs.

NOTE: In some regions of the globe and at specific dates there is no sunrise nor sunset. In this case, Sun Up or Down is inactive and the other four outputs are equal to 0.
Here is a very helpful resource as reference: https://www.se.com/in/en/faqs/FA137232/

Schneider Electric USA

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: