I have to go back to home position after finishing a palletizing.
The loop works with IF PL[2]=[10,11,1],JMP LBL[2].
The problem is with the last piece: Since PL is updated to before reaching the condition, i drop the last piece.
Is there any other instruction to exit the loop after the last piece and not before?