A standard program¶
For the logic a recipe does not describe.
Creating it¶
Create a program of kind standard. It starts empty, as a list of lines.
The instructions¶
Add lines and fill in their arguments — the set is in Programs. There is no syntax to learn and no way to write a line that does not parse.
Variables and conditions¶
Conditions are built from variables. Where you need to refer to something in the project — a tool, a recipe, a position — use the generated variable rather than a number: it survives edits that a number does not.
Calling it from a recipe¶
A palletising program can call a standard program at defined moments — before a pick, after a drop, at the end of a layer. That is how a cell does something extra without you writing the palletising itself.