Hello Mark,
Here's an example G code file for a 2 axis Eztrak.
'START| 1.PGM'
N0 G71 G75 G90
F9=150
N1 G0 X0.0000 Y-5.0000 Z10.0000 ' Change To 6mm slotdrill ' T1 D6 M6
N2 Z2.0000
N3 G1 Z-5.0000 F500
N4 G41 X-5.4210 Y-16.4286 Z-5.0000 F9
N5 X-5.4210 Y-16.4286 Z-5.0000
N6 G3 X0.0000 Y-25.0000 I0.0000 J-19.0000
N7 G1 X15.0000
N8 G3 X25.0000 Y-15.0000 I15.0000 J-15.0000
N9 G1 Y15.0000
N10 G3 X15.0000 Y25.0000 I15.0000 J15.0000
N11 G1 X-15.0000
N12 G3 X-25.0000 Y15.0000 I-15.0000 J15.0000
N13 G1 Y-15.0000
N14 G3 X-15.0000 Y-25.0000 I-15.0000 J-15.0000
N15 G1 X0.0000
N16 G3 X5.4210 Y-16.4286 I0.0000 J-19.0000
N17 G40 G1 X0.0000 Y-5.0000
N18 G0 X0.0000 Y-5.0000 Z20.0000 F1000
Save it to a floppy as test.txt, load into the Eztrack press F4 and F5 to select the A drive and G code file. The program produces a 50mm square with 10mm corners using cutter compensation with a 6mm cutter.
The line F9=150 sets the feed, F9 is a variable used on line N4 to set the feed to 150.0mm\min.
Lines N4 & N5 use the same coordinates to apply the cutter comp, this is a bit different to the other controls I've used but the only way I could get it to work on the Eztrack.
The eztrak controller converts the conversational program into g code before they are run, to display the converted program load a program and in run mode press the minus key.
Regards Mark. |