Service manual
1. WHAT IS A GP
110
INTERFACE?
The
General Purpose
Input/Output
Interface (GP liD)
is
de-
signed
for
connecting
general low-speed peripheral
units
(e.g.
measuring instruments, printers,
X-V
plotters, etc.) and provid-
ing
information
exchange between
the
main
computer
unit
and
peripheral devices
in
a parallel 1/0 mode.
However,
there
are many different
standards
and
features
in
parallel interfaces, and
they
do
not
always provide satisfactory
information
exchange
for
units having parallel interfaces.
It
is
reauested
that
the
user fully
understand
this
instruction
manual 'and sp8cifications
of
the
peripheral
units
before
using
this
I/O interface.
Sharp
cannot
provide
either
hardware
or
software
support
for
special
customer
applications. Moreover,
Sharp
cannot
in
any
way
be responsible
for
damages
that
arise as a result
of
custom-
er
misuse.
However, this
instruction
manual describes
information
neces-
sary
for
exchanging
information
between
the
main
computer
unit
and peripheral units
in
so far as
is
possible.
2. SPECIFICATIONS
Model:
I
nput/output
mode:
Number
of
channels:
Input
ports:
Output
ports:
Data code:
Data rate:
Transmission
mode:
Parity
format:
Command
words:
MZ-1E02
Parallel
input/output
mode
(byte
serial)
1 channel
12 pins
(8
data
input
pins
and
4 con-
trol signal
input
pins)
12 pins
(8
data
output
pins
and
4 con-
trol signal
output
pins)
B-bit
ASC
II or 7 -bit
ASC
II code
Approximately
5 K bytes/sec. max.
Automatic
handshaking or manual
mode
Even parity,
odd
parity,
or
no
parity
bit
GMOOE, GSET, GIN, GOUT,
and
GBIT
Electronic
components:
Integrated circuits and discrete
com-
Operating
temperature:
Outer
dimensions:
Weight:
Accessories:
ponents
10
to
35'C
140
(W)
x 142
(0)
x
15
(H)
mm
160g
Instruction
manual (this manual),
F
DOS
Master
Note:
One main
computer
unit
can
accomodate
up
to
two
interface
units
(i.e.
two
channels).
The
interface
unit
is
mounted
in
slot
1,
2,
3
or
4
of
MZ-
lU02
Option
Expansion Unit
taht
mounted
in
the
Model-3500 Series Business
Computer
Main Unit
(for
two
units
combinations
of
slots 1
and
3
or
slots 2
and 4 are
not
allowed).
The
channel
number
is
deter-
mined
by
the
slot
number
of
the
interface
unit:
Slot
1
or
3
................
Channel
number:
0
Slot
2
or
4
................
Channel
number:
1
Two
interface units may be
mounted
in
any
of
four
combinations:
Combina-
Slot 1 Slot 2 Slot 3
SIot4
tion
1 Channel 0
Channel 1 X
X
...
_--
2 Channel 0
X
i
X Channel 1
3 X
Channel
1 i Channel 0
X
----1-----
---
4
X X
J Channel 0 Channel 1
1
MZ·IE02
3. DATA INPUT/OUTPUT FORMAT
The
input/output
format
for
data
and
control
signals including
positive/negative logic,
code
length
(8-bit/7-bit
code),
and
parity
mode
(even
parity/odd
parity/no
parity)
shOUld
be
set
up
in
accordance
with
the
input/output
format
of
the
peripheral
unit
to
be
connected.
The
method
of
setting
the
format
will
be
described in Part VII, Programming,
p.
1 6.
1.
B-BIT CODE
AND
7·BIT
CODE
8-bit
code
uses eight
bits
(eight pins)
to
express
data
and
the
7-bit
code
uses seven
bits
(seven pins)
to
express
data.
Either
8-bit
or
7-bit
code
can
be
set
for
this
I/O interface.
This interface
unit
has
eight
pins
for
each
data
input
and
output,
and
setup
of
the
7-bit
code
permits
the
use
of
the
remaining
bit
(one
pin) as a
parity
bit,
as will
be
described
below.
2.
PARITY
CHECK
A parity
bit
can
be
added
to
7-bit
data
so as
to
provide
a
parity
check
of
the
data.
An even
parity
check
verifies
that
the
total
number
of
1 (logical
"1")
bits
of
data
and
the
parity
bit
is
an even
number,
and
an
odd
parity
check
verifies
that
the
total
number
of
1 bits
is
an
odd
number.
This I/O interface
can
be
set
to
either
an
even
parity
check,
odd
parity
check
or
no
parity
check
when
the
7-bit
code
is
used.
3.
AUTOMATIC
HANDSHAKING
MODE
Automatic
handshaking
is
one
of
the
data
transmission
modes,
and
it generally
transfers
data
automatically
in
the
following procedures.
Although
automatic
handshaking
is
a basic
feature
of
this
I/O interface,
manual
mode
can
also
be selected.
Data transmission
in
the
automatic
handshaking
mode
(data
output).
Input
control
signals
,ACKNOWLEDGE, READY,
etc.)0..!N",O,---!
reset?
YES
Data
output
Set
output
control
signal {STROBE).
Input
control
signals
,--"N",O«ACKNDWLEDGE,
READY, etc.)
set?
YES
Reset
input
control
signals
(ACKNOWLEDGE,
More
output
">2Y-"E"S
__
_
data?
Data
input
is
handled
similarly.'