libximc  2.13.1
Data Fields
sync_in_settings_t Struct Reference

Synchronization settings. More...

Data Fields

unsigned int SyncInFlags
 Flags for synchronization input setup.
unsigned int ClutterTime
 Input synchronization pulse dead time (mks).
int Position
 Desired position or shift (full steps)
int uPosition
 The fractional part of a position or shift in microsteps.
unsigned int Speed
 Target speed (for stepper motor: steps/s, for DC: rpm).
unsigned int uSpeed
 Target speed in microsteps/s.

Detailed Description

Synchronization settings.

This structure contains all synchronization settings, modes, periods and flags. It specifes behaviour of input synchronization. All boards are supplied with standard set of these settings.

See Also
get_sync_in_settings
set_sync_in_settings
get_sync_in_settings, set_sync_in_settings

Field Documentation

unsigned int ClutterTime

Input synchronization pulse dead time (mks).

unsigned int Speed

Target speed (for stepper motor: steps/s, for DC: rpm).

Range: 0..100000.

unsigned int SyncInFlags
int uPosition

The fractional part of a position or shift in microsteps.

Is used with stepper motor. Microstep size and the range of valid values for this field depend on selected step division mode (see MicrostepMode field in engine_settings).

unsigned int uSpeed

Target speed in microsteps/s.

Microstep size and the range of valid values for this field depend on selected step division mode (see MicrostepMode field in engine_settings). Using with stepper motor only.