
The Function Block FADE fades or delays an analog dimming value.
Defines the target value as a number.
Defines the lower dimming value. This is used to calculate the speed of the fader. No value or the value NULL can be applied.
Defines the upper dimming value. This is used to calculate the speed of the fader. No value or the value NULL can be applied.
The input defines the speed in T# from MIN to MAX or the speed after the change, if MIN and MAX are not defined. If the value is equal to T#0ms, the value IN is directly transferred to Q.
Defines the interval in T# of the calculation. The higher the value, the less the PLC is loaded. If the value is not defined or equal to NULL, then T#50ms is assumed.
The output is a floating-point number. The value is recalculated smoothly when the input IN changes.
Note: If PT_FADE is set to T#0ms, the output IN is immediately transferred to the output Q. Otherwise, the duration is delayed by at least one cycle.
If the value of the inputs MIN and MAX is not defined or equal to NULL, then the value change is implemented within the time PT_FADE. Otherwise, the speed is calculated and the value changes at the same speed in both directions.