G64 P and Q

More
05 Feb 2021 18:24 #197763 by jbraun
G64 P and Q was created by jbraun
Is G64 P0.001
the same as
G64 P0.001 Q0.00 ?
and Q0.00 is the same as no Q ?
I think the documentation suggests this but it's not stated explicitly.
I haven't been using Q, mostly because I don't fully understand what is default.

Please Log in or Create an account to join the conversation.

More
05 Feb 2021 18:29 #197764 by aleksamc
Replied by aleksamc on topic G64 P and Q
You may not use Q complitly, type only G64 P0.001 and it will work

Please Log in or Create an account to join the conversation.

More
05 Feb 2021 21:39 #197781 by jbraun
Replied by jbraun on topic G64 P and Q
P0.001 was a poor example for this question.
Something from 5 years back:

"Ok, I was helped to understand this better and it is not a bug. P does set the motion tolerance and Q sets Naive Cam Detector tolerance, but if Q is not specified it defaults to the same setting you give P. I fixed my problem by specifying Q0 or even Q0.001"

sourceforge.net/p/emc/bugs/426/
So unless things have changed this is the answer

Please Log in or Create an account to join the conversation.

More
05 Feb 2021 22:02 #197785 by aleksamc
Replied by aleksamc on topic G64 P and Q
In your example is shown how param. P is work.
As for me I've never used Q.
As I understand Q makes borders in two sides of path that tool can't move out.
So if you want to make pricese move simply use G61. And if not G64 Pn.
You can try if G64 P1 Q0 will be equal to G61
The following user(s) said Thank You: jbraun

Please Log in or Create an account to join the conversation.

More
06 Feb 2021 01:58 #197803 by jbraun
Replied by jbraun on topic G64 P and Q
Thanks aleksamc
I think the light is starting to shine.

Please Log in or Create an account to join the conversation.

More
08 Feb 2021 18:27 #198039 by Todd Zuercher
Replied by Todd Zuercher on topic G64 P and Q
No, Q has to do with line segment collinearity. If two consecutive segments are less than Q from being collinear (in other words in a straight line) they are merged and treated as a single line segment. (Q is expressed in degrees). If Q is not specified it is set as Q=P. If you want to use Q value of 0 you must specify it explicitly such as G64P0.01Q0. Q can be important to speed up the running of some poorly generated g-code made by some CAM systems by preventing unnecessary slow downs.

Please Log in or Create an account to join the conversation.

More
08 Feb 2021 19:22 #198054 by PCW
Replied by PCW on topic G64 P and Q
I was wondering if in the absence of a reasonable Q value, it would be pretty easy
to run out of the default TP lookahead with gcode consisting of many tiny G1 moves.

Please Log in or Create an account to join the conversation.

More
08 Feb 2021 22:11 #198088 by jbraun
Replied by jbraun on topic G64 P and Q

If Q is not specified it is set as Q=P.

Revisiting the g-code overview docs this is stated clearly. I ended up on the trajectory planner page and got lost in the wilderness. For now I've programmed some small segment arcs and back plotting in Axis in an attempt to grasp the rest. If it doesn't sink in I'll stick with P only which has done okay so far.

Please Log in or Create an account to join the conversation.

More
09 Feb 2021 14:20 #198146 by Todd Zuercher
Replied by Todd Zuercher on topic G64 P and Q
I did a little testing, and I'm not sure that you can always trust what the backplot shows with regards to this.

Please Log in or Create an account to join the conversation.

More
10 Feb 2021 03:10 - 10 Feb 2021 03:11 #198240 by jbraun
Replied by jbraun on topic G64 P and Q
Yes, the back plotting doesn't match the documentation. Most likely Axis was never intended for this kind of thing so it shouldn't be a surprise. Filed under "if all you have is a hammer".
Last edit: 10 Feb 2021 03:11 by jbraun.

Please Log in or Create an account to join the conversation.

Time to create page: 0.114 seconds
Powered by Kunena Forum