1. Sensor Variables (A–D)
These are directly mapped to values extracted from the incoming sensor string.
They represent your live sensor measurements and will be updated whenever F8 (Read Sensors) is executed.
| Variable | Meaning | Source | Data type | Range |
|---|---|---|---|---|
| A | Sensor value 1 | First selected sensor field | float | Full float range |
| B | Sensor value 2 | Second selected field | float | Full float range |
| C | Sensor value 3 | Third selected field | float | Full float range |
| D | Sensor value 4 | Fourth selected field | float | Full float range |
2. Parameter Variables (G–M)
These are user-defined numeric parameters that can be edited in the GUI under:
Basics → HomeYou currently support:
- Parameter 1 → G
- Parameter 2 → H
- Parameter 3 → J
- Parameter 4 → K
- Parameter 5 → L
- Parameter 6 → M
Range
0 to 65535
Purpose
These parameters allow the user to:
- Store custom numbers
- Tune program behavior
- Reuse the same value across multiple program steps
- Adjust thresholds or timings without modifying the program code
Examples
- G = pump runtime in milliseconds
- H = equilibration duration
- J = number of samples to take
- K = valve channel number
We will show these examples in the documentation section 5.1.4 Examples.
3. System Variables (R, X, Y, Z)
These are internal helper variables used in formulas and program logic.
| Variable | Meaning | Data type | Range |
|---|---|---|---|
| R | Result of the last formula | double | full double |
| X | Counter 1 | uint32_t | 0–4.294.967.296 |
| Y | Counter 2 | uint32_t | 0–4.294.967.296 |
| Z | Counter 3 | uint32_t | 0–4.294.967.296 |
Notes:
- R is overwritten each time a formula function is executed.
- X, Y, Z are typically manipulated using special User Program functions (e.g., increment, reset, compare).
- They allow users to build loops or count events.
Summary Table
For the documentation, we’ll present this clean table:
| Letter | Description | Type | Range | Editable in GUI? |
|---|---|---|---|---|
| A–D | Sensor inputs | float | sensor range | no |
| G, H, J, K, L, M | User parameters | uint16_t | 0–65535 | yes |
| R | Formula result | double | full double | no |
| X–Z | Counters | uint32_t | 0–4.294.967.296 | indirectly |
