Can a data register be used and updated to count the number of parts placed on a stack so the robot can know the height to place the next part on the stack? Any help is greatly appreciated.
Part stacking
-
David.mms -
July 5, 2018 at 9:04 AM -
Thread is marked as Resolved.
-
-
Of course, yes.
Use a register (R[x]) for counting the parts in the stack (incremenent after each place)
Use a register (R[y]) for height of a single part.
Empty position register PR[x]: PR[x]=PR[x]-PR[x].
Use a position register (PR[x]) to calculate total height: PR[x,3]=R[x] * R[y].
Make a motion using offset PR[x].