- Posts: 7
- Thank you received: 0
Spindle-on output not doing what I say it should ;)
6 years 10 months ago #153416
by Antman
Hi All
I'm trying to have my spindle coolant pump only run when the spindle is on.
I'm using a 7i76e board with output01 to a solid state relay to control the pump. When in PnCConf I select that pin to be;
'Control>Machine Is Enabled'
the pump starts as soon as I enable the machine.
But if I change it to;
Spindle>Spindle ON
the pump doesn't run when I start the spindle in AXIS.
Am I misunderstanding what Spindle ON should do?
If I'm barking up the wrong tree, can someone give me some help on what I should have in my HAL file. (I'm still very new).
Thanks everyone,
Anthony
I'm trying to have my spindle coolant pump only run when the spindle is on.
I'm using a 7i76e board with output01 to a solid state relay to control the pump. When in PnCConf I select that pin to be;
'Control>Machine Is Enabled'
the pump starts as soon as I enable the machine.
But if I change it to;
Spindle>Spindle ON
the pump doesn't run when I start the spindle in AXIS.
Am I misunderstanding what Spindle ON should do?
If I'm barking up the wrong tree, can someone give me some help on what I should have in my HAL file. (I'm still very new).
Thanks everyone,
Anthony
Please Log in to join the conversation.
6 years 10 months ago #153431
by bevins
Replied by bevins on topic Spindle-on output not doing what I say it should ;)
spindle-on hm2_7i92.0.7i76.0.0.output-01
That would tun on that output when the spindle runs depending on what is connected to spindle-on.
Post your hal file and what version you are running..
That would tun on that output when the spindle runs depending on what is connected to spindle-on.
Post your hal file and what version you are running..
Please Log in to join the conversation.
6 years 10 months ago #153434
by 0x2102
Replied by 0x2102 on topic Spindle-on output not doing what I say it should ;)
spindle-on is not connected to anything by default - besides your output. In your machine.hal you could change
net spindle-on => hm2_7i76e.0.7i76.0.0.output-00
to
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-00
Spindle-enable is usually already connected like this:
LinuxCNC 2.7:
net spindle-enable <= motion.spindle-on
LinuxCNC 2.8:
net spindle-enable <= spindel.0.on
net spindle-on => hm2_7i76e.0.7i76.0.0.output-00
to
net spindle-enable => hm2_7i76e.0.7i76.0.0.output-00
Spindle-enable is usually already connected like this:
LinuxCNC 2.7:
net spindle-enable <= motion.spindle-on
LinuxCNC 2.8:
net spindle-enable <= spindel.0.on
Please Log in to join the conversation.
6 years 10 months ago #153442
by cmorley
Replied by cmorley on topic Spindle-on output not doing what I say it should ;)
What version of linuxcnc are you using?
Yes it seems a typo in the pncconf code.
As a work around in Pncconf you can just typo 'spindle-enable' in the output combo box for the coolant pump output.
Chris
Yes it seems a typo in the pncconf code.
As a work around in Pncconf you can just typo 'spindle-enable' in the output combo box for the coolant pump output.
Chris
Please Log in to join the conversation.
6 years 10 months ago #153538
by Antman
Replied by Antman on topic Spindle-on output not doing what I say it should ;)
Hi everyone. Thanks for all your replies, really appreciate them all. I should have said I'm using 2.8 in the first post 
I followed CMORLEY's advice (as it was the easiest thing to do);
As a work around in Pncconf you can just typo 'spindle-enable' in the output combo box for the coolant pump output.
and it works perfectly, as I say it should
If it is a typo in Pncconf, shall I report it to someone? who? Just looking at 0x2102's post, and looks like it might be a carry over from previous versions?
Thanks for everyone's help and advice, great forum here.
I followed CMORLEY's advice (as it was the easiest thing to do);
As a work around in Pncconf you can just typo 'spindle-enable' in the output combo box for the coolant pump output.
and it works perfectly, as I say it should
If it is a typo in Pncconf, shall I report it to someone? who? Just looking at 0x2102's post, and looks like it might be a carry over from previous versions?
Thanks for everyone's help and advice, great forum here.
Please Log in to join the conversation.
6 years 10 months ago #153546
by cmorley
Replied by cmorley on topic Spindle-on output not doing what I say it should ;)
I do the major work on pncconf so consider it reported - thanks for the info!
Chris
Chris
Please Log in to join the conversation.
6 years 10 months ago #153558
by cmorley
Replied by cmorley on topic Spindle-on output not doing what I say it should ;)
I pushed a fix for this - next time you update it should be fixed.
Chris
Chris
Please Log in to join the conversation.
Time to create page: 0.137 seconds
