3.
PROGRAM
INTERFACE
READ
ORDERS
The
8-bit
Read order
specifies
the
read mode (binary or
automatic)
and
the
stackerinwhichthecard
will be
stacked
upon
completion
of
the
read
operation.
The
specified
read
mode
applies
to the
entire
card
image-columns
1 through
80.
Read modes may not be changed
after
the first
col-
umn
of a
given
card
has
been
read.
A
change
to binary
read mode occurs
automatically
if
the
automatic
read mode
is
specified
and
column 1
contains
punches
in
rows 1
and
2.
Each val
id
order
received
by
the
card
reader
causes one
card
to
be
fed.
Order
modifiers may
be
included
in
the
basi c Read order to
specify
bi nary or automati c read mode,
stack
on error
condition
and/or
selection
of multiple
stackers.
Stacker
select
options
apply
to the
current
card
being
read.
The card will be
directed
to the
specified
stacker
unless an
invalid
EBCDIC punch
configuration
is
encountered,
a
data
overrun
occurs,
or a read verify error (Model 7140) occurs
and the.
optional
stack
on error modifier
bit
of
the
Read
order
is
set
to 1, in which
case
the
card
will be
stacked
in
alternate
stacker
2 (Model 7120) or in
the
alternate
stacker
(Model
7140).
The following
illustration
indicates
the required and
op-
tional
bit
configurations of the Read
order.
(Bits 0,
I,
6,
and
7 must be
coded
as shown; bits
2-5
are
optional
modifier bits.)
o
2 3 4 5 6 7
00MMMM10
'----'"
...........-
I
LRead
~{O
Binary
1
Automatic
(EBCDIC)
o
Stack
in
stacker
specified
by bits
2-3
If
no error occurs,
stack
in
stacker
specified
by bits
2-3;
if error occurs,
stack
in
alternate
stacker
2
(Model
7120) or al
ternate
stacker
(Model 7140)
o
Stack
in
normal
stacker
1
Stack
in
alternate
stacker
1
(Model
7120) or
alternate
stacker
(Model 7140)
3
Stack
in
a I
ternate
stacker
2
(Model
7120) or normal
stacker
(Model 7140)
READ
CARD
BINARY
The orders
(hexadecimal
code) listed in Table 3 cause the
card
reader
to feed and read a card in
the
binary mode,
with
the
card being
directed
to
one
ofthe
multiple
stackers.
In
the
binary
read mode, 120 bytes
are
present
on a
card.
Incorrect
length will be
signaled
to the
controlling
system
if
ei
ther
fewer or more than 120 bytes
are
requested for a
binary
read
card
operation.
Table
3.
Binary Mode
Stacking
Action
Order
Stacking
Action
t
Model
7120
Model 7140
X'02'
Stack
card
in
normal
stacker.
Stack
card
in
normal
stacker.
X'12'
Stack
card
in
alternate
stacker
1.
Stack
card in
alternate
stacker.
X'32'
Stack
card
in
alternate
stacker
2.
Stack
card
in normal
stacker.
X'OA'
If
no
data
overrun occurs,
stack
card in
If
neither
data
overrun nor read verify error
normal
stacker;
if
data
overrun occurs, occurs,
stack
card in normal
stacker;
if
data
stack
card
in
alternate
stacker
2.
error
occurs,
stack
card in
alternate
stacker.
X'IA'
If
no
data
overrun occurs,
stack
card in
Stack
card in
01
ternate
stacker.
alternate
stacker
1; if
data
overrun occurs,
stack
card
in
alternate
stacker
2.
X'3A'
Stack
card
in
alternate
stacker
2.
Same as 'OA'.
tModels 7121 and 7122
accept
all the
above
order
codes
but
offer
no
alternative
stacking
since
they
have
only
one
stacker.
Program
Interface
5