![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Parametric Programing (custom macro b, fadal macro, okuma user task) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#14
| |||
| |||
|
that means that the starting, ending and center call outs do not "fit". follow dcoupar's advice and remove the center callouts and replace with radius. this will force the control to fit the commanded radius into the starting and ending points. Good luck |
|
#15
| |||
| |||
| hello i created a macro program tot mill a given radius on a straiht line in case you dont want to use a concave or convex mill the sub progr. calculates the distance of each step in y and z if it has to be a smooth surface you take a one degree step or more for faster results i start at the top of the workpiece and mill then from left to right calculate a new y and z and go from right to left and so on until i reach a rotation of 90 degrees start is at Z0 and finish is at Z-5 it works without radius compensation!! i am using a 20 mm mill with 0.8mm radius on the edge and i work in mm not in inches, but that must be no problem is this wat you have in mind ?? ![]() sorry for the bad writting ![]() % O0310(PARAM.RAD 5MM) G1902B100D100H25I0J50K0 G0G91Z0M19 T17 M6 M03S1500 G00G90G54X-20Y-10 G0G90G43H17D17Z50 Z0 G01Y-10 G65 P9060 A1 B5 (a= degrees B=radius) M09 G0G91G28Z0M5 G91G30X0Y0P3M9 G90M37 M12 M30 % here folows the subprogram % O9060(SUB310) #3=0+#1 N1 IF[#3 EQ #3]THEN#3=#3+#1 IF[#3 EQ 90]GOTO10 #25=#2*COS[#3] #24=#2*SIN[#3] #26=5-#24 #27=5-#25 G01X-20 Y#26 Z-#27 X125 IF[#3 EQ #3]THEN#3=#3+#1 IF[#3 EQ 90]GOTO10 #25=#2*COS[#3] #24=#2*SIN[#3] #26=5-#24 #27=5-#25 Y#26 Z-#27 G01X-20 GOTO1 N10 M99 % greetings fzr1000 |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Radius to end of arc differs from radius to start on Line #" | labuda | G-Code Programing | 8 | 11-15-2009 06:35 AM |
| Need Help!- Outside radius | Shibumi | G-Code Programing | 1 | 10-30-2008 10:27 AM |
| Problem- radius help | Scott Halstead | GibbsCAM | 0 | 06-12-2008 07:27 AM |
| big radius | Dembo | Mechanical Calculations/Engineering Design | 10 | 02-01-2008 11:01 AM |
| Zero Radius Arc | Xular | Mach Mill | 4 | 12-13-2006 09:10 PM |