Function reference
This reference discusses functions outside the scope of the language that can be used in formula sets. For information on the semantics of function calls, please refer to this section.
Alphabetical list of functions
A .. B
abs(x)abs(x1, ..., xN)acos(x)acosh(x)asin(x)asinh(x)atan(x)atanh(x)atanYX(y,x)bAnd(x1, ..., xN)bCount(x)bNAnd(x1, ..., xN)bNOr(x1, ..., xN)bNot(x)bNXor(x1, ..., xN)bOr(x1, ..., xN)bool(x)bSet(x,n,v)bShift(x,n)bTest(x,n)buffer(x, ..., {...})bXor(x1, ..., xN)
C .. D
C2F(temperature)C2K(temperature)catch(x, {...})ceil(x)ceil2i(x)cos(x)cosh(x)counter(u, ..., {...})Cross(U,V)decodeTime(t, ...)deg2rad(x)delay(s, ..., {...})deltaT(x)deltaY(x)derive(x)Det(M)dbl(x)dFF(clock, data)dirac()dLatch(hold, data)
E .. H
exp(x)exp10(x)exp2(x)expm1(x)F2C(temperature)F2K(temperature)filter(x, ..., {...})find(x, {...})floor(x)floor2i(x)GetCol(X, ..., {...})getField()GetRow(X, ..., {...})GetSlice(X, ..., {...})GetSub(X, ..., {...})
I .. K
int(x)integrate(y, ...)isConnected(channel)isEmpty(channel)isError(x)isMatrix(x)isScalar(x)isTensor(x)isTimeout(channel)isVector(x)jkFF(clock, data)K2C(temperature)K2F(temperature)kph2mph(speed)
L .. M
Length(V)lg2(x)ln(x)ln1p(x)log(x)lookup(x, ..., {...})LUDecomp(M)Matrix(r, c, ...)max(x1, ...xN)mean(x1, ...xN)MIdent(size)min(x1, ...xN)mph2kph(speed)MRot(alpha, ...)MRotEuler(a,b,g)MRotYPR(y,p,r)mvAvg(x, {...})mvMax(x, {...})mvMin(x, {...})mvRMS(x, {...})
N .. R
negedge(y)nonZero(x)Normalize(v, ...)onchange(y)periodic(e, ..., {...})pidCtrl(sp, cur, ..., {...})poly(x, an, ...a1, a0)posedge(y)pow(x,y)prioEnc(e0, e1, ..., {...})pulse(s, ..., {...})qb(x)qbrt(x)rad2deg(x)range(x, ..., {...})rms(x1, ...xN)round(x)round2i(x)rsFF(reset, set)
S
sample(x)sCopy(s, ...)select(i, s0, s1...)selectRow()sErase(s, b, ...)sFind(s, p, ..., {...})sFormat(f, ...)sGetKV(s, k, {...})sGetLine(s, {...})sgn(x, ...)sin(x)sinh(x)sInsert(s, b, t)SizeOf(X)sLeft(s, l)sLength(s)sLine(s, i)sLines(s)sLower(s)sNormalize(s)sq(x)sqrt(x)sReplace(s, t1, s1, ...)sResource({@ref:'myResource'})sRight(s, l)sScan(f, s)sSimplify(s)sSplit(s, ch, {...})states(..., {...})stopwatch(p, ..., {...})sTrim(s)str(x)sumup(x, trigger, ..., {...})sUpper(s)
T .. Z
tan(x)tanh(x)Tensor(s, r, c, ...)threshold(x, ..., {...})time()time(x)timer({...})Trans(A)transit(..., {...})trigger(x, ..., {...})trunc(x)typeOf(x)uint(x)Vector(size, ...)ztf(x, ..., B, A, {...})
List of functions by category
Type conversions
Algebraic functions
Transcendental functions
Trigonometric and arcus functions
Angle conversions
Hyperbolic and area functions
Algorithms
Control and regulation
Tables and databases
Integration, Differentiation
Filters and discrete signal processing
buffer(x, ..., {...})catch(x, {...})filter(x, ..., {...})find(x, {...})mvAvg(x, {...})mvMax(x, {...})mvMin(x, {...})mvRMS(x, {...})sample(x)trigger(x, ..., {})ztf(x, ..., B, A, {...})
Linear Algebra
Cross(U,V)Det(M)GetCol(X, ..., {...})GetRow(X, ..., {...})GetSlice(X, ..., {...})GetSub(X, ..., {...})isMatrix(x)isScalar(x)isTensor(x)isVector(x)Length(V)LUDecomp(M)Matrix(r, c, ...)MIdent(size)MRot(alpha, ...)MRotEuler(a,b,g)MRotYPR(y,p,r)Normalize(v, ...)SizeOf(X)Tensor(s, r, c, ...)Trans(A)Vector(size, ...)
Binary logic and logic blocks
Bit logic
bAnd(x1, ..., xN)bCount(x)bNAnd(x1, ..., xN)bNOr(x1, ..., xN)bNot(x)bNXor(x1, ..., xN)bOr(x1, ..., xN)bSet(x,n,v)bShift(x,n)bTest(x,n)bXor(x1, ..., xN)
Memory
Edges, signal changes
Decoder, multiplexer
Text functions
sCopy(s, ...)sErase(s, b, ...)sFind(s, p, ..., {...})sFormat(f, ...)sGetKV(s, k, {...})sGetLine(s, {...})sInsert(s, b, t)sLeft(s, l)sLength(s)sLine(s, i)sLines(s)sLower(s)sNormalize(s)sReplace(s, t1, s1, ...)sResource({@ref:'myResource'})sRight(s, l)sScan(f, s)sSimplify(s)sSplit(s, ch, {...})sTrim(s)sUpper(s)
Counting and time functions
counter(u, ..., {...})delay(s, ..., {...})dirac()periodic(e, ..., {...})pulse(s, ..., {...})stopwatch(p, ..., {...})timer({...})
Physical units
C2F(temperature)C2K(temperature)F2C(temperature)F2K(temperature)K2C(temperature)K2F(temperature)kph2mph(speed)mph2kph(speed)
Auxiliary functions
abs(x)abs(x1, ...xN)ceil(x)ceil2i(x)decodeTime(t, ...)deltaT(x)deltaY(x)floor(x)floor2i(x)isConnected(channel)isEmpty(channel)isError(x)isTimeout(channel)max(x1, ...xN)mean(x1, ...xN)min(x1, ...xN)nonZero(x)range(x, ..., {...})rms(x1, ...xN)round(x)round2i(x)sgn(x, ...)threshold(x, ..., {})time()time(x)trunc(x)typeOf(x)
No longer to be used
hyst(t, h, x)is obsolete; for a replacement, seetrigger(x, ..., {})orthreshold(x, ..., {})hyst(x, {...})obsolete, seetrigger(x, ..., {})orthreshold(x, ..., {})for replacement