G71

More
7 years 5 months ago #134743 by automata
Replied by automata on topic G71
Hi Andy,
Tool diameter compensation/ tool lathe radius compensation works with the assumption that the offset in both X and Z access is the same amount.

Will the same method hold of we offset by different values in X and Z axes?

Would the offset curve for a circle still be a circle?

-automata

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

More
7 years 5 months ago - 7 years 5 months ago #134745 by Patrik T
Replied by Patrik T on topic G71
1) Don't remember exactly, I think it was the most logical letter available. Or if you mean why I implemented a fillet radius function; It is a cool and useful thing to have. Programming a radius connecting tangentially between for example two other radii takes some math skills. Now it is as easy as typing q2.
2 and 4) Too large offsets can cause over cut. It can't handle a too small piece of contour with non tangential connections. The programmer will need to know not to program chamfers too small for the current tool radius.
3) Yes.
Last edit: 7 years 5 months ago by Patrik T.

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

More
7 years 5 months ago #134796 by automata
Replied by automata on topic G71
Hi Patrik T,
Thanks for the response. That clears my understanding of offsetting.
Would you care to share your G71 patch python code?
Regards,
-automata

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

More
7 years 5 months ago #134820 by smplc
Replied by smplc on topic G71
andypugh,

An O number is output either a main or sub-program. When a main program automation and cursor reaches G71 it retrieves file and source code. How does G71 file and source code collect main program start and end finish coordinates? Does G71 file read a character, leave the file momentarily, recover main program start and end finish coordinates and go back to it's file, continue and return to main program? Does G71 run simultaneously with main program interchangeably, read ahead and collect start and end finish coordinates, proceed and return to main program?

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

More
7 years 5 months ago #134821 by andypugh
Replied by andypugh on topic G71

smplc wrote: Does G71 run simultaneously with main program interchangeably, read ahead and collect start and end finish coordinates, proceed and return to main program?


G71 is, in effect, a specialised version of a subroutine call. It goes to the subroutine in largely the normal way, but reads the G0/1/2/3 moves into an internal store rather than executing them as moves.

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

More
7 years 5 months ago - 7 years 5 months ago #134825 by smplc
Replied by smplc on topic G71
andypugh,

Such LinuxCNC o code remind me of a Fanuc M98. An instance useful for a M98 and output is a bar feeder program.

I understand Fanuc G71 purpose and essential algorithm to program output and used it many times with industrial and commercial CNC lathes.

I'd like to develop a G71 with C language source code for Mach4 interface. I can probably make own algorithm. However, I need to determine how to collect start and end finish coordinates of main O program. I could make my own main C program and executable G71 that doesn't transmit O program finish coordinates but my purpose is to share the O program and make a macro or module. Therefore. How does G71 source code receive start and end finish coordinates of main output program?
Last edit: 7 years 5 months ago by smplc.

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

Time to create page: 2.699 seconds
Powered by Kunena Forum