Instructions - Conveyor
Conveyor Workpiece Detection Start
Instruction Name: CONVEYOR_CHECKPOS
Description: Conveyor workpiece detection start
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| ID | int | Yes | Process number, value range [1,9] |
| logout | bool | Yes | Whether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable |
| type | int | Yes | Enum value, CONVEYOR_CHECKPOS is 107 in the enum type list |
| userParamInt | int | No | Customer-defined for secondary development, currently meaningless |
| userParamString | string | No | Customer-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 Name | Type | Required | Description |
|---|---|---|---|
| ID | int | Yes | Process number, value range [1,9] |
| logout | bool | Yes | Whether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable |
| type | int | Yes | Enum value, CONVEYOR_CHECKEND is 108 in the enum type list |
| userParamInt | int | No | Customer-defined for secondary development, currently meaningless |
| userParamString | string | No | Customer-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 Name | Type | Required | Description |
|---|---|---|---|
| ID | int | Yes | Process number, value range [1,9] |
| ParaACC | object | Yes | Acceleration, double type manually entered value or int type or double type global or local variable or bound variable; value range [1,100]% |
| ParaV | object | Yes | Speed, double type manually entered value or int type or double type global or local variable or bound variable; value range [2,1000]mm/s |
| logout | bool | Yes | Whether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable |
| m_positionId | string | No | Point, e.g.: "GP0001"; used when filling in a point variable, otherwise empty |
| m_postype | int | No | When the point is a workpiece point, the value is 1; value range [0,1] |
| posidname | string | No | Point, e.g.: GP$I001; used when the filled point value is a point bound variable, otherwise empty |
| posidtype | int | No | Point type: 0=point type is not a bound point variable; 1=point type is a bound point variable |
| type | int | Yes | Enum value, CONVEYOR_ON is 105 in the enum type list |
| userParamInt | int | No | Customer-defined for secondary development, currently meaningless |
| userParamString | string | No | Customer-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 Name | Type | Required | Description |
|---|---|---|---|
| ID | int | Yes | Process number, value range [1,9] |
| logout | bool | Yes | Whether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable |
| type | int | Yes | Enum value, CONVEYOR_OFF is 106 in the enum type list |
| userParamInt | int | No | Customer-defined for secondary development, currently meaningless |
| userParamString | string | No | Customer-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 Name | Type | Required | Description |
|---|---|---|---|
| ID | int | Yes | Process number, value range [1,9] |
| dataVariable | object | No | First 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 |
| logout | bool | Yes | Whether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable |
| m_positionId | string | Yes | Global position variable, GP variable; value range GP00001-GP9999 |
| type | int | Yes | Enum value, CONVEYOR_POS is 176 in the enum type list |
| userParamInt | int | No | Customer-defined for secondary development, currently meaningless |
| userParamString | string | No | Customer-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 Name | Type | Required | Description |
|---|---|---|---|
| ID | int | Yes | Process number, value range [1,9] |
| logout | bool | Yes | Whether commented out: true=the instruction will not be executed in the job file; false=not commented out, executable |
| removeType | int | Yes | Delete scope: 0=all targets; 1=current targets; value range [0,1] |
| type | int | Yes | Enum value, CONVEYOR_CLEAR is 220 in the enum type list |
| userParamInt | int | No | Customer-defined for secondary development, currently meaningless |
| userParamString | string | No | Customer-defined for secondary development, currently meaningless |
JSON Example:
json
{
"ID": 6,
"logout": false,
"removeType": 1,
"type": 220,
"userParamInt": 0,
"userParamString": ""
}