JPH0581065A - Self diagnostic method for programmable controller system - Google Patents

Self diagnostic method for programmable controller system

Info

Publication number
JPH0581065A
JPH0581065A JP3113849A JP11384991A JPH0581065A JP H0581065 A JPH0581065 A JP H0581065A JP 3113849 A JP3113849 A JP 3113849A JP 11384991 A JP11384991 A JP 11384991A JP H0581065 A JPH0581065 A JP H0581065A
Authority
JP
Japan
Prior art keywords
self
diagnosis
executed
application program
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.)
Withdrawn
Application number
JP3113849A
Other languages
Japanese (ja)
Inventor
Takaharu Yasuda
隆春 安田
Shohei Asada
正平 浅田
Kazumi Myojo
和三 明城
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP3113849A priority Critical patent/JPH0581065A/en
Publication of JPH0581065A publication Critical patent/JPH0581065A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To increase the number of self diagnosis times so as to improve the reliability of a system by executing self-diagnosis whenever the starting command of an application program is outputted. CONSTITUTION:Initial self-diagnosis is executed in S11 when power is turned on. The self-diagnosis is executed once when power is turned on. When the starting instruction of the application program is given to a programmable controller after self-diagnosis, the system is judged to be during online or not S12. When it is judged to be during online, self-diagnosis S13 whose content is the same as that of S11 is executed. When abnormality is judged as the result, a processing such as the operation stop of the system is immediately executed. When the self-diagnosis processing of S13 is terminated, the application program S14 is executed. It is periodically judged whether the system is set to be offline S15 or not in an execution process. Thus, the reliability of the system is improved since self-diagnosis is executed whenever a processing loop is repeated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プロセス制御を行う複
数のプログラマブルコントローラの各々の異常の有無を
判定するためのプログラマブルコントローラシステムの
自己診断方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller system self-diagnosis method for determining the presence or absence of an abnormality in each of a plurality of programmable controllers for process control.

【0002】[0002]

【従来の技術】図2はプログラマブルコントローラシス
テムの構成例を示すブロック図である。
2. Description of the Related Art FIG. 2 is a block diagram showing a configuration example of a programmable controller system.

【0003】主制御装置21には、複数のプログラマブ
ルコントローラ(以下、PCという)22(PC1),
23(PC2),24(PC3),25(PC4)が接
続されている。PC22,23,24,25の各々は、
その担当する制御内容を実行するために個別に設定され
たアプリケーションプログラム(AP)を持ち、このア
プリケーションプログラムに従った制御のみを実行す
る。このようなPC22〜25の各々は、小型化を達成
し、かつ部品点数の低減を図って信頼性を向上させるた
めに、ワンチップのLSIによるCPUユニットが用い
られている。
The main controller 21 includes a plurality of programmable controllers (hereinafter referred to as PCs) 22 (PC1),
23 (PC2), 24 (PC3), and 25 (PC4) are connected. Each of PC22,23,24,25,
It has an application program (AP) individually set to execute the control content in charge, and executes only control according to this application program. Each of the PCs 22 to 25 uses a CPU unit composed of a one-chip LSI in order to achieve miniaturization, reduce the number of parts, and improve reliability.

【0004】また、主制御装置21は、PC22,2
3,24,25を管理し、PC22,23,24,25
の各々に対し、設定されているアプリケーションプログ
ラムを起動させるための指令を個別に出力する。
Further, the main controller 21 is composed of PCs 22 and 2
3,24,25 managed, PC22,23,24,25
Command for starting the set application program is individually output to each of the above.

【0005】ところで、プログラマブルコントローラシ
ステムにあっては、その制御対象のシステム(または設
備)の性格から、電源を一度オンにすると、特別の事情
が発生しない限り電源をオフにすることはない。したが
って、各PCは、長期にわたって故障や誤動作をするこ
となく稼動することが要求される。また、万一異常が確
認された場合には、速やかにシステムを止めるなどの処
置を行わなければならない。
By the way, in the programmable controller system, due to the nature of the system (or equipment) to be controlled, once the power is turned on, the power is not turned off unless special circumstances occur. Therefore, each PC is required to operate for a long period of time without failure or malfunction. In addition, if an abnormality is confirmed, it is necessary to immediately take measures such as stopping the system.

【0006】従来、行われていたPCの診断としては、
システムの立ち上げ時にメモリチェックなどの自己診断
を行うものであった。
[0006] As a conventional diagnosis of PC,
It was a self-diagnosis such as a memory check when the system was started up.

【0007】[0007]

【発明が解決しようとする課題】しかし、上記した従来
技術にあっては、PCなどの構成機器の自己診断をシス
テムの立ち上げ時に行っているため、連続運転している
システムでは、その立ち上げが1回しかないため、自己
診断を定期的あるいは随時行うということができず、使
用途中で生じる異常などに対処することができなかっ
た。
However, in the above-mentioned prior art, the self-diagnosis of the components such as the PC is carried out at the time of starting the system, and therefore, in the system which is continuously operated, the starting is performed. Since it was only once, the self-diagnosis could not be performed regularly or at any time, and it was not possible to deal with abnormalities that occurred during use.

【0008】上記したように、故障発生などを最小限に
抑えるために、ワンチップLSIを用いるなどしてPC
の部品点数の低減化も試みられているが、PCにビット
スライスプロセッサを用いた場合、部品点数の増大は避
けられず、信頼性を低下させる要因になっており、立ち
上げ時以外の時点で自己診断を行えることが要求されて
いる。
As described above, in order to minimize the occurrence of failures, etc., a one-chip LSI is used and a PC is used.
However, when a bit slice processor is used for the PC, an increase in the number of parts is unavoidable, which causes a decrease in reliability. It is required to be able to perform self-diagnosis.

【0009】本発明の目的は、上記した従来技術の実情
に鑑みてなされたものであり、立ち上げ時以外にも自己
診断が行えるようにして、信頼性を向上できるようにし
たプログラマブルコントローラシステムの自己診断方法
を提供することにある。
The object of the present invention was made in view of the above-mentioned circumstances of the prior art. A programmable controller system capable of performing self-diagnosis even at the time of start-up and improving reliability is provided. It is to provide a self-diagnosis method.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、各々がアプリケーションプログラムを備
えた複数のプログラマブルコントローラ及びこれらプロ
グラマブルコントローラを管理する主制御装置からなる
プログラマブルコントローラシステムにおいて、前記ア
プリケーションプログラムの起動の指示を受ける毎に当
該プログラマブルコントローラの自己診断を行うように
している。
In order to achieve the above object, the present invention provides a programmable controller system comprising a plurality of programmable controllers each having an application program and a main controller for managing these programmable controllers. Every time the instruction to start the application program is received, the self-diagnosis of the programmable controller is performed.

【0011】[0011]

【作用】上記した手段によれば、アプリケーションプロ
グラムの起動の指令(命令)を受けた際に、そのアプリ
ケーションプログラムの実行に先立ってそのプログラマ
ブルコントローラの自己診断が実行される。したがっ
て、自己診断回数を多くすることができ、システムの信
頼性を向上させることができる。
According to the above means, when the command (command) for starting the application program is received, the self-diagnosis of the programmable controller is executed prior to the execution of the application program. Therefore, the number of self-diagnosis can be increased, and the reliability of the system can be improved.

【0012】[0012]

【実施例】以下、本発明の実施例について図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は本発明によるプログラマブルコント
ローラシステムの自己診断方法を示すフローチャートで
ある。
FIG. 1 is a flowchart showing a self-diagnosis method for a programmable controller system according to the present invention.

【0014】上記したように、プログラマブルコントロ
ーラシステムは、一旦電源がオンにされると、メンテナ
ンスなどの場合にしか電源オフにされることはなく、そ
の間、システムは連続運転されている。しかし、アプリ
ケーションプログラムがオンラインからオフラインに切
替えられるとき、その実行を停止しているので、このと
きに空き時間が生じる。本発明は、この点に着目し、オ
ンライン後のアプリケーションプログラムの実行前まで
の時間帯に自己診断を行うようにしている。
As described above, once the programmable controller system is powered on, it is powered off only for maintenance or the like, during which the system is continuously operated. However, when the application program is switched from online to offline, the execution of the application program is stopped, so there is idle time at this time. The present invention pays attention to this point, and performs self-diagnosis in a time period before execution of an application program after online.

【0015】まず、パワーオン(すなわちシステムの立
ち上げ時点)とともに最初の自己診断が実行される(S
11)。この自己診断は従来から行われていたもので、
パワーオン時の1回のみの実行となる。この自己診断の
後、アプリケーションプログラムの起動命令がPCに与
えられる(この起動命令は主制御装置21から頻繁に与
えられる)オンライン中であるか否かを判定する(S1
2)。オンラインにあることが判定されると、ステップ
11の場合と同一の内容の自己診断が実行される(S1
3)。この自己診断の結果、異常が判定された場合に
は、直ちにシステムの稼動停止などの処置がとられる。
ステップ13の自己診断処理が終了すると、アプリケー
ションプログラムが実行される(S14)。また、その
実行過程で、定期的にオフラインにされたか否かの判定
が行われ(S15)、オンライン中であれば、再度ステ
ップ14に戻ってアプリケーションプログラムを実行
し、また、オフラインが判定された場合には処理をステ
ップ12に戻し、オンライン状態になるのを待つ。
First, the first self-diagnosis is executed when the power is turned on (that is, when the system is started) (S).
11). This self-diagnosis has been done conventionally,
It is executed only once when the power is turned on. After this self-diagnosis, it is determined whether or not the start-up instruction of the application program is given to the PC (the start-up instruction is frequently given from the main control device 21) and is online (S1).
2). If it is determined that the user is online, a self-diagnosis with the same contents as in step 11 is executed (S1).
3). If an abnormality is determined as a result of this self-diagnosis, the system is immediately stopped and other measures are taken.
When the self-diagnosis process of step 13 is completed, the application program is executed (S14). In addition, during the execution process, it is periodically determined whether or not it is offline (S15). If it is online, the process returns to step 14 to execute the application program again, and the offline is determined. In this case, the process is returned to step 12 and waits for the online state.

【0016】以上の処理ループを繰り返す毎に自己診断
を行うので、異常を早い時期に発見することができ、シ
ステムの信頼性を向上させることができる。
Since the self-diagnosis is performed every time the above processing loop is repeated, the abnormality can be detected at an early stage, and the reliability of the system can be improved.

【0017】[0017]

【発明の効果】以上より明らかな如く、本発明によれ
ば、各々がアプリケーションプログラムを備えた複数の
プログラマブルコントローラ及びこれらプログラマブル
コントローラを管理する主制御装置からなるプログラマ
ブルコントローラシステムにおいて、前記アプリケーシ
ョンプログラムの起動の指示を受ける毎に当該プログラ
マブルコントローラの自己診断を行うようにしたので、
自己診断回数を多くすることができ、システムの信頼性
を向上させることができる。
As is apparent from the above, according to the present invention, in a programmable controller system including a plurality of programmable controllers each having an application program and a main controller managing the programmable controllers, the application program is started. Each time the instruction of is received, the self-diagnosis of the programmable controller is performed.
The number of self-diagnosis can be increased and the reliability of the system can be improved.

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

【図1】本発明によるプログラマブルコントローラシス
テムの自己診断方法を示すフローチャートである。
FIG. 1 is a flowchart showing a self-diagnosis method for a programmable controller system according to the present invention.

【図2】プログラマブルコトローラシステムの構成例を
示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of a programmable controller system.

【符号の説明】[Explanation of symbols]

21 主制御装置 22 プログラマブルコントローラ(PC) 23 プログラマブルコントローラ(PC) 24 プログラマブルコントローラ(PC) 25 プログラマブルコントローラ(PC) 21 Main Controller 22 Programmable Controller (PC) 23 Programmable Controller (PC) 24 Programmable Controller (PC) 25 Programmable Controller (PC)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各々がアプリケーションプログラムを備
えた複数のプログラマブルコントローラ及びこれらプロ
グラマブルコントローラを管理する主制御装置からなる
プログラマブルコントローラシステムにおいて、前記ア
プリケーションプログラムの起動の指示を受ける毎に当
該プログラマブルコントローラの自己診断を行うことを
特徴とするプログラマブルコントローラシステムの自己
診断方法。
1. A programmable controller system comprising a plurality of programmable controllers each having an application program and a main controller managing the programmable controllers, and self-diagnosis of the programmable controller each time an instruction to start the application program is received. A self-diagnosis method for a programmable controller system, comprising:
JP3113849A 1991-04-19 1991-04-19 Self diagnostic method for programmable controller system Withdrawn JPH0581065A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3113849A JPH0581065A (en) 1991-04-19 1991-04-19 Self diagnostic method for programmable controller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3113849A JPH0581065A (en) 1991-04-19 1991-04-19 Self diagnostic method for programmable controller system

Publications (1)

Publication Number Publication Date
JPH0581065A true JPH0581065A (en) 1993-04-02

Family

ID=14622607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3113849A Withdrawn JPH0581065A (en) 1991-04-19 1991-04-19 Self diagnostic method for programmable controller system

Country Status (1)

Country Link
JP (1) JPH0581065A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006011579A1 (en) * 2004-07-29 2006-02-02 Jtekt Corporation Programmable controller
JP2006040122A (en) * 2004-07-29 2006-02-09 Toyoda Mach Works Ltd Programmable controller
JP2019152951A (en) * 2018-03-01 2019-09-12 オムロン株式会社 Failure diagnosis system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006011579A1 (en) * 2004-07-29 2006-02-02 Jtekt Corporation Programmable controller
JP2006040122A (en) * 2004-07-29 2006-02-09 Toyoda Mach Works Ltd Programmable controller
US7698600B2 (en) 2004-07-29 2010-04-13 Jtekt Corporation Programmable controller
JP2019152951A (en) * 2018-03-01 2019-09-12 オムロン株式会社 Failure diagnosis system

Similar Documents

Publication Publication Date Title
US10102045B2 (en) Control device, control method and program
US7428660B2 (en) Starting control method, duplex platform system, and information processor
JPH0581065A (en) Self diagnostic method for programmable controller system
JPH07160370A (en) Service interruption controller
JPS61281346A (en) Initial program loading system
JP2002236503A (en) Electronic controller for vehicle
US11550296B2 (en) Numerical controller
JP2002014709A (en) Robot controller
JP7414957B2 (en) Control device and control method
JPH04113421A (en) Initial program loading system
JP2002312076A (en) Power supply control device for computer system
JP2511099B2 (en) Electric motor controller
JPH09259004A (en) Debugging method
JPS63255742A (en) Data processor
JPH03142632A (en) Initial value deciding device
JPH02196341A (en) Fault restoring system for information processor
JPS61187003A (en) Hot/cold start automatic switching method of programmable controller
JPH02244208A (en) Information processor control system
JPS62194548A (en) Information processor
JPS62212865A (en) Multiprocessor control system
JPH0317717A (en) Data processing system
JPS62231371A (en) Control system for start-up/stop of multiprocessor
JPS62197834A (en) Microprogram controller
JPH09152978A (en) Restart processing system for information processor
JPS59163601A (en) Programmable controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980711