2. ACCUs
2a)
ACCU-2-L
ACCU-2-L contains information about the required function and the
data field used. It must have the following structure:
Bit no. 15 12 11 8 7 4 3 0
Function no. Address area type Data block no.
Parameters in ACCU-2-L
Function no.,
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 no.,
Permitted values: 3 to 255 (only with address area type ’1’ or ’2’;
with address area type ’3’ or ’4’ irrelevant)
2b)
ACCU-1-L
Number of the 1st data field word
Permitted values (depending on the address area type):
DB, DX: 0 to 2039
F flags: 0 to 248
(= no. of flag byte ’x ’)
S flags 0 to 4088
(= no. of flag byte ’x ’)
Result
After correct processing of OB 150, the RLO, the condition code bits
OR,
ERAB and OS = 0.
Possible errors
The errors listed in the following table may occur. If an error occurs,
the system program sets the RLO to ’1’ and stores the error IDs listed
in the table in ACCU 1.
OB 150: Set/Read System Time
CPU 948 Programming Guide
6 - 40 C79000-G8576-C848-04