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.get_digital_input

Features

This is a function for checking 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

Return

Value

Description

0

OFF

1

ON

Example

C++
//Checks the digital No. 1 input contact point on the control box
bool bSignal = drfl.get_digital_input(GPIO_CTRLBOX_DIGITAL_INDEX_1); 
if (bSignal ==TRUE) {
  // do something
}