How to locate programs? <Solved, Spindle warm up macro>

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
Tim Berframe
Posts: 22
Joined: Tue Feb 27, 2024 11:36 am
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: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

How to locate programs? <Solved, Spindle warm up macro>

Post by Tim Berframe »

How do I determine what code snippet is assigned to a button on the panel? I want to edit the spindle warm up but dont know what file name to look for.


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

Re: How to locate programs?

Post by cnckeith »

vcp manual
https://www.centroidcnc.com/centroid_di ... manual.pdf

macro guide
https://www.centroidcnc.com/centroid_di ... amming.pdf

macros are .mac or .cnc most are located in c:\cncm or c:\cncm\system
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


Sword
Posts: 833
Joined: Fri Nov 30, 2018 1:04 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: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: How to locate programs?

Post by Sword »

Turn on single block mode and then click the button in question. The preview text will show one line at a time and will most likely show what .mac or .cnc file is associated with it (as long as the macro has that info at the top of the code).
Scott


eman5oh
Posts: 38
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: How to locate programs?

Post by eman5oh »

I could use a little help with the spindle macro as well, I recently upgraded to 5.24 and realized that stock spindle warm up was linked to the router vcp button. How do I find this stock Spindle warm up? The VCP manual mentions m56 but that macro is not it. I would like to restore my old Spindle warm up but I need to know where to go looking for it in my backup.

Thanks!


Sword
Posts: 833
Joined: Fri Nov 30, 2018 1:04 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: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: How to locate programs?

Post by Sword »

The stock spindle warm up file is at C:\cncm\system\perform_spindle_warmup.cnc. Edit it to have what your previous file has (copy/paste), or just copy your file into that folder and rename it to perform_spindle_warmup.cnc. Rename the stock one to something like perform_spindle_warmup_OEM.cnc first.
Scott


ShawnM
Community Expert
Posts: 3011
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: How to locate programs?

Post by ShawnM »

eman5oh wrote: Sun Feb 16, 2025 2:35 pm I could use a little help with the spindle macro as well, I recently upgraded to 5.24 and realized that stock spindle warm up was linked to the router vcp button. How do I find this stock Spindle warm up? The VCP manual mentions m56 but that macro is not it. I would like to restore my old Spindle warm up but I need to know where to go looking for it in my backup.

Thanks!
As a convenience feature I added the spindle warm up macro to my home macro. After the machine homes it asks me if I want to run the spindle warm up procedure. I can answer yes or no depending on the situation. This skips a few steps since it needs to be done at the first start up of the day. I also removed the stock M4 button on the VCP and replaced it my own custom "spindle warm up" button and I can run it that way also.


eman5oh
Posts: 38
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: How to locate programs?

Post by eman5oh »

Sword wrote: Sun Feb 16, 2025 7:26 pm The stock spindle warm up file is at C:\cncm\system\perform_spindle_warmup.cnc. Edit it to have what your previous file has (copy/paste), or just copy your file into that folder and rename it to perform_spindle_warmup.cnc. Rename the stock one to something like perform_spindle_warmup_OEM.cnc first.
Thanks, any idea where the default spindle warm up was on 5.08 would have been. It seems that it was different in that version as I do not have a perform _spindle_warmup.cnc in same directory as 5.24 .


eman5oh
Posts: 38
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: How to locate programs?

Post by eman5oh »

ShawnM wrote: Sun Feb 16, 2025 8:08 pm
eman5oh wrote: Sun Feb 16, 2025 2:35 pm I could use a little help with the spindle macro as well, I recently upgraded to 5.24 and realized that stock spindle warm up was linked to the router vcp button. How do I find this stock Spindle warm up? The VCP manual mentions m56 but that macro is not it. I would like to restore my old Spindle warm up but I need to know where to go looking for it in my backup.

Thanks!
As a convenience feature I added the spindle warm up macro to my home macro. After the machine homes it asks me if I want to run the spindle warm up procedure. I can answer yes or no depending on the situation. This skips a few steps since it needs to be done at the first start up of the day. I also removed the stock M4 button on the VCP and replaced it my own custom "spindle warm up" button and I can run it that way also.
I like the idea of adding to the home macro, would you mind sharing the code that prompts for a yes or no to warm up the spindle?


Allin1Chris
PLC Expert
Posts: 235
Joined: Wed Jul 31, 2019 12:53 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: How to locate programs?

Post by Allin1Chris »

eman5oh wrote: Mon Feb 17, 2025 3:06 pm
Sword wrote: Sun Feb 16, 2025 7:26 pm The stock spindle warm up file is at C:\cncm\system\perform_spindle_warmup.cnc. Edit it to have what your previous file has (copy/paste), or just copy your file into that folder and rename it to perform_spindle_warmup.cnc. Rename the stock one to something like perform_spindle_warmup_OEM.cnc first.
Thanks, any idea where the default spindle warm up was on 5.08 would have been. It seems that it was different in that version as I do not have a perform _spindle_warmup.cnc in same directory as 5.24 .
Before V5.10, it was mfunc77.mac in the cncm directory.
When requesting support READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043

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

(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


eman5oh
Posts: 38
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: How to locate programs?

Post by eman5oh »

Allin1Chris wrote: Mon Feb 17, 2025 3:16 pm
eman5oh wrote: Mon Feb 17, 2025 3:06 pm
Sword wrote: Sun Feb 16, 2025 7:26 pm The stock spindle warm up file is at C:\cncm\system\perform_spindle_warmup.cnc. Edit it to have what your previous file has (copy/paste), or just copy your file into that folder and rename it to perform_spindle_warmup.cnc. Rename the stock one to something like perform_spindle_warmup_OEM.cnc first.
Thanks, any idea where the default spindle warm up was on 5.08 would have been. It seems that it was different in that version as I do not have a perform _spindle_warmup.cnc in same directory as 5.24 .
Before V5.10, it was mfunc77.mac in the cncm directory.
Thanks! Found my old spindle warm up and moved it to the new location and renamed it.


Post Reply