Page 1 of 1

skipping code

Posted: Fri Jul 12, 2019 3:02 pm
by donm
we run this router with parts that are nested onto one sheet so we can cut multiple parts with running just one program.
we set a block number for the beginning of each part but the tool, offsets, speeds, spindle direction and start are only at the beginning of the program.
so if we break a tool at part nine is there any way to replace the tool then have the machine read the start up block then jump to the 9th block without editing the program. if yo do a search then hit enter it ignores every thing before block nine.
the only way i can do it now is putting a starting block at each part header.

Re: skipping code

Posted: Fri Jul 12, 2019 6:32 pm
by cnckeith
hello.
what version of cnc12 are you running? please post a report.zip
search to a line , block or tool # should keep track of modals in preceding lines.

Re: skipping code

Posted: Fri Jul 12, 2019 7:36 pm
by cncsnw
My guess is that it is not the modals, but the custom M codes.

You probably want the control to execute your M49, M51, M53 and M55 codes sometime prior to starting machining at N9.

Unfortunately, the control does not support that. Your best bet would be to extend your PLC program to include Aux key control of the vacuum pumps and other accessories, so that when using Run/Search or Run/Resume, you can turn them on yourself before you resume cutting.