libximc: edges_settings_t Struct Reference

libximc 3.1.1

Data Fields
edges_settings_t Struct Reference

Edges settings. More...

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

## 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

## ◆ BorderFlags

unsigned int BorderFlags

Border flags.

## ◆ EnderFlags

unsigned int EnderFlags

Limit switches flags.

## ◆ LeftBorder

int LeftBorder

Left border position, used if BORDER_IS_ENCODER flag is set.

## ◆ RightBorder

int RightBorder

Right border position, used if BORDER_IS_ENCODER flag is set.

## ◆ uLeftBorder

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).

## ◆ uRightBorder

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).