How do I make spindle-enable work correctly ?

More
02 Jan 2017 17:47 #85100 by andypugh
The actual spindle motion is nothing to do with this at the moment.
So far it seems that the spindle HAL pins are not being driven.

M3 S100 should set:
motion.spindle-on - TRUE
motion.spindle-speed-out 100
motion.spindle-speed-out-abs 100
motion.spindle-speed-out-rps 1.6666
motion.spindle-speed-out-rps-abs 1.6666
motion.spindle-fwd 1

Are you saying that none of that happens?

Please Log in or Create an account to join the conversation.

More
02 Jan 2017 18:22 #85106 by Jake

The actual spindle motion is nothing to do with this at the moment.
So far it seems that the spindle HAL pins are not being driven.

M3 S100 should set:
motion.spindle-on - TRUE
motion.spindle-speed-out 100
motion.spindle-speed-out-abs 100
motion.spindle-speed-out-rps 1.6666
motion.spindle-speed-out-rps-abs 1.6666
motion.spindle-fwd 1

Are you saying that none of that happens?


Yes, nothing

motion.spindle-on - TRUE FALSE
motion.spindle-speed-out 100 0
motion.spindle-speed-out-abs 100 0
motion.spindle-speed-out-rps 1.6666 0
motion.spindle-speed-out-rps-abs 1.6666 0
motion.spindle-fwd 1 0 <- I dont have a spindle-fwd, I have a "spindle-forward"

Please Log in or Create an account to join the conversation.

More
02 Jan 2017 19:13 #85110 by andypugh
Does anything else work?

Are axes moving, that sort of thing?

The only way that I can see for these pins not to work when an M3 S100 is issued is if the machine isn't homed (but then you get an error message) or if motion is not actually running.

Can you just confirm that you are using halmeter and not halshow ("show hal config" is Halshow)

Please Log in or Create an account to join the conversation.

More
02 Jan 2017 19:23 #85111 by Jake
I can move the axis, home them, run the initial linuxcnc program, MDI the axis where ever I want to. It is just like the spindle does not exist.

It will not let me MDI anything unless the axis are homed.

Yes I was in halmeter, I set every one of the windows up when I tried it.

Please Log in or Create an account to join the conversation.

More
02 Jan 2017 19:40 #85113 by andypugh
Even if the spindle didn't exist, HAL should still set the signals when commanded to do so.

Which LinuxCNC version is this?

Please Log in or Create an account to join the conversation.

More
02 Jan 2017 19:42 #85114 by andypugh
Is the spindle speed override all the way at zero (clutching at straws)

Please Log in or Create an account to join the conversation.

More
02 Jan 2017 19:44 #85115 by Jake
Ill go look what version it is, I think its 2.6 or 2.7 installed about this time last year. I will run back out and look at the override also.

Please Log in or Create an account to join the conversation.

More
02 Jan 2017 23:48 #85126 by Jake
I am an idiot.

I went flipping through all the motion. lines, whoa, wait a second, motion inhibit is true. Logic on my spindle locked limit switch was flipped.

Now the SSR comes on, just need to figure out why I cant get the drive to run. At least now LCNC is happy and working right.


Thanks Andy !

Please Log in or Create an account to join the conversation.

Time to create page: 0.163 seconds
Powered by Kunena Forum