Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:11:26 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Z axis drift during X-axis motion...
Pages: « 1 2 3 4   Go Down
Print
Author Topic: Z axis drift during X-axis motion...  (Read 1141 times)
0 Members and 3 Guests are viewing this topic.
Hood
Active Member

Online Online

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #30 on: November 22, 2010, 09:50:32 AM »

Ok so is it t towards the end of the line 29 move that it starts digging in?

In the code you attached if you change the Z in line 29 to 0.1 is it OK?


Hood
Logged
Chet
Active Member

Offline Offline

Posts: 45


View Profile
« Reply #31 on: November 22, 2010, 09:57:31 AM »

The slow Z-axis rotation starts immediately...
I won't be able to do the line modify until later today...
Thanks for enduring...
Logged
Hood
Active Member

Online Online

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #32 on: November 22, 2010, 10:12:19 AM »

Yes the code is telling the Z to rotate slowly and that is why it is doing it.
Here  is what the code is saying

27  X0.0823  Y0.626  Z 0.0  ( X, Y and Z to move to these positions at the commanded feedrate set earlier)

28  G00  Z0.1  (This is telling Z to Rapid to 0.1)

29  X9.9157  Y1.376  Z0.0 (this is telling X,Y and Z to go to the positions and all will move but as X has the furthest to go it will move faster, Y will be next fastest but Z has hardly any distance to move so it will go slow. The reason is all axis need to start and finish at the same time)

30  X9.9157  Y1.376  Z-0.25(This line is essentially telling the Z to move to -0.25, there are X and Y commands but as they are already there they dont move and are actually not needed in the code, replacing that line with z-0.25 would do exactly the same)

So as you can see the machine is doing as its told by the code. If the Z0 on line 29 was deleted or replaced with Z0.1 the Z Axis would not move until that line had completed and then the next line would take it down to -0.25

Hood
« Last Edit: November 22, 2010, 10:14:33 AM by Hood » Logged
Chet
Active Member

Offline Offline

Posts: 45


View Profile
« Reply #33 on: November 22, 2010, 10:39:43 AM »

Outstanding explanation!!!!
Thanks, Hood!!!!!
Logged
Hood
Active Member

Online Online

Posts: 17,362


Carnoustie, Scotland


View Profile
« Reply #34 on: November 22, 2010, 11:49:33 AM »

Glad it helped.
Hood
Logged
Pages: « 1 2 3 4   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!