Skip to main content

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 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
numXintThe 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
numYintThe 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
numZintThe 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);