Wiring help with CL57Y stepper driver

I have a CL57Y stepper driver from stepperonline and thought I had it hooked up right but the movement is horrible, choppy and loud movement, Then it will throw an alarm code of following position error and stop all movement.
I have verified my connections with the motor and the encoder are per the instructions for the drive but I'm unsure what to do with the Alarm+ and Alarm-, I haven't connected anything to them and the instructions talk of a pull-up resistor on the Alarm+ to the output power supply. I'm not sure what the output power supply would be, the only power going out is the motor connections and I don't think I should be running control signals to high power lines.

I haven't used encoders before so I'm trying to muddle my way through getting some movement.
I'm using the AccelStepper library for step and direction just to get movement and I'm not sure if that will work either.
I have the DIP switches set for
SW1= OFF (step/dir)
SW2 = OFF(CW rot.)
SW3 = OFF (point mode) ? default position
SW4 = OFF (alarm polarity) ? default position

#include <AccelStepper.h>
AccelStepper stepper(AccelStepper: DRIVER., 28, 29); 
void setup()
{  
   stepper.setMaxSpeed(1000);
   stepper.setSpeed(50);        
}
void loop()
{  
   stepper.runSpeed();
}
[Y-serie-closed-loop-drivers.pdf|attachment]

(upload://mqBxOxNQbz0daRrbUNex8HW0zCX.pdf) (3.2 MB)

What is acceleration set to?

Like in this video?

There shouldn't be a '.' after the name DRIVER. I don't THINK it will hurt but converting a float constant to int might be off by 1.

There is no acceleration, this is the constant speed example from the library to establish movement.

Okey, bom bang start. It works as long as the speed is within the proper range. Can You try and lower the speed, for testing? Use 10% of the speed. Increase the speed by 5 - 10% if that works.
Your information is not very precise so my reply is a guess out of personal experience.

That is the one I have, I watched that video but it's just a marketing video, nothing helpful.

The . is a typo when I copy and pasted the code, it isn't there in the code I'm using.

I haven't used an encoder with a stepper before so I wasn't sure about connections for it, but I see in the video he doesn't have any pull-up resistors going to any terminals.

I'm just searching for some way to get proper movement.

I have changed speeds earlier and it didn't have any effect.

If You step the motor the proper way, within its limits, no encoder is needed. An encoder could be seen as the seatbelts in the car. In case of accident it saves You. Drive without accidents and make the seatbelt is not needed.
An overloaded stepper stalls and doesn't move at all from the point of overload. It just makes noise. A DC motor will keep on fighting but steppers don't. They give up.

Okey. What was the lowest speed failing?

You can try to swap the wiring of A+ and A-. ALM+ and ALM- can be left unwired. This is the alarm output signal wiring diagram of stepperonline's CL57Y stepper driver.

There's your problem, you need to ramp up and down the speed with a stepper, otherwise it will simply stall as it has to obey the laws of physics (it has inertia - especially true of a large stepper).

How much microstepping are you using?

Hi Everyone, I appreciate the help but I have since removed the CL57Y from my project and just went back to a standard stepper driver(gecko 210). I thought I would try it but it was too much of a hassle.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.