EasyManua.ls Logo

Siemens CPU 948 - Page 193

Siemens CPU 948
548 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...
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

Table of Contents

Related product manuals