Skip to main content
Skip table of contents

CRDFL.get_digital_output

기능

로봇 제어기에서 컨트롤 박스에 장착된 디지털 접점의 신호를 확인하기 위한 함수이다.

인수

인수명자료형기본값설명

eGpioIdex

enum.GPIO_CTRLBOX_

DIGITAL_INDEX

-

상수 및 열거형 정의 참조

리턴

설명

0

OFF

1

ON

예제

PY
//컨트롤 박스의 디지털 1번 출력 접점 체크
bool bSignal = drfl.get_digital_output(GPIO_CTRLBOX_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.