Wait for spindle

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

Wait for spindle

Post by eman5oh »

I can't seem to figure out how to get the Acorn to wait for my spindle to spin up to speed before cutting. I was able to work around it for now by adding a G4 P10 to the file but would like it to be automatic. I have the VFD at speed wired to input 5 and have watched the PLC to see that input 5 works as it should, how do I get the acorn to wait for this input before cutting?
Attachments
report_98F07B6F8180-0629237365_2024-03-03_20-54-25.zip
(926.77 KiB) Downloaded 2 times
Last edited by eman5oh on Mon Mar 04, 2024 11:36 am, edited 1 time in total.
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: Wait for spindle

Post by ShawnM »

Add the dwell or delay in your M3 macro after the spindle turns on. This way it'll be sort of "automatic" every time you call the M3 to turn the spindle on. Just add your G4 P10 as the last line.

That said, 10 seconds is an eternity for a spindle to spin up. :mrgreen: Maybe adjust your acceleration time in your VFD parameters.
tblough
Posts: 3102
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Wait for spindle

Post by tblough »

Search for recent threads on this. A recent post by Marc explains how to add a test in the M3 macro to check for the spindle up to speed signal.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: Wait for spindle

Post by Muzzer »

Presumably this one https://centroidcncforum.com/viewtopic. ... 578#p41578

How to use M101 - this is from the lathe manual but I assume it's valid for mill too:
M101.png
cnckeith
Posts: 7334
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: Wait for spindle

Post by cnckeith »

use the "up to speed" input, no need for any custom plc programming work.
up to speed.png
example wiring of this.
https://www.centroidcnc.com/dealersuppo ... 223.r1.pdf
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
cncsnw
Posts: 3854
Joined: Wed Mar 24, 2010 5:48 pm

Re: Wait for spindle

Post by cncsnw »

cnckeith wrote:use the "up to speed" input, no need for any custom plc programming work.
Are you sure that his Acorn-standard PLC program or M3/M4 macros will do anything with that input?

Looking at the 12/11/2023 AcornSix template (the only one I have immediately handy) I see where "VFDUpToSpeed" is defined, but I don't see any place where it is used. Maybe the basic Acorn program is different?
cnckeith
Posts: 7334
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: Wait for spindle

Post by cnckeith »

i'll check, maybe it didn't get commited.
just add the m101 to look at this input in your mfunc3.mac
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
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: Wait for spindle

Post by eman5oh »

cnckeith wrote: Mon Mar 04, 2024 7:58 pm i'll check, maybe it didn't get commited.
just add the m101 to look at this input in your mfunc3.mac
I am pretty sure it does not wait, I have input 5 setup with that signal and can see the VFD is setting it proper once the spindle is spun up, the acorn is not however waiting for it. I'll edit the mfunc3.mac and mfunc4.mac too?
cnckeith
Posts: 7334
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: Wait for spindle

Post by cnckeith »

yes you edit m3func.mac and m3func.mac and tell it to wait for the input that you have assigned as "VFD up to speed" as.
macro editing guide.
https://www.centroidcnc.com/centroid_di ... amming.pdf
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
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: Wait for spindle

Post by eman5oh »

cnckeith wrote: Mon Mar 04, 2024 8:09 pm yes you edit m3func.mac and m3func.mac and tell it to wait for the input that you have assigned as "VFD up to speed" as.
macro editing guide.
https://www.centroidcnc.com/centroid_di ... amming.pdf
It worked after I added M101/50005 to the M3 macro, it did not work with just input 5 defined as vfd up to speed. Next up is to add the Rapid Change ATC, pretty excited to give that try!
Post Reply