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?