Appendix F
Flow Control Background
Flow control refers to the techniques used by computer devices and multiplexers to stop and restart the flow of data from each other. Flow control is necessary so that a channel device does not receive more data than it can handle or vice versa (the MultiMux receives more data than its buffers can accommodate). Flow control by the mux to control data flow from a channel device is called Mux Initiated Flow Control. Such flow control might be needed if a mux was connected to a minicomputer that could output more data than the mux could handle. Flow control by the channel device to control data flow from the mux is called Channel Device Initiated Pacing. Such pacing might be required by a printer channel device which could not print data as fast as the mux might send it or might go
MUX INITIATED
FLOW CONTROL
Channel |
| DATA |
| |
|
| Mux | ||
Device |
|
| ||
|
|
| ||
|
|
|
|
|
Flow control stops the input of data to the mux
CHANNEL DEVICE
INITIATED PACING
DATA
Channel
MuxDevice
Pacing stops the output of data from the mux
Flow control can be software or hardware based. In software flow control, special characters (Xon and Xoff) are used to stop and start the flow of data. In hardware flow control the Clear To Send (CTS) signal on the RS232C interface (pin
5)is brought low to stop data and high to restart it. When you select a flow control method with a mux command you are also selecting the corresponding pacing method.
In the example below we have an eight port
NODE 1
Channel 1 2
3
Mini- 4
Computer 5
6
7
8
Mux
Link
NODE 2
| Channel |
|
|
|
|
| |
| 1 |
| Printer |
| 2 | PC | |
|
| ||
Mux | 3 | PC |
|
4 | PC |
|
5PC
6PC
7PC
8PC