Skip to main content

NRC_RunqueueInsertPALOFF(int id, int var)

Insert PALOFF instruction in the run queue

Before calling this function, please call NRC_CreateNoFlieRunqueue() to create a fileless run queue

It needs to be used with NRC_RunqueueInsertPALON(int id, int type, int var1, int var2, int var3)

Type

int=>Insert PALOFF instruction in the run queue

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
varintPalletizing end judgment, 0 means no storage, 1-100 means variables GA001-GA100, parameter range: 0 <= var <= 100

Sample code

Refer to the NRC_RunqueueInsertPALON example