CN202771180U - Programmable controller capable of saving when power goes off - Google Patents

Programmable controller capable of saving when power goes off Download PDF

Info

Publication number
CN202771180U
CN202771180U CN 201220145931 CN201220145931U CN202771180U CN 202771180 U CN202771180 U CN 202771180U CN 201220145931 CN201220145931 CN 201220145931 CN 201220145931 U CN201220145931 U CN 201220145931U CN 202771180 U CN202771180 U CN 202771180U
Authority
CN
China
Prior art keywords
cpu
power source
external power
programmable logic
outage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 201220145931
Other languages
Chinese (zh)
Inventor
林世旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FUZHOU LIGHTECH ELECTRONICS Co Ltd
Original Assignee
FUZHOU LIGHTECH ELECTRONICS Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FUZHOU LIGHTECH ELECTRONICS Co Ltd filed Critical FUZHOU LIGHTECH ELECTRONICS Co Ltd
Priority to CN 201220145931 priority Critical patent/CN202771180U/en
Application granted granted Critical
Publication of CN202771180U publication Critical patent/CN202771180U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model relates to a programmable controller capable of saving when power goes off. That user programs and working data edited by a user on an RAM are stored on a nonvolatile memory through a CPU when power goes off is realized through an external power source detecting module, so that possibilities of data loss caused by different conditions are eliminated. And the erase write frequency of the programmable controller capable of saving when power goes off is low and the service lifetime of the programmable controller capable of saving when power goes off is prolonged substantially.

Description

The preservable Programmable Logic Controller of a kind of outage
Technical field
The utility model relates to the programmable logic controller (PLC) field, more specifically is the preservable Programmable Logic Controller of a kind of outage.
Background technology
Traditional Programmable Logic Controller mostly is greatly the multi-chip combination, common this Programmable Logic Controller is after externally working power disconnects, inner standby power supply can't continue to provide electric energy for a long time, causes losing of user program or user data, causes terminal device can't use or operational failure.
The utility model content
In order to address the above problem, the purpose of this utility model is to propose the preservable Programmable Logic Controller of a kind of outage, user program or the user data write before the outage can be preserved, and reduces the unnecessary loss that brings because of outage.
The utility model proposes the preservable Programmable Logic Controller of a kind of outage, it comprises:
External power source detection module: for detection of unlatching and the disconnection of external power source.
CPU: be connected with the external power source detection module, corresponding control signal is analyzed and sent to the unlatching of the external power source that reception external power source detection module detects and the signal of disconnection;
RAM: be connected with CPU, be used for data and the control signal of storage CPU present analysis;
Nonvolatile memory: be connected with CPU, RAM respectively, according to the control signal that CPU sends, receive the data of storing among the described RAM, and it is stored.
Peripheral I/O module: be connected with CPU, be used for gathering and exporting peripheral digital signal, and gather and export peripheral simulating signal.
PERCOM peripheral communication part: be connected with CPU, be used for signal transmission and data and process.
The preservable Programmable Logic Controller of described a kind of outage also has power-off delay circuit, is used for prolonging detecting power-off signal to the out-of-work time of chip, guarantees that the data of storing among the RAM can be delivered in the nonvolatile memory fully.
Described power-off delay circuit is capacitor charge and discharge circuit or standby battery circuit.
Described nonvolatile memory is one or more among FLASH, EPROM, the EEPROM.
The utility model is delivered on the CPU by the unlatching of the detection external power source of external power source detection module and the information of disconnection; analyzed by CPU again and send corresponding control signal on RAM or nonvolatile memory; store thus user program or user data, the protection terminal device.
Description of drawings
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is embodiment more of the present utility model, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Accompanying drawing 1 is the circuit structure schematic block diagram of the utility model preferred embodiment.
Embodiment
Referring to Fig. 1, the utility model proposes the preservable Programmable Logic Controller of a kind of outage, it comprises:
External power source detection module: for detection of unlatching and the disconnection of external power source.
CPU: be connected with the external power source detection module, corresponding control signal is analyzed and sent to the unlatching of the external power source that reception external power source detection module detects and the signal of disconnection;
RAM: be connected with CPU, be used for data and the control signal of storage CPU present analysis;
Nonvolatile memory: be connected with CPU, RAM respectively, according to the control signal that CPU sends, receive the data of storing among the described RAM, and it is stored.
Peripheral I/O module: be connected with CPU, be used for gathering and exporting peripheral digital signal, and gather and export peripheral simulating signal.
PERCOM peripheral communication part: be connected with CPU, be used for signal transmission and data and process.
Described a kind of preservable Programmable Logic Controller that cuts off the power supply can also be carried out the instruction set that writes in Programmable Logic Controller by the sequential delivery that the user needs by computing machine by the user, but this editing controller is when carrying out execution work according to user program, and the data of processing in real time all are stored among the RAM.When detecting power supply, the external power source detection module is in closing process, CPU just stops the execution of user program, enter the preservation of user's real time data, user data is transferred to the nonvolatile memory from RAM, when the external power source detection module detects the process that power supply is in unlatching, CPU recovers data on the nonvolatile memory again in RAM, after the power supply opening process finishes, enter normal power supply, CPU just begins to enter the execution of user program.The preservable Programmable Logic Controller of described a kind of outage gathers and exports peripheral digital signal and peripheral simulating signal by peripheral I/O module, also partly carries out signal transmission and data by PERCOM peripheral communication and processes.
In the process that data are preserved, may be shorter to the time that power supply finishes from judging power-off, so just can suitably increase power-off delay circuit, preferably, described power-off delay circuit is capacitor charge and discharge circuit or standby battery circuit, be used for prolongation and detect power-off signal to the out-of-work time of chip, guarantee that the data of storing among the RAM can be delivered in the nonvolatile memory fully.
Described nonvolatile memory is one or more among FLASH, EPROM, the EEPROM.Can select different nonvolatile memory storeies according to different demands, to reach the requirement of storage.
Nonvolatile memory is all adopted in the storage of the user program that adopts of the present utility model, operational data, has avoided various situations to cause the possibility of loss of data, but is that the erasable frequency of editing controller is low in addition, and can be greatly improved serviceable life.
Last institute should be noted that; above embodiment is only in order to the technical solution of the utility model to be described but not to the restriction of the utility model protection domain; although with reference to preferred embodiment the utility model has been done detailed description; those of ordinary skill in the art is to be understood that; can make amendment or be equal to replacement the technical solution of the utility model, and not break away from essence and the scope of technical solutions of the utility model.

Claims (4)

  1. One kind the outage preservable Programmable Logic Controller, it is characterized in that: it comprises:
    External power source detection module: for detection of unlatching and the disconnection of external power source;
    CPU: be connected with the external power source detection module, corresponding control signal is analyzed and sent to the unlatching of the external power source that reception external power source detection module detects and the signal of disconnection;
    RAM: be connected with CPU, be used for data and the control signal of storage CPU present analysis;
    Nonvolatile memory: be connected with CPU, RAM respectively, according to the control signal that CPU sends, receive the data of storing among the described RAM, and it is stored;
    Peripheral I/O module: be connected with CPU, be used for gathering and exporting peripheral digital signal, and gather and export peripheral simulating signal;
    PERCOM peripheral communication part: be connected with CPU, be used for signal transmission and data and process.
  2. 2. the preservable Programmable Logic Controller of a kind of outage as claimed in claim 1, it is characterized in that: the preservable Programmable Logic Controller of described a kind of outage also has power-off delay circuit, be used for prolongation and detect power-off signal to the out-of-work time of chip, guarantee that the data of storing among the RAM can be delivered in the nonvolatile memory fully.
  3. 3. the preservable Programmable Logic Controller of a kind of outage as claimed in claim 2, it is characterized in that: described power-off delay circuit is capacitor charge and discharge circuit or standby battery circuit.
  4. 4. the preservable Programmable Logic Controller of a kind of outage as claimed in claim 1, it is characterized in that: described nonvolatile memory is one or more among FLASH, EPROM, the EEPROM.
CN 201220145931 2012-04-10 2012-04-10 Programmable controller capable of saving when power goes off Expired - Fee Related CN202771180U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220145931 CN202771180U (en) 2012-04-10 2012-04-10 Programmable controller capable of saving when power goes off

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220145931 CN202771180U (en) 2012-04-10 2012-04-10 Programmable controller capable of saving when power goes off

Publications (1)

Publication Number Publication Date
CN202771180U true CN202771180U (en) 2013-03-06

Family

ID=47777743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220145931 Expired - Fee Related CN202771180U (en) 2012-04-10 2012-04-10 Programmable controller capable of saving when power goes off

Country Status (1)

Country Link
CN (1) CN202771180U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242612A (en) * 2015-11-05 2016-01-13 中国船舶重工集团公司第七一六研究所 Vehicle-mounted display terminal with real-time data storage function and method thereof
CN105280231A (en) * 2015-07-23 2016-01-27 深圳市振邦智能科技有限公司 Method and apparatus for reducing erasure/write frequency of EEPROM
CN106528457A (en) * 2015-09-09 2017-03-22 施耐德电器工业公司 Programmable logic controller and method of saving data during power failure thereof
CN107861455A (en) * 2017-10-17 2018-03-30 福州耐特电子科技有限公司 The Visualized management system and method for a kind of programmable controller
CN114428477A (en) * 2021-12-07 2022-05-03 首钢京唐钢铁联合有限责任公司 Programmable Logic Controller (PLC), data recovery method and device thereof and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105280231A (en) * 2015-07-23 2016-01-27 深圳市振邦智能科技有限公司 Method and apparatus for reducing erasure/write frequency of EEPROM
CN106528457A (en) * 2015-09-09 2017-03-22 施耐德电器工业公司 Programmable logic controller and method of saving data during power failure thereof
CN106528457B (en) * 2015-09-09 2020-05-29 施耐德电器工业公司 Programmable logic controller and method for preserving data during power failure thereof
CN105242612A (en) * 2015-11-05 2016-01-13 中国船舶重工集团公司第七一六研究所 Vehicle-mounted display terminal with real-time data storage function and method thereof
CN107861455A (en) * 2017-10-17 2018-03-30 福州耐特电子科技有限公司 The Visualized management system and method for a kind of programmable controller
CN114428477A (en) * 2021-12-07 2022-05-03 首钢京唐钢铁联合有限责任公司 Programmable Logic Controller (PLC), data recovery method and device thereof and storage medium

Similar Documents

Publication Publication Date Title
CN202771180U (en) Programmable controller capable of saving when power goes off
CN105468127B (en) A kind of real-time data acquisition system and its power failure data storage circuit, method
CN104090527B (en) A kind of power-down protection apparatus
CN102387022A (en) Power over Ethernet method and device
CN201698579U (en) Monitoring and data acquisition remote terminal
CN107394833A (en) Adapter, supply unit and the guard method put excessively
CN205050134U (en) Portable power source TYPE -C interface management circuit
CN202013570U (en) Power down protecting device for solid state disk based on PCIE (Peripheral Component Interface Express) interface
CN103685730B (en) The communication control method of a kind of mobile terminal and mobile terminal thereof
CN103942160A (en) Storage system, storage device and data storage method
CN105512056A (en) Method and device for data storage, and terminal
CN202587074U (en) Intelligent handset with double-battery power supply
CN103338312A (en) Intelligent handset sleeping energy-saving system and method
CN106155942A (en) Power-fail memory function device and system thereof
CN108445802B (en) Robot sleep control method and circuit, communication device and robot
CN104333066A (en) Charging system
CN202385194U (en) System capable of quickly starting intelligent television
CN205066845U (en) Water gauge based on wifi wireless transmission network
CN104779675B (en) The current control method and its device of a kind of mobile terminal
CN204392430U (en) A kind of induction trigger-type digital supervision video recording system
CN204706353U (en) A kind of data memory protection circuit
CN208459970U (en) A kind of manageable inside and outside battery switching circuit
CN106786996A (en) A kind of used in communication machine room batteries floating charge control device
CN104662849B (en) Network equipment method for controlling power supply, device and the network equipment
CN206331792U (en) It is a kind of to show the USB flash disk of residual capacity

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice

Addressee: Fuzhou Lightech Electronics Co., Ltd.

Document name: Notification of Termination of Patent Right

DD01 Delivery of document by public notice
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130306

Termination date: 20180410

CF01 Termination of patent right due to non-payment of annual fee