JPS62262102A - Diagnosis processing system for digital control device - Google Patents

Diagnosis processing system for digital control device

Info

Publication number
JPS62262102A
JPS62262102A JP61104920A JP10492086A JPS62262102A JP S62262102 A JPS62262102 A JP S62262102A JP 61104920 A JP61104920 A JP 61104920A JP 10492086 A JP10492086 A JP 10492086A JP S62262102 A JPS62262102 A JP S62262102A
Authority
JP
Japan
Prior art keywords
digital control
control device
memory section
abnormality
abnormality information
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
JP61104920A
Other languages
Japanese (ja)
Inventor
Masayoshi Ueda
上田 昌慶
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61104920A priority Critical patent/JPS62262102A/en
Publication of JPS62262102A publication Critical patent/JPS62262102A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To read abnormality information from a normal system with an ordinary tool when abnormality occurred in one system of a duplex system by connecting each system of the duplex system mutually through a two port memory section. CONSTITUTION:When abnormality occurred in one system of a duplex system, the CPU1a of a system 1 writes abnormality information of own system in a two port memory section 1d of the system 1. The memory section of the system 1 is connected to the CPU2a of the other system 2a by a bus 3, and abnormality information of the system 1 set by CPU1a of the system 1 can be read out through the CPU2a which is operating normally. When abnormality occurred in the system 2, abnormality information can be read similarly through the CPU1a of the system 1. Thus, when abnormality occurred in a system, abnormality information can be read from the other normal system with an ordinary tool.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ディジタル制御装置の自己診断処理方式に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a self-diagnosis processing method for a digital control device.

〔従来の技術〕[Conventional technology]

第2図は2重系構成をとっている従来のディジタル制御
装置の゛代表的な構成を示すブロック図であって、1は
一方の系、2は他方の系、1a、2aは6系1,2の中
央処理装置(以下、CPUとい5)、1b、2bは6系
1,2のリードオンリーメモリ部(以下、ROM部とい
う)、1c、2Cは6系1.2のランダムアクセスメモ
リ部(以下、RAM部という)である。
FIG. 2 is a block diagram showing a typical configuration of a conventional digital control device having a dual system configuration, in which 1 is one system, 2 is the other system, 1a and 2a are 6 systems, 1 , 2 central processing units (hereinafter referred to as CPU 5), 1b and 2b are read-only memory units (hereinafter referred to as ROM units) of 6-systems 1 and 2, and 1c and 2C are random access memory units of 6-system 1.2. (hereinafter referred to as the RAM section).

次に上記ディジタル制御装置による自己診断処理方式に
つbて説明する。ディジタル制御装置の6系1,2のC
PU1a、2aは、周期的VCソフトウェア及びハード
ウェアの診断を行ない、異常を検出した場合、各々自系
のRA M部1c 、2cに異常情報をセットし、エラ
ー情報出方及び21i系切換等の処理を行なう。
Next, the self-diagnosis processing method by the digital control device will be explained. 6 systems 1 and 2 C of digital control equipment
The PUs 1a and 2a periodically diagnose the VC software and hardware, and when an abnormality is detected, set abnormality information in the RAM sections 1c and 2c of their own system, and determine how the error information is output and the 21i system switching. Process.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のディジタル制御装置による自己診断処理方式は以
上のようI/c構成されているので、ディジタル制御装
置の一方の系に異常が発生し、その系のCPUが停止し
た場合、該CPUが自系−のRAM部にセットした異常
情報を、通信関係のプログラムも停止したり、或いはシ
ステムをリセットすると異常情報がクリアされる等の理
由により、通常のツールで読み出すのが困難であるとい
う問題点があった。
Since the conventional self-diagnosis processing method for digital control devices has the I/C configuration as described above, if an abnormality occurs in one system of the digital control device and the CPU of that system stops, that CPU will - The problem is that it is difficult to read out the abnormality information set in the RAM section using normal tools because the abnormality information is cleared when the communication-related program is stopped or the system is reset. there were.

この発明は上記のような問題点を解消するためになされ
たもので、ディジタル制御装置の一方の系に異常が発生
した場合、その異常情報を通常のツールで読み出すこと
ができるディジタル制御装置の自己診断処理方式を得る
ことを目的とする。
This invention was made in order to solve the above-mentioned problems, and when an abnormality occurs in one system of the digital control device, the abnormality information can be read out using ordinary tools. The purpose is to obtain a diagnostic processing method.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るディジタル制御装置の自己診断処理方式
は、2重化された各基を2ポ一トメモリ部で相互に接続
し、自系の異常情報を自系の2ポートメモリ部にセット
すると共に正常な他方の系の2ポートメモリ部を経て該
他方の系のCPUに伝えて読み出すものである。
The self-diagnosis processing method of a digital control device according to the present invention connects each duplicated unit to each other through a two-port memory section, sets abnormality information of the own system in the two-port memory section of the own system, and The data is transmitted to the CPU of the other system via the normal two-port memory section of the other system and read out.

〔作 用〕 この発明におけるディジタル制御装置の自己診断処理方
式は、ディジタル制御装置の一方の系に異常が発生した
場合、その異常情報を2ポ一トメモリ部経由で、他方の
正常な他方の系から通常のツールで読み出すことができ
る。
[Operation] In the self-diagnosis processing method of the digital control device according to the present invention, when an abnormality occurs in one system of the digital control device, the abnormality information is transmitted to the other normal system of the digital control device via the two-point memory section. It can be read out using normal tools.

〔実施例〕〔Example〕

以下、この発明のディジタル制御装置の自己診断処理方
式を実施する2重系構成のディジタル制御装置の一例を
第1図にて説明する。図において、1.2.1 a 、
2a 、1 b 、2b 、I C,2Cは前述した従
来技術を示す第1図と同一、又は相当部分である。ld
、2dは各基1,2にそれぞれ設けられていて異常情報
をセットする2ポ一トメモリ部、3はこれら2ポートメ
モリ部1d、2dを相互に接続しているバスである。
Hereinafter, an example of a digital control device having a dual system configuration that implements the self-diagnosis processing method for a digital control device of the present invention will be explained with reference to FIG. In the figure, 1.2.1 a,
2a, 1b, 2b, I.sub.C, and 2C are the same or corresponding parts as in FIG. 1 showing the prior art described above. ld
, 2d are two-port memory sections provided in each of the bases 1 and 2 to set abnormality information, and 3 is a bus interconnecting these two-port memory sections 1d and 2d.

次K、この実施例のディジタル制御装置の診断処理方式
について説明する。例えば、2重系の内の一方の系1で
異常が発生した場合、該一方の系1のCPU1aは、該
一方の系1の2ポ一トメモリ部1dに自系の異常情報を
書き込む。
Next, the diagnostic processing method of the digital control device of this embodiment will be explained. For example, when an abnormality occurs in one of the two systems 1, the CPU 1a of the one system 1 writes the abnormality information of the own system into the two-point memory section 1d of the one system 1.

該一方の系1の2ポートメモリ部1dは、他方の系2の
CPU2aとバス3で接続されてお夛、一方の系1のC
PU1aがセットした該一方の系1の異常情報を正常に
動作している他方の系2のCPU2a経由で読み出すこ
とができる。
The 2-port memory unit 1d of one system 1 is connected to the CPU 2a of the other system 2 via a bus 3, and the C
The abnormality information of the one system 1 set by the PU 1a can be read out via the CPU 2a of the other system 2 which is operating normally.

他方の系2で異常が発生した場合にも、同様にして一方
の系2のCPU 1a経由で読み出すことができる。
Even if an abnormality occurs in the other system 2, the data can be read out via the CPU 1a of one system 2 in the same manner.

〔発明の効果〕〔Effect of the invention〕

以上のように1この発明によれば、2重系構成をしてい
るディジタル制御装置の一方の系に異常が発生した場合
、その異常情報を正常な他方の系から通常のツールで読
み出すことができる効果がある。
As described above, 1. According to the present invention, when an abnormality occurs in one system of a digital control device having a dual system configuration, the abnormality information can be read out from the other normal system using a normal tool. There is an effect that can be done.

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

第1図はこの発明のディジタル制御装置の診断処理方式
を実施する2]i系構成のディジタル制御装置を示すブ
ロック図、第2図は従来の2重系構成のディジタル制御
装置を示すブロック図である。 1.2・・・系、1a 、 2a・−・CPU、i b
 、 2b−−・ROM部、l c 、 2cmRAM
部、1d、2d・・・2ポ一トメモリ部。 なお、図中、同一符号は同一、又は相当部分を示す。 特許出願人  三菱電機株式会社 jCτ了−・ 代理人 弁理士  1)澤 博 昭  1(外2名)−
FIG. 1 is a block diagram showing a digital control device with an i-system configuration that implements the diagnostic processing method for a digital control device according to the present invention, and FIG. 2 is a block diagram showing a conventional digital control device with a dual-system configuration. be. 1.2...system, 1a, 2a...CPU, i b
, 2b--ROM section, lc, 2cmRAM
part, 1d, 2d...2 point memory part. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant: Mitsubishi Electric Corporation jCτryo Agent: Patent attorney 1) Hiroshi Sawa 1 (and 2 others)

Claims (1)

【特許請求の範囲】[Claims] それぞれの系が中央処理装置、リードオンリーメモリ部
、ランダムアクセスメモリ部を備えて2重系構成となっ
ているディジタル制御装置の診断処理方式において、前
記各系をそれぞれ2ポートメモリ部を介して相互に接続
し、一方の前記系の前記中央処理装置が自己診断を行い
、異常が検出された際に異常情報を該一方の系の前記2
ポートメモリ部にセットして該2ポートメモリ部と正常
な他方の前記系の前記2ポートメモリ部を介して該他方
の系の前記中央処理装置に伝えて読み出すことを特徴と
するディジタル制御装置の診断処理方式。
In a diagnostic processing method for a digital control device in which each system is equipped with a central processing unit, a read-only memory section, and a random access memory section and has a dual system configuration, each system is interconnected via a two-port memory section. The central processing unit of one of the systems performs self-diagnosis, and when an abnormality is detected, the abnormality information is transmitted to the central processing unit of the one system.
The digital control device is set in a port memory section and transmitted to the central processing unit of the other system via the 2-port memory section and the normal 2-port memory section of the other system for reading. Diagnostic processing method.
JP61104920A 1986-05-09 1986-05-09 Diagnosis processing system for digital control device Pending JPS62262102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61104920A JPS62262102A (en) 1986-05-09 1986-05-09 Diagnosis processing system for digital control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61104920A JPS62262102A (en) 1986-05-09 1986-05-09 Diagnosis processing system for digital control device

Publications (1)

Publication Number Publication Date
JPS62262102A true JPS62262102A (en) 1987-11-14

Family

ID=14393539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61104920A Pending JPS62262102A (en) 1986-05-09 1986-05-09 Diagnosis processing system for digital control device

Country Status (1)

Country Link
JP (1) JPS62262102A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04352008A (en) * 1991-05-29 1992-12-07 Mitsubishi Electric Corp Failure diagnostic device and diagnostic item setting device
WO2000062134A1 (en) * 1999-04-09 2000-10-19 Mitsubishi Denki Kabushiki Kaisha Cpu unit of programmable controller and operation proxy control method
JP2006092061A (en) * 2004-09-22 2006-04-06 Meidensha Corp Duplex system of programmable controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04352008A (en) * 1991-05-29 1992-12-07 Mitsubishi Electric Corp Failure diagnostic device and diagnostic item setting device
WO2000062134A1 (en) * 1999-04-09 2000-10-19 Mitsubishi Denki Kabushiki Kaisha Cpu unit of programmable controller and operation proxy control method
US6760863B1 (en) 1999-04-09 2004-07-06 Mitsubishi Denki Kabushiki Kaisha CPU unit and run alternative control method of programmable controller
DE19983595B3 (en) * 1999-04-09 2011-12-01 Mitsubishi Denki K.K. CPU unit and run alternative control method of a programmable controller
JP2006092061A (en) * 2004-09-22 2006-04-06 Meidensha Corp Duplex system of programmable controller

Similar Documents

Publication Publication Date Title
US4975838A (en) Duplex data processing system with programmable bus configuration
JPS62262102A (en) Diagnosis processing system for digital control device
JPH0262606A (en) Cnc diagnosing system
JP3141472B2 (en) Switching control method
JP2714249B2 (en) Communication control method
JPS6218060B2 (en)
JPS5852768A (en) Constitution system of microprocessor
JP2566139B2 (en) Bus interface circuit
JPH08106400A (en) Duplex controller with duplexed process input/output device
JPH0324601A (en) Control method
JPS6312001A (en) Programmable controller for numerical controller
JPS6055752A (en) Packet processing system
JPH10340120A (en) Digital controller
JPS6194113A (en) Monitor system for digital controller
JPH01209564A (en) Information processor
JPS63167947A (en) Ram alternating method
JPS61264445A (en) Duplex data fetching system
JPH03129531A (en) Control device
JPH01321539A (en) Circuit for checking connecting state of bus connector
JPH02157956A (en) Input / output parallel port switching device
JPS63276132A (en) Duplex system
JPS6332638A (en) Duplexing system
JPH0821977B2 (en) Diagnostic circuit
JPH02193243A (en) Remote bus access system
JPS59142661A (en) Dual type processing unit