Skip to content

Force Control


1. Collision Detection

Collision Detection Switch Set

FieldTypeDescription
0x7406COLLISION_DETECTION_SET

Request Parameters:

ParameterTypeRequiredDescription
switchboolYesCollision detection switch
json
{
  "switch": true
}

Get Collision Detection Switch Status

FieldTypeDescription
0x7407COLLISION_DETECTION_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x7408COLLISION_DETECTION_RESPOND

Response Parameters:

ParameterTypeDescription
is_identificationboolIdentification status
restrart_switchboolRestart switch
switchboolCollision detection switch
json
{
  "is_identification": true,
  "restrart_switch": true,
  "switch": true
}

Collision Detection Parameter Set

FieldTypeDescription
0x7409COLLISION_DETECTION_PARAM_SET

Request Parameters:

ParameterTypeRequiredDescription
Co_De_paraarray[double]YesThreshold, array length 6
error_enable_timedoubleYesError allowed time
pos_delay_timedoubleYesCommand position response time
json
{
  "Co_De_para": [3.0, 4.0, 5.0, 6.0, 7.0, 8.0],
  "error_enable_time": 2.0,
  "pos_delay_time": 1.0
}

Get Collision Detection Parameters

FieldTypeDescription
0x740ACOLLISION_DETECTION_PARAM_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x740BCOLLISION_DETECTION_PARAM_RESPOND

Response Parameters: Same as 0x7409


2. Torque Feedforward

Torque Feedforward Switch Set

FieldTypeDescription
0x740CTORQ_FEEDBACK_SET

Request Parameters:

ParameterTypeRequiredDescription
torqFeedbackboolYesTorque feedforward switch
json
{
  "torqFeedback": true
}

Query Torque Feedforward Status

FieldTypeDescription
0x740DTORQ_FEEDBACK_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x740ETORQ_FEEDBACK_RESPOND

Response Parameters: Same as 0x740C


3. Drag Teaching

Query Drag Teaching

FieldTypeDescription
0x7501DRAG_TRAJ_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x7502DRAG_TRAJ_RESPOND

Response Parameters:

ParameterTypeRequiredDescription
TrajNamearray[string]YesTrajectory name list
json
{
  "TrajName": ["RRR", "TTT"]
}

Drag Teaching Parameter Set

FieldTypeDescription
0x7504DRAG_PARAM_SET

Request Parameters:

ParameterTypeRequiredDescription
DecareLimitdoubleYesCartesian space linear velocity limit
JointVelLimitdoubleYesJoint space velocity limit
drag_modeintYesDrag mode: 0-free drag, 1-position drag, 2-attitude drag
frictionOffsetarray[double]YesJoint 1-6 friction compensation correction coefficient
dragCoefficientarray[double]YesJoint over-limit resistance coefficient, length 6, range [1,100]
json
{
  "DecareLimit": 1.0,
  "JointVelLimit": 2.0,
  "drag_mode": 0,
  "frictionOffset": [3.0, 3.0, 3.0, 3.0, 3.0, 3.0],
  "dragCoefficient": [5.0, 5.0, 5.0, 5.0, 5.0, 5.0]
}

Get Drag Teaching Parameters

FieldTypeDescription
0x7505DRAG_PARAM_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x7506DRAG_PARAM_RESPOND

Response Parameters: Same as 0x7504


Drag Teaching Trajectory Playback Parameter Set

FieldTypeDescription
0x7507DRAG_TRAJ_PARAM_SET

Request Parameters:

ParameterTypeRequiredDescription
MaxSamplingNumdoubleYesMaximum sampling points
SamplingIntervaldoubleYesSampling interval
StartboolYesfalse-end, true-start
json
{
  "MaxSamplingNum": 3000.0,
  "SamplingInterval": 0.030,
  "Start": false
}

Query Drag Trajectory Parameters

FieldTypeDescription
0x7508DRAG_TRAJ_PARAM_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x7509DRAG_TRAJ_PARAM_RESPOND

Response Parameters: Same as 0x7507

Query Whether Trajectory Is Recorded

FieldTypeDescription
0x750ADRAG_TRAJ_RECORD_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x750BDRAG_TRAJ_RECORD_RESPOND

Response Parameters:

ParameterTypeRequiredDescription
recordboolYesWhether drag trajectory is recorded
json
{
  "record": true
}

Trajectory Playback

FieldTypeDescription
0x750CDRAG_TRAJ_PLAYBACK

Request Parameters:

ParameterTypeRequiredDescription
trajNamestringYesTrajectory name
velintYesTrajectory playback speed, teach pendant fixed send 100
json
{
  "trajName": "",
  "vel": 100
}

Save Trajectory

FieldTypeDescription
0x750DDRAG_TRAJ_SAVE

Request Parameters:

ParameterTypeRequiredDescription
TrajNamestringYesTrajectory name
json
{
  "TrajName": "SSSSS"
}

Delete Trajectory

FieldTypeDescription
0x750EDRAG_TRAJ_DELETE

Request Parameters:

ParameterTypeRequiredDescription
TrajNamestringYesTrajectory name
json
{
  "TrajName": "SSSSS"
}

Drag Mode Set

FieldTypeDescription
0x750FDRAG_MODE

Request Parameters:

ParameterTypeRequiredDescription
modeintYesDrag mode: 0-none, 1-3D mouse, 2-torque
portintYesExternal trigger signal port number
valueintYesExternal trigger signal value
json
{
  "mode": 2,
  "port": 3,
  "value": 1
}

Query Drag Mode

FieldTypeDescription
0x7510DRAG_MODE_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x7511DRAG_MODE_RESPOND

Response Parameters: Same as 0x750F


5. External Button

Query Function Control Parameters

FieldTypeDescription
0x9114FUNCTIONALCONTROL_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x9115FUNCTIONALCONTROL_RESPOND

Array index description: 0-drag mode, 1-jog mode, 2-start trajectory acquisition, 3-end trajectory acquisition, 4-start trajectory playback, 5-power on enable, 6-power off enable, 7-gripper open, 8-gripper close, 9-save trajectory

Response Parameters:

ParameterTypeRequiredDescription
IoInPortArrarray[int]YesTrigger port (DIN), array length 11
hardwareTypeArrarray[int]YesHardware type: 0-IO, array length 11
modeArrarray[int]YesTrigger mode: 0-long press trigger port, 1-short press trigger port, array length 11
parameterArrarray[int]YesParameter: 0-trigger when port closed, 1-trigger when port open, array length 11
json
{
  "IoInPortArr": [1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 10],
  "hardwareTypeArr": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  "modeArr": [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0],
  "parameterArr": [0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0]
}

Status Prompt Query

FieldTypeDescription
0x9116STATUSPROMPT_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x9117STATUSPROMPT_RESPOND

Array index description: 0-drag mode, 1-jog mode, 2-start trajectory acquisition, 3-end trajectory acquisition, 4-start trajectory playback, 5-power on enable, 6-power off enable, 7-gripper open, 8-gripper close

Response Parameters:

ParameterTypeRequiredDescription
IoDoutPortArrarray[int]YesTrigger port (DOUT), array length 11
hardwareTypeArrarray[int]YesHardware type: 0-IO, array length 11
parameterArrarray[int]YesParameter: 0-port closed, 1-port open, 2-blinking, array length 11
json
{
  "IoDoutPortArr": [1, 2, 3, 4, 5, 0, 6, 7, 0, 0, 0],
  "hardwareTypeArr": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  "parameterArr": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
}

Set External Button Parameters

FieldTypeDescription
0x9118EXTERNKEYPARA_SET

Request Parameters:

ParameterTypeRequiredDescription
_isFunctionalControlboolYestrue-set function control parameters, false-set status prompt parameters
hardwareTypeArrarray[int]YesHardware type: 0-IO, array length 11
isClearTrackintYesWhether to clear trajectory after saving
modeArrarray[int]YesTrigger mode: 0-long press trigger port, 1-short press trigger port, array length 11
parameterArrarray[int]YesParameter, array length 11
portArrarray[int]YesTrigger port, array length 11
json
{
  "_isFunctionalControl": true,
  "hardwareTypeArr": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  "isClearTrack": 1,
  "modeArr": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  "parameterArr": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
  "portArr": [1, 2, 3, 4, 5, 0, 6, 7, 8, 9, 10]
}

6. Dynamics Parameters

Dynamics identification only supports standard 6-axis upright mounting, no load, identification related parameter settings

Trajectory Parameter Set

FieldTypeDescription
0x7601TRAJECTORY_PARAM_SET

Request Parameters:

ParameterTypeRequiredDescription
traSizedoubleYesTrajectory range
traVeldoubleYesTrajectory speed
json
{
  "traSize": 10.0,
  "traVel": 100.0
}

Query Identification Trajectory Parameters

FieldTypeDescription
0x7602TRAJECTORY_PARAM_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x7603TRAJECTORY_PARAM_RESPOND

Response Parameters:

ParameterTypeRequiredDescription
traSizedoubleYesTrajectory range, range 0-100
traVeldoubleYesTrajectory speed, range 0-100
alreadyIdenboolYestrue-identified, false-not identified
json
{
  "traSize": 50.0,
  "traVel": 50.0,
  "alreadyIden": false
}

Query Trajectory Z Axis Maximum and Minimum

FieldTypeDescription
0x7609TRAJECTORY_ZMAXMIN

0x7601 set will return 0x7609

Response Parameters:

ParameterTypeRequiredDescription
zMaxdoubleYesCurrent trajectory Z maximum
zMindoubleYesCurrent trajectory Z minimum
json
{
  "zMax": 100.0,
  "zMin": 100.0
}

Confirm Trajectory Safety Test

FieldTypeDescription
0x7604SAFE_CHECK_SET

Request Parameters: None

Controller Response

FieldTypeDescription
0x7605SAFE_CHECK_RESPOND

Response Parameters:

ParameterTypeRequiredDescription
FinishintYesConfirm safety
json
{
  "Finish": 1
}

Start Identification

FieldTypeDescription
0x7606IDENTITY_SET

Request Parameters: None

Controller Response

FieldTypeDescription
0x7607IDENTITY_RESPOND

Response Parameters:

ParameterTypeRequiredDescription
errorarray[double]YesError array, sent 10 times total
json
{
  "error": [100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
}

Identification Complete

FieldTypeDescription
0x7608IDENTITY_FINISH

Controller actively sends, after ten times sends Finish indicating complete

Response Parameters:

ParameterTypeRequiredDescription
FinishintYesCompletion flag
json
{
  "Finish": 1
}

Identification Error Stop

FieldTypeDescription
0x760AIDENTITY_ERRORSTOP

Response Parameters:

ParameterTypeRequiredDescription
ErrorStopintYesError stop flag
json
{
  "ErrorStop": 1
}

7. Payload Enable

Set Payload Parameters

FieldTypeDescription
0x8130PAYLOAD_PARA_SET

Request Parameters:

ParameterTypeRequiredDescription
axis1_actual_torq_conversion_ratiodoubleYesAxis 1 actual torque conversion ratio
axis2_actual_torq_conversion_ratiodoubleYesAxis 2 actual torque conversion ratio
axis3_actual_torq_conversion_ratiodoubleYesAxis 3 actual torque conversion ratio
axis4_actual_torq_conversion_ratiodoubleYesAxis 4 actual torque conversion ratio
axis5_actual_torq_conversion_ratiodoubleYesAxis 5 actual torque conversion ratio
axis6_actual_torq_conversion_ratiodoubleYesAxis 6 actual torque conversion ratio
payload_enableboolYesPayload enable
json
{
  "axis1_actual_torq_conversion_ratio": 6.4120,
  "axis2_actual_torq_conversion_ratio": 6.4120,
  "axis3_actual_torq_conversion_ratio": 11.7730,
  "axis4_actual_torq_conversion_ratio": 11.7730,
  "axis5_actual_torq_conversion_ratio": 33.4450,
  "axis6_actual_torq_conversion_ratio": 33.3380,
  "payload_enable": true
}

Query Payload Parameters

FieldTypeDescription
0x8131PAYLOAD_PARA_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x8132PAYLOAD_PARA_RESPOND

Response Parameters: Same as 0x8130


8. Adaptive Acceleration/Deceleration

Set Adaptive Acceleration/Deceleration Parameters

FieldTypeDescription
0x8140AUTO_MODIFY_ACC_PARA_SET

Request Parameters:

ParameterTypeRequiredDescription
arm_inertiaarray[double]YesJoint 1~3 arm inertia, array length 3
auto_modify_acc_enableboolYesEnable
joint1_massdoubleYesJoint 1 mass
joint1_mass_center_to_motor_distancedoubleYesJoint 1 center of mass to motor distance
joint2_massdoubleYesJoint 2 mass
joint2_mass_center_to_motor_distancedoubleYesJoint 2 center of mass to motor distance
joint4_massdoubleYesJoint 4 mass
json
{
  "arm_inertia": [4.0, 5.0, 6.0],
  "auto_modify_acc_enable": true,
  "joint1_mass": 1.0,
  "joint1_mass_center_to_motor_distance": 7.0,
  "joint2_mass": 2.0,
  "joint2_mass_center_to_motor_distance": 8.0,
  "joint4_mass": 3.0
}

Query Adaptive Acceleration/Deceleration Parameters

FieldTypeDescription
0x8141AUTO_MODIFY_ACC_PARA_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x8142AUTO_MODIFY_ACC_PARA_RESPOND

Response Parameters: Same as 0x8140

Threshold Parameter Set

FieldTypeDescription
0x8147AUTO_MODIFY_ACC_THRESHOLD_PARA_SET

Request Parameters:

ParameterTypeRequiredDescription
acc_threshold_lowlimitarray[double]YesAcceleration threshold lower limit, array length 4
acc_threshold_lowlimit_valuearray[double]YesAcceleration threshold lower limit value, array length 4
acc_threshold_uplimitarray[double]YesAcceleration threshold upper limit, array length 4
acc_threshold_uplimit_valuearray[double]YesAcceleration threshold upper limit value, array length 4
vel_threshold_lowlimitarray[double]YesVelocity threshold lower limit, array length 4
vel_threshold_lowlimit_valuearray[double]YesVelocity threshold lower limit value, array length 4
vel_threshold_uplimitarray[double]YesVelocity threshold upper limit, array length 4
vel_threshold_uplimit_valuearray[double]YesVelocity threshold upper limit value, array length 4
json
{
  "acc_threshold_lowlimit": [13.0, 14.0, 15.0, 16.0],
  "acc_threshold_lowlimit_value": [13.0, 14.0, 15.0, 16.0],
  "acc_threshold_uplimit": [5.0, 6.0, 7.0, 8.0],
  "acc_threshold_uplimit_value": [5.0, 6.0, 7.0, 8.0],
  "vel_threshold_lowlimit": [9.0, 10.0, 11.0, 12.0],
  "vel_threshold_lowlimit_value": [9.0, 10.0, 11.0, 12.0],
  "vel_threshold_uplimit": [1.0, 2.0, 3.0, 4.0],
  "vel_threshold_uplimit_value": [1.0, 2.0, 3.0, 4.0]
}

Query Threshold Parameters

FieldTypeDescription
0x8148AUTO_MODIFY_ACC_THRESHOLD_PARA_INQUIRE

Request Parameters: None

Controller Response

FieldTypeDescription
0x8149AUTO_MODIFY_ACC_THRESHOLD_PARA_RESPOND

Response Parameters: Same as 0x8147