JPH02176805A - Trouble diagnostic device for input/output control - Google Patents

Trouble diagnostic device for input/output control

Info

Publication number
JPH02176805A
JPH02176805A JP63330057A JP33005788A JPH02176805A JP H02176805 A JPH02176805 A JP H02176805A JP 63330057 A JP63330057 A JP 63330057A JP 33005788 A JP33005788 A JP 33005788A JP H02176805 A JPH02176805 A JP H02176805A
Authority
JP
Japan
Prior art keywords
input
output control
output
section
abnormality
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
JP63330057A
Other languages
Japanese (ja)
Inventor
Minoru Kato
稔 加藤
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works 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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP63330057A priority Critical patent/JPH02176805A/en
Publication of JPH02176805A publication Critical patent/JPH02176805A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33284Remote diagnostic

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To precisely recognize the area of a trouble by storing the information transferred between a total control part and an input/output control part into a 1st store part with the information transferred between the input/output control part and the machine parts when the trouble of a numerically controlled machine tool is diagnosed in a remote place stored in a 2nd store part respectively and comparing both information with each other via a comparing/deciding part. CONSTITUTION:When a CPU 1 decides the presence of abnormality, the comparison is performed between an output command stored in a CPU & I/O memory 4 and the output data stored in an EC & I/O memory 5. Then the process of the CPU 1 is decided abnormal in case the output command is not normal despite the coincidence secured between the output command the output data. Then it is decided that a machine parts 3 preceding the CPU 1 is not normal in case the coincidence is secured between the output command and the output data and at the same time the output command is normal. Furthermore the abnormality of an input/output control part 2 set between the CPU 1 and the parts 3 is decided when no coincidence is obtained between the output command and the output data. The same procedure is applied also to the input control for detection of the abnormality of an abnormality detecting process or the parts 3.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、数値制御工作機械における故III診断シス
テム、特に遠隔地からの故障診断システムのうちの入出
力制御に関する故障診断装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a failure diagnosis system for numerically controlled machine tools, particularly to a failure diagnosis device for input/output control in a failure diagnosis system from a remote location.

(従来の技術) 今日においては、数値と符号で構成された数値情報で工
作機械を自動制御し、加工の自動化、?]雑で高精度な
加工の実現、加工費の低減、及び加工時間の短縮などに
大きな役割を果たしているいわゆる数値制御(NC)工
作機械が広く普及している。
(Conventional technology) Today, machine tools are automatically controlled using numerical information consisting of numbers and codes, and machining is automated. ] So-called numerical control (NC) machine tools have become widespread, playing a major role in realizing rough and highly accurate machining, reducing machining costs, and shortening machining time.

このNC工作機械においては、入出力制御部を有してリ
レーなどのm構部品の制御を行なうものも多い。
Many of these NC machine tools have an input/output control section to control m-components such as relays.

第3図は、従来のNC工作機械における入出力制御に関
する故障診断装置の概略ブロック図である。
FIG. 3 is a schematic block diagram of a fault diagnosis device related to input/output control in a conventional NC machine tool.

図において、GPtllはリレーなどの機構部品3に対
する指令(CPIIDOllT)を入出力制御部3へ送
り、この指令を人力した入出力制御部3は出力指令(E
CDOIIT)として機構部品3に出力する。機構部品
3内の該当部品はその指令に応じて動作する。
In the figure, GPtll sends a command (CPIIDOllT) for a mechanical component 3 such as a relay to the input/output control unit 3, and the input/output control unit 3, which manually inputs this command, outputs an output command (E
CDOIIT) to the mechanical component 3. The corresponding parts in the mechanism parts 3 operate according to the command.

また、逆に機構部品3内のスイッチなどの部品の状態を
入出力制御部2が読取り(ECDIN) 、 CPII
Iは入出力制御部2からその状態のデータ(C’PII
DIN)を受取る。 cpuiは、受取った部品の状態
に応じて次の処理を進めていく。
Conversely, the input/output control unit 2 reads the status of parts such as switches in the mechanical parts 3 (ECDIN), CPII
I is the state data (C'PII) from the input/output control unit 2.
DIN). The cpui proceeds with the next process depending on the state of the received part.

第4図は、従来における入出力制御に関する故障診断装
置の判定手順を示す図である。
FIG. 4 is a diagram showing a determination procedure of a conventional failure diagnosis device regarding input/output control.

Cr2月は、入出力制御に関する異常を検出すると(ス
テップ521)、その旨を表示装置7の画面に表示して
(ステップ522)オペレータに伝えるか、または故1
15診断システム9へ転送して診断情報とする。
When the CR2 detects an abnormality related to input/output control (Step 521), it displays this on the screen of the display device 7 (Step 522) to inform the operator, or
15 is transferred to the diagnostic system 9 and used as diagnostic information.

(発明が解決しようとする課題) ところで、上述した従来における故障診断装置では、入
出力制御に関する異常はcp旧が検出し2ているが、こ
のCP旧には、入出力制御部2を介した情報しか入力さ
れないため、その異常が機構部品3に関するものなのか
入出力制御部2に関するものなのか判別できないという
問題点があった。
(Problem to be Solved by the Invention) By the way, in the above-mentioned conventional failure diagnosis device, abnormalities related to input/output control are detected by the CP old, but this CP old has Since only information is input, there is a problem in that it is impossible to determine whether the abnormality is related to the mechanical component 3 or the input/output control section 2.

また、いくつかの条件が重なる入出力制御動作において
は、その異常を検出してもその異常に至るまでの過程が
わからないため、動作シーケンスの異常に起因する不具
合の判定ができないという問題点があった。
In addition, in input/output control operations where several conditions overlap, even if an abnormality is detected, the process leading up to the abnormality is not known, so there is a problem that it is impossible to determine whether a malfunction is caused by an abnormality in the operation sequence. Ta.

本発明は上述のような事情から成されたものであり、本
発明の目的は、入出力制御に関する異常が、どこの構成
部位に起因したものなのかを明確に判定することができ
る入出力制御に関する故障診断装置を提供することにあ
る。
The present invention was made in view of the above-mentioned circumstances, and an object of the present invention is to provide an input/output control system that can clearly determine which component causes an abnormality related to input/output control. An object of the present invention is to provide a failure diagnosis device related to the present invention.

(課題を解決するための手段) 本発明は、数値制御工作機械の故障診断システム、特に
遠隔地からの故障診断システムのうちの入出力制御に関
する故lII診断装蓋に関するものであり、本発明の上
記目的は、スイッチ、リレー等で構成される機構部品と
、全体の制御を行なう全体制御部と、前記機構部品と前
記全体制御部との間の情報のやりとりの制御を行なう入
出力制御部とを有する数値制御工作機械において、前記
全体制御部と前記入出力制御部との間でやりとりされる
情報を格納する第1格納部と、前記入出力制御部と前記
機構部品との間でやりとりされる情報を格納する第2格
納部と、前記第1格納部及び前記第2格納部のそれぞれ
に格納された情報の比較を行ない、その結果に基づいて
、前記機構部品、前記全体制御部、及び前記入出力制御
部のうちのいずれて故障が発生したのかを判断する比較
判断部とを備えるように構成することによって達成され
る。
(Means for Solving the Problems) The present invention relates to a failure diagnosis system for a numerically controlled machine tool, and in particular to a late III diagnosis equipment related to input/output control in a failure diagnosis system from a remote location. The above purpose is to provide mechanical components including switches, relays, etc., an overall control section that controls the entire system, and an input/output control section that controls the exchange of information between the mechanical components and the overall control section. A numerically controlled machine tool having: a first storage section that stores information exchanged between the overall control section and the input/output control section; and a first storage section that stores information exchanged between the input/output control section and the mechanical component. A second storage section that stores information stored in the first storage section and the second storage section are compared, and based on the results, the mechanical parts, the overall control section, and the information stored in the second storage section are compared. This is achieved by configuring the present invention to include a comparison and determination unit that determines which of the input/output control units has failed.

(作用) 本発明にあっては、機構部品、全体制御部、及び入出力
制御部を有する数値制御工作機械において、全体制御部
と入出力制御部との間でやりとりされる情報を第1格納
部に格納し、入出力制御部と機構部品との間でやりとり
される情報を第2格納部に格納し、それぞれを比較判断
部で比較することにより、機構部品、全体制御部、及び
入出力制御部のうちのいずれで故1+6か発生したのが
か判断できる。
(Operation) In the present invention, in a numerically controlled machine tool having mechanical parts, an overall control section, and an input/output control section, information exchanged between the overall control section and the input/output control section is stored in the first storage. The information exchanged between the input/output control section and the mechanical parts is stored in the second storage section, and the information exchanged between the input/output control section and the mechanical components is compared by the comparison/judgment section. It can be determined in which of the control units 1+6 occurred.

(実施例) 以下、図面に基づいて本発明の実施例について詳細に説
明する。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は、本発明における入出力制御に関する故障診断
装置の構成ブロック図である。
FIG. 1 is a block diagram of the configuration of a fault diagnosis device related to input/output control according to the present invention.

図において、この故障診断装置は、CP旧と入出力制御
部2との間の出力指令(CPUDOUT)及び人力デー
タ(CPIJDIN)を記憶するCPU−l10メモリ
4と、入出力制御部2とリレーやスイッチなどの機構部
品3との間の入出力データ(ECDOUT、ECDIN
)を記憶するEC−110メモリ5と、正常な動作のシ
ーケンスを記憶しているIlo・C014メモリ8と、
cr’u・110メモリ4. EC−110メモリ5.
及びIlo・C0Mメモリ8に記憶されたデータの比較
を行なう比較器6と、CPU−110メモリ4. EC
−110メモリ5.及びIl10C0メモリ8のアドレ
スデコート処理と比較器6の制御を行fJうデコード回
路lOとが新たに設けられている。
In the figure, this fault diagnosis device includes a CPU-110 memory 4 that stores output commands (CPUDOUT) and human data (CPIJDIN) between the old CP and the input/output control unit 2, and the input/output control unit 2 and relays. Input/output data (ECDOUT, ECDIN) with mechanical parts 3 such as switches
), and an Ilo/C014 memory 8 that stores normal operation sequences.
cr'u・110 memory 4. EC-110 memory5.
and a comparator 6 for comparing data stored in the Ilo/COM memory 8, and a CPU-110 memory 4. EC
-110 memory 5. A decoding circuit fJ that performs address decoding processing of the Il10C0 memory 8 and control of the comparator 6 is newly provided.

第2図は、本発明におりる入出力制御に関する故11ψ
診断装置の判定手順を示す図である。
Figure 2 shows the input/output control according to the present invention.
It is a figure showing the judgment procedure of a diagnostic device.

以下、第1図及び第2図を参照して実施例の判定手順を
説明する。
The determination procedure of the embodiment will be described below with reference to FIGS. 1 and 2.

先ず、CPUIで異常か否かを判定しくステップS1)
、異常の場合は、CPU・+10メモリ4に記憶された
出力指令(CPUDOUT)  とEC−110メ(−
95に記憶された出力データ(ECDOUT)とが一致
していて(ステップS2)、出力指令(CPtlDOt
lT)が正常でなければ(ステップ53) 、cp旧の
処理に異常があると判定する(ステップ55)  また
は、出力指令(cpuoo川 と出力データ(E(:[
1OUT)とが−肢し′〔いて(ステップS2)、出力
指令(CPIIDOUT)が正7;1.であれば(ステ
ップS3)、その先にある機構部品3に異常があると判
定する(ステップS6)。また、出力指令(CPIID
OUT)  と出力データ(HCDOIJT)とか致し
なければ(ステップS2)、その間にある入出力制御部
2に異常があると判定する(ステップ57)。
First, use the CPU to determine whether or not there is an abnormality (step S1).
, in the case of an abnormality, the output command (CPUDOUT) stored in the CPU/+10 memory 4 and the EC-110 memory (-
The output data (ECDOUT) stored in 95 matches (step S2), and the output command (CPtlDOt
lT) is not normal (step 53), it is determined that there is an abnormality in the old cp processing (step 55), or the output command (cpuoo river) and output data (E(:[
1OUT) is positive (step S2), and the output command (CPIIDOUT) is positive 7;1. If so (step S3), it is determined that there is an abnormality in the mechanical component 3 located ahead (step S6). In addition, the output command (CPIID
OUT) and output data (HCDOIJT) (step S2), it is determined that there is an abnormality in the input/output control section 2 located between them (step 57).

同様に人力制御の場合についても、CPU−l10メモ
リ4に記憶された入力データ(CPt101N)とEC
−+10メモリ5に記憶された人力データ(ECDIN
) とか致していて(ステップS2)、人力データ(C
PUDIN)と機構部品3の状態が一致していれば(ス
テップS4) 、 CPUIの異常検出処理に異常があ
ると判定する(ステップS5)。また、人力データ(I
I:Pt1DIN)と人力データ(ECDIN)  と
が一致していて(ステップS2)、人力データ(CPU
DIN)がスイッチなど機構部品3の状態と一致しなけ
れば(ステップs4)、機構部品3に異常があると判定
する(ステップSG) 、また、入力データ(CPU[
1IN)と人力データ(ECDIN) とが一致しなけ
れば(ステップS2)、入出力制御部3に異常があると
判定する(ステップ57)。
Similarly, in the case of manual control, the input data (CPt101N) stored in the CPU-l10 memory 4 and the EC
-+10 Human data stored in memory 5 (ECDIN
), etc. (step S2), and the human power data (C
PUDIN) and the state of the mechanical component 3 match (step S4), it is determined that there is an abnormality in the abnormality detection processing of the CPU (step S5). In addition, human data (I
I:Pt1DIN) and the human power data (ECDIN) match (step S2), and the human power data (CPU
DIN) does not match the state of the mechanical component 3 such as a switch (step s4), it is determined that there is an abnormality in the mechanical component 3 (step SG).
1IN) and the human data (ECDIN) do not match (step S2), it is determined that there is an abnormality in the input/output control section 3 (step 57).

以上のようにステップ55.ステップ56.及びスデ・
・ノブS7において判定された故1(Q部位の診断結果
はCP旧に転送され(ステップ58) 、 cp旧は、
それを表示装置7の画面に表示して(ステップ59)オ
ペし・−タに伝えるか、または故障診断システム9に転
送して診断情報とする。
As above, step 55. Step 56. and Sude・
- The diagnosis result of the Q part determined in knob S7 is transferred to the CP old (step 58), and the CP old is
This information is either displayed on the screen of the display device 7 (step 59) and conveyed to the operator, or transferred to the failure diagnosis system 9 and used as diagnosis information.

尚、いくつかの条件が重なる入出力制御動作の異常に対
しては、正常に動作するときの入出力制御シーケンスを
Ilo・C0Mメモリ8に記憶しておき、異常が発生し
たときのCPU・110メモリ4及びEC1,10メモ
リ5の内容と正常に動作するときのシーケンスを記憶し
ているIlo・C0Mメモリ8の内容とを比較器6で比
較することにより、その異常が、いくつかの条件が重な
っている入出力制御動作のうちのどのシーケンスなのか
を1′11断じて故I;嶺部位を特定する。
In addition, in case of an abnormality in the input/output control operation where several conditions overlap, the input/output control sequence when operating normally is stored in the Ilo/C0M memory 8, and when the abnormality occurs, the CPU/110 By comparing the contents of the memory 4 and EC1, 10 memory 5 with the contents of the Ilo/C0M memory 8 which stores the sequence when operating normally, the abnormality can be detected under some conditions. The sequence of the overlapping input/output control operations is determined in steps 1 and 11 to identify the ridge portion.

また、第1図において点線で囲まれた部分か本発明によ
る新たに加わった構成の範囲である。
In addition, the part surrounded by the dotted line in FIG. 1 is the range of the newly added configuration according to the present invention.

(発明の効果) 以上のように本発明の入出力制御に関する故障診断装置
によりば、機構部品1全体制m1部、及び入出力制御部
のどこて故1埠が生じたのかを明確に判定でき、かつい
くつかの条件か重なる入出力動作における異常をも判定
できるので、オペレータが故障部位を正確に認識できる
(Effects of the Invention) As described above, according to the fault diagnosis device for input/output control of the present invention, it is possible to clearly determine where in the mechanical component 1 overall system m1 section and the input/output control section the fault 1 has occurred. , and abnormalities in input/output operations that overlap with several conditions can also be determined, allowing the operator to accurately recognize the failure location.

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

第1図は本発明における入出力制御に関する故障診断装
置の構成ブロック図、第2図は本発明における入出力制
御に関する故障診断装置の判定手順を示す図、第3図は
従来におりる入出力制御に関する故障診断装置の概略ブ
ロック図、第4図は従来における入出力制御に関する故
障診断装置の判定手順、を示す図である。 1・・・CpH,2・・・入出力制御部、3・・・機構
部品、4・・・CPll・I10メモリ、5・・・EC
・I10メモリ、6・・・比較器、7・・・表示装置、
8・・司10・COM メモリ、9・・・故l(i診断
システム、10・・・デコート回路。
FIG. 1 is a block diagram of the configuration of a fault diagnosis device related to input/output control in the present invention, FIG. 2 is a diagram showing the determination procedure of the fault diagnosis device related to input/output control in the present invention, and FIG. 3 is a block diagram of a fault diagnosis device related to input/output control in the present invention. FIG. 4 is a schematic block diagram of a failure diagnosis device related to control, and is a diagram showing a determination procedure of a conventional failure diagnosis device related to input/output control. 1... CpH, 2... Input/output control unit, 3... Mechanical parts, 4... CPll/I10 memory, 5... EC
・I10 memory, 6... comparator, 7... display device,
8... Tsukasa 10. COM memory, 9... late l (i diagnostic system, 10... decoding circuit.

Claims (1)

【特許請求の範囲】 1、スイッチ、リレー等で構成される機構部品と、全体
の制御を行なう全体制御部と、前記機構部品と前記全体
制御部との間の情報のやりとりの制御を行なう入出力制
御部とを有する数値制御工作機械において、前記全体制
御部と前記入出力制御部との間でやりとりされる情報を
格納する第1格納部と、前記入出力制御部と前記機構部
品との間でやりとりされる情報を格納する第2格納部と
、前記第1格納部及び前記第2格納部のそれぞれに格納
された情報の比較を行ない、その比較結果に基づいて、
前記機構部品、前記全体制御部、及び前記入出力制御部
のうちのいずれで故障が発生したのかを判断する比較判
断部とを備えるように構成したことを特徴とする入出力
制御に関する故障診断装置。 2、いくつかの条件が重なる入出力制御動作において、
正常に動作するときの手順の情報を格納する第3格納部
を設け、前記比較判断部により、前記第1格納部及び前
記第2格納部に格納された情報と前記第3格納部に格納
された情報とを比較し、その比較結果に基づいて、いく
つかの条件が重なる入出力制御動作のいずれに関わる故
障が発生したのかを判断するようにした請求項1に記載
の入出力制御に関する故障診断装置。
[Scope of Claims] 1. Mechanical parts composed of switches, relays, etc., an overall control section that controls the whole, and an input that controls the exchange of information between the mechanical parts and the overall control section. A numerically controlled machine tool having an output control section, a first storage section that stores information exchanged between the overall control section and the input/output control section, and a first storage section that stores information exchanged between the input/output control section and the mechanical component. A second storage unit that stores information exchanged between the two storage units is compared with information stored in each of the first storage unit and the second storage unit, and based on the comparison result,
A failure diagnosis device related to input/output control, characterized in that it is configured to include a comparison determination unit that determines which of the mechanical parts, the overall control unit, and the input/output control unit has a failure. . 2. In input/output control operations where several conditions overlap,
A third storage section is provided for storing information on procedures when operating normally, and the comparison/judgment section compares the information stored in the first storage section and the second storage section with the information stored in the third storage section. The failure related to the input/output control according to claim 1, wherein the failure related to the input/output control operation in which several conditions overlap is determined based on the comparison result. Diagnostic equipment.
JP63330057A 1988-12-27 1988-12-27 Trouble diagnostic device for input/output control Pending JPH02176805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63330057A JPH02176805A (en) 1988-12-27 1988-12-27 Trouble diagnostic device for input/output control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63330057A JPH02176805A (en) 1988-12-27 1988-12-27 Trouble diagnostic device for input/output control

Publications (1)

Publication Number Publication Date
JPH02176805A true JPH02176805A (en) 1990-07-10

Family

ID=18228299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63330057A Pending JPH02176805A (en) 1988-12-27 1988-12-27 Trouble diagnostic device for input/output control

Country Status (1)

Country Link
JP (1) JPH02176805A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143153A (en) * 1991-11-19 1993-06-11 Mitsubishi Electric Corp Diagnostic device for failure of controller for industrial plant equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143153A (en) * 1991-11-19 1993-06-11 Mitsubishi Electric Corp Diagnostic device for failure of controller for industrial plant equipment

Similar Documents

Publication Publication Date Title
CA1231422A (en) Method and apparatus for recovering normality in moving sequence of machinery
JP2608593B2 (en) Failure diagnosis method
EP0148951B1 (en) System for checking abnormality in programmable controller
JPH02176805A (en) Trouble diagnostic device for input/output control
KR900003207B1 (en) Apparatus for controlling robot having alarm display function
JPH08185208A (en) Plant controller
JPS62256007A (en) Failure diagnosing device
JPH08292894A (en) Digital controller
JP2706442B2 (en) Washing machine control device
JPH03139736A (en) System switching method in information processing system
JPH01276205A (en) Monitoring device for sequence program control system
JPH06348521A (en) Decentralized type controller
JP2564397B2 (en) Redundant system data output device
JP2778849B2 (en) Supervisory control method for redundant computer system
JPS5854470A (en) Controlling system for constitution of multiple electronic computer
JPH0210404A (en) Cnc device
JPH037961B2 (en)
JPH0654447B2 (en) Failure prediction device
JPS63173431A (en) Line switching device
JP2642367B2 (en) Monitor for sequence program control system
JPH02109143A (en) Diagnostic method for duplex system
JPH11224102A (en) Duplexed controller
JPS6274547A (en) Failure controlling method for machine tool
JPS6282440A (en) Compound system electronic computer system
JPS6393001A (en) Signal selecting device