Skip to main content
Skip table of contents

CDRFLEx.get_tool_digital_input

기능

로봇 제어기에서 로봇 끝단에 장착된 디지털 접점의 신호를 확인하기 함수이다.

인수

인수명자료형기본값설명

eGpioIdex

enum.GPIO_TOOL_

DIGITAL_INDEX

-

상수 및 열거형 정의 참조

리턴

설명

0

OFF

1

ON

예제

CPP
//로봇 암의 디지털 1번 입력 접점 확인
bool bSignal = drfl.get_tool_digital_input(GPIO_TOOL_DIGITAL_INDEX_1); 
if (bSignal == True) {
  // do something
}

JavaScript errors detected

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

If this problem persists, please contact our support.