beautypg.com

Commands, Rs232 commands, Output formats – Ohaus Scout II Electronic Balances User Manual

Page 15: Rs232 interface output formats

background image

15

1

N/C

2

Data Out (TXD)

3

Data In (RXD)

4*

Tare (External signal)

5

Clear To Send (CTS)

6

Data Terminal Ready (DTR)

7

Ground

8

Request To Send (RTS)

9*

Print (External signal)

* External PRINT and/or TARE

switches may be installed as
shown in the diagram. Momen-
tary contact switches must be
used.

RS232 Commands

All communication is accomplished us-

ing standard ASCII format. Only the char-

acters shown in the following table are

acknowledged by the balance. Any other

commands, control characters or spaces

are ignored. Commands sent to the bal-

ance must be terminated with a carriage

return (CR) or carriage return-line line

feed (CRLF). For example, a tare com-

mand should appear as shown in the

adjacent diagram. Data output by the bal-

ance is always terminated with a carriage

return - line feed (CRLF).

TARE COMMAND

Field:

T

CR LF

Length:

1

1

1

RS232 INTERFACE

Output Formats

Data output can be initiated in one of two ways: 1) Using the Auto Print feature; 2)

Sending a print command (“P”) from a computer.

The output format is illustrated in the RS232 command table which follows.

RS232 COMMAND TABLE

?

Print current mode.

nnnnA

Set Auto Print Feature to “nnnn”

nnnn=0

turns feature OFF

nnnn=S

output on stability

nnnn=C

output is continuous

nnnn= 1-3600

sets auto print interval

C

Begin span calibration

L

Begin linearity calibration.

xM

Place balance in unit “x”

( x=0 gram, x=1 ounces, x =2 troy ounces,

x=3 pennyweights, x=4 parts counting, x=5 pounds)

T

Same effect as pressing Zero On

V

Print software version

EscR

Resets setup and print menus to factory default. Resets

RS232 configuration.

P

Print display data.

LE

Shows last error code. Response: Err: Error Number

xS

Print stable data only. Where x=0 for OFF, x=1 for ON