I would like to program a depalletising and palletising manually on something quite complicated. I wish to set out the pick locations on the x and y and then modify the z for the different layes.
Something like assign variable to the layer number and then insert this z value into a position. This will save a huge amount of time programming.
That’s not too tricky. You can use the script function pose_add for example. which allows you to add a variable to the z coordinate.
You can read more about it in the script manual found on UR’s download page.
thank you. I have now done it by using the polyscope by having two variables at the beginning that represent the position on the pallet i.e. layer and position. Then i set a variable on a installation waypoint that is the payer position and another variable that is the layer height. I then assign the [2] position with a a variable that is a function of the layer to get the different height. I can copy and paste this whole script and then all i have to do is input all the positions with just two numbers and doesn’t take long to do 140 positions.