Technical data

6.29 OB 228: Reading Status Information of a Program Processing Level
Function
If a particular event occurs, the system program calls the
corresponding program processing level. The program processing
level is then "activated".
Using organization block OB 228, you can find out whether a specific
program processing level is active or not at a particular time. Transfer
the number of the program processing level whose status you want to
scan to ACCU 1. (The numbers are those entered under LEVEL in the
ISTACK).
When the block is called, it stores the status information of the
specified program level in ACCU-1-L. By evaluating this
information, you can make your program execution dependent on the
status of another program processing level.
Parameters
ACCU-1-L
Number of the program processing level
(see ISTACK, LEVEL)
possible values (hexadecimal): see following table
Level no. in
ACCU-1-L
Level name
02
04
06
08
0A
0C
0E
10
12
14
16
18
1A
1C
1E
20
22
24
COLD RESTART
CYCLE
TIME INTERRUPT 5 sec
TIME INTERRUPT 2 sec
TIME INTERRUPT 1 sec
TIME INTERRUPT 500 ms
TIME INTERRUPT 200 ms
TIME INTERRUPT 100 ms
TIME INTERRUPT 50 ms
TIME INTERRUPT 20 ms
TIME INTERRUPT 10 ms
TIMED JOB
Not used
CONTROLLER INTERRUPT
Not used
Not used
Not used
PROCESS INTERRUPT
Level no. in
ACCU-1-L
Level name
26
28
2A
2C
2E
30
32
34
36
38
3A
3C
3E
40
42
44
46
Not used
Not used
Not used
Abort
Interface error
Collision of time interrupt
Controller error
Cycle error
Not used
Operation code error
Runtime error
Addressing error
Timeout
Not used
Not used
MANUAL
WARM RESTART
AUTOMATIC
WARM RESTART
OB 228: Reading Status Information of a Program Processing Level
CPU 928B Programming Guide
6 - 98 C79000-B8576-C898-01