
Modes, settings, parameters and commands
8.12 Initiating a process interrupt
Counter module FM 450-1
Manual, 02/2014, A5E03648739-02
91
Hardware interrupt OB, OB 4x
If a hardware interrupt occurs, the user program is interrupted, the data are transferred from
the module to the start information of the OB 4x and the OB 4x is called. The hardware
interrupt is acknowledged by quitting the OB 4x.
If no OB 4x is programmed the CPU goes into STOP. If you then switch back to RUN, the
hardware interrupt requirements are deleted.
Start information
The temporary variable OB4x_POINT_ADDR is described in the start information of the
OB4x.
The OB4x_POINT_ADDR variable (bytes 8 - 11) consists of four bytes. The information on
the event that initiated the hardware interrupt is entered into these four bytes. The following
table shows which bits are set for which interrupt. All bits not listed have no meaning and are
zero.
Byte
Bit
Significance: Interrupt in the case of...
Counter 1
0
0
Opening the gate
1
Closing the gate
2
Overflow
3
Underflow
4
Reaching comparison value 1 in the up direction
5
Reaching comparison value 1 in the down direction
6
Reaching comparison value 2 in the up direction
7
Reaching comparison value 2 in the down direction
1
0
Zero crossing
5
Setting of the counter
Counter 2
2
0
Opening the gate
1
Closing the gate
2
Overflow
3
Underflow
4
Reaching comparison value 1 in the up direction
5
Reaching comparison value 1 in the down direction
6
Reaching comparison value 2 in the up direction
7
Reaching comparison value 2 in the down direction
3
0
Zero crossing
5
Setting of the counter
Содержание simatic s7-400 FM 450-1
Страница 8: ...Table of contents Counter module FM 450 1 8 Manual 02 2014 A5E03648739 02 ...
Страница 18: ...Product Overview 1 5 The FM 450 1 software Counter module FM 450 1 18 Manual 02 2014 A5E03648739 02 ...
Страница 40: ...Wiring 4 4 Module status after power is switched on Counter module FM 450 1 40 Manual 02 2014 A5E03648739 02 ...
Страница 54: ...Program 6 5 Technical specifications of the blocks Counter module FM 450 1 54 Manual 02 2014 A5E03648739 02 ...
Страница 102: ...Encoder signals and their evaluation 9 5 Signal evaluation Counter module FM 450 1 102 Manual 02 2014 A5E03648739 02 ...
Страница 114: ...Errors and diagnostics 11 5 Operator error Counter module FM 450 1 114 Manual 02 2014 A5E03648739 02 ...
Страница 120: ...Spare parts Counter module FM 450 1 120 Manual 02 2014 A5E03648739 02 ...
Страница 122: ...References Counter module FM 450 1 122 Manual 02 2014 A5E03648739 02 ...
Страница 126: ...Glossary Counter module FM 450 1 126 Manual 02 2014 A5E03648739 02 ...
Страница 130: ...Index Counter module FM 450 1 130 Manual 02 2014 A5E03648739 02 ...