Skip to content

Program control

Start, Hold, Reset and Abort as one control that reads machine state.

CONTROLNO BINDING REQUIRED

Start, Hold, Reset and Abort in a row. Hold is grayed out.

The four commands. Hold is unavailable here because no program is running.

Most operator screens need the same four commands. Rather than wiring four separate buttons to four separate tags, drop one Program control: it arrives connected to the controller’s execution state, with no tags to declare.

Each button lights from the machine rather than from the press. Start lights while a program is running, Hold while it is paused.

Two of them also disable themselves from that state: Start while a program is already running, and Hold while none is. Reset and Abort stay available.

  1. Open the document and select the screen you want from the screen tabs.
  2. In the control palette, press Program and drag it onto the canvas.
  3. Choose which of the four commands appear. All four are on by default.

The size floor grows with the number of commands shown: each one needs 96 px of width, plus the gap between them, and 48 px of height.

Property Description Default
Program Which program Start acts on. An expression, so it can follow the controller’s selection. {active_program}
Show Start / Hold / Reset / Abort Which commands appear. all on
Labels The text on each button. Start, Hold, Reset, Abort
Variants Theme color for each button. success, warning, info, error
Use icons Show a glyph alongside each label. on
Orientation Lay the buttons out in a row or a column. horizontal
Gap Space between buttons, in pixels. 12
Confirm abort Ask before aborting. on
Abort message The confirmation text. Stop the running program?

Program defaults to the expression {active_program}, meaning Start runs whatever the controller currently has selected. The operator picks a program elsewhere — a Dropdown, or the pendant — and Start acts on it.

Type a fixed program name instead to pin the control to one program.

Pressing Start on a program that is merely paused resumes it, without a prompt.

  • Dropdown — let an operator choose which program is selected.
  • System valuesactive_program and the other values the controller publishes without a tag.
  • Button — for a single command, or one the Program control does not cover.