Breadcrumbs

CDRFLEx.set_digital_output

Features

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

Parameter

Parameter Name

Data Type

Default Value

Description

eGpioIdex

enum.GPIO_CTRLBOX_

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

C++
//Outputs the digital No. 1 output contact point on the control box
drfl.set_digital_output(GPIO_CTRLBOX_DIGITAL_INDEX_1, 1);