EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 40 - EN_IRT - Enabling Interrupts

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RET_VAL (Return value)
Value Description
0000h No error occurred.
8090h The input parameter OB_NR contains an illegal value.
8091h The input parameter MODE contains an illegal value.
8xyyh General error information
Ä
Chap. 4.2 ‘General and Specific Error Information RET_VAL’ page 66
14.1.30 SFC 40 - EN_IRT - Enabling interrupts
With the SFC 40 EN_IRT (enable interrupt) you enable the processing of new interrupts
and asynchronous errors that you previously disabled with the SFC 39. This means that if
an interrupt event occurs, the operating system of the CPU reacts in one of the follows
ways:
n it calls an interrupt OB or asynchronous error OB,
or
n it triggers the standard reaction if an interrupt OB or asynchronous error OB is not
programmed.
Parameters
Parameter Declaration Data type Memory block Description
MODE INPUT BYTE I, Q, M, D, L,
constant
Specifies which interrupts and asynchronous
errors will be enabled.
OB_NR INPUT INT I, Q, M, D, L,
constant
OB number
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is active, the
return value contains an error code.
MODE
MODE Description
00 All newly occurring interrupts and asynchronous errors are enabled.
01 All newly occurring events belonging to a specified interrupt class are enabled.
Identify the interrupt class by specifying it as follows:
n Time-of-day interrupts: 10
n Time-delay interrupts: 20
n Cyclic interrupts: 30
n Hardware interrupts: 40
n Interrupts for DP-V1: 50
n Asynchronous error interrupts: 80
02 All newly occurring events of a specified interrupt are enabled. You specify the interrupt using the OB
number.
Description
VIPA SPEED7
Integrated Standard
System Functions > SFC 40 - EN_IRT - Enabling interrupts
HB00 | OPL_SP7 | Operation list | en | 18-30 680

Table of Contents

Related product manuals