Can't get my spindle to turn on
- devinw
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
05 Aug 2020 05:49 #177346
by devinw
Can't get my spindle to turn on was created by devinw
So I already have this machine running with Mach4 and just for fun I installed linuxcnc to play with on a 2nd HDD. Anyway, the setup went very smoothly and I was up and homing and jogging all the axis in no time. The one place I'm stuck is getting the spindle to work. I'm using a Gecko G540 and know for a fact that the Gecko output I'm using is pin17 on the PP. It works in Mach4 so I know that is ok. In stepconf under outouts I set SPINDLE ON to pin 17 but clicking the spindle on off button in linuxcnc doesn't work. Even if the speed PWM was not working I should hear a "click" from my on/off relay and I do not so it looks like linuxcnc is just straight up not flipping the pin17 output high/low state when clicking spindle on.
Any ideas?
Any ideas?
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1125
- Thank you received: 184
05 Aug 2020 06:50 #177352
by Mike_Eitel
Replied by Mike_Eitel on topic Can't get my spindle to turn on
Is your speed higher than 0
Please Log in or Create an account to join the conversation.
- anfänger
- Offline
- Platinum Member
Less
More
- Posts: 626
- Thank you received: 255
05 Aug 2020 07:08 #177355
by anfänger
Replied by anfänger on topic Can't get my spindle to turn on
IS Spindel enable connected correctly in HAL.
And what is saying Hal Show
And what is saying Hal Show
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19504
- Thank you received: 6540
05 Aug 2020 09:15 #177365
by tommylight
Replied by tommylight on topic Can't get my spindle to turn on
Try this in MDI mode
M3 S1000
Can you upload your hal and ini files so we can have a look ?
M3 S1000
Can you upload your hal and ini files so we can have a look ?
Please Log in or Create an account to join the conversation.
- devinw
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
05 Aug 2020 17:16 #177408
by devinw
Sorry to be a total noob, but how do I do this?
As for the speed question, I tried other speeds, but I should at a minimum hear the click of my spindle on relay inside my control box even if the speed is set to 0 (verified with mach4), so I know that linuxcnc is not switching the output.
Replied by devinw on topic Can't get my spindle to turn on
IS Spindel enable connected correctly in HAL.
And what is saying Hal Show
Sorry to be a total noob, but how do I do this?
As for the speed question, I tried other speeds, but I should at a minimum hear the click of my spindle on relay inside my control box even if the speed is set to 0 (verified with mach4), so I know that linuxcnc is not switching the output.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1125
- Thank you received: 184
05 Aug 2020 17:22 - 05 Aug 2020 17:22 #177409
by Mike_Eitel
Replied by Mike_Eitel on topic Can't get my spindle to turn on
Nop s0 is stoping the enable to my best knowledge.
But copy the .hal and the .ini file so we can see and help better.
But copy the .hal and the .ini file so we can see and help better.
Last edit: 05 Aug 2020 17:22 by Mike_Eitel. Reason: Typo
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4861
05 Aug 2020 20:46 #177420
by andypugh
No. For no other reason than "it's always been like that" LinuxCNC doesn't turn on the spindle unless the speed is set greater than zero.
This is _probably_ so that the spindle drive always sees at least the minimum speed.
Replied by andypugh on topic Can't get my spindle to turn on
[As for the speed question, I tried other speeds, but I should at a minimum hear the click of my spindle on relay inside my control box even if the speed is set to 0 (verified with mach4), so I know that linuxcnc is not switching the output.
No. For no other reason than "it's always been like that" LinuxCNC doesn't turn on the spindle unless the speed is set greater than zero.
This is _probably_ so that the spindle drive always sees at least the minimum speed.
Please Log in or Create an account to join the conversation.
- devinw
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
05 Aug 2020 22:19 #177428
by devinw
OK, good to know! I did just try the M3 S1000 (and other speeds) as recommended and still no dice.
I have attached my config files. Thanks everyone for taking a look at this!
Replied by devinw on topic Can't get my spindle to turn on
[As for the speed question, I tried other speeds, but I should at a minimum hear the click of my spindle on relay inside my control box even if the speed is set to 0 (verified with mach4), so I know that linuxcnc is not switching the output.
No. For no other reason than "it's always been like that" LinuxCNC doesn't turn on the spindle unless the speed is set greater than zero.
This is _probably_ so that the spindle drive always sees at least the minimum speed.
OK, good to know! I did just try the M3 S1000 (and other speeds) as recommended and still no dice.
I have attached my config files. Thanks everyone for taking a look at this!
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19504
- Thank you received: 6540
05 Aug 2020 23:01 #177433
by tommylight
Replied by tommylight on topic Can't get my spindle to turn on
In the hal file the scaling is to high, is there any reason for that ?
In the ini file, everything related to spindle is absent/missing !!!
In the ini file, everything related to spindle is absent/missing !!!
Please Log in or Create an account to join the conversation.
- devinw
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
05 Aug 2020 23:09 #177434
by devinw
The steppers are 200 counts/rev and the Gecko microsteps 1000x. It works out. Everything moves fine and the right ratio.
As for the spindle stuff missing, I went through the make new profile with stepconfig. I haven't even TOUCHED the actual .ini file (except to load it onto this forum). Any clue why all that would be missing?
Replied by devinw on topic Can't get my spindle to turn on
In the hal file the scaling is to high, is there any reason for that ?
In the ini file, everything related to spindle is absent/missing !!!
The steppers are 200 counts/rev and the Gecko microsteps 1000x. It works out. Everything moves fine and the right ratio.
As for the spindle stuff missing, I went through the make new profile with stepconfig. I haven't even TOUCHED the actual .ini file (except to load it onto this forum). Any clue why all that would be missing?
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds