Acorn Auto Measure Macro

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
eman5oh
Posts: 33
Joined: Fri Dec 15, 2017 3:01 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D77883F936-0629237375
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Acorn Auto Measure Macro

Post by eman5oh »

Where is the file (macro) stored that the acorn used when I press the auto measure button on tool offset screen? I'm lookin go use the same functionality in a custom macro and would like to copy what is there as a starting point.
ShawnM
Posts: 2234
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Acorn Auto Measure Macro

Post by ShawnM »

If you select the "single block" mode and then run the macro again it'll show you in the first line the macro number it's running. Then just escape out or cycle cancel. Mine is custom so I don't know the macro number off the top of my head.
Ken Rychlik
Posts: 353
Joined: Wed Jan 23, 2019 4:19 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5B92C3A-0213236854
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Acorn Auto Measure Macro

Post by Ken Rychlik »

I've never seen a macro for the oem file. I think it's probably in the plc. There are several available and I have some as well. I'm working on getting mine to auto update the library and it's almost ready to share.
Ken
ShawnM
Posts: 2234
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Acorn Auto Measure Macro

Post by ShawnM »

My bad, he asked about the function used on "the tool offset screen" not the VCP. That's a screen I don't even use, sorry.
avp
Posts: 129
Joined: Fri Aug 13, 2021 12:25 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E062346A1C67-0716214939
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: New York

Re: Acorn Auto Measure Macro

Post by avp »

I think but I'm not sure.
It is called "probe_move_to_surface"

Bill
eman5oh
Posts: 33
Joined: Fri Dec 15, 2017 3:01 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D77883F936-0629237375
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Acorn Auto Measure Macro

Post by eman5oh »

I'm mainly interested in how they set the tool offset and z-ref, I'll look though the cncm folder to see if I can find the probe_move_to_surface file for some hints.
ShawnM
Posts: 2234
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Acorn Auto Measure Macro

Post by ShawnM »

There are several ways to set the Z reference and it depends on the machine, how you home it, how accurate it is or if you just use a reference tool. Keith did a video many. many years ago on this subject using the tool offset library and typical setup for a router. I dont know if it'll be helpful or not as I dont know what kind of machine you are working with but it may have some good info in it for you.

https://www.youtube.com/watch?v=afufzv2PWyg
Post Reply