Jump to content

Step control problem Samba


Recommended Posts

Hello,

 

I'm using the Samba to control a simple servo.

It works with the step control hso.

Everething works ok , only it is not possible to make a homing cycle.

How can i reset DW0 in the file included ?

I can't do anything with this operand.

There must be a solution because when there is no homing you can't use the stepper function to positioning ??

test stappenmotor.vlp

Link to comment
Share on other sites

  • MVP 2023

Can't you use Store/Direct to put 0 into DW0 when at the home point?  I also note that in a very quick look at your program that you have DW0 power up value set at 0.  There are pros and cons to this, retaining the value might be beneficial.

cheers, Aus

Link to comment
Share on other sites

  • MVP 2023

I can't run your program as I don't have a Samba.  And I don't normally play with steppers so this is new to me too.  From what you are saying it would appear that because the hardware config is told  DW0 (in your case) is the count, then there is an automatic system lock on it being changed through normal methods.  In this case I would have thought there was a reset SB/MB somewhere, but not found.  Have you tried "Reset Numeric"?  Or include it in your display with a numeric entry possible?

Someone else chime in who actually knows?  Pretty please!

cheers, Aus

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.