Program Math Functions - Emerson EZMotion User Manual

Table of Contents

Advertisement

Figure 174:

9.11.1 Program Math Functions

Cos
This trig function can be used in formulas from within a program.
Example:
var.var0 = Cos(var.var1)
Returns the trigonometric cosine in degrees. Cos(x) x is in degrees and accurate to 6 decimal places.
Sin
This trig function can be used in formulas from within a program.
Example:
var.var0 = Sin(var.var1)
Returns the trigonometric sine in degrees. Sin(x) x is in degrees and accurate to 6 decimal places.
Tan
This trig function can be used in formulas from within a program.
Example:
var.var0 =Tan(var.var1)
Returns the trigonometric tangent in degrees. Tan(x) x is in degrees and accurate to 6 decimal places.
ArcCos
This trig function can be used in formulas from within a program.
Example:
var.var0 = ArcCos(var.var1)
Returns the trigonometric ArcCos in degrees. The ArcCosine is the angle whose cosine is the given number.
172
Switch to
Next Task
Yes
Multitasking Flow Chart
www.controltechniques.com
t = 0
Control Loop
Update
Yes
Message(s)
Message(s)
Waiting?
No
Process
Task
End Of
Update?
No
Task
No
Blocked?
Yes
Switch to
Next Task
Process
EZMotion User/Programming Guide
Revision: A8

Advertisement

Table of Contents
loading

Table of Contents