AutomationView Documentation

LT (Less Than)

Compares two values and outputs TRUE if the first is strictly less than the second.


Description

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.


Syntax

Sequence Visual Editor

Action pressure_low with the LT instruction comparing pressure and 2
The BOOL action variable is TRUE while pressure is less than 2.

Python

from automation_machine import ActionInstruction

step.add_action("variable_name", "Description", instruction=ActionInstruction.LT)

See Also