Technical data
2. Accus
2a) ACCU-2-L
ACCU-2-L contains information on the desired function and the data
field used. It must have the following structure:
Parameters in ACCU-2-L
Function number,
permitted values: 1 = generate job
2 = read job
Address area type,
permitted values: 1 = DB data block
2 = DX data block
3 = F flag area
4 = S flag area
Data block number,
permitted values: 3 to 255 (for address area type = 1 or 2;
irrelevant for address area type 3 or 4
2b)
ACCU-1-L
Number of the 1st data field word,
possible values (dependent on the
address area type):
DB, DX: 0 to 2044
F flags: 0 to 248
(= no. of flag byte ’x’)
S flags: 0 to 1016
(= no. of flag byte ’x’)
Note
It is pointless to generate a timed job cyclically (e.g. by means of
an unconditional OB 151 call with function number 1 in OB 1).
Result
After OB 150 has been processed correctly, the condition code bits
OR, ERAB and OS = 0. All other condition code bits remain
unchanged, as do ACCU 1 and ACCU 2.
Function no. Address area type
Data block no.
15 12 11 8 7 0Bit no.
6
OB 151: Setting/Reading the Time for Clock-Driven Interrupts
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 35