beautypg.com

Mathematical functions, Chapter – Rockwell Automation GMLC Reference Manual User Manual

Page 676

background image

Publication GMLC-5.2 - November 1999

Chapter

32

Mathematical Functions

Mathematical functions provide standard algebraic and trigonometric
functions for use in expressions. The available mathematical functions are
shown in the table below.

All mathematical functions are read-only—they can be used within an
expression to perform the desired function, but they cannot be assigned a
value. Each mathematical function is explained below.

Function

Argument

Absolute_value

Floating Point Value

Arc_cosine

-1

Floating Point Value

1

Arc_sine

-1

Floating Point Value

1

Arc_tangent

Floating Point Value

Cosine

Floating Point Value in Radians

Sine

Floating Point Value in Radians

Tangent

Floating Point Value in Radians

Round

Floating Point Value

Round-up

Floating Point Value

Round_down

Floating Point Value

Integer

Floating Point Value

Exponent

Floating Point Value

Log

Floating Point Value > 0

Square_root

Floating Point Value

0