Skip to content

Errors

Clear Error

Used to clear servo errors.

Clear Servo Error

Command: 0x1100

FieldTypeDescription
robotintRobot number to operate, range [1, 4]
json
{
  "robot": 1
}

Controller Reply

Command: 0x1101

FieldTypeDescription
robotintRobot number, range [1, 4]
clearErrorFlagboolWhether the clear was successful; true means servo error cleared successfully, false means clear failed
json
{
  "robot": 1,
  "clearErrorFlag": true
}

Message Prompts

The controller sends error prompts/warning prompts/message prompts/popup prompts to the host computer.

Error Prompt

Command: 0x1110

FieldTypeDescription
robotintRobot number, range [0, 4]; 0 means no robot type selected or the error content is not related to a robot
kindintPopup prompt type: 0 for message, 1 for warning, 2 for error
datastringMessage bar content; different errors correspond to different content
codeintMessage code
paramint[]Message content parameters; the number varies depending on the specific code, with 5 reserved
json
{
  "code": 28680,
  "data": "Instruction [0x5743] does not exist",
  "kind": 2,
  "param": [22339, 3],
  "robot": 0
}

Warning Prompt

Command: 0x1111

FieldTypeDescription
robotintRobot number, range [0, 4]; 0 means no robot type selected or the warning content is not related to a robot
kindintPopup prompt type: 0 for message, 1 for warning, 2 for error
datastringMessage bar content; different warnings correspond to different content
codeintMessage code
paramint[]Message content parameters; the number varies depending on the specific code, with 5 reserved
json
{
  "code": 16385,
  "data": "Robot 1 parameter configuration file does not exist, has been created, please configure parameters",
  "kind": 1,
  "param": [1],
  "robot": 1
}

Message Prompt

Command: 0x1112

FieldTypeDescription
robotintRobot number, range [0, 4]; 0 means no robot type selected or the message content is not related to a robot
kindintPopup prompt type: 0 for message, 1 for warning, 2 for error
datastringMessage bar content; different messages correspond to different content
codeintMessage code
json
{
  "code": 21764,
  "data": "Auto backup successful",
  "kind": 0,
  "robot": 0
}

Command: 0x1113

FieldTypeDescription
countintNumber of popup buttons, up to 3
text1stringMain text displayed in the center of the popup
text2stringText for button 1
text3stringText for button 2
text4stringText for button 3
kindintPopup prompt type: 0 for message, 1 for warning, 2 for error
nodeintRobot number, range [1, 4]
TipsboolPopup display; true means show popup
json
{
  "count": 1,
  "text1": "Example",
  "text2": "Example",
  "text3": "Example",
  "text4": "Example",
  "kind": 1,
  "node": 1,
  "Tips": true
}

Set corresponding configurations based on the user's operation on the popup.

Command: 0x1114

FieldTypeDescription
nodeintRobot number, range [1, 4]
optionintCorresponding to popup option 1-3 content, range [1, 3]
json
{
  "node": 1,
  "option": 1
}