Skip to content

Remote Program Settings

Remote Mode Connection Status

Query Modbus and External IO Connection Status

Command Code: 0x5032 REMOTE_CONNECT_INQUIRE

Request body:

json
{}

Return Connection Status

Command Code: 0x5033 REMOTE_CONNECT_RESPOND

ParameterTypeDescription
ModbusConnectboolModbus connection status: false not connected, true connected
ExternIOConnectboolExternal IO connection status: false not connected, true connected
typeintConnection type: 0:NAN, 1:RTU, 2:TCP

Response body:

json
{
  "ModbusConnect": false,
  "ExternIOConnect": true,
  "type": 2
}

Remote Job File Settings

Set Remote Job File

Command Code: 0x2C01 REMOTE_JOBFILE_SET

ParameterTypeDescription
robotintRobot number
jobFilearrayJob file list

jobFile array elements:

ParameterTypeDescription
namestringJob file name
timesintNumber of runs

Request body:

json
{
  "robot": 1,
  "jobFile": [
    {"name": "Q1", "times": 1},
    {"name": "Q2", "times": 1},
    {"name": "Q3", "times": 1},
    {"name": "Q4", "times": 1},
    {"name": "Q5", "times": 1}
    // ... up to 10
  ]
}

Get Remote Job File

Command Code: 0x2C02 REMOTE_JOBFILE_INQUIRE

Request body:

json
{
  "robot": 1
}

Return Job File Query Result

Command Code: 0x2C03 REMOTE_JOBFILE_RESPOND

Response body:

json
{
  "robot": 1,
  "jobFile": [
    {"name": "Q1", "times": 3},
    {"name": "Q2", "times": 3},
    {"name": "", "times": 1},
    {"name": "Q4", "times": 2},
    {"name": "", "times": 1}
  ]
}

Remote Mode Parameter Settings

Set Remote Mode Parameters

Command Code: 0x2C04 REMOTE_PARA_SET

ParameterTypeDescription
robotintRobot number
remoteDefaultSpeedintRemote mode speed, range 1~100
reserveIsStartintReserve and start: 1 start, 0 off
reserveTrgTimeintStart confirmation time, range 200~1000ms
waitingTimeintIO repeat trigger time

Request body:

json
{
  "robot": 1,
  "remoteDefaultSpeed": 15,
  "reserveIsStart": 1,
  "reserveTrgTime": 200,
  "waitingTime": 500
}

Query Remote Mode Parameters

Command Code: 0x2C05 REMOTE_PARA_INQUIRE

Request body:

json
{
  "robot": 1
}

Return Remote Mode Parameter Query Result

Command Code: 0x2C06 REMOTE_PARA_RESPOND

Response body:

json
{
  "robot": 1,
  "remoteDefaultSpeed": 15,
  "reserveIsStart": 1,
  "reserveTrgTime": 200,
  "waitingTime": 500
}