ABB PickMaster Twin - PowerPac Applications Manual page 371

Table of Contents

Advertisement

Program execution
If there is no item target in buffer or any item targets above the Limit, the program
execution waits in this instruction until there is an item in the buffer.
If the MaxTime argument is specified then the wait time is supervised. If the waiting
time exceeds the value of MaxTime and the TimeFlag argument is used, then the
program will continue. If TimeFlag is not used, then an error is raised. If TimeFlag
is specified, this will be set to TRUE if the time is exceeded, otherwise it will be set
to FALSE.
Error handling
The following recoverable errors can be generated. The errors can be handled in
an error handler. The system variable ERRNO will be set to:
Error code
ERR_ITMSRC_UNDEF
ERR_PPA_TIMEOUT
Syntax
Related information
For information about
The data type itmtgt
Application manual - PickMaster® Twin - PowerPac
3HAC064218-001 Revision: B
6.1.4 NextItmTgtType - Get the type of the next item target
Description
itmsrc undefined.
Timeout without any error flag
NextItmTgtType
[ItemSource ':=' ] <variable (VAR) of itmsrc>,
[ItemType ':=' ] <var or pers (INOUT) of num>
[\Limit ':=' ] <expression (IN) of num>
[\MaxTime ':=' ] <expression (IN) of num>
[\TimeFlag ':=' ] <var or pers (INOUT) of bool>;
© Copyright 2021 ABB. All rights reserved.
6 RAPID reference
See
itmtgt - Item target data on page
Continued
384.
371

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pickmaster twin

Table of Contents