AutomationView Documentation

GE (Greater Than or Equal)

Compares two values and outputs TRUE if the first is greater than or equal to the second.


Description

The GE instruction performs a greater than or equal comparison. It evaluates whether one value is larger than or equal to another and writes the boolean result to the target variable.

Use GE instead of GT when you want the comparison to also succeed when the values are exactly equal.


Syntax

Sequence Visual Editor

Action tank_full with the GE instruction comparing level and 95
The BOOL action variable is TRUE while level is greater than or equal to 95.

Python

from automation_machine import ActionInstruction

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

See Also