libximc: set_position_t Struct Reference

libximc 3.0.3

Data Fields
set_position_t Struct Reference

Position information. More...

`#include <ximc.h>`

## Data Fields
int | Position
| The position of the whole steps in the engine
int | uPosition
| Microstep position is only used with stepper motors.
long_t | EncPosition
| Encoder position.
unsigned int | PosFlags
| Position setting flags.

## Detailed Description

Position information.

A useful structure that contains position value in steps and microsteps for stepper motor and encoder steps for all engines.

See also
  set_position

## Field Documentation

## ◆ EncPosition

long_t EncPosition

Encoder position.

## ◆ PosFlags

unsigned int PosFlags

Position setting flags.

## ◆ uPosition

int uPosition

Microstep position is only used with stepper motors.

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