523
Appendices
Appendix H
Programming Notes
[ 1 ] Flash ROM
■ BHT-5000/BHT-6000/BHT-6500
You can store user program files and data files in the flash ROM as well as in the RAM.
The following tips help you use the flash ROM correctly.
(1) Memory areas required for user programs
If you store a user program into the flash ROM, the area for its register variables is also
reserved in the flash ROM. When starting the user program for the first time, the Inter-
preter copies the register variables stored in the flash ROM into the RAM (so that both the
flash ROM and RAM store the register variables). The user program uses the register vari-
ables stored in the RAM.
That is, a user program even stored in the flash ROM requires the RAM area for storing its
register variables. If the RAM has no sufficient area for storing the register variables, a run-
time error will occur.
When uploading a program file stored in the flash ROM, the BHT-5000/BHT-6000/BHT-
6500 combines the program (except for the register variables in the flash ROM) with the
register variables stored in the RAM.
(2) Retained contents of the flash ROM
Files stored in the RAM are backed up by the built-in rechargeable lithium battery. It means
that those files may be damaged if the BHT-5000/BHT-6000/BHT-6500 is left unused for a
long time so that the battery voltage drops below the specified level.
Unlike files stored in the RAM, files stored in the flash ROM are retained independently of
the voltage level of the lithium battery. Once data is written onto the flash ROM, it will be
retained until you delete it.
Comentarios a estos manuales