beautypg.com

Math functions, Math functions -21 – Rockwell Automation 9301 Series RSView32 Users Guide User Manual

Page 534

background image

Creating expressions

14–21

If you want an expression containing these functions to be evaluated
more than once, assign the expression to an event rather than to an
object in a graphic display.

Math functions

These functions perform math on an expression:

FREE_BYTES(drive)

The number of bytes
free on the specified
drive.

FREE_BYTES(c)
returns the number of bytes available on
drive C, up to a maximum of 2.1 GB.

Use this function to display a message or
trigger an alarm when disk space is
getting low.

This function

Returns this value

Example

This function

Returns this value

SQRT (expression)

The square root of the expression

LOG (expression)

The natural log of the expression

LOG10 (expression)

The base ten log of the expression

SIN (expression)

The sine of the expression in radians

COS (expression)

The cosine of the expression in radians

TAN (expression)

The tangent of the expression in radians

ARCSIN (expression)

The arc sine of the expression in radians

ARCCOS (expression)

The arc cosine of the expression in radians

ARCTAN (expression)

The arc tangent of the expression in radians

SIND (expression)

The sine of the expression in degrees

COSD (expression)

The cosine of the expression in degrees

TAND (expression)

The tangent of the expression in degrees

ARCSIND (expression)

The arc sine of the expression in degrees