Data Fields

engine_settings_t Struct Reference

Engine settings. More...

#include <xidcusb.h>

Data Fields

unsigned int nom_voltage
 Rated voltage.
unsigned int nom_input
 Rated current.
unsigned int nom_rpm
 Rated RPM.
unsigned int flags
 Set of flags specify motor shaft movement algorithm and list of limitations.
int antiplay
 Number of pulses for backlash (play) compensation procedure.
int microstep_mode
 Settings of microstep mode.
int type
 Defines motor type.

Detailed Description

Engine settings.

This structure contains useful motor settings. These settings specify motor shaft movement algorithm, list of limitations and rated characteristics. All boards are supplied with standart 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
get_engine_settings

Field Documentation

int antiplay

Number of pulses for backlash (play) compensation procedure.

Used if ENGINE_ANTIPLAY flag is set. Range: 1..65535

unsigned int nom_input

Rated current.

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

unsigned int nom_rpm

Rated RPM.

Controller will keep motor shaft RPM below this value if ENGINE_LIMIT_RPM flag is set. Range: 1..65535

unsigned int nom_voltage

Rated voltage.

Controller will keep the voltage drop on motor below this value if ENGINE_LIMIT_VOLT flag is set. Range: 1..65535


The documentation for this struct was generated from the following file: