EasyManua.ls Logo

VIPA SPEED7 CPU 313SCDPM - 6.8 Diagnostic and interrupt

VIPA SPEED7 CPU 313SCDPM
205 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...
6.8 Diagnostic and interrupt
The parameterization allows you to define the following trigger for a
hardware interrupt that may initialize a diagnostic interrupt:
Counter function
n Edge at a digital input
n Opening the HW gate (at opened SW gate)
n Closing the HW gate (at opened SW gate)
n Reaching the comparison value
n Overflow respectively at overrun upper counter limit
n Underflow respectively at underrun lower counter limit
Frequency measurement
n Edge at a digital input
n End of measurement (end of the integration time)
Pulse width modulation
n There is no process interrupt available
6.8.1 Process interrupt
The activation of the process interrupt occurs only if at the
same time the counter output is activated and "Diagnostics
+Process" is set in the basic parameters.
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.
Local double word 8 of OB 40 at counter function
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
Overview
Activation
Process interrupt
VIPA System 300S Deployment I/O periphery
Diagnostic and interrupt > Process interrupt
HB140 | CPU-SC | 313-6CF13 | GB | 15-50 139

Table of Contents

Related product manuals