
Manual VIPA System 300S SPEED7
Chapter 5 Deployment I/O periphery
HB140E - CPU SC - RE_313-6CF03 - Rev. 07/45
5-31
Counter - Diagnostic and interrupt
The parameterization allows you to define the following trigger for a
hardware interrupt that may initialize a diagnostic interrupt:
•
Status changes at an input (at opened SW gate)
•
Status changes at the HW-gate (at opened SW gate)
•
Reaching a comparison value
•
Overflow respectively at overrun upper counter limit
•
Underflow respectively at underrun lower counter limit
A hardware 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 hardware
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 ... Bit 0
8
Bit 0: Edge at I+0.0
Bit 1: Edge at I+0.1
Bit 2: Edge at I+0.2
Bit 3: Edge at I+0.3
Bit 4: Edge at I+0.4
Bit 5: Edge at I+0.5
Bit 6: Edge at I+0.6
Bit 7: Edge at I+0.7
9
Bit 0: Edge at I+1.0
Bit 1: Edge at I+1.1
Bit 2: Edge at I+1.2
Bit 3: Edge at I+1.3
Bit 4: Edge at I+1.4
Bit 5: Edge at I+1.5
Bit 6: Edge at I+1.6
Bit 7: Edge at I+1.7
10
Bit 0: Gate counter 0 open (activated)
Bit 1: Gate counter 0 closed
Bit 2: Over-/underflow/end value counter 0
Bit 3: Counter 0 reached comparison value
Bit 4: Gate counter 1 open (activated)
Bit 5: Gate counter 1 closed
Bit 6: Over-/underflow/ end value counter 1
Bit 7: Counter 1 reached comparison value
11
Bit 0: Gate counter 2 open (activated)
Bit 1: Gate counter 2 closed
Bit 2: Over-/underflow/end value counter 2
Bit 3: Counter 2 reached comparison value
Bit 7 ... 4: reserved
Overview
Hardware interrupt
Local double word 8
of the OB 40
Содержание 313-6CF03
Страница 2: ...Lerrzeichen ...
Страница 40: ...Chapter 3 Hardware description Manual VIPA System 300S SPEED7 3 14 HB140E CPU SC RE_313 6CF03 Rev 07 45 ...
Страница 122: ...Chapter 5 Deployment I O periphery Manual VIPA System 300S SPEED7 5 36 HB140E CPU SC RE_313 6CF03 Rev 07 45 ...
Страница 140: ...Chapter 6 Deployment PtP communication Manual VIPA System 300S SPEED7 6 18 HB140E CPU SC RE_313 6CF03 Rev 07 45 ...