Stopping a batch

Stopping a batch permanently stops the operation of a batch using the normal stopping logic, and transitions the batch to the Stopped state. You cannot use the RESTART command with a stopped batch.

You can only stop a batch that is in one of the following states:

  • Running

  • Holding

  • Held

  • Restarting

The following figure shows the Stop command issued to a batch in the Running state.

Stopping a Batch

For example, in the paint recipe there is a scheduled prompt sent to the operator. This prompt requests a value that the operator obtains by taking a test during the QA_TEST phase and evaluating the pH level of the batch. If the value is not in the defined range, the batch is looped back to the ADD_INGREDIENTS phase and additional materials are added to the batch to try to bring the pH level to an acceptable level.

However, if this step is repeated multiple times and the pH level is still far outside the defined range, a supervisor can stop the batch. This terminates the batch production by invoking the stopping logic of each active phase.