libximc  2.14.27
Data Fields
get_position_t Struct Reference

Position information. More...

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.

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
get_position

Field Documentation

long_t EncPosition

Encoder position.

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 MicrostepMode field in engine_settings).