Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: bwprice100 on July 12, 2010, 11:25:08 AM
-
Hi
New to Gcode programming but I get the following inconsistency.
On the MDI screen sometimes an axis will go to zero whether I use G0 X0 or G0 X0.0 but some it will only work if I input G0 X0.0 and sometime I can only get the axis to move if I use G0 X-0.0
Why?
Brian
-
Sounds like your sometimes in incremental mode and sometimes in absolute mode.
-
Sounds like your sometimes in incremental mode and sometimes in absolute mode.
Hi Gerry
Not changing the settings and why would this be different for these 2 modes anway?
Brian
-
Just had a thought Jerry:-)
If I was in Incremental mode then surly no G0X0 would move the axis
What I am getting is, for example
X axis at 4mm, then input G0X0 - nothing moves then input G0X0.0 - axis moves to zero
Brian
-
Are you sure your not typing "O" instead of zero? It shouldn't make any difference.
-
Are you sure your not typing "O" instead of zero? It shouldn't make any difference.
Pretty sure:-)
It's happen quite a few times so I doubt that its finger trouble.
No problems when running a program only happens on the MDI screen
It's not causing me any big problem, I was just concerned that I was misunderstanding how the Gcode works.
Brian
-
Both ways should work just fine.
-
Brian,
I don't know what to say as I have never had your problem.
G0X0
G0 X0
G0 X0.0
G0X0.0
They all work......
RICH
-
cheers guys
Next time it happens I will try and note what exactly the onditions where. I seem to think it was happening when I had been mucking about with the axis calibration but absolutly certain. :)
Brian