Whether the operating system writes interrupts and asynchronous errors to the diagnostic
buffer when they occur depends on the input parameter setting you select for MODE.
Remember that when you program the use of the SFC 39, all interrupts
that occur are lost.
Parameters
Parameter Declaration Data type Memory block Description
MODE INPUT BYTE I, Q, M, D, L,
constant
Specifies which interrupts and asynchronous
errors are disabled.
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 disabled
(Synchronous errors are not disabled).
01 All newly occurring events belonging to a specified interrupt class are disabled.
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
Entries into the diagnostic buffer are continued.
02 All new occurrences of a specified interrupt are disabled. You specify the interrupt using the OB number.
Entries into the diagnostic buffer are continued.
80 All new occurrences of a specified interrupt are disabled. You specify the interrupt using the OB number.
Entries continue to be made in the diagnostic buffer.
81 All new occurrences belonging to a specified interrupt class are disabled and are no longer entered in
the diagnostic buffer.
The operating system enters event 5380h in the diagnostic buffer.
82 All new occurrences belonging to a specified interrupt are disabled and are no longer entered in the
diagnostic buffer.
The operating system enters event 5380h in the diagnostic buffer.
VIPA SPEED7
Integrated Standard
System Functions > SFC 39 - DIS_IRT - Disabling interrupts
HB00 | OPL_SP7 | Operation list | en | 18-30 679