lathe spindle question
Moderator: cnckeith
-
- Posts: 293
- 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
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
cheers
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: lathe spindle question
That is a function of the PLC program.
Typical PLC logic is like this:
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.
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
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 293
- 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
Ok, I think I get what to do but not sure where to find this piece of code to change it?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 8853
- 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
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.
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
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
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 293
- 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
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
I never did get this sorted
;--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
Can somebody tell me what/how and where to do with this code please to get my solutuion?
cheers
I never did get this sorted
;--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
Can somebody tell me what/how and where to do with this code please to get my solutuion?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3457
- Joined: Thu Sep 23, 2021 3:49 pm
- Acorn CNC Controller: Yes
- Allin1DC 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: lathe spindle question
You have to learn to work with the PLC, edit and compile....
Easy to implement the code from Marc if your NP++ is set up as recommended
Uwe
Easy to implement the code from Marc if your NP++ is set up as recommended
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 293
- 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
I guess it would help if I knew what the PLC is? Or how to find it?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3457
- Joined: Thu Sep 23, 2021 3:49 pm
- Acorn CNC Controller: Yes
- Allin1DC 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: lathe spindle question
Related reading:
https://www.centroidcnc.com/centroid_di ... manual.pdf
The file to edit is acorn_lathe_plc.src in the cnct folder
Uwe
https://www.centroidcnc.com/centroid_di ... manual.pdf
The file to edit is acorn_lathe_plc.src in the cnct folder
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 293
- 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
Thanks, thats what i was after
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 293
- 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
Oh, I'm not sure if re-compiling is above my pay grade. I've managed to make the change in the code though but not sure about compiling...hmm
(Note: Liking will "up vote" a post in the search results helping others find good information faster)