Skip to content

调高器


0x91A1 跟随开命令请求

请求参数

参数名类型必填说明
robotint机器人编号
thirdLevelPerforationEnablebool三级穿孔使能
secondPerforationEnablebool二次穿孔使能
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
}


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]
rAngleTrackLevelintR角跟随等级

示例

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

0x91B0 设置高度

请求参数

参数名类型必填说明
cuttingHeightint切割高度,单位μm,范围200-9999

示例

json
{
    "cuttingHeight": 0
}

0x91AA 电容标定

请求参数

参数名类型必填说明
typeint标定类型:0-电机标定 1-电容标定/坡口切割标定
isBevelCuttingbool是否为坡口切割标定
calibrationProtectionbool标定保护
zAxisAngleintZ轴角度

示例

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


0x91B0 CNC发送实时Z轴速度

请求参数

参数名类型必填说明
cncSpeedintZ轴速度,单位:μm/ms

示例

json
{
    "cncSpeed": 100
}