Your measurement routine must have the following required commands before you can use it in your pallet playlist:
Valid LOADPROBE and TIP commands at the beginning of the routine
A valid manual ALIGNMENT command block that has an identical location and orientation for each part (or a RECALL command to a valid external alignment)
A MODE/DCC command after the part alignment