The following situations are possible:
••
DB is longer than source area:
If the data block is sufficiently long, you obtain a 32-word long
area per field as shown in the table above.
••
DB is too short:
If the end of the data block is within the selected field, in the last
field an area with a length between 1 and 32 words will be
transferred.
••
Field is outside the DB:
If the first data word address of a field is not within the length of
the data block, the SEND function detects and indicates an error.
Example
10.5.4
Output Parameters
Condition code byte
This byte informs you whether the SEND function was executed
correctly and completely.
Initialization conflict
Has no significance with the SEND function.
Data block with a length of 80 words: DW 0 to
DW 74, 5 words are required for the block header.
Field no.: First data word: Last data word: Length:
0
DW 0
DW 31
32 words
1
DW 32
DW 63
32 words
2
DW 64
DW 74
11 words
3 and
higher
Incorrect parameter assignment
SEND Function (OB 202)
CPU 948 Programming Guide
10 - 42
C79000-G8576-C848-04
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 ...