US-4011
.
31
.
8.
Details about Serial Communication:
8.1.
COM1 is RS232, communication wires come from RS232 connector, and TXD0, RXD0 and GND are used. Please
refer to section 10 connector details
8.2.
COM2 is USB used as a virtual RS232, communication wires come from USB connector, and
TXD1
,
RXD1
and
GND
are used, Please refer to section 10 for connector details.
8.3.
The baud rate and byte format is set by
USER-COM1
/
2-BAUD.RT
and
USER-COM1
/
2-BYT.FMT
. Responses to
serial commands will be immediate, or within one weight measure cycle of the scale. One second should be
adequate for use as a time-out value by remote (controlling) device.
8.4.
The length of each item in a transition string:
8.4.1.
Reading data --- 6bytes
Data polarity ----1byte: “-” for negative, and followed by the first digit; “ ” for positive.
Decimal point ---1byte: “.”
Measure unit ----1-5bytes:“ lb”,“ kg”, “lb:oz”, “pcs”, “%”, Units are always lower case, left aligned
Current status-- 4bytes
8.4.2.
If the weight is overcapacity, the scale will return eight “^” characters (the field of polarity, decimal
point, weight data is filled by “^”).
8.4.3.
If the weight is under capacity, it will return eight “_” characters (the field of polarity, decimal point, and
weight data is filled by “_”).
8.4.4.
If the zero point is error, it will return eight “-“ characters (the field of polarity, decimal point, and
weight data is filled by “-”).
8.4.5.
Useless leading 0 before digits is suppressed. Reading weight is right aligned.
8.5.
Key to symbols used
<LF>
Line Feed character (hex 0AH)
<CR>
Carriage Return character (hex 0DH)
<ETX>
End of Text character (hex 03H)
<SP>
Space (hex 20H)
H
1
H
2
H
3
H
4
Four current status bytes
<P>
Polarity character: “
-
” or “ ”
W
1
---W
6
Reading data, 1-6 bytes (six digits)
<DP>
Decimal point
U
1
U
2
U
3
U
4
U
5
Measure units, kg, lb, lb:oz , % or pcs; 2-5 bytes
<Add>
Address of scale; 2 bytes (00-99)
<Prompt>
Prompt characters of output content; max. 11bytes
The bit definition of H
1
H
2
H
3
H
4
:
Bit
Byte 1 (H1)
Byte 2 (H2)
Byte 3 (H3)
Byte 4 (H4)
0
0=stable
0= not under capacity 00=compare disable
01=lower limit
10=ok
11=upper limit
00=normal weighing
01=count weighing
10=percent weighing
11=other mode
1= not stable
1= under capacity
1
0= not at zero point
0= not over capacity
1= at zero point
1= over capacity
2
0=RAM ok
0=ROM ok
0= gross weight
0=not in HOLD
1= RAM error
1=ROM error
1= net weight
1=in HOLD
3
0= eeprom OK
0=calibration ok
0=initial zero ok
0=battery ok
1= eeprom error
1=calibration error
1=initial zero error
1=low battery
4
always 1
always 1
always 1
always 1
5
always 1
always 1
always 1
always 1
6
always 0
always 1
always 1
always 0
7
parity
Parity
Parity
Parity
Содержание US-4011
Страница 1: ...US 4011 Indicator User Technical Manual Contents subject to change without notice Version 1 0 ...
Страница 2: ...US 4011 1 07 2017 ...
Страница 7: ...US 4011 4 3 OVERVIEW OF CONTROLS AND FUNCTIONS 3 1 Indicator Display Character Definitions ...
Страница 30: ...US 4011 27 TABLE6 1 Location Code for different elevation and latitude ...