Sharp CE-158 Instruction Manual page 19

Interface for pc-1500
Hide thumbs Also See for CE-158:
Table of Contents

Advertisement

All
and more
about Sharp PC-1500
at
http://www.PC-1500.info
Signal state
at
power-off
(1) Out;pUt
signals
from the
CE·158 such as
TD,
RTS,
and
DTR,
become
unstoble
when the
following condition is met
while
sending or receiving
programs
or
data
via the
CE· 158.
Ca)
Power
on
and off
of the
PC
t
500.
(b)
Manipulation of the
POWER switch
of
the
CE·158.
(c)
Releasing the
low battery
condi
tion of the CE-158 alter recharge.
(d)
Manipulation of the AC
adaptor
EA·21A.
If tf1e opposite side
is
in receiving operation
at
th
is
poi1'lt, it
may
read
unstable
da1a
as
though d
ata
is received.
In
such
an
event,
observe one o
f
the
following
methods.
Start
the execution all
over
again
{trans·fer of
prograrn,
for
exi)mplc).
Send
the
header tOgether
when
the
PC·
1500
sends the
da ta out
so
tha
t
th
e
rcccMn~
$ode
will receive
the
data
tha
t
fo
llow
s
to
the he
ader.
{Exarnple
will
be
ir1
F
1
gurt~
hc10
......
)
Send
the same
c ontents
o
f
the
d
a ta
for
three
times when the
PC·1500
sends
d\1tl1
out.
So that
the receiving
side
will
receive
the
similar
data
for
more
than
two t
u'
n
es.
(21
Note
that
the opposite
sicfe
may
sometrmc assume
the CE-158 output
si9r>ol
(RTS,
DT RI
to be
ON
state
when
the
PC·
1500
or CE· 158 is
in
On•
o
r lol1
owing
c ond1t1om.
(e
I PC·
1500
in
the
power
off state.
(fl T he
POWER
switch
of
the
CE·
158
is
off.
(g)
The CE-158
in low battery
condition.
(h)
The
C
158
is
not connected with the
PC·
\500
or CE·\50
that is connected w ith the
PC-1500.
(Ex
ample):
Shown
below
is
a
program example that the Pe,.onal
Computer
processes
the
data
sent
from
the
PC· 1500. provided
that
the Personal
Computer is in
recciv·
ing
cond ition
OJt
<Jll
times.
PC
·
t
500
f-
CE-1
58
1
2
SETCOM
30~.
8.
E.1
20
SE TO
EV PO.
K
l
32
OU
TS
TAT
0
ti2
LPRINT
"ABC"
11~
INP
UT
8$
12i
IF
~$
"Y"THEN100
130
SCTOEV
PO
20i
L
PR
I
NT
A$
9H
ENO
Do not
sell
this PDF !!!
Personal
Computer
103 RSMOOE
A.RS.
TB
.
M71.RX1
3l3
ON ERROR GOTO
rin
Send
of header
..
ABC"
31i
RSI
A AS ···
Receive
of
heade
r
:lli
roR o
=
·
TO
>ii
:
NE
XTO
33~
IF
RIGHT$
(AS
.3
"ABC"
Send
of
data
..
A$"
Processing
of
received
~ta
I
Error process routine
I
[
for
receiving
error
~
incorrect
header)
1
7
THEN
RSO
A
.N.
:GOT0310
····Heade
r
confirmed
400RS
I
AA$
see
END
1~
FOR
O=i TO
see:
NEX
T 0
1816 RSMOOE
A.RB
.
T8.M71
.R
X
1
1&26
RSO
A
-
N-
1&33 GOTO
300

Advertisement

Table of Contents
loading

Table of Contents