![Omron CS1W-213 - REV 02-2008 Operation Manual Download Page 165](http://html1.mh-extra.com/html/omron/cs1w-213-rev-02-2008/cs1w-213-rev-02-2008_operation-manual_742355165.webp)
140
Saving Data
Section 5-6
Program Example
The work bit R1 is used to begin reading. When debugging, it is a good idea
to create a ladder program that refers to the ER Flag and Error Flag (word
n+8, bit12).
5-6
Saving Data
Data transferred to the PCU will be erased either when the power to the Pro-
grammable Controller is turned OFF or when the PCU is restarted. To pre-
serve the data that has been transferred, it must be saved in the PCU’s flash
memory. Once it has been saved, it can be read out and used the next time
the power to the PCU is turned on or restarted. When the data is saved, all
data including parameters existing at that point in time are saved.
Note
1.
Do not turn OFF the power or restart the PCU while data is being saved. It
may cause a failure in the PCU’s internal flash memory, or cause the PCU
to operate abnormally.
2.
If a failure does occur in the flash memory, a flash memory error (error
code 9300) will be generated when data is saved. Saving data can take as
long as 30 seconds.
3.
Only save data when all axes are stopped and no other commands are be-
ing executed. Otherwise the data will not be saved, and a multiple start er-
ror (error code 8000) will result.
5-6-1
Flash Memory
The contents of the PCU’s internal memory are lost when the power supply is
turned OFF or when the PCU is restarted. By saving the contents of the inter-
nal memory to the flash memory, parameters and other data can be retained.
The following types of data can be saved in the flash memory:
DIFU
R1
IORD
#112C
#00040002
D00500
R3
R2
R1
R2
R3
=
Set the beginning address (transfer
source) of the speed data to be trans-
ferred from the PCU to 112C (Hex).
Set the unit number of the transfer
source to 2 (Hex) and the number of
transfer words to 4 (Hex).
Set the beginning word (transfer destina-
tion) of the area in the CPU Unit where
the speed data is stored to D00500.
If transfer is completed successfully,
the Equals Flag turns ON.
Work bit
Work bit
Read switch
Work bit
Work bit
Contents of DM Area after read is completed.
D00500
0 3 E 8
D00501
0 0 0 0
D00502
1 5 7 C
D00503
0 0 0 0
Speed #0
Speed #1
Summary of Contents for CS1W-213 - REV 02-2008
Page 2: ...CS1W NC113 213 413 133 233 433 Position Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 13: ...xiv ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 43: ...18 Basic Operational Flow Section 2 1 ...
Page 87: ...62 Servo Relay Unit Section 3 7 ...
Page 199: ...174 Z phase Margin Section 6 8 ...
Page 217: ...192 Sample Program Section 7 7 ...
Page 285: ...260 Easy Backup Function Ver 2 0 or later Section 9 11 ...
Page 377: ...352 Common Parameter Area Appendix C ...