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
C++
Drfl.set_tool_digital_output_type(1, OUTPUT_TYPE_PNP);