TwoWheeler
Aluminum
- Joined
- Jan 25, 2021
I admit to not being a fan of (and thus not very fluent in) "Amish Programming" (G-Code) but once in a while it's the right tool for the job.
I have to drill four holes in a 1" square pattern...6 times, with a 1.75" linear spacing, then shift down on Y and do another row. It's only a 2mm hole, so what I've done in the past was to just use the machine to rapid to each coordinate, use M00 to have it stop there, drill the hole by hand with my sensitive feed drill chuck and then when I hit the green button, move to the next position, like this:
G0 X-.5 Y.5
M00
G0 Y-.5
M00
G0 X.5
M00
G0 Y.5
M00
G0 X0 Y0
M00
G0 X1.75
M00
So, at this point, it's indexed to the next pattern...and now I need to reset the zero and run the above again.
(Fagor control, but this is so basic, the codes should be pretty universal...and the machine doesn't speak Macro).
I have to drill four holes in a 1" square pattern...6 times, with a 1.75" linear spacing, then shift down on Y and do another row. It's only a 2mm hole, so what I've done in the past was to just use the machine to rapid to each coordinate, use M00 to have it stop there, drill the hole by hand with my sensitive feed drill chuck and then when I hit the green button, move to the next position, like this:
G0 X-.5 Y.5
M00
G0 Y-.5
M00
G0 X.5
M00
G0 Y.5
M00
G0 X0 Y0
M00
G0 X1.75
M00
So, at this point, it's indexed to the next pattern...and now I need to reset the zero and run the above again.
(Fagor control, but this is so basic, the codes should be pretty universal...and the machine doesn't speak Macro).