file Frage LinuxCNC - how to control Spindle speed?

Mehr
11 Mär 2015 13:02 #17098 von julius
LinuxCNC - how to control Spindle speed? wurde erstellt von julius
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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
11 Mär 2015 14:24 - 11 Mär 2015 14:24 #17108 von julius
Ubrigens,
also in "Manual" mode I cannot make the HF500 spindle turning on (i.e. by clicking the "<" and ">" buttons on the TkLinuxCNC GUI interface)
:(

SC300 + Spindle HF500 + Portalerhöhung + LinuxCNC + gsimple
Letzte Änderung: 11 Mär 2015 14:24 von julius.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
11 Mär 2015 15:27 #17114 von ChrisSc
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...)

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
11 Mär 2015 20:29 #17125 von julius
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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
12 Mär 2015 23:02 #17178 von julius
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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
13 Mär 2015 20:02 #17227 von julius
My configuration to control the HF500 is here .

SC300 + Spindle HF500 + Portalerhöhung + LinuxCNC + gsimple

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Powered by Kunena Forum

© 2022 STEPCRAFT GmbH & Co. KG

Wir benutzen Cookies

Wir nutzen Cookies auf unserer Website. Einige von ihnen sind essenziell für den Betrieb der Seite, während andere uns helfen, diese Website und die Nutzererfahrung zu verbessern (Tracking Cookies). Sie können selbst entscheiden, ob Sie die Cookies zulassen möchten. Bitte beachten Sie, dass bei einer Ablehnung womöglich nicht mehr alle Funktionalitäten der Seite zur Verfügung stehen.