Forum Migration Notice
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
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.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings