Joins two string operands (IN1 followed by IN2) and writes the resulting string to the target STRING variable.
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.
STRING variable, IN1, and IN2 operand chips.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")
STRING variableActionQualifier.P (Pulse)ActionInstruction.CONCATIN1) — First string variable or literalIN2) — Second string variable or literal