help with DC stepper motor control

M

Thread Starter

Mark

I want to start out by thanking everybody who helped me with my last problem. You guys are awsome!! :)

But now I have run into a new obstacle. I need to begin running a stepper in full-step mode by pushing a start button, then have the motor keep going until it triggers an optical limit switch. Then it needs to reverse direction until it hits another optical limit switch. It should just "bounce" between these two optical limit switches until a stop button is pressed.

Problem is I have no idea how to set up a timer. I want it to run at a frequency of 25 steps/sec, and understand the full-step sequencing process(A:Abar; Abar:Bbar; etc..), but how do I translate that to the PLC so it energises the right windings at the right times??
 
Top