26: S
CRIPT
26-30
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Example 7.4
Natural logarithm
Script
Operation Description
Calculates the natural logarithm of the value of D0020 and the result is stored in D0010.
Only the data type F (float) can be used.
Example 7.5
Common logarithm
Script
Operation Description
Calculates the logarithm of the value of D0020 with 10 as the base and the result is stored in D0010.
Only the data type F (float) can be used.
Example 7.6
Power
Script
Operation Description
Calculates the power of the values.
For example, if the value of D0020 is 10 and the value of D0030 is 5, the function calculates 10 to the power of 5 and stores the
result in D0010.
Only the data type F (float) can be used.
Example 7.7
Square root
Script
Operation Description
Calculates the square root of the value of [D0020] and the result is stored in [D0010].
Only the data type F (float) can be used.
Example 7.8
Sine
Script
Operation Description
Calculates the sine of the radian value of D0020 and stores the result in D0010.
Only the data type F (float) can be used.
Example 7.9
Cosine
Script
Operation Description
Calculates the cosine of the radian value of D0020 and stores the result in D0010.
Only the data type F (float) can be used.
[D0010] = LOGE([D0020]);
[D0010] = LOG10([D0020]);
[D0010] = POW([D0020],[D0030]);
[D0010] = ROOT([D0020]);
[D0010] = SIN([D0020]);
[D0010] = COS([D0020]);
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...