AutomationView Documentation

P (Pulse Qualifier)

The Pulse qualifier activates an action output for exactly one scan cycle when the step first activates.


Behavior

A "scan cycle" is one complete execution loop of the Sequence program. The pulse lasts for the duration of a single cycle, which is typically very short (milliseconds).


Syntax

Sequence Visual Editor

Step 4 with a P ADD action on cycle_count that adds 1 to cycle_count
With P, the ADD runs once when the step activates instead of on every scan.

Python

from automation_machine import ActionQualifier

step.add_action("counter_increment", "Increment counter", qualifier=ActionQualifier.P)

No duration parameter is needed.


See Also