
08-22-2009, 07:57 PM
|
| | | Join Date: Aug 2009 Location: 1
Posts: 10
| |
Originally Posted by ger21 I'll have to see on Monday if I can find info on G120. We use CadCODE to create our code from .dxf files, but will ocasionally hand write g-code at the machine, for small simple things.
From the main menu, pressing 1 will take you to the editor where you can edit or write code. Press the "Program" button and enter a number for the program you want to write or edit. Enter part width, length, and height, as well as tool table #. We only use tool table 1.
Click the New button (left side) to create a new line of code. Also, the left or right arrow keys will display more menu options.
Arcs are done the same as your sample, but use G102 or G103. YOU can use either I,J or R arcs.
Note that you don't program rapid moves, as they are done automatically.
G172 X-10 Y-10 Z0 S16 T41 E1 Always start a route with G172, it sets the tool at the specified position X, Y, Z. S16 = 16000rpm T41 = Tool41 (router, with no tool changer?) E = Entry feedrate of 1m/min to specified position.
G41 G42 = Offset tool left G42=offset right, must follow G172. Compensation is applied during move from start point to next point.
G101 X0 Y-10 Z2 F2 Move to 0,-10,2 @ 2m/min. Z movesdown are +, top of part =Z0
G101 X0 Y100 Z2 F2
G101 X100 Y100 Z2 F2
G101 X100 Y0 Z2 F2
G101 X-10 Y0 Z2 F2
G40 G40 = turn off compensation (G41/G42) Must be prior to last move.
G101 X-10 Y-10 Z0 F2 After comp is turned off, tool center finishes at this position. Vertical drilling is done with G100.
G100 X10 Y10 Z5 T1 F3 = drill with tool #1 5mm deep at X10, Y10 @ 3m/min
Horizontal drilling is done with G182. G483, G184, and G185. In the editing window, using the left and right arrow keys will display a help button that explains all the G and M codes available with syntax. Also, the editor will prompt you for the needed arguments.
If you have a grooving saw, it's programmed the same as a route, but with tool #50. |
can you send me cadcode program?i don't know where can i d/l..thx...
how to setting frist ?
this for round and line ?
g120 k1
g42 ,g40, g42
g101 ,g102 ,g103 ?
g40
g101 ?
this for Drilling a hole?
g192
g120
g100 ? |