Error message in palletizing wizard after opening a new program

I am no expert on code by any means, but I have done a little digging into this problem and I think this error could be a result of how the wizards extrapolate their points in the generated movements from the initial set points.

Using the same sub-programs with 2 pallet wizards per sub program I got the error, so I went in and started looking at the script for the program to see if I could figure out what was making it error:.

I found that;

  • In the palletizing wizard, you can rename the pallet, pallet count, and the pattern without it causing problems. When this error comes up, the “At each point” movement nodes turn yellow and have the error, but the pallet setup before that will remain completed. So, the only part of the pallet wizard that malfunctions is the “generated movements at each point” section of the wizard- where the points are the approach, tool action, exit, and corner points.
  • The wizard will rename the variables that are not in the pallet setup the entire way through the script, however, once it does the background part of the wizard, it can be seen in the script that all of the variables in the generated “At each point” movement section get renamed into the global variables such as “CornerItem_#, Pallet_1_lno, and pallet_1_lno”, despite all of the pallet wizards being set up and all of the corner points, pallets, pallet counts, approach points, exit points, and tool action points independently.’

I think since the pallet wizard is only using the initial points in the generated sections and then is automatically renaming them without using the same naming convention that was initially used by the operator- when multiple pallet wizards (or other wizard caps) are being used in the sub-programs the reference points and variables naming gets confused in the naming logic causing the error.

This is just a theory I have. I would like to try to copy the entire script for the pallet wizard and manually rename all of the points to see if it would work to upload it as a script instead of the pallet wizard.