STEPTEST(9)
π 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-minusbit in β drive itTRUEand the axis jogs in its minus direction π«Άsteptest.N.jog-plusbit in β drive itTRUEand the axis jogs in its positive direction βsteptest.N.runbit in β drive itTRUEand the axis runs near its currentposition_fb, using a trapezoidal velocity profile. it's giving "go do laps around where you already are" πβοΈsteptest.N.maxvelfloat in β maximum velocity. cap it, bestie.steptest.N.maxaccelfloat in β permitted acceleration π₯steptest.N.amplitudefloat in β the approximate amplitude of positions to command during'run'. like how far it wanders, roughly πsteptest.N.dirs32 in β direction from the central point to test.0= both,1= positive,2= negative. pick your fighter πsteptest.N.position-cmdfloat outsteptest.N.position-fbfloat insteptest.N.runningbit outsteptest.N.run-targetfloat outsteptest.N.run-startfloat outsteptest.N.run-lowfloat outsteptest.N.run-highfloat 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.pauses32 in (default:0) β pause time for each end of the run, in seconds. lil breather at each turnaround, iconic π
π PARAMETERS π
steptest.N.epsilonfloat rw (default:.001) β read/write, default is.001.steptest.N.elapsedfloat 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
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms