libximc: sync_in_settings_t Struct Reference

libximc 3.1.1

Data Fields
sync_in_settings_t Struct Reference

Synchronization settings. More...

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

## 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

## ◆ ClutterTime

unsigned int ClutterTime

Input synchronization pulse dead time (us).

## ◆ Speed

unsigned int Speed

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

Range: 0..100000.

## ◆ SyncInFlags

unsigned int SyncInFlags

Flags for synchronization input setup.

## ◆ uPosition

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).

## ◆ uSpeed

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.