D T R / D S R H A N D S H A K E P R O T O C O - Agilent Technologies E3633A Operating Manual

Hide thumbs Also See for E3633A:
Table of Contents

Advertisement

Chapter 3 Front-Panel Operation
RS-232 Interface Configuration
D B - 2 5 S e r i a l C o n n e c t i o n I f y o u r c o m p u t e r o r t e r m i n a l h a s a 2 5 - p i n s e r i a l
p o r t w i t h a m a l e c o n n e c t o r , u s e t h e n u l l - m o d e m c a b l e a n d 2 5 - p i n a d a p t e r
i n c l u d e d w i t h t h e H P 3 4 3 9 8 A C a b l e K i t . T h e c a b l e a n d a d a p t e r p i n d i a g r a m
a r e s h o w n b e l o w .
DTR / DSR Handshake Protocol
T h e p o w e r s u p p l y i s c o n f i g u r e d a s a D T E (
D a t a T e r m i n a l R e a d y
a n d u s e s t h e D T R (
t h e R S - 2 3 2 i n t e r f a c e t o h a n d s h a k e . T h e p o w e r s u p p l y u s e s t h e D T R l i n e t o s e n d
a h o l d - o f f s i g n a l . T h e D T R l i n e m u s t b e T R U E b e f o r e t h e p o w e r s u p p l y w i l l
a c c e p t d a t a f r o m t h e i n t e r f a c e . W h e n t h e p o w e r s u p p l y s e t s t h e D T R l i n e
F A L S E , t h e d a t a m u s t c e a s e w i t h i n 1 0 c h a r a c t e r s .
T o d i s a b l e t h e D T R / D S R h a n d s h a k e , d o n o t c o n n e c t t h e D T R l i n e a n d t i e t h e
D S R l i n e t o l o g i c T R U E . I f y o u d i s a b l e t h e D T R / D S R h a n d s h a k e , a l s o s e l e c t a
s l o w e r b a u d r a t e t o e n s u r e t h a t t h e d a t a i s t r a n s m i t t e d c o r r e c t l y .
T h e p o w e r s u p p l y s e t s t h e D T R l i n e F A L S E i n t h e f o l l o w i n g t w o c a s e s :
1 W h e n t h e p o w e r s u p p l y ' s i n p u t b u f f e r i s f u l l ( w h e n a p p r o x i m a t e l y 1 0 0
c h a r a c t e r s h a v e b e e n r e c e i v e d ) , i t s e t s t h e D T R l i n e F A L S E ( p i n 4 o n t h e R S -
2 3 2 c o n n e c t o r ) . W h e n e n o u g h c h a r a c t e r s h a v e b e e n r e m o v e d t o m a k e s p a c e
i n t h e i n p u t b u f f e r , t h e p o w e r s u p p l y s e t s t h e D T R l i n e T R U E , u n l e s s t h e
s e c o n d c a s e ( s e e n e x t ) p r e v e n t s t h i s .
2 W h e n t h e p o w e r s u p p l y w a n t s t o " t a l k " o v e r t h e i n t e r f a c e ( w h i c h m e a n s t h a t
i t h a s p r o c e s s e d a q u e r y ) a n d h a s r e c e i v e d a
i t w i l l s e t t h e D T R l i n e F A L S E . T h i s i m p l i e s t h a t o n c e a q u e r y h a s b e e n s e n t t o
t h e p o w e r s u p p l y , t h e b u s c o n t r o l l e r s h o u l d r e a d t h e r e s p o n s e b e f o r e
a t t e m p t i n g t o s e n d m o r e d a t a . I t a l s o m e a n s t h a t a
t h e c o m m a n d s t r i n g . A f t e r t h e r e s p o n s e h a s b e e n o u t p u t , t h e p o w e r s u p p l y s e t s
t h e D T R l i n e T R U E a g a i n , u n l e s s t h e f i r s t c a s e ( s e e a b o v e ) p r e v e n t s t h i s .
54
D a t a T e r m i n a l E q u i p m e n t
D a t a S e t R e a d y
) a n d D S R (
< n e w l i n e >
m e s s a g e t e r m i n a t o r ,
< n e w l i n e >
m u s t t e r m i n a t e
) d e v i c e
) l i n e s o f

Advertisement

Table of Contents
loading

This manual is also suitable for:

E3634a

Table of Contents