Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 06:08:40 AM
Home Help Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question / Answer to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Industrial Robot Help and Discussion Center
| |-+  Fanuc Robot Forum (Moderators: Sven Weyer, Jim Tyrer, Lerak, Napierian)
| | |-+  TP program to do circles
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Print
Author Topic: TP program to do circles  (Read 2424 times)
bnhnt
Full Member
***
Offline Offline

Gender: Male
Posts: 123


It's all about the FUNNY


« Reply #15 on: March 22, 2010, 01:15:13 PM »

Ok so Napierian’s program can change angle on the fly?
That would be cool but still messing with it I think im missing a lot if it is no trouble can u help with a better example of his ?
I got the one you wrote to work perfect, I just make a new user frame and It changes the plain it works on.  but if I could do on the fly that would be sweet    thanks
Logged

Don’t waste a minute not being happy. If one window closes, run to the next window — or break down a door.
Robotter
Sr. Member
****
Offline Offline

Gender: Male
Posts: 404


Everything is simple... once you know how..!!


« Reply #16 on: March 22, 2010, 01:17:33 PM »

It is quite busy time for me now. If you could wait for 2-3 days i will definitely try and help you out. 
Logged
bnhnt
Full Member
***
Offline Offline

Gender: Male
Posts: 123


It's all about the FUNNY


« Reply #17 on: March 22, 2010, 04:28:56 PM »

Take your time. That’s what’s nice about this forum you can always come back and read later.
I appreciate any and all help when it can be provided
Logged

Don’t waste a minute not being happy. If one window closes, run to the next window — or break down a door.
Napierian
Global Moderator
*****
Offline Offline

Gender: Male
Posts: 298



WWW
« Reply #18 on: March 23, 2010, 01:22:10 PM »

Sorry for the delay in response.  Yes, the basic program I have does modify its angle on the fly.  Unfortunately, what I posted was my original attempt (copied from my notes), and probably will not work perfectly.  I know I had to play with user frames to get things to properly follow the angle of the gun.  I also didn't post the actual motion portion as that is almost identical to robotters program motion.

Good luck with this
Logged

Jeff Kocher
Robotics Technologist
2Ri Robotics
www.2rirobotics.com
FAQ - http://www.2rirobotics.com/Robot-Info/Pages/FAQ.aspx
15 Cope Court
Guelph, ON N1K 0A4
Tel 519-829-2335 Ext 24
Fax 519-829-2346
24 Hour service 519-993-2335
bnhnt
Full Member
***
Offline Offline

Gender: Male
Posts: 123


It's all about the FUNNY


« Reply #19 on: March 23, 2010, 04:41:31 PM »

PR[1]=LPOS
UFRAME
   =PR[1]
UFRAME_NUM=x
PR[2]=LPOS

Thanks Napierian,
You show 2 lpos positions but only show 1 that changes
Then if I’m reading it correct the user frame is PR[1]
But never change PR[1] in the program
Can you explain this program in a little more detail
I like what it is trying to do and would like to learn how
Thanks for any help
Logged

Don’t waste a minute not being happy. If one window closes, run to the next window — or break down a door.
Napierian
Global Moderator
*****
Offline Offline

Gender: Male
Posts: 298



WWW
« Reply #20 on: March 25, 2010, 04:40:00 PM »

OK, the first LPOS used with PR[1] is to get the center of the hole using the default user frame.  The next line changes the user frame from the default to correlate with the angle and orientation of the TCP. (should really be UFRAME
  • =PR[1]).  The next line changes the system to the new temporary user frame.  The last line there gives the PR[2] the position of the origin for this new user frame. 

In theory, if everything is set right, this will always make the positional data for position PR[2] = 0,0,0,0,0,0 (its really a quick way to make all of the values 0 for the calculated positions done later on.

How I would run this program is in the main program I would have only 2 lines per circle (fewer if the radius is constant)
R[30]= radius in mm
CALL CIRCLE

Hope this helps, and if you have other questions I will gladly try to answer.
Logged

Jeff Kocher
Robotics Technologist
2Ri Robotics
www.2rirobotics.com
FAQ - http://www.2rirobotics.com/Robot-Info/Pages/FAQ.aspx
15 Cope Court
Guelph, ON N1K 0A4
Tel 519-829-2335 Ext 24
Fax 519-829-2346
24 Hour service 519-993-2335
bnhnt
Full Member
***
Offline Offline

Gender: Male
Posts: 123


It's all about the FUNNY


« Reply #21 on: March 26, 2010, 04:33:54 PM »

Thanks !
I’m going to try and get this working and will let you know how it goes thanks for all the help
Logged

Don’t waste a minute not being happy. If one window closes, run to the next window — or break down a door.
mani_mech031
Newbie
*
Offline Offline

Posts: 21


« Reply #22 on: September 05, 2011, 03:26:05 PM »

@Napierian can you send the example of main program calling this sub program which makes x,y,z,w,p,r  0,0,0,0,0,0 please forward as soon as possible... thanks in advance for your kind help
Logged
Napierian
Global Moderator
*****
Offline Offline

Gender: Male
Posts: 298



WWW
« Reply #23 on: September 06, 2011, 04:15:15 PM »

To call this program requires nothing more than moving to the center of the circle, setting the radius into a register then calling the subprogram

L[1:hole center] 2000mm/s fine
R[2:hole radius] = 2.5
CALL Circle

After the cut, the robot will be back at position 1, and you can cary on as normal.  You will only need to adjust the register if your hole size changes

Good luck
Logged

Jeff Kocher
Robotics Technologist
2Ri Robotics
www.2rirobotics.com
FAQ - http://www.2rirobotics.com/Robot-Info/Pages/FAQ.aspx
15 Cope Court
Guelph, ON N1K 0A4
Tel 519-829-2335 Ext 24
Fax 519-829-2346
24 Hour service 519-993-2335
mani_mech031
Newbie
*
Offline Offline

Posts: 21


« Reply #24 on: September 07, 2011, 09:45:09 AM »

@Napierian,thanks i tried it , it worked very well... is their such methods for circle where the torch angle should me maintained 30 to 45 degree all around the circle (like bevel cutter). thanks in advance icon_smile
Logged
Napierian
Global Moderator
*****
Offline Offline

Gender: Male
Posts: 298



WWW
« Reply #25 on: September 07, 2011, 04:13:43 PM »

Hmm, thats a whole new ball of wax.  The simplicity of the original program means it would require some tweaking to be able to give a beveled cut all the way around. 

I am sure you could modify it to do this fairly simple though.  The following is just some brainstorming on whatmight work.

I would use a second register for the cut angle
In the first portion where the subprogram calculates/creates the 4 corners of the circle I would modify the w,p and r values to match the angle change needed.

So, the 5 points used will end up being as followes (r = radius & a = angle)
1: origine (center of circle) [0,0,0,0,0,0]
2: x pos [r,0,0,0,a,0]
3: y pos [0,r,0,a,0,0]
4:-x pos [-r,0,0,0,-a,0]
5:-y pos [0,-r,0,-a,0,0]

If you use a positive angle it shouldbevel one way, and if its a negative angle it should bevel the other.

Good luck, and let me know if this works (I only spent 10 min thinking on it)
Logged

Jeff Kocher
Robotics Technologist
2Ri Robotics
www.2rirobotics.com
FAQ - http://www.2rirobotics.com/Robot-Info/Pages/FAQ.aspx
15 Cope Court
Guelph, ON N1K 0A4
Tel 519-829-2335 Ext 24
Fax 519-829-2346
24 Hour service 519-993-2335
Pages: 1 [2] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!