Hello Guest it is February 07, 2023, 05:37:22 PM

Author Topic: Z not working well  (Read 2740 times)

0 Members and 1 Guest are viewing this topic.

Z not working well
« on: April 01, 2008, 10:17:18 AM »
I'm having a problem with a Z axis not working right. 100% a software/program issue. I'm using version R2.0.060

Below is 1 example of a program that I'm having a problem with. I have not tried every program, but I think it's occuring with all my programs.

The problem is that the last move in the program is Z1.5, but movement stops at Z.8573, consistently. Thats where the software stops and the display says .8573.

Any ideas?

G00 G49 G40.1 G17 G80 G50 G90
M6 T1
M03 S0
G01Z0.000 F0
X0.055Y0.037Z-0.001 F2

(movement code deleted)

M5 M9

Offline Hood

  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Z not working well
« Reply #1 on: April 01, 2008, 10:34:11 AM »
Not sure but try putting your M5 and M9 on seperate lines. Also make sure there is a return after the last line of code, its normal practice to end the code with a % and that way you know you have pressed the return key to move your code to the next line.
« Last Edit: April 01, 2008, 10:36:04 AM by Hood »

Offline stirling

  • *
  •  2,188 2,188
  • UK
    • View Profile
    • www.razordance.co.uk
Re: Z not working well
« Reply #2 on: April 01, 2008, 11:09:42 AM »
When I loaded this, Mach complained and was generally an unhappy little motion controller. I corrected the following before I could run it.

1) You can't have zero spindle speed
2) You can't have zero feedrate
3) use some spaces here and there (they're freeĀ  ;D) - particularly before an an axis word (X Y and Z)

It then ran fine - Z stopped on 1.5

However it may be worth reading my posts at http://www.machsupport.com/forum/index.php/topic,6339.0.html