BatchStopOptions flag group

Batch stop condition determination.

Lua access code

To access the code of the flags below, append the flag group name and flag name to syslib.model.flags, see an example below.

return syslib.model.flags.BatchStopOptions.ABORTED_OR_COMPLETE

Flags

Name Bit Value Description
ABORTED_OR_COMPLETE 1 1 The Batch will be set to inactive when the Batch Equipment State equals Completed or Aborted according to S88. Accordingly a batch will be set to active whenever an appropriate S88 state is determined
ACTIVE_EDGE_FALLS 3 4 The Batch will be set to inactive when the Batch Active indicator is false. Consequently a new batch will be set to active when the Batch Active indicator raises to true
BATCHID_CHANGES 2 2 The Batch will be set to inactive when the Batch ID changes. Consequently a new batch will be set to active in this case
SCRIPT_RETURNS_FALSE 4 8 The Batch will be set to inactive when the user supplied script returns false. Consequently a new batch will be set to active when the user supplied script returns true