Skip to content

Instructions - Conveyor


Conveyor Workpiece Detection Start

Instruction Name: CONVEYOR_CHECKPOS

Description: Conveyor workpiece detection start

Parameter NameTypeRequiredDescription
IDintYesProcess number, value range [1,9]
logoutboolYesWhether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable
typeintYesEnum value, CONVEYOR_CHECKPOS is 107 in the enum type list
userParamIntintNoCustomer-defined for secondary development, currently meaningless
userParamStringstringNoCustomer-defined for secondary development, currently meaningless

JSON Example:

json
{
  "ID": 6,
  "logout": false,
  "type": 107,
  "userParamInt": 0,
  "userParamString": ""
}

Conveyor Workpiece Detection End

Instruction Name: CONVEYOR_CHECKEND

Description: Conveyor workpiece detection end

Parameter NameTypeRequiredDescription
IDintYesProcess number, value range [1,9]
logoutboolYesWhether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable
typeintYesEnum value, CONVEYOR_CHECKEND is 108 in the enum type list
userParamIntintNoCustomer-defined for secondary development, currently meaningless
userParamStringstringNoCustomer-defined for secondary development, currently meaningless

JSON Example:

json
{
  "ID": 6,
  "logout": false,
  "type": 108,
  "userParamInt": 0,
  "userParamString": ""
}

Conveyor Tracking Start

Instruction Name: CONVEYOR_ON

Description: Conveyor tracking start

Parameter NameTypeRequiredDescription
IDintYesProcess number, value range [1,9]
ParaACCobjectYesAcceleration, double type manually entered value or int type or double type global or local variable or bound variable; value range [1,100]%
ParaVobjectYesSpeed, double type manually entered value or int type or double type global or local variable or bound variable; value range [2,1000]mm/s
logoutboolYesWhether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable
m_positionIdstringNoPoint, e.g.: "GP0001"; used when filling in a point variable, otherwise empty
m_postypeintNoWhen the point is a workpiece point, the value is 1; value range [0,1]
posidnamestringNoPoint, e.g.: GP$I001; used when the filled point value is a point bound variable, otherwise empty
posidtypeintNoPoint type: 0=point type is not a bound point variable; 1=point type is a bound point variable
typeintYesEnum value, CONVEYOR_ON is 105 in the enum type list
userParamIntintNoCustomer-defined for secondary development, currently meaningless
userParamStringstringNoCustomer-defined for secondary development, currently meaningless

JSON Example:

json
{
  "ID": 6,
  "ParaACC": {
    "data": 0.0,
    "secondvalue": 0,
    "value": 1,
    "varname": "GI007"
  },
  "ParaV": {
    "data": 0.0,
    "m_vUnit": 1,
    "secondvalue": 0,
    "value": 1,
    "varname": "GD003"
  },
  "logout": false,
  "m_positionId": "",
  "m_postype": 1,
  "posidname": "",
  "posidtype": 0,
  "type": 105,
  "userParamInt": 0,
  "userParamString": ""
}

Conveyor Tracking End

Instruction Name: CONVEYOR_OFF

Description: Conveyor tracking end

Parameter NameTypeRequiredDescription
IDintYesProcess number, value range [1,9]
logoutboolYesWhether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable
typeintYesEnum value, CONVEYOR_OFF is 106 in the enum type list
userParamIntintNoCustomer-defined for secondary development, currently meaningless
userParamStringstringNoCustomer-defined for secondary development, currently meaningless

JSON Example:

json
{
  "ID": 6,
  "logout": false,
  "type": 106,
  "userParamInt": 0,
  "userParamString": ""
}

Get Conveyor Tracking Position

Instruction Name: CONVEYOR_POS

Description: Get conveyor tracking position

Parameter NameTypeRequiredDescription
IDintYesProcess number, value range [1,9]
dataVariableobjectNoFirst additional data variable, int type or double type or string type global or local or global variable or bound variable; when not in use, all values are empty
logoutboolYesWhether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable
m_positionIdstringYesGlobal position variable, GP variable; value range GP00001-GP9999
typeintYesEnum value, CONVEYOR_POS is 176 in the enum type list
userParamIntintNoCustomer-defined for secondary development, currently meaningless
userParamStringstringNoCustomer-defined for secondary development, currently meaningless

JSON Example:

json
{
  "ID": 6,
  "dataVariable": {
    "data": 0.0,
    "secondvalue": 1,
    "value": 5,
    "varname": "GD[I001]"
  },
  "logout": false,
  "m_positionId": "GP0019",
  "type": 176,
  "userParamInt": 0,
  "userParamString": ""
}

Delete Conveyor Tracking Target

Instruction Name: CONVEYOR_CLEAR

Description: Delete conveyor tracking target

Parameter NameTypeRequiredDescription
IDintYesProcess number, value range [1,9]
logoutboolYesWhether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable
removeTypeintYesDelete scope: 0=all targets; 1=current targets; value range [0,1]
typeintYesEnum value, CONVEYOR_CLEAR is 220 in the enum type list
userParamIntintNoCustomer-defined for secondary development, currently meaningless
userParamStringstringNoCustomer-defined for secondary development, currently meaningless

JSON Example:

json
{
  "ID": 6,
  "logout": false,
  "removeType": 1,
  "type": 220,
  "userParamInt": 0,
  "userParamString": ""
}