Communications Capabilities
S5-115U Manual
Data traffic is bidirectional:
•
Send
The ASCII driver processes data in the user memory (e.g. the contents of a data block) and
outputs it at the second interface.
•
Receive
An I/O device sends data in ASCII code to the second interface. The ASCII driver processes the
data and stores it in internal RAM.
Data are only received every 100 ms. Please take this into account for shorter CPU cycle times.
The two memory areas in internal RAM in which the send and receive data are stored are called
the Send mailbox (SMB) and the Receive mailbox (RMB).
The data can be stored either in a data block or the flag area. You must enter the relevant
information in the parameter block (see Table 12-13).
Send and Receive mailboxes have the following properties:
•
1024 bytes of input buffer are available in all modes.
•
In modes where characters are interpreted when received (e.g. XON, XOFF), the ASCII driver
can still receive data or message frames even if it has already sent XOFF to the
communications partner. In this case, the ASCII driver receives data until the input buffer is
full, or it receives message frames until the maximum possible number of frames has been
reached.
Example of "borderline case":
If a received message frame is 1024 bytes long and the ASCII driver then sends XOFF, there is
no way of buffering characters received from the communications parnter after sending
XOFF.
•
In mode 1, 7 or 8 (see Section 12.4.3), you must enter in the first word of the send mailbox the
number of bytes of data to be sent.
12-22
EWA 4NEB 811 6130-02b
Содержание 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 ...