S5-115U Manual
Communications Capabilities
Receiving Data
Receive data is automatically entered in interface SI 2's input buffer (buffer size: 1024 bytes) if the
buffer can accommodate it. If it cannot, an error is flagged in the CBR (see Table 12-20).
Bit 7 must be set in the CBR via the application program in order for this data to be forwarded to
the Receive mailbox. The driver automatically enters the number of bytes received in the first
word of the Receive mailbox, and resets bit 7 in the CBR when the mailbox is full. If the data could
not be received without error, an error code is entered in bits 0 to 6 of the CBR; the meanings of
the various error codes are listed in Table 12-20.
Since several different errors can occur, the driver assigns them priorities. The CBR always contains
the code of the error that had the highest priority when the last attempt to receive the data was
made. In Table 12-20, 0 indicates the highest and 6 the lowest priority.
Figure 12-21. Structure of the CBR
Coordination Byte for Receive (CBR)
Receiving is
permitted
when this bit is set
Error code (see Table 12-20)
Bit 7
Bit 1
Bit 0
EWA 4NEB 811 6130-02b
12-51
Содержание SIMATIC S5-115U
Страница 6: ...EWA 4NEB 811 6130 02b ...
Страница 16: ...EWA 4NEB 811 6130 02b ...
Страница 18: ...EWA 4NEB 811 6130 02b ...
Страница 26: ......
Страница 62: ...EWA 4NEB 811 6130 02b ...
Страница 64: ...EWA 4NEB 811 6130 02b ...
Страница 67: ......
Страница 74: ......
Страница 79: ......
Страница 80: ......
Страница 81: ......
Страница 82: ......
Страница 83: ......
Страница 84: ......
Страница 97: ......
Страница 98: ......
Страница 99: ......
Страница 114: ...EWA 4NEB 811 6130 02b ...
Страница 280: ...EWA 4NEB 811 6130 02b ...
Страница 372: ...EWA 4NEB 811 6130 02b ...
Страница 432: ...EWA 4NEB 811 6130 02b ...
Страница 442: ......
Страница 528: ...EWA 4NEB 811 6130 02b ...
Страница 590: ......
Страница 591: ......
Страница 592: ......
Страница 593: ......
Страница 594: ......
Страница 600: ...EWA 4NEB 811 6130 02b ...
Страница 602: ...EWA 4NEB 811 6130 02b ...
Страница 604: ...EWA 4NEB 811 6130 02b ...
Страница 624: ...EWA 4NEB 811 6130 02b ...
Страница 632: ...EWA 4NEB 811 6130 02b ...
Страница 644: ...EWA 4NEB 811 6130 02b ...
Страница 646: ...EWA 4NEB 811 6130 02b ...
Страница 652: ...EWA 4NEB 811 6130 02b ...
Страница 654: ...EWA 4NEB 811 6130 02b ...
Страница 660: ...EWA 4NEB 811 6130 02b ...
Страница 662: ...EWA 4NEB 811 6130 02b ...
Страница 666: ...EWA 4NEB 811 6130 02b ...
Страница 668: ...EWA 4NEB 811 6130 02b ...
Страница 674: ...EWA 4NEB 811 6130 02b ...