Tracing Part Values During an Operation
This document explains how to trace and store part-related values during an operation in x4Trace.
Tracing values allows you to collect measurement results, test data, or operator-entered information and associate them with production processes and individual products.
Step 1: Define the Variables to Trace
- Open the Flow.
- Press the Variable List (fx) button.

- Add a new row for each value you want to trace.
Example variables:
Test Processor VoltageTest Battery Voltage
- Save and close the variable list.
Step 2: Assign Variables to an Operation
- Double-click the operation (block) where the values should be traced.
- Open the Variables tab.
- Add the variables to the block.

Best Practice
It is recommended to add variables as both:
- Process variables
- Product variables
This enables correct handling when data is provided by a PLC.
Process vs Product Variables
Understanding the difference is essential:
Process variables
- Temporarily store runtime data
- Used while the process is running
Product variables
- Stored permanently with the passed product
- Represent the final traced values
PLC Scenario
If a PLC provides the data:
- Data is first saved into process variables
- When the PLC sends the pass product signal:
- The current process values are copied into product values
For PLC-based tracing, the variable must exist as a process variable.
Step 3: Enter or Receive Tracing Data During Production
When a production process is running:
- Type or scan the instance code on the terminal.
- Press the Data button.
- Enter the tracing values manually.

Alternatively:
- The PLC or another device can provide the data automatically.
Forcing Operator Input
You can require operators to enter tracing data for every product.
How to Enforce Input
- Do not add the variable to the block as a process variable
In this case:
- x4Trace will display a dialog
- The operator must enter the data before the product can pass
If the PLC or another device provides the data,
the variable must be added as a process variable.
Viewing Traced Data
After production:
- Open the Order.
- Select the instance.
You will see the stored tracing data associated with the product.

Summary
Tracing part values in x4Trace involves:
- Defining trace variables in the flow
- Assigning variables to operations
- Capturing data via terminal or PLC
- Storing values as product data upon pass
This mechanism ensures accurate, structured, and traceable production data for quality control and analysis.