- Posts: 59
- Thank you received: 12
Mesa 7i96S step and direction signals go high on power loss
- satiowadahc
- Topic Author
- Offline
- Senior Member
-
Less
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
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.
1 year 2 months ago #333469
by PCW
Replied by PCW on topic Mesa 7i96S step and direction signals go high on power loss
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
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.
- satiowadahc
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 59
- Thank you received: 12
1 year 2 months ago #333470
by satiowadahc
Replied by satiowadahc on topic Mesa 7i96S step and direction signals go high on power loss
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!
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.
- satiowadahc
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 59
- Thank you received: 12
1 year 2 months ago #333471
by satiowadahc
Replied by satiowadahc on topic Mesa 7i96S step and direction signals go high on power loss
Quick confirming I leave the step + disconnected?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
1 year 2 months ago #333472
by tommylight
-
Personally i would find the source of interference and remove or fix it, start by checking grounding and signal cable shielding.
Replied by tommylight on topic Mesa 7i96S step and direction signals go high on power loss
Yes.Quick confirming I leave the step + disconnected?
-
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.
- satiowadahc
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 59
- Thank you received: 12
1 year 2 months ago #333473
by satiowadahc
Replied by satiowadahc on topic Mesa 7i96S step and direction signals go high on power loss
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?
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.
Time to create page: 0.158 seconds