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
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...