7i76 and spindle output
12 Feb 2015 22:52 - 12 Feb 2015 22:53 #55920
by jorgeota
Replied by jorgeota on topic 7i76 and spindle output
Hello,
PCW thank you, after addding and changing the code as you said, the spindle seems to work OK when commanded a certain speed.
The only thing is that is does not stop when the "STOP" and "Brake" are selected.
andypugh I do not know how to do this.
Should I add the following line to the .HAL file?
net motion.spindle.is-on => hm2_5i25.0.7i76.0.0.spinena
about the VFD enable inputs, would this be ITEM 10 of the VFD manual ?
on the 7i76 I have SPINDLE ENA- and SPINDLE ENA+ which one should I use if any?
Regards,
PCW thank you, after addding and changing the code as you said, the spindle seems to work OK when commanded a certain speed.
The only thing is that is does not stop when the "STOP" and "Brake" are selected.
First of all you need to connect the HAL pin hm2_5i25.0.7i76.0.0.spinena to motion.spindle.is-on and then connect the VFD enable inputs to the 7i76 enable pins to make sure that M5 stops the spindle regardless of the speed command to the digital potentiometer.
andypugh I do not know how to do this.
Should I add the following line to the .HAL file?
net motion.spindle.is-on => hm2_5i25.0.7i76.0.0.spinena
about the VFD enable inputs, would this be ITEM 10 of the VFD manual ?
on the 7i76 I have SPINDLE ENA- and SPINDLE ENA+ which one should I use if any?
Regards,
Last edit: 12 Feb 2015 22:53 by jorgeota.
Please Log in or Create an account to join the conversation.
12 Feb 2015 22:58 #55922
by andypugh
Something a bit like that, but not exactly that.
You need to change a coupe of things in the HAL, and without your HAL file to look at it is slightly hard to get the pin names exactly correct.
You need to move the hm2_5i25.0.7i76.0.0.spinena pin out of the machine-is-on net, then create a new net/signal for it. So something in the HAL file like
Should do the trick. I don't guarantee that I have the pin names exactly correct.
Replied by andypugh on topic 7i76 and spindle output
Should I add the following line to the .HAL file?
net motion.spindle.is-on => hm2_5i25.0.7i76.0.0.spinena
Something a bit like that, but not exactly that.
You need to change a coupe of things in the HAL, and without your HAL file to look at it is slightly hard to get the pin names exactly correct.
You need to move the hm2_5i25.0.7i76.0.0.spinena pin out of the machine-is-on net, then create a new net/signal for it. So something in the HAL file like
net my_new_signal_name motion.spindle.is-on => hm2_5i25.0.7i76.0.0.spinena
Should do the trick. I don't guarantee that I have the pin names exactly correct.
Please Log in or Create an account to join the conversation.
13 Feb 2015 00:01 #55925
by PCW
You always use both
The ENA+ and ENA- pins are two connections to a switch (an optoisolator output)
For VFD inputs that are activated by pulling DOWN you wire like this:
VFD-ENABLE-IN --> 7I76_ENA+
7I76_ENA- --> GND
For VFD inputs that are activated by pulling UP you wire like this:
+LOGICPWR --> 7I76_ENA+
7I76_ENA- --> VFD-ENABLE-IN
+LOGICPWR may be +5,+12 or +24V depending on VFD
Replied by PCW on topic 7i76 and spindle output
on the 7i76 I have SPINDLE ENA- and SPINDLE ENA+ which one should I use if any?
You always use both
The ENA+ and ENA- pins are two connections to a switch (an optoisolator output)
For VFD inputs that are activated by pulling DOWN you wire like this:
VFD-ENABLE-IN --> 7I76_ENA+
7I76_ENA- --> GND
For VFD inputs that are activated by pulling UP you wire like this:
+LOGICPWR --> 7I76_ENA+
7I76_ENA- --> VFD-ENABLE-IN
+LOGICPWR may be +5,+12 or +24V depending on VFD
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.096 seconds