logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

timedelay - The equivalent of a time-delay relay

Author

       Jeff Epler, based on works by Stephen Wille Padnos and John Kasunich

Functions

timedelay.N (requires a floating-point thread)

License

       GPL

LinuxCNC Documentation                             2025-08-07                                       TIMEDELAY(9)

Name

       timedelay - The equivalent of a time-delay relay

Pins

timedelay.N.in bit in
       timedelay.N.out bit out
              Follows the value of in after applying the delays on-delay and off-delay.

       timedelay.N.on-delay float in (default: 0.5)
              The time, in seconds, for which in must be true before out becomes truetimedelay.N.off-delay float in (default: 0.5)
              The time, in seconds, for which in must be false before out becomes falsetimedelay.N.elapsed float out
              Current value of the internal timer

Synopsis

loadrttimedelay[count=N|names=name1[,name2...]]

See Also