Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional p word to set peck distance/count #2528

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

rene-dev
Copy link
Member

adds optional p word to #1860

c-morley and others added 6 commits June 18, 2023 18:17
peck distance for g73/g83
peck count for g73
g73 does short pecks to break chips.
If count is >0, it will fully retract to clear chips every 'count'
 number of pecks

[RS274NGC]
PARAMETER_DRILL_CYCLE_CHIP_BREAK_DISTANCE = .020
PARAMETER_G73_PECK_TILL_CLEAR_COUNT = 2
@hansu
Copy link
Member

hansu commented Jun 19, 2023

Is it intended that this PR includes Chris' commits?

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Jun 19, 2023 via email

@andypugh
Copy link
Collaborator

My understanding of these commits is that it makes the following statements in the docs a bit more explicit:
"Rapid up a bit." (G73)
"Rapid move back down to the current hole bottom, backed off a bit." (G83)
In that you can now decide how big "a bit" is.

In the Fanuc docs is says that this is a "machine parameter", and that is equivalent to what Chris' initial commit implemented.

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Jun 19, 2023 via email

@@ -1766,7 +1766,7 @@ G73 X- Y- Z- R- Q- <L->

The 'G73' cycle is drilling or milling with chip breaking.
This cycle takes a Q number which represents a 'delta' increment along
the Z axis.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect the "Rapid up .010 of an inch or 0.254 mm." part below should be modified too. The documented 0.1"/0.254mm do not seem to match the ini value default listed above.

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Jun 24, 2023 via email

@andypugh
Copy link
Collaborator

I noticed in <URL: https://yewtu.be/watch?v=XRNnWAUoXrk > that FreeCAD have a 'Retract' length that can be set when specifying peck drilling. Is this the same as the R word in LinuxCNC?

Probably. I think the only way to be sure would be to change it and see how the generated G-code differs.
...
Amongst the ways to be sure include looking at the FreeCAD source code.

But I would expect that it is R

@andypugh
Copy link
Collaborator

andypugh commented Jul 3, 2023

Maybe it would be better to leave P available in case we want to add a pause at final depth.
However, there are not many letters available to use and inside the block structure only some letters are a suitable type.

double a_number;
double b_number;
double c_number;
double d_number_float;
int dollar_number;
double e_number;
double f_number;
int h_number;
double i_number;
double j_number;
double k_number;
int l_number;
int n_number;
double p_number;
double q_number;
double r_number;
double s_number;
int t_number;
double u_number;
double v_number;
double w_number;
double x_number;
double y_number;
double z_number;

abcuvwxyz are unavailable. As are F, S. N, T.
H, L, N, T are also the wrong data type.
R, L, Q are already in use.

which leaves D, E, I, J, K, P.

D might have been a better choice? (I have to take the blame here, as @rene-dev and I discussed this and it was I who decided that P was best)

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Aug 6, 2023 via email

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Aug 6, 2023 via email

@andypugh
Copy link
Collaborator

andypugh commented Aug 9, 2023

instead of 0.05" / 1mm?

I think it is .01" or 0.254mm by default. 1mm seems too much for a default. I often peck with a Q of 1mm, in that case the system would spend equal time cutting air as cutting metal.

FSwizard suggests 0.05mm/tooth so my 1mm peck is only 10 turns, but that is a chip approx 50mm long.

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Aug 13, 2023 via email

@gmoccapy
Copy link
Collaborator

gmoccapy commented Oct 7, 2023

stuttgart meeting says we(andy) should change the letter.

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Oct 7, 2023 via email

@andypugh
Copy link
Collaborator

andypugh commented Oct 7, 2023

I think probably D. Unless anyone wants to propose another of the available and suitable pins:
D, E, I, J, K, P.

@petterreinholdtsen
Copy link
Collaborator

petterreinholdtsen commented Oct 8, 2023 via email

@andypugh
Copy link
Collaborator

Aha. As it look like a7909cb went into master using P for this

Well, that's confusing because I changed eveything to D and reworded the docs before pushing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants