Spindle Step/Dir Output

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

nat2157
Posts: 1
Joined: Wed Feb 16, 2022 1:09 am
Acorn CNC Controller: No
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: No
CNC11: No
CPU10 or CPU7: No

Spindle Step/Dir Output

Post by nat2157 »

Does Acorn allow the spindle output to be in step and Dir as opposed to 0-10v? Can't seem to find anything in the manual on this.


tblough
Community Expert
Posts: 3544
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
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: Spindle Step/Dir Output

Post by tblough »

The spindle output is variable voltage (the Acorn can also do PWM). You can use an extra axis output to drive a stepper/servo spindle with step and direction.
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.


Navanod
Posts: 21
Joined: Fri Mar 11, 2022 3:32 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

Re: Spindle Step/Dir Output

Post by Navanod »

Tom you got me curious now. I was told in an email that step/dir isnt really supported for a spindle output. This would actually simplify things if my lathe spindle which is an ac servo motor could be set up with step/dir instead of the 0-10v analog output as my ac drive is +-10v.
otherwise I will need another intermediate board which uses PWM input of 0-10.

I want to achieve ridged tapping so bi directional control is important as well as CSS

Any videos/document showing how to do this would be welcome


tblough
Community Expert
Posts: 3544
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
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: Spindle Step/Dir Output

Post by tblough »

You are correct that it is NOT supported. There have been numerous threads on here with problems attempting this and a few success stories. Spend some time with the search function and a lot of time reading. This route will require a lot of work on your part with no guarantee of success - it seems to be very drive/motor dependent.

VFD powered AC synchronous motors for spindle drives are what is well documented and proven to work.
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.


Navanod
Posts: 21
Joined: Fri Mar 11, 2022 3:32 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

Re: Spindle Step/Dir Output

Post by Navanod »

Tom I think I did read every thread I found on the subject, but it was a little left floating in the air as to whats happening now as the last post mentioning that its not functioning was last year in February. There is no room at all in my lathe for a huge motor thats why Im using the Servo motor which fits. its fine though because the servo has the 10v analog control its just +-10v so i need another breakout board for that..which i was hoping to avoid.

your comment of try searching the forums wasn't really helpful


tblough
Community Expert
Posts: 3544
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: Yes
Hickory CNC Controller: No
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: Spindle Step/Dir Output

Post by tblough »

Good luck with your conversion. Post your results here to help the next person.
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.


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

Re: Spindle Step/Dir Output

Post by cnckeith »

gary campbell has had the best results that i have heard of using the Leadshine AC motor drive package as a Lathe spindle servo motor as an alternative to the traditional three phase / vfd method. He says the Leadshine unit has an input that can be used to switch it from 0-10 to step and direction and vise verse. So it can be used either as a spindle motor or as a servo motor. Just requires a little macro programming on Centroid end to accomplish.

Gary says "I use LeadShine EM motors with ELP drives to drive the spindles on small wood lathes that I produce. I use them in both velocity (-10-0-10 volt) mode AND step and direction mode, switched by an input."

i would avoid the DMM route as several have tried and failed with this combination, one issue was the 0 rpm command would never result in the DMM not moving, it would always be rotating at a slow speed or dithering.
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


suntravel
Community Expert
Posts: 3666
Joined: Thu Sep 23, 2021 3:49 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: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Spindle Step/Dir Output

Post by suntravel »

Navanod wrote: Thu Mar 17, 2022 9:18 am Tom you got me curious now. I was told in an email that step/dir isnt really supported for a spindle output. This would actually simplify things if my lathe spindle which is an ac servo motor could be set up with step/dir instead of the 0-10v analog output as my ac drive is +-10v.
otherwise I will need another intermediate board which uses PWM input of 0-10.

I want to achieve ridged tapping so bi directional control is important as well as CSS

Any videos/document showing how to do this would be welcome
I use JMC servos in speed mode for the spindle 0-10V for the speed and one Acorn output to change direction through a input on the servo drive.

Works perfect for rigid tapping.

Should also work to switch the servo from speed to position mode and use a Acorn header to drive the servo as C-axis. Will try this out on the lathe I am building.

Uwe


Navanod
Posts: 21
Joined: Fri Mar 11, 2022 3:32 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

Re: Spindle Step/Dir Output

Post by Navanod »

cnckeith wrote: Thu Mar 17, 2022 5:07 pm gary campbell has had the best results that i have heard of using the Leadshine AC motor drive package as a Lathe spindle servo motor as an alternative to the traditional three phase / vfd method. He says the Leadshine unit has an input that can be used to switch it from 0-10 to step and direction and vise verse. So it can be used either as a spindle motor or as a servo motor. Just requires a little macro programming on Centroid end to accomplish.

Gary says "I use LeadShine EM motors with ELP drives to drive the spindles on small wood lathes that I produce. I use them in both velocity (-10-0-10 volt) mode AND step and direction mode, switched by an input."

i would avoid the DMM route as several have tried and failed with this combination, one issue was the 0 rpm command would never result in the DMM not moving, it would always be rotating at a slow speed or dithering.
I have the motor already its a chinese servo but should do the job well and it might be some work to get it running but im sure it can do a great job. I just saw that the manual I have states that there is an input for changing between position and speed mode so thats a win for now. There is also modbus and this might be helpful for setting different tuning parameters based on what the machine is doing but I am yet to really understand it and will need my partners help to really test out some code.
suntravel wrote: Thu Mar 17, 2022 6:40 pm I use JMC servos in speed mode for the spindle 0-10V for the speed and one Acorn output to change direction through a input on the servo drive.
I wish that was the case with the drive I have but as of yet I dont see a way to reverse direction without a -10v output. Still im digging into the modbus interface to see what can be done on that side


Navanod
Posts: 21
Joined: Fri Mar 11, 2022 3:32 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

Re: Spindle Step/Dir Output

Post by Navanod »

" Leadshine unit has an input that can be used to switch it from 0-10 to step and direction and vise verse. So it can be used either as a spindle motor or as a servo motor. Just requires a little macro programming on Centroid end to accomplish."

Would love to have my hands on such a macro if someone has an example I think its my best bet as it will save me purchasing an additional piece of hardware to convert the 0 -10v to an -10 -+10v. This way I can use just use 0 10v just for speed control and then for ridged tapping the step/dir...


Post Reply