# Stepper Drive Optimization

Hello all
I need help with a very simple circuit. I send pulse signals from a PLC to the stepper drivers STEP and DIR. I need a circuit to intercept these pulses and then send to the driver. the circuit must send the exact pulses once to the driver and after 500msec send the exact pulses but in the opposite, For Examplle if I send +1000 steps, the buffer must send this +1000 steps immediately to the driver and after 500msecs, resend the 1000 pulses but as -1000 steps.
Any help with a circuit here?

Ehat is the specification of motor and what is the specification of PLC?

Joined February 12, 2018      696
Monday at 02:11 PM

Hello
thank you for the reply. I finally managed a solution. What I did is used an arduino board with an encoder

Joined May 25, 2021      2
Tuesday at 02:38 AM

Please share how you done it so it could help a lot of people facing the same issue.

Joined February 12, 2018      696
Monday at 02:11 PM

I am busy prototyping a rule blade and wire bender using micro controllers and stepper motors
files. Wire benders do not work the same as normal routers, laser cutters etc. GCode works fine on these machines, however, GCode cannot work the arcs and circles on a wire bender. Reason? The arc of a wire bender requires the Y axes to rotate left and right to do a bending arc. However, G code Arc and Circle bending does not support oscillation of the axis.
Therefore I tried using an external circuit to receive the GCode arc signals, send it to a buffer circuit, and the buffer circuit in turn sends to the driver in an oscillation manner. This was unsuccessful
So now I am using a rotary incremental encoder coupled to a small stepper via an Arduino. So what happens now is that I have a Arduino program to catch the steps of the encoder, and in turn send to the big stepper doing the bending. After the big stepper does the rotational bend steps it receives, it returns to zero thereby freeing the wire (using the encoder position data)

Joined May 25, 2021      2
Tuesday at 02:38 AM

Nice move. Thanks for sharing.

Joined February 12, 2018      696
Monday at 02:11 PM