To weld a circle by just teaching a center point

chincp
✭
Hi All,
Is there anyway to program the robot to only need to teach the center point and just define the diameter/radius of the circle that we wish to have?
As I have noticed from Move C command that we need to teach at least 4 points to get a full circle.
Thank you very much!
0
Comments
-
HiYou could do your own circle instruction like the following:MODULE CIRCLECONST robtarget p10:=[[1000,300,800],[0,0,1,0],[0,-1,0,0],[9E9,9E9,9E9,9E9,9E9,9E9]];PERS tooldata tGun:=[TRUE,[[-200,0,300],[1,0,0,0]],[1,[0,0,0.1],[1,0,0,0],1,1,1]];PROC main()! call circlerCircle p10,v200,z5,tGun,75;ENDPROCPROC rCircle(robtarget Center,speeddata Speed,zonedata Zone,PERS tooldata toolPERS wobjdata WObj,num nRadius)! circleMoveJ Offs(Center,nRadius,0,20),Speed,Zone,toolWObj?WObj;MoveL Offs(Center,nRadius,0,0),Speed,fine,toolWObj?WObj;MoveC Offs(Center,0,nRadius,0),Offs(Center,-nRadius,0,0),Speed,Zone,toolWObj?WObj;MoveC Offs(Center,0,-nRadius,0),Offs(Center,nRadius,0,0),Speed,fine,toolWObj?WObj;MoveL Offs(Center,nRadius,0,20),Speed,Zone,toolWObj?WObj;ENDPROCENDMODULE0
-
Hi Marcel,Thanks a lot! ^^ Will try this program out. =D0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings