Stop pallet routine mid routine

Hi,
I want to be able to load only one item in a 2x2 grid pallet (total count: 4)
I know how to start at any count I want (by updating the counter variable) but I’m not sure how to end at any count I want.
I do not want a halt or popup.
I just want to load the pallet at any random count within a pallet.

I could update the counter to 4 after loading, but I need to store the counter in a variable to make sure I do not load two items in the same location.

What exactly do you want to achieve by “ending” the Pallet? :slight_smile: Is it the Action After Palletizing sequence?

The Pallet isn’t really ended. It just resets when it’s done.
If you want the Action After Palletizing, you can just make your own sequence controlled by an If statement with a variable saying how many items are in the Pallet. Then just reset the Pallet counter manually (as you know how to do). :slight_smile: