![G&G JJ-BC Series Operating Instruction Download Page 15](http://html1.mh-extra.com/html/gandg/jj-bc-series/jj-bc-series_operating-instruction_3083914015.webp)
G&G GmbH | Interface RS 232C
15
12.3
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 ASCII code:
1BH+70H (ACSII Code p): sending data
(Print)
1BH+71H (ACSII Code q): calibration function is active
(CAL - Key)
1BH+72H (ACSII Code r): Counting function is active
1BH+73H (ACSII Code s): Weighing unit selection
1BH+74H (ACSII Code t): Taring
(TARE - Key)
12.4
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
-
-
Application Example:
If the setting is C3---2, C4---27 (default setting), the codes shown in VB as following:
MSComm1.Settings = "600,n,8,1"
MSComm1.Output = Chr(&H1B) + Chr(&H70)
’sent a print commando
’or
MSComm1.Output = Chr(27) + Chr(112)
’or
MSComm1.Output =Chr(27) +"p"
Do
DoEvents
Loop Until MSComm1.InBufferCount = 14
a = MSComm1.Input
Print a
Software and additional manuals can be downloaded at