MODE

communications MODE

Classification:

System parameter setting

Command Syntax:

MODE <baud> [<parity> [<data > [<stop> [<handshake> [<

 

protocol>]]]]]

Limits:

<baud rate>

300, 600, 1200, 2400, 4800, 9600, 19200 or 38400 bits/

sec <parity>

N = None, E = Even or O = Odd <# data bits>

7 or 8 <# stop bits> 1 or 2

 

<handshake>

 

N = None, S = Software (XON/XOFF) or

 

H = Hardware (CTS/RTS)

 

< protocol >

 

N = None, Y=Y-Modem

Query Syntax:

MODE?

Query Response:

<baud> <parity> <data > <stop> <handshake> < protocol>

 

or

 

<ISA addr>

Description:

The MODE command is normally used to set the serial port

 

communications parameters of a stand-alone model generator.

 

The changes take effect as soon as the command is entered. The

 

command has no affect on the ISA addressing configuration of

 

the -ISA model generators. The MODE? query returns the current

 

serial port communications settings of a stand-alone generator

 

or the ISA address of an -ISA model generator.

Other Required Cmds:

None

E x a m p l e s :

M O D E 9 6 0 0 N 8 1 H N / / S e t a s t a n d

 

/ / a l o n e g e n e r a t o r t o c o m m u n i c a t e

 

/ / a t 9 6 0 0 B a u d , N o p a r i t y , 8 d a t a

 

/ / b i t s , 1 s t o p b i t , R T S / / C T S

 

/ / h a n d s h a k i n g a n d N o p r o t o c o l

 

or

 

M O D E 2 4 0 0 / / C h a n g e o n l y t h e b a u d r a t e

6-150

Chapter 6: Programming

Model 801GC, 801GF & 801GX¥Rev. A

Page 276
Image 276
Quantum Data 801GC, 801GF, 801GX manual Communications Mode, 150, Mode?