← Timers

Delayed Shutdown

medium

Holds the run output high for a cooldown period after a stop command is received.

What it teaches

Off-delay with a real-world framing: equipment runs, Stop fires, the output stays on for the cooldown, then drops. The twist: Start during cooldown cancels it and returns to running — that needs a small state machine (Stopped, Running, Cooldown), not just a bare off-delay timer.

Parameters

TagDirectionTypeDefaultDescription
In_StartInputBOOL0Starts the equipment (1 = start)
In_StopInputBOOL0Stops the equipment (1 = stop)
Cfg_CooldownMsInputDINT5000Cooldown period in milliseconds
Out_RunOutputBOOL0Equipment run command

Required behavior