skipping code

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
donm
Posts: 6
Joined: Mon May 06, 2019 1:05 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: XHGBFHDABH
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

skipping code

Post 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.
Attachments
43782.cnc
sample cnc file
(43.73 KiB) Downloaded 73 times


cnckeith
Site Admin
Posts: 9036
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: skipping code

Post 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.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


cncsnw
Community Expert
Posts: 4619
Joined: Wed Mar 24, 2010 5:48 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No

Re: skipping code

Post 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.


Post Reply