IDEC SmartAXIS FT9Z-1A01 User Manual page 336

Table of Contents

Advertisement

13: S
CR I P TS
Example 7.10 Tangent
Script
[D0010] = TAN([D0020]);
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
[D0010] = ASIN([D0020]);
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
[D0010] = ACOS([D0020]);
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
[D0010] = ATAN([D0020]);
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
[D0010] = RAD([D0020]);
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
[D0010] = DEG([D0020]);
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.
13-28
S
A XI S P
/ L
U
'
M AR T
R O
I TE
SER
S
M
FT9Y-B 1378
ANUAL

Advertisement

Table of Contents
loading

Table of Contents