Home › Programming
Back to discussions page
Writing a script on pendant
/ Most recent by ctiger
I would like to know how does the UR 10 or UR in general read the script coding? Does the UR execute the script and perform its operation and goes to the next line?
The problem I am facing with palletizing is that every time the UR pick up the parts from the CNC lathe, the end effector needs to orientate the part in 180° and -180° (my reference point might be wrong here, just giving an example) and placed in a box. It is shown below that I need to achieve that placement.
I read the script function and I could not find anything regarding about the palletizing function, is the palletization function hard coded?
If palletization function is hard coded, would that mean before the palletization line, I would have a script which orientate the end effector and go down to the next program line into palletization mode? Would this behavior be accepted in UR? I have search up script command and read up the script manual, the manual did not explain how the function return a value or how does the information pass down to the next line.
Any advice are greatly appreciated.