Quantcast
Channel: Motion Control and Motor Drives topics
Viewing all articles
Browse latest Browse all 1315

Advice on Stepper - Encoder Setup

$
0
0

Hi all,

 

I am using phidget stepper motors and encoders to create a vending machine style XY axis. I would like to have several buttons on the front panel that will correspond with an encoder value for both the x and y encoders.

 

I am wondering what the best way to do this would be? In order to have a button click send the desired values to then have the stepper motor move to those values. What is the best way to set this structure up (in terms of loops and passing these constants?)?

 

Ex. 4 locations, (1,1),(1,2),(2,1),(2,2), each one has a button. When the corresponding button is clicked, the motors will move until the encoders read the desired value.

 

Thank you,


Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>