JP3289925B2 - Sewing machine pattern data processing device - Google Patents

Sewing machine pattern data processing device

Info

Publication number
JP3289925B2
JP3289925B2 JP23709091A JP23709091A JP3289925B2 JP 3289925 B2 JP3289925 B2 JP 3289925B2 JP 23709091 A JP23709091 A JP 23709091A JP 23709091 A JP23709091 A JP 23709091A JP 3289925 B2 JP3289925 B2 JP 3289925B2
Authority
JP
Japan
Prior art keywords
pattern
data
character
frame
concrete
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
JP23709091A
Other languages
Japanese (ja)
Other versions
JPH0549769A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=17010263&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP3289925(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP23709091A priority Critical patent/JP3289925B2/en
Publication of JPH0549769A publication Critical patent/JPH0549769A/en
Application granted granted Critical
Publication of JP3289925B2 publication Critical patent/JP3289925B2/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

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ミシンの模様データ処
理装置に関し、特に枠模様と具象模様と文字模様とを組
合わせた複合模様を見栄え良く縫製し得る複合模様デー
タを作成する為に、各枠模様に対する具象模様と文字模
様の配置位置及び複数の文字模様の配列方向とを枠模様
毎に予め設定するようにしたものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern data processing apparatus for a sewing machine, and more particularly, to creating composite pattern data that can be sewn with good appearance by combining a frame pattern, a concrete pattern, and a character pattern. The present invention relates to a method in which the arrangement position of a concrete pattern and a character pattern for each frame pattern and the arrangement direction of a plurality of character patterns are set in advance for each frame pattern.

【0002】[0002]

【従来の技術】従来、直線縫いやジグザグ縫いや飾り縫
いなどの実用模様に加えて、数字やアルファベットやひ
らがななどの文字模様、動物や果物やイラストなどの具
象模様、円弧模様や矩形模様などの枠模様を含む模様縫
いが可能な刺繍装置を着脱自在に装着する電子ジグザグ
ミシンは一般に周知である。
2. Description of the Related Art Conventionally, in addition to practical patterns such as linear sewing, zigzag sewing and decorative sewing, character patterns such as numbers, alphabets and hiragana, concrete patterns such as animals, fruits and illustrations, arc patterns and rectangular patterns. An electronic zigzag sewing machine to which an embroidery device capable of sewing a pattern including a frame pattern is detachably mounted is generally known.

【0003】この刺繍装置を備えたミシンにおいては、
これら文字模様や具象模様や枠模様を縫製する為の複数
の模様データ(運針データ)の各々は、ミシン内部或い
はミシン外部の模様データメモリに模様コードに対応づ
けて予め格納されており、選択された模様の模様データ
がこの模様データメモリから読出され、この模様データ
に基いて刺繍装置により移動される加工布上に所望の文
字模様や具象模様などが順次縫製できるようになってい
る。
[0003] In a sewing machine provided with this embroidery device,
Each of a plurality of pattern data (hand movement data) for sewing the character pattern, the concrete pattern, and the frame pattern is stored in advance in the pattern data memory inside the sewing machine or in the pattern data memory outside the sewing machine in association with the pattern code, and is selected. The pattern data of the selected pattern is read from the pattern data memory, and a desired character pattern, concrete pattern, or the like can be sequentially sewn on the work cloth moved by the embroidery device based on the pattern data.

【0004】従って、オペレータが、例えば実施例に係
る図9に示す複合模様FAを加工布上に形成するときに
は、先ず基本模様である枠模様Waを選択して任意の位
置に縫製し、次に加工布を手動で移動させた後、具象模
様Gaを選択して縫製し、更に複数の文字模様Ma1と
複数の文字模様Ma2の各々を加工布を移動させながら
縫製して複合模様FAを形成し、この複合模様FAによ
り所謂ネームタッグを作成するようにしている。
Therefore, when the operator forms the composite pattern FA shown in FIG. 9 according to the embodiment on a work cloth, the operator first selects a frame pattern Wa as a basic pattern and sew the frame pattern Wa at an arbitrary position. After manually moving the work cloth, the concrete pattern Ga is selected and sewn, and further, each of the plurality of character patterns Ma1 and the plurality of character patterns Ma2 is sewn while moving the work cloth to form the composite pattern FA. A so-called name tag is created by the composite pattern FA.

【0005】[0005]

【発明が解決しようとする課題】上述したように、従来
の刺繍装置を備えたミシンにおいては、文字模様や具象
模様などの複数の模様を組合わせた複合模様を形成する
場合、各模様を形成する為の縫製位置を、オペレータが
手動操作で加工布を移動させながら設定するので、具象
模様や複数の文字模様の配置位置が枠模様に対して見栄
え良く配置されない場合が多いこと、特に複数の文字模
様を配列する配列方向は、枠模様の形状により枠模様毎
に予め決定されているが、枠模様によっては文字模様の
配列方向を間違う場合があり、見栄えの良い複合模様が
形成できないこと、などの問題がある。
As described above, in a sewing machine provided with a conventional embroidery device, when forming a composite pattern combining a plurality of patterns such as a character pattern and a concrete pattern, each pattern is formed. The sewing position is set by moving the work cloth manually by the operator, so that the arrangement positions of the concrete pattern and the plurality of character patterns are often not arranged in a good-looking manner with respect to the frame pattern. The arrangement direction for arranging the character patterns is determined in advance for each frame pattern by the shape of the frame pattern.However, depending on the frame pattern, the arrangement direction of the character pattern may be wrong, and a good-looking composite pattern cannot be formed, There is such a problem.

【0006】本発明の目的は、枠模様に対する具象模様
と文字模様との配置位置及び複数の文字模様の配列方向
とを各枠模様毎に自動的に設定して、見栄えの良い複合
模様の複合模様データを作成できるようなミシンの模様
データ処理装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to automatically set the arrangement position of a concrete pattern and a character pattern with respect to a frame pattern and the arrangement direction of a plurality of character patterns for each frame pattern so that a composite pattern having a good appearance can be obtained. It is an object of the present invention to provide a sewing machine pattern data processing device capable of creating pattern data.

【0007】[0007]

【課題を解決するための手段】本発明に係るミシンの模
様データ処理装置は、図1の機能ブロック図に示すよう
に、1つの枠模様に少なくとも1つの具象模様と複数の
文字模様とを組合わせた複合模様を縫製する為の複合模
様データを作成するミシンの模様データ処理装置であっ
て、複数の具象模様と複数の文字模様の模様データを格
納した具象文字データ記憶手段と、複数の枠模様の各々
に関して枠模様の模様データと具象模様の配置位置の具
象模様位置データと複数の文字模様の配置位置の文字模
様位置データと複数の文字模様の配列方向の文字配列方
向データとを格納した枠データ記憶手段と、前記双方の
記憶手段に記憶されたデータに基づいて、何れか1つの
枠模様と、これに組合わせる何れか1つの具象模様及び
複数の文字模様とを選択設定する模様選択手段と、前記
枠データ記憶手段に記憶された文字模様位置データと文
字配列方向データとに基づいて、前記模様選択手段で選
択された複数の文字模様が枠模様からはみ出さないよう
に配置し、前記枠データ記憶手段に記憶された枠模様の
枠データと具象模様位置データと文字模様位置データと
に基づいて、具象模様と複数の文字模様とを枠に対して
特定の位置に配置するようにした複合模様の複合模様デ
ータを合成するデータ合成手段と、前記データ合成手段
で合成されたデータを記憶する複合模様データ記憶手段
とを備えたものである。
A pattern data processing apparatus for a sewing machine according to the present invention, as shown in the functional block diagram of FIG. 1, combines at least one concrete pattern and a plurality of character patterns in one frame pattern. a pattern data processing apparatus of the sewing machine to create a composite pattern data for sewing the composite pattern that matches, a concrete character data storage means for storing the pattern data of a plurality of object design and a plurality of character patterns, a plurality of frames For each of the patterns, the pattern data of the frame pattern, the concrete pattern position data of the arrangement position of the concrete pattern, the character pattern position data of the arrangement positions of the plurality of character patterns, and the character arrangement direction data of the arrangement direction of the plurality of character patterns are stored. Frame data storage means ;
Based on the data stored in the storage unit, and any one of the frame pattern, a pattern selecting means for selecting and setting the one of the object design, and a plurality of character patterns combined thereto, the
Character pattern position data and text stored in the frame data storage means
The pattern selecting means based on the character arrangement direction data.
Make sure that multiple selected character patterns do not protrude from the frame pattern
In the frame pattern stored in the frame data storage means.
Frame data, concrete pattern position data, and character pattern position data
Based on the concrete pattern and multiple character patterns to the frame
The apparatus comprises a data synthesizing unit for synthesizing the composite pattern data of the composite pattern arranged at a specific position, and a composite pattern data storage unit for storing the data synthesized by the data synthesizing unit.

【0008】[0008]

【作用】本発明に係るミシンの模様データ処理装置にお
いては、具象文字データ記憶手段には複数の具象模様と
複数の文字模様の模様データが格納され、枠データ記憶
手段には、複数の枠模様の各々に関して、枠模様の模様
データと、具象模様の配置位置の具象模様位置データ
と、複数の文字模様の配置位置の文字模様位置データ
と、複数の文字模様の配列方向の文字配列方向データと
が格納されている。ここで、模様選択手段で何れか1つ
の枠模様と、これに組合わせる何れか1つの具象模様及
び複数の文字模様とを選択設定したとき、データ合成手
段は、前記模様選択手段で選択された複数の文字模様
が、前記模様選択手段で選択された枠模様からはみ出さ
ないように、模様選択手段で選択された枠模様に関する
文字模様位置データと文字配列方向データとに基づいて
配置し、枠模様の枠データと具象模様位置データと文字
模様位置データとに基づいて、具象模様と複数の文字模
様とを枠に対して特定の位置に配置するようにした複合
模様の複合模様データを合成し、複合模様データ記憶手
段はデータ合成手段で合成されたデータを記憶する。
In the sewing machine pattern data processing device according to the present invention, the concrete character data storage means stores a plurality of concrete patterns and a plurality of character pattern data, and the frame data storage means stores a plurality of frame patterns. For each of the following, the pattern data of the frame pattern, the concrete pattern position data of the arrangement position of the concrete pattern, the character pattern position data of the arrangement positions of the plurality of character patterns, and the character arrangement direction data of the arrangement direction of the plurality of character patterns Is stored. Here, when any one frame pattern and any one concrete pattern and a plurality of character patterns combined with the frame pattern are selected and set by the pattern selection means , the data synthesis means is selected by the pattern selection means. Multiple character patterns
Is outside the frame pattern selected by the pattern selection means.
The frame pattern selected by the pattern selection means
Based on character pattern position data and character array direction data
Place, frame data of frame pattern, concrete pattern position data and characters
Based on the pattern position data, the concrete pattern and the
The composite pattern data of the composite pattern in which the pattern is arranged at a specific position with respect to the frame is synthesized, and the composite pattern data storage unit stores the data synthesized by the data synthesis unit.

【0009】従って、この複合模様データ記憶手段に記
憶された複合模様データにおいては、各枠模様に対し
て、具象模様と複数の文字模様とが最適な位置に配置さ
れるとともに、複数の文字模様が最適な配列方向に配置
されている複合縫製データとすることが可能であるの
で、この複合模様データに基いて縫製することにより、
枠模様と具象模様と複数の文字模様とを見栄え良く形成
することができる。
Therefore, in the composite pattern data stored in the composite pattern data storage means, a concrete pattern and a plurality of character patterns are arranged at optimum positions for each frame pattern, and a plurality of character patterns are arranged. Can be combined sewing data arranged in the optimal arrangement direction, so by performing sewing based on this combined pattern data,
A frame pattern, a concrete pattern, and a plurality of character patterns can be formed with good appearance.

【0010】[0010]

【発明の効果】本発明に係るミシンの模様データ処理装
置によれば、〔作用〕の項で説明したように、模様選択
手段と、データ合成手段と、複合模様データ記憶手段と
を設け、枠模様に対する具象模様と文字模様との配置位
置及び複数の文字模様の配列方向とを、各枠模様毎に自
動的に設定するようにして、模様選択手段で選択された
複数の文字模様が、模様選択手段で選択された枠模様
らはみ出さないように、枠模様と具象模様と複数の文字
模様を選択設定することにより、見栄えの良い複合模様
を縫製する為の複合模様データを容易に作成することが
できる。
According to the pattern data processing apparatus for a sewing machine according to the present invention, as described in the section of [Operation], the pattern selecting means, the data synthesizing means, and the composite pattern data storing means are provided. The arrangement position of the concrete pattern and the character pattern with respect to the pattern and the arrangement direction of the plurality of character patterns are automatically set for each frame pattern, and are selected by the pattern selection means.
Whether a plurality of character patterns are frame patterns selected by the pattern selection means
By selecting and setting a frame pattern, a concrete pattern, and a plurality of character patterns so as not to protrude , composite pattern data for sewing a composite pattern with good appearance can be easily created.

【0011】[0011]

【実施例】以下、本発明の実施例について図面に基いて
説明する。本実施例は、着脱可能な刺繍装置を装着した
電子制御式ジグザグミシンに設けられた模様データ処理
装置に本発明を適用した場合のものである。電子制御式
ジグザグミシンMは図2に示すように、ミシンベッド部
1と、そのベッド部1の右端部から立設された脚柱部2
と、その脚柱部2からベッド部1に対向するように左方
へ延びるアーム部3とから構成され、ベッド部1には、
送り歯を上下動させる送り歯上下動機構(図示略)及び
前後動させる送り歯前後動機構(図示略)などが設けら
れ、アーム部3には、縫針6を下端に装着可能な針棒5
を上下動させる針棒駆動機構と針棒5を布送り方向と直
交する方向に揺動させる針棒揺動機構、天秤を針棒の上
下動に調時して上下動させる天秤駆動機構(図示略)な
どが設けられている。尚、送り歯上下動機構と針棒駆動
機構と天秤駆動機構とはミシンモータ18で駆動され、
また送り歯前後動機構は送り歯駆動用ステッピングモー
タ20で駆動され、針棒揺動機構は針棒揺動用ステッピ
ングモータ19で駆動される。
Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, the present invention is applied to a pattern data processing device provided in an electronically controlled zigzag sewing machine equipped with a detachable embroidery device. As shown in FIG. 2, the electronically controlled zigzag sewing machine M includes a sewing machine bed 1 and a pillar 2 erected from the right end of the bed 1.
And an arm 3 extending leftward from the pillar 2 so as to face the bed 1.
A feed dog vertical movement mechanism (not shown) for moving the feed dog up and down, a feed dog back and forth movement mechanism (not shown) for moving the feed dog back and forth, and the like are provided.
Drive mechanism for moving the needle bar up and down, a needle bar swing mechanism for swinging the needle bar 5 in a direction orthogonal to the cloth feeding direction, and a balance drive mechanism for moving the balance up and down by adjusting the needle bar up and down (illustrated) Etc.) are provided. The feed dog vertical movement mechanism, the needle bar drive mechanism and the balance drive mechanism are driven by the sewing machine motor 18,
The feed dog longitudinal movement mechanism is driven by a feed dog drive stepping motor 20, and the needle bar swing mechanism is driven by a needle bar swing stepping motor 19.

【0012】前記アーム部3には、縫製模様や種々のメ
ッセージを表示可能な液晶ディスプレイ10が設けら
れ、頭部4には、縫製作業の起動と停止を指令する起動
・停止スイッチ11が設けられている。また、前記脚柱
部2には、所望の縫製模様を選択する為のテンキーから
なる模様選択キー12、後述の複合模様の縫製を開始す
る為の開始キー13と終了する為の終了キー14とが設
けられるとともに、4種類の模様選択用カードC1〜C
4をカード受け具に装着する為のカード用スロットが形
成されている。
The arm 3 is provided with a liquid crystal display 10 capable of displaying sewing patterns and various messages, and the head 4 is provided with a start / stop switch 11 for instructing start and stop of sewing work. ing. The pedestal portion 2 has a pattern selection key 12 composed of ten keys for selecting a desired sewing pattern, a start key 13 for starting sewing of a composite pattern described later, and an end key 14 for ending the sewing. And four types of pattern selection cards C1 to C
4 is formed with a card slot for mounting 4 in a card receiver.

【0013】前記ベッド部1の左端部分にはフリーアー
ム部1aが形成されており、このフリーアーム部1aに
刺繍装置30が着脱可能に装着されている。この刺繍装
置30には、刺繍テーブル31が布送り方向及び反布送
り方向に平行なY方向とこのY方向に直交するX方向と
に移動可能に設けられ、この刺繍テーブル31には、加
工布を支持する為の支持枠(図示略)が着脱可能に装着
できるようになっている。また、この刺繍装置30の本
体フレーム内には、刺繍テーブル31をX方向に駆動す
る為のX方向ステッピングモータ32(図3参照)とY
方向に駆動する為のY方向ステッピングモータ33(図
3参照)とが配設されている。従って、ミシンMから供
給される駆動信号による両ステッピングモータ32・3
3の駆動と針棒5の上下動との協働により、支持枠の加
工布に種々の刺繍模様が形成されるようになっている。
A free arm 1a is formed at the left end of the bed 1, and an embroidery device 30 is detachably mounted on the free arm 1a. In the embroidery device 30, an embroidery table 31 is provided so as to be movable in a Y direction parallel to a cloth feeding direction and a counter cloth feeding direction and in an X direction orthogonal to the Y direction. A support frame (not shown) for supporting the camera can be detachably mounted. An X-direction stepping motor 32 (see FIG. 3) for driving the embroidery table 31 in the X direction is provided in the main body frame of the embroidery device 30.
A Y-direction stepping motor 33 (see FIG. 3) for driving in the direction is provided. Therefore, both the stepping motors 32.3 by the drive signal supplied from the sewing machine M are used.
By the cooperation of the driving of the needle 3 and the vertical movement of the needle bar 5, various embroidery patterns are formed on the work cloth of the support frame.

【0014】前記実用模様選択用カードC1〜C4は図
11〜図14に示すように、4種類準備されている。模
様選択用カードC1には、直線縫いやジグザグ縫いなど
の複数の実用縫いの模様と模様番号とが対応づけて描か
れ、具象模様選択用カードC2には、動物や乗り物など
を含む複数の具象模様と模様番号とが対応づけて描か
れ、枠模様選択用カードC3には、曲線や円弧などから
なる複数の枠模様と模様番号とが対応づけて描かれ、ま
た文字模様選択用カードC4には、ひらがなやカタカナ
やアルファベットや少数の漢字などの複数の文字模様と
模様番号とが対応づけて描かれている。更に、実用模様
選択用カードC1の下端部には、左端部側に第1スリッ
ト35が形成され、具象模様選択用カードC2の下端部
には、右端部側に第2スリット36が形成され、枠模様
選択用カードC3の下端部には、左右両端部側に第1ス
リット35と第2スリット36とが形成されている。但
し、文字模様選択用カードC4の下端部には、何れのス
リット35・36も形成されていない。従って、カード
受け具に装着された模様選択用カードC1〜C4の種類
を判別する為に、カード受け具には、第1スリット35
に対応して第1スイッチ16が設けられ、また第2スリ
ット36に対応して第2スイッチ17が設けられてお
り、これら第1・第2スイッチ16・17は対応する第
1・第2スリット35・36以外の模様選択用カードC
1〜C4の下端部で作動される。
As shown in FIGS. 11 to 14, four types of practical pattern selection cards C1 to C4 are prepared. A plurality of practical sewing patterns such as straight stitches and zigzag stitches are associated with pattern numbers on the pattern selection card C1, and a plurality of concrete patterns including animals and vehicles are drawn on the concrete pattern selection card C2. The pattern and the pattern number are drawn in association with each other, the frame pattern selection card C3 is drawn with a plurality of frame patterns composed of curves and arcs and the pattern number associated with each other, and the character pattern selection card C4 is drawn. Is a drawing in which a plurality of character patterns such as hiragana, katakana, alphabets, and a few kanji are associated with pattern numbers. Further, a first slit 35 is formed at the lower end of the practical pattern selection card C1 at the left end, and a second slit 36 is formed at the right end of the concrete pattern selection card C2 at the lower end. A first slit 35 and a second slit 36 are formed at the lower left and right ends of the frame pattern selection card C3. However, neither slits 35 or 36 are formed at the lower end of the character pattern selection card C4. Therefore, in order to determine the type of the pattern selection cards C1 to C4 attached to the card receiver, the first slit 35 is provided in the card receiver.
And a second switch 17 is provided corresponding to the second slit 36. The first and second switches 16 and 17 are provided with corresponding first and second slits. Card C for selecting patterns other than 35 and 36
It is activated at the lower ends of 1 to C4.

【0015】次に、ミシンMと刺繍装置30の制御系
は、図3のブロック図に示すように構成されている。起
動・停止スイッチ11と、開始キー13と、終了キー1
4と、模様選択キー12と、ミシンモータ18で回転さ
れるミシン主軸に接近して設けられ、針上位置や針下糸
などを含む各種のタイミング信号を発生するタイミング
信号発生器15と、第1スイッチ16及び第2スイッチ
17は制御装置Cの入力インターフェース23に夫々接
続されている。また、制御装置Cの出力インターフェー
ス28には、ミシンモータ18、針棒揺動用ステッピン
グモータ19、送り歯駆動用ステッピングモータ20、
ディスプレイ(LCD)10の為のディスプレイコント
ローラ(LCDC)22が夫々接続されている。更に、
この出力インターフェース28には、1対のコネクタ2
9を介して刺繍装置30のX方向ステッピングモータ3
2とY方向ステッピングモータ33とが夫々接続されて
いる。
Next, the control system of the sewing machine M and the embroidery device 30 is configured as shown in the block diagram of FIG. Start / stop switch 11, start key 13, end key 1
4, a pattern selection key 12, a timing signal generator 15 which is provided close to the sewing machine spindle rotated by the sewing machine motor 18 and generates various timing signals including a needle upper position, a needle lower thread and the like. The first switch 16 and the second switch 17 are respectively connected to the input interface 23 of the control device C. The output interface 28 of the control device C includes a sewing machine motor 18, a needle bar swing stepping motor 19, a feed dog driving stepping motor 20,
A display controller (LCDC) 22 for the display (LCD) 10 is connected to each. Furthermore,
The output interface 28 has a pair of connectors 2
9 through the X direction stepping motor 3 of the embroidery device 30
2 and the Y-direction stepping motor 33 are connected respectively.

【0016】制御装置Cは、CPU25と、このCPU
25にデータバスなどのバス24を介して接続された入
力インターフェース23、出力インターフェース28、
ROM26とRAM27などから構成されている。ここ
で、模様選択キー12と、第1・第2スイッチ16・1
7と、制御装置Cとで模様データ処理装置が構成されて
いる。ROM26には、モータ18〜20を駆動する為
のモータ駆動制御プログラム、後述の模様選択制御の制
御のプログラム、複合模様データ作成制御の制御プログ
ラムなどが格納されている。RAM27には、これら模
様選択制御や模様データ作成制御に必要な種々のポイン
タやカウンタやフラグメモリや第1バッファ1BF〜第
5バッファ5BFと、CPU25で演算処理した演算結
果を一時的に格納する種々のメモリなどが設けられてい
る。
The control device C comprises a CPU 25 and this CPU
25, an input interface 23, an output interface 28 connected via a bus 24 such as a data bus,
It comprises a ROM 26, a RAM 27 and the like. Here, the pattern selection key 12 and the first and second switches 16.
7 and the control device C constitute a pattern data processing device. The ROM 26 stores a motor drive control program for driving the motors 18 to 20, a program for control of pattern selection control described later, a control program for composite pattern data creation control, and the like. The RAM 27 includes various pointers, counters, and flag memories required for the pattern selection control and the pattern data creation control, the first buffer 1BF to the fifth buffer 5BF, and various types of memories for temporarily storing the calculation results obtained by the CPU 25. Is provided.

【0017】前記ROM26には、図4に示すように、
アドレス(J00)から複数の枠模様コードW1〜Wi
の模様データの各々の先頭アドレスと複数の具象模様コ
ードG1〜Giの模様データの各々の先頭アドレスと複
数の文字模様コードM1〜Miの模様データの各々の先
頭アドレスとが格納され、アドレス(K00)から枠模
様コードW1〜Wiの各々の模様データと具象模様コー
ドG1〜Giの各々の模様データと文字模様コードM1
〜Miの各々の模様データとが格納され、アドレス(L
00)から枠模様コードW1〜Wiの各々の枠模様に付
随して縫製される具象模様や文字模様の模様群の配置デ
ータが格納され、アドレス(M00)から枠模様コード
W1〜Wiの各々の枠模様に付随して縫製される文字模
様の1行目文字模様配列位置(以下、1行目配列位置と
いう)と2行目文字模様配列位置(以下、2行目配列位
置という)の最大文字数(M1N、M2N)が格納さ
れ、アドレス(N00)から枠模様コードW1〜Wiの
各々の枠模様に付随して縫製される文字模様の配列方向
の方向データ(縦方向又は横方向)が格納されている。
In the ROM 26, as shown in FIG.
From the address (J00), a plurality of frame pattern codes W1 to Wi
Of the pattern data of the plurality of concrete pattern codes G1 to Gi and the respective start addresses of the pattern data of the plurality of character pattern codes M1 to Mi are stored at the address (K00). ) To frame pattern codes W1 to Wi, pattern data of concrete pattern codes G1 to Gi, and character pattern code M1.
To Mi are stored, and an address (L
00) to the frame pattern codes W1 to Wi, the arrangement data of the concrete and character pattern groups to be sewn along with each of the frame patterns is stored, and from the address (M00), each of the frame pattern codes W1 to Wi is stored. Maximum number of characters in the first line character pattern arrangement position (hereinafter referred to as first line arrangement position) and the second line character pattern arrangement position (hereinafter referred to as second line arrangement position) of the character pattern sewn along with the frame pattern (M1N, M2N) are stored, and directional data (vertical direction or horizontal direction) in the arrangement direction of the character pattern sewn along with each of the frame patterns W1 to Wi from the address (N00) is stored. ing.

【0018】前記枠模様と具象模様と文字模様の各々の
模様データは図5に示すように、XY両方向の大きさか
らなる模様の大きさデータと複数のX座標及びY座標か
らなる圧縮された運針データとが格納されている。ま
た、前記アドレス(L00)から格納されている枠模様
コードW1〜Wnの各々の模様群の配置データは図6に
示すように、模様群0に関する設定モードデータとX方
向オフセットデータ(X0)とY方向オフセットデータ
(Y0)、模様群1に関する設定モードデータとX方向
オフセットデータ(X1)とY方向オフセットデータ
(Y1)、模様群2に関する設定モードデータとX方向
オフセットデータ(X2)とY方向オフセットデータ
(Y2)、模様群3に関する設定モードデータとX方向
オフセットデータ(X3)とY方向オフセットデータ
(Y3)が格納されている。但し、Y1=0、X1=0
である。ここで、各模様群0〜3に設定されているX方
向オフセットデータとY方向オフセットデータとからな
るオフセット量は、枠模様Wの最大外形の中心位置に対
する具象模様Gの外形の中心位置或いは1行目・2行目
配列位置の外形の中心位置との変位量である。また、模
様群0は具象模様Gであり、模様群1は枠模様Wであ
り、模様群2は1行目配列位置の複数の文字模様Mであ
り、模様群3は2行目配列位置の複数の文字模様Mであ
る。
As shown in FIG. 5, the pattern data of the frame pattern, the concrete pattern and the character pattern are compressed as shown in FIG. 5 in the form of size data in both X and Y directions and a plurality of X and Y coordinates. The hand movement data is stored. As shown in FIG. 6, the layout data of each pattern group of the frame pattern codes W1 to Wn stored from the address (L00) includes setting mode data relating to pattern group 0 and X-direction offset data (X0). Y-direction offset data (Y0), setting mode data for pattern group 1, X-direction offset data (X1) and Y-direction offset data (Y1), setting mode data for pattern group 2, X-direction offset data (X2), and Y direction The offset data (Y2), the setting mode data for the pattern group 3, the X-direction offset data (X3), and the Y-direction offset data (Y3) are stored. However, Y1 = 0, X1 = 0
It is. Here, the offset amount composed of the X-direction offset data and the Y-direction offset data set in each of the pattern groups 0 to 3 is the center position of the outer shape of the concrete pattern G with respect to the center position of the maximum outer shape of the frame pattern W or 1 This is the amount of displacement between the arrangement position of the second row and the second row and the center position of the outer shape. The pattern group 0 is a concrete pattern G, the pattern group 1 is a frame pattern W, the pattern group 2 is a plurality of character patterns M at the first line arrangement position, and the pattern group 3 is a second line arrangement position. There are a plurality of character patterns M.

【0019】例えば、図9に示す枠模様Waを用いた複
合模様FAのときには、枠模様Waの内部の所定位置に
具象模様Gaが形成され、枠模様Waの内部の所定の1
行目配列位置に複数の文字模様Ma1「さくらぐみ」が
横配列方向に形成されるとともに、2行目配列位置に複
数の文字模様Ma2「もり みえこ」が横配列方向に形
成される。また、図10に示す枠模様Wbを用いた複合
模様FBのときには、枠模様Wbの上側の所定位置に具
象模様Gbが形成され、枠模様Wbの内部の所定の1行
目配列位置に複数の文字模様Mb1「あかぐみ」が縦配
列方向に形成されるとともに、2行目配列位置に複数の
文字模様Mb2「かわいしゅんいち」が縦配列方向に形
成される。
For example, in the case of the composite pattern FA using the frame pattern Wa shown in FIG. 9, a concrete pattern Ga is formed at a predetermined position inside the frame pattern Wa, and a predetermined pattern 1 inside the frame pattern Wa is formed.
A plurality of character patterns Ma1 "Sakuragumi" are formed in the horizontal arrangement direction at the line arrangement position, and a plurality of character patterns Ma2 "Mori Mieko" are formed in the horizontal arrangement direction at the second line arrangement position. Further, in the case of the composite pattern FB using the frame pattern Wb shown in FIG. 10, a concrete pattern Gb is formed at a predetermined position above the frame pattern Wb, and a plurality of concrete patterns Gb are arranged at predetermined predetermined first row arrangement positions inside the frame pattern Wb. The character pattern Mb1 “Akagumi” is formed in the vertical arrangement direction, and a plurality of character patterns Mb2 “Kawaii Shunichi” are formed in the vertical arrangement direction at the second row arrangement position.

【0020】前記設定モードデータは図7に示すよう
に、1バイトから構成されている。ここで、「5」ビッ
トに設けられた模様群の左上位置の針落ちの有無及び
「4」ビットに設けられた模様群の右上位置の針落ちの
有無とは、模様群(文字列)を縫製する際に最初の針落
ちを設定するデータであり、上記両位置供、針落ち有り
の場合は、右上位置、左上位置の順に針落ちするもので
ある。また、「3」・「2」ビットに設けられた模様群
の基準位置のX座標値((01:左詰め)又は(10:左右
中心)又は(11:右詰め))と「1」・「0」ビットに
設けられた模様群の基準位置のY座標値((01:上詰
め)又は(10:上下中心)又は(11:下詰め))とは、
図8に示すように、各模様群の最大外形の配置位置を枠
模様Wの外形の中心位置に対して配置するときの基準位
置をX座標値とY座標値とで指示するデータである。
The setting mode data consists of one byte as shown in FIG. Here, the presence / absence of a needle drop at the upper left position of the pattern group provided in the “5” bit and the presence / absence of a needle drop at the upper right position of the pattern group provided in the “4” bit are expressed by the pattern group (character string). This is data for setting the first needle drop at the time of sewing, and when there is a needle drop at the above both positions, the needle drops at the upper right position and the upper left position in this order. Also, the X coordinate value ((01: left-justified) or (10: left-right center) or (11: right-justified)) of the reference position of the pattern group provided in the “3” and “2” bits and “1” The Y coordinate value ((01: top justified), (10: vertical center), or (11: bottom justified)) of the reference position of the pattern group provided in the “0” bit is
As shown in FIG. 8, the data indicates the reference position when the arrangement position of the maximum outer shape of each pattern group is arranged with respect to the center position of the outer shape of the frame pattern W using X coordinate values and Y coordinate values.

【0021】次に、ミシンMの模様データ処理装置で行
なわれる模様選択制御のルーチンについて、図15〜図
20のフローチャートに基いて説明する。尚、図中符号
Si(i=10、11、12・・・・)は各ステップで
ある。ミシンMに電源が投入されるとこの制御が開始さ
れ、先ず終了モードフラグSFがセットされ、枠模様W
を格納する枠モードフラグと具象模様Gを格納する具象
モードフラグと1行目配列位置の文字模様Mを格納する
1行目文字モードフラグM1Fと2行目配列位置の文字
模様Mを格納する2行目文字モードフラグM2Fが夫々
リセットされ且つ模様数バッファの模様数カウント値M
Cがクリアされる(S10)。そして、開始キー13が
操作されたときには(S11・S12:Yes)、RA
M27の第1バッファ1BFと第2バッファ2BFとが
夫々クリアされるとともに、第1バッファ1BFの1つ
のアドレスを指示するバッファポインタBPに第1バッ
ファ1BFの先頭アドレスA0が格納され(S13)、
フラグSFがリセットされ且つフラグGFがセットされ
(S14)、S11に戻る。
Next, a pattern selection control routine performed by the pattern data processing device of the sewing machine M will be described with reference to the flowcharts of FIGS. Note that reference numerals Si (i = 10, 11, 12,...) In the figure indicate each step. When the power is turned on to the sewing machine M, this control is started. First, the end mode flag SF is set, and the frame pattern W
, A concrete mode flag for storing the concrete pattern G, a first line character mode flag M1F for storing the character pattern M at the first line arrangement position, and a character pattern M for storing the character pattern M at the second line arrangement position 2 The line character mode flag M2F is reset and the pattern count value M of the pattern buffer is set.
C is cleared (S10). When the start key 13 is operated (S11 / S12: Yes), RA
The first buffer 1BF and the second buffer 2BF of M27 are each cleared, and the head address A0 of the first buffer 1BF is stored in the buffer pointer BP pointing to one address of the first buffer 1BF (S13).
The flag SF is reset and the flag GF is set (S14), and the process returns to S11.

【0022】次に、具象模様Gを選択する為に、前記カ
ード受け具に具象模様選択用カードC2を装着した後、
模様選択キーが操作されたときには(S11:Yes、
S12:No、S15:Yes)、フラグGFがセット
されているので(S16:Yes)、具象模様格納処理
制御(図16参照)が実行される(S22)。この制御
が開始されると、先ず2桁で入力された具象模様Gの模
様番号と第1・第2スイッチ16・17からの入力信号
とに基いて、具象模様コードGnに変換され(S3
0)、この具象模様コードGnが第1バッファ1BFに
格納される(S31)。次に、模様数カウント値MC
(MC=0)が第2バッファ2BFに格納され(S3
2)、バッファポインタBPが1つインクリメントされ
(S33)、フラグGFがリセットされ且つフラグWF
がセットされ(S34)、この制御を終了して、リター
ンする。
Next, in order to select a concrete pattern G, a card C2 for selecting a concrete pattern is mounted on the card receiving device.
When the pattern selection key is operated (S11: Yes,
S12: No, S15: Yes), since the flag GF is set (S16: Yes), the concrete pattern storage processing control (see FIG. 16) is executed (S22). When this control is started, first, based on the pattern number of the concrete pattern G input in two digits and the input signals from the first and second switches 16 and 17, it is converted into a concrete pattern code Gn (S3).
0), the concrete pattern code Gn is stored in the first buffer 1BF (S31). Next, the pattern count value MC
(MC = 0) is stored in the second buffer 2BF (S3
2) The buffer pointer BP is incremented by one (S33), the flag GF is reset and the flag WF
Is set (S34), this control is terminated, and the routine returns.

【0023】次に、枠模様Wを選択する為に、カード受
け具に枠模様選択用カードC3を装着した後、模様選択
キーが操作されたときには(S11:Yes、S12:
No、S15:Yes)、フラグWFがセットされてい
るので(S16:No、S17:Yes)、枠模様格納
処理制御(図17参照)が実行される(S23)。この
制御が開始されると、先ず2桁で入力された枠模様Wの
模様番号と第1・第2スイッチ16・17からの入力信
号とに基いて、枠模様コードWnに変換され(S4
0)、この枠模様コードWnが第1バッファ1BFに格
納される(S41)。次に、模様数カウント値MCが1
つインクリメントされ(S42)、この模様数カウント
値MC(MC=1)が第2バッファ2BFに格納される
(S43)。次に、この枠模様コードWnの模様群配置
データがROM26から読込まれ(S44)、更に枠模
様コードWnに付随して形成する文字模様の配列方向デ
ータと1行目と2行目の各文字模様配列位置の最大文字
数データ(M1N、M2N)とが夫々読込まれる(S4
5・S46)。次に、文字数カウンタの文字数カウント
値MJCがクリアされ(S47)、バッファポインタB
Pが1つインクリメントされ(S48)、フラグWFが
リセットされ且つフラグM1Fがセットされ(S4
9)、この制御を終了して、リターンする。
Next, in order to select the frame pattern W, when the pattern selection key is operated after the frame pattern selection card C3 is mounted on the card receiver (S11: Yes, S12:
No, S15: Yes), since the flag WF is set (S16: No, S17: Yes), the frame pattern storage processing control (see FIG. 17) is executed (S23). When this control is started, first, it is converted into a frame pattern code Wn based on the pattern number of the frame pattern W input in two digits and the input signals from the first and second switches 16 and 17 (S4).
0), the frame pattern code Wn is stored in the first buffer 1BF (S41). Next, the pattern count value MC is 1
The pattern number count value MC (MC = 1) is stored in the second buffer 2BF (S43). Next, the pattern group arrangement data of the frame pattern code Wn is read from the ROM 26 (S44), and furthermore, the arrangement direction data of the character pattern formed along with the frame pattern code Wn and the respective characters on the first and second lines The maximum character number data (M1N, M2N) at the pattern arrangement position is read (S4).
5. S46). Next, the character count value MJC of the character counter is cleared (S47), and the buffer pointer B
P is incremented by one (S48), the flag WF is reset, and the flag M1F is set (S4).
9), end this control and return.

【0024】次に、1行目配列位置に形成する文字模様
Mを選択する為に、カード受け具に文字模様選択用カー
ドC4を装着した後、模様選択キーが操作されたときに
は(S11:Yes、S12:No、S15:Ye
s)、フラグM1Fがセットされているので(S16・
S17:No、S18:Yes)、1行目文字列格納処
理制御(図18参照)が実行される(S24)。この制
御が開始されると、先ず文字数カウント値MJCが1行
目配列位置の最大文字数データM1Nより小さいときに
は(S60:Yes)、2桁で入力された文字模様Mの
模様番号と第1・第2スイッチ16・17からの入力信
号とに基いて、文字模様コードMnに変換され(S6
1)、この文字模様コードMnが第1バッファ1BFに
格納される(S62)。次に、模様数カウント値MCが
1つインクリメントされるとともに、文字数カウント値
MJCが1つインクリメントされ(S63)、バッファ
ポインタBPも1つインクリメントされ(S64)、こ
の制御を終了して、リターンする。ところで、複数の文
字模様Mが選択されたときには、文字模様Mが選択され
る毎にこの制御が実行され、その選択された文字模様コ
ードが第1バッファ1BFに順次格納される。尚、文字
数カウント値MJCが最大文字数データM1Nより大き
いときには(S60:No)、ディスプレイ10に警告
メッセージを表示するなどのエラー処理が実行される
(S65)。
Next, in order to select a character pattern M to be formed at the first row arrangement position, after the character pattern selection card C4 is mounted on the card receiver, when the pattern selection key is operated (S11: Yes) , S12: No, S15: Ye
s), since the flag M1F is set (S16
S17: No, S18: Yes), the first line character string storage control (see FIG. 18) is executed (S24). When this control is started, first, when the character number count value MJC is smaller than the maximum character number data M1N at the first row arrangement position (S60: Yes), the pattern number of the character pattern M input by two digits and the first and second characters are set. 2 is converted into a character pattern code Mn based on the input signals from the two switches 16 and 17 (S6).
1) The character pattern code Mn is stored in the first buffer 1BF (S62). Next, the pattern number count value MC is incremented by one, the character number count value MJC is incremented by one (S63), the buffer pointer BP is also incremented by one (S64), this control is terminated, and the routine returns. . When a plurality of character patterns M are selected, this control is executed every time the character pattern M is selected, and the selected character pattern codes are sequentially stored in the first buffer 1BF. When the character number count value MJC is larger than the maximum character number data M1N (S60: No), error processing such as displaying a warning message on the display 10 is executed (S65).

【0025】次に、終了キー14が操作されたときには
(S11:Yes、S12・S15:No、S20:Y
es)、入力モード変更処理制御(図20)が実行され
る(S21)。この制御が開始されたときに、フラグM
1Fがセットされているので(S80・S81:No、
S82:Yes)、フラグM1Fがリセットされ且つフ
ラグM2Fがセットされる(S83)。次に、模様数カ
ウント値MC(例えば、n1)が第2バッファ2BFに
格納され(S84)、文字数カウント値MJCがクリア
され(S85)、この制御を終了して、リターンする。
尚、終了キー14が操作されたときに、フラグGFがセ
ットされているとき(S80:Yes)、或いはフラグ
WFがセットされているときには(S80:No、S8
1:Yes)、この制御を直ぐに終了する。
Next, when the end key 14 is operated (S11: Yes, S12 / S15: No, S20: Y
es), input mode change processing control (FIG. 20) is executed (S21). When this control is started, the flag M
Since 1F is set (S80 / S81: No,
S82: Yes), the flag M1F is reset and the flag M2F is set (S83). Next, the pattern number count value MC (for example, n1) is stored in the second buffer 2BF (S84), the character number count value MJC is cleared (S85), the control is terminated, and the routine returns.
When the end key 14 is operated, when the flag GF is set (S80: Yes), or when the flag WF is set (S80: No, S8)
1: Yes), this control is immediately ended.

【0026】次に、2行目配列位置に形成する文字模様
を選択する為に、模様選択キーが操作されたときには
(S11:Yes、S12:No、S15:Yes)、
フラグM2Fがセットされているので(S16・S17
・S18:No、S19:Yes)、2行目文字列格納
処理制御(図19参照)が実行される(S25)。この
制御が開始されると、先ず文字数カウント値MJCが2
行目配列位置の最大文字数データM2Nより小さいとき
には(S70:Yes)、2桁で入力された文字模様の
模様番号と第1・第2スイッチ16・17からの入力信
号とに基いて、文字模様コードMnに変換され(S7
1)、この文字模様コードMnが第1バッファ1BFに
格納される(S72)。次に、模様数カウント値MCが
1つインクリメントされるとともに、文字数カウント値
MJCが1つインクリメントされ(S73)、バッファ
ポインタBPも1つインクリメントされ(S74)、こ
の制御を終了して、リターンする。尚、文字数カウント
値MJCが最大文字数データM2Nより大きいときには
(S70:No)、ディスプレイ10に警告メッセージ
を表示するなどのエラー処理が実行される(S75)。
Next, when a pattern selection key is operated to select a character pattern to be formed at the second row arrangement position (S11: Yes, S12: No, S15: Yes),
Since the flag M2F is set (S16 / S17
S18: No, S19: Yes), the second-line character string storage control (see FIG. 19) is executed (S25). When this control is started, first, the character count value MJC becomes 2
If it is smaller than the maximum character number data M2N at the line array position (S70: Yes), the character pattern is determined based on the pattern number of the character pattern input in two digits and the input signals from the first and second switches 16 and 17. Is converted into a code Mn (S7
1) The character pattern code Mn is stored in the first buffer 1BF (S72). Next, the pattern number count value MC is incremented by one, the character number count value MJC is incremented by one (S73), the buffer pointer BP is also incremented by one (S74), this control is terminated, and the routine returns. . When the character count value MJC is larger than the maximum character count data M2N (S70: No), error processing such as displaying a warning message on the display 10 is executed (S75).

【0027】次に、終了キーが操作されたときには(S
11:Yes、S12・S15:No、S20:Ye
s)、入力モード変更処理制御(図20)が再度実行さ
れる(S21)。この制御が開始されたときに、フラグ
M2Fがセットされているので(S80・S81・S8
2:No、S86:Yes)、フラグM2Fがリセット
され且つフラグSFがセットされる(S87)。次に、
終了データ(FF)が第1バッファ1BFに格納され
(S88)、模様数カウント値MC(例えば、n2)が
第2バッファ2BFに格納され(S89)、第2バッフ
ァ2BFに終了データ「FF」が格納される(S9
0)。
Next, when the end key is operated (S
11: Yes, S12 / S15: No, S20: Yes
s), the input mode change processing control (FIG. 20) is executed again (S21). When this control is started, the flag M2F is set (S80, S81, S8).
2: No, S86: Yes), the flag M2F is reset, and the flag SF is set (S87). next,
The end data (FF) is stored in the first buffer 1BF (S88), the pattern count value MC (for example, n2) is stored in the second buffer 2BF (S89), and the end data "FF" is stored in the second buffer 2BF. Is stored (S9
0).

【0028】例えば、第1バッファ1BFには図21に
示すように、模様群0に対応して1つの具象模様コード
「33」、模様群1に対応して1つの枠模様コード「7
2」、模様群2に対応して1行目配列位置に形成される
複数の文字模様Mの文字模様コード「101」、「12
1」・・・「211」、模様群3に対応して2行目配列
位置に形成される複数の文字模様の文字模様コード「1
83」、「232」・・・「254」、終了コード「F
F」が夫々順次格納されている。また、第2バッファ2
BFには図22に示すように、模様群毎に模様数カウン
ト値MC「0」、「1」、「n1」、「n2」が格納さ
れている。尚、終了データ「FF」が追加格納されてい
る。
For example, as shown in FIG. 21, one concrete pattern code "33" corresponding to pattern group 0 and one frame pattern code "7" corresponding to pattern group 1 are stored in the first buffer 1BF.
2 ", character pattern codes" 101 "," 12 "of a plurality of character patterns M formed at the first row arrangement position corresponding to pattern group 2.
“1”... “211”, a character pattern code “1” of a plurality of character patterns formed at the second row arrangement position corresponding to pattern group 3
83 "," 232 "..." 254 ", end code" F "
F "are sequentially stored. Also, the second buffer 2
As shown in FIG. 22, the BF stores pattern number count values MC “0”, “1”, “n1”, and “n2” for each pattern group. Note that end data “FF” is additionally stored.

【0029】次に、前記模様選択制御の終了に伴って開
始され、選択された枠模様Wと具象模様Gと複数の文字
模様Mとを組合わせた複合模様の複合模様データを作成
する複合模様データ作成処理制御のルーチンについて、
図23のフローチャートに基いて説明する。
Next, a composite pattern is started upon completion of the pattern selection control and creates composite pattern data of a composite pattern in which the selected frame pattern W, concrete pattern G and a plurality of character patterns M are combined. Regarding the data creation process control routine,
This will be described with reference to the flowchart of FIG.

【0030】ここで、この制御について、図34〜図3
9に基いて簡単に説明するものとする。但し、枠模様W
の外形WA、具象模様Gの外形GA、1行目配列位置の
外形M1A及び2行目配列位置の外形M2Aは夫々矩形
で構成されている。図34に示すように、具象模様外形
GAの基準位置K0は例えば左右中心且つ上下中心(1
0,10)に設定されているので、この具象模様外形GA
は、枠模様外形WAの基準位置(中心位置)K1からオ
フセット量OD0(図6の模様群0のオフセットデータ
X0・Y0参照)だけシフトした基準位置K0にその中
心位置を合致させて配置される。また、1行目配列位置
外形M1Aの基準位置K2は例えば左詰め且つ上詰め
(01,01)に設定されているので、この1行目配列位置外
形M1Aは、枠模様外形WAの基準位置K1からオフセ
ット量OD2(図6の模様群2のオフセットデータX2
・Y2参照)だけシフトした基準位置K2にその左上角
を合致させて配置される。同様に、2行目配列位置外形
M2Aの基準位置K3は例えば右詰め且つ下詰め(11,1
1)に設定されているので、この2行目配列位置外形M2
Aは、基準位置K1からオフセット量OD3(図6の模
様群3のオフセットデータX3・Y3参照)だけシフト
した基準位置K3にその左上角を合致させて配置され
る。
Here, this control will be described with reference to FIGS.
9 will be briefly described. However, frame pattern W
The outer shape WA, the outer shape GA of the concrete pattern G, the outer shape M1A at the first row arrangement position, and the outer shape M2A at the second row arrangement position are each configured by a rectangle. As shown in FIG. 34, the reference position K0 of the concrete pattern outer shape GA is, for example, the left and right center and the vertical center (1
0,10), this concrete pattern outline GA
Is arranged such that its center position matches the reference position K0 shifted from the reference position (center position) K1 of the frame pattern outer shape WA by the offset amount OD0 (see the offset data X0 and Y0 of the pattern group 0 in FIG. 6). . Further, since the reference position K2 of the first line arrangement position outline M1A is set to, for example, left justified and top justified (01,01), the first line arrangement position outline M1A is the reference position K1 of the frame pattern outline WA. From the offset amount OD2 (the offset data X2 of the pattern group 2 in FIG. 6).
(See Y2), the reference position K2 shifted by the same upper left corner is arranged. Similarly, the reference position K3 of the second row arrangement position outline M2A is, for example, right justified and bottom justified (11,1
1), this second row array position outer shape M2
A is arranged such that its upper left corner matches the reference position K3 shifted from the reference position K1 by the offset amount OD3 (see the offset data X3 and Y3 of the pattern group 3 in FIG. 6).

【0031】従って、具象模様外形GAの基点GKは、
図35に示すように、基準位置K1と2つのベクトルv
1・v2とにより求められる。枠模様外形WAの基点W
Kは、図36に示すように、基準位置K1と4つのベク
トルv11〜v14とにより求められる。1行目配列位
置外形M1Aの基準点M1Kは、図37に示すように、
基準位置K1と3つのベクトルv21〜v23とにより
求められる。2行目配列位置外形M2Aの基準点M2K
は、図38に示すように、基準位置K1と5つのベクト
ルv31〜v35とにより求められる。尚、図39に
は、複合模様の終了時に基準位置K1に移行させる為の
ベクトルvEを示すものである。また、ベクトルv1
1、v21、v31は、後述の運針データ合成処理制御
で作成されるものである。
Therefore, the starting point GK of the concrete pattern outline GA is
As shown in FIG. 35, the reference position K1 and two vectors v
1 · v2. Base point W of frame pattern outline WA
K is obtained from the reference position K1 and the four vectors v11 to v14, as shown in FIG. As shown in FIG. 37, the reference point M1K of the first row array position outline M1A is
It is obtained from the reference position K1 and three vectors v21 to v23. Reference point M2K of second row array position outline M2A
Is obtained from the reference position K1 and the five vectors v31 to v35, as shown in FIG. FIG. 39 shows a vector vE for shifting to the reference position K1 at the end of the composite pattern. Also, the vector v1
1, v21 and v31 are created by hand movement data synthesis processing control described later.

【0032】この制御が開始されると、先ず模様群配置
データ読込み処理制御(図24参照)が実行される(S
100)。この制御が開始されると、先ずバッファポイ
ンタBPに先頭アドレスA0の次のアドレスが格納され
(S110)、このバッファポインタBPで指示する第
1バッファ1BFに格納されている枠模様コードWnが
読込まれ(S111)、模様群1〜3の何れかを指示す
る模様群カウント値GCがクリアされる(S112)。
次に、模様群カウント値GCで指示する模様数カウント
値MCが第2バッファ2BFから読込まれ(S11
3)、このカウント値GCが終了コード「FF」でない
ときには(S114:No)、第3バッファ3BFにこ
のS113で読込んだカウント値GCが格納され(S1
15)、模様群カウント値GCで指示する枠模様コード
Wnの設定モードデータが第3バッファ3BFに格納さ
れ(S116)、模様群カウント値GCで指示する枠模
様コードWnのオフセットデータ(Xn、Yn)が第3
バッファ3BFに格納され(S117)、模様群カウン
ト値GCが1つインクリメントされ(S118)、S1
13以降が実行される。その後模様群3まで繰り返して
実行され、読出したカウント値GCが「FF」のときに
は(S114:Yes)、この制御を終了して、リター
ンする。この制御により、図25に示すように、第3バ
ッファ3BFには、模様群0〜3の各々について、模様
数カウント値MC、設定モードデータ、X・Yオフセッ
トデータが格納される。
When this control is started, first, pattern group arrangement data reading processing control (see FIG. 24) is executed (S).
100). When this control is started, first, the address next to the head address A0 is stored in the buffer pointer BP (S110), and the frame pattern code Wn stored in the first buffer 1BF indicated by the buffer pointer BP is read. (S111), the pattern group count value GC indicating one of the pattern groups 1 to 3 is cleared (S112).
Next, the pattern count value MC indicated by the pattern group count value GC is read from the second buffer 2BF (S11).
3) When the count value GC is not the end code “FF” (S114: No), the count value GC read in S113 is stored in the third buffer 3BF (S1).
15) The setting mode data of the frame pattern code Wn specified by the pattern group count value GC is stored in the third buffer 3BF (S116), and the offset data (Xn, Yn) of the frame pattern code Wn specified by the pattern group count value GC. ) Is the third
The pattern group count value GC is stored in the buffer 3BF (S117), and the pattern group count value GC is incremented by one (S118).
13 is executed. Thereafter, the processing is repeatedly executed up to the pattern group 3, and when the read count value GC is “FF” (S114: Yes), the control is terminated and the routine returns. By this control, as shown in FIG. 25, the pattern number count value MC, the setting mode data, and the XY offset data are stored in the third buffer 3BF for each of the pattern groups 0 to 3.

【0033】次に、模様群の模様を順次形成するとき
に、次の模様群の模様を形成する為の移行量を求める模
様群移行量演算処理制御(図26〜図29参照)が実行
される(S101)。この制御が開始されると、先ず模
様群カウント値GCがクリアされ(S120)、模様群
の最大外形のX方向の大きさデータを格納する大きさバ
ッファの第1X方向大きさ1ODXと、そのY方向の大
きさデータを格納する大きさバッファの第1Y方向大き
さ1ODYとが夫々クリアされ(S121)、前記1バ
イトの設定モードデータを格納する第1設定モードバッ
ファ1MDがリセットされ(S122)、更に模様群の
X方向オフセットデータを格納するオフセットバッファ
の第1X方向オフセット量1OSXと、そのY方向オフ
セットデータを格納するオフセットバッファの第1Y方
向オフセット量1OSYとが夫々クリアされる(S12
3)。
Next, when sequentially forming the patterns of the pattern group, a pattern group transfer amount calculation process control (see FIGS. 26 to 29) for obtaining a transfer amount for forming a pattern of the next pattern group is executed. (S101). When this control is started, first, the pattern group count value GC is cleared (S120), and the size XOD size 1ODX of the size buffer for storing the size data of the maximum outer shape of the pattern group in the X direction, and its Y value. Each of the size buffers for storing the direction size data in the first Y direction 1ODY is cleared (S121), and the first setting mode buffer 1MD for storing the 1-byte setting mode data is reset (S122). Further, the first X-direction offset amount 1OSX of the offset buffer storing the X-direction offset data of the pattern group and the first Y-direction offset amount 1OSY of the offset buffer storing the Y-direction offset data are respectively cleared (S12).
3).

【0034】次に、模様群カウント値GCで指示する第
2バッファ2BFの模様数カウント値MCが読込まれ
(S124)、このカウント値GCが「FF」でないと
きには(S125:No)、このS124で読込んだカ
ウント値GCが第4バッファ4BFに格納され(S12
6)、模様群カウント値GCで指示する第3バッファ3
BFの設定モードデータが読出されて第4バッファ4B
Fに格納され(S127)、更にこの読出された設定モ
ードデータが第2設定モードバッファ2MDにも格納さ
れる(S128)。
Next, the pattern number count value MC of the second buffer 2BF indicated by the pattern group count value GC is read (S124). If the count value GC is not "FF" (S125: No), the process proceeds to S124. The read count value GC is stored in the fourth buffer 4BF (S12
6), third buffer 3 specified by pattern group count value GC
BF setting mode data is read and the fourth buffer 4B
F (S127), and the read setting mode data is also stored in the second setting mode buffer 2MD (S128).

【0035】次に、模様群カウント値GCで指示する模
様群のX方向最大外形XAとそのY方向最大外形YAと
が演算される(S129)。ここで、1行目配列位置外
形や2行目配列位置外形については、複数の文字模様M
から構成される。図34に示す枠模様外形WA、具象模
様外形GA、1行目配列位置外形M1A、2行目配列位
置外形M2Aを参照のこと。次に、第2X方向大きさ2
ODXにX方向最大外形XAが格納されるとともに、第
2Y方向大きさ2ODYにY方向最大外形YAが格納さ
れ(S130)、模様群カウント値GCで指示する第3
バッファ3BFのX方向オフセットデータXnが第2X
方向オフセット量2OSXに格納されるとともに、Y方
向オフセットデータYnが第2Y方向オフセット量2O
SYに格納される(S131)。
Next, the maximum contour XA in the X direction and the maximum contour YA in the Y direction of the pattern group indicated by the pattern group count value GC are calculated (S129). Here, regarding the first line arrangement position outline and the second line arrangement position outline, a plurality of character patterns M
Consists of See the frame pattern outline WA, the concrete pattern outline GA, the first row arrangement position outline M1A, and the second row arrangement position outline M2A shown in FIG. Next, the second X-direction size 2
The maximum outer shape XA in the X direction is stored in the ODX, and the maximum outer shape YA in the Y direction is stored in the second Y-direction size 2ODY (S130), and the third instruction indicated by the pattern group count value GC is performed.
The X-direction offset data Xn of the buffer 3BF is equal to the second X
Is stored in the direction offset amount 2OSX, and the Y direction offset data Yn is stored in the second Y direction offset amount 2OX.
It is stored in SY (S131).

【0036】次に、第1設定モードバッファ1MDの基
準位置のX座標が左詰め「01」のときには(S132:
左詰め)、X方向移行量XIに第1X方向大きさ1OD
Xが格納され(S133)、また基準位置のX座標が左
右中心「10」のときには(S132:左右中心)、X方
向移行量XIに第1X方向大きさ1ODXの半分が格納
され(S133)、また基準位置のX座標が右詰め「1
1」のときには(S132:右詰め)、X方向移行量X
Iに「0」が格納される(S135)。同様に、第1設
定モードバッファ1MDの基準位置のY座標が上詰め
「01」のときには(S136:上詰め)、Y方向移行量
YIに第1Y方向大きさ1ODYが格納され(S13
7)、また基準位置のY座標が上下中心「10」のときに
は(S136:上下中心)、Y方向移行量YIに第1Y
方向大きさ1ODYの半分が格納され(S138)、ま
た基準位置のY座標が下詰め「11」のときには(S13
6:下詰め)、Y方向移行量YIに「0」が格納される
(S138)。尚、第1設定モードバッファ1MDのデ
ータがクリアされているときには、S132〜S139
を通過するものとする。ここで、S133とS137に
より、図38のベクトルv32が求められ、S134と
S138により、図36のベクトルv12及び図37の
ベクトルv22が求められる。
Next, when the X coordinate of the reference position of the first setting mode buffer 1MD is left-justified "01" (S132:
Left-justified), X-direction shift amount XI equals first X-direction size 1 OD
X is stored (S133), and when the X coordinate of the reference position is the left / right center “10” (S132: left / right center), half of the first X direction size 1 ODX is stored in the X direction shift amount XI (S133). If the X coordinate of the reference position is
In the case of "1" (S132: right-justified), the X-direction shift amount X
“0” is stored in I (S135). Similarly, when the Y coordinate of the reference position of the first setting mode buffer 1MD is "01" at the top (S136: top), the first Y-direction size 1ODY is stored in the Y-direction shift amount YI (S13).
7) Also, when the Y coordinate of the reference position is the vertical center “10” (S136: vertical center), the Y direction shift amount YI is the first Y
When half of the direction size 1 ODY is stored (S138), and when the Y coordinate of the reference position is “11” from the bottom (S13)
6: Bottom), and “0” is stored in the Y-direction shift amount YI (S138). When the data of the first setting mode buffer 1MD is cleared, S132 to S139
Shall pass. Here, the vector v32 of FIG. 38 is obtained by S133 and S137, and the vector v12 of FIG. 36 and the vector v22 of FIG. 37 are obtained by S134 and S138.

【0037】次に、第2設定モードバッファ2MDの基
準位置のX座標が左右中心「10」のときには(S14
0:左右中心)、X方向移行量XIとして、X方向移行
量XIから第2X方向大きさ2ODXの半分を差し引い
た値が格納され(S141)、また基準位置のX座標が
右詰め「11」のときには(S140:右詰め)、X方向
移行量XIとして、X方向移行量XIから第2X方向大
きさ2ODXを差し引いた値が格納される(S14
2)。同様に、第2設定モードバッファ2MDの基準位
置のY座標が上下中心「10」のときには(S143:上
下中心)、Y方向移行量YIとして、Y方向移行量YI
から第2Y方向大きさ2ODYの半分を差し引いた値が
格納され(S144)、また基準位置のY座標が下詰め
「11」のときには(S143:下詰め)、Y方向移行量
YIとして、Y方向移行量YIから第2Y方向大きさ2
ODYを差し引いた値が格納される(S145)。ここ
で、S141とS144により、図35のベクトルv2
及び図36のベクトルv14が求められ、S142とS
145により、図38のベクトルv35が求められる。
Next, when the X coordinate of the reference position of the second setting mode buffer 2MD is at the center 10 on the left and right (S14).
0: center of left and right), a value obtained by subtracting half of the second X-direction size 2ODX from the X-direction movement amount XI is stored as the X-direction movement amount XI (S141), and the X coordinate of the reference position is right-justified "11" (S140: right-justified), a value obtained by subtracting the second X-direction size 2ODX from the X-direction shift amount XI is stored as the X-direction shift amount XI (S14).
2). Similarly, when the Y coordinate of the reference position of the second setting mode buffer 2MD is the vertical center “10” (S143: vertical center), the Y direction shift amount YI is set as the Y direction shift amount YI.
A value obtained by subtracting half of the size 2ODY in the second Y-direction from is stored (S144), and when the Y coordinate of the reference position is “11” at the bottom (S143: bottom), the Y-direction shift amount YI is set as the Y-direction shift amount YI. From the transfer amount YI, the size 2 in the second Y direction
The value obtained by subtracting ODY is stored (S145). Here, the vector v2 of FIG. 35 is obtained by S141 and S144.
36, and the vector v14 in FIG.
With 145, the vector v35 in FIG. 38 is obtained.

【0038】次に、X方向移行量XIから第1X方向オ
フセット量1OSXが減算されて、新規のX方向移行量
XIが演算され(S146)、Y方向移行量YIから第
1Y方向オフセット量1OSYが減算されて、新規のY
方向移行量YIが演算される(S147)。更に、この
X方向移行量XIに第2X方向オフセット量2OSXが
加算されて、最終のX方向移行量XIが演算され(S1
48)、Y方向移行量YIに第2Y方向オフセット量2
OSYが加算されて、最終のY方向移行量YIが演算さ
れる(S149)。ここで、S146とS147によ
り、図36のベクトルv13及び図38のベクトルv3
3が求められ、S148とS149により、図35のベ
クトルv1及び図37のベクトルv23及び図38のベ
クトルv34が求められる。
Next, the first X direction offset amount 1OSX is subtracted from the X direction shift amount XI to calculate a new X direction shift amount XI (S146), and the first Y direction offset amount 1OSY is calculated from the Y direction shift amount YI. Subtracted to get the new Y
The direction shift amount YI is calculated (S147). Further, the second X-direction offset amount 2OSX is added to the X-direction shift amount XI to calculate the final X-direction shift amount XI (S1).
48), the Y-direction shift amount YI is equal to the second Y-direction offset amount 2
OSY is added, and the final Y-direction shift amount YI is calculated (S149). Here, by S146 and S147, the vector v13 in FIG. 36 and the vector v3 in FIG.
3 are obtained, and the vector v1 in FIG. 35, the vector v23 in FIG. 37, and the vector v34 in FIG. 38 are obtained by S148 and S149.

【0039】次に、この最終のX方向移行量XIが第4
バッファ4BFに格納され(S150)、最終のY方向
移行量YIが第4バッファ4BFに格納される(S15
1)。次に、第2X方向大きさ2ODXが第1X方向大
きさ1ODXとして格納されるとともに、第2Y方向大
きさ2ODYが第1Y方向大きさ1ODYとして格納さ
れ(S152)、第2設定モードバッファ2MDの値が
第1設定モードバッファ1MDの値として格納される
(S153)。更に、第2X方向オフセット量2OSX
が第1X方向オフセット量1OSXとして格納されると
ともに、第2Y方向オフセット量2OSYが第1Y方向
オフセット量1OSYとして格納され(S154)、模
様群カウント値GCが1つインクリメントされ(S15
5)、S124に移行する。そして、S124〜S15
5が各模様群について実行され、読込んだ模様数カウン
ト値MCが「FF」のときには(S125:Yes)、
この制御を終了して、リターンする。この制御により、
図30に示すように、第4バッファ4BFには、模様群
0〜3の各々について、模様数カウント値MC、設定モ
ードデータ、X・Y移行量データが格納される。
Next, this final X-direction shift amount XI is the fourth
It is stored in the buffer 4BF (S150), and the final Y-direction shift amount YI is stored in the fourth buffer 4BF (S15).
1). Next, the second X-direction size 2ODX is stored as the first X-direction size 1ODX, the second Y-direction size 2ODY is stored as the first Y-direction size 1ODY (S152), and the value of the second setting mode buffer 2MD is stored. Is stored as the value of the first setting mode buffer 1MD (S153). Further, the second X-direction offset amount 2OSX
Is stored as the first X direction offset amount 1OSX, the second Y direction offset amount 2OSY is stored as the first Y direction offset amount 1OSY (S154), and the pattern group count value GC is incremented by one (S15).
5), proceed to S124. And S124 to S15
5 is executed for each pattern group, and when the read pattern count value MC is “FF” (S125: Yes),
This control ends, and the process returns. With this control,
As shown in FIG. 30, the fourth buffer 4BF stores a pattern count value MC, setting mode data, and XY shift amount data for each of the pattern groups 0 to 3.

【0040】次に、運針データ合成処理制御(図31参
照)が実行される(S102)。この制御が開始される
と、先ずバッファポインタBPに先頭アドレスA0が格
納され、模様群カウント値GCと模様数カウント値MC
とが夫々クリアされ(S160)、模様群カウント値G
Cで指示する第4バッファ4BFのX・Y方向移行量
(XI、YI)が第5バッファ5BFに格納される(S
161)。次に、バッファポインタBPで指示する第1
バッファ1BFのデータが読込まれ(S162)、その
データが模様コードのときには(S163:Yes)、
その模様コードに対応する模様データの先頭アドレスが
アドレスポインタAPに格納され(S164)、その模
様データの模様大きさデータが読込まれ(S165)、
運針の位置を順次演算上で展開する展開位置を格納する
展開位置バッファTBがクリアされる(S166)。
Next, control of the hand movement data synthesis processing (see FIG. 31) is executed (S102). When this control is started, first, the head address A0 is stored in the buffer pointer BP, and the pattern group count value GC and the pattern number count value MC
Are cleared respectively (S160), and the pattern group count value G
The X- and Y-direction shift amounts (XI, YI) of the fourth buffer 4BF indicated by C are stored in the fifth buffer 5BF (S
161). Next, the first point indicated by the buffer pointer BP
The data in the buffer 1BF is read (S162), and when the data is a pattern code (S163: Yes),
The head address of the pattern data corresponding to the pattern code is stored in the address pointer AP (S164), and the pattern size data of the pattern data is read (S165).
The development position buffer TB that stores the development position for sequentially developing the operation of the hand position is cleared (S166).

【0041】次に、前記模様データ中に格納されている
運針データが針落ち位置順に読込まれ(S167)、そ
のデータが縫目終了データでないときには(S168:
No)、その運針データが第5バッファ5BFに格納さ
れ(S169)、展開位置バッファTBにその運針デー
タが加算されるとともに、アドレスポインタAPが所定
アドレス分(α)だけインクリメントされ(S17
0)、S167に戻る。そして、読込んだ運針データが
終了データのときに(S168:Yes)、模様群カウ
ント値GCで指示する第2バッファ2BFの模様数カウ
ント値MCと現在の模様数カウント値MCとが等しいと
きには(S171:Yes)、現在の運針位置TBをそ
の模様の終点E(図40参照)に移動させる為の終点デ
ータEDが演算され(S172)、この終点データED
が第5バッファ5BFに格納され(S173)、更に模
様の終了を指示する模様終了データ「FF」が第5バッ
ファ5BFに格納される(S174)。次に、模様群カ
ウント値GCが1つインクリメントされ(S175)、
模様群カウント値GCで指示する第4バッファ4BFの
X・Y方向移行量(XI、YI)が第5バッファ5BF
に格納され(S176)、バッファポインタBPと模様
数カウント値MCとが夫々1つインクリメントされ(S
177)、S162に移行する。ここで、S172で求
めた終点データEDは、図36のベクトルv11、図3
7のベクトルv21、図38のベクトルv31に相当す
る。
Next, the hand movement data stored in the pattern data is read in the order of the needle drop position (S167), and when the data is not the stitch end data (S168:
(No), the hand movement data is stored in the fifth buffer 5BF (S169), the hand movement data is added to the developed position buffer TB, and the address pointer AP is incremented by a predetermined address (α) (S17).
0), and return to S167. Then, when the read hand movement data is the end data (S168: Yes), when the pattern number count value MC of the second buffer 2BF indicated by the pattern group count value GC is equal to the current pattern number count value MC ( S171: Yes), end point data ED for moving the current hand movement position TB to the end point E of the pattern (see FIG. 40) is calculated (S172), and the end point data ED is calculated.
Is stored in the fifth buffer 5BF (S173), and the pattern end data “FF” indicating the end of the pattern is stored in the fifth buffer 5BF (S174). Next, the pattern group count value GC is incremented by one (S175),
The shift amount (XI, YI) of the fourth buffer 4BF in the XY direction indicated by the pattern group count value GC is equal to the fifth buffer 5BF.
(S176), and the buffer pointer BP and the pattern count value MC are each incremented by one (S176).
177), and proceeds to S162. Here, the end point data ED obtained in S172 is the vector v11 in FIG.
7 and the vector v31 in FIG.

【0042】ところで、模様群カウント値GCで指示す
る第2バッファ2BFの模様数カウント値MCと現在の
模様数カウント値MCとが等しくないときつまり文字模
様Mが次に連続しているときに(S171:No)、こ
の枠模様コードWnの文字配列方向が横配列方向のとき
には(S178:Yes)、例えば図40に示すよう
に、文字模様「あ」の右側に次の文字模様「い」が形成
されるので、現在の運針位置TBをその模様の右上点P
RUに移動させる為の終点データEDが演算され(S1
79)、この終点データEDが第5バッファ5BFに格
納され(S180)、S177に移行する。また、この
枠模様コードWnの文字配列方向が縦配列方向のときに
は(S178:No)、例えば図40に示すように、文
字模様「あ」の下側に次の文字模様「い」が形成される
ので、現在の運針位置TBをその模様の左下点PLDに
移動させる為の終点データEDが演算され(S18
1)、この終点データEDが第5バッファ5BFに格納
され(S182)、S177に移行する。そして、バッ
ファポインタBPで指示する第1バッファ1BFのデー
タが模様コードでないときつまり終了データ「FF」の
ときには(S163:No)、終了データ「FF」が第
5バッファ5BFに格納され(S183)、この制御を
終了するとともに、複合模様データ作成処理制御を終了
する。
When the pattern number count value MC of the second buffer 2BF indicated by the pattern group count value GC is not equal to the current pattern number count value MC, that is, when the character pattern M is continued next ( (S171: No), when the character arrangement direction of the frame pattern code Wn is the horizontal arrangement direction (S178: Yes), for example, as shown in FIG. 40, the next character pattern "I" is on the right side of the character pattern "A". Is formed, the current hand movement position TB is set to the upper right point P of the pattern.
The end point data ED for moving to the RU is calculated (S1).
79) The end point data ED is stored in the fifth buffer 5BF (S180), and the flow shifts to S177. When the character arrangement direction of the frame pattern code Wn is the vertical arrangement direction (S178: No), for example, as shown in FIG. 40, the next character pattern "i" is formed below the character pattern "a". Therefore, the end point data ED for moving the current hand operation position TB to the lower left point PLD of the pattern is calculated (S18).
1) The end point data ED is stored in the fifth buffer 5BF (S182), and the flow shifts to S177. When the data of the first buffer 1BF indicated by the buffer pointer BP is not a pattern code, that is, when the end data is “FF” (S163: No), the end data “FF” is stored in the fifth buffer 5BF (S183). At the same time as this control ends, the composite pattern data creation processing control ends.

【0043】その後、この第5バッファ5BFに格納さ
れた複合模様の複合模様データに基いて刺繍装置30に
より、図9或いは図10に示す複合模様が見栄え良く形
成される。
Thereafter, based on the composite pattern data of the composite pattern stored in the fifth buffer 5BF, the embroidery device 30 forms the composite pattern shown in FIG. 9 or FIG.

【0044】以上説明したように、複数の枠模様Wの各
々に関して、具象模様Gや複数の文字模様Mの配置位置
データと文字配列方向データとを設定するようにしたの
で、任意に選択した枠模様Wに対して、具象模様Gと複
数の文字模様Mとが常に最適な位置に配置されるととも
に、特に複数の文字模様Mが最適な配列方向に配置され
る見栄えの良い複合模様の複合模様データを作成するこ
とができる。
As described above, the arrangement position data and the character arrangement direction data of the concrete pattern G and the plurality of character patterns M are set for each of the plurality of frame patterns W. With respect to the pattern W, the concrete pattern G and the plurality of character patterns M are always arranged at optimal positions, and in particular, the plurality of character patterns M are arranged in the optimal arrangement direction. Data can be created.

【0045】尚、制御装置CのROM26に格納した図
4に示す模様データや種々のデータを、ROMカードや
フロッピィーディスクなどの外部メモリに格納すること
も可能である。尚、具象模様や枠模様などを含む各種の
模様縫いが可能な種々のミシンの模様データ処理装置に
本発明を適用し得ることは勿論である。
The pattern data and various data shown in FIG. 4 stored in the ROM 26 of the controller C can be stored in an external memory such as a ROM card or a floppy disk. Needless to say, the present invention can be applied to various sewing machine pattern data processing devices capable of sewing various patterns including concrete patterns and frame patterns.

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

【図1】本発明の構成を示す機能ブロック図である。FIG. 1 is a functional block diagram showing a configuration of the present invention.

【図2】刺繍装置を装着した電子制御式ジグザグミシン
の正面図である。
FIG. 2 is a front view of the electronically controlled zigzag sewing machine equipped with the embroidery device.

【図3】ミシン及び刺繍装置の制御系のブロック図であ
る。
FIG. 3 is a block diagram of a control system of the sewing machine and the embroidery device.

【図4】ミシンの制御装置内のROMに格納されている
枠模様や具象模様及び文字模様に関する模様データ、枠
模様の各々に関して設定された模様配置データや文字配
列方向データなどのデータ構成を説明する説明図であ
る。
FIG. 4 is a diagram illustrating a data configuration of a frame pattern, a concrete pattern, and a character pattern stored in a ROM in a control device of the sewing machine, such as pattern arrangement data and character arrangement direction data set for each of the frame patterns. FIG.

【図5】ROMに格納されている模様データのデータ構
成を説明する説明図である。
FIG. 5 is an explanatory diagram illustrating a data configuration of pattern data stored in a ROM.

【図6】ROMに格納されている模様配置データのデー
タ構成を説明する説明図である。
FIG. 6 is an explanatory diagram illustrating a data configuration of pattern arrangement data stored in a ROM.

【図7】前記模様配置データ内に格納されている設定モ
ードデータのデータ構成を説明する説明図である。
FIG. 7 is an explanatory diagram illustrating a data configuration of setting mode data stored in the pattern arrangement data.

【図8】前記設定モードデータ内に格納された基準位置
を説明する説明図である。
FIG. 8 is an explanatory diagram illustrating a reference position stored in the setting mode data.

【図9】枠模様と具象模様と横方向に配列された複数の
文字模様とで形成された複合模様の縫製例を示す例示図
である。
FIG. 9 is an exemplary view showing an example of sewing a composite pattern formed by a frame pattern, a concrete pattern, and a plurality of character patterns arranged in a horizontal direction.

【図10】枠模様と具象模様と縦方向に配列された複数
の文字模様とで形成された複合模様の縫製例を示す例示
図である。
FIG. 10 is an exemplary diagram showing an example of sewing a composite pattern formed by a frame pattern, a concrete pattern, and a plurality of character patterns arranged in a vertical direction.

【図11】実用模様選択用カードの正面図である。FIG. 11 is a front view of a practical pattern selection card.

【図12】具象模様選択用カードの正面図である。FIG. 12 is a front view of a concrete pattern selection card.

【図13】枠模様選択用カードの正面図である。FIG. 13 is a front view of a frame pattern selection card.

【図14】文字模様選択用カードの正面図である。FIG. 14 is a front view of the character pattern selection card.

【図15】模様選択制御のルーチンのフローチャートで
ある。
FIG. 15 is a flowchart of a pattern selection control routine.

【図16】具象模様格納処理制御のルーチンのフローチ
ャートである。
FIG. 16 is a flowchart of a concrete pattern storage processing control routine;

【図17】枠模様格納処理制御のルーチンのフローチャ
ートである。
FIG. 17 is a flowchart of a routine of frame pattern storage processing control.

【図18】1行目文字列格納処理制御のルーチンのフロ
ーチャートである。
FIG. 18 is a flowchart of a first-line character string storage processing control routine.

【図19】2行目文字列格納処理制御のルーチンのフロ
ーチャートである。
FIG. 19 is a flowchart of a second-line character string storage process control routine.

【図20】入力モード変更処理制御のルーチンのフロー
チャートである。
FIG. 20 is a flowchart of a routine for input mode change processing control.

【図21】第1バッファ内のデータ構成を説明する説明
図である。
FIG. 21 is an explanatory diagram illustrating a data configuration in a first buffer.

【図22】第2バッファ内のデータ構成を説明する説明
図である。
FIG. 22 is an explanatory diagram illustrating a data configuration in a second buffer.

【図23】複合模様データ作成制御のルーチンのフロー
チャートである。
FIG. 23 is a flowchart of a routine of composite pattern data creation control.

【図24】模様群配置データ読込み処理制御のルーチン
のフローチャートである。
FIG. 24 is a flowchart of a routine for controlling processing of reading pattern group arrangement data.

【図25】第3バッファ内のデータ構成を説明する説明
図である。
FIG. 25 is an explanatory diagram illustrating a data configuration in a third buffer.

【図26】模様群移行量演算処理制御のルーチンのフロ
ーチャートの一部である。
FIG. 26 is a part of a flowchart of a pattern group shift amount calculation process control routine;

【図27】模様群移行量演算処理制御のルーチンのフロ
ーチャートの一部である。
FIG. 27 is a part of a flowchart of a pattern group shift amount calculation process control routine;

【図28】模様群移行量演算処理制御のルーチンのフロ
ーチャートの一部である。
FIG. 28 is a part of a flowchart of a pattern group shift amount calculation process control routine;

【図29】模様群移行量演算処理制御のルーチンのフロ
ーチャートの一部である。
FIG. 29 is a part of a flowchart of a pattern group shift amount calculation process control routine;

【図30】第4バッファ内のデータ構成を説明する説明
図である。
FIG. 30 is an explanatory diagram illustrating a data configuration in a fourth buffer.

【図31】運針データ合成処理制御のルーチンのフロー
チャートである。
FIG. 31 is a flowchart of a routine for controlling hand movement data synthesis processing.

【図32】第5バッファ内のデータ構成の一部を説明す
る説明図である。
FIG. 32 is an explanatory diagram illustrating a part of the data configuration in a fifth buffer.

【図33】第5バッファ内のデータ構成の一部を説明す
る説明図である。
FIG. 33 is an explanatory diagram illustrating a part of a data configuration in a fifth buffer.

【図34】枠模様外形に対して、設定された具象模様外
形と1行目文字模様配列位置外形と2行目文字模様配列
位置外形との配置位置を説明する説明図である。
FIG. 34 is an explanatory diagram illustrating the arrangement positions of the set concrete pattern outline, the first-line character pattern arrangement position outline, and the second-line character pattern arrangement position outline with respect to the frame pattern outline.

【図35】枠模様外形の基準位置から具象模様外形の基
準位置に移行する移行量を求める為の説明図である。
FIG. 35 is an explanatory diagram for calculating a shift amount for shifting from a reference position of a frame pattern outline to a reference position of a concrete pattern outline.

【図36】具象模様外形の基準位置から枠模様外形の基
準位置に移行する移行量を求める為の説明図である。
FIG. 36 is an explanatory diagram for calculating a shift amount for shifting from the reference position of the concrete pattern outline to the reference position of the frame pattern outline.

【図37】枠模様外形の基準位置から1行目文字模様配
列位置外形の基準位置に移行する移行量を求める為の説
明図である。
FIG. 37 is an explanatory diagram for calculating an amount of transition from the reference position of the outer shape of the frame pattern to the reference position of the outer shape of the character pattern arrangement position on the first line.

【図38】1行目文字模様配列位置外形の基準位置から
2行目文字模様配列位置外形の基準位置に移行する移行
量を求める為の説明図である。
FIG. 38 is an explanatory diagram for calculating a shift amount for shifting from the reference position of the first line character pattern arrangement position outline to the reference position of the second line character pattern arrangement position outline.

【図39】2行目文字模様配列位置外形の基準位置から
枠模様外形の基準位置に移行する移行量を求める為の説
明図である。
FIG. 39 is an explanatory diagram for obtaining a shift amount for shifting from the reference position of the character pattern arrangement position outline on the second line to the reference position of the frame pattern outline.

【図40】文字模様配列方向に応じて文字模様を連続さ
せる為の接続用の終了データを求める為の説明図であ
る。
FIG. 40 is an explanatory diagram for obtaining connection end data for making a character pattern continuous according to the character pattern arrangement direction.

【符号の説明】[Explanation of symbols]

M 電子制御式ジグザグミシン 12 模様選択キー 13 開始キー 14 終了キー C2 具象模様選択用カード C3 枠模様選択用カード C4 文字模様選択用カード 16 第1スイッチ 17 第2スイッチ 25 CPU 26 ROM 27 RAM C 制御装置 M Electronically controlled zigzag sewing machine 12 Pattern selection key 13 Start key 14 End key C2 Concrete pattern selection card C3 Frame pattern selection card C4 Character pattern selection card 16 First switch 17 Second switch 25 CPU 26 ROM 27 RAM C RAM control apparatus

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 1つの枠模様に少なくとも1つの具象模
様と複数の文字模様とを組合わせた複合模様を縫製する
為の複合模様データを作成するミシンの模様データ処理
装置であって、 複数の具象模様と複数の文字模様の模様データを格納し
た具象文字データ記憶手段と、 複数の枠模様の各々に関して枠模様の模様データと具象
模様の配置位置の具象模様位置データと複数の文字模様
の配置位置の文字模様位置データと複数の文字模様の配
列方向の文字配列方向データとを格納した枠データ記憶
手段と、 前記双方の記憶手段に記憶された データに基づいて、何
れか1つの枠模様と、 これに組合わせる何れか1つの具象模様及び複数の文字
模様とを選択設定する模様選択手段と、前記枠データ記憶手段に記憶された文字模様位置データ
と文字配列方向データとに基づいて、前記模様選択手段
で選択された複数の文字模様が枠模様からはみ出さない
ように配置し、前記枠データ記憶手段に記憶された枠模
様の枠データと具象模様位置データと文字模様位置デー
タとに基づいて、具象模様と複数の文字模様とを枠に対
して特定の位置に配置するようにした 複合模様の複合模
様データを合成するデータ合成手段と、 前記データ合成手段で合成されたデータを記憶する複合
模様データ記憶手段とを備えたことを特徴とするミシン
の模様データ処理装置。
1. A pattern data processing device for a sewing machine for creating composite pattern data for sewing a composite pattern in which at least one concrete pattern and a plurality of character patterns are combined with one frame pattern. Concrete character data storage means for storing pattern data of concrete patterns and a plurality of character patterns; arrangement of frame pattern data and concrete pattern position data of arrangement positions of the concrete patterns for each of the plurality of frame patterns; character pattern position data of the position and the direction of arrangement of the character array direction data of a plurality of character patterns and the frame data storage means for storing, based on the data stored in the storage means of the both, and any one of the frame pattern A pattern selecting means for selecting and setting any one concrete pattern and a plurality of character patterns to be combined with the character pattern position data stored in the frame data storage means;
The pattern selecting means based on the
Multiple character patterns selected in step do not protrude from the frame pattern
And the frame model stored in the frame data storage means.
Frame data, concrete pattern position data, and character pattern position data
The concrete pattern and the plurality of character patterns are
Data combining means for combining the composite pattern data of the composite pattern arranged at a specific position, and a composite pattern data storage means for storing the data combined by the data combining means. Sewing machine pattern data processing device.
JP23709091A 1991-08-22 1991-08-22 Sewing machine pattern data processing device Expired - Fee Related JP3289925B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23709091A JP3289925B2 (en) 1991-08-22 1991-08-22 Sewing machine pattern data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23709091A JP3289925B2 (en) 1991-08-22 1991-08-22 Sewing machine pattern data processing device

Publications (2)

Publication Number Publication Date
JPH0549769A JPH0549769A (en) 1993-03-02
JP3289925B2 true JP3289925B2 (en) 2002-06-10

Family

ID=17010263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23709091A Expired - Fee Related JP3289925B2 (en) 1991-08-22 1991-08-22 Sewing machine pattern data processing device

Country Status (1)

Country Link
JP (1) JP3289925B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008194371A (en) 2007-02-15 2008-08-28 Brother Ind Ltd Embroidery data processor, embroidery data processing program, and recording medium

Also Published As

Publication number Publication date
JPH0549769A (en) 1993-03-02

Similar Documents

Publication Publication Date Title
US4742786A (en) Data processing system for sewing machine
US4823714A (en) Electronic controlled stitch pattern sewing machine and method
JP3289924B2 (en) Sewing machine pattern data processing device
JPH0367433B2 (en)
US5189623A (en) Embroidery data processing apparatus
JPH0231789A (en) Electronic sawing machine
JP3289925B2 (en) Sewing machine pattern data processing device
JP2921185B2 (en) Pattern data processing device for sewing machine
JP3336797B2 (en) Sewing machine sewing data creation device
JP2001000761A (en) Display device for sewing machine capable of sewing embroidery
US5227977A (en) Embroidery data processing apparatus
US5960727A (en) Embroidery sewing machine
JPH0693945B2 (en) Data creation device for sewing machine
US5074232A (en) Pattern sewing machine
US5875725A (en) Embroidery data processing device
US5748480A (en) Embroidery data processing apparatus
US6298276B1 (en) Embroidery data processing apparatus
JP2882441B2 (en) Embroidery data editing device
JPS63212394A (en) Sewing data forming apparatus for automatic sewing machine
JPS62120877A (en) Data forming apparatus of embroidering sewing machine
JP2779009B2 (en) Embroidery frame selection support device
JPH0747068B2 (en) Sewing data creation device for automatic sewing machine
JP2823135B2 (en) Pattern sewing machine
JP2596028B2 (en) Data creation device for automatic sewing machine
JPH04193289A (en) Embroidering data preparing method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees