Provided by: linuxcnc-uspace_2.9.4-2ubuntu2_amd64 

NAME
toggle2nist - toggle button to nist logic
SYNOPSIS
loadrt toggle2nist [count=N|names=name1[,name2...]]
DESCRIPTION
Toggle2nist can be used with a momentary push button to control a device that has separate on and off
inputs and an is-on output.
• On a rising edge on pin in when is-on is low: It sets on until is-on becomes high.
• On a rising edge on pin in when is-on is high: It sets off until is-on becomes low.
┐ ┌─────xxxxxxxxxxxx┐ ┌─────xxxxxxxxxxxx┐
in : └─────┘ xxxxxxxxxxxx└───────────┘ xxxxxxxxxxxx└─────
┐ ┌───────────┐
on : └─────┘ └─────────────────────────────────────────
┐ ┌───────────┐
off : └───────────────────────────────────┘ └───────────
┐ ┌─────────────────────────────┐
is-on: └─────────────────┘ └───────────
FUNCTIONS
toggle2nist.N
PINS
toggle2nist.N.in bit in
toggle2nist.N.is-on bit in
toggle2nist.N.on bit out
toggle2nist.N.off bit out
AUTHOR
Anders Wallin
LICENSE
GPL
LinuxCNC Documentation 2025-08-07 TOGGLE2NIST(9)