EDGE(9)

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

πŸ’– EDGE(9) β€” HAL Component πŸŽ€

okay bestie, gather round, because we're talking about edge β€” the Edge detector for HAL. yes it's a whole manual page for a component that just... looks at edges. and honestly? iconic. ✨


✨ NAME ✨

edge β€” Edge detector πŸ¦‹


✨ SYNOPSIS ✨

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

that's it. that's the whole vibe. load it with a count or give your instances cute little names, your call πŸ’…


✨ FUNCTIONS ✨

  • edge.N β€” Produce output pulses from input edges. that's the entire job description and she does it flawlessly πŸ”₯

✨ PINS ✨

  • edge.N.in bit in β€” the input. she's watching this one. πŸ‘€
  • edge.N.out bit out β€” Goes high when the desired edge is seen on in ⭐
  • edge.N.out-invert bit out β€” Goes low when the desired edge is seen on in πŸ’€ (yes, the opposite. that's the bit. literally the inverse twin.)

✨ PARAMETERS ✨

  • edge.N.both bit rw (default: FALSE) β€” If TRUE, selects both edges. Otherwise, selects one edge according to in-edge. lowkey a choose-your-own-adventure πŸŽ€
  • edge.N.in-edge bit rw (default: TRUE) β€” If both is FALSE, selects the one desired edge: TRUE means falling, FALSE means rising πŸ“ (yes bestie, TRUE is falling. no cap, that's just how it is.)
  • edge.N.out-width-ns s32 rw (default: 0) β€” Time in nanoseconds of the output pulse ⏱️
  • edge.N.time-left-ns s32 r β€” Time left in this output pulse 🌸
  • edge.N.last-in bit r β€” Previous input value, for when you wanna remember what just happened πŸ™ˆ

✨ AUTHOR ✨

Jeff Epler πŸ‘‘


✨ LICENSE ✨

GPL 🌈


and that's the whole page, bestie β€” written up by the LinuxCNC Documentation crew, dated 2026-03-17, for EDGE(9) in the HAL Component lineup. go forth and detect some edges, you absolute main character πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from