CONCAT (Concatenate Strings)
Joins two string operands (IN1 followed by IN2) and writes the resulting string to the target STRING variable.
Description
CONCAT appends src2 (IN2) to the end of src1 (IN1) and stores the result in the target variable. Use it to build batch codes, HMI status messages, or multi-step command strings.
Syntax
- variable_name: Target
STRINGvariable - qualifier: Typically
ActionQualifier.P(Pulse) - instruction:
ActionInstruction.CONCAT - src1 (
IN1): First string variable or literal - src2 (
IN2): Second string variable or literal
Sequence Visual Editor
- Select an action on a step or transition and hold Alt (or right-click -> Edit Qualifier & Instruction).
- Select Strings -> CONCAT and choose the P qualifier.
- Fill in the target
STRINGvariable,IN1, andIN2operand chips.

String literals are typed between double quotes.
Python
from automation_machine import ActionQualifier, ActionInstruction
step.add_action("batch_label", "Build batch label", qualifier=ActionQualifier.P, instruction=ActionInstruction.CONCAT, src1='"LOT-"', src2="batch_code")