### Train Part Pose

TP

Trains the golden pose for the part located by previously executed “LF” command(s)

#### TCP/IP

Command String:

TP, <PartID>,<AlignMode>

The <PartID> argument depends on the recipe configuration.

Result String:

TP, <Status>

#### SLMP

Send command (Input Block)

Offset | Value | Description
--- | --- | ---
VIB_Offset + 2 | 5012 | Command: TP command ID
VIB_Offset + 3 | <PartID> | Argument 0: Selects the part to train the pose for. The PartID depends on the recipe configuration.
VIB_Offset + 5 | <AlignMode> | Argument 1: Selects the AlignMode (1 or 2)

Receive Result (Output Block)

Offset | Value | Description
--- | --- | ---
VOB_Offset + 5 | 5012 | Command: TP command ID
VOB_Offset + 6 | <Status> | The result Status: 1: Success <=0: Fail