StateTick Docs Home →
Tutorial · Series

Conditions in StateTick

A condition is a named boolean expression — a reusable rule like “the motor is running and not overloaded.” You build it from terms joined by operators, with NOT and parentheses for grouping, then reuse it across your control logic and map it to real hardware in a composite.

What is a condition?

A condition lives on the Generic Composer → Conditions page. Each one has a Name and an IF expression — an ordered list of terms and operators. A read-only Summary shows the whole expression as IF( … ).

The full StateTick Studio window: Generic Composer open, the Conditions page selected, and a condition with its highlighted IF expression Motor.IMotor.Running AND Motor.IMotor.Overload
Where you are: Generic Composer → Conditions, in the full Studio window.

Zoomed in, the editor is a Name, the IF expression built from term boxes and operators, and the Summary:

The condition editor: a condition named Condition1 with an IF expression of two terms, Motor.IMotor.Running AND Motor.IMotor.Overload, and a Summary line
The editor up close: term boxes, an AND operator dropdown, delete buttons, and the Summary.

Each term is a small box — a variable reference (equipment signal or global), a literal, or a placeholder function like a rising edge. You add a term with + and pick what it references from the Variable Picker. Operators (AND, OR, comparisons) sit between terms.

This guide, page by page

Try it in StateTick

Build reusable conditions once, then map them to real hardware in every machine you design.

Get Started →