Stepper Motor single only

Hello,

I am using MKS Gen L 1.4 board + TFT28 Display + Marlin from V1engineering, Mac using Repetier.

I just made my CNC alive, I can move gantry via Repetier, I notice that only one Stepper Motor of the X and Y axis is working, the axis move but can not figure out why only one side is working.

Any idea?

 

How are they wired? If they are wired in series, they should be moving in lock step.

Hi Jeffeb3, you are asking too much :frowning: have no idea… I am sending you a picture maybe you can tell me.

 

 

Aha. OK.

The “normal” configuration is to have both X motors wired to the X driver and both Y motors wired to the Y driver. To keep the drivers from having to pump out an enormous amount of current, it is suggested to wire them in “series”. Here are Ryan’s details on it (Look at the DIY way):

https://www.v1engineering.com/assembly/wiring-the-steppers/

If you have a board with 5 drivers, you can change the firmware so that each X and each Y gets it’s own driver. This is the “DUAL_X_MOTOR” and “DUAL_Y_MOTOR” settings in Configuration_adv.h.

The trouble is, E0 is already used for an extruder, so you have to changing the pin mapping too. If this sounds like too much, then just do it the normal way. It will work great for you.

I also see that you don’t have any endstops connected. So don’t do any homing (to answer your other thread).

That is assuming that this is a 3D printer setup. From the information I can see, I don’t know if that is what is going on. Does he have the second x and y motor stuck into the extruders?

I must confess, I got the Archim2 board precisely so I didn’t have to think about where to plug in steppers, reconfigure pin mapping, nor wire in series.

Just trying to be helpful and ask questions to figure out how best to do this. So new as I am.

From the picture, he’s got the X2 and Y2 plugged into the E0 and E1 ports. That’s fine, if he’s using the Dual Endstop firmware, but this isn’t a RAMPS or Rambo board.

Thanks, that is precisely the kind of information I am still trying to understand. All the different versions of the boards and the different setups are hard for me to keep straight. When I was trying to plug the two LCD cables in, I looked at so many diagrams and pictures and still didn’t get the clip put in the right direction. The detents didn’t match the way I expected.

Then some of the information if valid for 3D printers but are repurposed for the CNCs. And that is a whole different set of information. I really appreciate your solid knowledge of hardware and the firmware. I hope I can continue to learn to be able to figure these things out.

The ecosystem of each board then plays with gcode differently and my head is swimming trying to keep it all straight. The jobs I send through CNC.js work great, but pause and stop aren’t always effective, and then there doesn’t seem to be a good end code on the jobs I make with Estlcam and the job seems to be still running and job functions are not active until I manually pause and then stop the job. Sometimes the only way to get control back is to reset the board. Don’t want to hijack the topic, but finding specific resources for specific boards and setups is a challenge. Again, so glad you and Ryan and a few others are so good with assistance here.

The trick is, CNC.js is sending commands to the Marlin board, but if it sent them after the last one finished, the machine would stop/start all the time. So instead, it has sent a couple of commands ahead of where the machine currently is, and Marlin has these commands sitting in the queue. There are some tricks they’ve tried to pull to skip the queue for important messages, but something like pause might just be CNC.js stopping to send the message. If you are doing something very detailed and you have 5 commands in the queue, it might only need 1mm to finish all 5 of those commands so it looks like pauses immediately. If you are cutting a box though, the next 5 commands could be all 4 sides, so you hit pause, and it stops sending, but it’s still trying to finish all 5 commands it has in the queue.

2 Likes

Hi, I am not planning to use the machine to print, already have 3D printer, in this case can I leave the cables connected separately in the board?

So the only thing is to delete the comments “//” in the Configuration_adv for #define “X_DUAL_STEPPER_DRIVERS” and " Y_DUAL_STEPPER_DRIVERS".

Keep the Z with the comment “//”

I am correct?

Cheers.

No you also need to shuffle the pins file. Have a look at the dual page for details.

1 Like