Skip to content

Data Upload ​

Set Data Upload Switch ​

Command Code: 0x5721 DATAUPLOAD_ENABLE_SET

Send ​

json
{
  "robot": 1,
  "enable": true
}
ParameterTypeDescription
robotintRobot number
enableboolWhether to upload data (true-upload, false-no upload)

Query Data Transfer Status ​

Command Code: 0x5722 DATAUPLOAD_ENABLE_INQUIRE

Send ​

json
{
  "robot": 1
}
ParameterTypeDescription
robotintRobot number

Return Data Transfer Status ​

Command Code: 0x5723 DATAUPLOAD_ENABLE_RESPOND

Response ​

json
{
  "robot": 1,
  "enable": true
}
ParameterTypeDescription
robotintRobot number
enableboolWhether to upload data (true-upload, false-no upload)

Set Data Transfer Parameters ​

Command Code: 0x5724 DATAUPLOAD_PARM_SET

Send ​

json
{
  "robot": 1,
  "uploadMode": "FTP",
  "fileSuffix": ".csv",
  "serverIP": "192.168.1.100",
  "serverPort": 21,
  "username": "admin",
  "password": "password",
  "filepath": "/data",
  "dataCollectTime": 60.0,
  "dataUploadTime": 300.0,
  "sendInfoFileFlag": true
}
ParameterTypeDescription
robotintRobot number
uploadModestringUpload method (e.g. FTP)
fileSuffixstringFile format (e.g. .csv)
serverIPstringServer IP address
serverPortintPort number
usernamestringUsername
passwordstringPassword
filepathstringPath
dataCollectTimedoubleData collection cycle (seconds)
dataUploadTimedoubleData upload cycle (seconds)
sendInfoFileFlagboolWhether to send the description file

Query Data Transfer Parameters ​

Command Code: 0x5725 DATAUPLOAD_PARM_INQUIRE

Send ​

json
{
  "robot": 1
}
ParameterTypeDescription
robotintRobot number

Return Data Transfer Parameters ​

Command Code: 0x5726 DATAUPLOAD_PARM_RESPOND

Response ​

Return parameters are the same as 0x5724 (Set Data Transfer Parameters)


Set Upload Data Format ​

Command Code: 0x5727 DATAUPLOAD_FORMAT_SET

Send ​

json
{
  "robot": 1,
  "type": 1,
  "format": "datafile"
}
ParameterTypeDescription
robotintRobot number
typeintData type (1, 2, 3, 4)
formatstringDescription document file name

Query Data Format ​

Command Code: 0x5728 DATAUPLOAD_FORMAT_INQUIRE

Send ​

json
{
  "robot": 1,
  "type": 1
}
ParameterTypeDescription
robotintRobot number
typeintData type (1, 2, 3, 4)

Return Data Format ​

Command Code: 0x5729 DATAUPLOAD_FORMAT_RESPOND

Response ​

json
{
  "robot": 1,
  "type": 1,
  "format": "datafile"
}
ParameterTypeDescription
robotintRobot number
typeintData type (1, 2, 3, 4)
formatstringDescription document file name
🤖 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