8 EPROM Installation
8 - 1
8 EPROM INSTALLATION
When the ladder program has been completed, compiled, and translated into 68000
machine languages, the ladder program should then be permanently recorded into the
EPROM. This chapter describes how to use the EPROM writer to write the ladder
program into the EPROM and how to install the EPROM. For FLASH-ROM
installation.
8.1 EPROM Writer
There are several types of EPROM writers available on the market that can write the
ladder program into the EPROM in 68000 machine code, for example, HI-LO ALL-
03 system, Sunshine, Leap, etc. Regardless of the type of EPROM writer the user has,
one common requirement is that the EPROM writer should have the ability to split
"*.tsk" file into "*.odd" and "*.evn" file. The other requirement is that it can write
the program into the EPROM type of 27C010 (or 27C040) with 128k bytes or
29C010 FLASH-ROM.
8.2 Writing Ladder Program Into EPROM and FLASH-ROM
The PLC Editor translates the ladder diagram to "*.tsk" 68000 machine code. The
68000 CPU is a 16-bit machine, while the EPROM or FLASH-ROM is an 8-bit
device. Therefore, the files in 68000 CPU require two EPROMs or two FLASH-
ROMs (even and odd) for program storage. The user can use the file splitting
function (such as SPLIT2) to split the "*.tsk" file into "*.odd" and "*.evn" file.
However, most of the new EPROM writer model can write "*.evn" and "*.odd" file
directly into EPROM / FLASH-ROM. Note that the writing steps vary from model to
model. Please refer to your FLASH-ROM writer manual for detailed steps. All
HUST H2N sold so far were equipped with FLASH-ROM.
As to HUST H2N system file, it is to be splitted into “*.evn” and “*.odd” file also.
Both system and PLC “*.evn” files are to be writen onto the same FLASH-ROM and
both “*.odd” files onto another FLASH-ROM. The starting address when writing is
“00000” for system file and “0C000” for PLC file. Following is an example showing
steps to write a system and a PLC ladder diagram onto FLASH-ROM.
Example
: LEAP EPROM writer (Model U-1) for writing FLASH-ROM
1. Power-on your PC and bring up FLASH-ROM writer main menu.
2. Select "Type to select IC vendor and type".
Vendor -- select vendor's name for your FLASH-ROM. Press ENTER.
Type "29C010". Press ENTER.
Skip Steps 3~4 if writing onto a new FLASH-ROM.
3. On the main screen, select "Program".
4. Select "B" -- "EPROM device chip erase". Press ENTER to clear the existing
program in FLASH-ROM.
5. On the main screen, select “Disk”.
6. Select “L” – “Load Disk Data File to Buffer”. Press ENTER.
7. Select “Binary / Machine code”. Press ENTER.