libximc  2.2.0
Data Fields
status_t Struct Reference

Device state. More...

Data Fields

unsigned int MoveSts
 Flags of move state.
unsigned int MvCmdSts
 Move command state.
unsigned int PWRSts
 Flags of power state of stepper motor.
unsigned int EncSts
 Encoder state.
unsigned int WindSts
 Winding state.
int CurPosition
 Current position.
int uCurPosition
 Step motor shaft position in 1/256 microsteps.
long long EncPosition
 Current encoder position.
int CurSpeed
 Motor shaft speed.
int uCurSpeed
 Part of motor shaft speed in 1/256 microsteps.
int Ipwr
 Engine current.
int Upwr
 Power supply voltage.
int Iusb
 USB current consumption.
int Uusb
 USB voltage.
int CurT
 Temperature in tenths of degrees C.
unsigned int Flags
 Status flags.
unsigned int GPIOFlags
 Status flags.
unsigned int CmdBufFreeSpace
 This field shows the amount of free cells buffer synchronization chain.

Detailed Description

Device state.

Useful structure that contains current controller state, including speed, position and boolean flags.

See also:
get_status_impl

Field Documentation

int uCurPosition

Step motor shaft position in 1/256 microsteps.

Used only with stepper motor.

int uCurSpeed

Part of motor shaft speed in 1/256 microsteps.

Used only with stepper motor.