Previous in Forum: Changing Windows Versions   Next in Forum: Altium Designer: Protel 2004
Close
Close
Close
6 comments
Participant

Join Date: Nov 2009
Posts: 3

Programming a Robot to Trace a Circle

11/01/2009 10:20 PM

Can anyone help me with the programming codes, for the ABB robot (IRB model), for moving the tool , along the circumference, (to trace a circle) of a vertically placed cylinder, the tool being perpendicular, to the surface at every point.

The problem is i tried teaching the robot (keeping the tool axis in line with the diameter), but while moving from suppose p10 to p20, the tool moves inwards (from p10) then outwards (to p20) ,disturbing the work object. Even tried reorienting the tool with the center as TCP, dint workout..

If anyone can help.. Please do reply.. Thanks

__________________
MEGņØØL - " Do not fear to be eccentric in opinion, cuz every opinion now accepted wuz once eccentric "
Register to Reply
Pathfinder Tags: ABB IRB megatooL Robot programming
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Technical Fields - Architecture - New Member Popular Science - Weaponology - New Member Engineering Fields - Control Engineering - New Member Engineering Fields - Electrical Engineering - New Member Engineering Fields - Electromechanical Engineering - New Member Hobbies - Fishing - New Member Hobbies - Target Shooting - New Member Hobbies - Hunting - New Member

Join Date: Dec 2005
Location: Clemson, South Carolina
Posts: 1722
Good Answers: 18
#1

Re: Programming the ABB (IRB model) robot to trace a circumference !!!

11/02/2009 4:05 PM

Don't know about specific PLC, but functions are X = cosine and Y = sine from 0 to 2 pi, and they have to be executed simultaneously or sequentially in small enough steps so that you can't tell abberations.

__________________
We have met the enemy and he is us . . . Walt Kelly
Register to Reply
Guru
United Kingdom - Member - Not a new member!

Join Date: Jun 2008
Location: USA/Europe
Posts: 4547
Good Answers: 68
#2

Re: Programming a Robot to Trace a Circle

11/04/2009 12:52 AM

Hi megatool,

Try this.

code to draw a Circle

from Tkinter import * canvas = Canvas(width=300, height=300, bg='white') canvas.pack(expand=YES, fill=BOTH) canvas.create_oval(10, 10, 200, 200, width=2, fill='blue')

mainloop()

--------------------------------------------------------------

The code above is not linked to the site below OK? (As you will see).

--------------------------------------------------------------

This is a drawn circle in ActionScript.

Drawing a basic circle in ActionScript

This link give very detailed directions on what to do. The actual code is not very long but you need to visit the site to get the full benefit of the details.

--------------------------------------------------------------

Take care

__________________
Take it easy, bb. >"HEAR & you FORGET<>SEE & you REMEMBER<>DO & you UNDERSTAND"<=$=|O|=$=>"Common Sense is Genius dressed in its Working Clothes"<>[Ralph Waldo Emerson]
Register to Reply
Participant

Join Date: Nov 2009
Posts: 3
#3

Re: Programming a Robot to Trace a Circle

11/04/2009 1:23 PM

Thank You folks.. Well.. I have got options like embedded C n all.. But i specifically wanted the codes in RAPID programming for the ABB bots.. If you guys could enlighten me on that ??

__________________
MEGņØØL - " Do not fear to be eccentric in opinion, cuz every opinion now accepted wuz once eccentric "
Register to Reply
Guru
United Kingdom - Member - Not a new member!

Join Date: Jun 2008
Location: USA/Europe
Posts: 4547
Good Answers: 68
#4
In reply to #3

Re: Programming a Robot to Trace a Circle

11/04/2009 2:39 PM

Good luck.

__________________
Take it easy, bb. >"HEAR & you FORGET<>SEE & you REMEMBER<>DO & you UNDERSTAND"<=$=|O|=$=>"Common Sense is Genius dressed in its Working Clothes"<>[Ralph Waldo Emerson]
Register to Reply
Participant

Join Date: Nov 2009
Posts: 3
#5

Re: Programming a Robot to Trace a Circle

11/05/2009 11:52 AM

Yeah friend.. its the language (RAPID programming for ABB)

n i still need the codes.

thanks

__________________
MEGņØØL - " Do not fear to be eccentric in opinion, cuz every opinion now accepted wuz once eccentric "
Register to Reply
Anonymous Poster
#6

Re: Programming a Robot to Trace a Circle

12/14/2009 1:23 PM

Hello megatool.

Did you try to use a fixed tool in center of the cylinder?

Ex.

PERS tooldata tCyl:=[FALSE,[[2413.66,103.339,1052.46],[0.828228,-0.000743,-0.001085,-0.56039]],[30,[300,0,210],[1,0,0,0],0.03,0.03,0.03]];

and your wobj..

PERS wobjdata obGripper:=[TRUE,TRUE,"",[[-178.16,59.2309,261.168],[0.004775,-0.133507,-0.002697,-0.991033]],[[0,0,63.5],[1,0,0,0]]];

!

!

Move instuctions...

MoveL pPr11_10,v200,fine,tCyl\WObj:=obGripper;
MoveL RelTool(pPr11_10,0,0,0\Rx:=70\Ry:=0\Rz:=0),vOri100,fine,tCyl\WObj:=obGripper;

The last move inst. should rotate your tool 70 degees around TCP.. In this case in center of your cylinder.

/Rizze

Register to Reply
Register to Reply 6 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); babybear (2); Bill (1); megatooL (2)

Previous in Forum: Changing Windows Versions   Next in Forum: Altium Designer: Protel 2004

Advertisement