sys::Obj sys::Virtual sys::Component func::IRamp
public class IRamp
[niagaraIcon="module://icons/x16/control/util/sine.png"]
Ramp
Triangle wave between min & max Slope is "delta" per "secs" seconds 'max' must be configured greater than 'min'
public property int delta [min=1, config]
delta is added or subtracted from out every "secs" seconds
public property int max [config]
max out value of the ramp object. Once max is reached, out will start ramping down
public property int min [config]
min out value of the ramp object. Once min is reached, out will start ramping up
public property int out [readonly]
public property long secs [min=1, config, unit="second"]
determines how often delta is added/subtracted from out
public virtual override void execute()
Execute is called once every scan.
public virtual override void start()
Start initializes the output