7i76e spindle problem: It runs, but only after reconnecting ENA

More
3 years 6 months ago #269160 by knipknap
I have a really strange spindle problem: The spindle works, but only if I disconnect/reconnect ENA while LinuxCNC and the VFD are enabled.

I am using a MESA 7i76e.
The VFD is a YL-620. I use the same wiring as I found on the forum here :

 

Steps to reproduce:
1. Connect everything as pictured.
2. Open LinuxCNC, turn on the machine/VFD, turn on the spindle in LinuxCNC.
3. Nothing happens.
4. Physically disconnect REV and ENA pins from the VFD.
5. Reconnect ENA pin. The spindle spins up immediately.

.hal and .ini files attached.

I did configure the VFD, including setting P00.16 to 1 to enable ENA/DIR mode.

Any idea what may be going on?
 

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

More
3 years 6 months ago #269161 by PCW
Sounds like ENA/DIR mode is not really set

Can you verify VFD operation with hardwiring or mechanical switches?

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

More
3 years 6 months ago #269162 by knipknap
Yes, it works with physical switches (By bridging between XGND and FWD, the motor runs forward. A bridge between XGND and REV does nothing. A bridge between XGND and both makes it run backwards.)

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

More
3 years 6 months ago #269163 by PCW
Is that with ENA asserted?

I would expect this behaviour with ENA/DIR:

No motion unless ENA asserted
ENA+ DIR NOT asserted --> FWD
ENA+ DIR asserted --> REV

(dir may be inverted)

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

More
3 years 6 months ago #269164 by knipknap
Yes, that is exactly the behavior I see when using physical bridges.

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

More
3 years 6 months ago #269167 by knipknap
It was a wiring problem, it is fixed now. Thanks for your help, that made it easier to narrow down.

That was the final problem, everything in my machine is completely working, yay!

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

Moderators: PCW, jmelson
Time to create page: 0.525 seconds
Powered by Kunena Forum