What it does
Batch records open from Live’s system menu with Batch records…. The window has three tabs.
- Active: one card per definition with the batch number, start, duration, inputs, outputs and deviations. The card has Scan material, Add output, Note and, for manually started definitions, Start batch / End batch.
- History: the batch list with period, definition, state and search filters; the list exports to Excel.
- Genealogy: where a lot came from and which batches used it.
The batch details have the tabs Summary, Materials, Parameters, Alarms, Actions, Notes, Addenda and Signatures. The batch report exports to PDF and the records to Excel; Time machine plays back the batch.
Batch definitions in Studio
In the project tree the Batch Records section comes after the shift log. One batch definition is made per line or product; definitions are edited on three tabs.
| Tab | Contents |
|---|---|
| Batch Definitions | Name, line, start, batch number, recipe, approval. Below, Critical Parameters: tag, actual calculation, setpoint (none, recipe element or constant), limit type (absolute or setpoint ± tolerance), delay (s) and curve. |
| Materials | Inputs: material code and name, unit, source (scanning, barcode tag or PLC tags), required, target quantity. |
| Trigger, Number and Output | Start and end, batch number pattern, product, barcode format, produced lot and its label, approval and action authorization, alarm filter. |
By default the batch number is made of the date, the line and a sequence number, for example 20261115-H1-001; a produced lot is the batch number plus a sequence number: 20261115-H1-001-01. The Batch action event function starts or ends a batch, or opens the scan window, from a button on a screen.
Starting a batch and the batch number
- Signal: a single Bool tag. The batch starts when it goes to 1 and ends when it goes to 0.
- Tag triggers: separate start and end triggers with a rising, falling, change or equality condition.
- Recipe load: downloading the chosen recipe to the PLC starts the batch.
- Manual: the operator starts and ends the batch on the Active tab.
The batch number comes from the pattern, is read from a tag or is asked at start. If a Batch no. tag is chosen, the number is written to that tag when the batch starts, for use by the PLC or a report. The product name comes from the recipe record, a tag, a fixed text or manual entry.
Scanning raw materials and outputs
The scan box is at the top of the Scan material window. The barcode is scanned into it or typed with the on-screen keyboard; Enter adds the input and the window stays open. If the barcode carries a material code, the matching input is selected automatically. If a required field is missing, the cursor moves to it.
- Barcode format: plain text (lot number), GS1 fields or delimited text, for example
malzeme;lot;miktar. The Try box in Studio shows the parsing at once. - With the Barcode tag source, the scanned text arrives from the PLC in a String tag; when the tag changes, the same parsing is applied. With the PLC tags source, lot and quantity are read from tags on the trigger.
- Before closing, a wrong scan is undone with Void; a reason is required.
Add output records a produced lot: the lot number is suggested from the pattern and the quantity is entered. If a label from Barcode Labels is chosen in the definition, the lot label is sent to the printer.
Critical parameters and deviations
When the batch starts, the limits are frozen: absolute low and high limits, or setpoint ± tolerance (absolute or %). If the value stays outside the limits longer than the delay, a deviation record is written; it starts at the first out-of-limit moment and ends when the value returns inside. The Parameters tab shows each parameter’s curve with its limit lines and gives the average, minimum, maximum and last value. If the tag is archived, the values come from the archive; otherwise from Live’s live sampling.
Closing, signature and approval
-
Seal
When the batch ends, the record is sealed: the SHA-256 hash of its content is written as the record hash. The Verified badge in the details shows that the record has not changed.
-
Operator signature
The operator hands the batch over with Sign. The signature uses the current login; the password is not asked again.
-
Approval or rejection
A person with approval authorization clicks Approve or Reject. The approver must be a different person from the one who signed as operator; a rejection requires a reason. With remote control on, approval can also be given from a browser.
-
Addendum
After closing, the record does not change. A correction is added with Addendum and a reason; the related row is marked and approval is asked for again.
Genealogy and recall
A lot number is scanned or typed on the Genealogy tab. Backward (source) shows the batch that produced a product lot and its raw material lots; Forward (recall) shows the batches that consumed a raw material lot and their output lots; Both directions shows both. The depth is 1 to 5. The number of affected product lots and batches appears at the top, and the result exports to Excel and PDF.
Frequently asked
What if an error is found in a closed batch?
The sealed record does not change. The Addendum button in the details adds the correction with a reason; the addendum appears on the Addenda tab and the batch goes back for approval.
Can shift notes be linked to a batch?
Yes. The Note button on the Active card writes a shift note linked to the batch. Notes linked to the batch and notes written during the batch appear on the Notes tab of the details.
Related pages
Shift log
Shift notes, open tasks, shift handover and an automatic shift summary; PDF and Excel.
LiveRecipe transfer
The operator selects, edits, approves and loads a recipe record to the PLC; the transfer can be read back.
StudioBarcode labels
Label design screen, barcode types, tag-bound variables, network printer, PLC trigger and printing in Live.
LiveTime machine
Replays a past moment on the 2D and 3D screens; go back to just before an alarm or an operator action.