NRC_Pallet_SetPalletedWpNum(int id, int layerNum, int layerPalletedWpNum)
Set the number of palletized workpieces
Type
int =>Set the number of palletized workpieces
| 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 |
| layerNum | int | The number of palletized layer to be modified |
| layerPalletedWpNum | int | The number of palletized workpieces on a layer to be modified |
Sample code
NRC_Pallet_SetPalletedWpNum(1,2,3);