DS (Delayed Stored Qualifier)
The Delayed Stored qualifier counts a delay only while the step is active, then latches the output to TRUE if the delay completes before the step deactivates.
Behavior
- When the step activates, a timer starts counting.
- The timer only counts while the step is active. If the step deactivates before the delay expires, the timer resets and the output never turns on.
- If the delay completes while the step is still active, the output latches to TRUE.
- The latched output remains TRUE after the step deactivates. It must be explicitly reset with an R (Reset Qualifier).
DS vs SD: With SD, the timer keeps running even after the step deactivates. With DS, the timer resets if the step deactivates early. Use DS when you need to confirm the step was active for the full delay duration.
Syntax
Sequence Visual Editor

The PT chip shows the duration in IEC time format.
Python
from automation_machine import ActionQualifier
step.add_action("confirmed_alarm", "Confirmed alarm", qualifier=ActionQualifier.DS, duration=30000)
The duration parameter is required and specifies the delay in milliseconds. Use R in a later step to reset the output.
See Also
- SD (Stored Delayed Qualifier): similar but the timer keeps running even after the step deactivates
- D (Delayed Qualifier): delayed but not stored; turns off when the step deactivates
- S (Set Qualifier): latches immediately without a delay
- R (Reset Qualifier): required to turn off the latched output
- Action Qualifiers Overview