03.01.2013 Views

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

Toshiba PROSEC T1-16S PLC User's Manual - CTi Automation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7. Instructions<br />

CPU register ↔ built-in EEPROM<br />

In the EEPROM, the D registers are divided into pages as follows.<br />

Example<br />

<strong>T1</strong>-<strong>16S</strong><br />

D0000 Page 1<br />

(32 words)<br />

D0031<br />

D0032 Page 2<br />

(32 words)<br />

D0063<br />

D2016 Page 64<br />

(32 words)<br />

D2047<br />

242 <strong>T1</strong>-<strong>16S</strong> User’s <strong>Manual</strong><br />

• Writing data into the EEPROM is<br />

available within one page at a<br />

time. (max. 32 words)<br />

• For data reading from the<br />

EEPROM, there is no need to<br />

consider the pages.<br />

6F3B0253<br />

When R020 is changed from OFF to ON, 10 words of RAM data (D0700 to D0709) are written<br />

into the EEPROM (D0016 to D0025).<br />

D1000 (H0004) and D1001 (700) indicate the leading register of the source table (D0700 in<br />

RAM). D1002 (10) indicates the transfer size (10 words = 10 registers). D1003 (H0020 = 32)<br />

and D1004 (16) indicate the leading register of the destination table (D0016 in EEPROM).<br />

Note<br />

• The XFER instruction is not executed as error in the following cases. In these cases, the<br />

instruction error flag (ERF = S051) is set to ON. If the ERF is set to ON once, it remains ON until<br />

resetting to OFF by user program.<br />

(1) When the number of words transferred exceeds limit.<br />

(2) When the source/destination table of transfer is out of the valid range.<br />

(3) When the transfer combination is invalid.<br />

• The EEPROM has a life limit for data writing into an address. It is 100,000 times. Pay attention<br />

not to exceed the limit. (EEPROM alarm flag = S007 is not updated by this instruction)<br />

• Once data writing into the EEPROM is executed, EEPROM access (read/write) is prohibited for<br />

the duration of 10 ms. Therefore, minimum 10 ms interval is necessary for data writing.<br />

• The XFER instruction can be programmed in the main program and in the interrupt program.<br />

If this instruction is programmed in both, the instruction in the main program should be executed<br />

in interrupt disable state. Refer to EI (FUN 140) and DI (FUN 141) instructions.<br />

<strong>CTi</strong> <strong>Automation</strong> - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!