This documentation is no longer maintained. For documentation of the current version of emc2, please see http://www.linuxcnc.org/docview/html

MUX4

NAME
SYNOPSIS
FUNCTIONS
PINS
LICENSE

NAME

mux4 − Select from one of four input values

SYNOPSIS

loadrt mux4 [count=N]

FUNCTIONS

mux4.N (uses floating-point)

PINS

mux4.N.sel0 bit in

mux4.N.sel1 bit in

Together, these determine which inN value is copied to out.

mux4.N.out float out

Follows the value of one of the inN values according to the two sel values

sel1=FALSE, sel0=FALSE

out follows in0

sel1=FALSE, sel0=TRUE

out follows in1

sel1=TRUE, sel0=FALSE

out follows in2

sel1=TRUE, sel0=TRUE

out follows in3

mux4.N.in0 float in

mux4.N.in1 float in

mux4.N.in2 float in

mux4.N.in3 float in

LICENSE

GPL