Download SmartAXIS Pro/Lite Users Manual
Transcript
13: SCRIPTS Example 7.4 Natural logarithm Script [D0010] = LOGE([D0020]); 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 [D0010] = LOG10([D0020]); 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 [D0010] = POW([D0020],[D0030]); 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 [D0010] = ROOT([D0020]); 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 [D0010] = SIN([D0020]); 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 [D0010] = COS([D0020]); 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. SMARTAXIS PRO/LITE USER'S MANUAL FT9Y-B1378 13-27