
4.4.4
Interrupt-Driven Program
Execution
Depending on the selected mode, two different types of interrupt-driven
program execution are possible with the CPU 948:
••
PROCESS INTERRUPTS
via input byte IB 0 (max. 8 interrupts),
••
INTERRUPTS
via signal lines of the S5 bus (max. 4 interrupts).
PROCESS INTERRUPTS via
input byte IB 0
To service process interrupts, the default "process interrupts via IB 0 =
on" must not be changed in the data block DX 0.
Program execution controlled by process interrupts means that a
signal change in the input byte IB 0 causes the current program
execution to be interrupted and a special program section to be
executed.
Note
If you enable "servicing process interrupts via IB 0" you cannot
use the delayed interrupt, the time-controlled interrupt and the
system interrupt.
Triggering
The signal state change of a bit in input byte IB 0 triggers the process
interrupt.
User interfaces
OB 2 to OB 9
If a process interrupt occurs, one of the OBs listed in the following
table is called as the user interface.
Signal state change in IB 0 with bit
OB called
I 0.0
I 0.1
I 0.2
I 0.3
I 0.4
I 0.5
I 0.6
I 0.7
OB 2
OB 3
OB 4
OB 5
OB 6
OB 7
OB 8
OB 9
Table 4-7
User interfaces for process interrupts
RUN Mode
CPU 948 Programming Guide
C79000-G8576-C848-04
4 - 41
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...