一种用于在线修改控制系统逻辑算法程序的方法

Method for amending logic algorithm routine of control system in online mode

Abstract

本发明公开了一种用于在线修改控制系统逻辑算法程序的方法。控制系统包含组态软件和控制器两大部分,组态软件负责生成算法程序,控制器负责执行程序完成工业控制。本发明包括四个阶段:(1)数据生成阶段:组态软件离线生成在线修改必要的数据信息;(2)数据下载阶段:组态软件下载生成的数据,控制器保存到对应存储区;(3)程序配置阶段:控制器在执行算法程序的空闲时间完成程序配置;(4)程序切换阶段:停止旧的算法程序,切换执行新的算法程序。以上任何阶段出现异常,控制系统仍然正确执行修改前的算法程序。通过本发明可以实现在线修改算法程序,而不对正在运行的程序造成影响,并且在修改失败的情况下仍可以正确的执行原控制程序。
The invention discloses a method for amending the logic algorithm routine of a control system in an online mode. The control system comprises two major parts of configuration software and a controller; the configuration software is in charge of generating an algorithm routine, and the controller is in charge of executing the routine to finish the industrial control. The method comprises four stages of (1), a data generating stage: the configuration software generates the necessary data information for the online amending in an offline mode; (2) a data downloading stage: the configuration software downloads the generated data and the controller preserves the data into a corresponding storing area; (3) a routine configuration stage: the controller finishes the routine configuration in the idle time of executing the algorithm routine; (4) a routine switching stage: the old algorithm routine is stopped and a new algorithm routine is executed. The control system can still correctly execute the algorithm routine before the amending even if any stage has a fault. The algorithm routine can be amended in the online mode without influencing the on-going routine, and the original control routine can still be executed under the condition of failure amending.

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (4)

    Publication numberPublication dateAssigneeTitle
    CN-101217401-AJuly 09, 2008华为技术有限公司Base station controller upgrade, backup method and device
    CN-1229945-ASeptember 29, 1999日本电气株式会社File updating method capable of updating operation file without interrupting online processing
    CN-1588324-AMarch 02, 2005浙江中控技术股份有限公司Method for realizing on-line renewing data based on control system
    JP-2003256231-ASeptember 10, 2003Matsushita Electric Ind Co Ltd, 松下電器産業株式会社通信制御装置及びそのipl更新方法

NO-Patent Citations (0)

    Title

Cited By (1)

    Publication numberPublication dateAssigneeTitle
    CN-104865904-AAugust 26, 2015南京南瑞继保电气有限公司Undisturbed configuration method facing multi-cycle operation task