libximc  2.14.27
Data Fields
edges_settings_t Struct Reference

Edges settings. More...

Data Fields

unsigned int BorderFlags
 Border flags.
unsigned int EnderFlags
 Limit switches flags.
int LeftBorder
 Left border position, used if BORDER_IS_ENCODER flag is set.
int uLeftBorder
 Left border position in microsteps (used with stepper motor only).
int RightBorder
 Right border position, used if BORDER_IS_ENCODER flag is set.
int uRightBorder
 Right border position in microsteps.

Detailed Description

Edges settings.

This structure contains border and limit switches settings. Please load new engine settings when you change positioner, etc. Please note that wrong engine settings may lead to device malfunction, which can cause irreversible damage to the board.

See Also
set_edges_settings
get_edges_settings
get_edges_settings, set_edges_settings

Field Documentation

unsigned int BorderFlags
unsigned int EnderFlags
int LeftBorder

Left border position, used if BORDER_IS_ENCODER flag is set.

int RightBorder

Right border position, used if BORDER_IS_ENCODER flag is set.

int uLeftBorder

Left border position in microsteps (used with stepper motor only).

The microstep size and the range of valid values for this field depend on the selected step division mode (see the MicrostepMode field in engine_settings).

int uRightBorder

Right border position in microsteps.

Used with a stepper motor only. The microstep size and the range of valid values for this field depend on the selected step division mode (see the MicrostepMode field in engine_settings).