Machinekit

Machinekit

Machinekit Documentation

HAL Component — LIMIT1

INSTANTIABLE COMPONENTS — General

All instantiable components can be loaded in two manners

Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)

NAME

limit1 — Limit the output signal to fall between min and max

SYNOPSIS

limit1

USAGE SYNOPSIS

loadrt limit1
OR
newinst limit1 <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]

( args in [ ] denote possible args and parameters, may not be used in all components )

FUNCTIONS

limit1.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )

PINS

limit1.N.in float in ( OR <newinstname>.in float in )

limit1.N.out float out ( OR <newinstname>.out float out )

limit1.N.min float in (default: -1e20) ( OR <newinstname>.min float in (default: -1e20) )

limit1.N.max float in (default: 1e20) ( OR <newinstname>.max float in (default: 1e20) )

LICENCE

GPL