libximc  2.13.1
Data Fields
engine_settings_calb_t Struct Reference

Movement limitations and settings, related to the motor, which use user units. More...

Data Fields

unsigned int NomVoltage
 Rated voltage in tens of mV.
unsigned int NomCurrent
 Rated current (in mA).
float NomSpeed
 Nominal speed.
unsigned int EngineFlags
 Flags of engine settings.
float Antiplay
 Number of pulses or steps for backlash (play) compensation procedure.
unsigned int MicrostepMode
 Flags of microstep mode.
unsigned int StepsPerRev
 Number of full steps per revolution(Used with stepper motor only).

Detailed Description

Movement limitations and settings, related to the motor, which use user units.

This structure contains useful motor settings. These settings specify motor shaft movement algorithm, list of limitations and rated characteristics. All boards are supplied with standard set of engine setting on controller's flash memory. Please load new engine settings when you change motor, encoder, positioner etc. Please note that wrong engine settings lead to device malfunction, can lead to irreversible damage of board.

See Also
set_engine_settings_calb
get_engine_settings_calb
get_engine_settings, set_engine_settings

Field Documentation

float Antiplay

Number of pulses or steps for backlash (play) compensation procedure.

Used if ENGINE_ANTIPLAY flag is set.

unsigned int EngineFlags
unsigned int MicrostepMode
unsigned int NomCurrent

Rated current (in mA).

Controller will keep current consumed by motor below this value if ENGINE_LIMIT_CURR flag is set. Range: 15..8000

float NomSpeed

Nominal speed.

Controller will keep motor speed below this value if ENGINE_LIMIT_RPM flag is set.

unsigned int NomVoltage

Rated voltage in tens of mV.

Controller will keep the voltage drop on motor below this value if ENGINE_LIMIT_VOLT flag is set (used with DC only).

unsigned int StepsPerRev

Number of full steps per revolution(Used with stepper motor only).

Range: 1..65535.