|
StepperII
Dual Axis Stepper Controller
|
Functions | |
| void | axis (void) |
| Select the active axis for subsequent console commands. | |
| void | prof (void) |
| Set the motion profile for the active axis. | |
| void | save (void) |
| Write the configuration for the active axis to non-volatile memory. | |
| void | show (void) |
| Write the configuration for the active axis to the console. | |
| void | step (void) |
| Relative move. | |
| void | stepTo (void) |
| Absolute move. | |
| void | on (void) |
| Turn on stepper motor for the active axis in specified direction. | |
| void | off (void) |
| Turn off stepper motor for the active axis. | |
| void | brakeOn (void) |
| Turn on the brake for the active axis. | |
| void | brakeOff (void) |
| Turn off the brake for the active axis. | |
| void | pos (void) |
| Write the current position of the active axis to the console. | |
| void | wtPos (void) |
| Set the position of the active axis (not a motion command) | |
| void | state (void) |
| Write motion state of the active axis to the console. | |
| void | writeCurrentLimit (void) |
| Write current limit to onboard non-volatile digital potentiometer. | |
| void | readCurrentLimit (void) |
| Write the board current limit setting to the console. | |
| void | master (void) |
| Set the master/slave property for the board. | |
| void | nonBlocking (void) |
| Set the command type for the active axis motion commands. | |
| void | units (void) |
| Set the units for the active axis. | |
| void | accel (void) |
| Set the magnitude of the motion profile acceleration slope for the active axis. | |
| void | maxSpeed (void) |
| Set the maximum speed of the motion profile for the active axis. | |
| void | decel (void) |
| Set the magnitude of the motion profile deceleration slope for the active axis. | |
| void | msSettle (void) |
| Set a settling delay in milliseconds for the active axis. This delay follows any motion command and allows mechanical vibrations in the rotator to dampen. | |
| void | noLimits (void) |
| Enable/disable travel limits for the active axis. | |
| void | lowTravelLimit (void) |
| Set the minimum allowable position for the active axis. | |
| void | highTravelLimit (void) |
| Set the maximum allowable position for the active axis. | |
| void | microSteps (void) |
| Set stepper motor microstepping for the active axis. | |
| void | stepsPayload360 (void) |
| Set the number of steps for a 360 degree revolution of the payload for the active axis. | |
| void | brakeType (void) |
| Set the brake type for the active axis. | |
| void | reverse (void) |
| Set the rotation convention for the active axis. | |
| void | currentLimit (void) |
| Set the on-board current limiting hardware. | |
| void | home (void) |
| Move the active axis to home position. | |
| void | homeAll (void) |
| Move the both axes to home position. | |
| void | demo (void) |
| Perform a motion sequence suitable for driving a 1 or 2 axis test. | |
| void accel | ( | void | ) |
Set the magnitude of the motion profile acceleration slope for the active axis.
| n | Valid range: CProfile::accelMin to CProfile::accelMax |
| void axis | ( | void | ) |
Select the active axis for subsequent console commands.
This is a modal setting for the console interface.
| n | = 0 (horizontal), 1 (vertical), or 2 (vertical slave). |
| void brakeOff | ( | void | ) |
Turn off the brake for the active axis.
| none |
| void brakeOn | ( | void | ) |
Turn on the brake for the active axis.
| none |
| void brakeType | ( | void | ) |
Set the brake type for the active axis.
| n | = 0 (none), 1 (passive), or 2 (active) |
| void currentLimit | ( | void | ) |
Set the on-board current limiting hardware.
| n | Range: 0 to 10 |
| void decel | ( | void | ) |
Set the magnitude of the motion profile deceleration slope for the active axis.
| n | Valid range: CProfile::accelMin to CProfile::accelMax |
| void demo | ( | void | ) |
Perform a motion sequence suitable for driving a 1 or 2 axis test.
This function performs a series of moves and writes each postion to the console.
| hInc | is horizontal axis increment for each test position in active units (degrees or steps) |
| vLim | is vertical axis limit in active units (degrees or steps) |
| vInc | is vertical axis increment for each test position in active units (degrees or steps) |
| quick | = 1: Axes reverse direction after reaching their respective limits (quicker test time) |
| wait | = 1: Systems waits for command line input after each move |
To run a 1-axis test, set the limit or increment to zero for the axis you wish to disable.
| void highTravelLimit | ( | void | ) |
Set the maximum allowable position for the active axis.
| n | Range -32767 to 32767 units |
| void home | ( | void | ) |
Move the active axis to home position.
| none |
| void homeAll | ( | void | ) |
Move the both axes to home position.
| none |
| void lowTravelLimit | ( | void | ) |
Set the minimum allowable position for the active axis.
| n | Range -32767 to 32767 units |
| void master | ( | void | ) |
Set the master/slave property for the board.
| f | = 0 (slave) or 1 (master) |
| void maxSpeed | ( | void | ) |
Set the maximum speed of the motion profile for the active axis.
| n | Valid range: CProfile::maxSpeedMin to CProfile::maxSpeedMax |
| void microSteps | ( | void | ) |
Set stepper motor microstepping for the active axis.
| n | = 200, 400, 800, 1600, or 3200 (default) |
| void msSettle | ( | void | ) |
Set a settling delay in milliseconds for the active axis. This delay follows any motion command and allows mechanical vibrations in the rotator to dampen.
| n | Valid range: 0-32767 milliseconds |
| void noLimits | ( | void | ) |
Enable/disable travel limits for the active axis.
| f | = 0 (Limits are enabled), 1 (Limits are disabled) |
| void nonBlocking | ( | void | ) |
Set the command type for the active axis motion commands.
| f | = 0 (blocking (default)), or 1 (non-blocking) |
| void off | ( | void | ) |
| void on | ( | void | ) |
Turn on stepper motor for the active axis in specified direction.
| f | = 0 (negative rotation), 1 (positive rotation) |
| void pos | ( | void | ) |
Write the current position of the active axis to the console.
| none |
| void prof | ( | void | ) |
Set the motion profile for the active axis.
| accel | 1-25 |
| maxSpeed | 10-1000 |
| decel | 1-25 |
| void readCurrentLimit | ( | void | ) |
Write the board current limit setting to the console.
| none |
| void reverse | ( | void | ) |
Set the rotation convention for the active axis.
| f | = 0 or 1. Change value to change rotation convention |
| void save | ( | void | ) |
Write the configuration for the active axis to non-volatile memory.
| none |
| void show | ( | void | ) |
Write the configuration for the active axis to the console.
| none |
| void state | ( | void | ) |
Write motion state of the active axis to the console.
| none |
| void step | ( | void | ) |
Relative move.
| n | Signed number of units to move (+/-32767) |
| void stepsPayload360 | ( | void | ) |
Set the number of steps for a 360 degree revolution of the payload for the active axis.
| n | Range: 1 - 32767 |
| void stepTo | ( | void | ) |
Absolute move.
| n | Signed absolute position in units (+/-32767) |
| void units | ( | void | ) |
Set the units for the active axis.
| f | = 0 (degrees (default)), 1 (steps) |
| void writeCurrentLimit | ( | void | ) |
Write current limit to onboard non-volatile digital potentiometer.
| n | Valid values: 0-10 corresponds to 0.5 amps to 3.0 amp in 0.25 amp increments |
| void wtPos | ( | void | ) |
Set the position of the active axis (not a motion command)
| none |
1.7.3