Compares two values and outputs TRUE if the first is strictly less than the second.
The LT instruction performs a less than comparison. It evaluates whether one value is strictly smaller than another and writes the boolean result to the target variable.
This is commonly used for detecting when a measured value drops below a minimum threshold, such as a low-level alarm or an under-speed condition.
{GIF:HERE} - [Screenshot showing the LT (Less Than) instruction configuration in the visual editor, with the action set on a step and instruction type set to LT for a boolean comparison variable]
from automation_machine import ActionInstruction
step.add_action("variable_name", "Description", instruction=ActionInstruction.LT)
self.add_step())ActionInstruction.LT