Saving Basic Programs - Omron C200H-ASC11 Manual

Ascii units
Hide thumbs Also See for C200H-ASC11:
Table of Contents

Advertisement

Programming Procedure
7-1-2

Saving BASIC Programs

Writing the BASIC
Program to Flash ROM
Reading the BASIC
Program from Flash ROM
Automatically Reading the
Program in Flash ROM at
Power ON
! W A R N I N G
! C a u t i o n
116
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
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
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
Unit.
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.
Do not turn OFF
ASCII Unit
User memory area
All programs
Flash ROM
in the DM Setup Area allocated to the
hex
ASCII Unit
User program area
All programs
Flash ROM
Section 7-1
Write
Read at
power ON

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200h-asc21C200h-asc31

Table of Contents