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
Содержание EZMotion
Страница 2: ......
Страница 12: ...x EZMotion User Programming Guide www controltechniques com Revision A8 ...
Страница 18: ...6 EZMotion User Programming Guide www controltechniques com Revision A8 ...
Страница 36: ...24 EZMotion User Programming Guide www controltechniques com Revision A8 ...
Страница 158: ...146 EZMotion User Programming Guide www controltechniques com Revision A8 ...
Страница 186: ...174 EZMotion User Programming Guide www controltechniques com Revision A8 ...
Страница 266: ...256 EZMotion User Programming Guide www controltechniques com Revision A8 ...
Страница 267: ......