6.17 OB 181: Test Data Blocks (DB/DX)
With the special function organization block OB 181, you can test
data blocks as follows:
••
whether or not a particular DB or DX data block exists,
••
the address at which the first data word of the data block is stored,
••
how many data words the data block contains.
Using OB 181
The function "test DB/DX" is useful before the operations TNB/TNW,
G DB/GX DX and before calling special function organization blocks
OB 182, OB 254 and OB 255.
Before transferring data words, for example, you can call OB 181 to
check that the destination data block is valid and long enough for the
transfer.
Function
OB 181 checks whether a specified data block exists and returns the
characteristic parameters of a data block.
Parameters
ACCU-1-L
a) ACCU-1-LL
Block number,
Permitted values:
1 to 255
b) ACCU-1-LH
Block ID,
Permitted values:
1 = DB
2 = DX
OB 181: Test Data Blocks (DB/DX)
CPU 948 Programming Guide
C79000-G8576-C848-04
6 - 57
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...