Skip to main content
Skip table of contents

CDRFLEx.set_tool_digital_output

Features

This is a function for outputting a signal at the digital contact point mounted on the edge of the robot in the robot controller.

Parameter

Parameter Name

Data Type

Default Value

Description

eGpioIndex

enum.GPIO_TOOL_

DIGITAL_INDEX

-

Refer to the Definition of Constant and Enumeration Type

bOnOff

bool

-

Data to output

  • ON: 1
  • OFF: 0

Return

Value

Description

0

Error

1

Success

Example

CPP
//Outputs the digital No. 1 output contact point on the robot arm
drfl.set_tool_digital_output(GPIO_TOOL_DIGITAL_INDEX_1, 1); 

JavaScript errors detected

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

If this problem persists, please contact our support.