EasyManua.ls Logo

IDEC MICROSmart FC6A Series - Page 533

IDEC MICROSmart FC6A Series
604 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...
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 26-31
26: S
CRIPT
Example 7.10 Tan g en t
Script
Operation Description
Calculates the tangent of the radian value of D0020 and stores the result in D0010.
Only the data type F (float) can be used.
Example 7.11 Arcsine
Script
Operation Description
Calculates the arcsine of the value of D0020 and stores the result as radians in D0010.
Only the data type F (float) can be used.
Example 7.12 Arccosine
Script
Operation Description
Calculates the arccosine of the value of D0020 and stores the result as radians in D0010.
Only the data type F (float) can be used.
Example 7.13 Arctangent
Script
Operation Description
Calculates the arctangent of the value of D0020 and stores the result as radians in D0010.
Only the data type F (float) can be used.
Example 7.14 Convert angle to radians
Script
Operation Description
Converts the value of D0020 from degrees (°) to radians and stores the result in D0010.
Only the data type F (float) can be used.
Example 7.15 Convert radians to angle
Script
Operation Description
Converts the value of D0020 from radians to degrees (°) and stores the result in D0010.
Only the data type F (float) can be used.
[D0010] = TAN([D0020]);
[D0010] = ASIN([D0020]);
[D0010] = ACOS([D0020]);
[D0010] = ATAN([D0020]);
[D0010] = RAD([D0020]);
[D0010] = DEG([D0020]);

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Related product manuals