
The first byte in the field of the output parameters (condition code
byte) also indicates whether or not a function has been correctly and
completely executed. This byte contains detailed information about
the cause of termination of a function.
Assuming that at least the pointer to the data field contains a correct
value, this byte is always relevant.
If the function has been executed correctly and completely, all the bits
are cleared (= 0), and all other output parameters are relevant.
If the function is aborted with a warning (bit number 7 = 1), only the
condition code for the transmitting/receiving capacity is relevant,
other output parameters (if they exist) are unchanged.
If the function is aborted owing to an error (bit number 6 = 1) or an
initialization conflict (bit number 5 = 1), all other output parameters
remain unchanged.
Evaluation of the code byte
The identifiers ’W’, ’E’ and ’I’ indicate the significance of the
numbers.
Apart from this bit-by-bit evaluation, it is also possible to interpret the
whole condition code byte as a fixed point number without sign. If
you interpret the condition code byte as a byte, the groups of numbers
have the following significance:
Number group
Significance
0
33 to 42
65 to 73
129 to 130
Function executed correctly and completely
Function aborted owing to an initialization
conflict
Function aborted owing to an error
Function aborted owing to a warning
Errors are detected and indicated in the ascending order of the error
numbers. This means that several errors may have occurred although
(currently) only one is indicated. The other errors are then indicated by
further calls.
Table 10-2
Code byte for the communication OBs/number groups
Multiprocessor Communication
CPU 948 Programming Guide
10 - 26
C79000-G8576-C848-04
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...