The production process start in ProcessController.

This section shows how to write drivers for your shop's PLCs, code readers, and specialized devices in x4Trace.
Post Reply
x4Trace
Posts: 58
Joined: Fri Feb 14, 2025 2:24 pm

The production process start in ProcessController.

Post by x4Trace »

Start of process in ProcessController.

PLC can start a production process in x4Trace, and x4Trace can send a command to PLC when production is started.

PLC starts the production process:
x4Trace needs to have data to begin the process.

Start the new process by order:
VAR_IN_ORDER_ID = @current order id
VAR_IN_ORDER_BLOCK_ID = @id of order block
VAR_IN_ORDER_SHIFT_ID = @shift id
VAR_IN_LINE_DIV_COMMAND = LINE_COMMAND_STARTPROCESS_BYORDERBLOCK

Acknowledgment is needed if ACK is on.

Start the new process by the user:
VAR_IN_PROCESS_USER_ID = @current user identifier
VAR_IN_LINE_DIV_COMMAND = LINE_COMMAND_STARTPROCESS_BYUSERID

Acknowledgment is needed if ACK is on.

Start the new process by the user:
VAR_IN_PROCESS_USER_NAME = @current user name
VAR_IN_PROCESS_USER_PASSWORD = @current user password
VAR_IN_LINE_DIV_COMMAND = LINE_COMMAND_STARTPROCESS_BYUSERNAMEPW

Acknowledgment is needed if ACK is on.
Post Reply