There are two ways to identify the process in x4Trace.
Identify by the process ID
Identify by the product code
These identifications work with the ProcessController line module.
To select the identification mode, set the following variable.
VAR_IN_PROCESS_IDENTIFICATION_MODE = LINE_PROCESS_IDENTIFICATION_MODE_PROCESSID
or
VAR_IN_PROCESS_IDENTIFICATION_MODE = LINE_PROCESS_IDENTIFICATION_MODE_INSTANCECODE
Identifying a process in the line module on the server side is essential: the process must be started!
When a process is started, x4Trace sends the process ID.
VAR_OUT_PROCESS_ID = @current process ID
By process ID.
You must use this process ID when you want to identify a process, such as passing a product or sending to x4Trace a part that has arrived in operation. This is the fastest way to determine the process.
To identify the process in this way, set the following variables:
VAR_IN_PROCESS_IDENTIFICATION_MODE = LINE_PROCESS_IDENTIFICATION_MODE_PROCESSID
VAR_IN_PROCESS_ID = @current process ID
By product code.
x4Trace will search the process by the product code. This is a slower way than the process ID identification.
To identify the process by product code, set the following variables:
VAR_IN_PROCESS_IDENTIFICATION_MODE = LINE_PROCESS_IDENTIFICATION_MODE_INSTANCECODE
VAR_IN_PRODUCT_CODE = @current product code