Chapter 3. Communications Operations of the BHT
■Data Text Format
(1) Heading text |
|
|
|
|
|
|
|
|
|
|
|
|
|
| Number of fields |
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| (2 bytes) |
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Length of |
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| data field 1 | Length of | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| (2 bytes) | data field n | |||||||||
Byte | 1 | 2 |
| 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 11 12 13 14 15 16 17 18 | 19 20 |
| 21 |
| (2 bytes) | ||||||||||||||||||
|
|
| ||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||
position |
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Data file name |
|
|
|
|
| Number of data |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
| texts contained |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
| (12 bytes) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
| (5 bytes) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
Example of M | A | S | T | E | R | . | D | A | T |
|
| 0 | 0 | 5 | 9 | 2 | n | 0 | 6 |
|
| 1 |
| 0 |
| |||||||||
contents |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The data file name should be a maximum of 12 characters in length and it consists of FILE NAME and
.EXTENSION. The FILE NAME should be 1 to 8 characters. The EXTENSION should be other than .PD3, .FN3, and
.EX3, and it may be omitted (together with a period).
The number of data texts should be 0 to 32767. If it is less than 5 digits, the upper blank bytes will be filled with zeros (0).
If the data file name is less than 12 characters in length, the lower blank bytes will be filled with space characters.
Every data field should be 1 to 254 digits in length. If it is less than 2 digits, the upper blank byte will be filled with zero (0).
If a data field is 100 to 199 digits in length, @0 to I9 will be given; if it is 200 to 254 digits, P0 to U4 will be given.
10X | @ | 20X | P |
11X | A | 21X | Q |
12X | B | ... | ... |
... | ... | 24X | T |
18X | H | 25X | U |
19X | I |
|
|
|
|
|
|
The number of fields should be 1 to 16. If it is less than 2 digits, the upper blank byte will be filled with zero (0).
To transfer a data file containing a data field(s) of 100 digits or more, use the Win32
(2) Data text
| Data field 1 | Data field 2 | Data field n | ||
Example of | T 1 0 0 9 | 1 S 1 2 3 | 9 2 0 2 1 4 1 3 2 5 | ||
contents |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Every data field should be 1 to 254 digits in length.
If a data field is less than the maximum digits in length, the lower blank bytes will be filled with space characters.
The total length of all data fields plus the number of the character count bytes (= the number of the fields) should be 255 bytes or less.
When you transfer five
137