Siemens CPU 948 Programming Manual page 283

Simatic s5 s5-155u
Table of Contents

Advertisement

Bit no.
15
Function no.
Result
CPU 948 Programming Guide
C79000-G8576-C848-04
OB 151: Set/Read Time for Clock-Controlled Interrupt
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:
12
11
Address area type
Parameters in ACCU-2-L
Function no.,
Permitted values:
Address area type,
Permitted values:
Data block no.,
Permitted values:
2b) ACCU-1-L
No. of the 1st data field word,
Permitted values (depending on the address area type):
Note
There is no point in generating a timed job cyclically (e.g. with an
unconditional OB 151 call with function number '1' in OB 1).
After correct processing of OB 151, the RLO, the condition code bits
OR, ERAB and OS = 0.
8
7
4
Data block no.
1 = generate job
2 = read job status
1 = DB data block
2 = DX data block
3 = F flag area
4 = S flag area
3 to 255 (only with address area type '1' or '2';
with address area type '3' or '4' irrelevant)
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 ')
3
0
6 - 45

Advertisement

Table of Contents
loading

Table of Contents