IBM 5100 Setup guide

---
-
----
---
--
-
---
-----
-
...
-
---
-----
--_.-
(/
IBM 5100
Communications/Serial I/O
Maintenance Information Manual ,...
It)

Preface
This manual
is
for personnel who service the
IBM
5100
Portable Computer Communications. Adapter feature,
Serial I/O Adapter feature, or both. To use this manual,
you should know how
to
operate the 5100 with the Com-
munications Adapter feature, Serial
I/O
Adapter feature, or
both.
It
would also
be
helpful if you understand basic tele-
processing concepts.
Related Publications
•
IBM
5100 CommunicationsAdapterFeature User's
Manual, SA21-9215
•
IBM
5100
Serial//O
Adapter
Feature User's Manual,
SA21-9239
•
IBM
5100
Maintenance Information Manual,
SY31-0405
Third Edition (October 1976)
This is a
minor
revision
of
SY31-0429-1 incorporating changes released in the
following
technical newsletters: SN31-0467 (dated 1 May 1976) and SN31-0478 (dated 12
July
1976). Changes are
periodically
made
to
the specifications herein; any such change
will
be reported in subsequent revisions
or
technical newsletters.
A
form
for
readers' comments
is
provided at the back
of
this
publication.
If
the
form
has
been removed, comments
may
be
addressed
to
IBM
Corporation,Publications,
Department
245,
Rochester, Minnesota
55901.
Comments become
the
property
of
IBM.
©International Business Machines Corporation
1975;
1976
.
'.
,
o
o
o
o
b'

Contents
( ,
I'
:l
HOW
THIS
MANUAL
IS
ORGANIZED
iv
Expansion Feature Card Transmit Operation 2-17
Expansion Feature Card Receive Operation 2-17
(
INTRODUCTION
1-1
Communications
Transmit
Interrupt
2-18
Expansion Feature
1-1
Receive
Interrupt
2-18
i Communications Adapter Feature
1-1
Error
Detection . 2-18
Serial
I/O
Adapter
Feature.
1-1
Parity Errors 2-18
Start
Bit
Errors 2-18
THEORY
OF
OPERATION
2-1
Stop
Bit
Errors 2-18
,.
Communications Microprograms and Data
Flow
2-1
(
Transmit.
2-2
DIAGNOSTIC
AIDS
3-1
Receive 2-2 Communications Diagnostic
Buffer
3-1
Serial
I/O
Microprograms and Data
Flow
2-3 Displaying the Diagnostic
Buffer
3-1
Transmit
Operation.
2-4
CE
Display 3-3
Receive Operation 2-4 Extended Display 3-3
Data
Format
. 2-5
Network
Analysis Subroutine 3-4
5-Bit
Code 2-5 Operating Instructions . 3-5
6-Bit
Code 2-5
How
Data
is
Accumulated 3-7
7-Bit
Code 2-5 Displays 3-7
8-Bit
Code 2-5 Communications/Serial
I/O
Troubleshooting Guide 3-13
Communications
Control
Characters 2-7
Communications
Function
Characters 2-8
COMMUNICATIONS
NETWORKS
4-1
Shift
Function
Characters . 2-8 Switched
Networks
. 4-2
Backspace
Function
Character 2-8 Nonswitched Networks 4-2
Tab
Function
Character 2-8 Common Terms . 4-2
Bypass and Restore
Function
Characters 2-8 Data Set Functions . 4-3
(
New·Line
and Line Feed
Function
Characters 2-9
Communications Data Set
EIA
Interface 2-11
APPENDIX.
CHARACTER
CODE
CHARTS
5-1
Serial
I/O
Device
EIA
Interface 2·11 Communications Code Chart 5-2
Modem Mode
2·12
Code Chart
of
Function
and Control Characters 5-2
Ignore Mode . 2·13 Code Chart
for
EBCD Data Characters 5-3
Terminal Mode 2-13 Code Chart
for
Correspondence Code Data
Set
Mode.
2-15 Characters 5-4
Expansion Feature Card 2-15 Serial
I/O
Character Code Charts 5-4.1
Addressing 2-15 Serial
I/O
5-Bit
Character Chart 5-5
Control Strobe 2-15 Serial
I/O
6-Bit
Character Chart 5-6
Put Strobe 2-16 Serial
I/O
7-Bit
Character Chart 5-8
Start Execute 2-16
INDEX
X-1
(
Contents
iii

iv
How
This Manual
Is
Organized
Because the Communications Adapter feature and the Serial I/O Adapter feature are sim-
ilar, both features are explained
in
this manual.
The main sections
of
the manual and what each explains
is
as
follows:
• Introduction explains
the
similarities and
the
major differences between
the
two
features, what each feature consists of, and
the
function of each feature.
• Theory
of
Operation explains the microprograms and data flow of each feature, the
data format
used
with both features, the EIA (Electronics Industry Association)
RS232C/CCITT V.24-V.28 standard interface lines
that
both features use, and how
the expansion feature card functions
in
both transmit and receive operations.
• Diagnostic Aidstells what diagnostic aids are available for communications and serial
I/O. This section also contains instructions on how
to
use the diagnostic buffer and
network analysis routine for communications, and contains a troubleshooting guide
for communications and serial I/O.
• Communications Networks explains some
of
the
basics
of
data communications
that
apply
to
the
IBM
5100 Portable Computer.
• Appendix. Character
Code
ChartB
shows
the
character codes and
the
character
bit
values
that
are used by botn features.
,

(:
(
(
(
The Serial I/O Adapter feature,
the
Communications
Adapter feature,
or
both,
can be installed
on
the
5100
Portable Computer.
The similarities
of
the
communications and serial I/O
Adapter features are:
• They both
use
the
EIA (Electronics Industry Associa-
tion) RS232C/CCITT V.24-V.28 standard interface
to
connect
the
5100
to
a data set
or
an I/O device.
• They
both
use
the
same logic card (B2).
•
They
both use microprograms in read/write storage.
The major differences between
the
two features are:
• The APL or BASIC language
is
active with
the
Serial I/O
Adapter feature and a user written APL or BASIC pro-
gram interacts with
the
serial I/O program. The APL or
BASIC language
is
not
active with the Communications
Adapter feature.
•
The
features use a separate
connector
on
the
rear panel
of
the
5100.
EXPANSION FEATURE
The expansion feature
is
a prerequisite for
the
Communica-
tions Adapter feature,
the
Serial I/O Adapter feature, or
both.
The expansion feature
is
the
expansion feature card
(B2).
Introduction
COMMUNICATIONS ADAPTER FEATURE
The Communications Adapter feature enables
the
IBM
5100
Portable Computer
to
communicate with a remote
system. The
5100
appears
the
same
as
an
IBM
2741 Com-
munication Terminal
to
the
remote system. The
5100
can
transmit
data from
the
keyboard
or
tape
unit, write trans-
mitted or received data
on
tape,
or
print
transmitted
or
received data.
The
Communications Adapter feature consists
of
internal
and external cables, and
the
communications program (the
expansion feature
is
also required).
The
communications
program, which consists of
the
communications micropro-
gram,
the
communications I/O microprogram, and
the
printer microprogram,
is
stored
on
tape
and
must
be
loaded into read/write storage before using
the
feature.
For detailed information
on
loading
the
communications
program and using
the
feature, refer
to
the
IBM
5100
Communications
Adapter
Feature User's Manual.
SERIAL I/O ADAPTER FEATURE
The Serial I/O Adapter feature allows a user
to
attach
I/O
devices other
than
the
5100
I/O devices
to
the
5100
Portable
Computer.
The Serial I/O Adapter feature consists
of
internal and ex-
ternal cables, and
the
serial I/O program (the expansion
feature
is
also required). The serial I/O program, which
consists
of
the
serial I/O microprogram and
the
serial I/O
input/output
microprogram,
is
stored
on
tape
and
must be
loaded into read/write storage before using
the
feature.
For an explanation
of
how
to
load and use
the
serial I/O
program, refer
to
the
IBM
5100
Serial
I/O
Adapter
Feature
User's Manual.
Introduction
1-1

1-2

(
(
(
COMMUNICATIONS MICROPROGRAMS
AND
DATA
FLOW
The
following
diagram shows the location
of
the micro·
programs and the data
flow
for
a communications transmit
and
receive operation. Refer
to
this diagram while reading
the description
of
the microprograms and data
flow.
ReadIWrite Storage
Theory Of Operation
'-
_~_:_~_~_~_e_d
____
~~
,fl
-~~
__
~_c_i~r_~~~~;y;;~::::::::~
____
~~::::::::::~
..
I
r-"-
Executable ROS
Communications
~
_
I/O
Supervisor
Printer
-CJ
Printer
Microprogram
(option
2
or
4)
",,-
-
Microprogram
Microprogram
Communications
_
Communications.
r-
Microprogram
Diagnostic
I/O
Subroutines
Buffer
..
-
Microprogram
foe-
+
Expansion
Feature
Card
_ Data
Set
During communications, the IBM 5100 Portable Computer
functions
as
a communications terminal, and normal
APL
and
BASIC language operations cannot
be
performed.
During communications, the 5100
uses
microprograms in
read/write storage and microprograms and subroutines in
executable ROS.
The microprograms in read/write storage
that
are
used
during communications
are
the communications micro·
program, the communications I/O microprogram, and the
printer microprogram
(used
only
when
option
2
or
4
is
selected).
--r"
I
Microprogram
-I
(option
1
or
3)
I
I
.~
l.
Tape
Microprogram
-
(option'
or
3)
.~
'---
Keyboard
Microprogram
Receive
--
---
Transmit
------
Theory
Of
Operation
2·'

The microprograms in executable ROS
that
are used during
communications are:
•
The
printer,
tape,
keyboard, and I/O supervisor (these
,are also used in normal APL and BASIC operations).
•
The
microprogram subroutines (these are used only by
the
communications I/O microprogram).
The microprograms
in
read/write storage are loaded from
the
communications tape; however,
the
printer microprogram
is
loaded only when option 2
or
4
is
selected. During APL
or
BASIC operations,
or
if
option
1
or
3
is
selected,
the
printer
microprogram
in
executable ROS
is
used for printer opera-
tions. Refer
to
the
IBM
5100
Communica..tions
Adapter
Feature
User's
Manual for a description of
the
options.
The
communications microprogram controls
the
format
of
the
data printed and written
on
tape,
stored in
the
extended
display, and displayed
on
the
screen. It also adds
the
line
control and function characters,
and
transfers data
to
or
from
the
communications I/O microprogram.
Transmit
During transmit operations,
data
can be supplied from
the
keyboard,
the
extended
display,
or
a tape. The communica-
tions I/O microprogram converts
the
data
to
EBCD
(extended
binary coded decimal)
or
correspondence code characters,
places
the
character
in
the
communications diagnostic
buffer, serializes each character, adds start and
stop
bits, and
sends
the
character
to
the
expansion feature card one bit
at
a time.
The operating sequence
of
the
microprograms and
the
data
flow
is
as follows:
1. A key
is
pressed on
the
keyboard
or
a character
is
read from tape.
2.
3.
4.
2·2
The keyboard
or
tape
microprogram
in
executable
ROS passes
the
data from
the
keyboard
or
tape
to
the
I/O supervisor.
The I/O supervisor passes
the
data
to
the
communi-
cations microprogram.
The communications microprogram places
the
character (if it
is
a data character)
in
the
extended
display and
on
the
display screen.
If
the
5100
is
transmitting and
the
character was entered from
the
keyboard, it
is
passed
to
the
communications I/O
microprogram.
If
the
character was read from
tape
or
the
5100
is
in
the
edit
state,
the
character
is
not
passed
to
the
communications I/O microprogram until
a complete line
is
read from tape
or
until
the
EXE-
5.
CUTE
or
ATTN key
is
pressed. The data
is
then
read
from
the
extended display; control
and
function
characters are added;'and
the
data
is
passed
to
the
communications I/O microprogram one character
at
a
time
.
The communications I/O microprogram, with
the
use
of
the
microprogram subroutines in executable ROS,
converts
the
character
to
EBCD
or
correspondence
code; places
the
character
in
the
diagnostic buffer;
adds
the
start
and
stop
bits; and sends
the
character,
bit
by
bit,
to
the
expansion feature card. The bits
sent
to
the
card are
then
sent
to
the
data
set and trans·
mitted
to
the
remote system.
Receive
All
data received by
the
5100
is
stored in
the
extended dis-
play, displayed on
the
screen, and printed
and/or
written
on
tape.
The
communications I/O microprogram removes
the
start
and
stop
bits from each character, deserializes
the
char·
acter, places
the
character
in
the
communications diagnostic
buffer, converts
the
character
to
EBCD
or
correspondence
code and sends it
to
the
communications microprogram.
The operating sequence
of
the
microprograms and
the
data
flow when
the
5100
is
receiving is:
1. Bits from
the
data set are sent
to
the
expansion
feature card.
2.
3.
4.
5.
6.
The expansion feature card sends
the
bits
on
bus
in
to
the
communications I/O microprogram.
The communications I/O microprogram assembles
the
bits into EBCD
or
correspondence code characters,
updates
the
communications diagnostic buffer with
the
characters, and passes control
to
the
communica-
tions microprogram.
The communications microprogram updates
the
display screen and extended display,
then
waits for
the
next
character.
If
option
2
or
4
is
selected,
the
data
is
printed when a
line feed
or
new·line function character
is
received.
If
option
1
or
3
is
selected,
the
data
is
stored
in
the
extended display until a new-line character and
the
end
of
transmission character ( ©)are received,
then
printed
or
written
on
tape.
The data flow from
the
extended display
to
the
printer or
tape
is
controlled by
the
communica-
tions microprogram,
the
I/O supervisor, and
the
tape
and printer microprograms.
",,---
/

(
~-
(
(-
SERIAL
I/O MICROPROGRAMS AND DATA FLOW
The
following diagram shows
the
location
of
the
serial I/O
microprograms
and
the
data
flow
for
a serial I/O
transmit
and receive
operation.
Refer
to
this
diagram while reading
the
description
of
the
microprograms
and
data
flow.
I Display
I Screen
\
ReadlWrite Storage Executable ROS
User's
APL
or
BASIC
I/O
Program Supervisor
I/O
Buffer
Serial
I/O
I I
Microprogram
Serial
I/O
APL
and
Input/Output
BASIC
Micro-
Microprogram program
Sub-
routines
r--
Printer
Microprogram
L Tape
Microprogram
-Keyboard
Microprogram
Nonexecutable ROS
Expansion
Feature
Card
APL
and BASIC
~
Interpreters
-
Serial
I/O
Device
During serial I/O operations,
the
5100
uses programs
in
read/write sto.rage, executable ROS, and nonexecutable
ROS.
The
programs
in
read/write storage are
the
user's APL
or
BASIC program,
the
serial I/O microprogram, and
the
serial I/O
input/output
microprogram.
The programs
in
executable ROS are
the
printer,
tape,
keyboard,
and I/O supervisor microprograms. The APL
and
BASIC microprogram subroutines
in
executable ROS
are also used during serial I/O operations.
5103
Printer
~
~
Tape
"'-
5100
Keyboar(l
Theory
Of
Operation 2-3

The programs
in
nonexecutable
ROS
are
the
APL and
BASIC interpreters.
The microprograms
in
executable and nonexecutable ROS
function
the
same
in
serial I/O operations as they
do
in
normal APL
or
BASIC language operations.
The serial I/O microprograms
in
read/write storage are
loaded from
the
serial I/O adapter tape cartridge.
The serial I/O microprogram sets the device characteristics
and the request
to
send and clear to send controls as speci-
fied by the user. (See the
IBM
5100
Serial
I/O
Adapter
Feature User's Manual for
an
explanation
of
how these de-
vice characteristics are set., This microprogram aiso controis
the data flow into and
out
of
the I/O buffer
in
read/write
storage. The size
of
the
I/O buffer
is
set by the serial I/O
microprogram as specified
by
the
user. (See
the
IBM
5100
Serial
I/O
Adapter Feature User's Manual for more
information
on
the I/O buffer.)
During a transmit operation, the serial I/O microprogram
takes
the
data from
the
I/O buffer when the device (output
file)
is
closed
or
when
the
buffer becomes full. This micro-
program also adds control and function characters if neces-
sary, such
as
upper shift function characters, and end-of-
block and end-of-buffer control characters; and sends
the
data
to
the
serial I/O
input/output
microprogram one
character
at
a time.
During a receive operation, the serial I/O microprogram
puts
the
data
in
the I/O buffer
as
it
is
received from
the
I/O device.
Transmit Operation
During a transmit operation, data
is
supplied by
the
user's
APL
or
BASIC program. (During
BASIC
language opera-
tions, the user can transmit a BASIC program
to
the
I/O
device with
the
SAVE command.) The serial I/O
input/
output
microprogram converts
the
data
to
the specified
code (5-,6-,
7-,
or
8-bit). adds
the
start and stop bits,
serializes each character, and sends
the
character
to
the
expansion feature card one bit
at
a time.
The operating sequence
of
the microprograms and the data
flow during a transmit operation is:
1.
A data character
is
entered from
the
keyboard
or
read from tape.
2.
2-4
The keyboard
or
tape microprogram passes
the
data
character
to
the
I/O supervisor.
3.
4.
5.
The I/O supervisor passes
the
data character
to
the
I/O buffer
in
read/write storage
via
the
APL
or
BASIC microprogram subroutines, which use
the
programs
in
the
APL
or
BASIC interpreters.
When
the
user's program specifies
output,
the
serial
I/O microprogram removes the data from the I/O
buffer
via
the
I/O supervisor and APL
or
BASIC
microprogram subroutines; adds any necessary func-
tion and control characters; and passes
the
data
to
the
serial I/O
input/output
microprogram.
The serial I/O
input/output
microprogram converts
the character
to
the
specified code, serializes
the
character, adds start and stop bits, and sends the char-
acter, bit by bit,
to
the
expansion feature card. The
bits sent
to
the
card are transmitted
to
the
serial I/O
device on
the
transmitted data line.
Note: Steps 1, 2, and 3 are
the
same
as
a normal APL
or
BASIC language operation. The data could also be supplied
by
the
user's APL
or
BASIC program, such
as
the
result
of
calculations.
Receive Operation
DUring
a receive operation, data received from an I/O device
is
sent
to
the
user's APL or BASIC program by
the
serial
I/O microprograms;
the
user's program may use
the
data
or
send it
to
the
5100
output
devices. (In BASIC language
operations,
the
user can receive a BASIC program from
the
I/O device with
the
LOAD
command.)
The operating sequence
of
the microprograms and
the
data
flow during a receive operation
is:
1.
2.
3.
4.
5.
The
5100
receives
the
data from
the
I/O device on
the received data line
via
the
expansion feature card.
The card sends
the
data, bit by bit,
to
the
serial I/O
input/output
microprogram on bus in.
The serial I/O input/output microprogram deserializes
each character, removes
the
start and stop bits, con-
verts
the
character
to
5100 code, and sends
the
char-
acter
to
the
serial I/O microprogram.
The serial I/O microprogram places the character
in
the
I/O buffer via the APL or BASIC microprogram
subroutines and
the
I/O supervisor.
The user's program uses
the
data
or
sends it
to
the
5100
I/O devices
via
the
APL
or
BASIC micropro-
gram subroutines and
the
I/O supervisor as
in
a normal
APL
or
BASIC operation.
"

(
(
DATA FORMAT
The
5100
uses the start-stop format for
both
the
communi-
cations and serial I/O features.
In
the
start-stop format,
each character
is
synchronized separately
on
the
data line.
To synchronize each character, a ST (start) bit
is
added
to
the
beginning
of
the
character and a SP (stop) bit(s)
is
added
to
the
end
of
the
character. The data bits transmitted be-
tween
the
ST and SP bits can
be
anyone
of
the
codes used
with
the
5100
communications
or
serial I/O feature, be-
cause
the
ST and SP bits, respectively, indicate
the
begin-
n
ing
and end
of
a character.
The code used with
the
communications feature
is
EBCD
(extended binary coded decimal)
or
correspondence code.
Tha code used with
the
serial I/O feature
is
5-,6-,
7-,
or
8-bit code.
5-Bit Code
Each 5-bit character contains 5 data bits labeled 1, 2,
3,
4, and 5. There are no parity bits with
the
5-bit code.
The 5-bit code
is
compatible with I/O devices
that
use
the
Baudot code.
Additional characters are obtained by preceding
the
code
with a letters (lower) or figures (upper) shift character.
If
the
characters are preceded by a letters character,
the
characters are letter (lower) shift characters.
If
the
charac-
ters are preceded by a figures character,
the
characters are
figure (upper) shift characters. For more information
on
letter and figure characters, see
the
IBM
5100
Serial
I/O
Feature User's Manual.
6-Bit Code
Each EBCD, correspondence code,
or
6-bit character con-
tains 7 bits, which are labeled
B,
A, 8, 4, 2, 1, and
C.
Bits
B,
A, 8, 4, 2, and 1 are data bits and indicate different
characters by using a different combination
of
bits for
each character. Bit C
is
a check bit (parity bit) and
is
used
to
maintain odd parity of each character for error checking
purposes. The 6-bit code
is
compatible with I/O devices
that
use
the
EBCD
or
correspondence code.
Additional character combinations are obtained by pre-
ceding a character
or
characters with a shift function char-
acter. For example, if
the
characters ABCD are preceded
by
an upper shift function character,
the
characters ABCD
are upper shift characters. For more information
on
shift
function characters during communications operations,
see
Shift
Function Characters and Communications Diag-
nostic Buffer. For more information
on
shift function char-
acters during serial I/O operations, see
the
IBM
5100
Serial I/O Feature User's Manual.
7-Bit Code
Each 7-bit character contains 8 bits, which are labeled
P,
1,2,3,4,5,6,
and 7. Bits
1,2,3,4,5,6,
and 7 are data
bits and bit P
is
a parity bit. The parity
of
a 7-bit character
can be odd, even,
or
ignored
as
specified
by
the
user. When
the
ignore
option
is
specified,
all
7-bit characters
that
the
5100
transmits
to
the
I/O device have
the
parity
bit
turned
off
(space level); and
on
all 7-bit characters
that
the
5100
receives from
the
I/O device,
the
parity bit
is
ignored. The
7-bit code
is
compatible with I/O devices
that
use ASCII
(American Standard Code for Information Interchange).
8-Bit Code
Each 8-bit character contains 8
data
bits (no parity bits),
which are labeled 0,
1,2,3,4,5,6,
and 7. The 8-bit
code
uses
the
hexadecimal format
00
through FF.
See
the
Appendix, CharacterCode Charts for
the
bit for-
mats and character graphics for
the
EBCD, correspondence,
5-,
6-, and 7-bit codes.
Theory
Of
Operation 2-5

The presence
of
a data bit on
the
received data
or
trans-
mitted data line
is
indicated
by
a mark; a mark
is
a minus
(-)
voltage level
(-3.0
to
-25.0V).
The absence of a data
bit
is
indicated by a space; a space
is
a plus
(+)
voltage
level
(+3.0
to
+25.0V). The following graph shows how
the
character A would look
on
the
data line
in
each code with
the
ST and SP bits added:
First Bit
Transmitted Increasing Time
Space +
ST
2
Mark-
n
--------'
~
3 4
5-Bit Character A (bits 1 and 2)
No
Parity
Space + ST B A 8 4
Mark -n
5
2
SP
1-1/2 I
. I
Bits I
I I
C
LJl
EBCD
or
6-Bit Character A (bits
B,
A,
and
1)
Odd Parityl
Space + ST 7 6 5 4 3 2
Mark-
n I
---+---1
U
7-Bit Character A (bits 7 and 1) Even Parity
Space + ST 7 6 5 4 3 2
8-Bit Character A (bits
7,6
and 0) No Parity
SP
Last Bit
Transmitted
•
1
For
Correspondence code,
the
bit value
is
B,
4, 2, 1,
and
C,
(see Code Chart
for
Correspondence
Code Data Characters!'
2Can have
two
SP bits if specified by
the
user.
2-6

(
(
(
COMMUNICATIONS CONTROL CHARACTERS
~ages
are
indicated~
two
line control characters:
® (circle D) and
\.S)(circle
C). A @
~ates
the
start
of
a message,
or
start
of
transmission; a
~indi
cates
the
end
of
a message,
or
end
of
transmission. These
characters are transmitted by
the
5100
and by
the
remote
system
as
shown
in
the
following diagram (the arrow indi-
cates
the
direction
of
data flow):
Action
The lines 'clear
to
send' and
'data
set
rdy'
are activated
by
the
data set, which
is
indicated
by
the arrow
on
the status line
of
the
display screen pointing up
t.
IBM
5100
Remote System
The
5100
waits approximately 1 second
after 'clear
to
send' and 'data set rdy'
become active, then sends
the
first mes-
sage
to
the remote syste
m.
©
...
data@l
>
-=-----=--
The
5100
waits for the remote system
to
send a message.
The remote system responds.
<,..--_@=--D_dat_a
..
_.©=_
After a 66-millisecond delay,
the
5100
changes
to
the transmit state, and trans-
mits
the
next message. ©
...
data@
>
~-------,
1 The ®
is
transmitted by the communications pro-
gram immediately after
the
approximate 1-second delay,
which
is
indicated by the arrow on
the
status line chang-
ing
from up
(t)
to
right
(~).
If
the
remote system does
not
respond
to
a message from
the
5100
or if one of
the
control characters
is
lost (be-
cause
of
line noise or some
other
reason)
the
5100:
• Remains
in
the receive state until a ©or @
is
received.
•
Ign~res
all
data characters until a ©
or
a ®
is
received.
•
Re~s
in
the receive
state
if
a @
is
received
but
no
~
is
received. (Any data received
is
stored
in
the
extended display
but
is
not
printed
or
written
on
tape.) The
5100
leaves the receive
state
when either
the
ATTN key
is
pressed (which transmits a receive inter-
rupt
to
the
remote system) or
the
CM
D and A
TIN
keys are pressed (which causes
the
5100
to
go
to
the
transmit
state
and send a @
).
(- • Goes
to
the transmit state when a ©
is
received be-
" fore a @. Any data characters received before
the
©
is
received are lost.
(',
Theory
Of
Operation 2-7

COMMUNICATIONS FUNCTION CHARACTERS
Function characters are special characters
that
the
5100
and
the
remote system use during communications
to
control specific functions. These characters, their func·
tion, and their bit values, are shown under Code Chart
of
Function and Control Characters
in
the Appendix, Char-
acter Code Charts.
Following
is
a more detailed explanation
of
the
function
characters
that
apply
to
the 5100:
Shift Function Characters
The shift function characters, upper shift (indicated by a
<
in
the
diagnostic buffer) and lower shift (indicated by a
::;
in
the diagnostic buffer) indicate
to
the remote system
and
the
5100
that
the data following
is
upper or lower
shift (see Communications Diagnostic Buffer). For ex-
ample,
ifthe
5100 received:
<ABCDEF::;GHIJK
the characters ABCDEF would be upper shift characters
and
the
characters GHIJK would be lower shift characters
as indicated by
the
preceding shift function character.
Backspace Function Character
A backspace function character (indicated by a
iiin
the
diagnostic buffer) indicates
to
the 5100 and the remote
system
to
backspace one character. For example,
if
the
5100
received:
the
5100
would display the character A, backspace the
cursor, and display the character_ (an upper shift
F)
to
form
the
character
~.
2-8
Tab Function Character
A
tab
function character (indicated by a c
in
the diag-
nostic buffer) indicates
to
the
5100
and remote system
to
tab
to
the
next
tab
setting. For example,
if
the
5100
received:
ABCD
cEFGH
the display would show:
ABCD
EFGH
The number
of
spaces would depend on where the
tab
was
set.
Bypass and Restore Function Characters
The bypass and restore function characters (indicated by
a
wand
a
:::>
respectively
in
the diagnostic buffer) set and
restore the bypass function on the
5100
when the charac-
ters are received. When the bypass function
is
set, (bypass
function character received) the
5100
does not display or
print data.
If
a tape file
is
open (&OPEN command
is
entered), the data
is
written on tape.
The bypass function
is
used for data security. Characters
entered from the keyboard are sent
to
the
remote system
·and
the
cursor advances with each key pressed.
The
5100
does not transmit the bypass and restore func-
tion characters.

(
(
New-Line and Line Feed
Function
Characters
A new-line function character (indicated by a G
in
the
diag-
nostic buffer) indicates
the
end
of
a line
of
data and starts
a new line
of
data.
For
example,
if
the
5100
received:
ABCDEGFGHIG
the
display would show:
ABCDE
FGHI
(cursor)
A line feed function character (indicated
by
a
;t
in
the
diagnostic buffer)
is
only received
by
the
5100;
the
5100
does
not
transmit this character.
A line feed function character indicates
the
end
of
a line
of
data
and causes
the
display
to
move
up
one
line
(the
cursor
does
not
move
to
the
left).
For
example, if
the
5100
received:
ABCD;tEFGH;t
(
the
display would show:
ABCD
EFGH
(cursor)
(
(-
NeW-line and line feed function characters also indicate
to
the
5100
to
start
printer
or
tape
output
operations. How-
ever, only complete lines
of
data
are printed
and/or
written
on tape. A complete line
is
data
ending with a new-line
or
line feed function character.
For
example,
if
the
following
message
is
received:
@ABCGDEFGGHI
©
\/
New-Line Characters
the
last line
of
data
(GH
I)
is
not
printed
or
written
on
tape
because it does
not
end with a new-line character; however,
it
is
stored
in
the
extended
display.
Theory
Of
Operation 2-9

If
the
user enters
the
command~
OUTSEL SYS, only
lines received from
the
remote system
that
end with a new-
line
or
line feed function character (complete lines) are
printed
and/or
written. A line
of
data (transmitted
or
re-
ceived data) without a new-line character
is
joined with
the
following line. The following example shows when
data would be printed and/or written
if
the command &
OUTSEL SYS
is
entered and
the
messages are transmitted
as shown:
Note: The arrow indicates the direction'
of
data flow.
5103
Printer
and/or
IBM 5100 Remote System Tape
Output
@0
...
TAP @ >
No
output
<@ STEVE
...
0@ STEVE
@
...
LEM
@ > No
output
<@
PAT
...
0@
MELPAT
©0
...
NOD
@ >
No
output
< @
DAN
...
@
No
output
The
message
DAN
is
stored
in
the
extended display,
but
is
not
printed
or
written because a new-line
or
line feed func-
tion character was not received.
If
communications continue and the extended display
be-
comes full and overflows before a complete line
of
data
is
received,
the
message
DAN
will be lost.
2-10
(transmitted message)
(received message)
(received message without
a neW-line character)
(received message with
a new-line character)
(transmitted message)
(received message without
a new-line character)

(
(
(
(
COMMUNICATIONS DATA SET EIA INTERFACE
The
data set interface between
the
expansion feature card
and
the
data set
is
the
EIA RS232C/CCITT V.24-V.28
standard interface and
is
connected
as
shown
in
the
follow-
ing
diagram:
Base I/O Expansion
Card (F2)
Bus
Out
...
Feature
......
Card
.....
Bus
In
(B2)
...
Device Adr
Bus
...
...
Control
'+ext horiz
dr'
(from display card)
The
output
EIA lines are turned
on,
and
the
input
EIA
lines are sensed, by
the
communications I/O microprogram.
An
on
signal on an EIA control line
is
indicated by a plus
voltage level
of
+3.0
to
+25.0V. An
off
signal
is
indicated
by a minus voltage
level
of
-3.0
to
-25.0V.
The
function
of
each EIA line and
the
sequence in which
they are
turned
on
or sensed during communications is:
If
the
5100
is
going
to
transmit
data:
1.
2.
3.
4.
5.
The
5100
turns
on
data
terminal ready
to
indicate
that
it
is
ready
to
communicate.
The data set turns on data set ready
to
indicate
that
it
is
ready
to
communicate.
The
5100
turns on request
to
send
to
indicate
that
it
is
ready
to
send
data
to
the
data set.
The
data set turns on clear
to
send
to
indicate
that
it
is
ready
to
send data
to
the remote system.
The
5100
sends
the
data
to
the
data set
on
the
trans-
mitted data line. (See Data Format
in
Theory
of
Operation
.)
line
Name
Data Terminal Ready
Request
to
Send
Transmitted Data
Received Data
Clear
to
Send
Data
Set
Ready
Signal Ground
Protective Ground
If
the
5100
is
going
to
receive data:
Pin
No
20
4
2
3
5
6
7
1
Data
Set
1. Data terminal ready and data set ready are
turned
on
as
in
a transmit operation.
2. Clear
to
send
and
request
to
send are
not
used.
3. The
5100
receives
the
data from
the
data set
on
the
received data line. (See Data Format.)
Signal ground provides a
common
ground for
all
circuits.
Protective ground
is
connected
to
the
frame
of
the
5100.
Refer
to
the
IBM
5100
Maintenance Information Manual,
for the communications
connector
and expansion feature
card pin numbers.
SERIAL I/O DEVICE EIA INTERFACE
The
5100
uses
the
EIA RS232C/CCITT V.24·V.28 standard
interface
to
connect
the
I/O devices used with
the
Serial
I/O Adapter feature.
The
EIA lines
on
the
expansion feature card are
turned
on
(output
lines) and sensed
(input
lines)
by
the
serial I/O
input/output
microprogram.
The
control lines are
at
a
plus voltage level when active (on) and a minus voltage
level when inactive (off).
The
acceptable voltage levels
are +3.0
to
+25.0V for an
on
level and
-3.0
to
-25.0V
for an off level. For
the
voltage levels and
the
format
of
the
data
on
the
data
lines (transmitted
data
and received
data), see Data Format.
Theory Of Operation 2·11

When operating
the
serial I/O feature,
the
user can select
one
of
four modes (modem, ignore, terminal, or set).
In
modem
or
ignore mode,
the
5100 functions like a modem
(data set).
In
terminal mode,
the
5100 functions like a
terminal and
in
set mode,
the
5100
can function
as
either
a terminal
or
a modem (either
the
modem cable
or
the
terminal cable can be used
to
attach the I/O device).
Modem Mode
Because
the
5100 operates like a modem (data set) in
modem mode and
the
expansion feature card
is
designed for
communications terminal
operations,
the
line names are
interchanged
at
the
seriai i/O
connector
as
foiiows:
Data terminal ready with data set ready
Request
to
send with clear
to
send
And transmitted data with received data
The
following diagram shows the EIA standard interface
lines
that
are used during serial I/O operations and
the
way
they
are connected
to
the
5100
in
modem mode. Refer
to
the
IBM
5100
Maintenance
Information
Manual for the
serial I/O connector and
Z1
cable socket pin numbers.
Base I/O
Card (F2)
2-12
Bus
Out
--.
....
Bus
In
~
Device Adr Bus
..
..
Control
+ext horiz dr
Expansion
Feature Card (B2)
'+510 data term
rdy'
'+510 data set
rdy'
'+510 request
to
send'
'+510 clear
to
send'
'+SIO
xmit
data'
'+510 rcvd
data'
'+510 rcvd line
sig
def
Signal ground
Protective ground
Z1
Cable
Socket
\
Serial I/O
Connector Serial I/O Device
I
r------,
J><[
1><1
J><[
L
_____
.J
I
Internal
Cable
0:------,
_.
Data Terminal Ready
Data
Set
Ready
I Request
To
5end
Clear
To
Send
Transmitted Data
Received Data
Received Line
Signal Detector
Signal Ground
Protective Ground
L
_____
,
Serial I/O
Modem Cable

(
(
(
(
The function
of
each EIA line and
the
sequence
in
which
they are turned or sensed during serial I/O operations
in
modem mode
is:
• After the serial I/O program
is
loaded and enabled,
the
5100
turns
on '+SIO data term rdy', which
is
sensed
on
the data set ready line
at
the
I/O device,
to
indicate
that
the
5100
is
ready for serial I/O operations.
•
The
serial I/O device turns
on
data terminal ready,
which
is
sensed on the '+SIO data
set
rdy'
line on
the
expansion feature card,
to
indicate
that
the serial I/O
device
is
ready for serial I/O operations.
Note: The sequence
in
which data terminal ready and data
set ready are activated
is
not
significant.
When the serial I/O device
is
going
to
transmit data
to
the
5100:
1. The serial I/O device turns
on
the
request
to
send
line, which
is
sensed
at
the '+SIO clear
to
send'
line on the expansion feature card,
to
indicate
that
it
is
ready
to
send data.
2. The
5100
then turns
on
the '+SIO request
to
send'
line, which
is
sensed
on
the
clear
to
send line
at
the
I/O device,
to
indicate
that
it
is
ready
to
receive the
data from the I/O device.
3.
The serial I/O device sends the data
on
the transmitted
data line, which
is
received on the '+SIO rcvd
data'
line
at
the expansion feature card.
When the serial I/O device
is
going
to
receive data from the
5100:
1.
The lines data terminal ready and data set ready are
activated the same
as
when
the
I/O device
is
trans-
mitting data
to
the 5100.
2.
3.
The line request
to
send from the I/O device ('+SIO
clear
to
send'
at
the expansion feature card) must
be off. Therefore, the line '+SIO request
to
send'
at the card (clear
to
send
at
the
I/O device) will also
be off.
The
5100
sends the data on
the
'+SIO
xmit
data'
line and
the
data
is
received
on
the received data line
at
the I/O device.
The
received line signal detector line
is
active when the
'+SIO data term rdy' line
is
active and
is
provided for
I/O devices
that
require this signal.
Ignore
Mode
In
ignore mode, the sequence and function
of
the lines
are the same as they are
in
modem mode. (See Modem
Mode.) However, when the I/O device
is
going
to
send data
to
the
5100, the
5100
turns on the '+SIO request
to
send'
(clear
to
send line
at
the I/O device)
without
checking the
request
to
send line from the I/O device ('+SIO clear
to
send'
at
the expansion feature card).
When the serial I/O device
is
going
to
receive data from the
5100,
the
line '+SIO request
to
send' (clear
to
send
at
the
I/O device) remains off.
Terminal
Mode
A flip cable (terminal cable)
is
used
in
terminal mode
to
connect
the serial I/O device
to
the
serial I/O connector.
In
this cable the following lines are interchanged:
Data terminal ready and data set ready
Request
to
send and clear
to
send
Transmitted data and received data
Therefore, the line names
at
the
serial I/O device conform
to
the line names at the expansion feature card.
Theory
Of
Operation 2-13

The
following diagram shows
the
lines
that
are used during
serial I/O operations and the way
they
are connected
to
the
5100
in
terminal mode. Refer
to
the
IBM
5100 Mainten-
ance Information Manual for
the
serial I/O connector and
Zl
cable socket pin numbers.
Base I/O
Card (F2)
Bus
Out
Expansion
Feature Card (B2)
'+510 data term
rdy'
Z1
Cable
Socket
\
Serial I/O
Connector
I
r----,--,
.-----.
Serial I/O Device
Data Terminal Ready
'+510 data set
rdy'
i---
.....
t""'1
Data
5et
Ready
Busln
'+510 request
to
send'
I---
.....
~i
Request
To
5end
14----11111j
'+510 clear
to
send' Clear
To
5end
Device Adr Bus '+510
xmit
data'
Transmitted Data
Control '+510 rcvd
data'
Received Data
'+510 rcvd line
sig
det'
+ext horiz dr 5ignal ground 5ignal Ground
Protective ground
1----4._-+-----+-._-:-------:--1
Protective Ground
The
function
of
each line and
the
sequence
in
which
they
are
turned
on
and sensed
in
terminal mode
is
as
follows:
•
After
the
serial I/O program
is
loaded and enabled, the
5100
turns
on
'+510 data term
rdy'
to
indicate
that
it
is
ready for serial I/O operations.
•
The
serial I/O device turns on data set ready, which
is
sensed
at
'+510 data set ready'
at
the
expansion feature
card.
Note:
The
sequence
in
which data terminal ready and data
set ready are activated
is
not
significant.
When
the
5100
is
going
to
transmit data
to
the
serial I/O
device:
1.
The
5100
turns
on
'+510 request
to
send'
to
indicate
that
it
is
ready
to
send data.
2-14
2.
3.
L
_____
...1
I
Internal
Cable
L
____
_
,
Serial I/O
Terminal Cable
The
serial I/O device turns
on
clear
to
send ('+510
clear
to
send'
at
the
expansion feature card)
to
indicate
that
the
device
is
ready
to
receive
data
from
the
5100.
The
5100 sends
the
data
on
the
'+510
xmit
data'
line
to
the serial I/O device.
When
the
5100
is
going
to
receive
data
from
the
serial I/O
device:
1.
2.
The
lines data terminal ready and
data
set ready are
activated
the
same
as
when
the
5100
is
transmitting
data
to
the
I/O device.
The
line request
to
send ('+510 request
to
send'
at
the
card) remains off. Thus,
the
line '+510 clear
to
send'
will also be off.
3.
The
data
is
received from
the
serial I/O device on the
'+510 rcvd
data'
line.
/
Other manuals for 5100
8
Table of contents
Other IBM Desktop manuals

IBM
IBM Aptiva 2187 User manual

IBM
IBM Aptiva 2159 Owner's manual

IBM
IBM NetVista X40 User manual

IBM
IBM NetVista X40 User manual

IBM
IBM 1 GB Microdrive Storage Card User manual

IBM
IBM PC 300PL Types 6862 User manual

IBM
IBM NetVista Technical document

IBM
IBM 2254 Owner's manual

IBM
IBM NetVista A21 Operating instructions

IBM
IBM PC 300GL Types 6275 Quick start guide
Popular Desktop manuals by other brands

HP
HP Media Center m200 - Desktop PC manual

Fujitsu
Fujitsu Esprimo D5210 user manual

Panasonic
Panasonic Toughpad FZ-M1CCAAXBM operating instructions

Lenovo
Lenovo ThinkStation E30 Podręcznik użytkownika

Sony
Sony PCV-W30 VAIO User Guide (primary manual) quick start guide

Lenovo
Lenovo IdeaCentre 310S-08IGM user guide