Download Print this page

Lakeshore DRC-93C User Manual page 185

Temperature controller

Advertisement

Model 8223 RS-232C
Interface
Model DRC-91C/93C
T h e HP82939A S e r i a l I n t e r f a c e f o r
output it t o
t h e 8223.
The
program
the
HP-86B
is
p r e s e t
a t the factory
w i l l
t h e n
input
t h e
s p e c i f i e d
f o r t h e following d e f a u l t
values:
8223's
response,
d i s p l a y
it
and
1.
Interface select code
=
10
2. Baud
rate
=
300 Baud
15 REM
I/O
TEST (RS232
TEST1)
20 DIM A$[256],B$[3000]
3. Autohandshake = O f f
25
REM
A$
IS
OUTPUT
B$ IS INPUT
30 INPUT
A$
!
MAKE
SURE TO
GIVE
AN
4.
Character Length
=
7 b i t s
35
!
OUTPUT
S T A T E M E N T COMMAND
40
OUTPUT
10 ;
A$
! OUTPUT
COMMAND
5. P a r i t y = Odd
50 ENTER 1 0 ;
B$
! INPUT THE DATA
55
! FROM THE CONTROLLER
6. Stop b i t s = 1
60 DISP
B$
! DISPLAY DATA
7 0 GOTO
30
!
RETURN
FOR
MORE
7. Cable
Option
= Standard (25
pin
80 END
Example
2.
HP-86B Computer, Half
Since t h e H P d e f a u l t
Baud
rate,
Duplex,
w i t h
Handshake.
character length,
p a r i t y
and
stop
b i t configuration
are
t h e
same as
Figure
8223-4
shows
the
adapter
those of
t h e 8223 I n t e r f a c e when
cable
f o r
H a l f
Duplex
w i t h
shipped,
none
of
t h e switches
on
handshake
communications
with
an
t h e 8223 board
need t o
be changed.
HP-8 6 B
S e r i a l
I n t e r f a c e .
The
arrows
i n d i c a t e
the
source
and
When connecting the
HP-86B S e r i a l
direction
of
signal
flow.
I n t e r f a c e
t o
t h e 8223
Interface, a
t r a n s i t i o n cable needs t o
be
made
Figure 8223-4.
Half Duplex, with
t o connect
t h e socket
connector
of
Handshake
the HP
t o the
socket
connector
of
Connector to
HP-86B
the
8223 I n t e r f a c e .
Figure 8223-3
shows t h e adapter
cable that must
be
made.
The
arrows
i n d i c a t e t h e
source
and
d i r e c t i o n
of
signal
flow.
Figure
8223-3.
Half
Duplex
W/O
Handshake
return for another
command.
10 REM HALF
DUPLEX
w/o
HANDSHAKE
socket)
Connection t o
HP-86B
The following
program w i l l input a
Computer
DRC-9 1C/ 9 3 C
command
from
t h e
keyboard
and
8223-6
COPYRIGHT 12/87 LSCI

Advertisement

loading