STEPTEST(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ‘‘ STEPTEST(9) β€” the HAL component ✨

okay bestie, gather round, because we're talking about steptest, a HAL component. it's the lil guy that Stepconf uses to let you test your acceleration and velocity values for an axis. that's literally its whole job and it does it beautifully πŸ’…


🌸 NAME 🌸

steptest β€” used by Stepconf to allow testing of acceleration and velocity values for an axis. no cap, that's what it does πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

so you load the thing with loadrt, and you can either say count=N or give it names=name1[,name2...]. your call, main character πŸ’œ


✨ FUNCTIONS ✨

  • steptest.N β€” heads up, this one requires a floating-point thread. it will not vibe with an integer thread, periodt.

πŸŽ€ PINS πŸŽ€

every pin lives under steptest.N. where N is the instance number, iykyk.

  • steptest.N.jog-minus bit in β€” drive it TRUE and the axis jogs in its minus direction 🫢
  • steptest.N.jog-plus bit in β€” drive it TRUE and the axis jogs in its positive direction ⭐
  • steptest.N.run bit in β€” drive it TRUE and the axis runs near its current position_fb, using a trapezoidal velocity profile. it's giving "go do laps around where you already are" πŸƒβ™€οΈ
  • steptest.N.maxvel float in β€” maximum velocity. cap it, bestie.
  • steptest.N.maxaccel float in β€” permitted acceleration πŸ”₯
  • steptest.N.amplitude float in β€” the approximate amplitude of positions to command during 'run'. like how far it wanders, roughly 🌈
  • steptest.N.dir s32 in β€” direction from the central point to test. 0 = both, 1 = positive, 2 = negative. pick your fighter πŸ’…
  • steptest.N.position-cmd float out
  • steptest.N.position-fb float in
  • steptest.N.running bit out
  • steptest.N.run-target float out
  • steptest.N.run-start float out
  • steptest.N.run-low float out
  • steptest.N.run-high float out

^ these ones are listed with no description in the source, so we're just gonna 🧚 leave them exactly as they are and not make stuff up, love that for us.

  • steptest.N.pause s32 in (default: 0) β€” pause time for each end of the run, in seconds. lil breather at each turnaround, iconic 😌

πŸ’– PARAMETERS πŸ’–

  • steptest.N.epsilon float rw (default: .001) β€” read/write, default is .001.
  • steptest.N.elapsed float r β€” current value of the internal timer. read-only, just watching the clock tick by ⏳

πŸ’œ AUTHOR πŸ’œ

Jeff Epler β€” the legend themselves πŸ‘‘


πŸ“œ LICENSE πŸ“œ

GPL β€” yeah, the license. we keep it. periodt.


so go forth and test those acceleration and velocity values, bestie, you're gonna slay πŸ’–βœ¨πŸ¦‹

STEPTEST(9) β€” HAL Component, brought to you by the LinuxCNC Documentation crew, dated 2026-03-17. mwah, signing off πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from