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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings