Hickory M6 calls missing macro

All things ecat Hickory CNC controller

Moderator: cnckeith

Post Reply
spumco
Posts: 50
Joined: Sat Mar 22, 2025 5:24 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Hickory M6 calls missing macro

Post by spumco »

Testing out the ATC function after reinstalling CNC12 and got an error about a missing file during a tool change.

Turns out the standard mfunc6.mac file has the following line:

G65 "C:\cncm\system\tt_check_configuration.cnc"

This macro is a safety check to ensure a tool setter is attached and configured properly before doing a tool touch-off. However, the file wasn't installed by CNC12 5.30 for Hickory.

I've downloaded & extracted a number of Acorn report files from the forum (back to 1/2024) and the tt-check file is present under /urf/system.

All three Hickory reports I downloaded (back to early 2024) are missing the file, and in the single report where the user had an ATC their mfunc6.mac file has the entire tool check section commented out.

So... long story short... Centroid might want to take a look at the Hickory installation and if mfunc6.mac calls tt_check_configuration.cnc ensure that file is present after installation.


Allin1Chris
PLC Expert
Posts: 245
Joined: Wed Jul 31, 2019 12:53 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
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Hickory M6 calls missing macro

Post by Allin1Chris »

Hello Spumco,

Thanks for reporting this, you are correct that it does appear the hickory install does not install this file. This will be corrected for next release.

You can copy the file found in the acorn/acornsix install to the hickory install or use the one attached here in the mean time.
Attachments
tt_check_configuration.cnc
(6.54 KiB) Downloaded 32 times
When requesting support READ THIS POST first. viewtopic.php?t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=A36MSMilMyc.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)

Centroid PLC Tutorial Videos


spumco
Posts: 50
Joined: Sat Mar 22, 2025 5:24 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Hickory M6 calls missing macro

Post by spumco »

Allin1Chris wrote: Thu Aug 21, 2025 3:57 pm This will be corrected for next release.

It may not be necessary to copy the file over. Looks like the Hickory version of tool check from the tool offsets page uses an alternate tool setter config check in the form of tool_offset_auto_measure.cnc. This macro accomplishes the same thing as the 'missing' Acorn file.

So it appears that there is an 'Acorn' scheme and a 'Hickory' scheme, but the current Hickory implementation has some leftover stuff from when it was copied from Acorn.

May make more sense to delete the G65 from Hickory's mfunc6.mac file. Copying the Acorn file to Hickory would essentially be using both schemes.


spumco
Posts: 50
Joined: Sat Mar 22, 2025 5:24 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: Hickory M6 calls missing macro

Post by spumco »

Unfortunately, the tt_check_config.cnc file isn't appropriate for Hickory.

The file was written for Acorn and all of the probe input check lines are restricted to inputs 1-16. Hickory has up to 32 inputs. Because my TT-4 is on input 32, I got an error message when the tool touchoff started.

To work with Hickory I edited the file and replaced all instances of "16" with "32", which also covered the plc input lines (50032).

Might want to have a Hickory-specific version for 5.40.


suntravel
Community Expert
Posts: 3832
Joined: Thu Sep 23, 2021 3:49 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: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Hickory M6 calls missing macro

Post by suntravel »

On Acorn6 the tt_check_config.cnc is installed but not used IMHO.

It looks like a leftover from V4.99, maybe for users with old custom M6 macros.

From V5.18 and up the functionality is built in tool_offset_auto_measure.cnc

I also suggest to update only Hickory's mfunc6.mac

Uwe


Allin1Chris
PLC Expert
Posts: 245
Joined: Wed Jul 31, 2019 12:53 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
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Hickory M6 calls missing macro

Post by Allin1Chris »

spumco wrote: Thu Aug 21, 2025 9:33 pm Unfortunately, the tt_check_config.cnc file isn't appropriate for Hickory.

The file was written for Acorn and all of the probe input check lines are restricted to inputs 1-16. Hickory has up to 32 inputs. Because my TT-4 is on input 32, I got an error message when the tool touchoff started.

To work with Hickory I edited the file and replaced all instances of "16" with "32", which also covered the plc input lines (50032).

Might want to have a Hickory-specific version for 5.40.
Yeah honestly i forgot about that part of the macro, Thanks for pointing it out. The modification to 32 will do for now. I think its time for me to re-think that macro, the range check makes sense for Acorn, but not the other boards.
When requesting support READ THIS POST first. viewtopic.php?t=1043

Please ALWAYS post a FRESH report. To make a report: https://www.youtube.com/watch?v=A36MSMilMyc.

(We pride ourselves on providing timely solid technical support but, without good information we may not be able to help and/or reply until such information is posted.)

Centroid PLC Tutorial Videos


suntravel
Community Expert
Posts: 3832
Joined: Thu Sep 23, 2021 3:49 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: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Hickory M6 calls missing macro

Post by suntravel »

Allin1Chris wrote: Fri Aug 22, 2025 9:56 am
spumco wrote: Thu Aug 21, 2025 9:33 pm Unfortunately, the tt_check_config.cnc file isn't appropriate for Hickory.

The file was written for Acorn and all of the probe input check lines are restricted to inputs 1-16. Hickory has up to 32 inputs. Because my TT-4 is on input 32, I got an error message when the tool touchoff started.

To work with Hickory I edited the file and replaced all instances of "16" with "32", which also covered the plc input lines (50032).

Might want to have a Hickory-specific version for 5.40.
Yeah honestly i forgot about that part of the macro, Thanks for pointing it out. The modification to 32 will do for now. I think its time for me to re-think that macro, the range check makes sense for Acorn, but not the other boards.
I would restrict it to 8 on Acorn because the Ether 1616 is too slow to use for a probe or TT and with one you have 8+16 inputs.

Uwe


Post Reply