Function Block SUNINFO

The Function Block SUNINFO provides all temporal information about the current twilight.

Tip: The output date and times can be converted to the current time of day T# using Function Block DT2T. Note that in some countries, the times may fall on the next day (time shift).

Input DT

Defines the time of calculation in DT#. This way, for example, it can be determined where the sun will be in one hour or on another specific date. If the input is not used or the value NULL is applied, the current time is used.

Input Latitude

This input defines the latitude of the position as a floating-point number. The value is passed as a decimal number.

If this input Latitude and Longitude is not defined or NULL, the coordinate is taken from the project.

Input Longitude

This input defines the longitude of the position as a floating-point number. The value is passed as a decimal number.

If this input Latitude and Longitude is not defined or NULL, the coordinate is taken from the project.

Output Sunrise DT

Returns the time of sunrise (zenith angle is 90°35') as date and time DT#.

The time is identical to that of the Function Block DAYLIGHT.

Output Sunset DT

Returns the time of sunset (zenith angle is 90°35') as date and time DT#.

The time is identical to that of the Function Block DAYLIGHT.

Output Transit DT

Returns the time of solar transit (highest point) as date and time DT#.

Output Civil Twilight Begin DT

Returns the time of the beginning of civil twilight (zenith angle is 96°) as date and time DT#.

Output Civil Twilight End DT

Returns the time of the end of civil twilight (zenith angle is 96°) as date and time DT#.

Output Nautical Twilight Begin DT

Returns the time of the beginning of nautical twilight (zenith angle is 102°) as date and time DT#.

Output Nautical Twilight End DT

Returns the time of the end of nautical twilight (zenith angle is 102°) as date and time DT#.

Output Astronomical Twilight Begin DT

Returns the time of the beginning of astronomical twilight (zenith angle is 108°) as date and time DT#.

Output Astronomical Twilight End DT

Returns the time of the end of astronomical twilight (zenith angle is 108°) as date and time DT#.