Mesa 7i96S step and direction signals go high on power loss

More
1 year 2 months ago #333468 by satiowadahc
Hi, Troubleshooting a series of mishaps in design.Background.

Problem 1. Operators using power switch as an e-stop.
Problem 2, Killing control power on this machine doesn't kill power to the drives and motors - Welp adding another relay now.
Problem 3, Mesa step and direction signals go high on power loss until the caps die out. (Which is what I'm actually curious about in this thread)
Problem 4, Teknic eclipse drives read a high step as a series of pulses. (Following up with them on that).

7i96s is wired with Step connecting to Step input on eclipse drive and Dir connected to Direction on eclipse. One motor has a RC delay timer on the enable, as the brake takes a moment to engage or the Z-Axis falls under its own weight. While waiting for the brake it jerks very violently.

Is there a way to make the Mesa card step and direction go low on power loss? 

Scope - Green is step, purple is enable delay, 100ms/div
 

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

More
1 year 2 months ago #333469 by PCW
I suspect that the drives see marginal output levels + drive generated noise as a series of steps.
Marginal output levels are possible with a slow ramp of the power as it drops to 0

Estop should really drop primary power to the drives but not control power. 

Suggestions:

1. Use one 7I96S isolated output to enable all drives. This will go false (off)  on power loss or watchdog bite
so the step/dir states during power-up/power down will not matter.

2. Use the STEP- and DIR- pins (and invert them in hal)

#1 is a more reliable choice

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

More
1 year 2 months ago #333470 by satiowadahc
Even with the noise - it over accelerated the motors passed the over torque limit which stopped them.

Adding the relay was my first step and that works pretty well. Has 8ms of reaction time which motors on a test bench show about 30degrees.

I'll try the pin inversion right now in addition.

Thank you!

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

More
1 year 2 months ago #333471 by satiowadahc
Quick confirming I leave the step + disconnected?

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

More
1 year 2 months ago #333472 by tommylight

Quick confirming I leave the step + disconnected?
Yes.
-
Personally i would find the source of interference and remove or fix it, start by checking grounding and signal cable shielding.

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

More
1 year 2 months ago #333473 by satiowadahc
Looks like the swap kills the problem completely. Although I still prefer the relay solution.

There isn't a lot of noise on the step line, +/-50mv which shouldn't be enough to cause steps I would think?

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

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