Gcode dinamic position error
25 Feb 2013 03:11 - 25 Feb 2013 03:15 #30531
by gfx1
Gcode dinamic position error was created by gfx1
Hallo
I'm new user,
I have 2.5.1 version and I use axis gui. I have only one stepper axes for my first test with linuxcnc. It's all ok but I have a strange problem ...
If I write:
the axes go to approximately 70% of measure then reverse the mouvement and go to approximately -70% of mesure and reverse again .... on until the end. But if I write in this way the code:
the motion is perfect!!!
does anyone know the problem?
I'm new user,
I have 2.5.1 version and I use axis gui. I have only one stepper axes for my first test with linuxcnc. It's all ok but I have a strange problem ...
If I write:
g1 x100 f8000
x-100
x100
x-100
x0
m0
the axes go to approximately 70% of measure then reverse the mouvement and go to approximately -70% of mesure and reverse again .... on until the end. But if I write in this way the code:
g1 x100 f8000
g4 p0
x-100
g4 p0
x100
g4 p0
x-100
g4 p0
x0
m0
the motion is perfect!!!
does anyone know the problem?
Last edit: 25 Feb 2013 03:15 by gfx1.
Please Log in or Create an account to join the conversation.
25 Feb 2013 17:14 - 25 Feb 2013 17:17 #30550
by Rick G
Replied by Rick G on topic Gcode dinamic position error
Try adding G64 Pn to your code first, to avoid "blending" of the moves.
linuxcnc.org/docs/devel/html/gcode/gcode.html#sec:G64
Rick G
linuxcnc.org/docs/devel/html/gcode/gcode.html#sec:G64
Rick G
Last edit: 25 Feb 2013 17:17 by Rick G.
The following user(s) said Thank You: gfx1
Please Log in or Create an account to join the conversation.
25 Feb 2013 20:38 #30555
by BigJohnT
Replied by BigJohnT on topic Gcode dinamic position error
You should always have a preamble line to set the working conditions expected. If you just accept what is currently active in the modal groups you may get surprised from time to time. A short tutorial on preamble is
here
. In your case I would just use G61 in the preamble.
John
John
The following user(s) said Thank You: gfx1
Please Log in or Create an account to join the conversation.
25 Feb 2013 21:45 #30562
by andypugh
Replied by andypugh on topic Gcode dinamic position error
As well as the other comments about the motion-blending mode, I think this shows that your axis acceleration values are much too low. The effect of blending should not be quite this obvious.the axes go to approximately 70% of measure then reverse the mouvement and go to approximately -70% of mesure and reverse again
The following user(s) said Thank You: gfx1
Please Log in or Create an account to join the conversation.
26 Feb 2013 05:07 #30580
by gfx1
Replied by gfx1 on topic Gcode dinamic position error
Thank you to all ..... I solve with g64 p0.005 and g61
the Gcode is new for me!!
the Gcode is new for me!!
Please Log in or Create an account to join the conversation.
26 Feb 2013 15:57 #30600
by Rick G
Replied by Rick G on topic Gcode dinamic position error
Glad to hear you have it sorted out!
Rick G
Rick G
Please Log in or Create an account to join the conversation.
Time to create page: 0.111 seconds