10.4.2
Call Parameters
Structure of the (parameter)
data field
Before calling OB 200, you must supply the input parameters in the
data field. OB 200 requires eight F flag bytes in the data field for input
and output parameters:
FY x + 0: Mode (automatic/
manual ) input parameter
FY x + 1: Number of CPUs input parameter
FY x + 2: Block ID input parameter
FY x + 3: Block number input parameter
FY x + 4: Start address of the input parameter
FY x + 5: assignment list
FY x + 6: Condition code byte output parameter
FY x + 7: Total capacity output parameter
ACCU-1-L
When OB 200 is called, you transfer the flag byte number at which the
parameter data field begins to ACCU-1-L:
ACCU-1-LH: 0
ACCU-1-LL: 0 to 246
10.4.3
Input Parameters
Mode (automatic/manual)
Mode = 1: automatic
Mode = 2: manual
Mode = 0 or 3 to 255: illegal, causes an
initialization conflict
Number of CPUs
This parameter is only relevant when you have selected the
"automatic" mode. With the "automatic" setting, the memory fields
are divided evenly according to the number of CPUs.
Number of
CPUs
Number of
links
Memory fields per
link
2
3
4
2
6
12
24
8
4
0; 1; 5 to 255 Illegal, causes an initialization conflict
INITIALIZE Function (OB 200)
CPU 948 Programming Guide
C79000-G8576-C848-04
10 - 35