Skip to main content

NRC_Pallet_GetGripperParm(int id, int& gripperSum, int gripper[4])

Get palletizing gripper data

Type

int =>Get palletizing gripper data

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
gripperSumint&The total number of available grippers
gripper[4]intThe tool coordinate number bound to each gripper

Sample code

gripperSum = 1;
int gripper[4] = {2,4,6,7};
NRC_Pallet_GetGripperParm(id,gripperSum,gripper);