libximc  2.14.22
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 (us).
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 specifies the behavior of the input synchronization. All boards are supplied with the 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 (us).

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.

It is used with a stepper motor. The microstep size and the range of valid values for this field depend on the selected step division mode (see the 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 the selected step division mode (see the MicrostepMode field in engine_settings). Used a stepper motor only.