Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 27

Advertising
background image

Basic Control Operation

Chapter 2

2-5

Expressions entered on the input line cannot exceed a total of 25

characters. Only numeric or special mathematical operation characters as

described below can be entered next to the “CALC:” prompt. Any

character that is not numeric or an operation character you enter on the

input line generates the error message “INVALID CHARACTER.”

The largest number you can enter for a calculate function is 214748367.

You cannot enter a number larger than 10 digits. If control displays a

number that is too large (longer than 10 digits), the control displays the

error message “NUMBER IS OUT OF RANGE”. If the number entered or

calculated is greater than 10 digits, control displays the error message

“MATH OVERFLOW.”

Any fractional numbers cannot exceed .999999 (6 decimal places). If you

exceed this number of decimal places, the control automatically rounds off.

If this seventh digit is less than 5, the control rounds down. If this seventh

digit is 5 or greater, the control rounds up.

Any data entered on the input lines can be edited as described on page

2-37.

To disable the calculator function, press the

[CALC]

key again. The

“CALC:” prompt is removed from the input line.

Use the characters in Table 2.B to indicate mathematical operations.

Table 2.B

Mathematical Operators

*

Multiplication

/

Division

+

Addition

-

Subtraction

[ ]

Brackets

#

Get Paramacro Value

The control executes mathematical operations in this order:

1.

Any part of the expression that is between the brackets [ ] is

evaluated first. The values of paramacro variables are also

substituted for the #xxxx as the first operation performed.

2.

Multiplication and division are evaluated second.

3.

Addition and subtraction are evaluated last.

If the same level of evaluation is performed the left most operation takes

priority.

Advertising