Getflowcount - Get Number Of Passed Items - ABB PickMaster Twin - PowerPac Applications Manual

Table of Contents

Advertisement

6.2.4 GetFlowCount - Get number of passed items

Usage
GetFlowCount is used to get the total number of items that has passed the exit
limit of a conveyor work area since ResetFlowCount was executed. Items that
the robot handles will not be counted (even if they pass the exit limit before
picking/placing occurs).
Basic example
counter is assigned the number of items originating from PlaceSource that has
passed the exit limit.
Return value
Data type: num
The number of items that has passed the exit limit since ResetFlowCount was
executed.
Arguments
GetFlowCount (ItemSource)
ItemSource
Data type: itmsrc
The item souce.
Error handling
The following recoverable errors can be generated. The errors can be handled in
an errorhandler. The system variable ERRNO will be set to:
Error code
ERR_ITMSRC_UNDEF
Syntax
A function returns value of the data type num.
Related information
For information about
The instruction ResetFlowCount
Application manual - PickMaster® Twin - PowerPac
3HAC064218-001 Revision: B
VAR num counter;
ResetFlowcount PlaceSource;
WaitTime 10;
counter := GetFlowCount(PlaceSource);
Description
itmsrc undefined
GetFlowCount '('[ItemSource ':=' ] <variable (VAR) of itmsrc> ')';
© Copyright 2021 ABB. All rights reserved.
6.2.4 GetFlowCount - Get number of passed items
See
ResetFlowCount - Reset flow counter on
page
374.
6 RAPID reference
383

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pickmaster twin

Table of Contents