Get Started
Basic Concepts
On this page
  1. Logic and Control
  2. Variables
  3. Dashboard

Basic Concepts

Logic and Control

All algorithm blocks are created in a workspace called a logic, and the basic building unit of logic is a control. A control consists of a condition area and an action area. When the condition area is met, the actions in the action area execute in order, and once all actions complete, the condition area is evaluated again.

Diagram of the execution flow inside a control, from the condition area to the action area and back to the condition area
When the condition area is met, Action 1 and Action 2 run in order; after all actions finish, the condition area is checked again.

If a logic contains multiple controls, they execute in order from top to bottom, and after the last control completes, execution returns to the first. When a project has multiple logics, all of them run simultaneously in parallel, regardless of order.

Diagram of three controls in a logic running from top to bottom and returning from the last control to the first
Controls in a logic run one after another from top to bottom; after the last control, execution returns to the first.
Diagram of two logics, one with a 50 ms interval and one with a 100 ms interval
With multiple logics, all logics run in parallel, and each repeats at its own execution cycle (for example, 50 ms and 100 ms).

Variables

Variables are storage for reading and writing data, shared across the entire project: logic, devices, and dashboards. For example, if you store a sensor reading in a variable named temperature, that value can be used directly in conditions of other logics or in dashboard widgets.

Diagram of a variable list connected by two-way arrows to logics, dashboards, and I/O devices
Variables are shared storage that logics, devices, and dashboards all read and write.

Dashboard

Dashboard widgets read and write variable values. A gauge widget can display a temperature value, and a push button widget can provide user input.