ing devices between control units and control units
between channels. The time required for switching
occurs during device selection time and may be ig
nored.
Control Units
A control unit provides the logical capabilities neces
sary to operate and control anI/O device, and
adapts the characteristics of each device to the
standard form of control provided by the channel.
In most configurations, communication between
the control unit and the channel takes place over theI/O interface. The control unit accepts control sig
nals from the channel, controls the timing of data
transfer over theI/O interface, and provides indica
tions concerning the status of the device.
TheI/O device attached to the control unit may
be designed to perform only certain limited opera
tions, or it may perform many different operations.
A typical operation is moving the recording medium
and recording data. To accomplish these functions,
the device needs detailed signal sequences peculiar
to the type of device. The control unit decodes the
commands received from the channel, interprets
them for the particular type of device, and provides
the signal sequence required for execution of the
operation.
A control unit may be housed separately, or it
may be physically and logically integral with theI/O device or the CPU. In the case of most electrome
chanical devices, a well-defined interface exists be
tween the device and the control unit because of the
difference in the type of equipment the control unit
and the device contain. These electromechanical
devices often are of a type where only one device of
a group attached to a control unit is required to op
erate at a time (magnetic tape units or disk-access
mechanisms, for example), and the control unit is
shared among a number ofI/O devices. On the oth
er hand, in some electronicI/O devices such as the
channel-to-channel adapter, the control unit does
not have an identity of its own.
From the user's point of view, most functions
performed by the control unit can be merged with
those performed by theI/O device. Therefore, this
manual normally does not make specific mention of
the control unit function; the execution ofI/O oper
ations is described as if theI/O devices communi
cated directly with the channel. Reference is made to
the control unit only when emphasizing a function
performed by it or when sharing of the control unit
among a number of devices affects the execution ofI/O operations.
Channels
The channel directs the flow of information betweenI/O devices and main storage. It relieves the CPU of
the task of communicating directly with the devices
and permits data processing to proceed concurrently
withI/O operations.
The channel provides a standard interface for
connecting different types ofI/O devices to the CPU and to main storage. It accepts control infor
mation from theCPU in the format supplied by the
program and changes it into a sequence of signals
acceptable to a control unit. After the operation with
the device has been initiated, theCPU is released for
other work, and the channel assembles or disassem
bles data and synchronizes the transfer of data bytes
over the interface with main-storage cycles. To ac
complish this, the channel maintains and updates an
address and a count that describe the destination or
source of data in main storage. Similarly, when anI/O device provides signals that should be brought
to the attention of the program, the channel trans
forms the signals to information that can be used in
theCPU. The channel contains common facilities for the
control ofI/O operations. When these facilities are
provided in the form of separate autonomous equip
ment designed specifically to controlI/O devices, I/O operations are completely overlapped with the
activity in theCPU. The only main-storage cycles
required duringI/O operations in such channels are
those needed to transfer data and control informa
tion to or from the final locations in main storage.
These cycles do not interfere with theCPU program,
except when both theCPU and the channel concur
rently attempt to refer to the same main storage.
Alternatively, the system may use the facilities of
theCPU for controlling I/O devices. When the CPU and the channel, or the CPU, channel, and control
unit, share common facilities,I/O operations cause
interference to theCPU, varying in intensity from
occasional delay of aCPU cycle to a complete lock
out ofCPU activity. The intensity depends on the
extent of sharing and on theI/O data rate. The
sharing of the facilities, however, is accomplished
automatically, and the program is not affected byCPU delays, except for an increase in execution
time.
Modes of Operation
AnI/O operation occurs in one of two modes: burst
or byte interleave.
In burst mode, theI/O device monopolizes the I/O interface and channel and stays logically con
nected to the channel for the transfer of a burst of
information. No other device cancommunieate over
Input/Output Operations 187
between channels. The time required for switching
occurs during device selection time and may be ig
nored.
Control Units
A control unit provides the logical capabilities neces
sary to operate and control an
adapts the characteristics of each device to the
standard form of control provided by the channel.
In most configurations, communication between
the control unit and the channel takes place over the
nals from the channel, controls the timing of data
transfer over the
tions concerning the status of the device.
The
be designed to perform only certain limited opera
tions, or it may perform many different operations.
A typical operation is moving the recording medium
and recording data. To accomplish these functions,
the device needs detailed signal sequences peculiar
to the type of device. The control unit decodes the
commands received from the channel, interprets
them for the particular type of device, and provides
the signal sequence required for execution of the
operation.
A control unit may be housed separately, or it
may be physically and logically integral with the
chanical devices, a well-defined interface exists be
tween the device and the control unit because of the
difference in the type of equipment the control unit
and the device contain. These electromechanical
devices often are of a type where only one device of
a group attached to a control unit is required to op
erate at a time (magnetic tape units or disk-access
mechanisms, for example), and the control unit is
shared among a number of
er hand, in some electronic
channel-to-channel adapter, the control unit does
not have an identity of its own.
From the user's point of view, most functions
performed by the control unit can be merged with
those performed by the
manual normally does not make specific mention of
the control unit function; the execution of
ations is described as if the
cated directly with the channel. Reference is made to
the control unit only when emphasizing a function
performed by it or when sharing of the control unit
among a number of devices affects the execution of
Channels
The channel directs the flow of information between
the task of communicating directly with the devices
and permits data processing to proceed concurrently
with
The channel provides a standard interface for
connecting different types of
mation from the
program and changes it into a sequence of signals
acceptable to a control unit. After the operation with
the device has been initiated, the
other work, and the channel assembles or disassem
bles data and synchronizes the transfer of data bytes
over the interface with main-storage cycles. To ac
complish this, the channel maintains and updates an
address and a count that describe the destination or
source of data in main storage. Similarly, when an
to the attention of the program, the channel trans
forms the signals to information that can be used in
the
control of
provided in the form of separate autonomous equip
ment designed specifically to control
activity in the
required during
those needed to transfer data and control informa
tion to or from the final locations in main storage.
These cycles do not interfere with the
except when both the
rently attempt to refer to the same main storage.
Alternatively, the system may use the facilities of
the
unit, share common facilities,
interference to the
occasional delay of a
out of
extent of sharing and on the
sharing of the facilities, however, is accomplished
automatically, and the program is not affected by
time.
Modes of Operation
An
or byte interleave.
In burst mode, the
nected to the channel for the transfer of a burst of
information. No other device can
Input/Output Operations 187