Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 20 of 30

Programmable controller New Satellite JW, Model name JW50H/70H/100H, User's Manual/Hardware version: Chapter7. ROM operation

Pages 171 to 181 of 254, from Programmable controller New Satellite JW, Model name JW50H/70H/100H, User's Manual/Hardware version

The original document is the PDF (8.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Sharp ZW-32IO2 and Sharp ZW-32S2T

Page 171 read from a scan by OCR; it may hold reading errors

7-1 ate

This chapter describes how to implement a user program or data stored in ROM. ROM operation is possible when the JW-1MA/2MA/3MA, JW-1MAH/2MAH/3MAH memory module is installed in the control module. (Note 1)

What is ROM operation?

ROM operation runs the programmable controller using the program or data stored in ROM. At.system power-on, the user program or part of the data stored in ROM is transferred to RAM, which is then used to run the system. Since the contents of ROM are left intact power-off, the same program or data can be used repeatedly until the ROM rewritten.

If 11,4) is written to system memory location #0255 and ROM Ml operation is executed on the JW50H/ 7OH/100H, malfunctions can be prevented since :

*The program cannot be modified (only system memory can be modified).

*The contents of ROM are automatically transferred to RAM when they differ.

ROM operation is useful in the following cases:

1) lf the PC is to be left unused for a relatively long interval. (Stored program remains intact even after backup battery is used up).

2) If you do not want to re-enter data, files, or programs.

3) If you wish access to a stored program more quickly (EEPROM allows quicker access than a floppy disk.)

There are 4 types of ROM operations depending on the set value in system memory #0255.

item ROM operation - een | See page =

Set value in system 161 memory #0255 00H) 1114) (Note 2) 22H) 44H) 164 ROM to RAM Manual transfer after | Automatic transfer after PC is powered ON a transfer PC is powered ON PC mode when Previous mode when last turned Halt mode Operation |Programming powered ON OFF mode manual Data memory ; clear when No Yes Programming powered ON manual Operation with No Yes no battery

166 Operation with Yes battery Type/mode of EPROM (27C512), EEPROM (AT28C64B-15PC, AT28C256-15PC) installed ROM

160 ROM area na oom memory #0256 according to the type/model of installed

Note 7: ROM operation is not available when the ZW-4MA or JW-4MAH is used for the memory module. Note 2: Value of 11(#) can be set when JW50H/70H/100H is used but not when JW50/70/100 is used.

7-1

Page 172 read from a scan by OCR; it may hold reading errors

7-2 Preparing for ROM operation

[1] ROM types usable for ROM operation

EPROM 270512 (250 ns) Fujitsu

AT28C64B-15PC | (250 ns) ATMEL EEPROM | »PD28C64C (250 ns) NEC AT28C256-15PC | (250 ns) ATMEL

[2] ROM area The address area and contents to be mapped onto ROM are defined by values stored in system memory address #0256:

*Unusable for except B version.

“Setting value | _| Ostel idecimal) _memior

000.2) 00H), _, _ _

ROM model :

146@ | 660) | #0200 to #2177| 3.5K words _, | EEPROM | ees by ATMEL) System [4676 | 770 | #0200 to #2177| 31.5K words =, __| EPROM _| 27512 (Fujitsu) memory (200 | 80e) | #0200 to #2177| 15.5K words =, address 09000 to 09777,

#0256 | 201@ | 81e) | #0200 to #2177] 7.5K words a ... 419000 to 19777 AT28C64B-15PC 202) | 820, | #0200 to #2177! 7.5K words, 16K bytes) EEPROM | (made by ATMEL), 09000 to 09777, _ 19000 to 19777

204 ¢a) 84) #0200 to #2177 wee 31K bytes

20318) 83H) #0200 to #2177

Note 1: The default value of system memory address #0256 is 00(H), which specifies RAM operation. Note 2: Registers 29000 through E1777 cannot be mapped onto ROM. [3] Type-independent ROM writing procedures (1) EPROM (ROM model name : 27C512) First transfer your program from the multipurpose programmer to the ROM programmer, then write the program into the EPROM chip set to the programmer. (See page 7-3).

Note 1: We recommend the following PROM programmer models :

Ando Electric Co. AF-9703 Minato Electronics Co. MODEL-1866A Advantest Co. TR4943

Note 2: For operation of the multipurpose programmer and the PROM programmer, see the user's manual supplied with the device.

Note 3: Multipurpose programmers (JW-30PG/32PG) with software versions 1.0 and 1.0A have no capability to transfer programs to a PROM programmer. The software version can be checked on the main menu

| Software version with no ROM pr fer function: Ver 1.0, Ver 1.04 |

(2) EEPROM (ROM model name: AT28C64B-15PC or AT28C256-15PC)

JW50/70/100, JW50H/70H/100H Hand-held programmer Program ee transfer 7

>» Y

RAM | + >[EEPRAN|

A program stored in RAM can be written into an EEPROM under control of the hand-held programmer. (See page 7-5 to 7-7.)

Page 173 read from a scan by OCR; it may hold reading errors

Writing a program into ROM [1] Procedure when using EPROM The following describes how to use an EPROM chip (ROM model name: 27C512):

Transfer your program to the multipurpose programmer.

7 ci

200] (a io

Set up system memory address #0255 for either battery operation or battery- free operation.

Multipurpose programmer (JW-30PG/32PG/40P G/50PG Above shown is JW-50PG.)

Set value 77 into system memory address #0256.

Transfer the program from the multipurpose programmer to the PROM programmer.

Install an EPROM chip (270512) on the PROM programmer and write the program into if.

Turn the PC power supply OFF.

Remove the control module from the rack panel.

¥

*1 To next page omen

000.) 00m) RAM operation (operation with battery}

ROM operation (previous mode

#00565 021) 11) | when last turned OFF at power ON) 042 ROM operation (operation without (6) 22th) battery, halt at power ON)

ROM operation (operation without

104.) 44H) battery, run at power ON)

Note 1: When the JW50/70/100 is used, value 11(4) cannot be set to #0255. To execute ROM operation on the JW50/70/100 (with battery), set value O00(octal) and then use the hana-held programmer to perform the ROM to RAM transfer.

System | |. Hexa- : re memory | O&l@l | decimal Contents ss seis

Sets up ROM type for an EPROM #0256 167%) 77 (270512)

Note 1: When using an EPROM, do not set system memory #0256 to any value other than 77m.

Multipurpose programmer (JW-30P G/32PG/40PG/50PG Above shown is JW-50PG.)

Y

Commercial PROM programmer

Note 2: Before installing the EPROM chip on the PROM programmer, leave it in the ultra violet eraser for more than 30 minutes until its contents are completely erased.

Note 3: ROM operation is not available using the ZW-4MA, JW- 4MAH memory module in the JW70/100, JW70/100H system.

Note 4: The contents of registers 29000 through E1777 cannot be transferred to ROM.

7-3

Page 174 read from a scan by OCR; it may hold reading errors

“1 Previous page

Install the programmed EPROM chip in the IC socket on the memory module (ensure correct orientation).

(Note 1) (Note 2) Set the ROM/RAM switch (SW2) on the memory module to ROM.

(Note 2}

¥.

Set the EPROM/EEPROM switch(SW1)} on the memory module to ROM.

(Note 2)

¥

Install the control module onto the rack panel.

Turn the PC power ON.

Note 1: ROM (EPROM, EEPROM) installation

Align the notches

/

ROM

CHI2 iC socket

Securing the ROM

Orient the ROM so that it is aligned with the IC socket. Check that the ROM is properly oriented and the pins are not bent.

Note 2: Location of IC socket and location and setting of switches. eZW-1MA/2MA/3MA: See page 5-6 eJW-1MAH/3MAH : See page 5-8 *«JW-2MAH : See page 5-9

Ni screwdriver eel al

Note 3: When the JW50H/70H/100H is used. Value 114) cannot be set to #0255 when the JW50/70/100 is used.

‘4

Hancling the ROM

|

|

;

lf OO;H) is set in #0255, the PC starts running on the RAM program.

If 11( is set in #0255, the PC starts running on the program transferred from ROM to RAM. {operation with battery previous mode when last turned OFF at power ON).

if 22.4) is set in #0255, the PC halts with ROM contents transferred to RAM. (Operation without battery}

If 444) is set in #0255, the PC starts running on the program transferred from ROM to RAM. (Operation without battery.)

|

End

7-4

Page 175 read from a scan by OCR; it may hold reading errors

[2] Procedure when using EEPROM The following describes how to use an EEPROM chip (ROM model name: AT28C64B-15PC or

AT28C256-15PC):

Store the program and data into the PC's RAM with battery backup.

¥ | Turn the PC power OFF. Note 1: ROM(EPROM, EEPROM) installation Align the notches

4

Remove the controi module ”, ROM Handling the ROM ROM

¥ from the rack panel.

¥.

tl Install the written EEPROM IC socket (i chip in the IC socket on the Securing the ROM memory module. Orient the ROM so that it is aligned with the IC socket. Check

(Note 1) that the ROM is properly oriented and the pins are not bent. (Note 3) (Note 2) _ ‘ Note 2: Location of IC socket and location and setting of switches

Set the memory module's ; ROM/RAM selector switch | | *ZW-1MA/2MA/3MA: See page 5-6

' | (SW2) to RAM. «JW-1MAH/3MAH: See page 5-8 *JW-2MAH: See page 5-9

(Note 2)

Set the memory module's EPROM/EEPRAM selector | : switch(SW1) to EEPROM.

: (Note 2)

¥

' | Install the control module ; Note 3: The steps enclosed within the dotted line are needed to ' | onto the rack panel. protect the contents of the PC's internal RAM during the power-ON performed after an already written EPROM is installed on the memory module.

Set the contol module's Note 4:

memory protect switch to ' ON (write protect)

ON (write protect). ; A Woe OFF(write enable)

Turn the PC power ON. MEMORY PROTECT y Set the contol module's memory protect switch to OFF (write enable).

| (Note 4)

*To next page.

Page 176 read from a scan by OCR; it may hold reading errors

*2 Previous page

Connect the suuport tool to the control module and place it in program mode.

¥v

Set up system memory address #0255.

Yv

Set up system memory address #0256.

Y¥

Write 252%) into system memory address #0020.

(Transfer starts.)

¥Y

Write 125.) into system memory address #0020.

vr

Wait for 6 seconds (Note 2)

No

000.) 001) RAM operation (operation with battery)

ROM operation (previous mode when last turned OFF at power ON) {Note 1 ROM operation (operation without 042¢) 221th) battery, halt at power ON)

ROM operation (operation without 104¢2) 44H battery, run at power ON)

02 Ts) 11H)

#0255

Note 1: When the JW50/70/100 is used, value 11(4) cannot be set to #025. To execute ROM operation on the JW50/70/100 (with battery), set value 000(octal) and then use the hand-held programmer to perform the ROM to RAM transfer.

ROM model _

000@; OOH}, - - - - __ #0200 to | 3.5K AT28C64B-15PC,

1468) 66H) #2177 words, _, | EEPROM (ATMEL)* #0200 to | 31.5K _ 270512 167 | 77) | 404177 | words EPROM | (Fujitsu) #0200to| 155K System | 200@ | 8 | 45477 | words memory 09000 to address #0256 201) Btan #0200 to | 7.5K | 09777, _ #2177 words | 19000 to

19777 #0200to | 7.5K 16K AT28C256-15PC 202 2, _ : ® | 8 byoi77 | words bytes | EEPROM (aTMeL) 09000 to #0200 to 09777 2038: 83H: - - _ "| #2177 19000 to | it 19777 | #0200 to 31K 204 (a1 84in #2177 |, - bytes

Note 2: Do not operate the programmer's keys until value "000" or "001" is displayed for address #0020. Using hand-held programmer, operate the exclusive operation for writing a program to an EEPROM. A display isn't changed by writing directly a system memory.

"001" at #0020. (Note 3). Note 3: Value "001" indicates that an

"000" at #0020?

| Yes

Turn the PC power OFF.

|

*3 To next page.

Vv error was detected by a read-after-write test on the ROM.

¥

Replace EEPROM chip and retry progam transfer.

Page 177 read from a scan by OCR; it may hold reading errors

*3 Previous page

Remove the control module from rack panel.

Set memory module's ROM/RAM switch (SW2) to ROM.

(Note 1) (Note 2)

Set memory module's EPROM/EEPROM selector switch (SW1) to EEPROM.

(Note 1)

¥

Replace the control module on the rack panel.

Turn the PC power ON.

Note 1: Location and setting of switches eZW-1MA/2MA/3MA : See page 5-6 eJW-1MAH/3MAH : See page 5-8 eJW-2MAH: See page 5-9

Note 2: If ROM/RAM selector switch (SW1) is set to the ROM position, the memory protect switch becomes ineffective in disabling program transfer from ROM to RAM.

¥.

l

| j lf OOw) is set in #0255, the PC starts running on the RAM program.

If 11() is set in #0255, the PC starts running on the program transferred from ROM to RAM. (operation with battery previous mode when last turned OFF at power ON). __ [Note 3] lf 22H) is set in #0255, the PC halts with ROM contents transferred to RAM. {Operation without battery)

lf 44ey is set in #0255, the PC starts running on the program transferred from ROM to RAM. (Operation without battery.)

|

|

|

End

Note 3: JW50/70/100 is used. When the JW50/70/100 is used, value 1114) cannot be set #0255.

7-7

Page 178 read from a scan by OCR; it may hold reading errors

7-4 ROM operation method

ROM operation is possible with or without a backup battery. See page 7-10 for details on the operation without battery. [1] ROM operation with backup battery If ihe following conditions are set on the JW50H/70H/100H, ROM operation is automatically executed with battery when the power ts turned ON. This type of ROM operation is not possible on the JW50/70/100.

*Only in case of JW50H/70H/100H tem Contents ROM chip Installed ROM-RAM switch ROM side Memory protect switch Invalid

System memory address #0255 | 11 System memory address #0256 | ROM type specified

[2] ROM operation without backup battery lf the following conditions are set on the JW50/70/100 or JW50H/70H/100H, ROM operation is automatically executed without battery when the power is turned ON.

ROM chip Installed

ROM-RAM switch ROM side Memory protect switch Invalid

System memory address #0255 | 22a, 44) System memory address #0256 ; ROM type specified

Note 1: At power ON, the control module performs a self-diagnosis on ROM-to-RAM program transfer. If a FAULT indicator comes on when the system is turned ON for ROM operation, take the necessary action by referring to the programming manual, section 2-8, "Self-diagnosis".

Note 2: The battery-free operation mode is selectable when a backup battery is installed.

7-8

Page 179 read from a scan by OCR; it may hold reading errors

[3] Initial ROM operation sequence at power ON

| Power ON

¥.

Check ROM-RAM switch on memory module.

ROM position?

| Yes

Check memory protect switch.

Yes

MEMORY PROTECT

Check address #0255. |

(Check the ROM

114) or 22ay or 44H)?

address #0255.)

Check address #0256. | (Check the ROM exists?

ROM type code

ROM operation | v address #0256.)

| RAM operation

| ROM to RAM transfer |

|

("

| Clear data memory

Yes y er

Vv

Y

Start operation

7-9

Page 180 read from a scan by OCR; it may hold reading errors

7-5 Battery-free operation {1] What is battery-free operation?

When a ROM chip storing the user program is installed, the PC can be operated without a RAM backup battery.

Requires Requires no backup battery. backup battery. RAM, . ee

[2] Precautions for battery-free operation

Battery-free operation is possible if your system meets all of the following conditions :

(1) At power ON, the program must be transferred from ROM to RAM. The total overhead required is approximately 4 seconds, including the program transfer time (approx. 2 sec. for 7.5 K-word program). {For RAM operation, this overhead is shortened to approx. 2 sec.)

(2) All differentiation memories are set.

(3) All latch relays are reset.

(4) The contents of all counters, timers, and registers are cleared.

(5) The contents of file registers become indefinite (not cleared). However, if the data for file registers are stored in ROM (202.8) or 204) set in #0256), they will be transferred from ROM to the file registers at power ON.

(6) The real time clock stops functioning at power OFF. It restarts functioning with-year-month-data-hour-minute-second at a subsequent power ON.

(7) The data for the latched relays, current values of the counters, registers and file registers are not saved whenever power is interrupted.

[3] ROM types usable for battery-free operation For battery-free operation, the user program must first be written into a ROM chip. The ROM programming:and system setup procedures differ depending on the ROM type and model you use. EPROM or EEPROM can be used.

Usable ROM types

Model 270512 Fujitsu (250 ns) AT28C64B-15PC* | ATMEL(250 ns)

EEPROM py PD28C64C NEC (250 ns) AT28C256-15PC | ATMEL(250 ns)

* Unavailable for except B version. Numbers given in parentheses indicate access‘time.

Note: Battery-free operation is not possible using the ZW-4MA or JW-4MAH memory module.

Page 181 read from a scan by OCR; it may hold reading errors

[4] Procedure for battery-free operation Prepare for battery-free operation in the following manner :

Turn the PC power OFF.

¥.

Install the ROM chip programmed for battry-free operation onto the memory module and set memory module switch as described under "ROM operation".

System ROM operation (battery-free memory 042¢8) 22) | operation, halt at power ON) address ROM operation (battery-free

#0255 1040) 44) | operation, run at power ON)

¥

Remove the battery cell from the battery holder and unplug the battery harness plug from the connector (CNS) on the CPU board.

t

Install the battery-free operation plug on CN5.

Replace the control module on the rack panel.

¥.

Turn the PC power ON.

Note 1: Battery-free operation is not possible unless value 22; or 44 is set in system memory address #0255. Since the contents of address #0255 are also stored into ROM, they must be set before the ROM chip is programmed.

« 0 d Battery free operation plug

¥.

If 22in) is set in #0255, the PC halts with ROM contents transferred to RAM.

¥. If 444) is set in #0255, the PC starts running on the program transferred from ROM to RAM.

J

A xy

End

Note 1: After disconnecting the battery from CNS, be sure to install the battery-free operation plug on it in place of the battery hamess plug. Otherwise a battery error will occur, in which case error code "22" is written into system memory locations #0160 to #0167, with special relay 07372 activated.

Note 2: Normal PC operation can ne continued by ignoring a voltage dip. The default voltage dip detection interval is 10ms. You can vary this interval over the range from 0 to 255 ms by setting the appropriate value into system memory address #0246, although the available range may be limited depending on the number of I/O and/or option modules used in the system. For details on setting system memory, see the programming manual, section 2-4-5, "Control module function setting area."

Note 3: In the battery-free operation mode, the contents of the counters, registers, and file registers, and the status of the latch relays will not be maintained against power failure.

7-11