Hi,
I'm new on the forum, but I use emc2 for a few years.
I've encountered a strange problem when machining something that has a lot of tiny Z axis moves - like lithopanes or fine 3d engravings.
I've made a few tests and here are the results:
When running this code:
Code:
#1000=100 ( loop 100 times )
( the next loop has no delays after moves )
( tests direction hold times on driver config and also max accel setting )
o101 while [#1000]
G0 Z0.009
G0 Z-0.009
#1000 = [#1000 - 1]
o101 endwhile
G0 Z0
( msg, Done...Z should be exactly 0.000mm above table )
M2
Result is OK, my dial indicator shows 0.000mm
But when running this code:
Code:
#1000=100 ( loop 100 times )
( the next loop has no delays after moves )
( tests direction hold times on driver config and also max accel setting )
o101 while [#1000]
G0 Z0.001
G0 Z-0.009
#1000 = [#1000 - 1]
o101 endwhile
G0 Z0
( msg, Done...Z should be exactly 0.000mm above table )
M2
Result is not OK, my dial indicator shows -0.620mm
Lowering Max Velocity and Max Acceleration does not help.
What is the cause of this problem and how to fix it?
Machine setup: EMC 2.3.5, stepper motors, gecko G212, HIWIN ballscrews, HIWIN linear rails,...
Attached picture shows errors on the right side, where is a lot of tiny Z axis moves, and perfectly flat plane on the left side.
Thanks,
David
image missing http://www.linuxcnc.org/media/kunena/attachments/legacy/images/z_error1.jpg