libximc  2.9.8
Data Fields
chart_data_t Struct Reference

Additional device state. More...

Data Fields

int WindingVoltageA
 In the case step motor, the voltage across the winding A; in the case of a brushless, the voltage on the first coil, in the case of the only DC.
 
int WindingVoltageB
 In the case step motor, the voltage across the winding B; in case of a brushless, the voltage on the second winding, and in the case of DC is not used.
 
int WindingVoltageC
 In the case of a brushless, the voltage on the third winding, in the case step motor and DC is not used.
 
int WindingCurrentA
 In the case step motor, the current in the coil A; brushless if the current in the first coil, and in the case of a single DC.
 
int WindingCurrentB
 In the case step motor, the current in the coil B; brushless if the current in the second coil, and in the case of DC is not used.
 
int WindingCurrentC
 In the case of a brushless, the current in the third winding, in the case step motor and DC is not used.
 
unsigned int Pot
 Analog input value in ten-thousandths.
 
unsigned int Joy
 The joystick position in the ten-thousandths.
 
int DutyCycle
 Duty cycle of PWM.
 

Detailed Description

Additional device state.

This structure contains additional values such as winding's voltages, currents and temperature.

See Also
get_chart_data
get_chart_data

Field Documentation

int DutyCycle

Duty cycle of PWM.

unsigned int Joy

The joystick position in the ten-thousandths.

Range: 0..10000

unsigned int Pot

Analog input value in ten-thousandths.

Range: 0..10000

int WindingCurrentA

In the case step motor, the current in the coil A; brushless if the current in the first coil, and in the case of a single DC.

int WindingCurrentB

In the case step motor, the current in the coil B; brushless if the current in the second coil, and in the case of DC is not used.

int WindingCurrentC

In the case of a brushless, the current in the third winding, in the case step motor and DC is not used.

int WindingVoltageA

In the case step motor, the voltage across the winding A; in the case of a brushless, the voltage on the first coil, in the case of the only DC.

int WindingVoltageB

In the case step motor, the voltage across the winding B; in case of a brushless, the voltage on the second winding, and in the case of DC is not used.

int WindingVoltageC

In the case of a brushless, the voltage on the third winding, in the case step motor and DC is not used.