LinuxCNC Documentation

SYNOPSIS

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

FUNCTIONS

edge.N

Produce output pulses from input edges

PINS

edge.N.in bool in
edge.N.out bool out

Goes high when the desired edge is seen on in

edge.N.out-invert bool out

Goes low when the desired edge is seen on in

PARAMETERS

edge.N.both bool rw (default: FALSE)

If TRUE, selects both edges. Otherwise, selects one edge according to in-edge

edge.N.in-edge bool rw (default: TRUE)

If both is FALSE, selects the one desired edge: TRUE means falling, FALSE means rising

edge.N.out-width-ns si32 rw (default: 0)

Time in nanoseconds of the output pulse

edge.N.time-left-ns si32 r

Time left in this output pulse

edge.N.last-in bool r

Previous input value

AUTHOR

Jeff Epler

LICENSE

GPL