Indirect Programming; Indirectly Programming Addresses - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Explanation
*
1)
2)
3)
4)
Note
If conversion produces a value greater than the target range, an error message is output.
If mixed types occur in an expression, type conversion is automatic. Type conversions are also
possible in synchronous actions, see Chapter "Motion-synchronous actions, implicit type
conversion".
3.1.2

Indirect programming

3.1.2.1

Indirectly programming addresses

When indirectly programming addresses (Page 1235), the extended address (<Index>) is
replaced by the suitable type of variable.
Note
It is not possible to indirectly program addresses for:
● N (block number)
● L (subprogram)
● Settable addresses
(e.g. X[1] instead of X1 is not permissible)
Syntax
<ADDRESS>[<Index>]
Meaning
<ADDRESS>[...]:
<index>:
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
At type conversion from REAL to INT, fractional values that are >=0.5 are rounded up,
others are rounded down (cf. ROUND function).
Value <> 0 is equivalent to TRUE; value == 0 is equivalent to FALSE
If the value is in the permissible range
If only 1 character
String length 0 = >FALSE, otherwise TRUE
Fixed address with extension (index)
Variable, e.g. for spindle number, axis, ....
Work preparation
3.1 Flexible NC programming
433

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents