51
6-3-2
CBM data output format
1. Data composition
・
Measurement result:
Composed of 26 characters including terminators (CR=0x0D, LF=0x0A)
1
2
3
4
5
6
7
8
9
10
11
12
13
S1
C1
␣
T1
T2
T3
T4
T5
T6
D1
D2
D3
D4
14
15
16
17
18
19
20
21
22
23
24
25
26
D5
D6
D7
D8
D9
D10 D11 D12
U1
U2
␣
CR
LF
・
Error message:
Composed of 26 characters including terminators (CR=0x0D, LF=0x0A)
1
2
3
4
5
6
7
8
9
10
11
12
13
*
*
␣
E
R
R
O
R
␣
*
*
*
*
14
15
16
17
18
19
20
21
22
23
24
25
26
*
*
*
*
*
*
*
*
*
*
␣
CR
LF
・
Others (Date, Time etc.):
The message “M1 M2 … Mn” is suffixed with terminators (CR=0x0D, LF=0x0A).
1
2
…
n
n+1 n+2
M1 M2
…
Mn CR
LF
2. Meaning of the data
Symbol
Code
Description
[S1] (1 character) Represents the status.
␣
0x20
Data stable
*
0x2A
Data unstable
[C1] (1 character) Represents the result of comparator function.
␣
0x20
Comparator
result:
Proper (OK) or No result
H
0x48
Over (HIGH)
L
0x4C
Shortage (LOW)
[T1-T6] (6 characters) Represents the type of the data.
(SP) (SP) (SP) (SP) (SP) (SP)
0x20 0x20 0x20 0x20 0x20 0x20
Net weight (<41A STATUS>: <OFF>)
N
(SP) (SP) (SP) (SP) (SP)
0x4E 0x20 0x20 0x20 0x20 0x20
Net weight (<41A STATUS>: <ON>)
P
T
(SP) (SP) (SP) (SP)
0x50 0x54 0x20 0x20 0x20 0x20 Preset tare weight
T
(SP) (SP) (SP) (SP) (SP)
0x54 0x20 0x20 0x20 0x20 0x20 Tare weight
T
O
T
A
L
(SP)
0x54 0x4F 0x54 0x41 0x4C 0x20 Total value (Accumulated value)
G
(SP) (SP) (SP) (SP) (SP)
0x47 0x20 0x20 0x20 0x20 0x20 Gross weight
U
N
I
T (SP)
(SP)
0x55 0x4E 0x49 0x54 0x20 0x20 Unit weight
[D1-D12] (12 characters) Numeric value data is stored.
+
0x2B
Zero or positive data
-
0x2D
Negative data
0
–
9
0x30 – 0x39
0 to 9 (numeric)
0 is also used for zero padding.
.
0x2E
Decimal point (floating decimal point)
[
0x5B
The number surrounded by ‘[’ and ‘]’
means auxiliary indication
]
0x5D
␣
0x20
-
-
-
Spaces fill the top of the data.
Output to the least significant digit
in the absence of a decimal point
Unused high-order digit
[U1, U2] (2 characters) Represents the unit of numeric value data.
␣
g
0x20
0x67
gram
k
g
0x6B
0x67
kilogram
c
t
0x63
0x74
carat
m
o
0x6D
0x6F
momme
o
z
0x6F
0x7A
ounce
l
b
0x6C
0x62
pound
O
T
0x4F
0x54
troy ounce
d
w
0x64
0x77
pennyweight
t
l
0x74
0x6C
Hong Kong tael
t
l
0x74
0x6C
Singapore, Malaysia tael
t
l
0x74
0x6C
Taiwan tael
t
o
0x74
0x6f
tola
P
C
0x50
0x43
parts counting
␣
%
0x20
0x25
%
(percentage weighing)
␣
#
0x20
0x23
#
(Multiplied by Coefficient)