
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:
Description
Error code
itmsrc
undefined.
ERR_ITMSRC_UNDEF
Timeout without any error flag
ERR_PPA_TIMEOUT
Syntax
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>;
Related information
See
For information about
itmtgt - Item target data on page 384
The data type
itmtgt
Application manual - PickMaster® Twin - PowerPac
371
3HAC064218-001 Revision: B
© Copyright 2021 ABB. All rights reserved.
6 RAPID reference
6.1.4 NextItmTgtType - Get the type of the next item target
Continued
Содержание PickMaster Twin - PowerPac
Страница 1: ...ROBOTICS Application manual PickMaster Twin PowerPac ...
Страница 2: ...Trace back information Workspace Main version a394 Checked in 2021 03 25 Skribenta version 5 4 005 ...
Страница 8: ...This page is intentionally left blank ...
Страница 12: ...This page is intentionally left blank ...
Страница 16: ...This page is intentionally left blank ...
Страница 420: ...This page is intentionally left blank ...
Страница 444: ...This page is intentionally left blank ...
Страница 446: ...This page is intentionally left blank ...
Страница 448: ...This page is intentionally left blank ...
Страница 452: ......
Страница 453: ......