Vous êtes sur la page 1sur 3

Zelio Logic v4.

4
1 / 3
Sunrise/Sunset

Description
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.

Access
The function is accessible from the FBD function bar.

Inputs
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 18000 West to 18000 East.
Latitude: This integer has a value between -9000 and 9000, representing the latitude of the
equipment location from 9000 South to 9000 North.
Time zone: This integer represents the time difference in minutes between the UTC and the
country where the controller is located.
NOTE: Longitude and Latitude must be entered in decimal degrees (hundredths of a degree), not
in hexadecimal degrees.
To convert the geographical coordinate Longitude (or Latitude) mn of a point from degrees,
minutes to h in hundredths 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 following table gives examples of converting geographical coordinates from hexadecimal degrees
to decimal degrees and UTC to minutes:
Town Geographical coordinates in
hexadecimal degrees
Time
zone:
UTC
Longitude in
decimal degrees
Latitude in
decimal degrees
Time zone
(min.)
Los
Angeles
343 N, 11815 W -8 -11825 3405 -480
Brasilia 1530 S, 4751 W -3 -4785 -1550 -180
Moscow 5545 N, 3737 E +3 3762 5575 +180
Canberra 3518 S, 1498 E +10 14913 -3530 +600

Outputs
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.
Zelio Logic v4.4
2 / 3
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.




Suntrack

Description
This function calculates the position of the sun. This depends on the two angles calculated by the
function:
a the elevation angle
b the azimuth angle
The following diagram shows the positions angles (a,b) of the sun:

Access
The function is accessible from the FBD function bar.

Inputs
The Suntrack function block has the following inputs:
Activation: This is a boolean. Until this input is activated, the two outputs (Elevation angle a
and Azimuth angle b) 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 18000 West to 18000 East.
Zelio Logic v4.4
3 / 3
Latitude: This integer has a value between -9000 and 9000, representing the latitude of the
equipment location from 9000 South to 9000 North.
Time zone: This integer represents the time difference in minutes between the UTC and the
country where the controller is located.
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) mn 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 following table gives examples of converting geographical coordinates from sexagesimal degrees
to decimal degrees and UTC to minutes:
Town Geographical coordinates
in sexagesimal degrees
Time
zone:
UTC
Longitude in
decimal degrees
Latitude in
decimal degrees
Time zone
(min.)
Los
Angeles
343 N, 11815 W -8 -11825 3405 -480
Brasilia 1530 S, 4751 W -3 -4785 -1550 -180
Moscow 5545 N, 3737 E +3 3762 5575 +180
Canberra 3518 S, 1498 E +10 14913 -3530 +600

Outputs
The Suntrack function block has the following outputs:
Elevation angle a: This integer represents the height of the sun (9000 South to 9000 North).
o Positive elevation angle: The sun is above the horizon
o Negative elevation angle: The sun is below the horizon
Azimuth angle b: This integer represents the rotation needed to position oneself facing the sun
from North direction, value between -18000 and 18000 (18000 West to 18000 East).
NOTE: These outputs are displayed in both the Simulation and Monitoring modes.
NOTE: Date and time must be correctly set in the controller to get correct Elevation angle a and
Azimuth angle b values as outputs.







2010 Schneider Electric. All rights reserved.

Vous aimerez peut-être aussi