System configuration – Toshiba T2N User Manual

Page 26

Advertising
background image

1.System Configuration

User’s Manual

11

Operation Mode Switch

The Operation Mode Switch is provided on the CPU module.
This switch controls T2N operation (RUN/P-RUN/HALT).

Stop user program execution (HALT mode)
Start user program execution (RUN mode)

CPU status is shown below after power up or after the operation mode is
changed to RUN from HALT.

Setting

Position

User

Program

Operation

Mode

Initial Load

Program

exe : executed

- :not executed

Memory

Protection

Operation

Mode Change

by the

programmer

SW.2:OFF

exe

HALT

Stopped

HALT

SW.2:ON

-

No protect

not available

SW.2:OFF

exe

RUN

SW.2:ON

-

No protect

SW.2:OFF

P-RUN

Executed

RUN

SW.2:ON

-

protect

available

As shown the above table, initial load (program transfer into EEPROM from RAM)
performs in the RUN mode when setting SW.2 to OFF except P-RUN position.

1. The operation mode switch is set to HALT at the factory.
2. “P-RUN” is state that the operation mode switch set to P-RUN.

The user program and the first half of data register (D0000 to D2047) are
in the write protect mode and user can’t write or change them.

3. Normally, the programming is carried out in the HALT mode.
4. When shifting to the RUN mode with the ROM/RAM switch in the ROM

position , operation will commerce after program transfer has been
executed. (that is, it is called initial load.)

5. For details of the operation mode, see Part2, Section 2.3.
6. When the operation mode switch is changed quickly from HALT to P-RUN,

program transfer is interrupted.
Turn to P-RUN after the RUN LED is lit.

7. The RAM is backed up by battery of the T2N. When the battery voltage

drops and the T2N can’t keep retentive area in the RAM, CPU clears all the
retentive data.
Then CPU checks user program BCC. If error is detected, CPU registered
error.

NOTE

HALT

P-RUN

RUN

Advertising