Output Parameters - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

SEND Function (OB 202)
Example
10.5.4

Output Parameters

Condition code byte
Initialization conflict
10 - 42
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.
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
1
DW 32
2
DW 64
3 and
higher
Incorrect parameter assignment
This byte informs you whether the SEND function was executed
correctly and completely.
Has no significance with the SEND function.
DW 31
32 words
DW 63
32 words
DW 74
11 words
CPU 948 Programming Guide
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents