libximc  2.13.1
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 lead to device malfunction, can lead to irreversible damage of 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).

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

int uRightBorder

Right border position in microsteps.

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