EasyManua.ls Logo

Emerson EZMotion - Program Math Functions

Emerson EZMotion
268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
172 EZMotion User/Programming Guide
www.controltechniques.com Revision: A8
Figure 174: Multitasking Flow Chart
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.
t = 0
Control Loop
Update
Message(s)
Waiting?
End Of
Update?
Task
Blocked?
Process
Message(s)
Process
Task
Switch to
Next Task
Switch to
Next Task
Yes
No
Yes
No
No
Yes

Table of Contents

Related product manuals