Setdev; Dev - Sharp CE-158 Instruction Manual

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
3.
SETDEV
With
this
command is determined
whether
the INPUT,
PRINT,
LPRINT, LLIST, CLOAD,
INPUT#
.
MERGE,
CSAVE, or PRINT#
command should execute
the
1/0
assignment to the
RS.232C port (setup of assignment
direction).
Assignmen't
direction
must
be
indicated
by
the
assignment of
Kl,
DO,
PO,
Cl or CO
after
SETOEV.
The
command
furnished with the
assignment
direction
performs
1/0
operation through the
RS·
232C port.
If
not
furnished,
it executes
the
command
of
the
PC-1
500
or
CE· 150.
All assignments w ill
Ii<>
cleared after
power
on.
Assignment
110
RS·232C
execution
command
when se-t
Kl
I
INPUT
DO
0
PRI NT
PO
0
LPRINIT. LUST
Cl
I
CLOAD,
INPUT#
!,MERGE
)
co
0
CSAVE,
PRINT#
SE TD
EV
I
Kl.DO.PO.Cl.CO
J
L
Non-numeric
var
iable
-
T
here
is no
restriction
for the
sequence of
assignmen
ts.
NOTE· 1:
Once
the
SETDEV statemen
t has
been
executed,
all
assignments
before
that w ill
become
invalid.
To
clear
all
assignments, eitt1er
om
it assignment
or
reset the
contents
o
f
the non
·
numeric
variable.
NOTE·2:
Clear
all
assignment
to
use TAB of the CE
.
150.
because
it
will result
in
ERROR
27 when: for instance, " TAB expression" is executed
with
assignment
set by
the
SETDEV
itatement.
4.
DEV$
Nonnumer
ic
function
us.ed
to
get pres.ent
as.signment direction
set.
(EX)
A1 power
o
n:
Nvll
Upon execution
of SE
TD
EV
DO.Cl:
DO.Cl
5.
OUTSTAT
Used to set the RS·232C handshake
signal
(RTS,
DTR) confo rming to
low
order two
bits o
f
the specified expression (- 32768 -
32767j.
Handshake signa
l
can be defined
as
follows
:
2
1
'
-
2
5
Nothing
2•
Data Set Ready
(DSR)
2'
Carrier
Detect
(CD)
2•
Clear To
Send (CTS)
.
2'
Request
To
Sen<I (RTSI
2•
Data
Terminal Ready
(DTR
)
I
0 : SPACE
(;
high
level, V+
at connector)
Bit
=
1
:
MARK
(= low
level,
V-
at
connector)
RTS
and
DTR are
I at
power
on
.
Do not
sell
this
PDF !!!
19
1/0
In
In
In
Out
Ou
t

Advertisement

Table of Contents
loading

Table of Contents