Omron is a globally renowned manufacturer of automation control and electronic equipment, with products widely used in industrial automation, medical devices, home appliances, and other fields. In the field of industrial automation, Omron PLCs (Programmable Logic Controllers) are among its core products, offering high reliability and flexibility. The power-off data retention area is a special data storage method in PLCs that prevents data loss in the event of a power outage. This article will provide a detailed overview of the scope, features, application scenarios, and configuration and usage of the power-off-retentive data area in Omron PLCs.
I. The Concept of the Power-Off-Retentive Data Area
As the name implies, the power-off-retentive data area refers to a region within a PLC used to store data that remains intact even when the power is cut off. This data storage method is crucial for applications that require long-term data retention or data recovery after a power outage.
II. Scope of the Power-Off Retention Data Area
In Omron PLCs, the power-off retention data area primarily includes the following types of data:
1. Power-Off Retention Registers (RW)
Power-off-retentive registers are the most basic power-off-retentive data storage units in a PLC, used to store intermediate data within a program. The address range for power-off-retentive registers is typically RW0 to RW9999, allowing for the storage of data in approximately 10,000 registers.
2. Power-off-retentive Timers (RT)
Power-off-retentive timers are power-off-retentive data storage units used to implement timing control. Even when the power is turned off, the timer's count data remains unchanged. The address range for power-off-retentive timers is typically RT0 to RT255, allowing for a total of 256 timers to be stored.
3. Power-Off-Retentive Counters (RC)
Power-off-retentive counters are power-off-retentive data storage units used to implement counting control. Even when the power is turned off, the counter's count value remains unchanged. The address range for non-volatile counters is typically RC0 to RC255, allowing a total of 256 counters to be stored.
4. Non-volatile Data Blocks (R)
Non-volatile data blocks are non-volatile data storage units used to store larger data structures within a program. The address range for non-volatile data blocks is typically R0 to R255, allowing a total of 256 data blocks to be stored.
III. Features of the Power-Off Data Retention Area
1. High Reliability
Data in the power-off data retention area remains unchanged even when the power is cut off, which significantly enhances the reliability of the PLC system. Especially in critical applications, such as production line control and equipment monitoring, the power-off data retention area ensures data integrity and accuracy.
2. Flexibility
Omron PLCs' power-off data retention area offers multiple types of data storage units to meet the needs of various application scenarios. Users can select the appropriate power-off data storage unit based on their specific requirements, enabling flexible data storage and management.
3. Ease of Use
Omron PLCs offer a rich set of instructions and functions that facilitate the setup and use of the power-off-retentive data area. Users can easily configure the power-off-retentive data area using programming software to perform operations such as data storage, reading, and modification.
IV. Application Scenarios for the Non-Volatile Data Area
1. Production Line Control
In production line control, the non-volatile data area can be used to store data such as the production line's operating status and production volume statistics. Even in the event of a power outage, this data remains intact, aiding in production line recovery and fault diagnosis.
2. Equipment Monitoring
In equipment monitoring systems, the non-volatile data area can be used to store data such as equipment operating parameters and fault logs. This data is crucial for equipment maintenance and fault diagnosis, and the power-off data retention area ensures its integrity and accuracy.
3. Data Logging
In applications requiring long-term data retention-such as environmental monitoring and energy management-the power-off data retention area can be used to store data logs. These logs support data analysis and decision-making, and the power-off data retention area ensures the reliability of the data.
4. System Recovery
In the event of a PLC system failure or when a restart is required, the power-off-retentive data area can be used to store system status information, such as program execution status and input/output status. This information helps the system quickly recover to its pre-failure state, thereby reducing system downtime.
V. Configuration and Use of the Power-Off-Retentive Data Area
1. Configuring the Power-Off Retention Data Area
In Omron PLC programming software, users can define the power-off retention data area by setting the power-off retention attribute. The specific steps are as follows:
a. Open the programming software and select the data storage unit for which you want to enable power-off retention.
b. In the data storage unit's property settings, check the "Power-Off Retention" option.
c. Save the settings to complete the definition of the power-off retention data area.
2. Using Power-Off Retention Data Areas
In PLC programs, users can use various instructions to operate power-off retention data areas, such as reading, writing, and comparing. The following are some commonly used instructions for power-off retention data area operations:
a. Reading a non-volatile register: Use the DMOV instruction to read data from a non-volatile register into the accumulator or another register.
b. Writing to a non-volatile register: Use the DMOV instruction to write data from the accumulator or another register into a non-volatile register.




