G86 Boring Cycle, Spindle Stop, Rapid Move Out

More
10 years 1 month ago - 10 years 1 month ago #80119 by snujcnc
hi
i am looking solution for g86 cycle

my expected cycle g86 is

first tool make bore
after make bore spindle stop on my desired position (may be orient position)
then axis shift in opposite direction of tool tip (little travel )
then tool come out from bore

i am not able to understand how to resolve this issue

in haas fanuc siemens fagor mitsubishi all system this solution is presents
Last edit: 10 years 1 month ago by snujcnc.

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

More
10 years 1 month ago #80122 by andypugh
Replied by andypugh on topic G86 Boring Cycle, Spindle Stop, Rapid Move Out
I think that the boring cycles have not yet caught up with the addition of spindle orientation to LinuxCNC.
There are some undocumented cycles.
github.com/LinuxCNC/linuxcnc/blob/master...ngc/interp_cycles.cc
They may be undocumented because they don't work.

If you have spindle orient working then making a subroutine should be relatively easy. You could even remap it to your preferred G8x code

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

More
10 years 1 month ago #80129 by snujcnc
thanks for information

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

More
10 years 1 month ago #80169 by andypugh
Replied by andypugh on topic G86 Boring Cycle, Spindle Stop, Rapid Move Out
Now i have a keyboard and not an iPhone, I can be more verbose.

The docs on remap are extensive and detailed, So much so that you might think it is hard. Pay special attention to the "minimal remap" part and skim the rest for the stuff you need to know.

linuxcnc.org/docs/2.7/html/remap/remap.h...s_including_tt_m6_tt

You can remap G86.1 to do what you want with one aded line in the INI file and a four-line G-code file that does a feed per-rev followed by an orient, move and retract.
The following user(s) said Thank You: Rick G, snujcnc

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

More
10 years 1 month ago #80173 by Rick G
Good point Andy.

By just reading the minimal remap section it all makes sense and seems quite powerful. I will have to give it a try!

Rick G

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

More
10 years 1 month ago #80212 by snujcnc
thnaks for information

i am not aware for all things about linuxcnc

if i want to make modification in interp_cycles.cc

can i add some custom M-Code like m119 in this script

in g86 cycle

where

STOP_SPINDLE_TURNING(); is given

i want to use m199 code at this place

.........
also for remap things if you have example config please send me sample

how to write in ini

what other things i need to set in hal etc..

i tried g84.2 code but it doesnt work
that time i set in ini
[RS274NGC]
REMAP=G84.2 argspec=xyzqp python=g842 modalgroup=1

it show unknown g code error
when i commad from mdi

thanks

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

Time to create page: 0.142 seconds
Powered by Kunena Forum