R
I'm trying to generate the pulses to control a stepper motor with a PLC.
The motor has a driver that converts the pulse/direction signals to the proper A and B phase signals for the motor. I programmed the PLC to give in one output pin a series of pulses to move the motor. The problem is that when the motor moves a step it makes loud noises, like it is shaking roughly. Also, the motor turns a few steps in one direction and then it either misses one or two steps or it turns a couple steps in the opposite direction. I maintained the DIR signal unchanged.
I read about acceleration and deceleration ramps to make the motor run smooth and I initially thought this may be the problem, although this same thing happening even if I send only one pulse every one or two seconds to the driver. So for a one step movement there's no possible accel/decel ramp (right??).
I tested the same stepper motor and driver with a PC controlled system (Using Mach3 software) and it runs smooth and one step movements don't make the noise and shaking I'm getting.
Any help???
The motor has a driver that converts the pulse/direction signals to the proper A and B phase signals for the motor. I programmed the PLC to give in one output pin a series of pulses to move the motor. The problem is that when the motor moves a step it makes loud noises, like it is shaking roughly. Also, the motor turns a few steps in one direction and then it either misses one or two steps or it turns a couple steps in the opposite direction. I maintained the DIR signal unchanged.
I read about acceleration and deceleration ramps to make the motor run smooth and I initially thought this may be the problem, although this same thing happening even if I send only one pulse every one or two seconds to the driver. So for a one step movement there's no possible accel/decel ramp (right??).
I tested the same stepper motor and driver with a PC controlled system (Using Mach3 software) and it runs smooth and one step movements don't make the noise and shaking I'm getting.
Any help???