Use M6 to define Material Top and Material Bottom

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Use M6 to define Material Top and Material Bottom

Post by cbb1962 »

I deal in wood 95% of the time and plastics the other 5%. My workflow is that I have material that I need to perform an operation relative to the top of the part, and another operation that is relative to the bottom of the part, where the parts vary in thickness. For example, my customer brings me boards of varying thicknesses that need a pocket of 0.25" cut into the top to accept another part that must be flush, overall thickness does not matter. But I still need to cut out the part.

Currently, I run my Tool Change macro and set the moveable plate to the top, run those operation(s), then initiate another M6 and reset the Z to the top of the spoil board.

I would like to use a moveable plate on the top of the material and store that value as the Z value for G54 then prompt to place the moveable plate on the top of the spoil board and store that for the Z value in G55. I can use Fusion 360 to define G54 and G55 for their respective operations.

In my M6 this is saving the Z value:

Code: Select all

G92 Z[#9071]  ;Set Z position to 0 + detector height stored in parameter 71 - material thickness 
That appears to save the Z value to G54, How would I store a value to G55??

Any advice would be appreciated.
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: Use M6 to define Material Top and Material Bottom

Post by cncsnw »

G92 sets the position in the currently-active coordinate system.

To set G55 using G92, just call G55 first. Then change back to G54 if needed.
cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: Use M6 to define Material Top and Material Bottom

Post by cbb1962 »

cncsnw wrote: Sun Jan 20, 2019 10:42 pm G92 sets the position in the currently-active coordinate system.

To set G55 using G92, just call G55 first. Then change back to G54 if needed.
Thanks! That was the nudge I needed.

I've made the modifications and tested it. Here is a link to the thread with the finished macro: viewtopic.php?f=63&t=1493&p=18619#p18619
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
Post Reply