NRC_Pallet_SetSimpleNumParm(int id, int numX, int numY, int numZ)
Set the number data of simple palletizing
Type
int =>Set 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
NRC_Pallet_SetSimpleNumParm(1,2,2,2);