ProductCount
This page contains a short and a more detailed description of the global variable: ProductCount
, that is reachable from the Pally URCap:
In Short: ProductCount
ProductCountAn integer that is equal to the number of boxes that have been palletized so far. Possible values
ExampleIf a pattern is being palletized, and currently five boxes have been placed on the pallet, then:
|
In Detail: ProductCount
The ProductCount
variable is an integer that is equal to the number of boxes that have been successfully placed on the pallet so far. The variable is initialized to 0
for all patterns, and is incremented by the number of boxes that the robot places palletizes.
As an example, if the first boxes to be palletized in a pattern are picked at the same time, then ProductCount
is increment for 0
to 2
after the two boxes are placed on the pallet.
If the TaskCompleted
variable is False
in the beforeRelease-callback, then no boxes will have been placed on the pallet - thus, ProductCount
is not incremented.