Can not get stepper motors to move with Gecko g250x drivers

More
23 Apr 2024 22:42 #298946 by moretoyswins
No, as I tried to convey I am literally changing 3 wires to switch between the 7i96s and Arduino, let me switch and send a couple of pictures.

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

More
23 Apr 2024 23:06 #298947 by moretoyswins
Testing from 7i96s





Testing from the Arduino 

 

 

 

I could not upload videos but motor not spinning driven from 7i96s and does spin driven by Arduino. 
 
Attachments:

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

More
23 Apr 2024 23:37 #298948 by moretoyswins
If possible I am more confused. I was trying to measure voltages while the Arduino was driving. The motor only turns in a CW direction, when CCW is requested it does not turn.

Also, because the signal ground comes from the Arduino the stepper is turning very slowly, but if I try measuring voltage from signal ground to any phase the motor speeds up, am I shorting something trying this?

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

More
23 Apr 2024 23:42 #298949 by PCW
It seem like a GNDing issue of some kind
Is it possible the G250X power ground is somehow
only making connection via the signal GND?
 

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

More
24 Apr 2024 00:46 #298954 by moretoyswins
The G250x is a bit of a strange beast, IMHO. To get support for 4.0 Amps there are 4-pins per signal, each supporting 1.0 Amps. Pins 0-3 are power ground, 4-7 power positive, … pin 27 direction, pin 28 step, and pin 30 signal ground.

I have 1 ground wire which splits into 4 wires to each pin 0-3, the main wire comes from ground common in my enclosure, by common ground I mean I have a grounding terminal block that has both power supplies negatives connected.

Pins 4-7 have a similar split cable connecting to 48v positive

Pins 8-11 split cable to pin 1 of aviation connector. Phase A+

Pins 12-15 slit cable to pin 3 of aviation connector. Phase A-

Pins 16-19 split cable to pin 2 of aviation connector. Phase B+

Pins 20-23 split cable to pin 4 of aviation connector. Phase B-

Pin 25 current limiting resistor, to signal ground pin 30

Pin 26 not connected

Pin 27 DIR

Pin 28 STEP

Pin 29 not connected

Pin 30 signal ground

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

More
24 Apr 2024 02:18 #298960 by PCW
I think your pin numbering of the power is off-by-one
GND 1..4
+PWR 5..8

I would think that the power GND should go directly to the power supply.
to avoid GND loops.

If the G250X doesn't step when its step pin changes from ~0V to ~5V
under 7I96S control, that really suggests a wiring issue.
 

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

More
24 Apr 2024 03:31 #298961 by moretoyswins
Yes, sorry old programmer issue all indices start at 0. So more correctly, 1-4, 5-8, 9-12, 13-16, 17-20, and 21-24

Are you suggesting the issue is II need to tie PSU ground to earth? Does earth no pass through the PSU?

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

More
24 Apr 2024 12:05 #298989 by tommylight

Does earth no pass through the PSU?

Some do, some do not.
Seems like Mesa and G250 do not have the 0V rail connected together (this is also refered to as gnd, ground, etc that is not correct in most cases).

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

More
24 Apr 2024 17:30 #299011 by moretoyswins
My 48v PSU and 5/12v PSU share the same 0v source; I have one shared set of DIN terminals jumpered together for 0v. Further, I have continuity between the ground pin 2 on the 7i96s 5v power connector and the ground pins 1-4 of the G250x.

Do I need to tie the 0v terminals to earth on the 250v main power?

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

More
25 Apr 2024 07:16 #299046 by moretoyswins
As I stated previously, my knowledge of electronics is somewhat dated.

I thought if I connected the V- (48v PSU) and COM (5v/12v PSU) to earth, I was potentially creating a Ground Loop, which I understood was potentially harmful to electronics. But I do realize that this means I have a floating ground.

So, I tied V- and COM to earth. However, this did not resolve the issue I am having.

I did find that my spindle contactor was closed as soon as I powered the system, so I have something misconfigured there.

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

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