Page 1 of 1

lathe spindle question

Posted: Thu Aug 24, 2023 10:54 am
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

Re: lathe spindle question

Posted: Thu Aug 24, 2023 11:53 pm
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.

Re: lathe spindle question

Posted: Fri Sep 01, 2023 6:24 am
by midy
Ok, I think I get what to do but not sure where to find this piece of code to change it?

Re: lathe spindle question

Posted: Fri Sep 01, 2023 5:45 pm
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.