Skip to main content
Skip table of contents

CDRFLEx.get_tool

기능

로봇 제어기에서 현재 설정된 Tool 정보를 가져오는 함수이다. 설정된 Tool 정보가 없을 경우, 빈 문자열이 반환된다.

인수

없음

리턴

설명

string

Tool 이름

예제

CPP
string strTool = drfl.get_tool(); 
// 현재 장착되어 있는 Tool 정보 확인
if (strTool != “tool#1) {
drfl.set_tool(“tool#1); 
}
JavaScript errors detected

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

If this problem persists, please contact our support.