Siemens SINUMERIK 840D sl Programming Manual page 887

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

Advertisement

<InVar>:
<InVal>:
Example
Program code
DEF INT RESULT
...
CADAPTON(RESULT,MX1,2)
IF RESULT <> 0
ENDIF
...
CADAPTOF(RESULT,MX1,2)
...
...
Further information
Link axes
The function cannot be applied to link axes (NCU-Link function). In this case, the result variable
would supply return value 2 ("Parameter <Axis> invalid").
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Input variable of the adaptation relationship
Data type:
Value:
Input value of the adaptation relationship
Optional parameter for intelligent load adjustment (<InVar>=1).
Data type:
Value:
Note:
If an input value is not programmed, the last programmed value or the default value
(= 0) after the control system has run up is active.
MSG("CADAPT-RESULT=" << RESULT)
STOPRE
SETAL(61000)
INT
1
Inertia of the axis
2
Axis position:
3
Axis speed
REAL
> 0 Actual moment of inertia
= 0 Load/loading is not defined or is not known. In this particular case,
the assigned adaptations supply substitute value 1.0 as output
variable.
< 0 The call is exited with <Status> = 5 (parameter <InVal> invalid).
The last input value activated remains active.
Comment
; Definition of result variables
; Activate adaptation
; Evaluate the result variables (this is
required after each CADAPTON/CADAPTOF in-
struction)
; Deactivate adaptation
; Evaluate result variables
Work preparation
3.15 Axis functions
887

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents