
116
Programming Procedure
Section 7-1
7-1-2
Saving BASIC Programs
Writing the BASIC
Program to Flash ROM
The BASIC programs in the user memory (RAM) area can be written to the
flash ROM in the ASCII Unit by entering the ROMSAVE command from the
terminal
.
>ROMSAVE
Reading the BASIC
Program from Flash ROM
The BASIC programs in the flash ROM of the ASCII Unit can be read to the
user memory (RAM) area of the ASCII Unit by entering the ROMLOAD com-
mand from the terminal
.
>ROMLOAD
Automatically Reading the
Program in Flash ROM at
Power ON
The programs in the flash ROM can be automatically read to the user memory
(RAM) area when power is turned ON or when the Unit is restarted, by setting
bits 08 to 15 of word DM m to 5A
hex
in the DM Setup Area allocated to the
Unit.
!WARNING
Never turn OFF the power supply of the PC while data is being written to flash
memory by the ROMSAVE command until the completion display is shown at
the terminal. By turning OFF the power supply, there is a possibility that the
flash ROM will be electrically destroyed and that it will no longer be capable of
storing data.
Do not turn OFF the power supply or restart the PC while data is being read
from the flash ROM by the ROMLOAD command or automatically being trans-
ferred at startup. ROMLOAD command execution has been completed when
the prompt appears on the terminal. Automatic transfer at startup has been
completed when the command input prompt appears on the terminal. (Auto-
matic transfer will be performed when power is turned ON or the Unit is
restarted if the Startup Mode in the DM Area words allocated to the ASCII
Unit is set for automatic transfer.)
Also, if the IOWR or IORD instruction is being used in the ladder program in
the CPU Unit to exchange data with the ASCII Unit, always stop ladder pro-
gram execution before writing to the flash ROM from the BASIC program
using ROMSAVE.
!Caution
Do not turn OFF
ASCII Unit
User memory area
All programs
Flash ROM
Write
ASCII Unit
User program area
All programs
Flash ROM
Read at
power ON
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...