Skip to main content
Skip table of contents

CDRFLEx.get_program_state

기능

로봇 제어기에서 현재 자동모드로 실행중인 프로그램 실행 상태 정보를 확인하기 위한 함수이다.

인수

없음

리턴

설명

enum.DRL_PROGRAM_STATE

상수 및 열거형 정의 참조

예제

PY
if (Drfl.get_program_state() == DRL_PROGRAM_STATE_PLAY){
   // 프로그램 실행 중지
   Drfl.drl_stop(STOP_TYPE_SLOW)
}
else if (Drfl.get_program_state() == DRL_PROGRAM_STATE_HOLD) {
   // 프로그램 실행 재개
	Drfl.drl_resume()
}

JavaScript errors detected

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

If this problem persists, please contact our support.