Jump to content

Stepper Position Reset


Recommended Posts

Hi,

 

I'm still new to this so apologies if this is a simple fix.

 

I'm using a V570 OPLC to send pulses to a stepper driver which in turn drives a stepper motor.  I have it set up right now so that my O0 and O1 are set to npn so I can run them at higher frequencies.  O1 is configured for High Speed Outputs (Step Control) and sends steps to my stepper driver.  O0 simply sends a signal to my driver to reverse direction when I want to jog backwards.

 

Right now I can run the system once but I want to be able to jog as often as I would like. I have tried two ways of addressing this problem but neither have worked.

 

The easiest way would be for me to reset my current position DW, to 0 after jogging.  When I do a store command after jogging however, nothing happens and I still retain my current position.

 

The other option would be to send additional run commands.  When I have multiple nets that have a coil to my run MB however, the system does not work at all.  I am only able to jog when I have my run MB located in only one net.

 

I would be thrilled if there is a way to reset current position DW (in step control high speed output) to 0.

 

Sorry if this does not make sense.  I can try to explain more if needed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.