Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 70

Advertising
background image

Chapter 2
Operating the Control

2-50

If you perform the same level of evaluation, the left most operation takes
priority.

Example 2.1

Mathematic Expressions

Expression Entered

Result Displayed

12/4*3

9

12/[4*3]

1

12+2/2

13

[12+2]/2

7

12-4+3

11

12-[4+3]

5

Table 2.F contains the function commands available with the

[CALC]

key.

Table 2.F

Mathematical Functions

Function

Meaning

SIN

Sine (degrees)

COS

Cosine (degrees)

TAN

Tangent (degrees)

ATAN

Arc Tangent (degrees)

ASIN

Arc Sine (degrees)

ACOS

Arc Cosine (degrees)

SQRT

Square Root

ABS

Absolute Value

BIN

Conversion from Decimal to Coded Decimal

BCD

Conversion from Coded Decimal to Decimal

ROUND

Rounding Off (nearest whole number)

FIX

Truncation Down

FUP

Truncation Up

LN

Logarithms (natural log)

EXP

Exponent

When programming these functions, place the value that the function is to
be performed on in brackets, e.g., SIN [10]. The arc tangent function
(ATAN) is the exception. The format for ATAN requires the division of
two values, e.g., ATAN [10]/[2] is used to calculate the arc tangent of 5.

Advertising