libximc
2.2.1
|
Control settings. More...
Data Fields | |
unsigned int | MaxSpeed [10] |
Array of speeds (full step) using with joystick and button control. | |
unsigned int | uMaxSpeed [10] |
Array of speeds (1/256 microstep) using with joystick and button control. | |
unsigned int | Timeout [9] |
timeout[i] is time in ms, after that max_speed[i+1] is applying. | |
unsigned int | MaxClickTime |
Maximum click time. | |
unsigned int | Flags |
Control flags. | |
int | DeltaPosition |
Shift (delta) of position. | |
int | uDeltaPosition |
Fractional part of the shift in micro steps (-255 . |
Control settings.
This structure contains control parameters. When choosing CTL_MODE=1 switches motor control with the joystick. In this mode, the joystick to the maximum engine tends Move at MaxSpeed [i], where i=0 if the previous use This mode is not selected another i. Buttons switch the room rate i. When CTL_MODE=2 is switched on motor control using the Left / right. When you click on the button motor starts to move in the appropriate direction at a speed MaxSpeed [0], at the end of time Timeout[i] motor move at a speed MaxSpeed [i+1]. at Transition from MaxSpeed [i] on MaxSpeed [i+1] to acceleration, as usual. The figure above shows the sensitivity of the joystick feature on its position.
unsigned int Flags |
unsigned int MaxClickTime |
Maximum click time.
Prior to the expiration of this time the first speed isn't enabled.
unsigned int MaxSpeed[10] |
Array of speeds (full step) using with joystick and button control.
Range: 0..1000000.
unsigned int Timeout[9] |
timeout[i] is time in ms, after that max_speed[i+1] is applying.
It is using with buttons control only. Range: 0..65535.
int uDeltaPosition |
Fractional part of the shift in micro steps (-255 .
. 255) is only used with stepper motor
unsigned int uMaxSpeed[10] |
Array of speeds (1/256 microstep) using with joystick and button control.
Range: 0..255.