![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
i am new to cnc and am still teaching myself so i have a lot to learn. i have a project i need to do that i am not sure if it can be programmed manually or if it is going to need a cad/cam program for it. i need to make a 5.725" diameter pocket .375" deep with a .375" radius. it would be easy to do with a 3/4" ball mill but i don't have one. i really don't want to get one for this quick project and not need it again. i was thinking about cutting the flat bottom of the pocket with a 1/2" endmill and using a 1/2" ball mill to cut the radius. i have no idea how to go about programing the radius part of it though. can this be programmed manually or am i better off just buying a 3/4" ball mill? i don't have any 3d cad/cam programs nor would i know how to use them either. i'd appreciate any help. thanks. |
|
#4
| ||||
| ||||
| if it's not that big of a deal for you i'd really appreciate it. i would like to keep it as smooth as possible so if .002" step over works for you, that would be great. i am in no big hurry to get it done and have a few weeks so don't go out of you way. and yes, windows it is. thanks a lot, robert. |
|
#5
| ||||
| ||||
| it's no big deal ,i have some software I've been writing that i would like to test I'll need an example of how your machine does circle interpolation like G2x1.y1.i0.j0.f10. and can it be run absolute or i can program it point to point how big is your program buffer |
| Sponsored Links |
|
#6
| ||||
| ||||
| let me know if you need any more information. thanks again. |
|
#7
| ||||
| ||||
|
|
#8
| |||
| |||
| Playing around on break I came up with this, not sure if it will run in Mach but it does in NCPlot. Down feeds and radial outfeeds are set very small, not sure what your machine can handle. Also you would need to add tool changes and length compensation code for however you normally do them. Code: (X ZERO CENTER OF HOLE) (Y ZERO CENTER OF HOLE) (Z ZERO FINISHED TOP OF PART) (TOOL CENTERLINE PROGRAMMING) (THE LINES WITH COMMENTS ABOUT ,FEED PER,) (CAN BE CHANGED FOR MORE OR LESS CUT PER PASS) (DURING THE SPIRAL DOWN AND OUT) (THE LINE WITH THE COMMENT ,STEP ANGLE, CAN) (BE CHANGED FOR MORE OR LESS CUT PER PASS) (AROUND THE RADIUS) (*************) (PROGRAM FOR) (1/2 IN FLAT END MILL) G0X0.230Y0.000 G0Z1.000 G1Z0.100F30.0 () #1=0.03 #2=0.005(DOWN FEED PER G3) () WHILE[#1GT-0.375]DO1 G3X0.230I-0.230Z[#1]F5.0 #1=[#1-#2] END1 G3X0.230I-0.230Z[-0.375]F5.0 (MAKE BOTTOM FLAT) G3X0.230I-0.230F5.0 (5.725/2 = 2.8625) (2.8625-0.375 = 2.4875) (2.4875-0.250 = 2.2375) () #1=0.230 #2=0.005(OUT FEED PER G3) () WHILE[#1 LT 2.2375]DO1 G1X[#1]F2.0 G3X[#1]I[-#1]F5.0 #1=[#1+#2] END1 G1X2.2375F2.0 G3X2.2375I-2.2375F5.0 (*************) (PROGRAM FOR) (1/2 IN BALL END MILL) () G0X2.4875Y0.000 G0Z1.000 G1Z0.100F30.0 () #1=0.03 #2=0.005(DOWN FEED PER G3) () WHILE[#1GT-0.375]DO1 G3X2.4875I-2.4875Z[#1]F5.0 #1=[#1-#2] END1 G3X2.4875I-2.4875Z[-0.375]F5.0 (MAKE BOTTOM FLAT) G3X2.4875I-2.4875F5.0 #1=0.0 #2=0.0 #3=0.0 #4=2.0(STEP ANGLE AROUND 0.375 RAD) () WHILE[#3 LT 100]DO1 #1=[0.125-[0.125*COS[#3]]] #2=0.125*SIN[#3] G1Z[-0.375+#1]F5.0 G1X[2.4875+#2]F2.0 G3X[2.4875+#2]I[-[2.4875+#2]]F5.0 #3=[#3+#4] END1 |
|
#9
| |||
| |||
| Andre'B Is this all the part that handles the .375 radius? Am I missing something? I don't see how this handles the changing radius of the cutter. Just trying to understand. (1/2 IN BALL END MILL) WHILE[#1GT-0.375]DO1 G3X2.4875I-2.4875Z[#1]F5.0 #1=[#1-#2] END1 |
|
#10
| |||
| |||
| This code is for a 1/2in dia. Ball Nose cutter for the corner only G01 X2.6125 Y0 Z-0.25 G03 X2.6125 Y0 I-2.6125 J0 G01 X2.6118 Y0 Z-0.2631 G03 X2.6118 Y0 I-2.6118 J0 G01 X2.6098 Y0 Z-0.276 G03 X2.6098 Y0 I-2.6098 J0 G01 X2.6064 Y0 Z-0.2886 G03 X2.6064 Y0 I-2.6064 J0 G01 X2.6017 Y0 Z-0.3008 G03 X2.6017 Y0 I-2.6017 J0 G01 X2.5958 Y0 Z-0.3125 G03 X2.5958 Y0 I-2.5958 J0 G01 X2.5886 Y0 Z-0.3235 G03 X2.5886 Y0 I-2.5886 J0 G01 X2.5804 Y0 Z-0.3336 G03 X2.5804 Y0 I-2.5804 J0 G01 X2.5711 Y0 Z-0.3429 G03 X2.5711 Y0 I-2.5711 J0 G01 X2.561 Y0 Z-0.3511 G03 X2.561 Y0 I-2.561 J0 G01 X2.55 Y0 Z-0.3583 G03 X2.55 Y0 I-2.55 J0 G01 X2.5383 Y0 Z-0.3642 G03 X2.5383 Y0 I-2.5383 J0 G01 X2.5261 Y0 Z-0.3689 G03 X2.5261 Y0 I-2.5261 J0 G01 X2.5135 Y0 Z-0.3723 G03 X2.5135 Y0 I-2.5135 J0 G01 X2.5006 Y0 Z-0.3743 G03 X2.5006 Y0 I-2.5006 J0 G01 X2.4875 Y0 Z-0.375 G03 X2.4875 Y0 I-2.4875 J0 |
| Sponsored Links |
|
#11
| ||||
| ||||
|
|
#12
| ||||
| ||||
that definatly looks right. what kind of a finish do you think that will leave? i would like to make it as smooth as possible. did you come up with that by hand or a program? how difficult would it be to set the z increments to .002"? i really appreciate it. |
![]() |
| 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 |
| Programmed RS-232 output | ghyman | G-Code Programing | 13 | 07-11-2008 03:53 AM |
| code rotary manually | daisydog | Mastercam | 3 | 01-19-2008 02:20 PM |
| Manually Change Endmill | DroopyPawn | G-Code Programing | 9 | 11-20-2007 01:04 AM |
| How do you move an axis manually ? | Eurisko | DIY-CNC Router Table Machines | 6 | 04-06-2007 09:00 PM |
| Need PIC programmed | randyf1965 | CNC Wood Router Project Log | 0 | 03-26-2005 05:56 PM |