Setra System Model 370 User Manual

Page 36

Advertising
background image

III.2 SENDING COMMANDS TO THE GAUGE

All the functions of the Model 370 may be executed by sending the appropriate
command from the computer to the gauge. The commands are standard
alphabetic characters which correspond to keys on the front keypad of the
gauge. The table below also lists the ASCII and hexadecimal values of the
codes for those interested in more technical programming.

FUNCTION CODE

ASCII

HEX

FUNCTION

CODE ASCII HEX

Setup

S

83

$53

0

0

48

$30

Clear

C

67

$43

1

1

49

$31

Conv

U

85

$55

2

2

50

$32

Min/Max

M

77

$4D

3

3

51

$33

F(p)

B

66

$42

4

4

52

$34

Setpoints

A

65

$41

5

5

53

$35

Zero

Z

90

$5A

6

6

54

$36

Span

F

70

$46

7

7

55

$37

Print

P

80

$50

8

8

56

$38

45

$2D

9

9

57

$39

.

.

46

$2E

Verify

V

86

$56

To execute a command, send the appropriate character code from the
terminal or computer to the pressure gauge.

For example, to interrogate the gauge for a pressure reading, send from a
terminal (or create a computer program which will send) the letter "P" through a
serial port to the gauge. The gauge will receive the "P" and execute the print
function. That is, it will transmit the reading in the display through its serial port
back to the computer or terminal.

It is not necessary to transmit a carriage return or line feed character to the
gauge after a command character.

30

Advertising