4-8
CHAPTER 4 TESTING
4.6.3 Connecting the RS232 Interface
Connect the RS-232 cable from the Scale to the Computer. When the interface is connected to a computer,
two way communication between the computer and scale is possible using the commands outlined in the
RS232 Command Table 4-3 for Trooper Scale and Table 4-4 for Trooper Count Scale. See Figure 4-7 for
connections. When the scale is connected directly to a printer, displayed data can be output at any time
by simply pressing
PRINT UNITS
button on the Trooper Scale and Trooper Count Scale.
Figure 4-7. RS232 Interface Pin Connections.
1
N/C
2
Data In (RXD)
3
Data Out (TXD)
4
N/C
5
Ground
6
N/C
7
N/C
8
N/C
9
N/C
RS232 Commands
All communication is accomplished using standard ASCII format. Only the characters shown in the RS232
Command Table 4-3 and 4-4 are acknowledged by the scale. Invalid command response "ES" error
indicates the scale has not recogonized the command. Commands sent to the scale must be terminated
with carriage return and line feed (CRLF). Data output by the scale is always terminated with a carriage
return and line feed (CRLF).
TABLE 4-3. TROOPER SCALE RS232 COMMANDS
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.
V
Output software version. For example: "TC30 Sr. 1.20"
To turn auto printing, interval printing or continuous printing off, send P to reset normal printing mode.
1
2
3
4
5
6
7
8
9
FRONT VIEW OF
SCALE CONNECTOR
Summary of Contents for TROOPER
Page 2: ......
Page 4: ......
Page 12: ...1 4 CHAPTER 1 INTRODUCTION...
Page 50: ...4 10 CHAPTER 4 TESTING...
Page 68: ...B 10 APPENDIX B TROOPER COUNT SCALE TOOLS...
Page 69: ......