NRC_Pallet_GetSimpleNumParm(int id, int& numX, int& numY, int& numZ)
Get the number data of simple palletizing
Type
int =>Get the number data of simple 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 |
| numX | int& | The number of workpieces in the X direction of the pallet (corresponding to the X direction of user coordinate) in simple palletizing, i.e. the number of rows |
| numY | int& | The number of workpieces in the Y direction of the pallet (corresponding to the Y direction of the user coordinate) in simple palletizing, i.e. the number of columns |
| numZ | int& | The number of workpieces in the Z direction of the pallet (corresponding to the Z direction of the user coordinate) in simple palletizing, i.e. the number of layers |
Sample code
int numX;
int numY;
int numZ;
NRC_Pallet_SetSimpleNumParm(1,numX,numY,numZ);