Read parameter set number
The number of the selected parameter set (specified parameter set) can be read via the system
variable $AA_SCPAR.
3.15.8 Activate/deactivate adaptation (CADAPTON, CADAPTOF)
Using the predefined CADAPTON() and CADAPTOF() procedures, predefined adaptations for
adjusting the dynamic response or control parameters can be activated, updated and
deactivated from the part program. They are also used in CYCLE782 (Page 1091).
Syntax
...
CADAPTON(<Result>,<Axis>,<InVar>[,<InValue>])
...
CADAPTOF(<Result>,<Axis>,<InVar>)
...
Meaning
CADAPTON(): Activates adaptation relationship
CADAPTOF(): Deactivates adaptation relationship
Note:
Ignore active adaptation relationship (MD16501 = 1) CADAPTOF(), a previously pro‐
grammed input value (<InVal>) remains active.
<Result>:
Result variable: Return value for the status (called by reference parameter)
Data type: INT
Value: 0 No error
1 No valid adaptation table parameterized
2 <Axis> parameter invalid
3 <InVar> parameter invalid
4 Reserved
5 <InVal> parameter invalid
<Axis>: Machine axis name of the input axis of the adaptation relationship
Data type: AXIS
Range of
values:
Machine axis names defined in the channel
Note:
Using this parameter, those adaptations are addressed, which, in MD16504
$MN_CADAPT_INPUT_AX, entered a value corresponding to parameter <Axis>.
The other <InVar> and <InVal> parameters are assigned to this axis.
Work preparation
3.15 Axis functions
NC programming
886 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0