
Local double word 8 of OB 40 at frequency measurement
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 7 ... 2: reserved
10
n
Bit 0: End of measurement channel 0 (end of the integration time)
n
Bit 3 ... 1: reserved
n
Bit 4: End of measurement channel 1 (end of the integration time)
n
Bit 7 ... 5: reserved
11
n
Bit 7 ... 0: reserved
6.8.2 Diagnostic interrupt
Please consider that diagnostic interrupts are enabled only if you have
selected one of the technology functions (counting, frequency measure-
ment, PWM) and set "DiagProcess interrupt" in the basic param-
eters.
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.
Activation
Function
VIPA System 300S
+
Deployment I/O periphery
Diagnostic and interrupt > Diagnostic interrupt
HB140 | CPU-SC | 312-5BE23 | en | 18-45
124