3-3
Setting up the PDT 1100 in System Mode

Uploading

Use the upload menu in System Mode to upload files. For details, refer to the PDT 1100
Product Reference Guide.
Programming in PDT 1100-BASIC 3.0

Setting Communications Parameters using the OUT Statement

You may set the communications protocol type using the OUT statement. The follow ing sample
sets the PDT 1100-Ir protocol.
OUT &h6060,2
The PDT 1100 System version 1.01 or earlier does not support setting the commu nications
protocol type with the OUT statement. Select the PDT 1100-Ir protocol in System Mode.

Setting Communications Parameters using the OPEN “COM:”

Statement

You may set the communications parameters using the OPEN COM: statement. The following
sample sets the optical interface and 115200 bps.
OPEN COM1:115200 AS #1

Creating a Source Program Using the XFILE Statement

You may develop a do wnloading or upl oading source pro gram that handles files according
to the PDT 1100-Ir protocol using the XFILE statement . Compile the so urce program into the
user program and download it to the PDT 1100. For details, refer to the
XFILE statement in
the PDT 1100 Programmers Guide.
To download data files to the PDT 1100 using +C option specified in the DLL, specify the T
option to the protocolspec of the XFILE statement to treat space codes in the tail of a data
field as data. If you have selected the +C option, every record in a data file must be fixed in
length (refer to Data Files on page 2-4) so that space codes in the tail of a data field are data,
not fill characters u sed to fill blanks in record when its actual lengt h is shorter than the
specified length.