Depending to the system, the SFC 14 (DPRD_DAT) "Read consistent
data" cannot be used with this module.
6.5.2 Process interrupt
Via the edge selection you may activate a process interrupt in your parameterization and
define on which edge of the input signal a process interrupt should be initialized. A
process interrupt causes a call of the OB 40. Within the OB 40 you may find the logical
basic address of the module that initialized the process interrupt by using the
Local word
6
. More detailed information about the initializing event is to find in the
local double word
8
.
The
local double word 8
of the OB 40 has the following structure:
Lokalbyte
Bit 7 ... Bit 0
8
n
Bit 0: Edge at I+0.0
n
...
n
Bit 7: Edge at I+0.7
9
n
Bit 0: Edge at I+1.0
n
...
n
Bit 7: Edge at I+1.7
10
00h (fix)
11
00h (fix)
6.5.3 Diagnostic interrupt
Via the parameterization (record set 7Fh) you may activate a global diagnostic interrupt
for the module. A diagnostic interrupt occurs when during a process interrupt execution in
OB 40 another process interrupt is thrown for the same event. The initialization of a diag-
nostic interrupt interrupts the recent process interrupt execution in OB 40 and branches in
OB 82 to diagnostic interrupt processing
incoming
. If during the diagnostic interrupt pro-
cessing other events are occurring at other channels that may also cause a process res.
diagnostic interrupt, these are interim stored. After the end of the diagnostic interrupt pro-
cessing at first all interim stored diagnostic interrupts are processed in the sequence of
their occurrence and then all process interrupts. If a channel where currently a diagnostic
interrupt
incoming
is processed res. interim stored initializes further process interrupts, these
get lost. When a process interrupt for which a diagnostic interrupt
incoming
has been
released is ready, the diagnostic interrupt processing is called again as diagnostic inter-
rupt
outgoing
. All events of a channel between diagnostic interrupt
incoming
and diagnostic inter-
rupt
outgoing
are not stored and get lost. Within this time window (1. diagnostic inter-
rupt
incoming
until last diagnostic interrupt
outgoing
) the SF-LED of the CPU is on. Additionally
for every diagnostic interrupt
incoming/outgoing
an entry in the diagnostic buffer of the CPU
occurs.
Local double word 8 of the
OB 40
VIPA System 300S
Digital Modules FAST - SPEED-Bus
323-1BH70 - DIO 16xDC 24V 0.5A > Diagnostic interrupt
HB140 | SM-DIO | | en | Rev. 16-43
114