Steppers not moving, 7i96
10 Sep 2023 02:51 #280364
by Joz
Steppers not moving, 7i96 was created by Joz
I’m having a hard time figuring out why my steppers aren’t moving. I made a basic config file and when I try jogging the motors they vibrate slightly whenever I pass 0 (ie, jogging from -1 to 1), but otherwise they won’t move. They’re powered and locked, drives have the proper voltage, I stripped all of the extension wiring out and put one motor straight to the drive to see if I had some funny voltage drop etc, but it hasn’t helped. I’m currently using the drives 4 A&B +&- pins plus the encoder cables to connect to the steppers. I’ve tried fiddling with the micro stepping and step on-time etc, but so far nothing has changed the behavior.
Mesa 7i96
LinuxCNC 3.1.3.8
CL57Y drives
24HE40-5004D-E1000 motors
TIA!
Mesa 7i96
LinuxCNC 3.1.3.8
CL57Y drives
24HE40-5004D-E1000 motors
TIA!
Please Log in or Create an account to join the conversation.
10 Sep 2023 03:58 #280366
by PCW
Replied by PCW on topic Steppers not moving, 7i96
1. On some drives you need to use single ended step /dir wiring=
7I96 5V --> Drive STEP+,DIR+
7I96 STEP- --> Drive STEP-
7I96 DIR- --> Drive Dir-
2. Make sure the step times in your HAL configuration are longer
than the minimums specified for the drive (double the times is
a good starting point)
7I96 5V --> Drive STEP+,DIR+
7I96 STEP- --> Drive STEP-
7I96 DIR- --> Drive Dir-
2. Make sure the step times in your HAL configuration are longer
than the minimums specified for the drive (double the times is
a good starting point)
Please Log in or Create an account to join the conversation.
10 Sep 2023 06:39 #280375
by Joz
Replied by Joz on topic Steppers not moving, 7i96
I just tried swapping the STEP+ and DIR+ to 5V and the motors still behave in the same way. I also tried several different settings for the step times and the motors still only move when crossing 0 and then only a tiny bit.
Please Log in or Create an account to join the conversation.
- besriworld
- Offline
- Elite Member
Less
More
- Posts: 246
- Thank you received: 70
10 Sep 2023 06:52 #280376
by besriworld
Replied by besriworld on topic Steppers not moving, 7i96
Are the encoder connections correct?
You can test. Rotate the axis by hand and see it rotate back.
You can test. Rotate the axis by hand and see it rotate back.
Please Log in or Create an account to join the conversation.
10 Sep 2023 13:43 #280399
by PCW
that suggests that STEP/DIR are swapped.
How was the LinuxCNC configuration made?
Are you testing by jogging in LinuxCNC?
Replied by PCW on topic Steppers not moving, 7i96
Crossing 0? If you mean they only move a bit when changing directions,I just tried swapping the STEP+ and DIR+ to 5V and the motors still behave in the same way. I also tried several different settings for the step times and the motors still only move when crossing 0 and then only a tiny bit.
that suggests that STEP/DIR are swapped.
How was the LinuxCNC configuration made?
Are you testing by jogging in LinuxCNC?
Please Log in or Create an account to join the conversation.
12 Sep 2023 03:27 #280519
by Joz
Replied by Joz on topic Steppers not moving, 7i96
It's really odd, but they don't move at all when just changing directions. If I jog from -1 to -2 and then back to -1, the motors do nothing. However, for some reason, if I cross 0 on the DWO in LinuxCNC then the motors twitch (i.e, -1 to 1 to -1). That being said I'll try swapping the STEP/DIR. Now that you mention this it sounds like a likely cause, but I swear the motors ONLY twitch when the DWO readout crosses 0.
I made (and have remade) the configuration with the stepconf wizard.
And yes, jogging in LinuxCNC. Estop off, power on, manual mode, ipm up pretty high, ignore limits checked, and using the axis +/- buttons.
I made (and have remade) the configuration with the stepconf wizard.
And yes, jogging in LinuxCNC. Estop off, power on, manual mode, ipm up pretty high, ignore limits checked, and using the axis +/- buttons.
Please Log in or Create an account to join the conversation.
12 Sep 2023 03:30 #280520
by PCW
Replied by PCW on topic Steppers not moving, 7i96
Did you mean pncconf instead of stepconf?
Can you post your hal and ini files?
Can you post your hal and ini files?
Please Log in or Create an account to join the conversation.
16 Sep 2023 21:06 #280950
by Joz
Replied by Joz on topic Steppers not moving, 7i96
Yes, pncconf! Here’s copies of my ini and hal files. I feel like part of my issue is the timing for the drives, I can get the motors to behave slightly differently as I change them, but I didn’t see anything published for the CL57Y. Also I tried swapping the step/dir and A and B loops to no avail.
Please Log in or Create an account to join the conversation.
16 Sep 2023 23:10 #280958
by PCW
Replied by PCW on topic Steppers not moving, 7i96
Have you verified that the motors will step if you supply 5V to STEP+
and manually ground STEP- ?
and manually ground STEP- ?
Please Log in or Create an account to join the conversation.
17 Sep 2023 02:10 #280969
by Joz
Replied by Joz on topic Steppers not moving, 7i96
No, but I’ll try that here shortly. I did try swapping the motor and then the drive with a known working stepper and drive and still had the exact same issue. If I still had the old controller I’d test all the steppers and drives too. I must have a wiring/software issue, but I’ve checked and swapped ever wire I can think of.
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds