NRC_Pallet_SetUsePalletType(int id, int type)
Set whether to use simple palletizing or complete palletizing
Type
int =>Set whether to use simple palletizing or complete palletizing
| 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 |
| type | int | The type of palletizing used; 0: simple palletizing; 1: complete palletizing |
Sample code
NRC_Pallet_SetUsePalletType(1, 0);//Process number 1, simple palletizing