Method for keeping PLC device power-down data

A technology of power-down retention and equipment data, applied in the redundancy of computing for data error detection, response error generation, etc., can solve the problem of difficulty in ensuring the real-time and accuracy of industrial field data protection, and the lack of time series for stored data. It can not fully guarantee the correctness of power-off data, etc., to achieve the effect of strong practicability, lower product cost, and convenient operation.

Active Publication Date: 2014-03-12
SHANGHAI ELECTRICAL APP RES INST +1
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Patent CN201220171318.2 provides a power-down hold circuit, which is convenient for writing data into flash (flash memory) in time within a certain period of time after the power is disconnected. Since there is no pre-erasing method, and this method only prolongs the The power-off hold time cannot fully guarantee the correctness of th

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for keeping PLC device power-down data

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0015] In order to make the present invention more comprehensible, preferred embodiments are described in detail below with accompanying drawings.

[0016] combine figure 1 , the present invention provides a method for keeping data of PLC equipment in power failure. The basic power-down retention design that will not directly lose power to ensure that the power-down data has a storage time of 2 to 5s. The specific steps are:

[0017] Step 1. When the PLC device is running normally, erase an unused sector of the power-off storage space as the backup sector for the next abnormal power-off of the PLC device;

[0018] Step 2. When the PLC device is abnormally powered off, add 1 to the current update sequence number, package the power-down data into a power-down data packet and store it in the backup sector obtained in step 1. The backup sector containing the power-down data packet The area becomes the holding sector, and the power-down data packet includes at least the holding d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for keeping power-down data. The method is applied to a PLC. The method for keeping the power-down data comprises the steps that a microprocessor is used for erasing the power-down keeping storage space in advance, and when the PLC is powered down, packaged keeping data are written in the storage space which is erased in advance; when the PLC is powered on, comparison is carried out on the data updating situation, then selection is carried out, and the status of the power-down data is kept newest and usable. According to the method for keeping the power-down data, the problem that the power-down data are stored unreliably or are lost in the limited single-board hardware design on an industrial site is effectively solved, the power-down data keeping performance of the PLC is optimized under the situation that original hardware equipment is not changed, and the requirement for storing the power-down data on the industrial site is met.

Description

technical field [0001] The invention relates to a power-down data retention method for PLC equipment, which belongs to the technical field of industrial control. Background technique [0002] PLC (Programmable Logic Controller), programmable logic controller, an electronic system for digital operations, designed for use in industrial environments. It uses a programmable memory for its internal storage program, executes user-oriented instructions such as logic operations, sequence control, timing, counting and calculation operations, and controls various types of machinery through digital or analog input / output. Or production process, is the core part of industrial control. [0003] With the increasing complexity of the industrial production environment, industrial automation products have higher and higher requirements for data recovery after the production environment encounters an emergency, and even require that in the case of an external sudden power failure, the PLC ca...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/14
Inventor 琚长江侯金华滕宇侯斌应成
Owner SHANGHAI ELECTRICAL APP RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products