LinuxCNC - how to control Spindle speed?
Hallo zusammen,
I have an SC300 with the HF500 spindle provided by Stepcraft. I would like to know if it's possible to control the spindle speed via LinuxCNC.
When I switch to MDI mode and (manually) enter a g-code command like "M3 S8000" (i.e. set speed to 8000 rpm) then nothing happens. Just the little red light of the spindle control-box turns on.
On the other hand, when I issue the command "M5" (stop the spindle), then the little red light on the control-box of the HF500 correctly turns off.
So seems that M3 (or M4) commands doesn't work, while M5 does. I'm missing something? Any clue?
p.s: for now I'm using the setting reported here: Roberts Modellbaublog
p.p.s: I'm checking also the settings reported here by Norbert
SC300 + Spindle HF500 + Portalerhöhung + LinuxCNC + gsimple
Ubrigens,
also in "Manual" mode I cannot make the HF500 spindle turning on (i.e. by clicking the "" buttons on the TkLinuxCNC GUI interface)
🙁
SC300 + Spindle HF500 + Portalerhöhung + LinuxCNC + gsimple
Did you add the correct Pin (17 afaik) to LinuxCNCs PinConfig and rerun the stepconf wizard?
In this thread are some screenshots of the Mach3 settings, maybe you can find the needed parameters in them.
(Just guessing, I do not own a HF spindle...)
Danke Chris!
No time to check pin 17 today, I'm going to verify it tomorrow.
Anyway definitely seems that I need to configure/use an additional pin on the parallel port to send the "PWM" information to the control-box of the spindle. The argument is illustrated at page 25 of the Getting started guide from linuxcnc.org.
I will report here my results if one.
SC300 + Spindle HF500 + Portalerhöhung + LinuxCNC + gsimple
Yes! :woohoo:
The problem was the Pin #17 of the parallel port that was not configured, now the spindle runs perfectly via software!
I will post my configuration very soon, just little time fuer further tests.
SC300 + Spindle HF500 + Portalerhöhung + LinuxCNC + gsimple
My configuration to control the HF500 is here.
SC300 + Spindle HF500 + Portalerhöhung + LinuxCNC + gsimple
- 44 Foren
- 7,406 Themen
- 63.4 K Beiträge
- 14 Online
- 26.5 K Mitglieder