Download Print this page

G&G TJ3K Operating Instructions Manual page 6

Electronic counting balance

Advertisement

7 . Serial communication
7.1 Serial communication protocol: baud rate: 600-9600 can set, the default settings is 9600; data
units: 8 units; ending unit: 1 unit; no calibration unit.
7.2 Data format: 41-bit data output ( ASCII code ) 。
WT
space
2 unit
1 unit
UW
space
2 unit
1 unit
QT
space
2 unit
1 unit
When data is not negative, the negative unit is space, no showing data is also space.
For example: weight showing 12.345 kg, unit weight showing 12.34, pieces showing 1000 and
the output data is WT□□□12.345□kg↓UW□□12.34□g↓QT□□1000□Pcs↓←41 bits 。
To display accumulation
MW□□12345.6□kg↓ 15 bits
MN□□□12□□□□↓ 12 bits
MQ□12345□Pcs↓← 14 bits
7.3 Receive order : need to receive the communication, then receive order.
When the communication setting is 27(default statue), in other words Hexadecimal system 1BH,
the orders to scale are:
1BH+70H(ACS Ⅱ code p): print ( scale required to send date once ) ;
1BH+71H(ACS Ⅱ code q): calibration;
1BH+72H(ACS Ⅱ code r): count;
1BH+73H(ACS Ⅱ code s): unit conversion;
1BH+74H(ACS Ⅱ code t): tare;
7.4 RS232C output pins content (DB9 socket): 2 pins: RXD; 3 pins: TXD; 5pins: GND. With
computer RS232C socket (DB9 socket) connected:
2 —— 3
3 —— 2
5 —— 5
For example: when setting C3---6 C4—27 (default statue), the communication program of VB is
MSComm1.Settings = "9600,n,8,1"
MSComm1.Output = Chr(&H1B) + Chr(&H70) 'send a print order
'or MSComm1.Output = Chr(27) + Chr(112)
'or MSComm1.Output =Chr(27) +"p"
Do
DoEvents
Loop Unti MSComm1.InBufferCount = 41
a = MSComm1.Input
Print a
negative
data
1 unit
7 unit
data
unit
6 unit
2 unit
data
unit
5 unit
4 unit
unit
enter
3 unit
1 unit
enter
1 unit
enter
linefeed
1 unit
1 unit

Advertisement

loading

This manual is also suitable for:

Tj seriesTj6kTj15kTj30k