Spindle Reverse using 7i76e Mesa card not working

More
04 May 2020 09:09 #166595 by DanieGouws
Hi Everybody,

I have a PathPilot system running for a Non-Tormach lathe using a 7i76e Mesa card. All seems to be working but I cannot get the Spindle DIR - pin to be activated.

I have connected the TB4 Spindle connector as described in the standard Mesa documentation - for simplicity and test purposes I'm connected to a 10V power supply.
Pin 1: Spindle GND
Pin2: 0 - 10 V output from Mesa card
Pin 3: Spindle 10 V
Pin 4: not connected
Pin 5: Spindle Enable -
Pin 6: Connected to Spindle 10V
Pin 7: Spindle DIR - (the one I cannot get to work)
Pin 8: Connected to Spindle 10V

The 0-10V output and Spindle Enable work fine.

The HAL file contains the following Spindle information:

##-- spindle speed control

net spindle-enable <= motion.spindle-on
net spindle-enable => hm2_7i76e.0.7i76.0.0.spinena
net spindle-cw <= motion.spindle-forward
net spindle-ccw <= motion.spindle-reverse
net spindle-cw => hm2_7i76e.0.7i76.0.0.output-14
net spindle-ccw => hm2_7i76e.0.7i76.0.0.output-15

Any help would be greatly appreciated

Regards Danie

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

More
04 May 2020 10:55 #166609 by Mike_Eitel
How is your vfd setuped to interpret those two signals. Probably you should consult that manual and change pins behaviour. Does it work when set by 'wires'?

If spindle is stoped, can you go reverse

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

More
04 May 2020 10:59 #166611 by Hakan
Try
net spindle-cw => hm2_7i76e.0.7i76.0.0.spindir

Although you don't show how you have done it you may also want to use the "abs" version something like spindle-vel-rpm-abs for the spindle speed.

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

More
04 May 2020 12:21 #166615 by DanieGouws
Thank you for the feedback.

To keeps things uncomplicated I'm currently testing without a VFD, the GND and 10V is connected to standard power supply and I monitor the Spindle OUT (0-10V signal), Spindle enable - and Spindle DIR - with a multimeter. Spindle OUT and Spindle Enable - works perfectly and I can start, stop and change the speed of a DC motor with 0-10V input but it does not matter what I do on the PathPilot interface I cannot get the Spindle DIR- to make a change from 0V to 10V or vice versa.

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

More
04 May 2020 14:45 #166624 by Mike_Eitel
Sorry, but i'm not in the pathpilot varation. In stock lcnc the spindle gets instantiated now, means spindle.0.xxx, spindle.1.xxx, etc.
Mike

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

More
04 May 2020 16:03 #166634 by Aciera
As Hakan said, try connecting "spindir" in your HAL. If you don't do that there won't be much happening on the Spindle DIR pin of the mesa card.

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

More
04 May 2020 16:56 #166639 by PCW
Yes, spindir on a 7I76/7I76E is a completely independent output, it
neither affects nor is affected by the other spindle signals

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

More
04 May 2020 19:28 #166663 by DanieGouws
I have included the line in my .HAL file and now the DIR pin is 10V for CW and 0V for CCW. Thank you very much for your help

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

Moderators: cncbasher
Time to create page: 0.089 seconds
Powered by Kunena Forum