NRC_Pallet_SetGripperParm(int id, int gripperSum, int gripper[4])
Set palletizing gripper data
Type
int =>Set palletizing gripper data
| Return value | Description |
|---|---|
| 0 | The function is called successfully |
| -101 | Invalid input parameter |
| -102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
| -103 | The target object is currently in an inoperable state |
Parameter Option
| Parameter | Type | Description |
|---|---|---|
| id | int | The process number of the palletizing process, parameter range: 1 <= id <= 9 |
| gripperSum | int | The total number of available grippers, parameter range: 1 <= gripperSum <= 4 |
| gripper [4] | int | The tool coordinate number bound to each gripper, 1 <= gripper[i] <= 9 |
Sample code
gripperSum = 1;
int gripper[4] = {2,4,6,7};
NRC_Pallet_SetGripperParm(id,gripperSum,gripper);