User manual
Translation Formats
ProMaster 2500 User Manual D-5
ASCII Binary Format, Codes 01, 02, and 03(or 05, 06, and 07)
In these formats, bytes are recorded in ASCII codes with binary digits
represented by Ns and Ps, Ls and Hs, or 1s and 0s, respectively. See
Figure D-1. The ASCII Binary formats do not have addresses.
Figure D-1 shows sample data bytes coded in each of the three ASCII
Binary formats. Incoming bytes are stored in RAM sequentially starting
at the first RAM address. Bytes are sandwiched between B and F
characters and are separated by spaces.
Data can also be expressed in 4-bit words. The programmer generates the
4-bit format on upload if the data word width is 4 bits. Any other
characters, such as carriage returns or line feeds, may be inserted between
an F and the next B.
The start code is a nonprintable STX, which is a CTRL-B (the same as a
hex 02). The end code is a nonprintable ETX, which is a CTRL-C (the
same as a hex 03).
Figure D-1
An Example of ASCII Binary Format
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
2
FORMAT 01 (OR 05)
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
2
FORMAT 02 (OR 06)
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
2
1
3
1
3
1
3
FORMAT 03 (OR 07)
LEGEND
Start Code - nonprintable STX - CTRL B is the optional Start Code
Characters such as spaces, carriage returns and line feeds may appear between bytes
End Code - nonprintable ETX - CTRL C
1
2
3
0074-2










