5.5.PalletizingScript Functions
Palletizing functionsare made available in the Script dropdown menu.
Fig. 5-35: Script node
Tap the Script Code textbox (f(x)), then on the Function dropdown menu.
Select the script function from the list.
Fig. 5-36: Function dropdown menu in Script node
5.5.1.Numberof Processed Boxes
Description
This function returns the number of processed boxes. It must be used inside the palletizer node in order to work properly.
Declaration
rq_get_nb_processed_boxes( )
Returned value
This function returns an integer which expresses the number of processed boxes.