lathe spindle question

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
midy
Posts: 203
Joined: Wed Oct 11, 2017 12:20 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

lathe spindle question

Post by midy »

When switching from auto spindle control to manual, the software sets spindle speed to zero (or very low) Is there a parameter to make it stay at 100% ? Small problem I know but would save pressing the button every time I switch.
cheers
cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: lathe spindle question

Post by cncsnw »

That is a function of the PLC program.

Typical PLC logic is like this:

Code: Select all

;--Adjust spindle override when entering manual or auto spin mode
;Set the override value to 100% when spin auto mode is first selected
IF SpinAutoManPD && !SpinAutoModeLED
  THEN SV_PLC_SPINDLE_KNOB = 100,
       SET SpinAutoModeLED

;Set the override value to 10% whenever manual mode is entered
IF SpinAutoManPD && SpinAutoModeLED
  THEN SV_PLC_SPINDLE_KNOB = 10, RST SpinAutoModeLED
As you can see, it sets the spindle override percentage to 10% on an auto-to-manual mode switch. This results in a speed that is 5% of the maximum RPM for the current spindle range (10% of half speed).

You can change that behavior to whatever you want, by changing the second SV_PLC_SPINDLE_KNOB assignment, saving your changes, and recompiling the PLC program.
midy
Posts: 203
Joined: Wed Oct 11, 2017 12:20 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

Re: lathe spindle question

Post by midy »

Ok, I think I get what to do but not sure where to find this piece of code to change it?
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: lathe spindle question

Post by cnckeith »

default is 50% of max RPM. this is a safety feature so spindle doesn't go to max rpm when you switch to manual.

what is your max rpm set to for this machine? post a fresh report.zip so we can see how you have things setup.
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
Post Reply