6.13.1
Process interrupt
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:
Local byte
Bit 7...0
8
n
Bit 0: Edge at I+0.0
n
Bit 1: Edge at I+0.1
n
Bit 2: Edge at I+0.2
n
Bit 3: Edge at I+0.3
n
Bit 4: Edge at I+0.4
n
Bit 5: Edge at I+0.5
n
Bit 6: Edge at I+0.6
n
Bit 7: Edge at I+0.7
9
n
Bit 0: Edge at I+1.0
n
Bit 1: Edge at I+1.1
n
Bit 2: Edge at I+1.2
n
Bit 3: Edge at I+1.3
n
Bit 4: Edge at I+1.4
n
Bit 5: Edge at I+1.5
n
Bit 6: Edge at I+1.6
n
Bit 7: Edge at I+1.7
10
n
Bit 0: Gate counter 0 open (activated)
n
Bit 1: Gate counter 0 closed
n
Bit 2: Over-/underflow/end value counter 0
n
Bit 3: Counter 0 reached comparison value
n
Bit 4: Gate counter 1 open (activated)
n
Bit 5: Gate counter 1 closed
n
Bit 6: Over-/underflow/end value counter 1
n
Bit 7: Counter 1 reached comparison value
11
n
Bit 0: Gate counter 2 open (activated)
n
Bit 1: Gate counter 2 closed
n
Bit 2: Over-/underflow/end value counter 2
n
Bit 3: Counter 2 reached comparison value
n
Bit 4: Gate counter 3 open (activated)
n
Bit 5: Gate counter 3 closed
n
Bit 6: Over-/underflow/end value counter 3
n
Bit 7: Counter 3 reached comparison value
6.13.2
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-
Function
Function
VIPA System 300S
+
Deployment I/O periphery
Counter - Diagnostic and interrupt > Diagnostic interrupt
HB140 | CPU | 314-6CF23 | en | 19-01
132