Tool Setting Options For Routers and Mills

Moderator: cnckeith

Dan M
Posts: 506
Joined: Tue Aug 28, 2018 3:47 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: C8df84dfbdd5-0809181120
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Contact:

Re: Tool Setting Options For Routers and Mills

Post by Dan M »

cbb1962 wrote: Mon Mar 25, 2019 10:26 pm
Dan M wrote: Mon Mar 25, 2019 10:22 pm It's something in the macro Clint it did the same thing when I tried it.
.
the Macro is essentially the same as it was in V4.12
Oh then I don't know why it behaves different than it did before. Maybe I never tried that one before?

On my machine it wanted me to measure the machine bed and then the top of the material, not sure if that's normal.

And when it measures it doesn't retract like the other macro does, it almost pins the touch plate.

So I tried it once and switched to the first one without the G54/G55. That one does what I need and works fine, I have to look at my 4.12 m6 file and see which one I was using before. Like I said maybe I never tried that one to begin with.

Dan
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: Tool Setting Options For Routers and Mills

Post by cbb1962 »

Dan M wrote: Tue Mar 26, 2019 12:03 am On my machine it wanted me to measure the machine bed and then the top of the material, not sure if that's normal.
Yes, that is what it is supposed to do. I made the original macro because I machine a lot of decorative wooden parts with operations that reference the top and then cut them out. Sometimes my customer would send me material that varied in thickness as much as 1/4". If I referenced the spoil-board the operation on the top varied in depth, board to board. If I referenced the top I would either not cut all the way thru or cut into my soil board deeply unless I measured each board and modified the G-code each time. I figured out that if I assigned G55 to the Top and G54 to the bottom I didn't have to measure the thickness of every board and modify my G-Code.

Dan M wrote: Tue Mar 26, 2019 12:03 am And when it measures it doesn't retract like the other macro does, it almost pins the touch plate.
Like I said earlier; setting G55 is the EXACT same code as setting G54. It makes no sense why it doesn't retract. Is it a bug in V4.14 or an undocumented feature?? :-)
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
martyscncgarage
Posts: 9915
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Tool Setting Options For Routers and Mills

Post by martyscncgarage »

cbb1962 wrote: Tue Mar 26, 2019 7:09 am
Dan M wrote: Tue Mar 26, 2019 12:03 am On my machine it wanted me to measure the machine bed and then the top of the material, not sure if that's normal.
Yes, that is what it is supposed to do. I made the original macro because I machine a lot of decorative wooden parts with operations that reference the top and then cut them out. Sometimes my customer would send me material that varied in thickness as much as 1/4". If I referenced the spoil-board the operation on the top varied in depth, board to board. If I referenced the top I would either not cut all the way thru or cut into my soil board deeply unless I measured each board and modified the G-code each time. I figured out that if I assigned G55 to the Top and G54 to the bottom I didn't have to measure the thickness of every board and modify my G-Code.

Dan M wrote: Tue Mar 26, 2019 12:03 am And when it measures it doesn't retract like the other macro does, it almost pins the touch plate.
Like I said earlier; setting G55 is the EXACT same code as setting G54. It makes no sense why it doesn't retract. Is it a bug in V4.14 or an undocumented feature?? :-)
The custom user macros may need to be checked or tweaked when 4.14 comes out.
It's a bit of a problem when users adopt the use of a custom Macro that another user created and don't understand macro programming. You'd have to go back to the user that created the macro you are using to see if there is an update to their Macro. Centroid can't be expected to keep track of who is doing what or support custom user macros.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
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: Tool Setting Options For Routers and Mills

Post by cbb1962 »

martyscncgarage wrote: Tue Mar 26, 2019 11:53 am The custom user macros may need to be checked or tweaked when 4.14 comes out.
It was...
diycncscott wrote: Tue Feb 06, 2018 2:09 pm <cnckeith update>
M6 Tool Change Macros compatible with Acorn CNC12 v4.14

No warranty expressed or implied these are provided as a courtesy use at your own risk and feel free to edit to your liking.

5.) Clints "Router" with G54-59 Set added download here: mfunc6_g54.mac Save as : c:\cncm\mfunc6.mac
That was from the edited Opening Post.
martyscncgarage wrote: Tue Mar 26, 2019 11:53 am It's a bit of a problem when users adopt the use of a custom Macro that another user created and don't understand macro programming.
I completely understand what the macro is supposed to do. After it saves the G54 Z value it is supposed to pause 1 second, retract to G53 Z0 display the next message. It doesn't, it stays in place in contact with the moveable plate. It retracts to G53 Z0 AFTER the message appears and Cycle start is pressed. That is not what the previous version V4.12 did and according to the code, V4.14 shouldn't either.
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
martyscncgarage
Posts: 9915
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Tool Setting Options For Routers and Mills

Post by martyscncgarage »

cbb1962 wrote: Tue Mar 26, 2019 12:08 pm
martyscncgarage wrote: Tue Mar 26, 2019 11:53 am The custom user macros may need to be checked or tweaked when 4.14 comes out.
It was...
diycncscott wrote: Tue Feb 06, 2018 2:09 pm <cnckeith update>
M6 Tool Change Macros compatible with Acorn CNC12 v4.14

No warranty expressed or implied these are provided as a courtesy use at your own risk and feel free to edit to your liking.

5.) Clints "Router" with G54-59 Set added download here: mfunc6_g54.mac Save as : c:\cncm\mfunc6.mac
That was from the edited Opening Post.
martyscncgarage wrote: Tue Mar 26, 2019 11:53 am It's a bit of a problem when users adopt the use of a custom Macro that another user created and don't understand macro programming.
I completely understand what the macro is supposed to do. After it saves the G54 Z value it is supposed to pause 1 second, retract to G53 Z0 display the next message. It doesn't, it stays in place in contact with the moveable plate. It retracts to G53 Z0 AFTER the message appears and Cycle start is pressed. That is not what the previous version V4.12 did and according to the code, V4.14 shouldn't either.
I believe Centroid is looking at this specific custom Macro as a courtesy.

My statement was generalized.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Dan M
Posts: 506
Joined: Tue Aug 28, 2018 3:47 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: C8df84dfbdd5-0809181120
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Contact:

Re: Tool Setting Options For Routers and Mills

Post by Dan M »

cbb1962 wrote: Tue Mar 26, 2019 7:09 am
Dan M wrote: Tue Mar 26, 2019 12:03 am On my machine it wanted me to measure the machine bed and then the top of the material, not sure if that's normal.
Yes, that is what it is supposed to do. I made the original macro because I machine a lot of decorative wooden parts with operations that reference the top and then cut them out. Sometimes my customer would send me material that varied in thickness as much as 1/4". If I referenced the spoil-board the operation on the top varied in depth, board to board. If I referenced the top I would either not cut all the way thru or cut into my soil board deeply unless I measured each board and modified the G-code each time. I figured out that if I assigned G55 to the Top and G54 to the bottom I didn't have to measure the thickness of every board and modify my G-Code.

Dan M wrote: Tue Mar 26, 2019 12:03 am And when it measures it doesn't retract like the other macro does, it almost pins the touch plate.
Like I said earlier; setting G55 is the EXACT same code as setting G54. It makes no sense why it doesn't retract. Is it a bug in V4.14 or an undocumented feature?? :-)
How does it work with the gcode? I'm looking to do the same, but I can't assign different z0 for my tool paths without having a different cut file (I'm using V-carve pro). Does that macro only work with fusion 360, and that's why it tripped out when I tried to use it?

Do you have to manually insert G54 and G55 into your gcode? Did you ever do a video of that macro running? What I've been doing is assigning a z0 to the top for my tool paths that don't cut all the way through and running a separate file that zeros off the machine bed for the through cuts. It seems like your macro is exactly what I was looking for, but it would need to work with V-carve pro.

Any additional info would be great Clint.

Thanks,
Dan
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: Tool Setting Options For Routers and Mills

Post by cbb1962 »

Dan M wrote: Tue Mar 26, 2019 5:02 pm
How does it work with the gcode? I'm looking to do the same, but I can't assign different z0 for my tool paths without having a different cut file (I'm using V-carve pro). Does that macro only work with fusion 360, and that's why it tripped out when I tried to use it?

Do you have to manually insert G54 and G55 into your gcode? Did you ever do a video of that macro running? What I've been doing is assigning a z0 to the top for my tool paths that don't cut all the way through and running a separate file that zeros off the machine bed for the through cuts. It seems like your macro is exactly what I was looking for, but it would need to work with V-carve pro.

Any additional info would be great Clint.

Thanks,
Dan
In Fusion, I am able to have a setup for the top (G55) and a different one for the bottom (G54.) Fusion combines both setups into one g-code file. It works really well.

I guess Fusion has me spoiled, I looked at V-Carve Pro and one of the reasons I didn't buy it was the lack of flexibility in setting part origins. With fusion, if I define a point in the sketch geometry I can use it as the XYZ origin.

The only thing in that macro that is Fusion specific is that it will display to tool description from the g-code header as part of the prompts in CNC12, Very nice feature.

If you are doing production runs it might be worth your time to edit the two files together and assign them G54 and G55 manually.
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
Racedirector
Posts: 98
Joined: Tue Mar 05, 2019 8:26 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Riverstone, NSW
Contact:

Re: Tool Setting Options For Routers and Mills

Post by Racedirector »

Clint

Newbie view here but I downloaded your report and took a look at mfunc6 and mfunc6v4.12. (I could not see a mfunc6_g54 in your report zip)

In 4.12 you have:
N225

M200 "#)Set G54 Jog the cutter over the Moveable Plate on the Spoil Board \nPress Cycle Start to continue"

M115 /Z P[#104] F[#102] ;Move at fast probing rate until TT1 detected
M116 /Z P-[#104] F[#103] ;Retract at slow probing rate until TT1 clears
M115 /Z P[#104]F[#103] ;Move at slow probing rate until TT1 detected

G54 G92 Z[#9071] ;Set Z position to 0 + detector height stored in parameter 71 - Moveable plate thickness
G4 P1 ;Wait 1 second
G53 Z0 ;Retract Z

N230
M200 "#)Set G55 Jog the cutter over the Moveable Plate on Top of the Part \nPress Cycle Start to continue"
M115 /Z P[#104] F[#102] ;Move at fast probing rate until TT1 detected
M116 /Z P-[#104] F[#103] ;Retract at slow probing rate until TT1 clears
M115 /Z P[#104]F[#103] ;Move at slow probing rate until TT1 detected

G55 G92 Z[#9071] ;Set Z position to 0 + detector height stored in parameter 71 - Moveable plate thickness
G4 P1 ;Wait 1 second
G53 Z0 ;Retract Z

and in mfunc6 you have:
N225

M200 "#)Jog the cutter over the Moveable Plate on the Spoil Board \nPress Cycle Start to continue"

M115 /Z P[#104] F[#102] ;Move at fast probing rate until TT1 detected
G91 Z#9013 F[#102] ;Move up the distance set in P13.
M115 /Z P[#104]F[#103] ;Move at slow probing rate until TT1 detected
G90

G54 G92 Z[#9071] ;Set Z position to 0 + detector height stored in parameter 71 - Moveable plate thickness
G4 P1 ;Wait 1 second
G53 Z0 ;Retract Z

N230
M200 "#)Jog the cutter over the Moveable Plate on Top of the Part \nPress Cycle Start to continue"
M115 /Z P[#104] F[#102] ;Move at fast probing rate until TT1 detected
G91 Z#9013 F[#102] ;Move up the distance set in P13.
M115 /Z P[#104]F[#103] ;Move at slow probing rate until TT1 detected

G56 G92 Z[#9071] ;Set Z position to 0 + detector height stored in parameter 71 - Moveable plate thickness
G4 P1 ;Wait 1 second
G53 Z0 ;Retract Z
The bold lines in each are the difference. Not sure what difference it makes but one calls G55 and the other G56....I'm probably wrong but I thought I'd give it a go :)

Cheers
Bruce
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: Tool Setting Options For Routers and Mills

Post by cbb1962 »

Mfunc6 is mfunc6_g54 that was renamed.

The reason it references M56 instead of M55 was that I was testing to see if changing from G55 to G56 made a difference. It didn't.

4.12 is the macro that was working in version 4.12.

Thanks!
Clint in NW Arkansas

The more I learn, the more I realize I don't know...
Racedirector
Posts: 98
Joined: Tue Mar 05, 2019 8:26 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Riverstone, NSW
Contact:

Re: Tool Setting Options For Routers and Mills

Post by Racedirector »

Hehehe... something I would do too!

Just chucking ideas out there what would happen if you reset #9071 to zero after storing it in G54? My machine is dead other wise I'd give it go....
Post Reply