6F3B0253

5. Operating System Overview

Hardware check:

Performs checking and initialization of the system ROM, the system RAM and the peripheral LSIs.

Initial load:

Transfers the user program and user data from the EEPROM to the RAM. (Refer to section 5.2)

Register/device initialization:

Initializes registers and devices as shown below.

Register/device

Initialization

External input (X/XW)

Forced inputs are retained. Others are cleared to 0.

External output (Y/YW)

Forced coil devices are retained. Others are cleared to 0.

Auxiliary device/register

User specified retentive registers and forced coil devices

(R/RW)

are retained. Others are cleared to 0.

Special device/register

Special setting data are retained. Others are cleared to 0.

(S/SW)

 

Timer device/register

User specified retentive registers are retained. Others are

(T./T)

cleared to 0.

Counter device/register

User specified retentive registers are retained. Others are

(C./C)

cleared to 0.

Data register (D)

User specified retentive registers are retained. Others are

 

cleared to 0.

Index register (I, J, K)

Cleared to 0.

NOTE

(1)When the data stored in the EEPROM (Data registers) are used, these registers should be specified as retentive. Otherwise, these data are transferred from EEPROM to RAM, but then cleared to 0 at the initialization.

(2)The data in the retentive registers are stored in RAM and backed up by built-in capacitor and by the optional battery if used. The back-up period is 1 hours or more at 25 °C. If optional battery (CR2032) is used, the back-up period is 1 year or more at 25 °C.

The T1-16S checks the validity of the retentive data at the power-up initialization, and if they are not valid, sets the special device (S00F) to ON. Therefore, check the status of S00F in the user program and initialize the retentive registers if S00F is ON.

(3)The retentive registers can be set by the programming tool for RW, T, C and D registers. The registers from address 0 to the designated address for each type are set as retentive registers. Refer to the separate manual for the programming tool for setting the retentive registers.

(4)The input force and the forced coil are functions for program debugging. For details, refer to section 6.7.

70 T1-16S User’s Manual

Page 72
Image 72
Toshiba 6F3B0253 user manual Hardware check, Initial load, Register/device initialization