Basic Program Mode; Setcom; Coms - 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-1
500 at http:/lwww. PC-1500.info
BASIC PROGRAM MODE
1.
SETCOM (statement)
Used 10
set
communication paramet
ers
such
as Baud Rate (BRI.
Word
Length
(WL).
Par
ity
(PR)
and Stop
(ST)
bits.
The
f ollowing
initial
parameters
wll
1
be
set
upon
power
on.
( 300,
8,
N,
1
l
~
Stop bi
t
1
Parity
non·parity
Word
length
~
8
Baud rate
2
300
(11
SETCOM
If no
parameters
were
specified. above
initial
parameters
will be
the default.
(2)
SETCOM I
BR,WL.PR,ST.
_J
l___.,
Non·numer1c
variable
BR
50,
100.
11
0,200,300.600. 1200.2400
WL
5.6.7.8
PR
N (Non).
E
(Event,
0
(Odd)
ST
1
2
(actual
ST
1.5
when WL
=
5)
Omission of
parameter
entry wil
l
assign the previously
used parameters.
(EX!
10
SETCOM
(300.8.N.1)
(1200,8.E.7}
20
SETCOM
1200, ,E,2
30
ABS-
"300,7,E,
1"
40
SETCOM
ABS
:
(300,7,E, 1)
NOTE:
When
the
contents ot the
nonnumcfic
variable
is
null,
it \•1ill
assurnc
the
sarr1e
condition
as (
1
).
2.
COM$
When
parameter
de
signation
is
suspended
in chc
middle o
f
entry, parameters
after
suspe
nsion will
remain
the
same as
previously
asstgned.
(EX)
SETCOM
600
N onnumeric
function
used
to get
commu nication
pal'amc1ers
set.
( EXI
At
power
on:
300,8,N,
1
Upon
ex
eo.ition
of
SETCOM
1200.7.E.1:
1200.7.E,
1
Do
not
sell
this
PDF !!!
18

Advertisement

Table of Contents
loading

Table of Contents