ARCTAN
Syntax
result = ARCTAN (expression)
This mathematical function returns the arctangent of the expression
in radians.
x = ARCTAN(0.8)
Example
This returns the value 0.674740942 radians.
See also
TAN
AVERAGE
Syntax
result% = AVERAGE ( input expression%, number of samples% )
This signal-processing function returns the running average of the input for
the desired number of samples. The number of samples must be a constant
integer value. The input expression is also an integer.
This function can be used only in the
requires execution on a regular timebase.
AVERAGE
If a step change of 0 to 1000 is applied to parameter #1.21, the output of the
averager will be as follows (assuming a 5ms clock timebase).
Example
CLOCK{
input% = #1.21
#1.22 = AVERAGE (input%, 4)
}
See also
FILTER
UD70
Issue code: 70nu2
instruction.
SPEED, CLOCK
instruction.
or
tasks.
ENCODER
Reference
7-7
Need help?
Do you have a question about the UD70 and is the answer not in the manual?