
The Function Block DAYLIGHT calculates, based on the coordinates and the current time, whether daylight is present.
This input specifies an offset before sunrise in T#. With a negative value, after sunrise.
This input specifies an offset after sunset in T#. With a negative value, before sunset.
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 are not defined or NULL, the coordinate is taken from the project.
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 are not defined or NULL, the coordinate is taken from the project.
The output Q is true if daylight is present after calculation.