Download Print this page

Bosch Rexroth IndraMotion MTX 11 VRS Applications Manual page 272

Standard nc operation

Advertisement

270/301
Bosch Rexroth AG
Extended Functionality
Entering an expression
Calculating expression
Trigonometric functions
Basics
General Rules
Format for Numbers
Operators
Rexroth IndraMotion MTX 11VRS Standard NC Operation
Performing a Calculation
In the beginning, the focus must be set to the text box (display). The expression
is entered using the keyboard. Alternatively, the expression can be inserted
from the clipboard using the <Ctrl>+<V> shortcuts.
The expression must comply with the syntax rules listed in the following sec‐
tions.
Click on the result key ("="). You can also use the <Return> key , the <Enter>
key or the shortcut <=>.
The trigonometric functions either work with degree or radian. The currently
active unit can be seen in the status display. "DEG" stands for degree, "RAD"
for radian. You can switch between the angle units by using the <RAD> and/or
<DEG> keys. An expression with several trigonometric functions in which both
angle units are used simultaneously cannot be calculated directly.
Syntax for Expressions
The syntax for mathematical expressions largely complies with the CPL lan‐
guage (Customer Programming Language). Apart from that, there are only a
few extensions and some programming aids.
The syntax generally applies to all text entry fields for numerical values in the
OperationDesktop if they are connected to the interpretation of expressions as
well as within the "Calculations and Tables" dialog.
General rule:
The entry logic corresponds to the algebraic notation whereas the order
of the operators is considered.
Upper and lower cases can be used arbitrarily.
An expression may include any number of spaces at any position. The
spaces will be ignored.
To the format of numbers, the following applies:
As decimal separator both, the point and the comma can be used.
Leading zeros in front of the decimal separator can be omitted (e.g. -.
668 instead of -0.668).
A positive sign can generally be omitted. A negative sign must be written
whereas here, brackets around the negative figure - as it is usual as op‐
posed to arithmetic - can be omitted (e.g. -3.2*-4 instead of
(-3.2)*(-4), SIN-30 instead of SIN(-30)). It must, however, gener‐
ally be noted in the single case that the operators for addition and sub‐
traction are identical with the signs and that the operators must generally
be maintained.
Numbers can also be written down in exponential notation. The mantissa
is to be followed by an "E" or an "e" introducing the exponent. The mantissa
may contain a decimal separator. The exponent must be integer and must
not include a decimal separator (examples: -13.783E-10, .55e+4 and
2.345E12).
The following operators can be used in expressions:
Addition:
+,
Subtraction:
-,
Multiplication: *,
DOK-MTX***-NC*OP***V11-AP01-EN-P

Advertisement

loading