Hello Guest it is November 14, 2019, 09:36:00 PM

Author Topic: G code for controlling axis 4  (Read 2423 times)

0 Members and 1 Guest are viewing this topic.

G code for controlling axis 4
« on: October 25, 2007, 02:27:14 PM »
I'm using mach mill with X, Y, Z and 4 axes. I am controlling two cross slides. X and Y for cross slide one and Z and A for cross slide two. If I try a G code for axis 4 I get an error because "4" is read as a number.

Examples:
G1 X1 works
G1 41 doesn't work

Is there a syntax for handling an axis that is named with a number? Can I rename my axis without a lot of work?

vmax549

*
Re: G code for controlling axis 4
« Reply #1 on: October 25, 2007, 02:32:23 PM »
I don't believe you can have an axis named as a number. It would drive the interpreter crazy(;-)

It looks like you are using the A axis as the 4th axis. It would move with a G1  A2.0000 to move the A axis 2units in the positive direction

(;-) TP
« Last Edit: October 25, 2007, 02:36:20 PM by vmax549 »