37
« on: June 05, 2010, 03:22:28 PM »
While testing this I run into another problem (yet another one in the hugelist).
I connected the motor driver PULSE and DIRECTION signals to PLC outputs and started making some tests.
I keep the DIR signal unchanged and send ON-OFF sequences to the PULSE pin to make the motor turn.
When doing this, first of all, the motor makes loud noises and shakes like somthing is about to brake each time it moves, this happens even if I send a single pulse to the driver. Also, if I send a series of pulses the motor turns a few steps in one direction and then it either misses a couple steps or it turns one or two steps in the opposite direction.(!?!?!?)
Of course the motor&driver works perfectly when it´s directly controlled by M3 through the PC parallel port.
I´m not sure what may be different between the pulses M3 creates and the ones from the PLC.