- Posts: 2
- Thank you received: 0
Gcode dinamic position error
13 years 8 months ago #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!!! :dry:
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:
Code:
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:
Code:
g1 x100 f8000
g4 p0
x-100
g4 p0
x100
g4 p0
x-100
g4 p0
x0
m0
the motion is perfect!!! :dry:
does anyone know the problem?
Please Log in to join the conversation.
13 years 8 months ago #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
Please Log in to join the conversation.
13 years 8 months ago #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
Please Log in to join the conversation.
13 years 8 months ago #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.gfx1 wrote: the axes go to approximately 70% of measure then reverse the mouvement and go to approximately -70% of mesure and reverse again
Please Log in to join the conversation.
13 years 8 months ago #30580
by gfx1
Replied by gfx1 on topic Gcode dinamic position error
Thank you to all ..... I solve with g64 p0.005 and g61 :lol:
the Gcode is new for me!!
the Gcode is new for me!!
Please Log in to join the conversation.
Time to create page: 0.185 seconds
