beautypg.com

8 ] text format, Text format, Program text format – Denso BHT-6000 User Manual

Page 133

background image

118

1

2

3

4

0

D

0 A 0

0

0

0

0

0

1

17

2

3

4

5

6

7

8

9 10 11 12 13 14 15 16

P

R O G 1 .

P D

3

0

0

5

2

3

[ 8 ] Text Format

Text should be formatted according to the standard of the BHT-Ir protocol before
transmission. Shown below are two types of the standard text formats for program
files and data files.

Program Text Format

(1) Heading text

Program file name

(12 bytes)

Number of data
texts contained

(5 bytes)

Byte position

Example of
contents

The program 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 .PD3 or .FN3 (.EX3
may be available for future
functional expansion).

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 program file name is
less than 12 characters in
length, the lower blank
bytes will be filled with
space characters.

Byte
position

Example of
contents

Program data

128 bytes if extension is .PD3;
130 bytes if it is .FN3 or .EX3.

If a program data field
is less than the
maximum digits in
length, the lower blank
bytes will be filled with
zeros (0).

Object file (compiled from a source
program file having one of the
extensions .PD3, .FN3, and .EX3.)

128

or

130

(2) Data text