G64 and G20/G21 handling

More
7 months 2 days ago #344891 by dbtayl
How is G64 P- handled internally with G20/G21? Is the P value just a straight number that's interpreted according to whatever units are currently active? I don't see any mention of units at all in the docs.

FreeCAD is changing up its postprocessors, and I'm trying to figure out if

G20
G64 P0.01
G21

is the same as

G21
G64 P0.01

Thanks!


ETA- Now that I look at it, the order is still the same as the old FreeCAD postprocessors, but I'd still like to know. It seems weird to me to see G64 before either G20/G21 appears, but if it's literally just setting a number that has zero unit awareness, it's not actually a problem.

Please Log in to join the conversation.

More
7 months 2 days ago #344892 by MaHa
Replied by MaHa on topic G64 and G20/G21 handling
In axis i get this:

G20 G64 P0.05

 

Attachment not found





G21 G64 P0.05

 

Attachment not found

Please Log in to join the conversation.

More
7 months 1 day ago #344908 by dbtayl
Replied by dbtayl on topic G64 and G20/G21 handling
Where are you seeing that? I don't recall seeing the blending tolerance displayed anywhere, though I suspect I'm just being blind.

That answer works well enough for my purposes- regardless of whether that means "always uses mm" or "always uses machine units".

Please Log in to join the conversation.

More
7 months 1 day ago #344910 by MaHa
Replied by MaHa on topic G64 and G20/G21 handling
Axis UI => Machine menu => Show LinuxCNC Status => settings


or from linuxcnc.stat attributes
linuxcnc.org/docs/stable/html/config/pyt...ding_linuxcnc_status

settings
    (returns tuple of floats) - current interpreter settings. settings[0] = sequence number, settings[1] = feed rate, settings[2] = speed, settings[3] = G64 P blend tolerance, settings[4] = G64 Q naive CAM tolerance.

 

Please Log in to join the conversation.

Time to create page: 0.115 seconds
Powered by Kunena Forum