7i76e use outputs to toggle motor enable

More
4 years 9 months ago #233395 by pCNC

I wonder.  I've been using the same type of servo for two years and never get an alarm.  have you read the alarm cause via rs232?

As for me, I'm currently figuring out how fast it can travel and home, so I'll run into alarms regularly (usually positioning errors - 3 flashes). I'm glad we can read the error code now, because one of the Y motors is running into the under voltage error (6 flashes), so perhaps I should check if there is something with the power supply of that one.

setp hm2_7i76e.0.gpio.008.is_output true
net estop-reset => hm2_7i76e.0.gpio.008.out
net estop-reset => iocontrol.0.user-request-enable
net estop-reset => estop-latch.0.reset
 
I'm not sure if the direction of the arrows is actually processed by linuxcnc, or just for readability, but I have the one to the iocontrol.0.user-request-enable in the opposite direction.

Have you tried without the estop-latch lines? Maybe the logic causes conflicts?

I just noticed I forgot to mention in my previous post that I had to change the wiring to put the ENA+ of the motors on to DIR4+ (fifth physical pin). That was the only way I could find to invert the signal, because I couldn't get the motors enabled on DIR4-...
The following user(s) said Thank You: strahlensauger

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

More
4 years 9 months ago #233396 by Aciera
 

I'm not sure if the direction of the arrows is actually processed by linuxcnc...
 

It is not.

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

More
4 years 9 months ago #233410 by strahlensauger
That was exactly my problem, I couldn't get rid of the alarm and so Linuxcnc kept disabled.
Power off was the solution.
Now I can clear the alarm, and I can reproduce what was written in this thread.
Tommy was right, it is that easy - if you are connected to the right pin.
Thank you so much pCNC, I was almost to give up on connecting the ENA+ signal.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.180 seconds
Powered by Kunena Forum