OnTakt: States

From Knowledge Base


Machine states determine the color and text displayed in state history charts. They also determine how much machine time is considered utilized.


Defining states

From the states page, click the Machine State Definitions button at the top. The state definition manager will open.

Create additional state definitions by clicking the New button at the top and entering a name for the new state. Once created, the state will appear in the list with the entered name.

Only administrator users can manage states.

Color

The state's color is displayed in the state history chart and in reports. It may be used in more places in future versions. Click the color swatch to change the color.

Name

The shift's name will be used to identify it throughout OnTakt. Names should be unique (though this is not required). Click the name to change it. Changing the name will not affect machine state detection.

Machine states

A state definition's "machine states" list determines which state strings reported by a machine cause the state to be applied. For example, for a "running" state definition, the machine states list might be RUNNING, ACTIVE, and STARTED. If a machine reports its state as any of those items, OnTakt will consider it to be in the "running" state.

With OnTakt server version 4.10.24 or newer, machine states support wildcards. _ will match any single character and % will match any string of characters. For example, Production | % will match any state starting with Production | reported by the machine.

OnTakt server version 4.10.24 also made machine states case-insensitive. Older server versions will check case when matching them.

If a machine reports a state that does not match any defined machine states, a new state definition created for it.

Active

Entering an active state will end any current downtime blocks set to end when the machine becomes active, and machines in an active state appear with the state's color.

Utilized

OnTakt calculates utilization as the amount of time in any utilized state compared to the total amount of time.

Feed hold

Machines can be configured to send a notification when entering a feed hold state, and the machine's color will slowly fade from grey to the feed hold state's color.

Optional stop

Machines in an optional stop state appear with the state's color.

Actions

Click the trash can icon to delete a shift. Deleting a state may leave blank sections of state history charts.