libximc  2.14.20
Data Fields
set_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.
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

long_t EncPosition

Encoder position.

unsigned int PosFlags
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).