Skip to content

하이트 컨트롤러


0x91A1 팔로잉 켜기 명령 요청

요청 파라미터

파라미터명타입필수설명
robotint로봇 번호
thirdLevelPerforationEnablebool아니오3단계 천공 활성화
secondPerforationEnablebool아니오2차 천공 활성화
perforationModeint아니오천공 모드: 0-직접 천공, 1-분할 천공, 2-점진 천공

예시

json
{
    "robot": 1,
    "thirdLevelPerforationEnable": false,
    "secondPerforationEnable": false,
    "perforationMode": 1
}

0x91A2 팔로잉 끄기 명령 요청

요청 파라미터

파라미터명타입필수설명
robotint로봇 번호

예시

json
{
    "robot": 1
}

0x91A3 팔로잉 정지 명령 요청

요청 파라미터

파라미터명타입필수설명
robotint로봇 번호

예시

json
{
    "robot": 1
}

0x91A4 하이트 컨트롤러 조그

요청 파라미터

파라미터명타입필수설명
robotint로봇 번호
directionint방향: 0-하강, 1-상승 (100ms 내에 전송)
speedLevelint아니오속도 등급: 0-저속, 1-중속, 2-고속

예시

json
{
    "robot": 1,
    "direction": 1,
    "speedLevel": 1
}

하이트 컨트롤러 조그 0x91A4 조그 제어의 JSON 데이터 형식


0x91AF 조그 정지

요청 파라미터

파라미터명타입필수설명
robotint로봇 번호

예시

json
{
    "robot": 1
}

OperationStatus 상태 열거형

cpp
enum class OperationStatus {
    STOP_                    = 0x00,  // 정지
    MENU_SETTING_            = 0x01,  // 메뉴 설정 중
    MOTOR_CALIBRATION_       = 0x02,  // 모터 캘리브레이션 중
    CAPACITANCE_CALIBRATION_ = 0x03,  // 커패시턴스 캘리브레이션 중
    AUTO_TUNING_             = 0x04,  // 자동 튜닝 중
    HOME_                    = 0x05,  // 원점 복귀
    FOLLOW_                  = 0x06,  // 팔로잉
    ASCEND_                  = 0x07,  // 상승
    DESCEND_                 = 0x08,  // 하강
    EMERGENCY_TOP_           = 0x09,  // 비상 정지
    FROG_LEAP_               = 0x0A   // 프로그 점프
};

0x91A7 하이트 컨트롤러 관련 정보 요청

요청 파라미터

파라미터명타입필수설명
robotint로봇 번호

예시

json
{
    "robot": 1
}

0x91A8 하이트 컨트롤러 관련 정보 반환

응답 파라미터

파라미터명타입설명
statusintOperationStatus 상태 값
capacitance_valueint커패시턴스 값
positionint위치 값
heightint높이 값
versionint버전 번호
stop_coordinateint정지 좌표
air_moving_board_delayint공압 보드 지연
back_to_center_coordinateint중앙 복귀 좌표
cutting_plate_delayint커팅 보드 지연
perforation_plate_delayint천공 보드 지연
zaxis_coordinateintZ축 좌표

예시

json
{
    "status": 0,
    "capacitance_value": 0,
    "position": 0,
    "height": 0,
    "version": 0,
    "stop_coordinate": 1,
    "air_moving_board_delay": 1,
    "back_to_center_coordinate": 1,
    "cutting_plate_delay": 1,
    "perforation_plate_delay": 1,
    "zaxis_coordinate": 1
}

0x91A9 팔로잉 등급 설정

요청 파라미터

파라미터명타입필수설명
cuttingTrackLevelint아니오커팅 궤적 팔로잉 등급, 범위 (0, 30]
rAngleTrackLevelint아니오R 코너 팔로잉 등급

예시

json
{
    "cuttingTrackLevel": 30,
    "rAngleTrackLevel": 0
}

0x91B0 높이 설정

요청 파라미터

파라미터명타입필수설명
cuttingHeightint아니오커팅 높이, 단위 μm, 범위 200-9999

예시

json
{
    "cuttingHeight": 0
}

0x91AA 커패시턴스 캘리브레이션

요청 파라미터

파라미터명타입필수설명
typeint아니오캘리브레이션 타입: 0-모터 캘리브레이션, 1-커패시턴스 캘리브레이션/베벨 커팅 캘리브레이션
isBevelCuttingbool아니오베벨 커팅 캘리브레이션 여부
calibrationProtectionbool아니오캘리브레이션 보호
zAxisAngleint아니오Z축 각도

예시

json
{
    "type": 0,
    "isBevelCutting": false,
    "calibrationProtection": false,
    "zAxisAngle": 0
}

커패시턴스 캘리브레이션 0x91AA 커패시턴스 캘리브레이션의 JSON 데이터 형식


0x91B0 CNC 실시간 Z축 속도 전송

요청 파라미터

파라미터명타입필수설명
cncSpeedint아니오Z축 속도, 단위: μm/ms

예시

json
{
    "cncSpeed": 100
}