Skip to content

e2 docs custom stcontrol

Divran edited this page Apr 22, 2021 · 5 revisions

Jump to table of contents

Custom/stcontrol

Stcontrol = noStControl()

Returns invalid state control object (1 ops)

Stcontrol = newStControl()

Returns state control object with dynamic sampling time (20 ops)

Stcontrol = newStControl(Number Nto)

Returns state control object with static sampling time (20 ops)

Stcontrol = Stcontrol:getCopy()

Returns state control object copy instance (20 ops)

Stcontrol = Stcontrol:getCopy(Number Nt)

Returns state control object copy instance with static sampling time (20 ops)

Stcontrol = Stcontrol:setGainP(Number Np)

Updates state control proportional term gain (7 ops)

Stcontrol = Stcontrol:setGainI(Number Ni)

Updates state control integral term gain (7 ops)

Stcontrol = Stcontrol:setGainD(Number Nd)

Updates state control derivative term gain (7 ops)

Stcontrol = Stcontrol:setGainPI(Number Np, Number Ni)

Updates state control proportional term gain and integral term gain (7 ops)

Stcontrol = Stcontrol:setGainPI(Vector2 Vv)

Updates state control proportional term gain and integral term gain (7 ops)

Stcontrol = Stcontrol:setGainPI(Array Aa)

Updates state control proportional term gain and integral term gain (7 ops)

Stcontrol = Stcontrol:setGainPD(Number Np, Number Nd)

Updates state control proportional term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGainPD(Vector2 Vv)

Updates state control proportional term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGainPD(Array Aa)

Updates state control proportional term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGainID(Number Ni, Number Nd)

Updates state control integral term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGainID(Vector2 Vv)

Updates state control derivative term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGainID(Array Aa)

Updates state control integral term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGain(Number Np, Number Ni, Number Nd)

Updates state control proportional term gain, integral term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGain(Array Aa)

Updates state control proportional term gain, integral term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:setGain(Vector Vv)

Updates state control proportional term gain, integral term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:remGainP()

Removes state control proportional term gain (7 ops)

Stcontrol = Stcontrol:remGainI()

Removes state control integral term gain (7 ops)

Stcontrol = Stcontrol:remGainD()

Removes state control derivative term gain (7 ops)

Stcontrol = Stcontrol:remGainPI()

Removes state control proportional term gain and integral term gain (7 ops)

Stcontrol = Stcontrol:remGainPD()

Removes state control proportional term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:remGainID()

Removes state control integral term gain and derivative term gain (7 ops)

Stcontrol = Stcontrol:remGain()

Removes state control proportional term gain, integral term gain and derivative term gain (7 ops)

Vector = Stcontrol:getGain()

Returns state control proportional term gain, integral term gain and derivative term gain (3 ops)

Vector2 = Stcontrol:getGainPI()

Returns state control proportional term gain and integral term gain (3 ops)

Vector2 = Stcontrol:getGainPD()

Returns state control proportional term gain and derivative term gain (3 ops)

Vector2 = Stcontrol:getGainID()

Returns state control integral term gain and derivative term gain (3 ops)

Number = Stcontrol:getGainP()

Returns state control proportional term gain (3 ops)

Number = Stcontrol:getGainI()

Returns state control integral term gain (3 ops)

Number = Stcontrol:getGainD()

Returns state control derivative term gain (3 ops)

Stcontrol = Stcontrol:setBias(Number Nn)

Updates state control control bias (3 ops)

Number = Stcontrol:getBias()

Returns state control control bias (3 ops)

String = Stcontrol:getType()

Returns state control control type (3 ops)

Stcontrol = Stcontrol:setWindup(Number Nd, Number Nu)

Updates state control windup lower bound and windup upper bound (3 ops)

Stcontrol = Stcontrol:setWindup(Array Aa)

Updates state control windup lower bound and windup upper bound (3 ops)

Stcontrol = Stcontrol:setWindup(Vector2 Vv)

Updates state control windup lower bound and windup upper bound (3 ops)

Stcontrol = Stcontrol:setWindupD(Number Nd)

Updates state control windup lower bound (3 ops)

Stcontrol = Stcontrol:setWindupU(Number Nu)

Updates state control windup upper bound (3 ops)

Stcontrol = Stcontrol:remWindup()

Removes state control windup lower bound and windup upper bound (3 ops)

Stcontrol = Stcontrol:remWindupD()

Removes state control windup lower bound (3 ops)

Stcontrol = Stcontrol:remWindupU()

Removes state control windup upper bound (3 ops)

Vector2 = Stcontrol:getWindup()

Returns state control windup lower bound and windup upper bound (3 ops)

Number = Stcontrol:getWindupD()

Returns state control windup lower bound (3 ops)

Number = Stcontrol:getWindupU()

Returns state control windup upper bound (3 ops)

Stcontrol = Stcontrol:setPowerP(Number Np)

Updates state control proportional term power (8 ops)

Stcontrol = Stcontrol:setPowerI(Number Ni)

Updates state control integral term power (8 ops)

Stcontrol = Stcontrol:setPowerD(Number Nd)

Updates state control derivative term power (8 ops)

Stcontrol = Stcontrol:setPowerPI(Number Np, Number Ni)

Updates state control proportional term power and integral term power (8 ops)

Stcontrol = Stcontrol:setPowerPI(Vector2 Vv)

Updates state control proportional term power and integral term power (8 ops)

Stcontrol = Stcontrol:setPowerPI(Array Aa)

Updates state control proportional term power and integral term power (8 ops)

Stcontrol = Stcontrol:setPowerPD(Number Np, Number Nd)

Updates state control proportional term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPowerPD(Vector2 Vv)

Updates state control proportional term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPowerPD(Array Aa)

Updates state control proportional term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPowerID(Number Ni, Number Nd)

Updates state control integral term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPowerID(Vector2 Vv)

Updates state control derivative term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPowerID(Array Aa)

Updates state control integral term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPower(Number Np, Number Ni, Number Nd)

Updates state control proportional term power, integral term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPower(Array Aa)

Updates state control proportional term power, integral term power and derivative term power (8 ops)

Stcontrol = Stcontrol:setPower(Vector Vv)

Updates state control proportional term power, integral term power and derivative term power (8 ops)

Vector = Stcontrol:getPower()

Returns state control proportional term power, integral term power and derivative term power (3 ops)

Number = Stcontrol:getPowerP()

Returns state control proportional term power (3 ops)

Number = Stcontrol:getPowerI()

Returns state control integral term power (3 ops)

Number = Stcontrol:getPowerD()

Returns state control derivative term power (3 ops)

Vector2 = Stcontrol:getPowerPI()

Returns state control proportional term power and integral term power (3 ops)

Vector2 = Stcontrol:getPowerPD()

Returns state control proportional term power and derivative term power (3 ops)

Vector2 = Stcontrol:getPowerID()

Returns state control integral term power and derivative term power (3 ops)

Number = Stcontrol:getErrorNow()

Returns state control process current error (3 ops)

Number = Stcontrol:getErrorOld()

Returns state control process passed error (3 ops)

Number = Stcontrol:getErrorDelta()

Returns state control process error delta (3 ops)

Number = Stcontrol:getTimeNow()

Returns state control process current time (3 ops)

Number = Stcontrol:getTimeOld()

Returns state control process passed time (3 ops)

Number = Stcontrol:getTimeDelta()

Returns state control dynamic process time delta (3 ops)

Number = Stcontrol:getTimeSample()

Returns state control static process time delta (3 ops)

Stcontrol = Stcontrol:setTimeSample(Number Nt)

Updates state control static process time delta (3 ops)

Stcontrol = Stcontrol:remTimeSample()

Removes state control static process time delta (3 ops)

Number = Stcontrol:getTimeBench()

Returns state control process benchmark time (3 ops)

Number = Stcontrol:getTimeRatio()

Returns state control process time ratio (3 ops)

Stcontrol = Stcontrol:setIsIntegral(Number Nn)

Updates integral enabled flag (3 ops)

Number = Stcontrol:isIntegral()

Checks integral enabled flag (3 ops)

Stcontrol = Stcontrol:setIsDerivative(Number Nn)

Updates derivative enabled flag (3 ops)

Number = Stcontrol:isDerivative()

Checks derivative enabled flag (3 ops)

Stcontrol = Stcontrol:setIsCombined(Number Nn)

Updates combined flag spreading proportional term gain across others (3 ops)

Number = Stcontrol:isCombined()

Checks state control combined flag spreading proportional term gain across others (3 ops)

Stcontrol = Stcontrol:setIsManual(Number Nn)

Updates state control manual control signal value (3 ops)

Number = Stcontrol:isManual()

Checks state control manual control flag (3 ops)

Stcontrol = Stcontrol:setManual(Number Nn)

Updates state control manual control value (3 ops)

Number = Stcontrol:getManual()

Returns state control manual control signal value (3 ops)

Stcontrol = Stcontrol:setIsInverted(Number Nn)

Updates state control inverted feedback flag of the reference and set-point (3 ops)

Number = Stcontrol:isInverted()

Checks state control inverted feedback flag of the reference and set-point (3 ops)

Stcontrol = Stcontrol:setIsActive(Number Nn)

Updates state control activated working flag (3 ops)

Number = Stcontrol:isActive()

Checks state control activated working flag (3 ops)

Number = Stcontrol:getControl()

Returns state control automated control signal signal (3 ops)

Vector = Stcontrol:getControlTerm()

Returns state control automated control term signal (3 ops)

Number = Stcontrol:getControlTermP()

Returns state control proportional automated control term signal (3 ops)

Number = Stcontrol:getControlTermI()

Returns state control integral automated control term signal (3 ops)

Number = Stcontrol:getControlTermD()

Returns state control derivative automated control term signal (3 ops)

Stcontrol = Stcontrol:resState()

Resets state control automated internal parameters (3 ops)

Stcontrol = Stcontrol:setState(Number Nr, Number Ny)

Works state control automated internal parameters (20 ops)

Stcontrol = Stcontrol:tuneAutoZN(Number Uk, Number Ut)

Tunes the state control using the Ziegler-Nichols auto-oscillation method (ZN) (7 ops)

Stcontrol = Stcontrol:tuneAutoZN(Number Uk, Number Ut, String Sm)

Tunes the state control using the Ziegler-Nichols auto-oscillation method with overshot option (ZN) (7 ops)

Stcontrol = Stcontrol:tuneProcZN(Number Uk, Number Ut, Number Ul)

Tunes the state control using the Ziegler-Nichols plant process method (ZN) (7 ops)

Stcontrol = Stcontrol:tuneProcCC(Number Nk, Number Nt, Number Nl)

Tunes the state control using the Choen-Coon method (CC) (7 ops)

Stcontrol = Stcontrol:tuneProcCHRSP(Number Nk, Number Nt, Number Nl)

Tunes the state control using the Chien-Hrones-Reswick method (CHR) set point track (7 ops)

Stcontrol = Stcontrol:tuneOverCHRSP(Number Nk, Number Nt, Number Nl)

Tunes the state control using the Chien-Hrones-Reswick method (CHR) set point track 20% overshot (7 ops)

Stcontrol = Stcontrol:tuneProcCHRLR(Number Nk, Number Nt, Number Nl)

Tunes the state control using the Chien-Hrones-Reswick method (CHR) load rejection (7 ops)

Stcontrol = Stcontrol:tuneOverCHRLR(Number Nk, Number Nt, Number Nl)

Tunes the state control using the Chien-Hrones-Reswick method (CHR) load rejection 20% overshot (7 ops)

Stcontrol = Stcontrol:tuneAH(Number Nk, Number Nt, Number Nl)

Tunes the state control using the Astrom-Hagglund method (AH) (7 ops)

Stcontrol = Stcontrol:tuneISE(Number Nk, Number Nt, Number Nl)

Tunes the state control using the integral square error method (ISE) (7 ops)

Stcontrol = Stcontrol:tuneIAE(Number Nk, Number Nt, Number Nl)

Tunes the state control using the integral absolute error method (IAE) (7 ops)

Stcontrol = Stcontrol:tuneITAE(Number Nk, Number Nt, Number Nl)

Tunes the state control using the integral of time-weighted absolute error method (ITAE) (7 ops)

Stcontrol = Stcontrol:dumpItem(Number Nn)

Dumps state control to the chat area by number identifier (15 ops)

Stcontrol = Stcontrol:dumpItem(String Sn)

Dumps state control to the chat area by string identifier (15 ops)

Stcontrol = Stcontrol:dumpItem(String Nt, Number Nn)

Dumps state control by number identifier in the specified area by first argument (15 ops)

Stcontrol = Stcontrol:dumpItem(String Nt, String Sn)

Dumps state control by string identifier in the specified area by first argument (15 ops)

Expression 2 ⚛️

Tutorials (In learning order) 🎓

Extras ❔

Tools 🛠️

Click To Expand

Advanced

Beacon 💡

Control 🎛️

Data 💿

Detection 👀

Display 💻

Render

I/O 🔌

Physics 🚀

Utilities 🛠️

RFID

Wireless 🛜

Gates 🚥

Click To Expand

TBD

Clone this wiki locally