New to CNC, LinuxCNC and Gcode. Unwanted axis movement
16 May 2017 00:37 #93245
by ehwot
New to CNC, LinuxCNC and Gcode. Unwanted axis movement was created by ehwot
Hi all
I Have a problem you might be able to help with, I don't know if it's a Gecko, LinuxCNC or my brain.
If I enter a simple straight line command to the mill ( G1 X580 Y0 F100 )then I find the other axis (Y in this case) will also move, very slowly, but also gradually "drift" in the negative movement. So the straight line becomes angled.
If I change the code to G1 Y580 Y0 F100, then the X axis will negatively drift.
No unwanted drift on the Z axis.
A circle generated in Rhino and then converted to Gcode using "DXF2GCODE" will mill beautifully, and end up at the same point it starts.
I tried to "reset" the code by adding....
G21 (Units in millimeters)
G90 (Absolute programming)
G64 (Default cutting)
G17 (XY plane)
G40 (Cancel radius comp.)
G49 (Cancel length comp.)
G61 (exact path mode)
G94 (mm per minute feed)
G54 (co-ordinate system)
G80 (cancel canned cycles)
M2
to the start of that simple straight line code, but if anything the drift is worse.
I'm running LinuxCNC to a Gecko G540, gantry type mill with 2 y steppers, one X and one Z stepper.
Jim
I Have a problem you might be able to help with, I don't know if it's a Gecko, LinuxCNC or my brain.
If I enter a simple straight line command to the mill ( G1 X580 Y0 F100 )then I find the other axis (Y in this case) will also move, very slowly, but also gradually "drift" in the negative movement. So the straight line becomes angled.
If I change the code to G1 Y580 Y0 F100, then the X axis will negatively drift.
No unwanted drift on the Z axis.
A circle generated in Rhino and then converted to Gcode using "DXF2GCODE" will mill beautifully, and end up at the same point it starts.
I tried to "reset" the code by adding....
G21 (Units in millimeters)
G90 (Absolute programming)
G64 (Default cutting)
G17 (XY plane)
G40 (Cancel radius comp.)
G49 (Cancel length comp.)
G61 (exact path mode)
G94 (mm per minute feed)
G54 (co-ordinate system)
G80 (cancel canned cycles)
M2
to the start of that simple straight line code, but if anything the drift is worse.
I'm running LinuxCNC to a Gecko G540, gantry type mill with 2 y steppers, one X and one Z stepper.
Jim
Please Log in or Create an account to join the conversation.
16 May 2017 02:23 #93246
by ehwot
Replied by ehwot on topic New to CNC, LinuxCNC and Gcode. Unwanted axis movement
Seems it's fixed itself.
*shrug*
*shrug*
Please Log in or Create an account to join the conversation.
17 May 2017 21:52 #93318
by andypugh
Replied by andypugh on topic New to CNC, LinuxCNC and Gcode. Unwanted axis movement
It might, just possibly, have been a stray G10 L2 Rnnn command.
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g10-l2
That allows you to rotate the XY axes around the Z axis.
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g10-l2
That allows you to rotate the XY axes around the Z axis.
Please Log in or Create an account to join the conversation.
18 May 2017 09:31 #93333
by ehwot
Replied by ehwot on topic New to CNC, LinuxCNC and Gcode. Unwanted axis movement
Yeah, a bit of rogue code stuck in there.
All good now.
All good now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.122 seconds