Protocole D'interface; Data Format - PCE Instruments PCE-WS 30 Manuel D'utilisation

Table des Matières

Publicité

Protocole d'interface

6

DATA FORMAT

HEAD1
HEAD2
1 2 3
4 5 6
HEAD1 (2BYTES)
OL
=
overload
NT
=
net weight mode
ST
=
stable
US
=
unstable
DATA (8BYTE)
2D (HEX) = " – " (negative sign) 20 (HEX) = " " (blank)
2E (HEX) = " . " (decimal point)
UNIT (4 byte)
g
=
20 (HEX) ; 20 (HEX) ; 20 (HEX) ; 67 (HEX)
kg
=
20 (HEX) ; 20 (HEX) ; 6B (HEX) ; 67 (HEX)
ct
=
20 (HEX) ; 20 (HEX) ; 63 (HEX) ; 74 (HEX)
ozt
=
20 (HEX) ; 6F (HEX) ; 7A (HEX) ; 74 (HEX)
CR= OA (HEX) ; OD (HEX) ;
Exemple de transmission
1. Ex. : stable net + 0.168 g
HEAD
HEAD
ST
NT
DATA
7 8 9 10 11 12 13 14
HEAD2 (2BYTES)
DATA
+ 0.168
© PCE Instruments
8
UNIT
15 16 17 18
UNIT
g
CR
19 20
CR
OA, OD

Publicité

Table des Matières
loading

Table des Matières