Rs232 Commands; Output Formats; Printing Data; Rs-232 Pin Out - OHAUS Trooper Manuel D'instructions

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

Trooper Scale
3. OPERATION (Cont.)

3.7 RS232 Commands

All communication is accomplished using standard ASCII format. Characters shown in the following table are acknowl-
edged by the Scale. Invalid command response "ES" error indicates the Scale has not recognized the command.
Commands sent to the Scale must be terminated with a carriage return (CR) or carriage return-line feed (CRLF). Data
output by the Scale is always terminated with a carriage return-line feed (CRLF).

3.7.1 Output Formats

Data output can be initiated in one of two ways:
1. By pressing the PRINT/ Units button, or 2. Sending a print command ("P") from a computer.
Output Formats
The output format is as follows:
Length:
* Displayed weight sent right justified with lead zero blanking. Nine characters (fixed) include:
decimal point (1), weight (7 max), polarity (1) : blank if positive, floating negative (1)
Command
Character
Description
?
Print current mode: kg, g, lb., oz.
P
Same as pressing PRINT button.
T
Same as pressing TARE button.
Z
Same as pressing ZERO button.
xS
Print Stable only. Where x=0 Off, and x=1 On
AS
Automatically send data when stable after motion.
xxxxS
Send at interval. Where xxxx=1 to 3600 seconds.
CS
Send as fast as possible (continuous print)
M
Increment to next enabled unit
To turn auto printing, interval printing or continuous printing off, send P to reset normal printing mode.

3.8 Printing Data

Printing data to an external computer or printer requires that the communications parameters in the Print menu, be set
first. Refer to paragraph 4.4.5 Print Menu for proper set up.
To print data, press PRINT/ UNITS button with a short press. The display acknowledges by momentarily blinking off.
NOTE: If you hold this button down too long, the display
will advance to another measuring unit.

3.8.1 RS-232 Pin Out.

The table illustrates the pin-out connections on the RS-
232 connector.
Weight*
Spaces
Unit
9
1
RS232 USER COMMAND TABLE
Stable
Legend
3
1
1
blank=stable
G,N,T
"?"= not stable
1 N/C
2 Data In (RXD)
3 Data Out (TXD)
4 N/C
5 Ground
6, 7, 8, 9 N/C
CR
LF
1
1
EN-9

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Tr3rsTr6rsTr15rsTr30rs

Table des Matières