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:
Function number,
permitted values: 1 = set system time
2 = Read system time
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
(only for address area type 1 or 2;
irrelevant for address area types 3 or 4)
2b)
ACCU-1-L
Number of the 1st data field word,
possible value (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 flagx’)
Result
After OB 150 has been processed correctly, the condition code bits
OR,
ERAB and OS = 0. All other condition code bits and ACCUs 1
and 2 remain unchanged.
Possible errors:
In the event of an error, OB 19 or OB 31 is called. If OB 19 or OB 31
is not loaded, the CPU goes to the stop mode.
In both cases, error IDs are entered in ACCU 1 and ACCU 2 (see
following table).
Function no.
Address area type
Data block no.
15 12 11 8 7 0Bit no.
Setting/Reading the System Time (OB 150)
CPU 928B Programming Guide
6 - 30 C79000-B8576-C898-01