beautypg.com

4 ] text format, Program text format – Denso BHT-7500 User Manual

Page 162

background image

142

1

2

3

4

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

[ 4 ] 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 (.EX3 and .FN3
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 .EX3 or .FN3.

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, .EX3, and .FN3.)

128

or

130

(2) Data text

This manual is related to the following products: