Skip to content

Seam Tracking

Tracking

Tracking Sensor Type

Set Tracking Sensor Type

  • Command: 0x8740
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
fileNumint[1,99]Tracking file number
robotint[1,4]Robot number
sensorTypeint[0,2]Tracking type: 0-Line laser, 1-Arc, 2-Arc voltage

Request Example:

json
{
  "fileNum": 1,
  "robot": 1,
  "sensorType": 0
}

Query Tracking Sensor Type

  • Command: 0x8741
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
fileNumint[1,99]Tracking file number
robotint[1,4]Robot number

Request Example:

json
{
  "fileNum": 1,
  "robot": 1
}

Return Tracking Sensor Type

  • Command: 0x8742
  • Direction: Upper computer receives
  • data: Same as 0x8740

Arc Communication Parameters

Set Arc Communication Parameters

  • Command: 0x874d
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number
dataTypeint[0,1]Sampling data type: 0-Current, 1-Voltage
periodint[0,1000]msSampling period

Request Example:

json
{
  "craftid": 1,
  "robot": 1,
  "sampling":
  {
    "dataType": 0,
    "period": 20
  }
}

Query Arc Communication Parameters

  • Command: 0x874e
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number

Request Example:

json
{
  "craftid": 1,
  "robot": 1
}

Return Arc Communication Parameters

  • Command: 0x874f
  • Direction: Upper computer receives
  • data: Same as 0x874d

Arc Compensation Parameters

Set Arc Tracking Lateral Compensation Parameters

  • Command: 0x8750
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number
accFactordouble[0.1,10]Compensation acceleration factor, corresponding to current motion command acceleration
algorithmTypeint[0,1]Deviation extraction type: 0-Mean, 1-Manual value
beginCycleNumint[1,100]Start sampling cycle count
differentialdouble[0,1]Derivative coefficient
integraldouble[0,1]Integral coefficient
maxSingleLendouble[0,10]Maximum compensation per cycle
scaledouble[0,1]Proportional coefficient
switchonbooltrue/falseCompensation switch: true-On, false-Off

Request Example:

json
{
  "craftid": 1,
  "lateralCompensation":
  {
    "accFactor": 1.0,
    "algorithmType": 0,
    "beginCycleNum": 4,
    "differential": 0.0,
    "integral": 0.00050,
    "maxSingleLen": 2.0,
    "scale": 0.050,
    "switchon": true
  },
  "robot": 1
}

Query Arc Tracking Lateral Compensation Parameters

  • Command: 0x8751
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number

Request Example:

json
{
  "craftid": 1,
  "robot": 1
}

Return Arc Tracking Lateral Compensation Parameters

  • Command: 0x8752
  • Direction: Upper computer receives (controller returns)
  • data: Same as 0x8750

Set Arc Tracking Vertical Compensation Parameters

  • Command: 0x8753
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number
accFactordouble[0.1,10]Compensation acceleration factor, corresponding to current motion command acceleration
algorithmTypeint[0,1]Deviation extraction type: 0-Mean, 1-Manual value
beginCycleNumint[1,100]Start sampling cycle count
custom_valuedouble[0,1000]AManual value for deviation extraction type
differentialdouble[0,1]Derivative coefficient
integraldouble[0,1]Integral coefficient
maxSingleLendouble[0,10]Maximum compensation per cycle
scaledouble[0,1]Proportional coefficient
switchonbooltrue/falseCompensation switch: true-On, false-Off

Request Example:

json
{
  "craftid": 1,
  "robot": 1,
  "verticalCompensation":
  {
    "accFactor": 1.0,
    "algorithmType": 0,
    "beginCycleNum": 4,
    "custom_value": 0.0,
    "differential": 0.0,
    "integral": 0.00050,
    "maxSingleLen": 0.50,
    "scale": 0.050,
    "switchon": true
  }
}

Query Arc Tracking Vertical Compensation Parameters

  • Command: 0x8754
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number

Request Example:

json
{
  "craftid": 1,
  "robot": 1
}

Return Arc Tracking Vertical Compensation Parameters

  • Command: 0x8755
  • Direction: Controller sends
  • data: Same as 0x8753

Set Arc Tracking Path Data Record

  • Command: 0x8756
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number
cycledouble[1,1000000000]mmTracking path data record cycle
typeint[0,1]Tracking path data record method: 0-Distance, 1-Time

Request Example:

json
{
  "craftid": 1,
  "robot": 1,
  "track_path_record":
  {
    "cycle": 30.0,
    "type": 0
  }
}

Query Arc Tracking Path Data Record

  • Command: 0x8757
  • Direction: Upper computer sends
ParameterTypeValue RangeDescription
craftidint[1,99]Tracking file number
robotint[1,4]Robot number

Request Example:

json
{
  "craftid": 1,
  "robot": 1
}

Return Arc Tracking Path Data Record

  • Command: 0x8758
  • Direction: Controller sends
  • data: Same as 0x8756