Skip to content

Tool ​

Tool Parameters ​

Host Sets Tool Parameters ​

Command Word: 0x3500

Parameter List:

ParameterTypeDescriptionRange
AdoubleRotation around A axisRadian [-3.1416,3.1416], Degree [-180,180]
BdoubleRotation around B axisRadian [-3.1416,3.1416], Degree [-180,180]
CdoubleRotation around C axisRadian [-3.1416,3.1416], Degree [-180,180]
XdoubleX-axis offset, unit mm[-2000,2000]
YdoubleY-axis offset, unit mm[-2000,2000]
ZdoubleZ-axis offset, unit mm[-2000,2000]
notestringTool note-
payloadInertiadoublePayload inertia, unit 0.001kgm²[-999999,999999]
payloadMassdoublePayload mass, unit kg[0,999999]
payloadMassCenterXdoublePayload center of mass X, unit m[-999999,999999]
payloadMassCenterYdoublePayload center of mass Y, unit m[-999999,999999]
payloadMassCenterZdoublePayload center of mass Z, unit m[-999999,999999]
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]

Request Example:

json
{
  "parameter": {
    "A": 0.0,
    "B": 0.0,
    "C": 0.0,
    "X": -68.0,
    "Y": 3.0,
    "Z": 162.0,
    "note": "",
    "payloadInertia": 0.0,
    "payloadMass": 3.0,
    "payloadMassCenterX": 0.0,
    "payloadMassCenterY": 0.0,
    "payloadMassCenterZ": 0.170
  },
  "robot": 1,
  "tool": 1
}

Host Queries Tool Parameters ​

Command Word: 0x3501

Parameter List:

ParameterTypeDescriptionRange
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]

Request Example:

json
{
  "robot": 1,
  "tool": 1
}

Controller Replies Tool Parameters to Host ​

Command Word: 0x3502

Parameter List (Radian):

ParameterTypeDescriptionRange
AdoubleRotation around A axis[-3.1416,3.1416]
BdoubleRotation around B axis[-3.1416,3.1416]
CdoubleRotation around C axis[-3.1416,3.1416]
XdoubleX-axis offset, unit mm[-2000,2000]
YdoubleY-axis offset, unit mm[-2000,2000]
ZdoubleZ-axis offset, unit mm[-2000,2000]
notestringTool note-
payloadInertiadoublePayload inertia, unit 0.001kgm²[-999999,999999]
payloadMassdoublePayload mass, unit kg[0,999999]
payloadMassCenterXdoublePayload center of mass X, unit m[-999999,999999]
payloadMassCenterYdoublePayload center of mass Y, unit m[-999999,999999]
payloadMassCenterZdoublePayload center of mass Z, unit m[-999999,999999]

Parameter List (Degree):

ParameterTypeDescriptionRange
AdoubleRotation around A axis[-180,180]
BdoubleRotation around B axis[-180,180]
CdoubleRotation around C axis[-180,180]
XdoubleX-axis offset, unit mm[-2000,2000]
YdoubleY-axis offset, unit mm[-2000,2000]
ZdoubleZ-axis offset, unit mm[-2000,2000]
notestringTool note-
payloadInertiadoublePayload inertia, unit 0.001kgm²[-999999,999999]
payloadMassdoublePayload mass, unit kg[0,999999]
payloadMassCenterXdoublePayload center of mass X, unit m[-999999,999999]
payloadMassCenterYdoublePayload center of mass Y, unit m[-999999,999999]
payloadMassCenterZdoublePayload center of mass Z, unit m[-999999,999999]
ParameterTypeDescriptionRange
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]

Response Example:

json
{
  "parameter": {
    "A": 0.0,
    "B": 0.0,
    "C": 0.0,
    "X": -68.0,
    "Y": 3.0,
    "Z": 162.0,
    "note": "",
    "payloadInertia": 0.0,
    "payloadMass": 3.0,
    "payloadMassCenterX": 0.0,
    "payloadMassCenterY": 0.0,
    "payloadMassCenterZ": 0.17
  },
  "parameterDeg": {
    "A": 0.0,
    "B": 0.0,
    "C": 0.0,
    "X": -68.0,
    "Y": 3.0,
    "Z": 162.0,
    "note": "",
    "payloadInertia": 0.0,
    "payloadMass": 3.0,
    "payloadMassCenterX": 0.0,
    "payloadMassCenterY": 0.0,
    "payloadMassCenterZ": 0.17
  },
  "robot": 1,
  "tool": 1
}

Tool Number ​

Host Requests to Switch Tool Number ​

Command Word: 0x3510

ParameterTypeDescriptionRange
robotintCurrent robot number[1,4]
toolintTool number to switch to, 0 means no tool[0,999]

Request Example:

json
{
  "robot": 1,
  "tool": 0
}

Host Queries Tool Number ​

Command Word: 0x3511

ParameterTypeDescriptionRange
robotintCurrent robot number[1,4]

Request Example:

json
{
  "robot": 1
}

Controller Replies Tool Number to Host ​

Command Word: 0x3512

ParameterTypeDescriptionRange
curToolNumintCurrently selected tool number[0,999]
robotintCurrent robot number[1,4]
toolintSame as selected tool number; when selected tool number is 0, value is 1[1,999]

Response Example:

json
{
  "curToolNum": 0,
  "robot": 1,
  "tool": 1
}

Tool Calibration ​

Six-point and seven-point calibration, including calibrating point N, getting calibration point position information, and point calibration status. Before calibration calculation, all points must be calibrated. First use 0x3521 to calibrate each point, then use 0x3520 to calculate the calibration result after all points are calibrated. When querying position information of point N, point N must already be calibrated.

Host Calibration Calculation Request ​

Command Word: 0x3520

ParameterTypeDescriptionRange
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]

Request Example:

json
{
  "robot": 1,
  "tool": 1,
  "calibrationType": 7
}

Host Calibrate Point N Request ​

Command Word: 0x3521

ParameterTypeDescriptionRange
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]
pointintCalibration point numberSix-point [0,5], Seven-point [0,6]
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]

Request Example:

json
{
  "calibrationType": 7,
  "point": 4,
  "robot": 1,
  "tool": 1
}

Controller Replies Point N Calibration Information to Host ​

Command Word: 0x3522

ParameterTypeDescriptionRange
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]
pointintCalibration point numberSix-point [0,5], Seven-point [0,6]
positionarray<double>Calibration point Cartesian coordinate information list-
robotintCurrent robot number[1,4]

Response Example:

json
{
  "calibrationType": 7,
  "point": 1,
  "position": [19998.0, 0.000000000001, 19998.0, 3.14159265359, 0.0, 0.0, 0.0],
  "robot": 1
}

Controller Replies Calibration Calculation Result to Host ​

Command Word: 0x3523

ParameterTypeDescriptionRange
resultboolCalibration calculation result-
robotintCurrent robot number[1,4]

Response Example:

json
{
  "result": true,
  "robot": 1
}

Host Queries Point N Position Information ​

Command Word: 0x3524

ParameterTypeDescriptionRange
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]
pointintCalibration point numberSix-point [0,5], Seven-point [0,6]
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]

Request Example:

json
{
  "calibrationType": 7,
  "point": 4,
  "robot": 1,
  "tool": 1
}

Controller Replies Point N Position Information to Host ​

Command Word: 0x3525

ParameterTypeDescriptionRange
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]
pointintCalibration point numberSix-point [0,5], Seven-point [0,6]
positionarray<double>Calibration point Cartesian coordinate information list-
robotintCurrent robot number[1,4]

Response Example:

json
{
  "calibrationType": 7,
  "point": 1,
  "position": [19998.0, 0.000000000001, 19998.0, 3.14159265359, 0.0, 0.0, 0.0],
  "robot": 1
}

Host Queries All Point Calibration Status ​

Command Word: 0x3526

ParameterTypeDescriptionRange
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]

Request Example:

json
{
  "calibrationType": 7,
  "robot": 1,
  "tool": 1
}

Controller Replies All Point Calibration Status to Host ​

Command Word: 0x3527

ParameterTypeDescriptionRange
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]
robotintCurrent robot number[1,4]
statusarray<int>Point calibration status list, 1 means calibrated, 0 means not calibratedSix-point length 6, Seven-point length 7

Response Example:

json
{
  "calibrationType": 7,
  "robot": 1,
  "status": [1, 1, 1, 0, 0, 1, 1]
}

Host Requests to Clear Point N Calibration Status ​

Command Word: 0x3528

ParameterTypeDescriptionRange
calibrationTypeintCalibration point method, 6 for six-point method, 7 for seven-point method[6,7]
pointintCalibration point numberSix-point [0,5], Seven-point [0,6]
robotintCurrent robot number[1,4]
toolintCurrent tool number[1,999]

Request Example:

json
{
  "calibrationType": 7,
  "point": 0,
  "robot": 1,
  "tool": 1
}
🤖 AI assistants / automation: start with the Agent Development Guide and Pre-generation Checklist (Chinese); machine-readable entry: /llms.txt; plain-text version: swap .html for .md in the URL