Multiplies the target variable by a value each time the action executes.
The MUL instruction performs a multiplication operation on the target variable. When the action activates, it multiplies the current value of the variable by the specified factor.
This is useful for scaling operations, unit conversions, or applying gain factors during a process.
When using
MULwith theN(non-stored) qualifier, the multiplication runs every scan cycle while the step is active. This will cause the value to grow exponentially. UseActionQualifier.P(pulse) if you only want to multiply once.

from automation_machine import ActionQualifier, ActionInstruction
step.add_action("variable_name", "Description", qualifier=ActionQualifier.P, instruction=ActionInstruction.MUL)
self.add_step())ActionQualifier.P to multiply once on step activationActionInstruction.MUL