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.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

CDRFLEx.set_safety_mode

Features

This is a function to set the safety state in the robot controller.

Parameter

Parameter Name

Data Type

Default Value

Description

eSafetyMode

enum.SAFETY_MODE

-

Refer to the Definition of Constant and Enumeration Type

eSafetyEvent

enum.SAFETY_EVENT

-

Refer to the Definition of Constant and Enumeration Type

Return

Value

Description

0

Error

1

Success

Example

C++
Drfl.set_safety_mode(SAFETY_MODE_MANUAL, SAFETY_EVENT_MOVE); // set the safety state to ‘Manual’, ‘Operating”