
G&G GmbH | RS 232C Interface
18
12.2
RS232 Pinout (9-pin D-Sub)
DE-9 plug pin-out (9-pin., male), as it is usually
available at DTE
DE-9 socket pin-out (9-pin., female), as it is
usually available at DCE
DTE - data terminal equipment (Terminals resp. computer)
DCE - data circuit-terminating equipment (Balance)
Signal
Pin
Origin
Abbreviation Name
Typical purpose
DE-9 DTE (e.g. PC) DCE (e.g. Balance)
RxD
Receive Data
Carries data from DCE to DTE. 2
Input
Output
TxD
Transmit Data Carries data from DTE to DCE. 3
Output
Input
GND
Ground
5
-
-
12.3
Description of the data transfer
Symbols and composition of the data
-/+
2 bit
Negative-sign, if the value is positive a space is transmitted.
Data 7 bit
Value for weight / decimal point
Unit 3 bit
Weight unit
CR
1 bit
Carriage Return
LF
1 bit
Line Feed
Example:
The output-value: -12,345 kg
Output data, displayed as ASCII code
-/+
Data
UNIT
CR
LF
-
1
2
.
3
4
5
g
\r
\n
12.4
Remote control instructions
Via the RS232 data interface, the computer can control the balance with subsequent commands.
If the transmit / device setting is 27 (27=1B
hex
, default setting), the remote control commands are sent to
the balance by HEX-code:
1B 70 (ACSII Code p): Send data
(Print)
1B 71 (ACSII Code q): calibration function is active (CAL - Key)
1B 72 (ACSII Code r): Counting function is active
1B 73 (ACSII Code s): Weighing unit selection
1B 74 (ACSII Code t): Taring
(TARE - Key)
Drivers and software can be free downloaded on our homepage.