7i76e with 7i85S to control 9 steppers

  • cogzoid
  • Topic Author
  • New Member
  • New Member
More
8 years 2 weeks ago #118967 by cogzoid
Replied by cogzoid on topic 7i76e with 7i85S to control 9 steppers
Thanks for the help!

I've attached the output of the --readhmid command. It doesn't specify exactly the name of the uploaded firmware, but it's probably the 7i76e_7i76x1_7i85x1D.bit, (hence the 9 Steppers). I'm a little confused by the pinout designations since the numbers don't seem related to the 7i76e board.

As for the wiring, I've got 24V going to the field I/O, as well as pins 22/23 on TB3.
I've got 5V going to the P3 connector.

The only other wires are the Step and Dir pairs attached to TB1 Pin2-5 (X-axis) going to my Stepper Driver (also running off of 24V).

I've also attached the .hal and .ini files in case those might show some stupid error I made.

Thanks again... this stuff has quite a learning curve.

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

More
8 years 2 weeks ago #118968 by PCW
One fairly obvious thing is that there are very few step drives that will work with a 1 usec step pulse, you might try changing this to 5 usec

Also what type of drives do you have and how exactly are you wiring them?

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

More
8 years 2 weeks ago #118971 by rodw
Do your steppers have holding torque (eg locked) when the system is powered up? They should be. The stepper enable signal is actually a disable signal so if you connected the 7i76e EN+ and EN- signals to your stepper drivers, you have probably disabled your steppers. If so just unplug the EN+ and EN- wires from your drivers. I got caught with this when I moved from an Arduino to LCNC.

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

  • cogzoid
  • Topic Author
  • New Member
  • New Member
More
8 years 2 weeks ago #118979 by cogzoid
Replied by cogzoid on topic 7i76e with 7i85S to control 9 steppers
I'll try extending the Step and Direction Pulses, but I thought for sure I'd still be able to see them on the oscilloscope... I had also assumed that the default values would be close.

As for the stepper motor and drivers, they're the one part of the whole system that I have a decent grasp on. I had learned my lesson with the Enable pins pretty early in the process while trying to use Enable as an e-stop solution. The stepper is definitely locked up when it's supposed to be now.

The drivers works great for me in other situations, and the motor is a nema17 stepper just for testing on the bench.

Thanks for all the help, I'll try again tomorrow morning and report back.

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

  • cogzoid
  • Topic Author
  • New Member
  • New Member
More
8 years 2 weeks ago #119009 by cogzoid
Replied by cogzoid on topic 7i76e with 7i85S to control 9 steppers
I edited the .ini to have 5000 nanoseconds for the pulses and still didn't get any action. Attached are some pictures of how it's all wired up. I double checked after the photos and found Dir+ and Dir- wires to have been swapped, but still no signals.

I'm a bit confused about the need for the 5V to P3, but I checked with and without that hooked up. Either way I see no change in any behaviors.

Should I try re-flashing with a firmware version without the 7i85?

I'm open to any other suggestions on things to check.

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

More
8 years 2 weeks ago #119010 by PCW
Another odd thing in the hal/ini files:

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
SERVO_PERIOD = 5000000

Normally you would use a 1 ms servo thread not 5 ms so this becomes a problem with the default watchdog timeout:

setp hm2_7i76e.0.watchdog.timeout_ns 5000000

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

Moderators: cmorley
Time to create page: 0.392 seconds
Powered by Kunena Forum