Skip to main content
Skip table of contents

CDRFLEx.set_tool_digital_output_type

Features

This is a function for set the output type for digital output on the robot flange.

The port parameter is only available in the new flange version (v2)

Parameter

Parameter Name

Data Type

Default Value

Description

nPort

int

1

port number

eOutputType

enum.OUTPUT_TYPE

OUTPUT_TYPE_PNP

Refer to the Definition of Constant and Enumeration Type

Return

Value

Description

0

Error

1

Success

Example

CPP
Drfl.set_tool_digital_output_type(1, OUTPUT_TYPE_PNP);


JavaScript errors detected

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

If this problem persists, please contact our support.