Output Data Format
Explanation for RS-232C-compliant output
This explanation is for the interface to output the readings from the GB Digital
Grams (g) mode (transmission data)
Transmission data is output immediately after measurement regard- less of the status of the reception side (e.g. PC). Therefore, the recep- GB tion side must always be ready to receive data before any measure- ments are taken.
Specifications
Communication standard | EIA |
Communication method | Asynchronous |
|
|
Signal speed | 9,600bps |
Data bit length | 8bit |
|
|
Parity | NONE |
Stop bit | 1bit |
|
|
Terminator | CR+LF |
Flow control | None |
|
|
Signal line name and connection method
Terminal no.Signal name
1 |
|
2 | TXD |
3 |
|
4 |
|
5 | GND |
6 |
|
7 |
|
8 |
|
9 |
|
Connection example
|
| PC, etc. | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A. When the display is held
|
| Item |
|
| Header |
| Output data (ASCII code) | Details | |||
|
|
|
|
|
|
|
| ||||
| Control data |
|
| {0 |
| Fixed at 16 |
| ||||
| Control data |
|
| ~0 |
| Fixed at 1 |
| ||||
|
|
|
|
|
|
| |||||
| Model No. |
| MO |
| "XXXXXX" | ||||||
| Body weight |
| Wg |
| XXXXX | 3~5 bytes variable length (unit: g) | |||||
|
|
|
|
|
|
|
|
|
|
|
|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
{ 0 , 1 6 , ˜ 0 , 1 , M O , " B D - 8 1 5 " , W g , 3
28 29 30 | 31 | 32 |
9 7 2 CR LF |
B. When the Weight Gain key is pressed
|
| Item |
|
| Header |
| Output data (ASCII code) | Details | |||||||
|
|
|
|
|
|
|
|
|
|
|
| ||||
| Weight gain |
|
| Gg |
| XXXXXX |
|
|
|
| 1~6 bytes variable length (unit: g) | ||||
Memorized weight |
| Rg |
| XXXXX |
|
|
|
| 3~5 bytes variable length (unit: g) | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 12 13 14 | 15 |
| 16 |
|
|
G g 5 , 1 2 0 , R g , 2 8 6 | CR |
| LF |
|
|
C. When the Recall key is pressed
|
| Item |
|
| Header | Output data (ASCII code) | Details | ||||||
|
|
|
|
|
|
|
|
| |||||
Memorized weight |
| Rg | XXXXX | 3~5 bytes variable length (unit: g) | |||||||||
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|
| 9 |
|
| |
R | g | , | 3 | 8 | 6 | 8 | CR |
|
| LF |
|
|
Note
•Commas (,) are used to separate data.
•Terminator (end of data) is CR (ASCII code: 0DH), LF (ASCII code: 0AH).
22 | 23 |