JPH0426446A - Faulty part detecting device in automatic control sewing machine - Google Patents

Faulty part detecting device in automatic control sewing machine

Info

Publication number
JPH0426446A
JPH0426446A JP13210290A JP13210290A JPH0426446A JP H0426446 A JPH0426446 A JP H0426446A JP 13210290 A JP13210290 A JP 13210290A JP 13210290 A JP13210290 A JP 13210290A JP H0426446 A JPH0426446 A JP H0426446A
Authority
JP
Japan
Prior art keywords
fault
program
data
failure
sewing machine
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
JP13210290A
Other languages
Japanese (ja)
Inventor
Takashi Kondo
隆 近藤
Yasuhiko Watanabe
安彦 渡辺
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP13210290A priority Critical patent/JPH0426446A/en
Publication of JPH0426446A publication Critical patent/JPH0426446A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

PURPOSE:To quickly execute the detection of a faulty part by reading out operation classification date from a data storge means by a fault data reading- out means, when a fault is detected by a fault detecting means, and displaying this read-out operation classification data by a fault display means. CONSTITUTION:A, B and C denote main programs, and D and E denote interruption programs. In such a state, in the case of executing a sewing operation such as the programs A-B-C-D-E, flag data FL rewritten in such a way as 1-2-3-4-5 at every A-E, at every operation classfication, that is, in each program by a RAM 3. Subsequently, in the case a fault occurs, for instance, in the interruption program E, it is detected by CPU 1 (fault detecting means), and from a CPU 1, an emergency stop signal is outputted to an operating circuit of a motor for driving a main shaft of the sewing machine, and also, an alarm is generated, and the contents of the flag data FL stored in the RAM 3, that is, FL = 5 is read out by the CPU 1 and displayed by a display part 6. As a result, it is detected and displayed that a fault occurs in the course of execution of the program E.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は自動制御ミシンにおける故障箇所検出装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a fault detection device in an automatically controlled sewing machine.

〔従来の技術〕[Conventional technology]

従来、マイクロコンピュータを有する制御装置のプログ
ラム記憶手段に記憶した縫製プログラムに基づいて、各
種の動作を順次行うための動作制御手段を備えた自動制
御ミシンにおいては、縫製動作途中において例えばセン
サーあるいはスイッチの誤動作やリード線接続用のコネ
クタの接続不良などか発生した場合、縫製プログラムの
どこの場所で故障か発生したかを判断するためには大型
で高価なデハッカという装置を使用していた。
Conventionally, in automatic control sewing machines equipped with operation control means for sequentially performing various operations based on a sewing program stored in a program storage means of a control device having a microcomputer, for example, a sensor or a switch is activated during the sewing operation. In the event of a malfunction or poor connection of a lead wire connector, a large and expensive device called a dehacker was used to determine where in the sewing program the failure occurred.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところか、前記従来の故障箇所検出装置は、デ・蕎装置
が大型で高価であるため、実際に使用されることか少な
く、従って、通常は単に故障が発生したという故障表示
のみを行う故障表示装置か使用され、故障箇所について
はその都度縫製作業を中断して診断する面倒な作業を強
いられていた。
However, the conventional failure location detection device is rarely actually used because the device is large and expensive. The sewing machine was used, and the sewing machine was forced to interrupt the sewing operation and diagnose the troublesome parts each time.

この発明の目的は制御プログラムの故障発生箇所を自動
的に検出して表示することができる自動制御ミシンにお
ける故障箇所検出装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a fault detection device for an automatically controlled sewing machine that can automatically detect and display a fault location in a control program.

〔課題を解決するための手段〕[Means to solve the problem]

この発明は上記目的を達成するため、プログラム記憶手
段に記憶した縫製プログラムに基づいて各種の動作を順
次行うための動作制御手段を備えた自動制御ミシンにお
いて、前記各種の動作毎に異なる動作種別データを記憶
するデータ記憶手段と、前記各種の動作途中において発
生した故障を検知する故障検知手段と、その故障検知手
段により故障が検知されるに応答して前記動作種別デー
タを前記データ記憶手段から読み出す故障データ読み出
し手段と、前記故障データ読み出し手段により読み出さ
れた動作種別データを表示する故障表示手段とにより構
成している。
In order to achieve the above object, the present invention provides an automatic control sewing machine equipped with an operation control means for sequentially performing various operations based on a sewing program stored in a program storage means. a data storage means for storing, a failure detection means for detecting a failure that occurs during the various operations, and reading out the operation type data from the data storage means in response to a failure being detected by the failure detection means. It is constituted by a failure data reading means and a failure display means for displaying the operation type data read by the failure data reading means.

〔作 用〕 この発明はデータ記憶手段により各動作毎に異なる動作
種別データが記憶され、各動作途中において故障が発生
すると、故障検知手段により検知される。故障検知手段
により故障が検知されると、故障データ読み出し手段に
より動作種別データが前記データ記憶手段から読み出さ
れ、この読み出された動作種別データが故障表示手段に
より表示される。従って、この発明は各種の動作途中に
おいて、故障箇所を検出して表示することができる。
[Operation] In the present invention, different operation type data is stored for each operation by the data storage means, and when a failure occurs during each operation, it is detected by the failure detection means. When a failure is detected by the failure detection means, the failure data reading means reads operation type data from the data storage means, and the read operation type data is displayed by the failure display means. Therefore, the present invention can detect and display failure locations during various operations.

〔実施例〕〔Example〕

以下、この発明を具体化した一実施例を図面に基づいて
説明する。
An embodiment embodying the present invention will be described below with reference to the drawings.

第3図は自動制御ミシンの制御装置を示すブロック回路
図である。図中1は動作制御手段としての中央処理装置
(CP U)を示し、該CPUIには縫製プログラムを
記憶するプログラム記憶手段としてのリード・オンリー
・メモリ(ROM)2が接続されている。同じ< CP
U 1には縫製プログラムの各動作毎に異なる動作種別
データを書き換えながら記憶するためのデータ記憶手段
としてのランダム・アクセス・メモリ(RAM)3が接
続されている。又、前記CPUIにはインターフェース
(Ilo)4を介して各種の操作スイッチ(図示略)を
備えた操作パネル5が接続される。
FIG. 3 is a block circuit diagram showing the control device of the automatic control sewing machine. In the figure, numeral 1 indicates a central processing unit (CPU) as an operation control means, and a read-only memory (ROM) 2 as a program storage means for storing sewing programs is connected to the CPU. Same < CP
A random access memory (RAM) 3 is connected to U1 as a data storage means for rewriting and storing different operation type data for each operation of the sewing program. Further, an operation panel 5 equipped with various operation switches (not shown) is connected to the CPUI via an interface (Ilo) 4.

前記インターフェース4には前記操作パネル5側からの
例えば下糸カウンタなどの各種入力データを読み取り、
このデータを表示する表示部6が接続されている。この
実施例では前記表示部6に故障表示手段としての機能を
付与している。
The interface 4 reads various input data such as a bobbin thread counter from the operation panel 5 side,
A display section 6 that displays this data is connected. In this embodiment, the display section 6 is provided with a function as a failure display means.

前記CPUIにはインターフェース(I 10)7を介
して例えば布押さえ部材動作用のシリンダを制御するた
めのバルブ8が接続され、このバルブの開閉動作により
シリンダのピストンが往復動作されて布押さえ部材等が
動作されるようにしている。さらに、前記インターフェ
ース7には例えば布柄等を検出するためのセンサー9が
接続され、該センサー9のオン、オフの読み取りを前記
CPU1によって行い、これを割り込み信号に使用する
ようにしている。
A valve 8 for controlling, for example, a cylinder for operating a cloth presser member is connected to the CPUI via an interface (I 10) 7, and the opening/closing operation of this valve reciprocates the piston of the cylinder to operate the cloth presser member, etc. I am trying to make it work. Further, a sensor 9 for detecting, for example, a cloth pattern is connected to the interface 7, and the CPU 1 reads whether the sensor 9 is on or off and uses this as an interrupt signal.

第1図は縫製プログラムに基づいて各種の動作を順次行
うフローチャートを示す。図中A、 B。
FIG. 1 shows a flowchart for sequentially performing various operations based on a sewing program. A and B in the figure.

Cはメインプログラムを示し、D、Eは割り込みプログ
ラムを示す。又、前記CPUIは前記各プログラムA−
Eにおいてセンサーなどの故障が発生した場合、その故
障を検知する故障検知手段としての機能を備えている。
C indicates a main program, and D and E indicate interrupt programs. Further, the CPUI is configured to run each program A-
If a failure occurs in a sensor or the like in E, it functions as a failure detection means to detect the failure.

ここで各プロクラムの機能を説明すると、AはCPUI
及び周辺ICの初期化を行うメインプログラム、Bはス
タートスイッチを読み取るメインプログラム、Cは割り
込みプログラムEか実行を終了するまで待機するメイン
プロクラムである。
To explain the functions of each program here, A is the CPU
and a main program that initializes peripheral ICs, B is a main program that reads the start switch, and C is a main program that waits until interrupt program E finishes execution.

又、Dはスタートスイッチのオンのタイミングによって
実行される割り込みプロクラム、Eは割り込みプログラ
ムDを実行した時のあるセンサー9のオンのタイミング
によって実行される割り込みプログラムである。
Further, D is an interrupt program that is executed according to the timing when the start switch is turned on, and E is an interrupt program that is executed according to the timing when the sensor 9 is turned on when the interrupt program D is executed.

今、プロクラムA−B−C−D−Eというように縫製動
作を実行しようとした場合、RA M 3によりフラク
データFLか、動作種別毎に、つまり各プログラム記憶
手段に1〜2〜3〜4〜5というように書き換えられる
。そして、例えば割り込みプログラムEで故障が発生し
た場合、それがCPUI  (故障検知手段)により検
知され、該CPUlからミシン主軸を駆動するモータの
動作回路(図示略)に緊急停止信号が出力されるととも
に、警報か行われ、RAM3に記憶されたフラグデータ
FLの内容、FL=5がCPUIにより読み出されて表
示部6により表示される。この結果、プログラムEの実
行中に故障が発生したことが速やかに検出表示される。
Now, if you try to execute a sewing operation such as program A-B-C-D-E, RAM 3 will store flak data FL or 1-2-3 for each operation type, that is, for each program storage means. It can be rewritten as 4-5. For example, if a failure occurs in interrupt program E, it is detected by the CPUI (failure detection means), and an emergency stop signal is output from the CPUI to the operating circuit (not shown) of the motor that drives the main shaft of the sewing machine. , an alarm is issued, and the contents of the flag data FL stored in the RAM 3, FL=5, are read out by the CPUI and displayed on the display section 6. As a result, the occurrence of a failure during the execution of program E is quickly detected and displayed.

第2図は故障発生時における処理動作を示すフローチャ
ートであって、いずれかのプログラムにおいてステップ
S1で故障が発生すると、ステップS2で緊急停止及び
警告が行われ、ステップS3でRAM3に記憶された動
作種別毎のフラグデータが表示され、次に、ステップS
4で故障原因の解析が行われる。
FIG. 2 is a flowchart showing processing operations when a failure occurs. When a failure occurs in step S1 in any program, an emergency stop and warning are performed in step S2, and an operation stored in the RAM 3 is performed in step S3. Flag data for each type is displayed, and then step S
In step 4, the cause of the failure is analyzed.

なお、この発明は前記実施例に限定されるものではなく
、特許請求の範囲内で構成を任意に変更して具体化する
こともできる。
It should be noted that the present invention is not limited to the above-mentioned embodiments, and can be embodied by changing the configuration as desired within the scope of the claims.

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

以上詳述したように、この発明は大型で高価なデバッガ
装置を使用することなく、任意のプログラムの処理動作
中に故障か発生したかを確実に判断することができ、故
障箇所の検出を速やかに行うことができる効果がある。
As detailed above, the present invention can reliably determine whether a failure has occurred during the processing of any program without using a large and expensive debugger, and can quickly detect the failure location. There is an effect that can be done.

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

第1図はこの発明の故障箇所検出装置により故障を検出
するためのフローチャート、第2図はメインプログラム
及び割り込みプログラムを示す説明図、第3図は制御装
置のブロック回路図である。 ■・・・動作制御手段及び故障検出手段としての中央処
理装置(CPU) 、2・・・プログラム記憶手段とし
てのROM、3・・・動作種別のデータを記憶するデー
タ記憶手段としてのRAM、6・・・故障表示手段とし
ての表示部、A−C・・・メインプログラム、D、E・
・・割り込みプログラム。 特許出願人  ブラザー工業 株式会社代理人    
 弁理士  恩1)博宣(ほか1名)
FIG. 1 is a flowchart for detecting a failure using the failure location detection device of the present invention, FIG. 2 is an explanatory diagram showing a main program and an interrupt program, and FIG. 3 is a block circuit diagram of the control device. ■... Central processing unit (CPU) as operation control means and failure detection means, 2... ROM as program storage means, 3... RAM as data storage means for storing data on operation types, 6 ...Display unit as a means of failure indication, A-C...Main program, D, E-
...Interrupt program. Patent applicant Brother Industries Co., Ltd. Agent
Patent attorney On 1) Hironobu (and 1 other person)

Claims (1)

【特許請求の範囲】 1、プログラム記憶手段に記憶した縫製プログラムに基
づいて各種の動作を順次行うための動作制御手段を備え
た自動制御ミシンにおいて、前記各種の動作毎に異なる
動作種別データを記憶するデータ記憶手段と、 前記各種の動作途中において発生した故障を検知する故
障検知手段と、 その故障検知手段により故障が検知されるに応答して前
記動作種別データを前記データ記憶手段から読み出す故
障データ読み出し手段と、 前記故障データ読み出し手段により読み出された動作種
別データを表示する故障表示手段とにより構成したこと
を特徴とする自動制御ミシンにおける故障箇所検出装置
[Scope of Claims] 1. In an automatic control sewing machine equipped with an operation control means for sequentially performing various operations based on a sewing program stored in a program storage means, different operation type data is stored for each of the various operations. a data storage means for detecting a failure that occurs during the various operations, and a failure detection means for reading out the operation type data from the data storage means in response to a failure being detected by the failure detection means. 1. A fault location detection device for an automatically controlled sewing machine, comprising: a reading means; and a fault display means for displaying operation type data read by the fault data reading means.
JP13210290A 1990-05-22 1990-05-22 Faulty part detecting device in automatic control sewing machine Pending JPH0426446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13210290A JPH0426446A (en) 1990-05-22 1990-05-22 Faulty part detecting device in automatic control sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13210290A JPH0426446A (en) 1990-05-22 1990-05-22 Faulty part detecting device in automatic control sewing machine

Publications (1)

Publication Number Publication Date
JPH0426446A true JPH0426446A (en) 1992-01-29

Family

ID=15073507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13210290A Pending JPH0426446A (en) 1990-05-22 1990-05-22 Faulty part detecting device in automatic control sewing machine

Country Status (1)

Country Link
JP (1) JPH0426446A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6069744A (en) * 1997-04-15 2000-05-30 Olympus Optical Co., Ltd. Microscopic objective having a long working distance
JP2002248286A (en) * 2001-02-27 2002-09-03 Juki Corp Sewing machine and maintenance method and maintenance system of sewing machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6069744A (en) * 1997-04-15 2000-05-30 Olympus Optical Co., Ltd. Microscopic objective having a long working distance
JP2002248286A (en) * 2001-02-27 2002-09-03 Juki Corp Sewing machine and maintenance method and maintenance system of sewing machine

Similar Documents

Publication Publication Date Title
US5996518A (en) Sewing machine with warning screen displaying function
JP2001100817A (en) Monitoring device for sequential function chart type programmable controller
JPH0426446A (en) Faulty part detecting device in automatic control sewing machine
US5257269A (en) Error controller for use in debugging microprocessor
JPH06327862A (en) Failure position detecting device in automatically controlled sewing machine
JPS63182451A (en) Control display apparatus of loom
JP3070707B2 (en) Operating status display for textile machines
JPH03259398A (en) Abnormality informing device
JP2683424B2 (en) Needle breakage detector for sewing machine
JPS61813A (en) Deciding system for faulty area of sequence controller
JPS62204791A (en) Controller of washing machine
JP3483259B2 (en) Card-type storage device
JPH0619744A (en) Operation monitoring system for multiprocessor system
JP2948262B2 (en) Abnormal list screen display system in automatic line
JPS6158584B2 (en)
JPH04283803A (en) Programmable controller
JP2635777B2 (en) Programmable controller
JPH0119166B2 (en)
JPS63294049A (en) Key telephone system
JP2550757Y2 (en) Display for loom
JPH08106406A (en) Runaway detecting device for multitrask program
JPH0154069B2 (en)
JPH07112089A (en) Sewing machine device
JP2684966B2 (en) I / O processor debug device
KR920006847A (en) Processor Diagnosis Device and Diagnosis Method