1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

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

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

int main()
{
Drfl.set_on_monitoring_safety_state(OnMonitoringSafetyState);
}