TOF(9)

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

πŸ’– TOF(9) β€” the HAL Component glow-up πŸ’–

okay bestie, pull up a chair, we're talking about tof β€” the IEC TOF timer, aka the lil guy whose whole job is delaying the falling edge on a signal. that's it. that's the gig. and it does it flawlessly, no cap. ✨

tl;dr: it's an IEC-style off-delay timer (TOF = Timer Off Delay, iykyk) living in your HAL setup. signal goes low? tof is like "not yet, babes" and holds the output up for however long you told it to. iconic behavior.


🌸 SYNOPSIS 🌸

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

load it up with a count of instances, or hand-pick your faves with names. your call, main character. πŸ’…


πŸŽ€ FUNCTIONS πŸŽ€

  • tof.N β€” this is the one, bestie. it updates the timer. heads up: it requires a floating-point thread, so don't try to sneak it into an integer thread, she will Not be having it. πŸ™ˆ

✨ PINS ✨

  • tof.N.in (bit, in) β€” the input signal, aka where the drama enters the building πŸšͺ
  • tof.N.q (bit, out) β€” the output signal, the moment we've all been waiting for πŸ‘‘
  • tof.N.et (float, out) β€” elapsed time since the falling edge, in seconds ⏱️ literally just counting how long it's been

πŸ’œ PARAMETERS πŸ’œ

  • tof.N.pt (float, rw) β€” the delay time, in seconds. you get to write this one, so set it to whatever vibe you need 🫢

πŸ¦‹ AUTHOR πŸ¦‹

Chad Woitas β€” the legend who made this happen. we love to see it. πŸ’–


🌈 LICENSE 🌈

GPL β€” free and open, as it should be. slay. ⭐


so yeah, that's tof. delay your falling edges, keep your threads floating, and go be great, bestie. πŸ§šπŸ“

this lil doc came from the LinuxCNC Documentation, dated 2026-03-17, filed under TOF(9). mwah, no notes. πŸ’…βœ¨

πŸ“¦ where this page comes from