Skip to main content
Skip table of contents

TOnMonitoringSafetyStateCB

Features

This is a callback function called when the safety state is updated in the robot controller. Since the callback function is automatically executed when a specific event occurs, you should not write code that requires an excessive execution time (within 50msec) within the callback function.

Parameter

Parameter Name

Data Type

Default Value

Description

eSafetyState

enum.SAFETY_STATE

-

Refer to the Definition of Structure

Return

None.

Example

PY
void OnMonitoringSafetyStateCB (SAFETY_STATE iState)
{
//When safety state is updated
}

int main()
{
Drfl.set_on_monitoring_safety_state(OnMonitoringSafetyState);
}
JavaScript errors detected

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

If this problem persists, please contact our support.