libximc  2.14.22
Data Fields
engine_settings_calb_t Struct Reference

Movement limitations and settings, related to the motor. 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.

In user units.

This structure contains useful motor settings. These settings specify the motor shaft movement algorithm, list of limitations and rated characteristics. All boards are supplied with the standard set of engine settings on the controller's flash memory. Please load new engine settings when you change the motor, encoder, positioner, etc. Please note that wrong engine settings may lead to the device malfunction, that may cause irreversible damage to the 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.