2. Expanded Functions
CPU register ↔ EEPROM (D register)
EEPROM D register configuration: |
|
|
|
| |||
< T3H > |
| <T3 > |
| < T2 > | |||
D0000 |
|
| D0000 |
| D0000 |
| |
Page 1 | Page 1 | Page 1 | |||||
D0127 |
| D0063 | D0031 | ||||
|
|
|
| ||||
D0128 | Page 2 |
| D0064 | Page 2 | D0032 | Page 2 | |
D0255 |
| D0127 | D0063 | ||||
|
|
|
| ||||
D0256 | Page 3 |
| D0128 | Page 3 | D0064 | Page 3 | |
D0383 |
| D0191 | D0095 | ||||
|
|
|
|
D7936 | Page 64 |
| D8128 | Page 128 |
| D4064 | Page 128 |
|
D8191 |
| D8191 |
| D4095 |
| |||
|
|
|
|
|
| |||
128 words/page, 64 pages | 64 words/page, 128 pages | 32 words/page, 128 pages | ||||||
Total 8192 words | Total 8192 words | Total 4096 words |
Example:
Source designation | Transfer size | Destination designation | ||||||||
RW000 | H00 | H04 |
| RW002 | 00032 |
| RW010 | H00 | H20 |
|
RW001 | 00100 |
|
|
|
| RW011 | 00064 |
| ||
D0100 (CPU register) | 32 words transfer | D0064 (EEPROM) |
When R0000 is ON, 32 words data starting with D0100 is transferred to D0064 and after in the EEPROM. (Data write into EEPROM)
Remarks:
•EEPROM is internally divided by page.
•Writing data into the EEPROM is available within one page at a time.
•For data reading from the EEPROM, there is no need to consider the pages.
•The EEPROM has a life limit for data writing into an address. It is 100,000 times. Pay attention not to exceed the limit. (EEPROM alarm flag = S0007 is not updated by executing this instruction)
•Once data writing into the EEPROM is executed, EEPROM access (read/write) is prohibited for the duration of 10 ms. Therefore, minimum 10 ms interval is necessary for data writing.