JP2597506B2 - Automatic embroidery machine - Google Patents

Automatic embroidery machine

Info

Publication number
JP2597506B2
JP2597506B2 JP63255975A JP25597588A JP2597506B2 JP 2597506 B2 JP2597506 B2 JP 2597506B2 JP 63255975 A JP63255975 A JP 63255975A JP 25597588 A JP25597588 A JP 25597588A JP 2597506 B2 JP2597506 B2 JP 2597506B2
Authority
JP
Japan
Prior art keywords
data
sewing
switch
stitch
embroidery
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.)
Expired - Fee Related
Application number
JP63255975A
Other languages
Japanese (ja)
Other versions
JPH02104759A (en
Inventor
郁夫 田島
英男 長谷川
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.)
Tokai Kogyo Sewing Machine Co Ltd
Original Assignee
Tokai Kogyo 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 Tokai Kogyo Sewing Machine Co Ltd filed Critical Tokai Kogyo Sewing Machine Co Ltd
Priority to JP63255975A priority Critical patent/JP2597506B2/en
Publication of JPH02104759A publication Critical patent/JPH02104759A/en
Application granted granted Critical
Publication of JP2597506B2 publication Critical patent/JP2597506B2/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)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、刺繍柄における任意のステッチの縫いデ
ータに対して変更・修正等のデータ編集を行うことがで
きるようにした自動刺繍機に関し、特に、所望の刺繍柄
を表示装置の画面上に表示させ、該表示装置の画面上で
該刺繍柄を確認しながら、該縫いデータの任意のステッ
チに対してデータの変更・設定等ができるようにした自
動刺繍機に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic embroidery machine capable of performing data editing such as change / correction on sewing data of an arbitrary stitch in an embroidery pattern. In particular, a desired embroidery pattern is displayed on the screen of the display device, and while the embroidery pattern is being checked on the screen of the display device, data can be changed / set for an arbitrary stitch of the sewing data. To an automatic embroidery machine.

〔従来の技術〕[Conventional technology]

自動刺繍機においては、紙テープ等の外部記憶装置に
種々の刺繍柄に対応する縫いデータを記憶しておき、所
望の刺繍柄に対応する縫いデータを読み込んでデータメ
モリに記憶するようになっており、この縫いデータに基
づいて刺繍縫い動作を実行する。従来の自動刺繍機で
は、データメモリに記憶されている縫いデータの内容を
変更する場合は、刺繍機を運転して縫いデータの刺繍を
実際に行い、実際の刺繍柄を確認したのち、所望のデー
タ編集作業を実行しなければならなかった。
In an automatic embroidery machine, sewing data corresponding to various embroidery patterns is stored in an external storage device such as a paper tape, and sewing data corresponding to a desired embroidery pattern is read and stored in a data memory. The embroidery sewing operation is executed based on the sewing data. In the conventional automatic embroidery machine, when changing the contents of the sewing data stored in the data memory, the embroidery machine is operated to actually embroider the sewing data, and after confirming the actual embroidery pattern, Data editing had to be performed.

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

そのため、縫いデータの確認を行うために実際に刺繍
縫い動作を行わなければならず、刺繍縫いデータの変更
・設定・修正等の編集作業が煩雑となり、手間及び時間
がかかるものとなっていた。
Therefore, the embroidery sewing operation must be actually performed in order to confirm the sewing data, and editing work such as change, setting, and correction of the embroidery sewing data becomes complicated, and it takes time and effort.

この発明は、上述の点に鑑みてなされたもので、表示
装置の画面上で刺繍柄を確認しながら縫いデータの編集
を行うことができるようにした自動刺繍機を提供しよう
とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and it is an object of the present invention to provide an automatic embroidery machine capable of editing sewing data while checking an embroidery pattern on a screen of a display device. .

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

この発明に係る自動刺繍機は、任意の刺繍柄に対応す
る刺繍縫い動作を実現するための1ステッチ毎の縫いデ
ータを記憶する縫いデータ記憶手段と、この縫いデータ
に応じて刺繍縫い動作を実行する手段とを具えた自動刺
繍機において、前記縫いデータ記憶手段に記憶した縫い
データに対応する刺繍柄模様を図形表示するための表示
手段と、前記表示手段の画面上において、表示された刺
繍柄模様図形における所望のステッチ位置に対応する位
置をカーソルに指定するための指定手段と、この指定手
段により指定された特定のステッチ位置に対応する前記
縫いデータの内容を変更若しくは設定するためのデータ
編集手段と、前記指定手段により指定された特定のステ
ッチ位置に対応する前記縫いデータ記憶手段内の前記縫
いデータの記憶内容を、前記データ編集手段による変更
若しくは設定内容に従って、書き替える制御手段とを具
えたものである。これを図によって示すと第1図のよう
であり、1が縫いデータ記憶手段、2が刺繍縫い動作実
行手段、3が表示手段、4が指定手段、5がデータ編集
手段、6が制御手段、である。
An automatic embroidery machine according to the present invention stores sewing data for each stitch for realizing an embroidery sewing operation corresponding to an arbitrary embroidery pattern, and executes an embroidery sewing operation according to the sewing data. An embroidery pattern display means for graphically displaying an embroidery pattern corresponding to the sewing data stored in the sewing data storage means; and an embroidery pattern displayed on a screen of the display means. Designation means for designating a position corresponding to a desired stitch position in a pattern figure with a cursor, and data editing for changing or setting the contents of the sewing data corresponding to a specific stitch position designated by the designation means Means and storage contents of the sewing data in the sewing data storage means corresponding to a specific stitch position designated by the designation means , According to the changed or set contents according to the data editing means, in which and control means for rewriting. This is illustrated in FIG. 1 in which 1 is sewing data storage means, 2 is embroidery sewing operation executing means, 3 is display means, 4 is designation means, 5 is data editing means, 6 is control means, It is.

〔作用〕[Action]

表示手段3においては、縫いデータ記憶手段1に記憶
した縫いデータに対応する刺繍柄模様を図形表示する。
この表示手段3の画面上において、表示された刺繍柄模
様図形における所望のステッチ位置に対応する位置を、
指定手段4によりカーソル指定する。カーソル指定され
た特定のステッチ位置に対応する前記縫いデータの内容
を変更若しくは設定するための適宜のデータ編集処理を
データ編集手段5により行う。そして、このデータ編集
手段5による変更若しくは設定内容に従って、前記カー
ソル指定された特定のステッチ位置に対応する前記縫い
データ記憶手段1内の前記縫いデータの記憶内容を、書
き替える処理を制御手段6により行う。
The display means 3 graphically displays an embroidery pattern corresponding to the sewing data stored in the sewing data storage means 1.
On the screen of the display means 3, the position corresponding to the desired stitch position in the displayed embroidery pattern graphic is displayed.
The cursor is designated by the designation means 4. The data editing means 5 performs an appropriate data editing process for changing or setting the contents of the sewing data corresponding to the specific stitch position designated by the cursor. The control unit 6 performs a process of rewriting the storage content of the sewing data in the sewing data storage unit 1 corresponding to the specific stitch position designated by the cursor in accordance with the change or setting by the data editing unit 5. Do.

例えば、表示手段3によって表示された刺繍柄の一例
を示すと、第4図のようであるとし、該刺繍柄のa点及
びb点のステッチに対応して糸色変えを行うための「停
止コード」が登録されているとする。この場合には、こ
の刺繍柄は3色で刺繍縫いが実行される。つまり、スタ
ート点からa点までは第1の糸色、a点からb点までは
第2の糸色、b点から終了点までは第3の糸色によって
夫々刺繍縫いされる。この状態で、表示手段3の画面を
見て、刺繍柄の例えば、c,d,e点で夫々更に糸色換えを
行うことを希望したと仮定する。その場合、指定手段4
(例えばカーソル)により表示手段3の画面上に表示さ
れている刺繍柄の所望の位置(ここではc,d,e点)をそ
れぞれ指定し、データ編集手段5により指定した各点の
ステッチに対応してファンクションデータとして「停止
コード」を夫々設定する。そうすると、糸色換えが5回
行われるようになり、刺繍柄は6色で縫われるようにな
る。
For example, an example of the embroidery pattern displayed by the display means 3 is as shown in FIG. 4, and "stop" for changing the thread color corresponding to the stitches at points a and b of the embroidery pattern is shown. Code is registered. In this case, the embroidery pattern is embroidered in three colors. That is, embroidery is performed by the first thread color from the start point to the point a, by the second thread color from the point a to the point b, and by the third thread color from the point b to the end point. In this state, it is assumed that the user looks at the screen of the display means 3 and desires to further change the thread color at each of the embroidery patterns, for example, at points c, d, and e. In that case, the designation means 4
A desired position (here, points c, d, and e) of the embroidery pattern displayed on the screen of the display means 3 is designated by a cursor (for example, a cursor), and corresponds to the stitch of each point designated by the data editing means 5. Then, a "stop code" is set as each function data. Then, the thread color change is performed five times, and the embroidery pattern is sewn in six colors.

このように、本発明によれば、刺繍柄を表示手段に表
示して画面上で刺繍柄を確認しながら所望のステッチ位
置を指定し、該ステッチ位置に対応する縫いデータの変
更・修正等のデータ編集処理を行うようにしたので、所
望のステッチ位置に対応する縫いデータの変更・修正等
のデータ編集処理を迅速かつ極めて簡便に行うことがで
きるようになる。
As described above, according to the present invention, a desired stitch position is designated while the embroidery pattern is displayed on the display means and the embroidery pattern is confirmed on the screen, and a change / correction of the sewing data corresponding to the stitch position is performed. Since the data editing process is performed, the data editing process such as changing / correcting the sewing data corresponding to the desired stitch position can be performed quickly and extremely easily.

〔実施例〕〔Example〕

以下、本発明の一実施例につき、添付図面を参照して
詳細に説明しよう。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第2図は本発明に係る自動刺繍機の制御システムの一
実施例を示すハード構成図である。CPU11,プログラムRO
M12,ワーキングRAM13を含むマイクロコンピュータによ
ってこの自動刺繍機全体の動作が制御される。データRA
M14は、所望の刺繍柄模様を実現する縫いデータ及びそ
の他刺繍縫いに関連する各種のデータを記憶するもので
ある。
FIG. 2 is a hardware configuration diagram showing an embodiment of a control system for an automatic embroidery machine according to the present invention. CPU11, program RO
The operation of the entire automatic embroidery machine is controlled by a microcomputer including the M12 and the working RAM 13. Data RA
M14 stores sewing data for realizing a desired embroidery pattern and various data related to embroidery sewing.

画像メモリGPMは、操作パネル部15の表示装置DPYに表
示するための画像データを記憶するものであり、例えば
RAMからなる。例えば、刺繍柄模様を表示するための画
像データやその他の種々の画像をデータがこの画像メモ
リGPMに記憶される。表示装置DPYは、例えば、CRTディ
スプレイからなり、画像メモリGPMから読み出した画像
データに基づき刺繍柄模様等の画像を表示したり、その
他必要な文字・図形等を表示する。
The image memory GPM stores image data to be displayed on the display device DPY of the operation panel unit 15.
Consists of RAM. For example, image data for displaying an embroidery pattern and various other images are stored in the image memory GPM. The display device DPY includes, for example, a CRT display, and displays an image such as an embroidery pattern and the like, and displays other necessary characters and graphics based on the image data read from the image memory GPM.

操作パネル部15は、各種設定スイッチ等から成るスイ
ッチ部KBや表示装置DPY等を含むものである。紙テープ
リーダ16は、紙テープに記録された縫いデータ(1ステ
ッチ毎の刺繍枠の位置を指示するX,Yデータ、並びに色
換え、ミシン主軸停止、ジャンプ等の刺繍ミシンの各動
作を指示するファンクションデータなど、刺繍縫い動作
に直接関連するデータ)の読出しを行なうものであり、
任意の刺繍柄を実現する縫いデータを記録した紙テープ
17がセットされる。この紙テープリーダ16を介して紙テ
ープ17から読み取った縫いデータがデータRAM14に転送
記憶される。
The operation panel unit 15 includes a switch unit KB including various setting switches and the like, a display device DPY, and the like. The paper tape reader 16 stores the sewing data recorded on the paper tape (X, Y data indicating the position of the embroidery frame for each stitch, and function data indicating each operation of the embroidery sewing machine such as color change, sewing machine spindle stop, jump, etc.). , Which directly relates to the embroidery sewing operation).
Paper tape that records sewing data to realize any embroidery pattern
17 is set. The sewing data read from the paper tape 17 via the paper tape reader 16 is transferred and stored in the data RAM 14.

X軸パルスモータ18は刺繍枠20をX軸方向に移動させ
るものであり、Y軸パルスモータ19は刺繍枠20をY軸方
向に移動させるものである。前記パルスモータ18,19に
はパルスモータドライバ21を介して駆動信号が与えられ
る。
The X-axis pulse motor 18 moves the embroidery frame 20 in the X-axis direction, and the Y-axis pulse motor 19 moves the embroidery frame 20 in the Y-axis direction. A drive signal is applied to the pulse motors 18 and 19 via a pulse motor driver 21.

主軸モータ22はこの自動刺繍機のミシン主軸23を回転
駆動させるものであり、周知のように、このミシン主軸
23の回転に応じて鉄棒や釜が駆動される。ロータリエン
コーダ24は前記主軸23(若しくはモータ22)の回転角度
を検出するものである。
The spindle motor 22 is for rotating and driving the sewing machine spindle 23 of this automatic embroidery machine.
The iron bar and the shuttle are driven according to the rotation of 23. The rotary encoder 24 detects a rotation angle of the main shaft 23 (or the motor 22).

1つの縫いヘッドHDが多針本縫いヘッドであるとする
と、このヘッドHDは、複数の針棒(各針棒には異なる色
の糸が夫々取付けられている)を具えている。色換モー
タ25は、その回転駆動によって、該ヘッドHDの複数の針
棒のうち1つ選択して該ヘッドHD内の針棒駆動機構によ
って駆動され得るようにする。針棒駆動機構はミシン主
軸23の回転に応じて針棒を上下動させるものであり、周
知のものであるため、特に図示しない。縫いヘッドHD
は、1個に限らず、複数個併設されていてよい。
Assuming that one sewing head HD is a multi-needle lockstitch head, this head HD includes a plurality of needle bars (threads of different colors are respectively attached to the needle bars). The rotation of the color changing motor 25 allows one of the plurality of needle bars of the head HD to be selected and driven by a needle bar driving mechanism in the head HD. The needle bar drive mechanism moves the needle bar up and down in accordance with the rotation of the main shaft 23 of the sewing machine. Sewing head HD
Is not limited to one, and may be provided in plurality.

起動/停止スイッチ26はバースイッチからなり、バー
を例えば右方向に操作すると起動スイッチオンとなり、
左方向に操作すると停止スイッチオンとなる。起動スイ
ッチオンのときはミシン主軸23の回転が開始され、停止
スイッチオンのときはミシン主軸23の回転が停止され
る。
The start / stop switch 26 includes a bar switch. When the bar is operated, for example, to the right, the start switch is turned on,
When operated to the left, the stop switch is turned on. When the start switch is on, the rotation of the sewing machine spindle 23 is started, and when the stop switch is on, the rotation of the sewing machine spindle 23 is stopped.

自動刺繍機においては更にその他の装置・機器が設け
られるが、それらに関しては図示を省略する。自動刺繍
機の制御システムを構成する各装置は、インタフェース
I/Fを介してマイクロコンピュータとの間で信号を授受
する。
In the automatic embroidery machine, other devices and devices are provided, but they are not shown. Each device constituting the control system of the automatic embroidery machine has an interface
Signals are exchanged with the microcomputer via the I / F.

操作パネル部15に設けられたスイッチ部KB及び表示装
置DPYの一例を示すと、第3図のようである。
FIG. 3 shows an example of the switch unit KB and the display device DPY provided in the operation panel unit 15.

表示装置DPYは、様々なデータの設定時に設定中のデ
ータを表示したり、あるいは設定済みの各種データの内
容の確認のためにこれを表示したり、あるいはその他必
要な情報を表示したりするためのものであり、文字表示
及び必要に応じて図形表示も可能なものである。表示装
置DPYは、いくつかの表示モードで使用することがで
き、その表示モードの1つとして様々なデータの設定あ
るいはその設定内容の確認表示のための表示モードがあ
る。その場合、第3図に例示したように、表示装置DPY
は、その上段で比較的大きなエリアを占める設定内容表
示部DPY1と、その下段のファンクションスイッチ説明表
示部DPY2とに分かれて機能する。例えば、この表示装置
DPYとして、ブラウン管式のカラーディスプレイを用い
ることができる。
The display device DPY displays the data being set when setting various data, or displays the data to confirm the contents of various set data, or displays other necessary information. And can also display characters and, if necessary, graphics. The display device DPY can be used in several display modes. As one of the display modes, there is a display mode for setting various data or confirming the set contents. In that case, as illustrated in FIG. 3, the display device DPY
The function functions separately in a setting content display section DPY1 occupying a relatively large area in the upper part and a function switch description display part DPY2 in the lower part. For example, this display device
A CRT color display can be used as the DPY.

スイッチ部KBの左上方に、6つのファンクションスイ
ッチF1〜F6が設けられている。前述のファンクションス
イッチ説明表示部DPY2は、これらの各ファンクションス
イッチF1〜F6に現在割当てられている機能を説明する表
示を行うものである。各ファンクションスイッチF1〜F6
に対する機能割当て状態によっては、左側の5つのファ
ンクションスイッチF1〜F5が実質的な各種データの設定
機能等に対応するファンクションスイッチとなり、残り
のスイッチF6が次候補(NEXT)選択キーとして機能する
ことがある。ファンクションスイッチ説明表示部DPY2
は、各ファンクションスイッチF1〜F6に対応する6つの
表示枠からなり、F1〜F6に対応する各表示枠には、各フ
ァンクションスイッチF1〜F6に現在割当てられている機
能を説明する表示(例えば、この表示は「データ入力」
あるいは「プロコン」等の文字からなる)が現れる。そ
の場合、ファンクションスイッチF6が次候補選択キーと
して機能しているならば、F6に対応する表示枠には、そ
の次候補選択キー機能を説明する表示「NEXT」が現れ
る。
Six function switches F1 to F6 are provided at the upper left of the switch unit KB. The above-described function switch description display section DPY2 performs display for explaining the function currently assigned to each of these function switches F1 to F6. Function switches F1 to F6
Depending on the function allocation state, the left five function switches F1 to F5 may be function switches corresponding to substantial various data setting functions and the like, and the remaining switch F6 may function as a next candidate (NEXT) selection key. is there. Function switch description display section DPY2
Consists of six display frames corresponding to each of the function switches F1 to F6, and each display frame corresponding to each of the function switches F1 to F6 has a display (for example, a display for explaining a function currently assigned to each of the function switches F1 to F6). This display is "Data entry"
Or, it consists of characters such as "procon". In this case, if the function switch F6 functions as a next candidate selection key, a display "NEXT" explaining the next candidate selection key function appears in the display frame corresponding to F6.

プログラムモードとは、所望の刺繍柄を実現するため
の刺繍縫いプログラムに関連する各種のデータの設定
(例えば、所望の刺繍柄に対応する縫いデータの入力す
なわち「データ入力」や糸色換え手順の設定すわなち
「プロコン」など)を行うモードである。運転モードと
は、刺繍機の運転開始に先だって各種の運転条件(例え
ばミシン主軸回転数等)の設定を行うモードである。
The program mode is a setting of various data related to an embroidery sewing program for realizing a desired embroidery pattern (for example, input of sewing data corresponding to a desired embroidery pattern, that is, “data input” or a thread color change procedure). This is a mode for setting (ie, “program control”). The operation mode is a mode for setting various operation conditions (for example, the rotation speed of the sewing machine main shaft) before the operation of the embroidery machine starts.

表示切換スイッチSW1は、表示装置DPYの表示モードを
切り換えるためのものである。例えば、図示のように設
定内容表示部DPY1とファンクションスイッチ説明表示部
DPY2とに分けて表示装置を使用する表示モードから別の
表示モードに切り換えるときにこの表示切換スイッチSW
1を操作する。
The display changeover switch SW1 is for switching the display mode of the display device DPY. For example, as shown in the figure, the setting content display section DPY1 and the function switch explanation display section
This display changeover switch SW is used to switch from the display mode using the display device separately to DPY2 to another display mode.
Operate 1

プログラムモードスイッチSW2は、この刺繍機の動作
モードを上記プログラムモードに設定するときに操作す
るスイッチである。
The program mode switch SW2 is a switch operated when setting the operation mode of the embroidery machine to the program mode.

運転モードスイッチSW3は、この刺繍機の動作モード
を上記運転モードに設定するときに操作するスイッチで
ある。
The operation mode switch SW3 is a switch operated when setting the operation mode of the embroidery machine to the operation mode.

枠移動キースイッチFKYは、刺繍枠20を手動操作で移
動させるときに操作するスイッチである。テンキースイ
ッチTKYは各種の数値データを入力するためのスイッチ
である。設定確認スイッチSW4は、各種のデータ設定操
作において、設定内容を確認するときに操作するスイッ
チである。セットスイッチSW5は、テンキースイッチTKY
によって入力した数値データの登録若しくはファンクシ
ョン設定完了時に操作されるものであり、リターンキー
として機能する。
The frame movement key switch FKY is a switch operated when the embroidery frame 20 is moved manually. The numeric key switch TKY is a switch for inputting various numerical data. The setting confirmation switch SW4 is a switch operated when confirming the setting contents in various data setting operations. Set switch SW5 is a numeric key switch TKY
Is operated when registration of numerical data input or function setting is completed, and functions as a return key.

停止コード登録スイッチSW10は、所望の縫い動作ステ
ップに対応してファンクションデータとして「停止コー
ド」を登録する場合に、操作するスイッチである。
The stop code registration switch SW10 is a switch operated when a "stop code" is registered as function data corresponding to a desired sewing operation step.

フォワードスイッチSW11は、表示装置DPYにおけるカ
ーソル表示をステッチ単位で前進移動させるために操作
されるスイッチである。
The forward switch SW11 is a switch operated to move the cursor display on the display device DPY forward in stitch units.

バックスイッチSW12は、表示装置DPYにおけるカーソ
ル表示をステッチ単位で後退移動させるために操作され
るスイッチである。
The back switch SW12 is a switch operated to move the cursor display on the display device DPY backward in stitch units.

縫いデータの編集を行うために表示装置DPYにおいて
該縫いデータに対応する刺繍柄模様を表示する場合、刺
繍柄模様と共にカーソルが表示さ、縫いデータの変更・
修正を行うべき所望のステッチをこのカーソルにより指
示する。フォワードスイッチSW11又はバックスイッチSW
12の操作によりこのカーソルの位置をステッチ単位で前
進又は後退させることにより、縫いデータ(X,Yデータ
およびファンクションデータ)の変更・修正を行いたい
所望のステッチを指定する。
When the embroidery pattern corresponding to the sewing data is displayed on the display device DPY to edit the sewing data, a cursor is displayed together with the embroidery pattern, and the sewing data is changed.
The desired stitch to be corrected is indicated by this cursor. Forward switch SW11 or back switch SW
By moving the cursor forward or backward in stitch units by the operation 12, a desired stitch to change or correct the sewing data (X, Y data and function data) is designated.

次に、マイクロコンピュータの制御の下で、第2図の
自動刺繍機によって実行される動作のうち特に本発明に
関連する部分の動作につき、第5図以下のフローチャー
トを参照して説明する。
Next, among the operations executed by the automatic embroidery machine shown in FIG. 2 under the control of the microcomputer, the operation of the portion particularly related to the present invention will be described with reference to the flowcharts shown in FIG.

自動刺繍機の電源が入れられると、第5図に示すよう
に、まず所定のイニシャルルーチンを経てミシン主軸停
止ルーチンに進む。各種のデータ設定処理動作はこのミ
シン主軸停止ルーチンにおいて実行される。非運転時は
このミシン主軸停止ルーチンを常時実行しており、起動
/停止スイッチ26により起動スイッチオンにされると、
運転ルーチンに移る。運転ルーチンでは、ミシン主軸23
を駆動し、該主軸の1回転に同期して1ステッチ毎の縫
いデータを順次読み出し、これに基づき刺繍縫い動作を
行う。
When the power of the automatic embroidery machine is turned on, as shown in FIG. 5, the process first proceeds to a sewing machine spindle stop routine through a predetermined initial routine. Various data setting processing operations are executed in this sewing machine spindle stop routine. When the machine is not in operation, the sewing machine spindle stop routine is constantly executed. When the start switch is turned on by the start / stop switch 26,
Move to operation routine. In the operation routine, the sewing machine spindle 23
, And sequentially reads sewing data for each stitch in synchronization with one rotation of the spindle, and performs an embroidery sewing operation based on the data.

ミシン主軸停止ルーチンの一例につき、第6図(a)
〜(d)を参照して説明する。第6図(a)における停
止イニシャルルーチンにおいては、ミシン停止時におけ
る所定のイニシャル処理を行う。次のステップ30では、
動作モードフラッグの内容に基づき、動作モードが運転
モードであるか、プログラムモードであるかを調べる。
動作モードは、後述するように、プログラムモードスイ
ッチSW2をオンにすることによりプログラムモードとな
り、運転モードスイッチSW3をオンすることにより運転
モードとなる。運転モードであれば、第6図(b)のス
テップ53に行き運転モードにおける各種データの設定処
理を実行する。
FIG. 6A shows an example of the sewing machine spindle stop routine.
This will be described with reference to FIGS. In the stop initial routine shown in FIG. 6A, a predetermined initial process is performed when the sewing machine stops. In the next step 30,
Whether the operation mode is the operation mode or the program mode is checked based on the contents of the operation mode flag.
As described later, the operation mode is set to the program mode by turning on the program mode switch SW2, and is set to the operation mode by turning on the operation mode switch SW3. If it is the operation mode, the process goes to step 53 in FIG. 6 (b) to execute various data setting processing in the operation mode.

プログラムモードであれば、ステップ31以降のルーチ
ンにいき、プログラムモードにおける各種データの設定
処理を行う。プログラムモードにおける各種データの設
定モードの選択は、表示装置DPYのファンクションスイ
ッチ説明表示部DPY2における説明を参照して、ファンク
ションスイッチF1〜F6の操作によって行う。
If it is in the program mode, the process proceeds to the routine from step 31 onward, and various data setting processes in the program mode are performed. The selection of the setting mode of various data in the program mode is performed by operating the function switches F1 to F6 with reference to the description in the function switch description display section DPY2 of the display device DPY.

ステップ31では、「データ入力設定スイッチオン」か
を調べる。ここでは、「データ入力設定モード」の機能
がファンクションスイッチF1に割当てられており、この
ファンクションスイッチF1がオンされたかを調べるので
ある。「データ入力設定モード」とは、所望の刺繍柄に
対応する縫いデータを紙テープ17から取り込む(これを
「メモリ書込みモード」という)か、あるいはデータRA
M14から読み出す(これを「メモリ読み出しモード」と
いう)か、どちらかにするかの設定を行うモードであ
る。YESであれば、ファンクションスイッチ説明表示部D
PY2の表示内容を「データ入力設定モード」における下
位表示に切り換え、ステップ32に移る。この場合、ファ
ンクションスイッチ説明表示部DPY2では、「データ入力
設定モード」における下位表示として、ファンクション
スイッチF1に対応して上記「メモリ読み出しモード」を
示す表示を行い、ファンクションスイッチF2に対応して
上記「メモリ書込みモード」を示す表示を行う。
In step 31, it is checked whether "data input setting switch is on". Here, the function of the "data input setting mode" is assigned to the function switch F1, and it is checked whether the function switch F1 is turned on. The "data input setting mode" means that the sewing data corresponding to the desired embroidery pattern is taken from the paper tape 17 (this is referred to as a "memory writing mode") or the data RA
This is a mode for setting whether to read from M14 (this is referred to as “memory read mode”) or one of them. If YES, function switch description display section D
The display content of PY2 is switched to the lower display in the “data input setting mode”, and the process proceeds to step S32. In this case, in the function switch description display section DPY2, as the lower display in the “data input setting mode”, the display indicating the “memory read mode” is performed in correspondence with the function switch F1, and the “ A display indicating "memory write mode" is performed.

ステップ32では、ファンクションスイッチF1がオンさ
れたか、つまり、上記「メモリ読み出しモード」が選択
されたか、を調べる。データRAM14の所定のアドレス領
域に記憶されている縫いデータの読み出しを行う場合
は、該ファンクションスイッチF1をオンにして「メモリ
読み出しモード」を選択する。紙テープ等の外部記憶装
置から所望の縫いデータを読み込んでデータRAM14に転
送記憶させる場合は、ファンクションスイッチF2をオン
にして「メモリ書込みモード」を選択する。ファンクシ
ョンスイッチF1がオンされた場合は、ファンクションス
イッチ説明表示部DPY2の表示内容を「読み出し柄番号設
定モード」に切り換えて、ステップ40に行く。ファンク
ションスイッチF2がオンされた場合は、ファンクション
スイッチ説明表示部DPY2の表示内容を「メモリ書込み柄
番号設定モード」に切り換えて、ステップ33に行く。
In step 32, it is checked whether the function switch F1 has been turned on, that is, whether the "memory read mode" has been selected. When reading the sewing data stored in the predetermined address area of the data RAM 14, the function switch F1 is turned on and the "memory read mode" is selected. When desired sewing data is read from an external storage device such as a paper tape and transferred to and stored in the data RAM 14, the function switch F2 is turned on and the "memory writing mode" is selected. When the function switch F1 is turned on, the display content of the function switch description display section DPY2 is switched to the “readout pattern number setting mode”, and the process proceeds to step S40. When the function switch F2 is turned on, the display content of the function switch description display section DPY2 is switched to the “memory writing pattern number setting mode”, and the process proceeds to step 33.

ステップ33では、「メモリ書込み」のための刺繍柄の
番号をテンキースイッチTKYによって設定入力する。刺
繍柄番号とは、例えば紙テープから所望の刺繍柄に対応
する縫いデータを読み込んでデータRAM14にメモリ登録
する場合に該柄に対して任意に設定付与する番号であ
る。設定入力された柄番号はデータRAM14の所定のアド
レス領域に格納され、同時にこの該柄番号に対応する縫
いデータを書き込むためのデータメモリアドレスDMAの
先頭アドレスがコンピュータによって決定され、その先
頭アドレスは該柄番号に対応するデータRAM14の所定の
アドレスに記憶される。
In step 33, the number of the embroidery pattern for "memory writing" is set and input by the ten-key switch TKY. The embroidery pattern number is a number arbitrarily set and assigned to the embroidery pattern when, for example, the sewing data corresponding to the desired embroidery pattern is read from a paper tape and registered in the data RAM 14. The pattern number set and inputted is stored in a predetermined address area of the data RAM 14, and at the same time, the head address of the data memory address DMA for writing the sewing data corresponding to the pattern number is determined by the computer, and the head address is determined by the computer. The data is stored at a predetermined address in the data RAM 14 corresponding to the pattern number.

次のステップ34では、テープスタートスイッチがオン
されたかを調べ、オンされるまで待期する。ファンクシ
ョンスイッチ説明表示部DPY2において「テープスタート
スイッチ」と表示されるいずれかのファンクションスイ
ッチがオンされたかを調べるのである。該テープスター
トスイッチがオンされると、ステップ35に行く。
In the next step 34, it is checked whether or not the tape start switch has been turned on, and the process waits until it is turned on. It is checked whether any of the function switches indicated as "tape start switch" in the function switch explanation display section DPY2 has been turned on. When the tape start switch is turned on, the process proceeds to step 35.

ステップ35では、データRAM14に書き込むためのアド
レス(データメモリアドレスDMA)として、現在処理中
の柄番号に対応する縫いデータを格納するアドレス領域
の先頭アドレスを指定して、次のステップ36に進む。
In step 35, the start address of the address area for storing the sewing data corresponding to the pattern number currently being processed is designated as the address (data memory address DMA) for writing to the data RAM 14, and the process proceeds to the next step 36.

ステップ36では、紙テープリーダ16により紙テープ17
に記録されている1ステッチ分の縫いデータ(X,Yデー
タとファンクションデータ)を読み取る。
In step 36, the paper tape 17 is
The sewing data (X, Y data and function data) for one stitch recorded in is read.

次のステップ37では、ステップ36で読み取った1ステ
ッチ分の縫いデータをデータメモリアドレスDMAにより
指示されるデータRAM14内のアドレス(これは最初は当
該柄番号に対応する縫いデータエリアの先頭アドレスに
指定されている)に書き込み、データメモリアドレスDM
Aを1ステッチ分だけ歩進する。
In the next step 37, the sewing data for one stitch read in step 36 is designated by the data memory address DMA in the address in the data RAM 14 (this is initially designated as the top address of the sewing data area corresponding to the pattern number concerned). Has been written to the data memory address DM
Step A through one stitch.

次のステップ38では、ステップ36で紙テープリーダ16
により読み取った1ステッチ分の縫いデータのうち、フ
ァンクションデータの内容が刺繍柄の終了を示す終了コ
ードであるかをチェックする。まだ、終了でなければ、
ステップ36に戻り、次のステッチに関して前述と同様の
ステップ36〜38の処理を繰り返す。
In the next step 38, the paper tape reader 16
It is checked whether the content of the function data is an end code indicating the end of the embroidery pattern among the sewing data of one stitch read by the above. If not yet finished,
Returning to step 36, the same processing of steps 36 to 38 as described above is repeated for the next stitch.

当該柄番号に対応する縫いデータを格納するデータRA
M14の所定のアドレス領域(縫いデータメモリエリア)
に全ステッチの縫いデータを取り込み終えると、ファン
クションデータの内容が終了コードとなり、ステップ41
に行く。
Data RA that stores the sewing data corresponding to the pattern number
Predetermined address area of M14 (sewing data memory area)
When the stitching data of all stitches has been imported to the
go to.

一方、ステップ40では、データRAM14から読み出そう
とする所望の刺繍柄に対応した柄番号をテンキースイッ
チTKYの操作により入力設定し、次のステップ41に進
む。
On the other hand, in step 40, the pattern number corresponding to the desired embroidery pattern to be read from the data RAM 14 is input and set by operating the numeric key switch TKY, and the process proceeds to the next step 41.

ステップ41では、ステップ33又は40で設定した柄番号
の縫いデータ(X,Yデータ及びファンクションデータ
F)をデータRAM14から1ステッチごとに順次読み出
す。次のステップ42では、読み出した縫いデータに対応
する刺繍柄模様を表示装置DPYで表示する。
In step 41, the sewing data (X, Y data and function data F) of the pattern number set in step 33 or 40 is sequentially read from the data RAM 14 for each stitch. In the next step 42, the embroidery pattern corresponding to the read sewing data is displayed on the display device DPY.

このステップ42における処理の詳細例を示すと第7図
のようである。第7図において、ステップ61では、デー
タRAM14から1ステッチごとに読み出された縫いデータ
のうちX,Yデータに基づき、表示装置DPYの画面上におけ
る各縫目毎の座標位置(Xa,Ya)を夫々求める演算を行
い、この各縫目毎の座標位置(Xa,Ya)に基づき一連の
刺繍柄模様の画像データを作成し、これを画像メモリGP
Mに記憶する。次のステップ62では、この画像メモリGPM
に記憶した画像データに基づき、選択された刺繍柄に対
応する刺繍柄模様を表示装置DPYで表示する。次のステ
ップ63では、表示装置DPYの画面上のカーソルを刺繍柄
スタート点に表示して、リターンする。
FIG. 7 shows a detailed example of the processing in step S42. In FIG. 7, in step 61, the coordinate position (Xa, Ya) for each stitch on the screen of the display device DPY based on the X and Y data among the stitch data read out from the data RAM 14 for each stitch. Are calculated, and a series of embroidery pattern image data is created based on the coordinate position (Xa, Ya) for each stitch, and this is stored in an image memory GP.
Remember in M. In the next step 62, this image memory GPM
The embroidery pattern corresponding to the selected embroidery pattern is displayed on the display device DPY based on the image data stored in the display device DPY. In the next step 63, the cursor on the screen of the display device DPY is displayed at the embroidery pattern start point, and the routine returns.

第6図(a)に戻り、ステップ43では、データRAM14
から縫いデータを読み出すためのデータメモリアドレス
DMAを、選択された刺繍柄の縫いデータの先頭アドレス
にセットし、運転開始時の読み出しに備えると共に、ス
テッチカウンタの値を初期化する(つまり該縫いデータ
のスタート点=ステッチ1に設定する)。
Returning to FIG. 6A, in step 43, the data RAM 14
Memory address for reading sewing data from
DMA is set to the start address of the sewing data of the selected embroidery pattern, and the readout at the start of operation is prepared, and the value of the stitch counter is initialized (that is, the start point of the sewing data is set to stitch 1). .

次のステップ44では、停止コード登録スイッチSW10が
オンされたか否かを調べる。前述のように、所望のステ
ッチに対応するファンクションデータとして糸色換え等
を指示するための「停止コード」を設定登録する場合、
この停止コード登録スイッチSW10をオンして「停止コー
ド登録モード」を選択し、ステップ70に行く。NOである
ならば、ステップ45に行く。
In the next step 44, it is checked whether or not the stop code registration switch SW10 has been turned on. As described above, when setting and registering a "stop code" for instructing thread color change or the like as function data corresponding to a desired stitch,
The stop code registration switch SW10 is turned on to select the “stop code registration mode”, and the procedure goes to step 70. If no, go to step 45.

ステップ45では、プログラムモードにおけるその他の
各種データの設定処理を行う。
At step 45, setting processing of other various data in the program mode is performed.

ステップ46では運転モードスイッチSW3がオンされた
かを調べる。NOならば、ステップ31に戻り、プログラム
モードの処理を繰り返す。
In step 46, it is checked whether the operation mode switch SW3 has been turned on. If NO, the process returns to step 31 to repeat the processing in the program mode.

運転モードスイッチSW3がオンされると、動作モード
はプログラムモードから運転モードに切換わる。運転モ
ードに切換わった直後は、データRAM14から縫いデータ
を読み出すためのデータメモリアドレスDMAを該柄の最
初のステッチに対応する先頭アドレスにセットするな
ど、刺繍縫いデータ動作開始のための各種データの初期
化処理を行なう(ステップ52)。そして、運転モードに
おける各種データの設定処理を行う(ステップ53)。
When the operation mode switch SW3 is turned on, the operation mode switches from the program mode to the operation mode. Immediately after switching to the operation mode, various data for starting the embroidery sewing data operation, such as setting the data memory address DMA for reading the sewing data from the data RAM 14 to the head address corresponding to the first stitch of the pattern, etc. Initialization processing is performed (step 52). Then, setting processing of various data in the operation mode is performed (step 53).

ステップ54では、起動/停止スイッチ26により起動ス
イッチオン状態にされたかを調べ、オンならば第5図に
示したメインルーチンにリターンして運転ルーチンに移
り、オンでないならステップ55に行く。ステップ55で
は、プログラムモードスイッチSW2がオンされたかを判
断する。該スイッチSW2がオンされた場合は、第6図
(a)のステップ31に戻って上述したステップ55までの
処理を繰り返す。該スイッチSW2がオンされない場合
は、ステップ53に戻って運転モードにおける各種データ
の設定処理を繰り返す。
In step 54, it is checked whether or not the start switch has been turned on by the start / stop switch 26. If it is on, the process returns to the main routine shown in FIG. In step 55, it is determined whether the program mode switch SW2 has been turned on. When the switch SW2 is turned on, the process returns to step 31 in FIG. 6A and repeats the processing up to step 55 described above. If the switch SW2 is not turned on, the process returns to step 53, and the processing for setting various data in the operation mode is repeated.

次に、停止ルーチンにおいて、表示装置DPYで表示さ
れている刺繍柄模様を見ながら、縫いデータの変更等編
集作業を行う場合について説明する。なお、以下で説明
する例は、所望のステッチで、ファンクションデータと
して、糸色換えのための「停止コード」を設定・登録す
る、という編集作業を行う例である。
Next, a case will be described in which, in the stop routine, editing work such as changing sewing data is performed while looking at the embroidery pattern displayed on the display device DPY. The example described below is an example of performing an editing operation of setting and registering a “stop code” for thread color change as function data with a desired stitch.

前述の通り、メモリ読み出しモード又はメモリ書込み
モードにおいて、所望の刺繍柄の柄番号を指定又は設定
し、その柄模様を表示装置DPYで表示させる(第6図
(a)のステップ33,40〜43)。この状態で、例えば、
第4図に示すように柄模様が表示され、a及びb点で糸
色が変わっているとする。所望のステッチ、例えばc点
で、更に糸色の変えたい場合、前述の停止コード登録ス
イッチSW10をオンする。すると、第6図(b)のステッ
プ44がYESとなり、第6図(c)又は第6図(d)のス
テップ70に行く。なお、第6図(d)は第6図(c)の
変更例であり、まず、第6図(c)について説明する。
As described above, in the memory read mode or the memory write mode, a design number of a desired embroidery design is designated or set, and the design pattern is displayed on the display device DPY (steps 33, 40 to 43 in FIG. 6A). ). In this state, for example,
It is assumed that a pattern is displayed as shown in FIG. 4, and the thread color changes at points a and b. If it is desired to further change the thread color at a desired stitch, for example, at point c, the aforementioned stop code registration switch SW10 is turned on. Then, the step 44 in FIG. 6 (b) becomes YES, and goes to the step 70 in FIG. 6 (c) or FIG. 6 (d). FIG. 6D is a modification of FIG. 6C, and FIG. 6C will be described first.

まず、ステップ70では、ファンクションスイッチF1〜
F6のうち完了スイッチとして機能する所定のファンクシ
ョンスイッチがオンされたか否かを調べる。完了スイッ
チは、この停止コード登録処理を完了するとき操作する
ものであり、始めは該完了スイッチはオンされていず、
ステップ71に行く。該完了スイッチがオンされた場合
は、ステップ45(第6図(b))に戻ってプログラムモ
ードの他の処理に移る。
First, in step 70, the function switches F1 to
It is checked whether a predetermined function switch functioning as a completion switch in F6 is turned on. The completion switch is operated when completing this stop code registration processing. At first, the completion switch is not turned on,
Go to step 71. If the completion switch is turned on, the process returns to step 45 (FIG. 6B) and proceeds to another process in the program mode.

ステップ71では、データメモリアドレスDMAによって
指示されるアドレスに対応してデータRAM14から読み出
した縫いデータのうち、ファンクションデータFが柄の
終了を示す「終了コード」であるかを調べる。始めはま
だ「終了コード」でないため、このステップ71はNOであ
り、ステップ72に行く。
In step 71, it is checked whether the function data F is an "end code" indicating the end of the pattern among the sewing data read from the data RAM 14 corresponding to the address specified by the data memory address DMA. Since the beginning is not yet the “end code”, this step 71 is NO, and the procedure goes to step 72.

ステップ72では、セットスイッチSW5がオンされたか
否かを判断する。セットスイッチSW5は、「停止コー
ド」を登録するときオンする。
In step 72, it is determined whether or not the set switch SW5 has been turned on. The set switch SW5 is turned on when registering a “stop code”.

最初は、表示装置DPYにおけるカーソル表示は、刺繍
柄模様におけるスタート点に位置している。このカーソ
ル表示をフォワードスイッチSW11とバックスイッチSW12
の操作によって所望のステッチに対応する位置まで(例
えば第4図のc点が望みの位置ならばc点まで)動か
し、その状態でセットスイッチSW5をオンすることによ
り、該ステッチに対応して「停止コード」が登録される
のである。
Initially, the cursor display on the display device DPY is located at the start point in the embroidery pattern. This cursor display is displayed by the forward switch SW11 and the back switch SW12.
Is moved to a position corresponding to the desired stitch (for example, to the point c if the point c in FIG. 4 is a desired position), and by turning on the set switch SW5 in that state, " A "stop code" is registered.

従って、カーソル表示が所望の位置に来ていないなら
ば、セットスイッチSW5はオンせず、ステップ72はNOで
あり、ステップ74に行く。
Therefore, if the cursor display is not at the desired position, the set switch SW5 is not turned on, and the step 72 is NO and the procedure goes to the step 74.

ステップ74では、フォワードスイッチSW11がオンされ
たかを調べる。該スイッチSW11がオンされた場合、この
ステップ74はYESとなりステップ75に行く。該スイッチS
W11がオンされない場合、ステップ76に行く。
In step 74, it is checked whether the forward switch SW11 has been turned on. If the switch SW11 is turned on, this step 74 becomes YES and goes to step 75. The switch S
If W11 is not turned on, go to step 76.

ステップ75では、データメモリアドレスDMAの値を+
1歩進し、このデータメモリアドレスDMAによって指示
される縫いデータ(X,Y)に基づき、1ステッチ分だけ
次のステッチの位置にカーソル位置を移動する。次に、
ステッチカウンタの値を+1歩進してステップ70に戻
る。また、このステッチカウンタの値を数値表示し、現
在何ステッチ目であるかを表示する。
In step 75, the value of the data memory address DMA is set to +
By one step, the cursor position is moved to the next stitch position by one stitch based on the sewing data (X, Y) specified by the data memory address DMA. next,
The value of the stitch counter is incremented by +1 and the process returns to step 70. In addition, the value of the stitch counter is displayed as a numerical value, and the current stitch number is displayed.

ステップ76では、ステッチカウンタの値が初期値=1
であるか否かを判断する。該ステッチカウンタの値が初
期値=1である場合、このステップ76はYESとなり、ス
テップ70に戻るが、初期値=1でなければステップ77に
行く。これは、スタート点ではバックスイッチSW12を無
効にするためである。
In step 76, the value of the stitch counter is set to the initial value = 1.
Is determined. If the value of the stitch counter is the initial value = 1, the step 76 becomes YES and the process returns to the step 70. If the initial value is not 1, the process goes to the step 77. This is for disabling the back switch SW12 at the start point.

ステップ77では、バックスイッチSW12がオンされたか
を判断する。該スイッチSW12がオンされた場合、このス
テップ77はYESとなりステップ78に行く。該スイッチSW1
2がオンされない場合、ステップ70に戻る。
In step 77, it is determined whether the back switch SW12 has been turned on. If the switch SW12 is turned on, this step 77 becomes YES and the procedure goes to step 78. The switch SW1
If 2 is not turned on, the process returns to step 70.

ステップ78では、データメモリアドレスDMAの値を−
1後退させ、このデータメモリアドレスDMAによって指
示される縫いデータ(X,Y)に基づき、1ステッチ分だ
け前のステッチの位置にカーソル位置を戻す。次に、ス
テッチカウンタの値を−1後退させてステップ70に戻
る。また、このステッチカウンタの値を数値表示し、現
在何ステッチ目であるかを表示する。
In step 78, the value of the data memory address DMA is
The cursor position is moved backward by one stitch to the previous stitch position by one stitch based on the sewing data (X, Y) specified by the data memory address DMA. Next, the value of the stitch counter is decremented by -1 and the process returns to step 70. In addition, the value of the stitch counter is displayed as a numerical value, and the current stitch number is displayed.

こうして、フォワードスイッチSW11若しくはバックス
イッチSW12を操作することによって表示装置DPYの画面
上のカーソル位置を刺繍柄模様表示における所望のステ
ッチ位置まで移動する。カーソルが所望のステッチ位置
に来たとき、セットスイッチSW5をオンし、ステップ73
に行く。なお、このとき、データメモリアドレスDMA
は、カーソル位置に対応するステッチに関するデータRA
M14におけるアドレスを指示している。ステップ73で
は、データRAM14において該データメモリアドレスDMAに
よって指示されるアドレスに記憶されている縫いデータ
(X,Y,F)のうちファンクションデータFとして「停止
コード」を登録する。
Thus, by operating the forward switch SW11 or the back switch SW12, the cursor position on the screen of the display device DPY is moved to a desired stitch position in the embroidery pattern display. When the cursor reaches a desired stitch position, the set switch SW5 is turned on, and step 73 is executed.
go to. At this time, the data memory address DMA
Is the data RA about the stitch corresponding to the cursor position
Indicates the address in M14. In step 73, a "stop code" is registered as function data F among the sewing data (X, Y, F) stored in the data RAM 14 at the address specified by the data memory address DMA.

そして、所望の全てのステッチに関して「停止コー
ド」の登録を完了すると、完了スイッチをオンし、第6
図(c)に示された停止コード登録処理を終了する。
When the registration of the “stop code” is completed for all the desired stitches, the completion switch is turned on, and the sixth switch is turned on.
The stop code registration process shown in FIG.

なお、表示装置DPYの画面上に表示される刺繍柄模様
が画面内に収まるように、適宜縮小表示あるいは画面の
スクロールがなされるのは勿論である。
It is needless to say that the embroidery pattern displayed on the screen of the display device DPY is appropriately reduced or scrolled so that the embroidery pattern can be accommodated in the screen.

第6図(d)は第6図(c)の変更例であり、1ステ
ッチ毎にカーソルを移動させるためのフォワードスイッ
チSW11とバックスイッチSW12を使用しない場合の例を示
す。この場合、カーソル位置を画面上で上下左右に移動
する4つのカーソルキースイッチを使用する。この4つ
のカーソルキースイッチとして枠移動キースイッチFKY
(第3図)を使用してよい。以下、4つの枠移動キース
イッチFKYを上カーソルキー(上FKY)、下カーソルキー
(下FKY)、右カーソルキー(右FKY)、左カーソルキー
(左FKY)として説明する。
FIG. 6 (d) is a modification of FIG. 6 (c), and shows an example in which the forward switch SW11 and the back switch SW12 for moving the cursor for each stitch are not used. In this case, four cursor key switches for moving the cursor position up, down, left, and right on the screen are used. Frame move key switch FKY as these four cursor key switches
(FIG. 3) may be used. Hereinafter, the four frame movement key switches FKY will be described as an up cursor key (up FKY), a down cursor key (down FKY), a right cursor key (right FKY), and a left cursor key (left FKY).

まず、最初に前述と同様にステップ70が実行される。
次に、ステップ72では、前述と同様に、セットスイッチ
SW5がオンされたかを調べる。該セットスイッチSW5がオ
ンされた場合、つまり「停止コード」を登録する場合、
ステップ83に行き、第8図に詳細を示すサーチ・登録処
理ルーチンを実行する。まだ、「停止コード」を登録し
ない場合、ステップ84に行く。
First, step 70 is executed as described above.
Next, in step 72, as described above, the set switch
Check whether SW5 is turned on. When the set switch SW5 is turned on, that is, when registering a “stop code”,
In step 83, a search / registration processing routine shown in detail in FIG. 8 is executed. If the “stop code” has not been registered yet, go to step 84.

ステップ84では、右カーソルキー(右FKY)がオンさ
れたかを判断する。該右カーソルキーがオンされた場
合、ステップ85に行き、表示装置DPYの画面上のXカー
ソル軸を右方向に移動する。なお、この場合、カーソル
表示は縦に伸びたXカーソル軸とそれに直交する横に伸
びたYカーソル軸とからなり、両カーソル軸の交点がカ
ーソル位置である。
In step 84, it is determined whether the right cursor key (right FKY) has been turned on. When the right cursor key is turned on, the process proceeds to step 85, and the X cursor axis on the screen of the display device DPY is moved rightward. In this case, the cursor display is composed of a vertically extending X cursor axis and a horizontally extending Y cursor axis orthogonal thereto, and the intersection of both cursor axes is the cursor position.

ステップ86では、左カーソルキー(左FKY)がオンさ
れたかを判断する。該左カーソルキーがオンされた場
合、ステップ87に行き、表示装置DPYの画面上のXカー
ソル軸を左方向に移動する。
In step 86, it is determined whether the left cursor key (left FKY) has been turned on. If the left cursor key is turned on, the process proceeds to step 87, where the X cursor axis on the screen of the display device DPY is moved to the left.

ステップ88では、下カーソルキー(下FKY)がオンさ
れたかを判断する。該下カーソルキーがオンされた場
合、ステップ89に行き、表示装置DPYの画面上のYカー
ソル軸を下方向に移動する。
In step 88, it is determined whether the down cursor key (down FKY) has been turned on. When the down cursor key is turned on, the process proceeds to step 89, and the Y cursor axis on the screen of the display device DPY is moved downward.

ステップ90では、上カーソルキー(上FKY)がオンさ
れたかを判断する。該上カーソルキーがオンされた場
合、ステップ91に行き、表示装置DPYの画面上のYカー
ソル軸を上方向に移動する。
In step 90, it is determined whether or not the up cursor key (up FKY) has been turned on. If the up cursor key is turned on, the process proceeds to step 91, where the Y cursor axis on the screen of the display device DPY is moved upward.

こうして、カーソルキーを操作することによって表示
装置DPYの画面上のカーソル位置を刺繍柄模様表示にお
ける所望のステッチ位置まで移動する。カーソルが所望
のステッチ位置に来たとき、セットスイッチSW5をオン
し、ステップ83に行く。この例の場合、カーソル位置が
どのステッチ位置に対応しているのか、まだ判っていな
い。そこで、第8図に詳細を示すステップ83の処理によ
り、カーソル位置がどのステッチ位置に対応しているの
かをサーチするのである。
Thus, by operating the cursor keys, the cursor position on the screen of the display device DPY is moved to a desired stitch position in the embroidery pattern display. When the cursor has reached a desired stitch position, the set switch SW5 is turned on, and the routine proceeds to step 83. In this case, it is not yet known which stitch position the cursor position corresponds to. Therefore, the stitch position corresponding to the cursor position is searched by the processing of step 83 shown in detail in FIG.

第8図のサーチ・登録ルーチンにおいて、ステップ10
1では、Xカーソル軸とYカーソル軸との交点の座標(X
c,Yc)をカーソル位置の座標として求める。
In the search / registration routine of FIG.
In 1, the coordinates of the intersection of the X and Y cursor axes (X
c, Yc) is obtained as the coordinates of the cursor position.

ステップ102では、データメモリアドレスDMAを該縫い
データの先頭アドレスにセットする。そして、表示中の
刺繍柄のスタート座標(Xs,Ys)に対応する画面上の絶
対座標をステッチ座標(Xh,Yh)として登録し、ステッ
チカウンタの値を「1」に初期化する。
In step 102, the data memory address DMA is set to the head address of the sewing data. Then, the absolute coordinates on the screen corresponding to the start coordinates (Xs, Ys) of the embroidery pattern being displayed are registered as stitch coordinates (Xh, Yh), and the value of the stitch counter is initialized to “1”.

次のステップ103では、ステッチ座標(Xh,Yh)とカー
ソル位置座標(Xc,Yc)とが所定の誤差範囲内で一致し
ているかを調べる。該ステッチ座標と該カーソル位置座
標とが所定の誤差範囲内で一致している場合、このステ
ップ103はYESとなり、ステップ106に行く。該ステッチ
座標と該カーソル位置座標とが所定の誤差範囲内で一致
していない場合、ステップ104に行く。
In the next step 103, it is checked whether or not the stitch coordinates (Xh, Yh) and the cursor position coordinates (Xc, Yc) match within a predetermined error range. When the stitch coordinates and the cursor position coordinates match within a predetermined error range, this step 103 becomes YES and goes to step 106. If the stitch coordinates and the cursor position coordinates do not match within a predetermined error range, the process proceeds to step 104.

ステップ104では、データメモリアドレスDMAの値を歩
進し、該データメモリアドレスDMAによって指示される
ステッチの縫いデータ中のX,Yデータに基づき、ステッ
チ座標(Xh,Yh)の値を更新する。すなわち、前ステッ
チまでのステッチ座標(Xh,Yh)に次の1ステッチ分の
X,Yデータ(これも画面上の座標値に換算した値である
とする)を夫々加算又は減算し、次のステッチ画面上の
絶対座標を求める。また、ステッチカウンタの内容を+
1とする。また、このステッチカウンタの値を数値表示
し、現在何ステッチ目であるかを表示する。
In step 104, the value of the data memory address DMA is incremented, and the value of the stitch coordinates (Xh, Yh) is updated based on the X and Y data in the stitch sewing data specified by the data memory address DMA. That is, the stitch coordinates (Xh, Yh) up to the previous stitch correspond to the next one stitch.
The X and Y data (which are also values converted into coordinate values on the screen) are respectively added or subtracted, and absolute coordinates on the next stitch screen are obtained. Also, add the contents of the stitch counter to +
Let it be 1. In addition, the value of the stitch counter is displayed as a numerical value, and the current stitch number is displayed.

ステップ105では、データメモリアドレスDMAによって
指示されるステッチの縫いデータのファンクションデー
タが「終了コード」であるかを判断する。該ファンクシ
ョンデータが終了コードである場合、このステップはYE
Sとなり、メインルーチンにリターンする。該ファンク
ションデータが終了コードでない場合、このステップは
NOとなり、ステップ103に戻って上述したステップ105ま
での処理を繰り返す。
In step 105, it is determined whether the function data of the stitch sewing data specified by the data memory address DMA is an “end code”. If the function data is an end code, this step is YE
It becomes S and returns to the main routine. If the function data is not an end code, this step
No, the process returns to step 103 and repeats the processing up to step 105 described above.

こうして、ステッチ座標(Xh,Yh)を1ステッチづつ
動かしていき、やがて、該ステッチ座標と該カーソル位
置座標とが所定の誤差範囲内で一致すると、ステップ10
3がYESとなり、ステップ106に行く。ここでは、そのと
きのステッチ座標(Xh,Yh)にカーソル位置が完全に一
致するように、カーソル表示を移動する。なお、このと
き、データメモリアドレスDMAは、カーソル位置に対応
するステッチに関するデータRAM14におけるアドレスを
指示している。
Thus, the stitch coordinates (Xh, Yh) are moved one stitch at a time. When the stitch coordinates and the cursor position coordinates coincide with each other within a predetermined error range, step 10 is executed.
If 3 is YES, go to step 106. Here, the cursor display is moved so that the cursor position completely matches the stitch coordinates (Xh, Yh) at that time. At this time, the data memory address DMA indicates an address in the data RAM 14 relating to the stitch corresponding to the cursor position.

ステップ107では、確認スイッチSW4がオンか否かを調
べる。カーソル表示が所望のステッチに対応しているこ
とを確認した場合、該スイッチSW4をオンし、ステップ1
08に行く。ステップ108では、データRAM14において該デ
ータメモリアドレスDMAによって指示されるアドレスに
記憶されている縫いデータ(X,Y,F)のうちファンクシ
ョンデータFとして「停止コード」を登録する。その
後、第6図(d)のステップ84にリターンする。
In step 107, it is checked whether the confirmation switch SW4 is on. When it is confirmed that the cursor display corresponds to the desired stitch, the switch SW4 is turned on, and the
Go to 08. In step 108, a "stop code" is registered as function data F among the sewing data (X, Y, F) stored at the address specified by the data memory address DMA in the data RAM 14. Thereafter, the process returns to step 84 of FIG.

確認スイッチSW4がオンでない場合はステップ109に行
き、取消スイッチがオンか否かを調べる。取消スイッチ
の機能は、ファンクションスイッチF1〜F6のうち所定の
ものに割当てられる。該取消スイッチがオンである場
合、このステップ109はYESとなり、第6図(d)のステ
ップ84にリターンする。該取消スイッチがオンでない場
合、このステップ109はNOとなり、ステップ107に戻る。
If the confirmation switch SW4 is not on, the process proceeds to step 109, and it is checked whether or not the cancel switch is on. The function of the cancel switch is assigned to a predetermined one of the function switches F1 to F6. If the cancel switch is on, this step 109 becomes YES and returns to step 84 in FIG. 6 (d). If the cancel switch is not on, this step 109 becomes NO and returns to step 107.

なお、上記実施例では、所望のステッチに対応してフ
ァンクションデータとして「停止コード」を登録するよ
うにしているが、これに限らず、既に登録してある「停
止コード」をキャンセルするようにしてもよい。また、
編集可能なファンクションデータとしては、「停止コー
ド」に限らず「ジャンプコード」など他のファンクショ
ンデータであってもよい。また、X,Yデータを変更・修
正するようにしてもよい。
In the above embodiment, the “stop code” is registered as function data corresponding to a desired stitch. However, the present invention is not limited to this, and the already registered “stop code” is canceled. Is also good. Also,
The function data that can be edited is not limited to the “stop code”, but may be other function data such as a “jump code”. Further, the X and Y data may be changed / corrected.

また、操作パネル部15における表示装置DPYとして
は、CRTディスプレイに限らず、液晶ディスプレイやプ
ラズマディスプレイなど他の適宜の電気・電子的表示装
置であってもよい。
Further, the display device DPY in the operation panel unit 15 is not limited to the CRT display, but may be another appropriate electric / electronic display device such as a liquid crystal display or a plasma display.

また、縫いデータの外部記録装置としては、紙テープ
に限らず、磁気テープ、磁気ディスク、光ディスク、磁
気カード、ICカードなど他の如何なる記録媒体であって
もよい。
Further, the external recording device for the sewing data is not limited to a paper tape, but may be any other recording medium such as a magnetic tape, a magnetic disk, an optical disk, a magnetic card, and an IC card.

〔発明の効果〕〔The invention's effect〕

以上の通り、この発明によれば、刺繍柄図形を表示手
段に実際に表示して画面上で刺繍柄を確認しながら所望
のステッチ位置を画面上にてカーソル指定し、該指定さ
れた特定のステッチ位置に対応する縫いデータの変更・
修正等のデータ編集処理を行うようにしたので、所望の
特定のステッチ位置に対応する縫いデータの変更・修正
等のデータ編集処理を迅速かつ極めて簡便に行うことが
できるようになる、という優れた効果を奏する。従っ
て、実際に刺繍縫いを実行しながらステッチ毎の刺繍柄
の縫いデータを変更・修正するという煩わしさが除去さ
れ、刺繍作業の能率向上と正確な刺繍縫いが期待できる
と共に、ステッチ毎の縫いデータの変更・修正のための
面倒な操作からも作業者が開放される、という種々の優
れた効果を奏する。
As described above, according to the present invention, the user designates a desired stitch position on the screen while actually displaying the embroidery pattern graphic on the display means and confirming the embroidery pattern on the screen. Change of sewing data corresponding to stitch position
Since the data editing process such as the correction is performed, the data editing process such as the change / correction of the sewing data corresponding to the desired specific stitch position can be performed quickly and extremely easily. It works. Therefore, the trouble of changing and correcting the embroidery pattern sewing data for each stitch while actually performing the embroidery sewing is eliminated, and the efficiency of embroidery work can be improved and accurate embroidery sewing can be expected. Various excellent effects such that the operator is released from troublesome operations for changing / correcting the.

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

第1図はこの発明に係る自動刺繍機の概要を示す機能ブ
ロック図、 第2図はこの発明に係る自動刺繍機の一実施例の制御シ
ステムを略示するハード構成ブロック図、 第3図は第2図における操作パネル部の一例を示す平面
図、 第4図は第3図における操作パネル部の表示装置で表示
される刺繍柄模様の一例を示す図、 第5図は第2図におけるマイクロコンピュータが実行す
るプログラムのメインルーチンの一例を示すフローチャ
ート、 第6図(a)〜(d)は第4図のメインルーチン内のミ
シン主軸停止ルーチンの一例を示すフローチャート、 第7図は第6図(a)における柄表示ルーチンの一例を
示すフローチャート、 第8図は第6図(d)におけるサーチ・登録ルーチンの
一例を示すフローチャート、である。 1……縫いデータ記憶手段、2……縫い動作実行手段、
3……表示手段、4……指定手段、5……データ編集手
段、14……データRAM、15……操作パネル部、16……紙
テープ入力装置、17……紙テープ、22……ミシン主軸モ
ータ、26……起動/停止スイッチ、GPM……画像メモ
リ。
FIG. 1 is a functional block diagram showing an outline of an automatic embroidery machine according to the present invention, FIG. 2 is a hardware block diagram schematically showing a control system of an embodiment of the automatic embroidery machine according to the present invention, and FIG. FIG. 4 is a plan view showing an example of the operation panel unit in FIG. 2, FIG. 4 is a diagram showing an example of an embroidery pattern displayed on the display device of the operation panel unit in FIG. 3, and FIG. 6A to 6D are flowcharts showing an example of a main routine of a program executed by the computer, FIGS. 6A to 6D are flowcharts showing an example of a sewing machine spindle stop routine in the main routine of FIG. 4, and FIG. FIG. 8 is a flowchart showing an example of a pattern display routine in (a), and FIG. 8 is a flowchart showing an example of a search / registration routine in FIG. 6 (d). 1 ... sewing data storage means, 2 ... sewing operation execution means,
3 ... display means, 4 ... designation means, 5 ... data editing means, 14 ... data RAM, 15 ... operation panel section, 16 ... paper tape input device, 17 ... paper tape, 22 ... sewing machine spindle motor , 26 ... Start / stop switch, GPM ... Image memory.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】任意の刺繍柄に対応する刺繍縫い動作を実
現するための1ステッチ毎の縫いデータを記憶する縫い
データ記憶手段と、この縫いデータに応じて刺繍縫い動
作を実行する手段とを具えた自動刺繍機において、 前記縫いデータ記憶手段に記憶した縫いデータに対応す
る刺繍柄模様を図形表示するための表示手段と、 前記表示手段の画面上において、表示された刺繍柄模様
図形における所望のステッチ位置に対応する位置をカー
ソルにて指定するための指定手段と、 この指定手段により指定された特定のステッチ位置に対
応する前記縫いデータの内容を変更若しくは設定するた
めのデータ編集手段と、 前記指定手段により指定された特定のステッチ位置に対
応する前記縫いデータ記憶手段内の前記縫いデータの記
憶内容を、前記データ編集手段による変更若しくは設定
内容に従って、書き替える制御手段と を具えた自動刺繍機。
1. A sewing data storing means for storing sewing data for each stitch for realizing an embroidery sewing operation corresponding to an arbitrary embroidery pattern, and a means for executing an embroidery sewing operation according to the sewing data. Display means for graphically displaying an embroidery pattern pattern corresponding to the sewing data stored in the sewing data storage means; and a display means for displaying the embroidery pattern pattern graphic displayed on the screen of the display means. Designation means for designating a position corresponding to the stitch position with a cursor, data editing means for changing or setting the contents of the sewing data corresponding to the specific stitch position designated by the designation means, The storage contents of the sewing data in the sewing data storage means corresponding to the specific stitch position designated by the designation means are stored in the data storage section. An automatic embroidery machine having control means for rewriting in accordance with changes or settings made by a data editing means.
【請求項2】前記データ編集手段は、前記指定された特
定のステッチ位置に対応する前記縫いデータに含まれる
ファンクションデータとして所定の制御機能を指示する
コードを設定するものである請求項1に記載の自動刺繍
機。
2. The data editing means according to claim 1, wherein a code indicating a predetermined control function is set as function data included in said sewing data corresponding to said specified specific stitch position. Automatic embroidery machine.
JP63255975A 1988-10-13 1988-10-13 Automatic embroidery machine Expired - Fee Related JP2597506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63255975A JP2597506B2 (en) 1988-10-13 1988-10-13 Automatic embroidery machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63255975A JP2597506B2 (en) 1988-10-13 1988-10-13 Automatic embroidery machine

Publications (2)

Publication Number Publication Date
JPH02104759A JPH02104759A (en) 1990-04-17
JP2597506B2 true JP2597506B2 (en) 1997-04-09

Family

ID=17286169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63255975A Expired - Fee Related JP2597506B2 (en) 1988-10-13 1988-10-13 Automatic embroidery machine

Country Status (1)

Country Link
JP (1) JP2597506B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2681313B2 (en) * 1991-01-23 1997-11-26 三菱電機株式会社 Control device and control method for automatic sewing machine
JPH0541901U (en) * 1991-11-11 1993-06-08 オージーケー技研株式会社 Bicycle wheel

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60148583A (en) * 1984-01-13 1985-08-05 三菱電機株式会社 Stitch data fabrication apparatus for sewing machine
JPS63113672A (en) * 1986-10-31 1988-05-18 Janome Sewing Mach Co Ltd Data input device with editing function
JPS63139592A (en) * 1986-12-02 1988-06-11 株式会社 中日本システム Embroidering pattern forming apparatus

Also Published As

Publication number Publication date
JPH02104759A (en) 1990-04-17

Similar Documents

Publication Publication Date Title
KR940010388B1 (en) Embroidering machine
KR940010385B1 (en) Automatic embroidering machine
JPH10140460A (en) Embroidery datum display apparatus and embroidery sewing machine
JP2696341B2 (en) Embroidery pattern display device in automatic embroidery machine
JPH0157594B2 (en)
KR920003667B1 (en) Sewing data forming method and device for sewing machine
JP2597506B2 (en) Automatic embroidery machine
JP2006043232A (en) Sewing machine capable of embroidering
JP2001000761A (en) Display device for sewing machine capable of sewing embroidery
US5896822A (en) Embroidery data processing device
US20060219141A1 (en) Sewing machine to which embroidery frame moving device is detachably attachable
JP2544154B2 (en) Automatic embroidery machine
JPH11221381A (en) Sewing machine
US5769013A (en) Sewing data processing device with display state changing function
JP2904822B2 (en) Manual moving device for embroidery frame
JPH0679635B2 (en) Data setting device for automatic embroidery machine
US5740748A (en) Embroidery stitching device capable of simultaneously performing stitching a computation of stitching time
JP2597496B2 (en) Automatic embroidery machine
JP2748154B2 (en) Embroidery pattern input device for sewing machine
JP3904245B2 (en) Sewing machine with pattern enlargement / reduction function
JP2001120867A (en) Sewing range confirmation device for sewing machine
JP3466288B2 (en) Sewing machine embroidery equipment
JPH0693942B2 (en) Automatic embroidery machine
JP2004089725A (en) Sewing machine with edit function
JP2696338B2 (en) Data setting device in sewing machine

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees