Template:UgStepper: Difference between revisions

From Phidgets Support
No edit summary
Line 1: Line 1:
===Stepper Motor===
===Stepper Motor===
Double-click on the Stepper object, labelled ''{{{2}}}'', in order to run the example:
[[Image:{{{1}}}_Stepper_Example.jpg|center|link=]]


[[Image:{{{1}}}_Stepper_Example.jpg|right|link=]]


When you double click on an Stepper object, a window like the one pictured will open.
{{UGExampleDescription}}
 
*Toggle the ''Engage'' button to provide power to the motor coils.
* At the top of the window, information about your device and the properties of this particular channel will be listed.
*By default, motor position, velocity, and acceleration are measured in sixteenths of a step. If you want to use different units, change the value in the ''Rescale Factor'' textbox.
* In the middle, the motor position and velocity is displayed in real-time. Press the "Engage" button to provide power to the motor. By default, motor position is measured in sixteenths of a step. If you want to measure position in a different unit, change the rescale factor (for example, a rescale factor of 1/16 would result in steps instead of sixteenth steps).
*Use the ''Target Position'' slider to set a new target position. Change the ''Acceleration'' and ''Velocity'' sliders to speed up or slow down the {{{1}}}'s approach.
* At the bottom, motor properties can be specified:
*When the {{{1}}} is no longer issuing commands to the motor, it will update the ''Stoppped?'' checkbox.
** '''Acceleration:''' How fast the motor will try to reach the specified velocity limit. If the motor is stalling before reaching max speed, the acceleration may be too high. If the acceleration is too low, the motor may spend too much time in the stepper's mechanically resonant speed and stall.
** '''Velocity Limit:''' The maximum speed the motor will try to reach. Measured in sixteenth steps per second.
** '''Target Position:''' The position in sixteenth steps (or another unit if the rescale factor is specified) that the motor will move to.
** '''Current Limit:''' The maximum amount of current supplied to the motor's coils. See your motor's recommended coil current to determine optimal settings.
A second tab allows for continuous rotation instead of specifying a position.
<br clear="all">
<br clear="all">

Revision as of 23:48, 14 June 2017

Stepper Motor

Double-click on the Stepper object, labelled {{{2}}}, in order to run the example: [[Image:{{{1}}}_Stepper_Example.jpg|center|link=]]


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Toggle the Engage button to provide power to the motor coils.
  • By default, motor position, velocity, and acceleration are measured in sixteenths of a step. If you want to use different units, change the value in the Rescale Factor textbox.
  • Use the Target Position slider to set a new target position. Change the Acceleration and Velocity sliders to speed up or slow down the {{{1}}}'s approach.
  • When the {{{1}}} is no longer issuing commands to the motor, it will update the Stoppped? checkbox.