JPS61187003A - Hot/cold start automatic switching method of programmable controller - Google Patents

Hot/cold start automatic switching method of programmable controller

Info

Publication number
JPS61187003A
JPS61187003A JP2789985A JP2789985A JPS61187003A JP S61187003 A JPS61187003 A JP S61187003A JP 2789985 A JP2789985 A JP 2789985A JP 2789985 A JP2789985 A JP 2789985A JP S61187003 A JPS61187003 A JP S61187003A
Authority
JP
Japan
Prior art keywords
hot
cold start
program
cold
programmable controller
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.)
Pending
Application number
JP2789985A
Other languages
Japanese (ja)
Inventor
Toshiaki Harada
敏明 原田
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.)
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Electric Manufacturing 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 Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Electric Manufacturing Co Ltd
Priority to JP2789985A priority Critical patent/JPS61187003A/en
Publication of JPS61187003A publication Critical patent/JPS61187003A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To start the control from before a stop stage by cold-starting a program controller if a sequence program is abnormal when it is judged after restoration from power failure that the program controller should be hot-started. CONSTITUTION:After restoration from power failure, it is judged whether the program controller (PC) should be hot-started or cold-started, and a data RAM4 for sequence program is checked when the PC should be hot-started. If the check result is normal, the hot start processing is performed; but if the check result is abnormal, the cold start processing is performed. The PC judges whether the hot start processing is performed or the cold start processing is performed by the PC itself and switches the processing automatically to control a process after restoration of power.

Description

【発明の詳細な説明】 人、産業上の利用分野 この発明はプログラマブルコントローラ(以下PCと称
す)全ホットスタートさせるか、コールドスタートさせ
る上目動的に切替える方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention This invention relates to a method for dynamically switching between a hot start and a cold start for a programmable controller (hereinafter referred to as PC).

B0発明の概要 この発明Hpcのホット・コールドスタート自動切鉾方
法において。
B0 Summary of the Invention This invention relates to a HPC hot/cold start automatic kiriboko method.

PCの動作が停止し九ときに、PCの動作を停止したプ
ログラムの途中から始めるか(ホットスタート)、再び
プログラムの最初から始めるか(コールドスタート)を
判断し九のち、ホットスタートのときにはシーケンスプ
ログラムをチェックしてからホットスタートさせるよう
にしtことにより。
When the PC operation stops, it is determined whether to start from the middle of the program where the PC operation stopped (hot start) or to start from the beginning of the program again (cold start), and after 9 seconds, if it is a hot start, the sequence program is restarted. By checking this before starting a hot start.

PC停止前の工程からPCの胎動ができるので、一工程
の処理に長時間を要するシステムにおいてホットスター
トを行う幼果を有するものである。
Since the PC can start moving in the process before the PC is stopped, it has a young fruit that performs a hot start in a system that requires a long time to process one process.

C1従米の技術 プロセス制(mt−pcl用いて運転しているときに、
PC(1)動作が停tIL等により停止し、所定時間経
過後に復′成し比とする。このようなときPCのシーケ
ンス動作の始動(スタート)塗最初から行うか5停電に
よる動作停止前の工程から行うかによりプロセス制御に
与える影響が大きい。例えば焼却炉のようにプロセスの
1つの工程に長時間かかるシステム?制御するときに動
作停止前の工程からPCの動作ケスタートさせた方が制
御効率が良いときがめる。この友め、従来ぽPCの外部
に動作停止前の工程を記1させる記憶回路等を持tさせ
て上記のような処理をしてい九〇 D1発明が解決しようとする問題点 上記のように従来に一工程に長時間かかるプロセスの制
#Ut−行う場合、PCのみだけでその制御ができなく
、PCの外部に記憶回路を設けなくてにならない問題点
がある。
C1 When operating using the technical process system (mt-pcl),
The PC(1) operation is stopped due to a stop tIL or the like, and after a predetermined period of time has elapsed, the ratio is restored. In such a case, the influence on process control is large depending on whether the sequence operation of the PC is started from the beginning or from the step before the operation stops due to a power failure. For example, a system where each step of the process takes a long time, such as an incinerator? It has been found that control efficiency is better if the PC operation is started from the process before the operation is stopped. This friend has conventionally carried out the above-mentioned process by having a memory circuit or the like external to the PC that records the process before the operation stops. 90D1 Problems to be solved by the invention Conventionally, when controlling a process that takes a long time for one step, there is a problem in that it cannot be controlled only by a PC and a storage circuit must be provided outside the PC.

88間頂点t”解決する之めの手段及び作用この発明に
プロセスiPcで運転中に停電等によりPCの動作が停
止し九とき、所定時間経過後に復電し1Lプロセスの制
御状態に応じてPCをホットスタートさせるかコールド
スタートさせるかを判断し、その判断結果によりホット
スタートのときにはシーケンスプログラム上チェックし
Means and operation for solving the problem of 88 peaks t'' In this invention, when the PC stops operating due to a power outage etc. during operation with a process iPC, the power is restored after a predetermined period of time has elapsed, and the PC is restarted according to the control status of the 1L process. Determine whether to perform a hot start or a cold start, and check the sequence program for a hot start based on the determination result.

七nが正常のときにホットスタートチ処理?行うことが
できるようにしたものである。
Hot start processing when 7n is normal? It has been made possible to do so.

F、実施例 第1図はこの発明の工程について述べる几めのフローチ
ャートで、プロセス制御面tPCで運転中に、停電事故
に工っでPCが動作停止し几場合七例にとって説明する
F. Embodiment FIG. 1 is a detailed flowchart describing the process of the present invention. Seven cases will be explained in which the PC stops operating due to a power outage accident while the process control surface tPC is operating.

第1図のスタートに復電し友とき會示すもので。The power was restored at the start of Figure 1 to show the friends.

ステップS、nPCfホットスタートさせるか、コール
ドスタートさせるかの判断部で、この判断部aプロセス
に応じてホットあるいにコールドスタート會判断する。
In step S, nPCf determines whether to perform a hot start or a cold start in accordance with the determination section a process.

判断の結果コールドスタート(図示N)のと@はコール
ドスタート処理部に進む。一方、ホットスタート(図示
Y)のときVCはシーケンスプログラムのRAMt−チ
ェックするステップS、の処理部に進む。この処理部で
のチェックでプログラムが正常か異常かtステップ83
の判?部で判断する。この判断の結果が正常のときには
ステップS4のホットスタート処理部に進む。ま九、上
記判断結果が異常のときにはステップS、のコールドス
タート処理部に進む。このようにホットスタート処理に
するか、コールドスタート処理にするかtPC自身で判
断して目動的に切替えて後直後のプロセス制御ができる
As a result of the determination, if the cold start (N in the figure) is determined, the process proceeds to the cold start processing section. On the other hand, at the time of hot start (Y in the figure), the VC proceeds to the processing section of step S, which checks the RAMt of the sequence program. This processing section checks whether the program is normal or abnormal. tStep 83
Judgment? Judgment will be made by the department. If the result of this determination is normal, the process advances to step S4, the hot start processing section. (9) If the above judgment result is abnormal, the process proceeds to step S, the cold start processing section. In this way, the tPC itself can decide whether to perform hot start processing or cold start processing, and change the process manually to control the process immediately afterward.

第2図に上記処理プログラムが設けらnるPCの構成図
で、1にCPU、2はROM、3はシーケンスプログラ
ムが薔き込n九シーケンヌプログラム用RAM、4はデ
ータ用RAM、5はホット/コールドスタートプログラ
ムがV#キ込n几ホット・コールドスタート用E2FR
OMでこnらにバス6に接続さnる。バス6にはリモー
トI10インターフェイス7と、ホット/コールドスタ
ート切換指定プログラム’i E PROM 5に4@
込むローダ8のインターフェイス9とが接続さnている
Fig. 2 is a configuration diagram of a PC in which the above processing program is installed, in which 1 is a CPU, 2 is a ROM, 3 is a RAM for sequence programs, 4 is a RAM for data, and 5 is a RAM for sequence programs. The hot/cold start program is V #Kikomi n 几 E2FR for hot/cold start.
These are connected to bus 6 by OM. Bus 6 has remote I10 interface 7 and hot/cold start switching specification program'i E PROM 5 and 4@
The interface 9 of the loading loader 8 is connected.

G0発明の効果 以上述べ友ように、この発明に工rしば、プロセフ制御
しているときに停電によりPCの動作が停止し、その後
復電し九ときでもpc’2ホットスタートさせるかニー
ルトスタートさせるかt目動的に切替えて行うことがで
きる几めに、一工程が長時間要するプロセス制御のとき
に、停止前の工程からホットスタートさせることができ
る九めに。
Effects of the G0 Invention As mentioned above, if you try this invention, your PC will stop working due to a power outage while you are using PROSEF control, and then when the power is restored, you will be able to start the PC'2 hot even at nine o'clock. It is possible to start the process by dynamically changing the starting time, and when controlling a process where one process takes a long time, it is possible to perform a hot start from the process before stopping.

そnまで進んだプログラムに妥し九時間を省くことがで
きる利点がある。
The advantage is that you can save up to nine hours by completing a program that has progressed to that point.

【図面の簡単な説明】[Brief explanation of drawings]

第1図にこの発明の工程の一実施例を示すフローチャー
ト、第2図はPCの構成図である。 l・・・CPU、2・・・ROJ3・・・シーケンスプ
ログラム用RAM、4・・・データ用RAM、5・・・
ホット・コールドスタート用EPROM、8・・・ロー
タ。 9・・・インターフェイス。
FIG. 1 is a flowchart showing an embodiment of the process of the present invention, and FIG. 2 is a configuration diagram of a PC. l...CPU, 2...ROJ3...RAM for sequence program, 4...RAM for data, 5...
EPROM for hot/cold start, 8...rotor. 9...Interface.

Claims (1)

【特許請求の範囲】[Claims] プログラマブルコントローラの動作が停止し、所定時間
経過後、プログラマブルコントローラを始動させるとき
に、プログラマブルコントローラをホットスタートさせ
るか、コールドスタートさせるかを判断し、その判断が
ホットスタートのときにはシーケンスプログラムをチェ
ックしてそのプログラムが正常であると判断したときに
はホットスタート処理を、異常のときにはコールドスタ
ート処理を切替処理したことを特徴とするプログラマブ
ルコントローラのホット・コールドスタート自動切替方
法。
When starting the programmable controller after a predetermined period of time has passed after the programmable controller has stopped operating, it is determined whether the programmable controller is to be hot started or cold started, and if the determination is for a hot start, the sequence program is checked. A hot/cold start automatic switching method for a programmable controller, characterized in that hot start processing is performed when the program is determined to be normal, and cold start processing is performed when the program is abnormal.
JP2789985A 1985-02-14 1985-02-14 Hot/cold start automatic switching method of programmable controller Pending JPS61187003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2789985A JPS61187003A (en) 1985-02-14 1985-02-14 Hot/cold start automatic switching method of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2789985A JPS61187003A (en) 1985-02-14 1985-02-14 Hot/cold start automatic switching method of programmable controller

Publications (1)

Publication Number Publication Date
JPS61187003A true JPS61187003A (en) 1986-08-20

Family

ID=12233728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2789985A Pending JPS61187003A (en) 1985-02-14 1985-02-14 Hot/cold start automatic switching method of programmable controller

Country Status (1)

Country Link
JP (1) JPS61187003A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0219902A (en) * 1988-07-08 1990-01-23 Fanuc Ltd Programmable controller
JPH0242508A (en) * 1988-08-03 1990-02-13 Sanyo Electric Co Ltd Programmable controller
US7213163B2 (en) 2003-06-25 2007-05-01 International Business Machines Corporation Restoring power in a hot swappable multi-server data processing environment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57106921A (en) * 1980-12-24 1982-07-03 Panafacom Ltd Power source on and off processing system
JPS57212699A (en) * 1981-06-23 1982-12-27 Mitsubishi Electric Corp Information processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57106921A (en) * 1980-12-24 1982-07-03 Panafacom Ltd Power source on and off processing system
JPS57212699A (en) * 1981-06-23 1982-12-27 Mitsubishi Electric Corp Information processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0219902A (en) * 1988-07-08 1990-01-23 Fanuc Ltd Programmable controller
JPH0242508A (en) * 1988-08-03 1990-02-13 Sanyo Electric Co Ltd Programmable controller
US7213163B2 (en) 2003-06-25 2007-05-01 International Business Machines Corporation Restoring power in a hot swappable multi-server data processing environment

Similar Documents

Publication Publication Date Title
JPS615325A (en) Automatic make and break system of power supply
JPS61187003A (en) Hot/cold start automatic switching method of programmable controller
JPH0934518A (en) Control processor
JPS61281346A (en) Initial program loading system
JPS58168118A (en) Automatic power supply disconnecting and controlling system
JP2540127B2 (en) Programmable controller failure diagnosis device
JPH0581065A (en) Self diagnostic method for programmable controller system
JPS6089225A (en) Automatic power supply cutoff system
JPS6045453B2 (en) multiprocessor
JPS636613A (en) Power supply application system
JPH0454507Y2 (en)
JP3697307B2 (en) Computer system automatic stop device
JPS58195968A (en) Re-execution controlling system
JPH11161519A (en) Reset device
JPH05250197A (en) Control system of autonomous system configuration circuit
JPH0317717A (en) Data processing system
JPS6398009A (en) Processing control system at power failure
JP3473002B2 (en) Data processing device and data processing method
JPS61133401A (en) Start system of microcomputer control system at power restoration
JPS5995651A (en) Altering method of memory data
JP2518085B2 (en) Transmission terminal equipment
JP2665520B2 (en) Programmable controller
JPH01155441A (en) Automatic re-start up system for service processor
JPS6248860B2 (en)
JPS61182122A (en) Supervisory system for application of power supply of electronic computer system