- Newbie- Joe
-
Registered
Joe
Hi
I am a hobby newby. I have done G
code for a 39mm half sphere using G 91.1
and G03 using x and I. The sphere machines perfectly but I want to machine 4 spheres in a square at 65mm centres. What code do I use to position them. The first position is X0 Y0
Can anyone help?
-
-
Registered
Have you looked into sub programming? You could have your sphere be a sub program and then use incremental moves in the main program to move it around. Like so:
%
O1000
G20 G17 G40 G49 G80 G90
T1 M6
G0 G90 G54 X0. Y0. S1000 M3
G43 H1 Z0. M83
M98 P2000
G91 X65.
M98 P2000
G91 Y65.
M98 P2000
G91 X-65.
M98 P2000
(Go home, etc.)
O2000 (Sphere)
(Sphere commands go here)
%
- Newbie- Joe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules