To do tool comp requires a lead in move. I've always turned on/off the digital I/O via M64/65, paused to allow the action to take place, and then turned on tool comp and made the lead in move. But that was for a waterjet application where the jet has to penetrate the material before starting the cutting motion.
I think I did that because there was an issue with M62/63, but I don't remember what the problem was. It may have been that M62/63 didn't like having a pause after the M62/63 statement. If he is dropping a knife, he may need to pause for a short period to allow the knife to drop fully before making the next move. For waterjet programs I turn tool comp on and off for each cut since you need to tell the system which side of the cut you are going to apply tool comp to. The Gcode is all cam generated so once things are setup, it just works. Andy, does it look like it would be an easy fix to allow M64/65's when tool comp is on ? I've never understood why that interlock was put in place. Dave On 6/30/2016 9:30 AM, John Kasunich wrote: > According to the manual, M62/M63 are synchronized with motion, > and M64/M65 are not. > http://linuxcnc.org/docs/html/gcode/m-code.html > > Have you tried M62/M63? > > The manual says that M64/M65 break blending, maybe that's why > they aren't allowed during a string of radius compensated moves? > > I would think that most of the time you want M62/M63 anyway. > If you program: > > G1 X123 Y456 (cut a line) > M6x (drop head) > G2 I123 J456 X122 Y456 (cut an arc) > > You would expect the head to drop after the line and before the arc. > If you use M64/M64, it will probably drop before or during the line. > > > > On Thu, Jun 30, 2016, at 09:14 AM, andy pugh wrote: >> On 30 June 2016 at 13:26, Eric H. Johnson <[email protected]> wrote: >> >>> Is there any way around this. Do I have to turn radius compensation off >>> before each head lift / drop. >> I think so. >> >> I spotted this in the code last week. I have absolutely no idea what >> the reasoning is behind this restriction. >> >> -- >> atp >> "A motorcycle is a bicycle with a pandemonium attachment and is >> designed for the especial use of mechanical geniuses, daredevils and >> lunatics." >> — George Fitch, Atlanta Constitution Newspaper, 1916 >> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Emc-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-developers > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
