
115
Programming Procedure
Section 7-1
LIB
:
0 bytes
I–CODE :
41 bytes
Transferring the BASIC
Program Using a Text
Editor
Perform the following steps to transfer a BASIC program to the ASCII Unit
after compiling it using a text editor:
1,2,3...
1.
Edit the program using a text editor such as the Note Pad, and save it in
text format.
2.
Set the START/STOP switch to STOP and input
New
to clear the ASCII
Unit’s program.
3.
Input the LOAD command to put the ASCII Unit into file transmission wait
state. The BASIC indicator (green) will flash quickly.
4.
Point to
Hyperterminal
and then
Transfer,
and click
Transmit text file
to
transmit the saved file to the ASCII Unit. The file will be stored in the active
program No. area and overwrite any existing files.
5.
Input Ctrl + C when the transfer has been completed. The prompt (>) will
be displayed again.
The T/R indicator will go out when the transfer has been completed.
Precautions
Be sure to use the flow control or send delay setting when transmitting files to
the ASCII Unit using
Transmit text file
. Not doing so may cause errors in file
reception.
Example: Setting Flow Control
At the terminal: In the
Port settings
field, specify
Xon/Xoff
for the flow con-
trol.
At the ASCII Unit: Set the Xon/Xoff control to ON when inputting the LOAD
command.
LOAD #1, “TERM: 9600, 8, N, 2, CTS_OFF, RTS_OFF, DSR_OFF,
XN_ON”
When executing a program, the ASCII Unit reads the source program and cre-
ates intermediate code. Memory is consumed by creating intermediate code.
When writing comparatively large programs, occasionally execute RUN and
check the memory consumption by executing PINF ALL.
Closing the Terminal
1,2,3...
1.
To save the connection information (session), point to
File
and then
Save
as...
.
2.
To close the hyperterminal, point to
File
and then
Close Hyperterminal
.
A message will be displayed asking whether to disconnect the modem.
Click “OK.”
Reconnection Procedures
1,2,3...
1.
Double-click the icon (session file) that was created.
or
Point to
File
and then to
Open
. Select the session file.
2.
A message will be displayed asking whether to install a modem. Select
“No.”
3.
Enter the Ctrl+X Keys. If the previous message is displayed, the connec-
tion has been successfully made.
Summary of Contents for C200H-ASC11
Page 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Page 2: ...iv...
Page 4: ...vi...