Skip to main content
Skip table of contents

CDRFLEx.set_on_mastering_need

Features

This is a function for registering the callback function that automatically checks if the robot’s axes have been twisted due to external force in the robot controller. It is useful when functions that should be executed automatically are made.

Parameter

Parameter Name

Data Type

Default Value

Description

pCallbackFunc

TOnMasteringNeedCB

-

Refer to definition of callback function

Return

None.

Example

CPP
void OnMasteringNeedCB()
{
    // Starts the homing mode for the alignment of the robot’s axes
    drfl.Homme(True)
}

int main()
{
    drfl.set_on_mastering_need(TOnMasteringNeedCB);
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.