MikeBriggs
Member
I'm controlling an Applied Motion HW23-601D using a Leadshine EM542S connected to a 2080-LC50-48QBB, using CCW, and experiencing some weird issues. The motor is connected to a linear actuator with almost no load.
1. It will randomly (maybe 10-20% of the time) go in the wrong direction, when using MC_MoveAbsolute commands. for example, if it's at a current position of 6 cm and I tell it to go to 8 cm, most of the time it will correctly move in the + direction. But occasionally it goes in the negative direction. The MoveAbsolute command doesn't use the direction input, it figures out direction based on the current and set position, and sets the direction output for the axis accordingly. Maybe that output is getting set late?
But, something just happened that makes me think it's not just that. I was having it move from 3 cm to 6 cm, and it started moving in the + direction but then shifted to moving in the - direction, ending up almost back where it started (although it thinks it's now at 6 cm).
2. There seem to be certain velocities at which it goes nuts - moving very erratically, sometimes just jittering around in place.
3. If the velocity is more than 0.8 cm/s, I start running into missed steps during acceleration (even if I make the acceleration very small, like 0.05 cm/s^2, and even though there's practically no load so very little torque required).
The motor is 1.8 degree, so 200 pulses per revolution, which I have configured correctly in CCW and also on the Leadshine driver. It's 4.2A max current, which is also set correctly on the Leadshine.
Any thoughts?
Thanks,
Mike
1. It will randomly (maybe 10-20% of the time) go in the wrong direction, when using MC_MoveAbsolute commands. for example, if it's at a current position of 6 cm and I tell it to go to 8 cm, most of the time it will correctly move in the + direction. But occasionally it goes in the negative direction. The MoveAbsolute command doesn't use the direction input, it figures out direction based on the current and set position, and sets the direction output for the axis accordingly. Maybe that output is getting set late?
But, something just happened that makes me think it's not just that. I was having it move from 3 cm to 6 cm, and it started moving in the + direction but then shifted to moving in the - direction, ending up almost back where it started (although it thinks it's now at 6 cm).
2. There seem to be certain velocities at which it goes nuts - moving very erratically, sometimes just jittering around in place.
3. If the velocity is more than 0.8 cm/s, I start running into missed steps during acceleration (even if I make the acceleration very small, like 0.05 cm/s^2, and even though there's practically no load so very little torque required).
The motor is 1.8 degree, so 200 pulses per revolution, which I have configured correctly in CCW and also on the Leadshine driver. It's 4.2A max current, which is also set correctly on the Leadshine.
Any thoughts?
Thanks,
Mike