JPH038859A - Computer embroidery machine - Google Patents

Computer embroidery machine

Info

Publication number
JPH038859A
JPH038859A JP13906389A JP13906389A JPH038859A JP H038859 A JPH038859 A JP H038859A JP 13906389 A JP13906389 A JP 13906389A JP 13906389 A JP13906389 A JP 13906389A JP H038859 A JPH038859 A JP H038859A
Authority
JP
Japan
Prior art keywords
embroidery
information
memory
time
interrupted
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.)
Granted
Application number
JP13906389A
Other languages
Japanese (ja)
Other versions
JP2756701B2 (en
Inventor
Takeshi Kongou
猛 金剛
Michio Hisatake
久武 通夫
Hidenori Sasako
秀紀 笹子
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.)
Janome Corp
Original Assignee
Janome Sewing Machine 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 Janome Sewing Machine Co Ltd filed Critical Janome Sewing Machine Co Ltd
Priority to JP13906389A priority Critical patent/JP2756701B2/en
Publication of JPH038859A publication Critical patent/JPH038859A/en
Application granted granted Critical
Publication of JP2756701B2 publication Critical patent/JP2756701B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Automatic Embroidering For Embroidered Or Tufted Products (AREA)

Abstract

PURPOSE:To carry out back-up of embroidery information memory by transcribing various kinds of information memorized in the non-volatile first memory to the read- and writable second memory, beginning an embroidery operation and subsequently re-transcribing the memorized information of the second memory on the stop of the embroidery operation to the first memory. CONSTITUTION:Various kinds of information including time information such as an embroidery time accumulation value, setting information such as a length unit, sewing parameter information such as size and inputted embroidery information such as a pattern code number and a sewing parameter on the interruption of the embroidery are memorized in the memorizing area of the first memory having plurally divided memory areas holding the memory after the interruption of the electric source while writing the number of the re-writing operations. After the various kinds of memorized information of the first memory are transcribed to the readable and re-writing second memory, the embroidery operation is carried out. When the embroidery operation is stopped, the memorized information of the second memory is re-transcribed to the first memory, and when the above-mentioned re-writing number reaches a prescribed value, the memory is transferred to the next memorizing area.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、メモリバックアップ機能を有するコンピュー
タ刺繍機に係わり、特に刺繍作業に関連する各種情報の
メモリバックアップ制御に関する。
The present invention relates to a computer embroidery machine having a memory backup function, and more particularly to memory backup control of various information related to embroidery work.

【従来の技術及び発明が解決しようとする課題】従来の
刺繍機において次の項目が課題となっていた。 1)機構部の注油時期に関しては、作業者が1日の刺繍
トータル時間を推測して記録し、これが所定値に達した
時点で注油していたので、正確な注油時期に注油できな
かった。 2)従来は、縫いパラメータが電源投入時、デフォルト
値に設定されるため、前回の刺繍に引き続いて同種の刺
繍を行う場合、縫いパラメータを再設定する必要があり
、面倒であった。 3)ワンポイント模様等の刺繍時間が長くかかる模様を
刺繍していて、業務終了時間が来てしまい途中で刺繍を
終了する場合や目飛び等の縫目不良が発生して刺繍作業
を中断し、別の刺繍作業を行うときその再設定が厄介で
あった。 4)従来からバックアップ機能付きメモリ素子としてよ
く使われているバッテリバックアップされたS RA 
M(Static Random Acces Mem
ory)は、長い期間刺繍機を使用しないでいると、電
池が過放電となったり、コストや実装スペースの面で不
利になるという課題があった。
[Prior Art and Problems to be Solved by the Invention] Conventional embroidery machines have had the following problems. 1) Regarding the timing of lubricating the mechanical parts, the worker estimated and recorded the total embroidery time of the day, and lubricated the mechanism when it reached a predetermined value, so it was not possible to lubricate the mechanism at the correct timing. 2) Conventionally, sewing parameters are set to default values when the power is turned on, so when performing the same type of embroidery following the previous embroidery, it was necessary to reset the sewing parameters, which was troublesome. 3) If you are embroidering a pattern that takes a long time to embroidery, such as a one-point pattern, and you have to finish the embroidery part way through because the finishing time has come, or if a stitch defect such as skipped stitches occurs and the embroidery work is interrupted. , its resetting was troublesome when doing another embroidery work. 4) Battery-backed SRA, which has been commonly used as a memory device with a backup function
M (Static Random Accesses Mem
However, if the embroidery machine is not used for a long period of time, the battery may over-discharge, resulting in disadvantages in terms of cost and mounting space.

【課題を解決するための手段及び発明の作用】本発明は
、予めセットされたプログラムに従って刺繍を自動的に
行うコンピュータ刺4[において、刺繍時間の累積値5
EWING  TIME等の時間情報と、長さの単位L
EN  UNIT等の刺繍機設置時に設定した後ほとん
ど変えることのないハードウェア上の設定情報と、サイ
ズSIZE等の縫いパラメータ情報と、刺繍を中断した
場合における模様のコード番号と縫いパラメータIFI
LE等の中断刺繍情報を電源遮断後も記憶保持する第1
の記憶手段を有するコンピュータ刺繍機を提供するもの
で、 前記第1の記憶手段は記憶データの電気的消去および電
気的書換えが可能なEEPROMであって、EEPRO
Mを複数の記憶エリアに分割し、それらの各記憶エリア
の1つにEEPROMへの書換え回数WRITE  C
NTを含む前記各種情報を記憶していて、刺la機への
電源投入時、読み書き可能な第2の記憶手段RAMに第
1の記憶手段から前記各種情報を書き移し、刺繍の実行
中は第2の記憶手段に書き移された各種情報書き換え、
刺繍機の刺繍停止信号に応答して第2の記憶手段の各種
情報を第1の記憶手段へ書き移し、書換え回数WRIT
E  CNTが所定値に達した場合、複数に分割された
E E F ROMの次の記憶エリアへ移し変えるよう
にし、更には、刺繍機への電源投入時において刺繍時間
の累積値5EWING  TIMEが所定時間に達する
度に、注油指示の表示を行うようにし、 また更には、前記した中断刺繍情報の格納エリアは複数
セットあり、現在実行中の刺繍に途中停止が発生したと
き、複数セットの格納エリアに刺繍の再実行に必要な中
断刺繍情報を登録し、正常に刺繍実行が終了したときに
前記中断刺繍情報を格納エリアから消去するようにした
コンピュータ刺4ii機を提供するもので、 本発明は、第1に刺繍時間の累積値SEWINGTIM
E等の時間情報が不揮発性記憶素子(EEPROM)に
保存されているので、作業者が特に作業時間の集計等を
管理しなくても、刺繍機の注油時期等のメンテナンス情
報として利用できるという作用がある。 第2にサイズSIZE等の縫いパラメータ情報がEEP
ROMに保存されているので、刺繍機の電源投入の度に
縫いパラメータを設定する必要はなく、使い勝手が向上
するという作用がある。 また第3に刺繍を中断した場合には、縫いパラメータ、
刺繍始点位置、縫目数等の中断刺繍情報がEEPROM
に保存されているので刺繍の再実行を容易に行えるとい
う作用がある。 また第4にEEPROMを複数の記憶エリアに分割し、
その1つの記憶エリアに前記各種情報とEEPRoMへ
の書換え回数WRITE  CNTとを記憶していて、
書換え回数WRITE  CNTが所定値に達したら、
複数に分割されたEEPROMの次の記憶エリアに各種
情報を保存するようにしl;のでE E P ROM自
体の寿命を延ばせるという作用がある。
[Means for Solving the Problems and Effects of the Invention] The present invention provides computerized embroidery 4 [in which embroidery is automatically performed according to a preset program] with a cumulative value of 5 embroidery times.
Time information such as EWING TIME and length unit L
Hardware setting information that is rarely changed after setting up an embroidery machine such as EN UNIT, sewing parameter information such as size SIZE, pattern code number and sewing parameter IFI in case embroidery is interrupted
The first function is to store interrupted embroidery information such as LE even after the power is turned off.
The first storage means is an EEPROM in which stored data can be electrically erased and electrically rewritten;
Divide M into multiple storage areas, and store the number of rewrites to EEPROM in one of these storage areas.
The various information including NT is stored in the first memory means RAM, and when the power is turned on to the embroidery machine, the various information is transferred from the first memory means to the readable/writable memory means RAM. Rewriting various information transferred to the storage means of 2.
In response to the embroidery stop signal of the embroidery machine, various information in the second storage means is transferred to the first storage means, and the number of rewrites WRIT is increased.
When E CNT reaches a predetermined value, it is moved to the next storage area of the E E F ROM divided into multiple parts, and furthermore, when the power is turned on to the embroidery machine, the cumulative value of embroidery time 5EWING TIME is set to a predetermined value. Each time the embroidery time is reached, a lubrication instruction is displayed.Furthermore, there are multiple sets of storage areas for the above-mentioned interrupted embroidery information. The present invention provides a computer embroidery 4II machine in which interrupted embroidery information necessary for re-execution of embroidery is registered, and the interrupted embroidery information is erased from a storage area when the embroidery execution is normally completed. , firstly, the cumulative value of embroidery time SEWINGTIM
Since time information such as E is stored in a non-volatile memory element (EEPROM), it can be used as maintenance information such as when to lubricate the embroidery machine without the need for the operator to manage the total work time etc. There is. Second, sewing parameter information such as size SIZE is EEP
Since the sewing parameters are stored in the ROM, there is no need to set the sewing parameters each time the embroidery machine is powered on, which improves usability. Thirdly, when embroidery is interrupted, the sewing parameters,
Interrupted embroidery information such as embroidery start point position and number of stitches is stored in EEPROM.
Since the embroidery data is saved in the embroidery file, it is easy to re-execute the embroidery. Fourth, the EEPROM is divided into multiple storage areas,
The various information and the number of rewrites to EEPRoM WRITE CNT are stored in one storage area,
When the number of rewrites WRITE CNT reaches a predetermined value,
Various types of information are stored in the next storage area of the EEPROM which is divided into a plurality of parts; therefore, the life of the EEPROM itself can be extended.

【実施例】【Example】

以下、本発明を実施例により説明する。 ○制御回路の構成 次に、第4図を参照しながら制御回路の構成について説
明する。 中央処理袋ff1cPUは、メモリおよびI10デバイ
スとの間の双方向性交信により命令や刺繍データの転送
を行うデータバスと接続されている。 リード・オンリー・メモリROMは、自動刺繍ミシンの
制御用プログラムが記憶されている。 E E F ROM(ELECTRICALLY ER
ASABLE and PROGRAM)JABLE 
ROM )は、刺繍時間の累積値5EWING  TI
ME等の時間情報、ハードウェア上の設定情報、パラメ
ータ情報等を電源遮断後も記憶保持するメモリである。 ランダム・アクセス・メモリRAMは、CPUが動作す
るために必要なスタックエリアやフラグの格納エリア等
からなるワークエリア、刺繍データを一時的に記憶する
ためのデータ・エリアおよびEEPROMの内容を一時
的に蓄えるバッファエリア等からなっている。 I10インターフェースl10−1〜l10−7は、デ
ータバスDBを介して周辺装置とCPUとの間のデータ
の授受を行うものである。 操作キ一部KEYには、刺繍を始めるためのスタートキ
ー5TARTキー、刺繍縫いを途中で一時停止させるた
めのストップキー5TOPキー、模様選択をするとき等
に使用する英字キーALPHABETキーおよび数字キ
ーNUMERI Cキー選択された模様の模様コードを
登録するための記憶キーMEMORYキー、選択された
模様の刺繍データをフロッピーディスクF、Dから読み
出すための指示を与えるためのリードキーREADキー
模様ブロックの配列情報を指示するための配列キーLA
YOUTキー、模様ブロックのサイズ情報を指示するた
めのサイズキーSIZEキー、針位置に対する刺繍位置
を選択するための針位置キーNEEDLE  POSキ
ー、書体を選択するためのフォントキーFONTキー、
刺繍枠を手動で移動するための枠移動キーJOG  K
EYS等が含まれる。 フロッピーディスク・ドライブFDDは、フロッピーデ
ィスクFDに記憶されている刺繍データを70ツピーデ
イスク・コントローラFDCの制御により読み出し、デ
ータ・バスDBを介して模様データ記憶手段としてのR
AMのデータ・エリアに記憶させる。 センサ5ENSORは、複数のセンサがあり、自動刺繍
機の制御のt;めの各種信号を得るI;めのもので、こ
れらは、糸切れを検出する糸切れ検出センサtJPPE
RTHREAD、刺繍枠の位置を検出する枠位置検出セ
ンサX  、5ENS、Y  5ENS、 ミシンの上
軸の回転位相を検出する針位相検出センサPHASE、
ミシンの速度検出センサVELOCITY等テアル。 ミシンモータZMは、ミシンを駆動するモータである。 パルスモータXMSYMは、それぞれこの順に刺繍枠を
XY力方向駆動制御する。アクチュエータACTは、そ
の他の刺繍縫いを実行するためのもので、例えば、糸ゆ
るめソレノイド等であり、それぞれI10インターフェ
ースl10−3〜!10−5を介してCPUと接続され
ている。 液晶表示装置LCDは、模様選択時にその模様あるいは
模様番号を表示しI;す、更には刺繍機からの情報を表
示するために利用される。 ブザーBUZZERは、ブザー駆動装置BZDVおよび
I10インターフェースl10−7を介してCPUと接
続されている。 ディジタル/アナログ変換器D/Aは、液晶表示装置L
CDの輝度調節およびブザーBUZZERの音量van
をするための電圧を出力する。 Oバックアップされる各種情報 次に、第3図を参照しながら刺繍機の電源遮断後にバッ
クアップされる各種情報について説明する。 以下に示す各種情報は刺繍機の電源遮断後はEEPRO
Mの現在有効になっている記憶エリアに保存され、刺繍
機への電源投入後は刺繍機側のRAMのバッファエリア
にコピーされる。 バックアップされる各種情報は、大別すると、時間情報
、ハードの設定情報、縫いパラメータ情報お・よび中断
刺繍情報とからなる。第3図において、■)時間情報 WRITE  CNTは、EEPROMの書換え回数で
あり、この値が所定値に達すると、複数に分割されたE
EPROMの記憶エリアのうち、まだ1度も書き込みの
されていない記憶エリアの1つを有効とし、以後バック
アップされる情報をその記憶エリアに保存する。 この方法によってEEPROMの寿命を長くすることが
できる。 5EWTNG  TIMEは、刺繍時間の累積値であり
、これより刺Pa@の総運転時間を知ることができ、注
油等の機構の保守やミシンモータのブラシ摩耗によるモ
ータの交換時期の判断に利用することができる。 ON  TIMEは、電源通電時間の累積値であり、を
解コンデンサ、LCDのバックライト用EL(ELEC
TROLUMINESCENCE)などの電子部品の保
守、交換時期等の判断の目安として利用することができ
る。 2)ハードの設定情報 LEN  UNITは、模様の長さの選択設定された単
位を示しており、インチ単位の表示、またはミリ単位の
表示データである。 DA  BZには、ブザーに音量を決める値が記憶され
ており、この値の電圧をブザー駆動装置に入力すること
により音量調節ができる。 DA  LCDには、LCDの輝度を調節する値が記憶
されており、この値の電圧をLCDに入力することによ
り輝度調節ができる。 LEN  UNITSDA  BZXDA  LCDの
ハード設定情報は、刺繍機のキー操作によって変えるこ
とが可能であるが、変更後の値は、EEPROMに記憶
保存されているので、刺繍機の電源を投入する度に設定
する必要はない。 3)縫いパラメータ情報 SIZE、LAYOtJT、NEEDLE  PO3゜
FONTは、刺繍模様の圧縮データをFDから読み出し
、各縫目毎の針座源に展開するときに必要な縫いパラメ
ータ情報である。 SIZEは、刺繍データを展開するときの模様の大きさ
を示すものである。 LAYOUTは、刺繍データを展開するときの模様の配
列を示すものである。 NEEDLE  PO3は、刺繍を実行するときの模様
の初期針位置を指示するものである。 FONTは、FDから模様データを読み出すときにどの
書体のものを読み出すを決めるための情報である。 4)中断刺繍情報 #1 (I  F I LE、HOME  PO5,S
T  CNT)〜#n(I   FILE、HOME 
 PO3゜ST  CNTlは、刺繍の実行が何らかの
原因で中断されたとき、EEPROMに保存される中断
刺繍情報である。 I  FILEは、中断された模様のコード番号および
展開される条件の縫いパラメータが記録される。 HOME  PO5は、中断された模様の刺繍位置(第
1針目の座漂値)が記録されている。 ST  CNTは、何針口で刺繍が中断されたかを記録
している。 これらの中断刺繍情報を基に中断された位置から再び刺
繍を続行することができる。 O処理手項 以下、本実施例の処理手順について第1図(メインプロ
グラム)および第2図(タイマー割り込み)を参照しな
がら説明する。 これらの処理は、刺繍機への電源投入によりスタートす
る。 第1図(その1)において、 (STI) 複数の記憶エリアに分割されている第1の記憶手段であ
るE E F ROMの現在有効となっている記憶エリ
アの各種情報を第2の記憶手段であるRAMのバッファ
エリアに書き込む。書き込まれる各種情報は、 ■EEPROMの書換え回数WRITE  CNT■刺
纏時刺繍累積値5EWING  TIME■通電時間の
累憤値○N  TIME 等の時間情報 ■刺繍模様の長さの単位LEN  tJNIT■ブザー
音のDAI’lDA  BZ ■LCD輝度のDA値DA  LCD 等のハードウェアの設定情報 ■サイズ、配列、刺繍模様の初期針位置、書体等の縫い
パラメータ情報 ■前回の作業において刺繍が完了していない模様の中断
刺繍情報 である。 (ST2−a) RAMのバッファエリアにコピーされた刺繍時間の累積
値5EWING  TIMEが、予め定められた値(注
油時間)に達しているか調べ、達していれば5T2−b
を実行する。 (ST2−b) 刺la機の刺繍時間の累積値が注油時間に達したので、
LCDに「注油」と表示し、作業者に各機構部に注油の
必要性があることを警告する。 この警告は、キー操作によって5EWING  TIM
Eをクリアするまで電源投入時に表示される。 (ST3−a) 第3図に示すハードウェアの設定情報(LENUNIT
、DA  BZ、DA  LCD)の内容を変更する必
要があるとき、5T3−bを実行する。 変更しない場合は次の5T4−aに進む。 (ST3−b) キー操作によりて、長さの単位をミリまたはインチに変
更したり、ブザーの音量やLCDの輝度の変更操作を行
う。 (ST4−a) ALP)(ABETキー、NU、MERICキーおよび
MEMORYキーを用いて刺繍したい模様を入力し、R
AMの作業用メモリ(ワークエリア)に登録する。 また中断刺繍があれば、この模様もキー操作により選択
し、再刺繍することができる。 (ST4−b) ST4−aで選択した模様の展開条件としての縫いパラ
メータを変更したいとき、キー操作により変更する。変
更しない場合はバックアップされているパラメータが用
いられる。 (ST5) 入力した模様に対応する刺繍データを70ツビーデイス
クFDから読み出し、RAMのデータエリアに格納する
。 (ST6) STARTキーが押されるのを待つ。5TARTキーが
押されると、刺繍が開始される。 (ST7) 針位置検出センサPHASE、糸切れ検出センサUPP
ERTHREAD等の状態を読み登録する。更に5TO
Pキーが押されたかを認識するためにキーの状態を調べ
る。 (ST8) 糸切れの検出、5TOPキーの操作、色替え等の途中停
止がない場合、以下のST9.5TIO1STIIを実
行する。 (ST9) 針棒を上下動するためにミシンモータZMを駆動する。 (ST I O) 針位置検出センサPHASEが下位組から上位相になっ
たかを判別し、上位相になったとき5Tllを実行する
。そうでない場合は5T12に進む。 (STII) 模様を形成するために刺繍データが指示する位置に刺繍
枠を移動させる。 (ST 12) 刺繍が終了しt;かを判別し、終了しI;場合には5T
19へ進み、まだ終了していない場合は、sT7〜5T
12を繰り返す。 ・途中停止があった場合 第1図(その2)を参照しながら途中停止があった場合
について説明する。 (ST13) ミシンモータZMを停止させ、刺繍機の運転を停止する
。 (ST 14) 現在刺繍中の模様がRAMのバッファエリアに中断刺繍
情報として存在していなければ5T15を実行する。中
断刺繍情報が既に存在していれば、5T16に進む。 (ST l 5) 現在刺繍中の模様のためにRAMのバッファエリアに中
断刺繍情報エリアを設け、中断しt;模様のコード番号
、縫いパラメータ、縫い始点座標、現在の縫目数をその
エリアに登録する。 (ST 16) EEPROMの現在有効となっている記憶エリアの書換
え回数WRITE  CNTが所定値を越えたかを判別
し、所定値になっていれば5T17を実行する。 (ST 17) 複数に分割し?:EEPROMの記憶エリアでまだ1度
も書き込みを行っていない記憶エリアを書換え回数WR
ITE  CNTの値をチエツクして探し、その記憶エ
リアを有効とする。 (ST 18) EEPROM(7)書換え回数WRITE  CNTを
1だけ増し、RAMのバッファエリアにあるこのWRI
TE  CNTを含む各種情報を現在有効となっている
EEPR’OMの記憶エリアに書き込みバックアップす
る。 モしてST6に戻り、5TARTキーが押されるのを待
つ。 ここで刺繍機の電源が切られたり、またはこの模様の刺
繍実行を中止するキーが操作されても、この模様の中断
刺繍情報がEEPROMにバックアップされているので
、この情報を基に刺繍を再実行することが可能となる。 刺繍が正常に終了しt;場合 再び、第1図(その1)を参照しながら刺繍が正常に終
了した場合の処理について説明する。 (ST 19) ミシンモータZMを停止させ、刺繍機の運転を停止する
。 (ST20) 現在の模様の中断刺繍情報がRAMのバッファエリアに
登録されているかを判別し、登録されている場合はST
21を実行する。 (ST21) 登録されている現模様の中断刺繍情報をRAMのバッフ
ァエリアから消去する。 刺繍が正常に終了せずに中断していた模様については、
5T4−aで再び同じ模様を選択し、刺繍が完成すれば
中断刺繍情報はバッファエリアから消去される。 (ST22) ST16と同じ処理を行う。 (ST23) ST17と同じ処理を行う。 (ST24) ST18と同じ処理を行う。処理後に次の刺繍を実行す
るためにST4に戻る。 ・タイマー割り込み 次に第2図を参照しながらタイマ割り込みについて説明
する。 タイマー割り込みは1秒間隔で実行され、電源通電時間
ON  TIMEおよび刺繍実行時間5EWING  
TIMEを正確に計測する。 (ST30) 1秒間隔でカウントアツプし、現在までの電源通電時間
ON  TIMEを蓄える。 (ST31) ミシンモータZMが運転中かどうかを判断し、運転中な
らばST32を実行する。 (ST32) 刺繍実行時間5EWING  TIMEを1秒間隔でカ
ウントアツプし、現在までの刺繍時間を蓄える。
The present invention will be explained below using examples. ○Configuration of Control Circuit Next, the configuration of the control circuit will be explained with reference to FIG. The central processing bag ff1cPU is connected to a data bus that transfers commands and embroidery data through bidirectional communication with the memory and the I10 device. The read-only memory ROM stores a program for controlling the automatic embroidery sewing machine. E E F ROM (ELECTRICALLY ER)
ASABLE and PROGRAM) JABLE
ROM) is the cumulative value of embroidery time 5EWING TI
This is a memory that stores and retains time information of the ME, etc., hardware setting information, parameter information, etc. even after the power is turned off. The random access memory RAM is a work area consisting of a stack area necessary for the CPU to operate, an area for storing flags, etc., a data area for temporarily storing embroidery data, and a data area for temporarily storing the contents of the EEPROM. It consists of a buffer area for storage, etc. The I10 interfaces l10-1 to l10-7 exchange data between peripheral devices and the CPU via the data bus DB. Some of the operation keys include the start key 5 TART key to start embroidery, the stop key 5 TOP key to temporarily stop embroidery stitching, the alphanumeric key ALPHABET key and the numeric key used when selecting patterns etc. C key Memory key for registering the pattern code of the selected pattern MEMORY key, read key for giving instructions to read the embroidery data of the selected pattern from floppy disks F and D READ key Pattern block arrangement information Array key LA to indicate
YOUT key, size key SIZE key for specifying pattern block size information, needle position key NEEDLE POS key for selecting the embroidery position relative to the needle position, FONT key for selecting the font,
Frame movement key JOG K for manually moving the embroidery frame
Includes EYS etc. The floppy disk drive FDD reads out the embroidery data stored in the floppy disk FD under the control of the 70 disk controller FDC, and reads out the embroidery data stored in the floppy disk FD via the data bus DB.
Store it in the AM data area. The sensor 5ENSOR has a plurality of sensors, and is used to obtain various signals for controlling the automatic embroidery machine.
RTHREAD, frame position detection sensor X, 5ENS, Y 5ENS that detects the position of the embroidery frame, needle phase detection sensor PHASE that detects the rotational phase of the upper shaft of the sewing machine,
Sewing machine speed detection sensor VELOCITY etc. The sewing machine motor ZM is a motor that drives the sewing machine. The pulse motors XMSYM respectively drive and control the embroidery frames in the XY force directions in this order. The actuators ACT are used to perform other embroidery stitches, such as a thread loosening solenoid, and are connected to the I10 interface l10-3~! It is connected to the CPU via 10-5. The liquid crystal display device LCD is used to display the pattern or pattern number when a pattern is selected, and also to display information from the embroidery machine. The buzzer BUZZER is connected to the CPU via the buzzer drive device BZDV and the I10 interface I10-7. The digital/analog converter D/A is the liquid crystal display device L.
CD brightness adjustment and buzzer BUZZER volume van
Outputs the voltage for Various types of information to be backed up Next, referring to FIG. 3, various types of information to be backed up after the embroidery machine is powered off will be explained. The various information shown below will be changed to EEPRO after the power of the embroidery machine is turned off.
The data is saved in the currently valid storage area of M, and after the embroidery machine is powered on, it is copied to the buffer area of the RAM on the embroidery machine side. The various types of information to be backed up can be roughly divided into time information, hardware setting information, sewing parameter information, and interrupted embroidery information. In Fig. 3, ■) Time information WRITE CNT is the number of times the EEPROM is rewritten, and when this value reaches a predetermined value, the EEPROM is divided into multiple parts.
Among the storage areas of the EPROM, one of the storage areas to which no data has been written is made valid, and information to be backed up from now on is stored in that storage area. This method can extend the life of the EEPROM. 5EWTNG TIME is the cumulative value of embroidery time, which allows you to know the total operating time of the embroidery Pa@, and can be used for maintenance of mechanisms such as lubrication, and for determining when to replace the sewing machine motor brush due to wear. I can do it. ON TIME is the cumulative value of the power supply time, and is the cumulative value of the power supply time.
It can be used as a guideline for determining when to maintain or replace electronic components such as TROLUMINESCENCE. 2) Hardware setting information LEN UNIT indicates the selected and set unit of pattern length, and is display data in inches or millimeters. A value that determines the volume of the buzzer is stored in DA BZ, and the volume can be adjusted by inputting the voltage of this value to the buzzer driving device. A value for adjusting the brightness of the LCD is stored in the DA LCD, and the brightness can be adjusted by inputting a voltage of this value to the LCD. LEN UNITSDA BZXDA The hardware setting information of the LCD can be changed by key operations on the embroidery machine, but the changed values are stored in the EEPROM, so they must be set every time the embroidery machine is turned on. There's no need. 3) Sewing parameter information SIZE, LAYOtJT, NEEDLE PO3゜FONT is sewing parameter information necessary when reading the compressed data of the embroidery pattern from the FD and expanding it to the needle seat source for each stitch. SIZE indicates the size of the pattern when developing the embroidery data. LAYOUT indicates the arrangement of patterns when developing embroidery data. NEEDLE PO3 indicates the initial needle position of the pattern when embroidering is executed. FONT is information for determining which font to read when reading pattern data from the FD. 4) Interrupted embroidery information #1 (IF I LE, HOME PO5, S
T CNT) ~ #n (I FILE, HOME
PO3°ST CNTl is interrupted embroidery information that is stored in the EEPROM when execution of embroidery is interrupted for some reason. I FILE records the code number of the interrupted pattern and the sewing parameters of the developing conditions. HOME PO5 records the embroidery position (first stitch value) of the interrupted pattern. ST CNT records the number of stitches at which embroidery was interrupted. Based on this interrupted embroidery information, embroidery can be resumed from the interrupted position. O Processing procedure The processing procedure of this embodiment will be explained below with reference to FIG. 1 (main program) and FIG. 2 (timer interrupt). These processes start when the embroidery machine is powered on. In FIG. 1 (Part 1), (STI) various information of the currently valid storage area of the first storage means, EEF ROM, which is divided into a plurality of storage areas, is transferred to the second storage means. Write to the RAM buffer area. The various information that is written includes: - Number of times EEPROM is rewritten WRITE CNT - Cumulative embroidery value during embroidery 5 EWING TIME - Cumulative value of energizing time - Time information such as N TIME - Unit of length of embroidery pattern LEN tJNIT - Buzzer sound DAI'lDA BZ ■DA value of LCD brightness DA Setting information of hardware such as LCD ■Sewing parameter information such as size, arrangement, initial needle position of embroidery pattern, font, etc. ■Information on patterns whose embroidery was not completed in the previous work This is interrupted embroidery information. (ST2-a) Check whether the cumulative value of embroidery time 5EWING TIME copied to the RAM buffer area has reached a predetermined value (lubricating time), and if so, 5T2-b
Execute. (ST2-b) The cumulative embroidery time of the embroidery machine has reached the lubrication time, so
Displays "Lubrication" on the LCD to alert the operator to the need to lubricate each mechanical part. This warning can be activated by pressing the 5EWING TIM key.
It is displayed when the power is turned on until E is cleared. (ST3-a) Hardware setting information (LENUNIT) shown in Figure 3
, DA BZ, DA LCD), execute 5T3-b. If not changed, proceed to the next step 5T4-a. (ST3-b) Key operations are used to change the length unit to millimeters or inches, and to change the buzzer volume and LCD brightness. (ST4-a) ALP) (Use the ABET key, NU, MERIC key, and MEMORY key to input the pattern you want to embroider, and press R.
Register in AM's working memory (work area). Furthermore, if there is interrupted embroidery, this pattern can also be selected by key operation and re-embroidered. (ST4-b) When it is desired to change the sewing parameters as development conditions for the pattern selected in ST4-a, the sewing parameters are changed by key operation. If no changes are made, the backed up parameters will be used. (ST5) The embroidery data corresponding to the input pattern is read from the 70-tube disk FD and stored in the data area of the RAM. (ST6) Wait for the START key to be pressed. When the 5TART key is pressed, embroidery begins. (ST7) Needle position detection sensor PHASE, thread breakage detection sensor UPP
Read and register the status of ERTHREAD, etc. 5 more TO
Check the state of the key to recognize whether the P key has been pressed. (ST8) If there is no interruption during detection of thread breakage, operation of the 5TOP key, color change, etc., execute ST9.5TIO1STII below. (ST9) Drive the sewing machine motor ZM to move the needle bar up and down. (ST I O) Determine whether the needle position detection sensor PHASE has reached the upper phase from the lower group, and when it has reached the upper phase, execute 5Tll. If not, proceed to 5T12. (STII) Move the embroidery frame to the position specified by the embroidery data to form the pattern. (ST 12) Determine if embroidery is finished, and if it is finished, 5T
Proceed to step 19, and if not finished yet, sT7-5T
Repeat step 12. - When there is a stop on the way The case where there is a stop on the way will be explained with reference to FIG. 1 (Part 2). (ST13) Stop the sewing machine motor ZM and stop the operation of the embroidery machine. (ST14) If the pattern currently being embroidered does not exist in the RAM buffer area as interrupted embroidery information, 5T15 is executed. If the interrupted embroidery information already exists, the process advances to 5T16. (ST l 5) Create an interrupted embroidery information area in the RAM buffer area for the pattern currently being embroidered, and store the pattern code number, sewing parameters, sewing start point coordinates, and current number of stitches in that area. register. (ST16) It is determined whether the number of rewrites WRITE CNT of the currently valid storage area of the EEPROM exceeds a predetermined value, and if it is the predetermined value, 5T17 is executed. (ST 17) Split into multiple parts? :The number of times WR is written to the memory area of the EEPROM that has not been written even once.
Check the value of ITE CNT and make the storage area valid. (ST 18) EEPROM (7) Increase the number of rewrites WRITE CNT by 1 and write this WRI in the RAM buffer area.
Various information including TE CNT is written and backed up in the currently valid storage area of the EEPR'OM. Then return to ST6 and wait for the 5TART key to be pressed. Even if the power to the embroidery machine is turned off or a key is operated to cancel embroidery execution for this pattern, the interrupted embroidery information for this pattern is backed up in the EEPROM, so embroidery can be restarted based on this information. It becomes possible to execute. In the case where embroidery ends normally, the process to be performed when embroidery ends normally will be described with reference to FIG. 1 (part 1) again. (ST19) Stop the sewing machine motor ZM and stop the operation of the embroidery machine. (ST20) Determine whether the interrupted embroidery information of the current pattern is registered in the RAM buffer area, and if it is registered, ST
Execute 21. (ST21) The registered interrupted embroidery information of the current pattern is deleted from the RAM buffer area. For patterns where embroidery did not finish properly and was interrupted,
When the same pattern is selected again in step 5T4-a and the embroidery is completed, the interrupted embroidery information is deleted from the buffer area. (ST22) The same process as ST16 is performed. (ST23) The same process as ST17 is performed. (ST24) The same process as ST18 is performed. After the processing, the process returns to ST4 to execute the next embroidery. -Timer interrupt Next, timer interrupt will be explained with reference to FIG. The timer interrupt is executed at 1 second intervals, and the power supply time is ON TIME and the embroidery execution time is 5EWING.
Accurately measure TIME. (ST30) Counts up at 1 second intervals and stores the power supply ON TIME up to the present time. (ST31) It is determined whether the sewing machine motor ZM is in operation, and if it is in operation, ST32 is executed. (ST32) Count up the embroidery execution time 5EWING TIME at 1 second intervals and store the embroidery time up to the present.

【発明の効果】【Effect of the invention】

以上のように本発明によれば、 第1に刺繍時間の累積値5EWING  TIME等の
時間情報が不揮発性記憶素子E E P ROMに保存
されているので、作業者が特に作業時間の集計等を管理
しなくても、刺繍機の注油時期等のメンテナンス情報と
して利用できるという効果が得られる。 第2にサイズSIZE等の縫いパラメータ情報がEEP
ROMに保存されているので、刺繍機の電源投入の度に
縫いパラメータを設定する必要はなく、使い勝手が向上
するという効果が得られる。 また第3に刺繍を中断した場合には、縫いパラメータ、
刺繍始点位置、縫目数等の中断刺繍情報がEEPROM
i:保存されているので刺繍の再実行を容易に行えると
いう効果が得られる。 また第4にEEPROMを複数の記憶エリアに分割し、
それらの各記憶エリアに前記各種情報とEEPRoMへ
の書換え回数WRITE  CNTを記憶していて、書
換え回数WRITE  CNTが所定値に達したら、複
数に分割されたEEPROMの次の記憶エリアに各種情
報を保存するようにしたのでEEPROM自体の寿命を
延ばせるという効果が得られる。
As described above, according to the present invention, firstly, time information such as the cumulative value of embroidery time 5EWING TIME is stored in the non-volatile memory element EEPROM, so that the operator can especially collect the work time. This has the advantage that it can be used as maintenance information, such as when to lubricate the embroidery machine, without having to manage it. Second, sewing parameter information such as size SIZE is EEP
Since the sewing parameters are stored in the ROM, there is no need to set the sewing parameters each time the embroidery machine is powered on, resulting in improved usability. Thirdly, when embroidery is interrupted, the sewing parameters,
Interrupted embroidery information such as embroidery start point position and number of stitches is stored in EEPROM.
i: Since the data is saved, the embroidery can be easily re-executed. Fourth, the EEPROM is divided into multiple storage areas,
Each of these storage areas stores the various information and the number of rewrites WRITE CNT to the EEPRoM, and when the number of rewrites WRITE CNT reaches a predetermined value, the various information is stored in the next storage area of the EEPROM divided into multiple parts. As a result, the life of the EEPROM itself can be extended.

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

図面は本発明の実施例に係り、第1図はメインプログラ
ムに対応する70−チャート、第2図はタイマ割り込み
プログラムに対応するフローチャート、第3図は電源遮
断後にバックアップされる各種情報を示す図、第4図は
制御回路の構成を示す図である。 EEPROMは第1の記憶手段、RAMは第2の記憶手
段である。 WRITE  CNTはE E P ROMの口換え回
数、5EWING  TIMEは刺繍時間の累積値、O
N  TIMEは電源通電時間の累積値で、これらは時
間情報である。 LEN  UNITは長さの単位、DA  BZはブザ
ー音量(7)DA値、D A  L CD ハLCD輝
度のDA値で、これらはハードの設定情報である。 SIZEは刺繍模様のサイズ設定値、LAYOUTは刺
繍模様の配列、NEEDLE  PO3は刺繍模様の初
期針位置、FONTは刺繍模様の書体で、これらは縫い
パラメータ情報である。 I  FILEは中断刺繍のコード番号と縫いパラメー
タ、HOME  PO5は縫い始点座標、5TCNTは
縫目数で、これらは中断刺繍情報であり、複数(辻分割
されたE E P ROMの記憶エリアの1つに格納さ
れるようになっている。 特許山願大 蛇の目ミシン工業株式会社負て 1 図(その2) 492− 第 図
The drawings relate to an embodiment of the present invention; FIG. 1 is a 70-chart corresponding to the main program, FIG. 2 is a flowchart corresponding to the timer interrupt program, and FIG. 3 is a diagram showing various information backed up after power is cut off. , FIG. 4 is a diagram showing the configuration of the control circuit. EEPROM is the first storage means, and RAM is the second storage means. WRITE CNT is the number of times EEPROM is replaced, 5EWING TIME is the cumulative value of embroidery time, O
N TIME is the cumulative value of power supply time, and these are time information. LEN UNIT is the unit of length, DA BZ is the buzzer volume (7) DA value, D A L CD is the DA value of the LCD brightness, and these are hardware setting information. SIZE is the size setting value of the embroidery pattern, LAYOUT is the arrangement of the embroidery pattern, NEEDLE PO3 is the initial needle position of the embroidery pattern, and FONT is the font of the embroidery pattern, and these are sewing parameter information. I FILE is the interrupted embroidery code number and sewing parameters, HOME PO5 is the stitching start point coordinates, and 5TCNT is the number of stitches. Patent Yamagan Dai Janome Sewing Machine Industry Co., Ltd. Figure 1 (Part 2) 492- Figure

Claims (1)

【特許請求の範囲】 I 、予めセットされたプログラムに従って刺繍を自動
的に行うコンピュータ刺繍機において、刺繍時間の累積
値SEWING_TIME等の時間情報と、長さの単位
LEN_UNIT等の設定した後ほとんど変えることの
ないハードウェア上の設定情報と、サイズSIZE等の
縫いパラメータ情報と、刺繍を中断した場合における模
様のコード番号と縫いパラメータ I _FILE等の中
断刺繍情報とを電源遮断後も記憶保持する第1の記憶手
段を有することを特徴とするコンピュータ刺繍機。 II、前記第1の記憶手段は記憶データの電気的消去およ
び電気的書換えが可能なEEPROMであって、EEP
ROMを複数の記憶エリアに分割し、それらの各記憶エ
リアの1つにEEPROMへの書換え回数WRITE_
CNTを含む前記各種情報を記憶していて、刺繍機への
電源投入時、読み書き可能な第2の記憶手段RAMに第
1の記憶手段から前記各種情報を書き移し、刺繍の実行
中は、第2の記憶手段に書き込まれた前記各種情報を書
き換え、刺繍停止信号に応答して第2の記憶手段の各種
情報を第1の記憶手段へ書き移し、書換え回数WRIT
E_CNTが所定値に達した場合、複数に分割されたE
EPROMの次の記憶エリアへ移し変えることを特徴と
する請求項1に記載のコンピュータ刺繍機。III、刺繍
機への電源投入時において、刺繍時間の累積値SEWI
NG_TIMEが所定時間に達する度に注油指示の表示
を行うことを特徴とする請求項1に記載のコンピュータ
刺繍機。 IV、前記した中断刺繍情報の格納エリアは複数セットあ
り、現在実行中の刺繍に途中停止が発生したとき、複数
セットの格納エリアに刺繍の再実行に必要な中断刺繍情
報を登録し、正常に刺繍実行が終了したときに前記中断
刺繍情報を格納エリアから消去することを特徴とする請
求項1に記載のコンピュータ刺繍機。
[Claims] I. In a computer embroidery machine that automatically performs embroidery according to a preset program, time information such as the cumulative value of embroidery time SEWING_TIME, and length unit LEN_UNIT, etc. can be almost changed after setting. The first function is to memorize and retain setting information on hardware that does not have embroidery, sewing parameter information such as size SIZE, and interrupted embroidery information such as the pattern code number and sewing parameter I_FILE when embroidery is interrupted even after the power is turned off. A computer embroidery machine characterized by having a storage means. II. The first storage means is an EEPROM in which stored data can be electrically erased and electrically rewritten;
Divide the ROM into multiple storage areas, and store the number of rewrites to the EEPROM in one of these storage areas.
The various information including the CNT is stored in the first storage means RAM, and when the power is turned on to the embroidery machine, the various information is transferred from the first storage means to the readable/writable RAM. The various information written in the second storage means is rewritten, and in response to the embroidery stop signal, the various information in the second storage means is transferred to the first storage means, and the number of rewrites is WRIT.
When E_CNT reaches a predetermined value, E_CNT is divided into multiple parts.
2. The computer embroidery machine according to claim 1, wherein the computer embroidery machine transfers to the next storage area of the EPROM. III. Cumulative value of embroidery time SEWI when turning on the power to the embroidery machine
2. The computer embroidery machine according to claim 1, wherein a lubrication instruction is displayed each time NG_TIME reaches a predetermined time. IV. There are multiple sets of storage areas for the interrupted embroidery information mentioned above, so when a stop occurs in the middle of the embroidery currently being executed, the interrupted embroidery information necessary to re-execute the embroidery is registered in the multiple sets of storage areas, and the embroidery is completed normally. The computer embroidery machine according to claim 1, wherein the interrupted embroidery information is deleted from the storage area when the embroidery execution is completed.
JP13906389A 1989-06-02 1989-06-02 Computer embroidery machine Expired - Fee Related JP2756701B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13906389A JP2756701B2 (en) 1989-06-02 1989-06-02 Computer embroidery machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13906389A JP2756701B2 (en) 1989-06-02 1989-06-02 Computer embroidery machine

Publications (2)

Publication Number Publication Date
JPH038859A true JPH038859A (en) 1991-01-16
JP2756701B2 JP2756701B2 (en) 1998-05-25

Family

ID=15236629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13906389A Expired - Fee Related JP2756701B2 (en) 1989-06-02 1989-06-02 Computer embroidery machine

Country Status (1)

Country Link
JP (1) JP2756701B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05228275A (en) * 1991-02-27 1993-09-07 Janome Sewing Mach Co Ltd Embroidery sewing machine
US9780069B2 (en) 2009-06-18 2017-10-03 Rohm Co., Ltd. Semiconductor device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05228275A (en) * 1991-02-27 1993-09-07 Janome Sewing Mach Co Ltd Embroidery sewing machine
US9780069B2 (en) 2009-06-18 2017-10-03 Rohm Co., Ltd. Semiconductor device

Also Published As

Publication number Publication date
JP2756701B2 (en) 1998-05-25

Similar Documents

Publication Publication Date Title
GB2073445A (en) Automatic sewing machine
JPS6057358B2 (en) Sewing machine automatic programming device
JPS6013714B2 (en) sewing machine
JP2770045B2 (en) Computer embroidery machine
JPH038859A (en) Computer embroidery machine
JP4826692B2 (en) Sewing machine programming device
US6370443B2 (en) Embroidery machine with operation-data storing function and method for controlling same
JP2000185184A (en) Sewing machine
JPH042388A (en) Sewing start-point recovering device for automatic embroidering machine
JP2764631B2 (en) Stop sewing controller of sewing machine
JP3874214B2 (en) Display control device for embroidery machine
JPH0335955B2 (en)
JP3510905B2 (en) Sewing machine embroidery equipment
JPH10323470A (en) Program type electronic sewing machine
JP3956281B2 (en) Memory card mounted embroidery controller
JP2001137580A (en) System of recovering sewing start point of automatic embroidering machine
JP2686967B2 (en) Automatic embroidery sewing machine
JP2879275B2 (en) Automatic thread trimming sewing machine for pattern sewing
JP2003053074A (en) Device for preparing program for sewing machine
JPH072198B2 (en) Control device for data selection means of sewing machine
JP2909994B2 (en) Frame movement control device of automatic embroidery machine
JPH10323472A (en) Program type electronic sewing machine
JP2984453B2 (en) Automatic block stitch sewing machine for pattern sewing
JP2764627B2 (en) Safety device for detachable external memory of sewing machine
JPH0228810A (en) Cnc device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080313

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090313

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees