Skip to main content

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 valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

ParameterTypeDescription
idintThe process number of the palletizing process, parameter range: 1 <= id <= 9
numXint&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
numYint&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
numZint&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);