About the Functions Dialog Box
Access this dialog box from the Expression Definition dialog box, or when creating a user-defined measure in the Measure Definition dialog box. When you select one of the following functions, it appears as part of your definition in expression area.
The default variable x for the functions is time, t. You can select another variable, such as a measure, from the x = list at the top of the dialog box. You can also enter a constant value or an expression in the text box. You can select a function by double-clicking or by single-clicking and closing the dialog box. The function appears in the expression area with the selected variable or entered expression.
Functions
Definition
sin(x), cos(x), tan(x)
standard trigonometric functions
asin(x)
arc sine in range –90 to 90
acos(x)
arc cosine in range 0 to 180
log(x)
base 10 logarithm
ln(x)
natural (base e) logarithm
abs(x)
absolute value. If x>0, the function returns x, otherwise it returns –x.
sqrt(x)
square root
ceil(x)1
round toward positive infinity
floor(x)1
round toward negative infinity
The functions ceil(x) and floor(x) are not available for servo motors.
Was this helpful?