sim_spindle(9)

sim_spindle9

Simulated spindle with index pulse

Usage

loadrt sim_spindle [count=N|names=name1[,name2...]]

Functions

sim-spindle.N (requires a floating-point thread)

Pins

sim-spindle.N.velocity-cmd float in

Commanded speed

sim-spindle.N.position-fb float out

Feedback position, in revolutions

sim-spindle.N.index-enable bit io

Reset position-fb to 0 at the next full rotation

Parameters

sim-spindle.N.scale float rw (default: 1.0)

factor applied to velocity-cmd.

The result of 'velocity-cmd * scale' be in revolutions per second. For example, if velocity-cmd is in revolutions/minute, scale should be set to 1/60 or 0.016666667.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Michael Haberler

License

GPL

From linuxcnc-uspace 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.