Skip to content

Calibration

Four-Point Calibration

Description: The robot end moves to and calibrates four points. After calculation, the link length and axis zero point offset can be obtained. If the calculation result is accepted, the result can be filled into the DH parameters.

Host Four-Point Calibration Calculation Request

Command Word: 0x3700

ParameterTypeRange/Description
ParamOf4Pointsdouble[]Length 2, L1 and L2 lengths. The two parameters are the X movement distance and Y movement distance when the robot end moves from marker point A to marker point C
json
{
  "ParamOf4Points": [85.0, 70.0]
}

Host Point N Calibration Request

Command Word: 0x3701

ParameterTypeRange/Description
pointNumintRange [0,3], calibration point number
statusintRange [0,1], calibration status. 0 means cancel calibration, 1 means calibrate
json
{
  "pointNum": 0,
  "status": 1
}

Controller Replies Point N Calibration Position Information to Host

Command Word: 0x3702

ParameterTypeRange/Description
pointNumintRange [0,3], calibration point number
posdouble[]Length 4, position information list
json
{
  "pointNum": 0,
  "pos": [0.0, 0.0, 0.0, 0.0]
}

Controller Replies Calibration Calculation Result to Host

Command Word: 0x3703

ParameterTypeRange/Description
dthetadouble[]Length 2, axis zero point offset list. All values -1 means calculation failed
lengthdouble[]Length 2, link length list. All values -1 means calculation failed
resultboolWhether calculation succeeded
json
{
  "dtheta": [-1.0, -1.0],
  "length": [-1.0, -1.0],
  "result": false
}

Host Requests to Fill Calculation Result into DH Parameters

Command Word: 0x3704

json
{}

Controller Replies DH Parameter Fill Result to Host

Command Word: 0x3705

ParameterTypeRange/Description
applyboolWhether filling calculation result succeeded
json
{
  "apply": true
}

Host Queries Calibration Information

Command Word: 0x3706

ParameterTypeRange/Description
dthetadouble[]Length 2, axis zero point offset list. null means no calculation result
lengthdouble[]Length 2, link length list. null means no calculation result
resultboolWhether calculation succeeded
statusint[]Point calibration status list. 0 means not calibrated, 1 means calibrated
json
{
  "dtheta": [null, null],
  "length": [null, null],
  "result": false,
  "status": [0, 1, 0, 1]
}

20-Point Calibration

Description: A method for calibrating the robot by calibrating at 20 specific points to ensure robot accuracy and stability.

Host Calibration Calculation Request

Command Word: 0x3710

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
noCalZeroboolWhether to calibrate zero
robotintRange [1,4], current robot number
toolintRange [1,999], current tool number
json
{
  "calibrationType": 20,
  "noCalZero": false,
  "robot": 1,
  "tool": 1
}

Host Point N Calibration Request

Command Word: 0x3711

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
pointintCalibration point number. 2-point method range [0,1], 12-point method range [0,11], 15-point method range [0,14], 20-point method range [0,19]
robotintRange [1,4], current robot number
toolintRange [1,999], current tool number
json
{
  "calibrationType": 20,
  "point": 1,
  "robot": 1,
  "tool": 1
}

Controller Replies Point N Calibration Information to Host

Command Word: 0x3712

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
pointintCalibration point number. 2-point method range [0,1], 12-point method range [0,11], 15-point method range [0,14], 20-point method range [0,19]
positiondouble[]Calibration point joint coordinate information list, length 6
robotintRange [1,4], current robot number
json
{
  "calibrationType": 20,
  "point": 1,
  "position": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
  "robot": 1
}

Controller Replies Calibration Calculation Result to Host

Command Word: 0x3713

ParameterTypeRange/Description
distancedoubleCalibration calculation result. Result -1 means calculation failed, result >10 means please recalibrate
resultboolWhether calibration calculation succeeded
robotintRange [1,4], current robot number
json
{
  "distance": 464.473876425245,
  "result": true,
  "robot": 1
}

Host Sends Setting Calibration Result as Zero Point

Command Word: 0x3714

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
robotintRange [1,4], current robot number
toolintRange [1,999], current tool number
json
{
  "calibrationType": 12,
  "robot": 1,
  "tool": 1
}

Controller Replies Calibration Result Zero Point Setting Result to Host

Command Word: 0x3715

ParameterTypeRange/Description
applyboolWhether setting as zero point succeeded
robotintRange [1,4], current robot number
json
{
  "apply": true,
  "robot": 1
}

Host Queries All Point Calibration Status

Command Word: 0x3716

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
robotintRange [1,4], current robot number
toolintRange [1,999], current tool number
json
{
  "calibrationType": 20,
  "robot": 1,
  "tool": 1
}

Controller Replies All Point Calibration Status to Host

Command Word: 0x3717

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
robotintRange [1,4], current robot number
statusint[]Point calibration status list. 1 means calibrated, 0 means not calibrated. Length depends on current calibration method
json
{
  "calibrationType": 20,
  "robot": 1,
  "status": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
}

Host Requests to Clear Point N Calibration Status

Command Word: 0x3718

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
pointintRange [0,20], calibration point number. 20 means clear all points
robotintRange [1,4], current robot number
toolintRange [1,999], current tool number
json
{
  "calibrationType": 20,
  "point": 20,
  "robot": 1,
  "tool": 1
}

Host Queries Point N Position Information

Command Word: 0x3719

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
pointintCalibration point number. 2-point method range [0,1], 12-point method range [0,11], 15-point method range [0,14], 20-point method range [0,19]
robotintRange [1,4], current robot number
toolintRange [1,999], current tool number
json
{
  "calibrationType": 20,
  "point": 1,
  "robot": 1,
  "tool": 1
}

Controller Replies Point N Position Information to Host

Command Word: 0x371A

ParameterTypeRange/Description
calibrationTypeintCalibration point method. 2 means 2-point method, 12 means 12-point method, 15 means 15-point method, 20 means 20-point method with zero calibration, 21 means 21-point method without zero calibration
pointintCalibration point number. 2-point method range [0,1], 12-point method range [0,11], 15-point method range [0,14], 20-point method range [0,19]
positiondouble[]Calibration point joint coordinate information list, length 6
robotintRange [1,4], current robot number
json
{
  "calibrationType": 20,
  "point": 1,
  "position": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
  "robot": 1
}

Host Requests to Move to Calculation Result Position

Command Word: 0x371B

ParameterTypeRange/Description
robotintRange [1,4], current robot number
json
{
  "robot": 1
}

Host Queries Whether Calibration Page Can Be Opened

Command Word: 0x371C

json
{}

Controller Replies Whether Calibration Page Can Be Opened to Host

Command Word: 0x371D

ParameterTypeRange/Description
canCalibrationboolWhether the host can open the calibration page
json
{
  "canCalibration": true
}

External Axis Calibration

Description: Includes rotary axis calibration and linear axis (track) coordination parameters.

Host External Rotary Axis Calibration Calculation Request

Command Word: 0x3730

ParameterTypeRange/Description
calibrateNumintRange [1,3], current axis group number
robotintRange [1,4], current robot number
json
{
  "calibrateNum": 1,
  "robot": 1
}

Host External Axis Point N Calibration Request

Command Word: 0x3731

ParameterTypeRange/Description
externalGroupNumintRange [1,3], current axis group number
pointNumintRange [0,4], marker point number. Rotary dual-turn range [0,4]; rotary single-axis range [0,2]
robotintRange [1,4], current robot number
json
{
  "externalGroupNum": 1,
  "pointNum": 0,
  "robot": 1
}

Controller Replies External Axis Point N Calibration Information to Host

Command Word: 0x3732

ParameterTypeRange/Description
externalGroupNumintRange [1,3], current axis group number
pointNumintRange [0,4], marker point number. Rotary dual-turn range [0,4]; rotary single-axis range [0,2]
posdouble[]Calibration point Cartesian coordinate information list, length 6
robotintRange [1,4], current robot number
json
{
  "externalGroupNum": 1,
  "pointNum": 0,
  "pos": [470.746, 0.0, 817.334, 3.14159265359, 0.0, 0.0],
  "robot": 1
}

Controller Replies External Axis Calibration Calculation Result to Host

Command Word: 0x3733

ParameterTypeRange/Description
resultboolWhether external axis calibration calculation succeeded
robotintRange [1,4], current robot number
json
{
  "result": true,
  "robot": 1
}

Host Queries Robot Bound External Axis Calibration Status

Command Word: 0x3734

ParameterTypeRange/Description
robotintRange [1,4], current robot number
json
{
  "robot": 1
}

Controller Replies Robot Bound External Axis Calibration Status to Host

Command Word: 0x3735

ParameterTypeRange/Description
calibrateResultbool[]Length 3, robot bound external axis calibration status. true means calibrated, false means not calibrated
robotintRange [1,4], current robot number
json
{
  "calibrateResult": [false, false, false],
  "robot": 1
}

Host Sets Current Cooperative External Axis Group Number

Command Word: 0x3736

ParameterTypeRange/Description
externalGroupNumintRange [0,2], cooperative external axis group number
robotintRange [1,4], current robot number
json
{
  "externalGroupNum": 0,
  "robot": 1
}

Host Queries Current Cooperative External Axis Group Number

Command Word: 0x3737

ParameterTypeRange/Description
robotintRange [1,4], current robot number
json
{
  "robot": 1
}

Controller Replies Current Cooperative External Axis Group Number to Host

Command Word: 0x3738

ParameterTypeRange/Description
externalGroupNumintRange [0,2], cooperative external axis group number
robotintRange [1,4], current robot number
json
{
  "externalGroupNum": 0,
  "robot": 1
}

Host Sets Track Coordination Parameters

Command Word: 0x3739

ParameterTypeRange/Description
calibrateResultboolWhether track is coordinated. Coordinated: determined when enable address is set
conversionRatiodouble[]Length 3, axis conversion ratio list, range [-9998,9998]. Parts exceeding current axis count default to 1.0
trackMapint[]Length 3, track axis directions. 0 means no direction selected, 1 means X direction, 2 means Y axis direction, 3 means Z axis direction. Parts exceeding current axis count default to 0
json
{
  "calibrateResult": true,
  "conversionRatio": [58.0, 1.0, 1.0],
  "trackMap": [1, 0, 0]
}

Host Queries Current Robot Track Coordination Parameters

Command Word: 0x373A

ParameterTypeRange/Description
robotintRange [1,4], current robot number
json
{
  "robot": 1
}

Controller Replies Current Robot Track Coordination Parameters

Command Word: 0x373B

ParameterTypeRange/Description
calibrateResultboolWhether track is coordinated
conversionRatiodouble[]Length 3, axis conversion ratio list, range [-9998,9998]. Initialized to 9999
robotintCurrent robot number
trackMapint[]Length 3, track axis directions. 0 means no direction selected, 1 means X direction, 2 means Y axis direction, 3 means Z axis direction. Initialized to 0
json
{
  "calibrateResult": false,
  "conversionRatio": [9999, 9999, 9999],
  "robot": 1,
  "trackMap": [0, 0, 0]
}

Host Sends Setting External Axis Calibration Result

Command Word: 0x373C

ParameterTypeRange/Description
syncPositionerNumintRange [1,3], current axis group number
resultArraydouble[][]Axis calibration result list. First dimension length is current total external axis count, second dimension length is 6
json
{
  "syncPositionerNum": 1,
  "resultArray": [
    [0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0]
  ]
}

Host Queries External Axis Calibration Result

Command Word: 0x373D

ParameterTypeRange/Description
syncPositionerNumintRange [1,3], current axis group number
json
{
  "syncPositionerNum": 1
}

Controller Replies External Axis Calibration Result to Host

Command Word: 0x373E

ParameterTypeRange/Description
syncPositionerNumintRange [1,3], current axis group number
calibrateResultboolExternal axis calibration calculation result
resultArraydouble[][]Axis calibration result list. First dimension length is current total external axis count, second dimension length is 6
json
{
  "syncPositionerNum": 1,
  "calibrateResult": false,
  "resultArray": [
    [0, 0, 0, 0, 0, 0],
    [0, 0, 0, 0, 0, 0]
  ]
}

Host Sends Setting Track Direction Calibration Coefficient

Command Word: 0x373F

ParameterTypeRange/Description
axis_numintRange [1,3], track axis number
direction_ratiodouble[]Direction calibration coefficient, range [-100,100]. Parameters are X direction coefficient, Y direction coefficient, Z direction coefficient
json
{
  "axis_num": 1,
  "direction_ratio": [1.0, 0.0, 0.0]
}

Host Queries Track Direction Calibration Coefficient

Command Word: 0x3740

ParameterTypeRange/Description
axis_numintRange [1,3], track axis number
json
{
  "axis_num": 1
}

Controller Replies Track Direction Calibration Coefficient

Command Word: 0x3741

ParameterTypeRange/Description
axis_numintRange [1,3], track axis number
direction_ratiodouble[]Direction calibration coefficient, range [-100,100]. Parameters are X direction coefficient, Y direction coefficient, Z direction coefficient
json
{
  "axis_num": 1,
  "direction_ratio": [1.0, 0.0, 0.0]
}

Host Axis Point N Calibration Request

Command Word: 0x3742

ParameterTypeRange/Description
axis_numintRange [1,3], current axis number being calibrated
point_numintRange [1,2], current calibration point number
json
{
  "axis_num": 1,
  "point_num": 1
}

Host Requests Track to Move to Marker Point

Command Word: 0x3743

ParameterTypeRange/Description
axis_numintRange [1,3], current axis number being calibrated
point_numintRange [1,2], current calibration point number
json
{
  "axis_num": 1,
  "point_num": 1
}

Host Track Calibration Point Calculation Request

Command Word: 0x3744

ParameterTypeRange/Description
axis_numintRange [1,3], current axis number being calibrated
json
{
  "axis_num": 1
}

Controller Replies Calibration Calculation Result to Host

Command Word: 0x3745

ParameterTypeRange/Description
axis_numintRange [1,3], track axis number
direction_ratiodouble[]Direction calibration coefficient. Parameters are X direction coefficient, Y direction coefficient, Z direction coefficient
json
{
  "axis_num": 1,
  "direction_ratio": [1.0, 0.0, 0.0]
}