
The Function Block MOONPHASE returns the phase of the moon.
Defines the time for calculation in DT#. This way, it can be determined which phase the moon has at a certain hour or on another specific date. If the input is not used or the value NULL is applied, the current time is used.
Defines the interval for calculating the moon phase. It is recommended to set this value high. If the input is not used or the value NULL is applied, T#1m is assumed.
Upon restart or when changing an input, all outputs are recalculated immediately.
The output indicates the phase of the moon from 0 to 1. The value 0.5 is the full moon and 0 is the new moon. A phase greater than 0.5 is a waning moon. The phase is linear.
The output returns the age after the new moon in days.
The output returns the brightness or coverage from 0 to 1 of the moon.
The output returns the distance in meters from the center of the Earth.
The output returns the angular diameter in degrees to the Earth.