beautypg.com

Baud rate bn – Measurement Computing Serial488/4 User Manual

Page 42

background image

Section 3

Command Descriptions

3.3

Baud Rate

Bn

The Baud Rate command programs the speed at which serial data is

transmitted and received by the selected serial port. The Port Select command (Pn)
is used to select the serial port regardless of addressing mode in use. Additionally the
CTS

line may be used to input a clock signal which is sixteen times the desired baud

rate if B11 is selected. The factory default setting as set by the Save Configuration
command (S0) is B9, 9600 baud.

NOTE: The sum of the baud rates for all four ports cannot exceed 38,400 baud or data
may be lost.

B0

110 baud selected

B1

300 baud selected

B2

600 baud selected

B3

1200 baud selected

B4

1800 baud selected

B5

2400 baud selected

B6

3600 baud selected

B7

4800 baud selected

B8

7200 baud selected

B9

9600 baud selected

B10

19200 baud selected

B11

16 x External clock selected

B?

Return current baud setting

Example1: Set baud rates for ports 1 and 2 using dual primary addressing mode

PRINT#1,"CLEAR08"

reset the Serial488/4

PRINT#1,"OUTPUT08;P1X"

select port 1 as the current port

PRINT#1,"OUTPUT08;B3X"

select 1200 baud

PRINT#1,"OUTPUT08;P2B10X"

select 19200 baud on port 2

Example 2: Set baud rates for ports 1 and 2 using secondary addressing mode

PRINT#1,"CLEAR0800"

reset the Serial488/4

PRINT#1,"OUTPUT0800;P1B3X"

select 1200 baud for port 1

PRINT#1,"OUTPUT0800;P3b10X"

select 19200 baud for port 3

This manual is related to the following products: