Rs232 Pinout (9-Pin D-Sub); Description Of The Data Transfer; Remote Control Instructions - G&G EY Series Operating Instruction

Precision balances
Table of Contents

Advertisement

12.2 RS232 Pinout (9-pin D-Sub)

DE-9 plug pin-out (9-pin., male), as it is usually
available at DTE
DTE - data terminal equipment (Terminals resp. computer)
DCE - data circuit-terminating equipment (Balance)
Abbreviation Name
RxD
Receive Data
TxD
Transmit Data Carries data from DTE to DCE. 3
GND
Ground

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
-/+
-

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
the balance by HEX-code:
1B 70 (ACSII Code p): Send data
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
Drivers and software can be free downloaded on our homepage.
Signal
Typical purpose
Carries data from DCE to DTE. 2
Data
1
2
.
3
hex
DE-9 socket pin-out (9-pin., female), as it is
usually available at DCE
Pin
DE-9 DTE (e.g. PC) DCE (e.g. Balance)
5
UNIT
4
5
, default setting), the remote control commands are sent to
(Print)
(TARE - Key)
www.gandg.de
G&G GmbH | RS 232C Interface
Origin
Input
Output
Output
Input
-
-
CR
LF
g
\r
\n
18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents