Skip to main content
Skip table of contents

get_tool_digital_input(index)

기능

로봇 툴의 신호를 디지털 접점에서 불러오기 위한 명령문입니다.

인수

인수명자료형기본값설명

index

int

-

로봇 Tool I/O 접점 번호 (1~6)

리턴

설명

1

ON

0

OFF

음수값

실패

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
get_tool_digital_input(1) #Tool IO 입력 1번 접점 읽기
get_tool_digital_input(6) #Tool IO 입력 6번 접점 읽기

JavaScript errors detected

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

If this problem persists, please contact our support.