JP2009240390A - Sewing data preparation device of sewing machine - Google Patents

Sewing data preparation device of sewing machine Download PDF

Info

Publication number
JP2009240390A
JP2009240390A JP2008087851A JP2008087851A JP2009240390A JP 2009240390 A JP2009240390 A JP 2009240390A JP 2008087851 A JP2008087851 A JP 2008087851A JP 2008087851 A JP2008087851 A JP 2008087851A JP 2009240390 A JP2009240390 A JP 2009240390A
Authority
JP
Japan
Prior art keywords
sewing data
sewing
comparison
needle drop
needle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008087851A
Other languages
Japanese (ja)
Inventor
Masami Okamura
正美 岡村
Koichi Kondo
耕一 近藤
Toshiaki Kasuga
俊明 春日
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.)
Juki Corp
Original Assignee
Juki Corp
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 Juki Corp filed Critical Juki Corp
Priority to JP2008087851A priority Critical patent/JP2009240390A/en
Publication of JP2009240390A publication Critical patent/JP2009240390A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a sewing data preparation device of a sewing machine which can better distinguish between similar pieces of sewing data. <P>SOLUTION: The sewing data preparation device of the sewing machine permits parameter values to be added to optional needle locations through a sewing data editing screen in an operating panel 20, information of two pieces of sewing data to be simultaneously displayed in a sewing data comparison screen 21B, and a range specification key A permitting optional starting points S to be individually specified to be displayed for sewing data displayed in the sewing data comparison screen 21B. The device permits comparison permitting determination to be made on whether the coordinates of the needle location of the two pieces of sewing data agree with the parameter values to be made by a CPU 31 for needle locations after the starting point S, and permits the result to be displayed on the operating panel 20. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、ミシンの縫製データに関する情報を表示可能なミシンの縫製データ作成装置に関する。   The present invention relates to a sewing data creation device for a sewing machine that can display information related to sewing data for a sewing machine.

従来より、縫製データの針落ち位置に基づいて針棒の上下動と布移動機構による被縫製物の移動とを制御して縫いを行うミシンが知られている。また、ミシンの操作パネルに縫製データによる縫いの形状を表示させることが可能であり、当該縫いの形状を構成する針落ち位置のうちひとつを指定すると指定された針落ち位置の座標や縫製に関する各種パラメータ(例えば中押え高さ等)が表示されるミシンが知られている(例えば特許文献1)。
特開2006−075505号公報
2. Description of the Related Art Conventionally, there has been known a sewing machine that performs sewing by controlling the vertical movement of a needle bar and the movement of an object to be sewn by a cloth moving mechanism based on a needle drop position of sewing data. It is also possible to display the sewing shape based on the sewing data on the operation panel of the sewing machine. When one of the needle drop positions constituting the sewing shape is designated, the coordinates of the designated needle drop position and various types of sewing can be displayed. A sewing machine in which parameters (for example, intermediate presser height and the like) are displayed is known (for example, Patent Document 1).
JP 2006-077555

ところで、縫製データはミシンに備えられた記憶装置等に記憶されている。また、縫いパターン毎に個別の縫製データを設ける必要があることから、記憶装置には各縫いパターンに対応するため複数の縫製パターンが記憶されている。これに伴い、例えば被縫製物に形成される縫目がほとんど同じであり、一部の針落ち位置又はパラメータが異なるのみである類似の縫製データが複数記憶されている場合がある。このため、所望の縫製データと類似の縫製データが記憶されている場合、単に操作パネルに縫製データを表示しただけではどの縫製データが所望の縫製データなのか区別がつかない場合が生じ得る。よって、所望の縫製パターンを見つけることが困難となる。この場合、所望の縫製データを見つけるために類似の縫製データを含む複数の縫製データについて一つ一つ表示してその針落ち位置やパラメータ等を一つ一つ確認する必要が生じ、非常に煩雑であると共に多大な時間を要するといった問題点があった。   By the way, the sewing data is stored in a storage device or the like provided in the sewing machine. In addition, since it is necessary to provide individual sewing data for each sewing pattern, a plurality of sewing patterns are stored in the storage device in order to correspond to each sewing pattern. Along with this, there are cases where, for example, a plurality of pieces of similar sewing data in which the stitches formed on the workpiece are almost the same and only some needle entry positions or parameters are different are stored. For this reason, when sewing data similar to the desired sewing data is stored, it may not be possible to distinguish which sewing data is the desired sewing data simply by displaying the sewing data on the operation panel. Therefore, it becomes difficult to find a desired sewing pattern. In this case, in order to find desired sewing data, it is necessary to display a plurality of pieces of sewing data including similar sewing data one by one and check the needle entry position and parameters one by one, which is very complicated. However, there is a problem that it takes a lot of time.

本発明は、上述の問題点に鑑み、類似の縫製データの区別をより好適に行えるミシンの縫製データ作成装置を提供することを目的とする。   In view of the above-described problems, an object of the present invention is to provide a sewing data creation device for a sewing machine that can more suitably distinguish similar sewing data.

請求項1記載の発明は、縫い針を支持して上下動する針棒と、被縫製物を任意の方向に移動させる布移動機構とを備えると共に、縫製データの針落ち位置に基づいて前記針棒及び前記布移動機構を動作させることで被縫製物に縫目を施すミシンのための縫製データを作成可能なミシンの縫製データ作成装置において、任意の針落ち位置について縫製に関するパラメータを少なくとも一つ以上前記縫製データの針落ち位置ごとに設定可能な設定手段と、二つの前記縫製データの情報を同時に表示可能な第1の表示手段と、前記第1の表示手段に表示された各縫製データについて、任意の針落ち位置範囲をそれぞれ個別に指定可能な針落ち位置範囲指定手段と、前記針落ち位置範囲指定手段によって指定された針落ち位置範囲について、前記第1の表示手段に表示された二つの前記縫製データの針落ち位置及び前記パラメータが一致するかどうかを判定可能な判定手段と、前記判定手段による判定結果を表示可能な第2の表示手段と、を備えることを特徴とする。   The invention according to claim 1 is provided with a needle bar that supports a sewing needle and moves up and down, and a cloth movement mechanism that moves a workpiece in an arbitrary direction, and the needle is based on a needle drop position of sewing data. In a sewing data creation device for a sewing machine capable of creating sewing data for a sewing machine that stitches a sewing object by operating a bar and the cloth moving mechanism, at least one sewing parameter is set for an arbitrary needle drop position. The setting means that can be set for each needle entry position of the sewing data, the first display means that can simultaneously display information of the two sewing data, and the sewing data displayed on the first display means The needle drop position range designating means capable of individually specifying an arbitrary needle drop position range, and the needle drop position range designated by the needle drop position range designating means, the first Determination means capable of determining whether or not the needle drop positions and the parameters of the two sewing data displayed on the display means match; and second display means capable of displaying a determination result by the determination means. It is characterized by that.

請求項2記載の発明は、請求項1に記載のミシンの縫製データ作成装置において、前記判定手段によって前記第1の表示手段に表示された二つの前記縫製データが一致しないと判定された場合に、当該二つの縫製データの相違点を表示可能な第3の表示手段と、を備えることを特徴とする。   According to a second aspect of the present invention, in the sewing data creation device for the sewing machine according to the first aspect, when the determination means determines that the two pieces of sewing data displayed on the first display means do not match. And third display means capable of displaying a difference between the two sewing data.

請求項3記載の発明は、請求項1又は2に記載のミシンの縫製データ作成装置において、前記第1の表示手段に表示された二つの前記縫製データのうちいずれか一方について、当該縫製データによって形成される縫い目に対して所定の方向の線を基準として線対称となる縫い目が形成されるよう針落ち位置を置き換える反転手段を備え、前記判定手段は前記反転手段によって針落ち位置を置き換えられた一方の縫製データと他方の縫製データとが一致するかどうかを判定することを特徴とする。   According to a third aspect of the present invention, in the sewing data creation device for the sewing machine according to the first or second aspect, either one of the two pieces of sewing data displayed on the first display means is determined by the sewing data. Reversing means for replacing the needle drop position so as to form a seam that is line-symmetric with respect to a line in a predetermined direction with respect to the seam to be formed is provided, and the determination means has the needle drop position replaced by the reversing means. It is characterized by determining whether one sewing data and the other sewing data correspond.

請求項4記載の発明は、請求項1から3のいずれか一項に記載のミシンの縫製データ作成装置において、前記第1の表示手段に表示された二つの前記縫製データのうち一方の縫製データの指定された針落ち位置範囲に含まれる全ての針落ち位置及びパラメータについて他方の縫製データの針落ち位置及びパラメータと一致するかどうかをそれぞれ判定し、一致した割合を算出可能な算出手段と、前記算出手段の算出結果を表示可能な第4の表示手段を備えることを特徴とする。   According to a fourth aspect of the present invention, in the sewing data creation device for a sewing machine according to any one of the first to third aspects, one of the two pieces of sewing data displayed on the first display means. Calculating means capable of calculating whether or not the needle drop positions and parameters of the other sewing data are the same for all the needle drop positions and parameters included in the designated needle drop position range, and calculating a matching ratio; A fourth display unit capable of displaying a calculation result of the calculation unit is provided.

請求項5記載の発明は、請求項1から4のいずれか一項に記載のミシンの縫製データ作成装置において、前記縫製に関するパラメータから任意の種類のものを選択可能なパラメータ選択手段を備え、前記判定手段は二つの前記縫製データの針落ち位置及び前記パラメータ選択手段によって選択された種類のパラメータについて一致するかどうか判定することを特徴とする。   The invention according to claim 5 is the sewing data creation device for a sewing machine according to any one of claims 1 to 4, further comprising parameter selection means capable of selecting any kind of sewing parameters. The determining means determines whether the needle entry positions of the two sewing data and the parameters of the type selected by the parameter selecting means match.

請求項1記載の発明によれば、第1の表示手段に表示された二つの縫製データの針落ち位置及びパラメータが一致するかどうかを判定手段によって判定することができ、その判定結果を第2の表示手段によって表示することが可能となる。これによって、オペレータは第2の表示手段による表示内容を確認するだけで二つの縫製データが一致するかどうかを判別可能となる。従って、例えば被縫製物に形成される縫目がほとんど同じであり、一部の針落ち位置又はパラメータが異なるのみである類似の縫製データが複数記憶されている場合であっても、一部の針落ち位置又はパラメータが異なることにより判定手段によって一致しないと判定され、第2の表示手段にその結果が表示されるので、オペレータは当該複数の縫製データの区別を行うことが可能となる。
また、設定手段によって任意の針落ち位置について縫製に関するパラメータを縫製データの針落ち位置ごとに設定可能であり、当該パラメータの一致についても判定手段によって判定可能であるので、例えばあるパラメータの有無によって二つの縫製データが一致しない場合に、一方に有って他方に無いパラメータを他方に設定することで当該パラメータによる不一致を解消したりするといった操作が可能となる。よって、縫製データの一致判定における自由度が大幅に向上する。
さらに、第1の表示手段に表示された各縫製データについて、任意の針落ち位置範囲をそれぞれ個別に指定可能な針落ち位置範囲指定手段を備えているので、一致判定を行う必要がある範囲のみを指定して判定手段による一致判定を行うことが可能となる。よって、一致判定の対象とする必要が無い部分での不一致によって望まない判定結果となることを抑止できる等、判定処理における条件設定の融通の幅を大幅に向上させられる。加えて、必要な範囲のみを判定の対象とすることにより判定処理の時間の短縮と処理負荷の低下を図ることが可能となり、一致判定における作業効率が大幅に向上する。
According to the first aspect of the present invention, it is possible to determine whether or not the needle drop position and the parameters of the two sewing data displayed on the first display unit coincide with each other by the determination unit. It is possible to display by the display means. As a result, the operator can determine whether or not the two sewing data coincide with each other only by confirming the display content by the second display means. Therefore, for example, even when a plurality of pieces of similar sewing data in which the stitches formed on the workpiece are almost the same and only some needle drop positions or parameters are different are stored, Since it is determined by the determining means that the needle entry position or parameter is different and the result is displayed on the second display means, the operator can distinguish the plurality of sewing data.
In addition, since the setting unit can set sewing parameters for each needle drop position for each needle drop position of the sewing data, and the matching of the parameters can also be determined by the determination unit. When two pieces of sewing data do not coincide with each other, an operation such as eliminating a mismatch caused by the parameter by setting a parameter that is present in one and not in the other to the other can be performed. Therefore, the degree of freedom in determining whether the sewing data matches is greatly improved.
Furthermore, since each sewing data displayed on the first display means is provided with needle drop position range specifying means capable of individually specifying an arbitrary needle drop position range, only the range where it is necessary to perform coincidence determination. It is possible to perform the coincidence determination by the determining means by designating. Therefore, it is possible to greatly improve the flexibility of condition setting in the determination process, such as suppressing an undesired determination result due to a mismatch in a portion that does not need to be a target of the match determination. In addition, it is possible to reduce the determination processing time and the processing load by setting only the necessary range as the object of determination, and the work efficiency in coincidence determination is greatly improved.

請求項2記載の発明によれば、二つの縫製データの相違点を第3の表示手段に表示することが可能である。これによって、判定手段によって二つの縫製データが一致しないと判定された場合に、一致しない原因となる二つの縫製データの相違点を確認することができる。従って、例えば被縫製物に形成される縫目がほとんど同じであり、一部の針落ち位置又はパラメータが異なるのみである類似の縫製データが複数記憶されている場合であっても、当該類似する複数のデータのうち二つについてその差異となる相違点を容易に把握できる。つまり、当該相違点から所望の縫製データに該当する針落ち位置やパラメータを含む縫製データを厳選してゆく(あるいは所望の縫製データに該当しないものを除外する)ことが可能となり、オペレータは容易に所望の縫製データを探し出すことが可能となる。よって、所望の縫製データを見つけるために類似の縫製データを含む複数の縫製データについて一つ一つ表示してその針落ち位置やパラメータ等を一つ一つ確認する必要が生じ、非常に煩雑であると共に多大な時間を要するといった従来の問題点を解消でき、縫製データの取り扱いの利便性が大幅に向上する。   According to the second aspect of the present invention, the difference between the two sewing data can be displayed on the third display means. Thereby, when it is determined by the determination means that the two pieces of sewing data do not match, the difference between the two pieces of sewing data causing the mismatch can be confirmed. Therefore, for example, even when a plurality of pieces of similar sewing data in which the stitches formed on the sewing object are almost the same and only some needle entry positions or parameters are different are stored, The difference which becomes the difference about two of some data can be grasped | ascertained easily. That is, it becomes possible to carefully select sewing data including needle entry positions and parameters corresponding to desired sewing data from the difference (or to exclude those that do not correspond to desired sewing data), and the operator can easily It becomes possible to search for desired sewing data. Therefore, in order to find desired sewing data, it is necessary to display a plurality of pieces of sewing data including similar sewing data one by one and check the needle entry position and parameters one by one, which is very complicated. In addition, it is possible to solve the conventional problems of requiring a lot of time and greatly improving the convenience of handling sewing data.

請求項3記載の発明によれば、反転手段によって二つの縫製データのうち一方の針落ち位置を「当該縫製データによって形成される縫い目に対して所定の方向の線を基準として線対称となる縫い目が形成されるよう針落ち位置を置き換える」(以降「反転させる」と表記)ことが可能となり、また、判定手段は針落ち位置を反転させた一方の縫製データと、他方の縫製データと、の一致を判定する。よって、例えば二つの縫製データの一方が他方の縫製データの針落ち位置を反転させた縫製データであった場合、そのままで判定手段が一致判定を行なった場合は不一致となるが、反転手段によって一方の縫製データの針落ち位置を反転させた場合、反転させた一方の縫製データと他方の縫製データとは一致することとなる。これによって、例えばシャツの左右の袖にそれぞれ縫目を施すための対となる縫製データや、靴の左右それぞれに縫いを施すための対となる縫製データ等の組み合わせを正しく確認する等の作業が非常に容易となり、縫製データの一致判定における応用度が大幅に向上する。   According to the third aspect of the present invention, the stitching position of one of the two pieces of sewing data is changed to “a stitch that is symmetrical with respect to a stitch formed by the sewing data with respect to a line in a predetermined direction. It is possible to replace the needle drop position so that the needle drop position is formed (hereinafter referred to as “reversed”), and the determination means uses one sewing data obtained by reversing the needle drop position and the other sewing data. Determine match. Therefore, for example, when one of the two sewing data is sewing data obtained by reversing the needle drop position of the other sewing data, if the determination means makes a match determination as it is, the reversal means does not match. When the needle entry position of the sewing data is reversed, the reversed one sewing data and the other sewing data coincide with each other. As a result, for example, it is possible to correctly confirm the combination of the sewing data to be paired for stitching the left and right sleeves of the shirt and the pair of sewing data to be stitched to the left and right of the shoe. It becomes very easy and the applicability in the determination of matching of sewing data is greatly improved.

請求項4記載の発明によれば、算出手段によって二つの前記縫製データのうち一方の縫製データの指定された針落ち位置範囲に含まれて、対象となる全ての針落ち位置及びパラメータについて他方の縫製データの針落ち位置及びパラメータと一致するかどうかをそれぞれ判定し、一致した割合を算出することができる。また、当該算出結果を第4の表示手段によって表示することができる。これによって、二つの縫製データのうち一方の縫製データの指定された針落ち位置範囲を基準として、他方の縫製データが一方の縫製データにどれだけ一致しているかを数値的に把握することが可能となる。従って、複数の縫製データを連続して比較する場合等に、ある縫製データを基準として当該基準となる縫製データに対する一致した割合をそれぞれ算出して確認することにより、当該基準となる縫製データに最も近似した縫製データを探し出すといったような作業を行うことが可能となる。例えば、所望の縫製データではないが、所望の縫製データに類似した縫製データが判明している場合に、算出手段を用いて当該類似した縫製データと一致した割合が高い縫製データを選別し、選別された縫製データから所望の縫製データを探し当てるといった作業を行える。従って、縫製データの一致判定における応用度が大幅に向上する。   According to the fourth aspect of the present invention, all the needle drop positions and parameters that are included in the designated needle drop position range of one sewing data of the two pieces of sewing data by the calculation means and the other target needle drop positions and parameters are the other. It is possible to determine whether or not the needle entry position and the parameter of the sewing data coincide with each other, and calculate the proportion of coincidence. Further, the calculation result can be displayed by the fourth display means. This makes it possible to numerically grasp how much the other sewing data matches one of the sewing data, based on the specified needle entry position range of one of the two sewing data. It becomes. Therefore, when comparing a plurality of pieces of sewing data in succession, etc., by calculating and confirming a matching ratio with respect to the sewing data used as the reference based on a certain piece of sewing data, the sewing data used as the reference most It is possible to perform operations such as searching for approximate sewing data. For example, when the sewing data similar to the desired sewing data is known but not the desired sewing data, the sewing data having a high ratio that matches the similar sewing data is selected using the calculation means, and the selection is performed. The desired sewing data can be found from the sewing data thus set. Therefore, the degree of application in the matching determination of the sewing data is greatly improved.

請求項5記載の発明によれば、パラメータ選択手段によって縫製に関するパラメータから任意の種類のものを選択可能であり、判定手段は二つの縫製データの針落ち位置と、パラメータ選択手段によって選択された種類のパラメータとについて一致するかどうか判定する。従って、パラメータ選択手段から一致判定の対象としたいパラメータのみを選択することによって、一致判定する必要のないパラメータの一致判定を省くことができるので、判定処理の時間の短縮と処理負荷の低下を図ることが可能となり、一致判定における作業効率がより一層向上する。また、一致判定の対象とする必要のないパラメータを除外できるので、一致判定の対象とする必要のないパラメータの相違によって一致しないと判定される場合に不要に不一致となる結果が生ずることを抑止することが可能となる。よって、縫製データの一致判定における自由度がより一層向上する。   According to the fifth aspect of the present invention, any kind of sewing parameters can be selected by the parameter selection means, and the determination means can select the needle entry position of the two sewing data and the type selected by the parameter selection means. It is determined whether or not the parameters match. Accordingly, by selecting only the parameters that are to be subject to matching determination from the parameter selection means, it is possible to omit the matching determination of the parameters that do not need to be determined to match, so that the determination processing time is reduced and the processing load is reduced. This makes it possible to further improve the work efficiency in the coincidence determination. In addition, since parameters that do not need to be subject to matching determination can be excluded, it is possible to prevent unnecessary mismatching from occurring when it is determined that the parameters do not need to be subject to matching judgment due to differences in parameters. It becomes possible. Therefore, the degree of freedom in determining whether the sewing data matches is further improved.

(本発明によるミシンの縫製データ作成装置を備えたミシンの全体構成)
以下、図を参照して本発明の実施の形態を詳細に説明する。図1は本発明の一実施形態であるミシンの縫製データ作成装置を備えたミシン1の全体構成を示す斜視図である。なお、本発明のミシンの縫製データ作成装置は、縫い針(例えば縫い針5a)を支持して上下動する針棒(例えば針棒5)と、被縫製物を任意の方向に移動させる布移動機構(例えば布移動機構10)とを備えると共に、縫製データの針落ち位置に基づいて針棒及び布移動機構を動作させることで被縫製物に縫目を施すミシン(例えばミシン1)のミシンのための縫製データを作成可能な縫製データの作成装置(例えば操作パネル20及び制御装置30による構成)である。
ミシン1は、図1に示すように、ミシンテーブルTの上に設けられた土台部2aと、土台部から鉛直方向に立設された立胴部2bと、立胴部の側方から土台部の上方に延設されたアーム部2cと、を有するミシンフレーム2を備えている。また、ミシン1は、アーム部2cによって上下動可能に支持されて針棒5と、被縫製物を保持して任意の方向に移動させる布移動機構10と、ミシン1に関する各種情報を表示すると共にオペレータによって入力操作されることでミシン1に関する各種入力操作を行うことが可能な操作パネル20と、ミシン1の各部の動作制御を行う制御装置30とを備えている。
(Whole structure of sewing machine provided with sewing data creation device of sewing machine according to the present invention)
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a perspective view showing an overall configuration of a sewing machine 1 provided with a sewing machine sewing data creation device according to an embodiment of the present invention. The sewing data creation device for a sewing machine according to the present invention includes a needle bar (for example, the needle bar 5) that moves up and down while supporting a sewing needle (for example, the sewing needle 5a), and a cloth movement that moves a sewing object in an arbitrary direction. And a sewing machine (for example, sewing machine 1) that stitches the workpiece to be sewn by operating the needle bar and the cloth moving mechanism based on the needle drop position of the sewing data. This is a sewing data creation device (for example, a configuration of the operation panel 20 and the control device 30) that can create sewing data for the sewing machine.
As shown in FIG. 1, the sewing machine 1 includes a base portion 2 a provided on the sewing machine table T, a standing body portion 2 b erected in a vertical direction from the base portion, and a base portion from the side of the standing body portion. And a sewing machine frame 2 having an arm portion 2c extending upward. The sewing machine 1 is supported by the arm portion 2c so as to be movable up and down, displays a needle bar 5, a cloth moving mechanism 10 that holds and moves the sewing object, and various information related to the sewing machine 1. An operation panel 20 capable of performing various input operations relating to the sewing machine 1 by being input by an operator, and a control device 30 for controlling the operation of each part of the sewing machine 1 are provided.

針棒5は、ミシンフレーム2のアーム部2c内でアーム部2cの延出方向に沿って回転可能に延設された上軸(図示略)と連結されて設けられ、上軸の回転によって針棒5は上下動する。上軸は、ミシンモータ(図示略)の駆動によって回転し、ミシンモータの駆動制御は後述する制御装置30が行う。
また、針棒5はその下端で縫い針5aを保持可能に設けられており、針棒5が上下動することにより縫い針5aが上下動する。
The needle bar 5 is provided so as to be connected to an upper shaft (not shown) that is rotatably extended in the arm portion 2c of the sewing machine frame 2 along the extending direction of the arm portion 2c. The bar 5 moves up and down. The upper shaft is rotated by driving a sewing machine motor (not shown), and the driving control of the sewing machine motor is performed by the control device 30 described later.
The needle bar 5 is provided at its lower end so as to hold the sewing needle 5a. When the needle bar 5 moves up and down, the sewing needle 5a moves up and down.

布移動機構10は、図1に示すように、針棒5の下方に位置するよう設けられてその上面に被縫製物(図示略)を載置可能な下板11と、下板11の上方で上下動可能に設けられ、その下降時に下板11と協働で被縫製物を鋏みこんで保持する布保持枠12と、下板11及び布保持枠12を互いに直交する二方向に駆動させる駆動部13と、を備えている。なお、以後の記載において駆動部13が下板11及び布保持枠12を駆動する二方向のうち一方をX軸方向、他方をY軸方向とする。
布保持枠12を上昇させた状態の際に下板11の上面に被縫製物を載置し、その後布保持枠12を下降させることで、被縫製物は下板11と布保持枠12によって保持される。また、下板11と布保持枠12によって被縫製物が保持された状態で駆動部13が下板11及び布保持枠12をX軸方向及びY軸方向に駆動することにより、針棒5の下方で被縫製物がX軸方向及びY軸方向に移動する。駆動部13による被縫製物の移動によって針棒5の上下動による縫い針5aの被縫製物に対する針落ち位置が変位し、被縫製物に縫目が施される。なお、ミシン1は、ミシンテーブルTが水平の場合、下板11は水平となり、針棒5は鉛直方向に上下動するよう設けられている。
As shown in FIG. 1, the cloth moving mechanism 10 is provided so as to be positioned below the needle bar 5, and a lower plate 11 on which an article to be sewn (not shown) can be placed, and an upper portion of the lower plate 11. The cloth holding frame 12 is provided so as to be able to move up and down, and holds the sewing product in cooperation with the lower plate 11 when the lowering is performed, and the lower plate 11 and the cloth holding frame 12 are driven in two directions orthogonal to each other. And a drive unit 13. In the following description, one of the two directions in which the drive unit 13 drives the lower plate 11 and the cloth holding frame 12 is defined as the X-axis direction and the other as the Y-axis direction.
When the cloth holding frame 12 is raised, the article to be sewn is placed on the upper surface of the lower plate 11, and then the cloth holding frame 12 is lowered so that the article to be sewn is separated by the lower plate 11 and the cloth holding frame 12. Retained. In addition, the drive unit 13 drives the lower plate 11 and the cloth holding frame 12 in the X-axis direction and the Y-axis direction in a state where the sewing product is held by the lower plate 11 and the cloth holding frame 12. The sewing product moves in the X-axis direction and the Y-axis direction below. By the movement of the sewing product by the drive unit 13, the needle drop position of the sewing needle 5a with respect to the sewing product due to the vertical movement of the needle bar 5 is displaced, and stitches are applied to the sewing product. The sewing machine 1 is provided such that when the sewing machine table T is horizontal, the lower plate 11 is horizontal and the needle bar 5 moves up and down in the vertical direction.

図2はミシン1の主要構成を示すブロック図である。図2に示すように、操作パネル20は、ミシン1に関する各種情報を表示する表示装置21と、オペレータによって入力操作されることでミシン1に関する各種入力操作を行うことが可能な操作部22と、を備えている。また、操作パネル20は所謂タッチパネル式の表示入力装置であり、操作部22は表示装置21に表示された画面に対する近接、接触あるいは押圧操作といった操作が行われた際に当該操作を受けた位置を座標として検出し、表示装置21において当該座標に対応する位置に表示された内容と対応付けて入力操作を受け付ける。   FIG. 2 is a block diagram showing the main configuration of the sewing machine 1. As shown in FIG. 2, the operation panel 20 includes a display device 21 that displays various information related to the sewing machine 1, an operation unit 22 that can perform various input operations related to the sewing machine 1 by being input by an operator, It has. The operation panel 20 is a so-called touch panel display input device, and the operation unit 22 indicates a position where the operation is received when an operation such as proximity, contact, or pressing operation with respect to the screen displayed on the display device 21 is performed. The input operation is received in association with the content detected as coordinates and displayed on the display device 21 at the position corresponding to the coordinates.

制御装置30は、図2に示すように、ミシン1の動作制御に関する各種処理を行うCPU31と、CPU31が行う各種処理において用いる各種プログラム及びデータを書き換え不能に記憶するROM32と、CPU31が行う各種処理において一時的に生じるデータを格納する記憶領域としてのRAM33と、CPU31が行う各種処理において用いる各種プログラム及びデータを書き換え可能に記憶するEEPROM34と、各種外部接続機器(図示略)を接続可能なインターフェイス35と、を備えている。   As shown in FIG. 2, the control device 30 includes a CPU 31 that performs various processes related to operation control of the sewing machine 1, a ROM 32 that stores various programs and data used in various processes performed by the CPU 31 in an unrewritable manner, and various processes performed by the CPU 31. The RAM 33 as a storage area for storing temporarily generated data, the EEPROM 34 for storing various programs and data used in various processes performed by the CPU 31 in a rewritable manner, and an interface 35 for connecting various externally connected devices (not shown). And.

CPU31は、ROM32又はEEPROM34から各種プログラム及びデータを呼び出して実行処理することによりミシン1の各部を制御する。なお、上述の布移動機構10の駆動部13は、下板11及び布保持枠12をX軸方向に駆動するX軸モータ13aと、下板11及び布保持枠12をY軸方向に駆動するY軸モータ13bと、を備えており、CPU31がX軸モータ13a、Y軸モータ13bを駆動するための処理を行うことにより駆動部13による下板11及び布保持枠12の移動が行われる。また、図示しないが、ミシン1に備えられたミシンモータを含む各種アクチュエータや各種センサ類も制御装置30に接続されている。CPU31は、各種センサ類からの入力に応じて各種処理を行い、各種アクチュエータの駆動を制御することによりミシン1の動作を制御する。
また、操作パネル20の表示装置21の表示内容の制御及び操作部22に対する各種入力操作によって生じる各種処理もCPU31が行う。
The CPU 31 controls each part of the sewing machine 1 by calling and executing various programs and data from the ROM 32 or the EEPROM 34. The driving unit 13 of the cloth moving mechanism 10 described above drives the lower plate 11 and the cloth holding frame 12 in the X axis direction, and drives the lower plate 11 and the cloth holding frame 12 in the Y axis direction. Y-axis motor 13b, and CPU 31 performs processing for driving X-axis motor 13a and Y-axis motor 13b, whereby movement of lower plate 11 and cloth holding frame 12 by drive unit 13 is performed. Although not shown, various actuators and various sensors including a sewing machine motor provided in the sewing machine 1 are also connected to the control device 30. The CPU 31 performs various processes in accordance with inputs from various sensors, and controls the operation of the sewing machine 1 by controlling the driving of various actuators.
Further, the CPU 31 also performs various processes caused by the control of the display contents of the display device 21 of the operation panel 20 and various input operations on the operation unit 22.

(縫製データ)
また、図2に示すように、EEPROM34は特に、縫製データを記憶するための縫製データ記憶領域34aを有している。ここで、縫製データについて詳説する。縫製データは、ミシン1による縫製作業において被縫製物に縫い目を形成するための針落ち位置や縫製に関する各種パラメータを含むデータであり、被縫製物に所定の縫目を形成するための針落ち位置や各種パラメータを設定することが可能である。CPU31は縫製データを読み込むと、当該縫製データに基づいてミシン1の各部の動作を制御する。これによって所定の縫目が被縫製物に形成され、所望の縫いが行える。
なお、縫製データにはそれぞれ固有のパターンNoが付与されており、オペレータは操作パネル20に表示可能なパターンNo入力画面(図示略)において縫製作業に用いたい縫製データのパターンNoを入力することによって縫製データの選択を行うことが可能となっている。
(Sewing data)
As shown in FIG. 2, the EEPROM 34 particularly has a sewing data storage area 34a for storing sewing data. Here, the sewing data will be described in detail. The sewing data is data including a needle drop position for forming a seam on the sewing product and various parameters relating to sewing in the sewing operation by the sewing machine 1, and a needle drop position for forming a predetermined stitch on the sewing product. And various parameters can be set. When the CPU 31 reads the sewing data, the CPU 31 controls the operation of each part of the sewing machine 1 based on the sewing data. As a result, predetermined stitches are formed on the workpiece and desired sewing can be performed.
Each sewing data is given a unique pattern No. The operator inputs a sewing data pattern No. to be used for sewing work on a pattern No. input screen (not shown) that can be displayed on the operation panel 20. Sewing data can be selected.

図3は縫製データの構成を示す説明図である。図3に示すように、縫製データは少なくとも、各針落ち位置ごとにX方向座標と、Y方向座標と、相違点フラグとが設定されている。
X方向座標はX軸モータ13aによる下板11及び布保持枠12のX軸方向の移動量を示すパラメータ値、Y方向座標はY軸モータ13bによる下板11及び布保持枠12のY軸方向の移動量を示すパラメータ値である。CPU31は、X方向座標及びY方向座標に基づいてX軸モータ13a及びY軸モータ13bを駆動制御することで被縫製物を移動させて針落ち位置を制御する。
相違点フラグは、後述する二つの縫製データの比較処理において相違が検出された針落ち位置を管理するためのフラグ値である。なお、相違点フラグに限らず、フラグ値はON/OFFのそれぞれを示す二つの異なる値のいずれか一方が記憶されている。
FIG. 3 is an explanatory diagram showing the configuration of the sewing data. As shown in FIG. 3, the sewing data has at least an X-direction coordinate, a Y-direction coordinate, and a difference flag for each needle drop position.
The X direction coordinate is a parameter value indicating the amount of movement of the lower plate 11 and the cloth holding frame 12 in the X axis direction by the X axis motor 13a, and the Y direction coordinate is the Y axis direction of the lower plate 11 and the cloth holding frame 12 by the Y axis motor 13b. Is a parameter value indicating the amount of movement. The CPU 31 drives and controls the X-axis motor 13a and the Y-axis motor 13b based on the X-direction coordinates and the Y-direction coordinates to control the needle drop position by moving the workpiece.
The difference flag is a flag value for managing a needle drop position where a difference is detected in a comparison process of two sewing data described later. Not only the difference flag but also one of two different values indicating ON / OFF is stored as the flag value.

また、縫製データは各針落ち位置ごとに、各種の設定パラメータ値を付加可能になっている。各種の設定パラメータ値は、例えば図3に示すように、糸張力設定値、中押え高さ設定値、糸切りフラグ、回転数、途中停止フラグ、反転フラグ等がある。糸張力設定値はミシン1に備えられた糸張力器(図示略)によって上糸に加えられる糸張力の強さを示すパラメータ値、中押え高さ設定値はミシン1に備えられた中押え(図示略)の高さを示すパラメータ値である。糸切りフラグは、ミシン1に備えられた糸切り装置(図示略)の動作/非動作を示すフラグ値である。回転数は、上軸(図示略)の回転数を示すパラメータ値である。途中停止フラグは、ミシン1の動作を一時停止させるか否かを示すフラグ値である。   In addition, various setting parameter values can be added to the sewing data for each needle entry position. As shown in FIG. 3, for example, the various setting parameter values include a thread tension setting value, an intermediate presser height setting value, a thread trimming flag, a rotation speed, a midway stop flag, a reverse flag, and the like. The thread tension setting value is a parameter value indicating the strength of the thread tension applied to the upper thread by a thread tensioner (not shown) provided in the sewing machine 1, and the intermediate presser height setting value is the intermediate presser (provided in the sewing machine 1). It is a parameter value indicating the height of (not shown). The thread trimming flag is a flag value indicating operation / non-operation of a thread trimming device (not shown) provided in the sewing machine 1. The rotation speed is a parameter value indicating the rotation speed of the upper shaft (not shown). The midway stop flag is a flag value indicating whether or not the operation of the sewing machine 1 is temporarily stopped.

反転フラグは、被縫製物にラベル等を縫い付ける際に当該ラベル等を上方から押圧して被縫製物に押し付けて保持する押さえ機構40の押さえ棒42を矢印Qのように180度反転させるかどうかを示すフラグ値である。図4は押さえ機構40を示す説明図である。図4に示すように、押さえ機構40は、その下面がラベルと当接する当接面部41と、当接面部を支持する押さえ棒42とを有している。押さえ棒42には針棒5の上下動軌跡と衝突しないための湾曲部42aが設けられており、反転フラグのフラグ値がONであったときに、湾曲部42aの湾曲方向が逆となるように押さえ棒42が反転する。これによって、例えば図4の軌跡L1に示すようにラベルOの周囲内側に縫い目Lを形成する場合に、縫い目Lを矢印P方向に沿って縫い進めるとすると、縫い目L1を縫った後であって縫い目L2を縫う前に反転フラグによって抑え棒42を反転させることで、湾曲部42aと針棒5の上下動位置とが干渉しないようにすることが可能となる。なお、押さえ棒は当接面部に対して回転可能に設けられており、押さえ棒が回転しても当接面部の位置や向きは変わらない。   The reversal flag indicates that the presser bar 42 of the presser mechanism 40 that presses and holds the label or the like from the upper side when the label or the like is sewn on the sewing product is inverted 180 degrees as indicated by an arrow Q. Flag value indicating whether or not. FIG. 4 is an explanatory view showing the pressing mechanism 40. As shown in FIG. 4, the pressing mechanism 40 includes a contact surface portion 41 whose lower surface abuts on the label, and a pressing bar 42 that supports the contact surface portion. The presser bar 42 is provided with a curved portion 42a for preventing collision with the vertical movement locus of the needle bar 5. When the flag value of the reverse flag is ON, the bending direction of the curved portion 42a is reversed. The presser bar 42 is inverted. Accordingly, for example, when the seam L is formed inside the periphery of the label O as shown by the locus L1 in FIG. 4, if the seam L is sewn along the direction of the arrow P, the seam L1 is sewn. It is possible to prevent the bending portion 42a and the vertical movement position of the needle bar 5 from interfering with each other by reversing the restraining bar 42 by the reversal flag before sewing the seam L2. The presser bar is provided so as to be rotatable with respect to the contact surface part, and the position and orientation of the contact surface part do not change even if the presser bar rotates.

CPU31は、上述の縫製データに含まれる各針落ち位置のX方向座標、Y方向座標及び各パラメータに基づいてミシン1の各部を制御する。なお、ミシン1に備えられた糸張力器、中押え、糸切り装置、押さえ機構については従来のミシンと同様であるので詳説は省略する。また、図3に示す各種の設定パラメータはあくまで一例であり、他の設定パラメータでもよいことは言うまでもない。
また、X方向座標、Y方向座標及び相違点フラグ以外の各パラメータの付加はオペレータの任意設定操作によって行われ、必ずしも各針落ち位置に付加されていない。なお、上述の各パラメータ値の付加は、操作パネル20に表示可能な画面のひとつである縫製データ編集画面(図示略)から各縫製データの各針落ち位置ごとに行うことが可能となっている。CPU31は、縫製データ編集画面からの入力内容に応じて各縫製データの各針落ち位置ごとにパラメータを設定してEEPROM34に記憶する。よって、CPU31による表示内容の制御及び入力内容の処理によって操作パネル20は「設定手段」として機能する。なお、縫製データ編集画面では各パラメータの付加の他、各パラメータの変更や消去、さらには新規縫製データの作成、縫製データの消去等の各種データ操作も行える。よって、操作パネル20及び制御装置30は協働することにより縫製データ作成装置として機能する。
The CPU 31 controls each part of the sewing machine 1 based on the X-direction coordinates, the Y-direction coordinates, and the parameters of each needle drop position included in the above-described sewing data. The thread tension device, the intermediate presser, the thread trimming device, and the presser mechanism provided in the sewing machine 1 are the same as those of the conventional sewing machine, and thus detailed description thereof is omitted. Also, the various setting parameters shown in FIG. 3 are merely examples, and it goes without saying that other setting parameters may be used.
The addition of parameters other than the X direction coordinate, the Y direction coordinate, and the difference flag is performed by an operator's arbitrary setting operation, and is not necessarily added to each needle drop position. The addition of each parameter value described above can be performed for each needle entry position of each sewing data from a sewing data editing screen (not shown) which is one of the screens that can be displayed on the operation panel 20. . The CPU 31 sets parameters for each needle entry position of each sewing data in accordance with the input contents from the sewing data editing screen and stores them in the EEPROM 34. Therefore, the operation panel 20 functions as a “setting unit” by the display content control and the input content processing by the CPU 31. On the sewing data editing screen, in addition to adding each parameter, various data operations such as changing or deleting each parameter, creating new sewing data, and deleting sewing data can be performed. Therefore, the operation panel 20 and the control device 30 cooperate to function as a sewing data creation device.

(縫製データの比較処理)
次に、操作パネル20に対する入力操作を介して二つの縫製データの比較処理を行い、当該比較処理結果を表示する際の各画面の表示内容及び処理内容について詳説する。比較処理を行う際には、まず比較項目選択画面21A(図5参照)にて比較するパラメータ値の種類を選択入力し、その後縫製データ比較画面21B(図6(a)、(b)参照)にて二つの縫製データの比較を行うための各種入力操作を行う。以下、各画面について詳説する。
(Sewing data comparison process)
Next, a comparison process of two pieces of sewing data is performed through an input operation on the operation panel 20, and the display contents and the process contents of each screen when displaying the comparison process result will be described in detail. When performing the comparison process, first, the type of parameter value to be compared is selected and input on the comparison item selection screen 21A (see FIG. 5), and then the sewing data comparison screen 21B (see FIGS. 6A and 6B). Perform various input operations to compare the two sewing data. Hereinafter, each screen will be described in detail.

(比較項目設定画面)
まず、各縫製データに対して設定可能な各パラメータ値のうち、いずれのパラメータ値を比較の対象とするかを選択入力するための比較項目選択画面について詳説する。図5は比較項目選択画面21Aの表示例を示す説明図である。
図5に示すように、比較項目選択画面21Aには少なくとも、比較の対象とするパラメータ値の種類を選択入力するための比較項目選択キーHと、選択された比較項目選択キーに対応するパラメータ値を比較の対象とすることを決定入力するためのEnterキーEと、が表示されている。比較項目選択キーHは、上述の縫製データの各パラメータ値のうち、X方向座標及びY方向座標を除く各パラメータ値に対応する項目がそれぞれ個別のキーに割り当てられた複数のキーである。オペレータによって比較項目選択キーHのいずれかが選択入力されると、選択されたキーの表示色が変化して選択された旨が明示されるようになっている。なお、比較項目選択キーHはひとつに限らず複数選択することも可能であるし、ひとつも選択しなくてもよい。EnterキーEが操作されると、選択された比較項目選択キーHに対応した縫製データのパラメータ値が後述する比較処理における比較項目として設定される。当該設定はEEPROM34に記憶され、その後の比較処理において用いられる。よって、CPU31による表示内容の制御によって比較項目設定画面21Aを表示可能であり、当該画面への入力内容がCPU31によって処理されることで、操作パネル20は「パラメータ選択手段」として機能する。
なお、X方向座標及びY方向座標は比較項目選択キーHに表示されないが、比較処理において常に比較項目として用いられる。また、相違点フラグは比較項目とはならず、比較項目設定キーHに相違点フラグのキーが表示されることもない。
(Comparison item setting screen)
First, a comparison item selection screen for selecting and inputting which parameter value is to be compared among parameter values that can be set for each sewing data will be described in detail. FIG. 5 is an explanatory diagram showing a display example of the comparison item selection screen 21A.
As shown in FIG. 5, the comparison item selection screen 21A includes at least a comparison item selection key H for selecting and inputting the type of parameter value to be compared, and a parameter value corresponding to the selected comparison item selection key. And an Enter key E for determining and inputting that is to be compared. The comparison item selection key H is a plurality of keys in which items corresponding to the parameter values excluding the X-direction coordinates and the Y-direction coordinates among the respective parameter values of the sewing data described above are assigned to individual keys. When one of the comparison item selection keys H is selected and input by the operator, the display color of the selected key is changed to clearly indicate that it has been selected. Note that the number of comparison item selection keys H is not limited to one, and a plurality of comparison item selection keys H may be selected, or none may be selected. When the Enter key E is operated, the parameter value of the sewing data corresponding to the selected comparison item selection key H is set as a comparison item in the comparison process described later. The setting is stored in the EEPROM 34 and used in the subsequent comparison process. Therefore, the comparison item setting screen 21A can be displayed by controlling the display content by the CPU 31, and the input content on the screen is processed by the CPU 31, whereby the operation panel 20 functions as “parameter selection means”.
The X direction coordinate and the Y direction coordinate are not displayed on the comparison item selection key H, but are always used as comparison items in the comparison process. The difference flag is not a comparison item, and the difference flag key is not displayed on the comparison item setting key H.

(縫製データ比較画面)
次に、縫製データ比較画面21Bについて詳説する。縫製データ比較画面21Bにおいては、二つの縫製データの比較処理に関する各種入力操作を行えると共に、比較処理の結果を表示可能である。なお、縫製データ比較画面21Bから行える比較処理として、後述する相違点検出処理と一致率算出処理とがある。
図6は縫製データ比較画面21Bの表示例を示す説明図である。なお、図6(a)はひとつの縫製データが表示された状態、図6(b)は二つの縫製データが表示された状態の表示例を示す説明図である。図6(a)、(b)に示すように、縫製データ比較画面21Bには少なくとも、二つのパターンNo選択キーN1、N2が表示されている。パターンNo選択キーN1、N2は、縫製データのパターンNoを指定入力するためのパターンNo入力画面(図示略)を表示させるためのキーである。各パターンNo選択キーから呼び出されたパターンNo入力画面においてパターンNoが入力されると、制御装置30のCPU31は当該パターンNoに対応した縫製データをEEPROM34から読み込む。そして、読み込んだ当該縫製データの針落ち位置によって形成される縫いパターンの一部あるいは全部が縫製データ比較画面21Bに表示される。このとき、図6(a)、(b)に示す境界線Gよりも上側にパターン選択キーN1からの入力で指定された縫製データが、境界線Gよりも下側にパターン選択キーN2からの入力で指定された縫製データが表示される。よって、CPU31による表示内容の制御によって縫製データ比較画面21Bを表示可能であり、当該画面への入力操作を介して二つの縫製データを呼び出して表示可能な操作パネル20は「第1の表示手段」として機能する。なお、以後の記載において、パターン選択キーN1からの入力によって指定された縫製データを比較元、パターン選択キーN2からの入力によって指定された縫製データを比較先と記載する。
(Sewing data comparison screen)
Next, the sewing data comparison screen 21B will be described in detail. On the sewing data comparison screen 21B, various input operations relating to the comparison processing of the two sewing data can be performed, and the result of the comparison processing can be displayed. Note that comparison processing that can be performed from the sewing data comparison screen 21B includes difference detection processing and coincidence rate calculation processing described later.
FIG. 6 is an explanatory view showing a display example of the sewing data comparison screen 21B. 6A is an explanatory diagram showing a display example in which one piece of sewing data is displayed, and FIG. 6B is an explanatory diagram showing a display example in which two pieces of sewing data are displayed. As shown in FIGS. 6A and 6B, at least two pattern No. selection keys N1 and N2 are displayed on the sewing data comparison screen 21B. The pattern number selection keys N1 and N2 are keys for displaying a pattern number input screen (not shown) for designating and inputting a pattern number of sewing data. When a pattern number is input on the pattern number input screen called from each pattern number selection key, the CPU 31 of the control device 30 reads sewing data corresponding to the pattern number from the EEPROM 34. Then, a part or all of the sewing pattern formed by the needle drop position of the read sewing data is displayed on the sewing data comparison screen 21B. At this time, the sewing data designated by the input from the pattern selection key N1 above the boundary line G shown in FIGS. 6 (a) and 6 (b) is transferred from the pattern selection key N2 below the boundary line G. The sewing data specified by input is displayed. Therefore, the sewing data comparison screen 21B can be displayed by controlling the display contents by the CPU 31, and the operation panel 20 that can call and display the two sewing data via the input operation to the screen is "first display means". Function as. In the following description, the sewing data designated by the input from the pattern selection key N1 is referred to as a comparison source, and the sewing data designated by the input from the pattern selection key N2 is referred to as a comparison destination.

各パターン選択キーから縫製データが指定されて表示されると、図6(a)、(b)に示すように、比較処理における比較の範囲を指定するための範囲指定キーAが縫製データの縫いパターンの右方にそれぞれ表示される。範囲指定キーAは、縫製データの比較処理を開始する針落ち位置を指定するための入力操作キーであり、範囲指定キーAへの入力操作によって比較処理開始位置を示す開始点Sの表示位置が縫いパターンに沿って移動する。このとき、比較元及び比較先それぞれの右方に表示された範囲指定キーAによって個別に開始点Sを指定可能である。なお、図6(a)、(b)に示す範囲指定キーAは3つのキーを有しており、上から順に、当該縫製データの最初の針落ち位置へ開始点Sを移動させるキー、開始点Sを現在表示されている位置から一つ前の針落ち位置へと移動させるキー、開始点Sを現在表示されている位置から一つ後の針落ち位置へと移動させるキーとなっている。よって、開始点Sから比較処理を開始する、つまり開始点S以降の針落ち位置を比較処理範囲として設定することが可能な範囲指定キーAならびに範囲指定キーAの表示及び範囲指定キーAへの入力を受付可能な操作パネル20は「針落ち位置範囲指定手段」として機能する。   When sewing data is designated and displayed from each pattern selection key, as shown in FIGS. 6A and 6B, a range designation key A for designating a comparison range in the comparison process is displayed. Each is displayed to the right of the pattern. The range designation key A is an input operation key for designating a needle entry position at which sewing data comparison processing is started. The display position of the start point S indicating the comparison processing start position by the input operation to the range designation key A is Move along the sewing pattern. At this time, the start point S can be individually designated by the range designation key A displayed on the right side of each of the comparison source and the comparison destination. The range designation key A shown in FIGS. 6 (a) and 6 (b) has three keys. In order from the top, a key for moving the start point S to the first needle entry position of the sewing data, start The key moves the point S from the currently displayed position to the previous needle drop position, and the key moves the start point S from the currently displayed position to the next needle drop position. . Therefore, the comparison process is started from the start point S, that is, the range designation key A and the range designation key A that can set the needle entry position after the start point S as the comparison process range and the range designation key A are displayed. The operation panel 20 that can accept input functions as “needle entry position range designating means”.

また、比較元と比較先が共に指定された状態では、図6(b)に示すように、比較元の縫いパターンの上方に縫製データ反転指定キーRが表示される。縫製データ反転指定キーRは、一回操作するごとに当該キーの表示が「通常」と「Y軸反転モード」とのいずれか一方に交互に切り替わる。また、縫製データ反転指定キーRを一回操作するごとに、比較元の縫製データに含まれる針落ち位置のX方向座標が、X軸方向の座標位置の中央を基準に反転する。例えば、X方向の座標が左から右にかけて0〜100の範囲で示されている場合、中央である50を基準に全ての針落ち位置のX軸方向の座標が反転する。つまり、縫製データによって形成される縫い目に対してX軸方向に直交する線即ちY軸を基準として線対称となる縫い目が形成されるよう針落ち位置を置き換える。よって、縫製データ反転指定キーRならびに縫製データ反転指定キーRの表示及び縫製データ反転指定キーRへの入力を受付可能な操作パネル20は「反転手段」として機能する。なお、縫製データ反転指定キーRの表示が「通常」の場合は縫製データにあらかじめ記憶されたX軸方向の座標位置が、「Y軸反転モード」の場合はX軸方向の座標が反転した座標位置が用いられる。   When both the comparison source and the comparison destination are designated, a sewing data reversal designation key R is displayed above the comparison source sewing pattern, as shown in FIG. 6B. Each time the sewing data reversal designation key R is operated, the display of the key is alternately switched between “normal” and “Y-axis reversal mode”. Each time the sewing data reversal designation key R is operated once, the X-direction coordinate of the needle drop position included in the comparison-source sewing data is reversed with reference to the center of the coordinate position in the X-axis direction. For example, when the coordinates in the X direction are shown in the range from 0 to 100 from the left to the right, the coordinates in the X axis direction of all needle drop positions are reversed with reference to 50 as the center. In other words, the needle drop position is replaced so that a line that is orthogonal to the seam formed by the sewing data, that is, a line that is symmetric with respect to the Y axis, is formed. Therefore, the operation panel 20 capable of accepting the display of the sewing data reversal designation key R and the sewing data reversal designation key R and the input to the sewing data reversal designation key R functions as “reversing means”. If the display of the sewing data reverse designation key R is “normal”, the coordinate position in the X-axis direction stored in advance in the sewing data is the coordinate position in which the coordinate in the X-axis direction is reversed in the “Y-axis reverse mode”. Position is used.

また、比較元と比較先が共に指定された状態では、図6(b)に示すように、比較先の範囲指定キーAの上方に比較キーBが表示される。比較キーBが操作されると、CPU31は比較元と比較先の縫製データの各パラメータを比較して相違があった場合に当該相違を表示する相違点検出処理を行う。このとき、比較元及び比較先の縫製データについて、上述の範囲指定キーAによって指定された針落ち位置からそれぞれ相違点検出処理が開始される。相違点検出処理は、比較元と比較先の縫製データに含まれる「X方向座標、Y方向座標及び上述の比較項目選択画面21Aにて選択された種類のパラメータ値」(以後「パラメータ等」と表記)について順次比較を行い、相違があった時点で当該相違に関する情報を縫製データ比較画面21Bに表示する処理である。以下、相違点検出処理について詳説する。   When both the comparison source and the comparison destination are designated, the comparison key B is displayed above the comparison destination range designation key A as shown in FIG. When the comparison key B is operated, the CPU 31 compares each parameter of the comparison source and comparison destination sewing data and performs a difference detection process for displaying the difference when there is a difference. At this time, for the comparison source and comparison destination sewing data, the different point detection process is started from the needle entry position designated by the range designation key A described above. The difference detection process includes “X-direction coordinates, Y-direction coordinates, and parameter values of the type selected on the comparison item selection screen 21A” (hereinafter referred to as “parameters”) included in the sewing data of the comparison source and the comparison destination. (Notation) is a process of sequentially comparing information and displaying information on the difference on the sewing data comparison screen 21B when there is a difference. Hereinafter, the difference detection process will be described in detail.

図7は相違点Iが表示された状態の縫製データ比較画面21Bの表示例を示す説明図である。相違点検出処理ではまず、針落ち位置のX方向座標及びY方向座標の比較が行われる。このとき、X方向座標及びY方向座標のいずれか一方または双方に相違があった場合、各針落ち位置の相違点フラグがONされると共に、図7に示すように、各縫製データの縫いパターン上で当該針落ち位置に該当する位置に相違点Iが表示され、各パターンNo選択キーN1,N2の右方の表示領域Fに当該針落ち位置のX座標及びY座標が表示される。なお、比較の結果、パラメータ値が一致した場合には次のパラメータ等の比較に移行する。   FIG. 7 is an explanatory diagram showing a display example of the sewing data comparison screen 21B in a state where the difference I is displayed. In the difference detection process, first, the X direction coordinate and the Y direction coordinate of the needle drop position are compared. At this time, if there is a difference in either one or both of the X direction coordinate and the Y direction coordinate, the difference flag of each needle drop position is turned ON, and as shown in FIG. 7, the sewing pattern of each sewing data is set. Above, the difference I is displayed at the position corresponding to the needle drop position, and the X coordinate and Y coordinate of the needle drop position are displayed in the display area F on the right side of each pattern No selection key N1, N2. If the parameter values match as a result of the comparison, the process proceeds to comparison of the next parameter or the like.

X方向座標及びY方向座標が一致した場合、次に針落ち位置に付加された各パラメータ値の比較が行われる。このとき、比較項目選択画面21Aにて選択された比較項目選択キーHに対応する各パラメータ値のみが比較の対象となる。故に、針落ち位置に付加された各パラメータ値によってさまざまな処理が生じうる。以下、針落ち位置に付加された各パラメータ値の相違点検出処理について詳説する。
図8は針落ち位置に付加された各パラメータ値の比較において生じうるパターンを示す説明図である。なお、図8(a)は比較元と比較先とに設定されたパラメータ値の種類が異なり、それぞれのパラメータ値が共に比較項目であった場合、図8(b)は比較元と比較先とに設定されたパラメータ値の種類が同一であり、当該パラメータ値が比較項目であった場合、図8(c)は比較元と比較先とに設定されたパラメータ値の種類が異なり、一方のパラメータ値が比較項目であり、他方のパラメータ値が比較項目でなかった場合、図8(d)は一方のパラメータ値が比較項目であり、他方のパラメータ値が次の針落ち位置のX方向座標である場合を示す。なお、図8(c)、(d)においては、比較項目でないパラメータ値を網掛けで示すものとする。
When the X-direction coordinates and the Y-direction coordinates match, each parameter value added to the needle entry position is then compared. At this time, only the parameter values corresponding to the comparison item selection key H selected on the comparison item selection screen 21A are to be compared. Therefore, various processes can occur depending on each parameter value added to the needle entry position. Hereinafter, the difference detection process of each parameter value added to the needle entry position will be described in detail.
FIG. 8 is an explanatory diagram showing patterns that can occur in the comparison of the parameter values added to the needle entry position. 8A is different in the type of parameter values set in the comparison source and the comparison destination, and when both parameter values are comparison items, FIG. 8B shows the comparison source and the comparison destination. 8 is the same as the parameter value, and the parameter value is a comparison item. In FIG. 8C, the parameter values set in the comparison source and the comparison destination are different. When the value is the comparison item and the other parameter value is not the comparison item, FIG. 8D shows that one parameter value is the comparison item and the other parameter value is the X-direction coordinate of the next needle entry position. Indicates a case. In FIGS. 8C and 8D, parameter values that are not comparison items are shaded.

まず、図8(a)に示す比較元と比較先とに設定されたパラメータ値の種類が異なり、それぞれのパラメータ値が共に比較項目であった場合について詳説する。この場合、CPU31はパラメータに相違があったものとし、上述のように各針落ち位置の相違点フラグをONし、縫いパターン上で当該針落ち位置に対応する位置で相違点Iを表示し、各パターンNo選択キーN1,N2の右方の表示領域Fに相違のあったパラメータ値をそれぞれ表示する。   First, the case where the types of parameter values set in the comparison source and the comparison destination shown in FIG. 8A are different and both parameter values are comparison items will be described in detail. In this case, it is assumed that the CPU 31 has a difference in parameters, and as described above, the difference flag for each needle drop position is turned ON, and the difference I is displayed at a position corresponding to the needle drop position on the sewing pattern. Different parameter values are displayed in the display area F on the right side of each pattern No. selection key N1, N2.

次に、図8(b)に示す比較元と比較先とに設定されたパラメータ値の種類が同一であり、当該パラメータ値が比較項目であった場合について詳説する。この場合、CPU31は比較元と比較先のパラメータ値を比較し、相違があった場合には上述のように各針落ち位置の相違点フラグをONし、縫いパターン上で当該針落ち位置に対応する位置で相違点Iを表示し、各パターンNo選択キーN1,N2の右方の表示領域Fに相違のあったパラメータ値をそれぞれ表示する。比較の結果、パラメータ値が一致した場合には次のパラメータ等の比較に移行する。   Next, the case where the types of parameter values set in the comparison source and the comparison destination shown in FIG. 8B are the same and the parameter values are comparison items will be described in detail. In this case, the CPU 31 compares the parameter values of the comparison source and the comparison destination, and when there is a difference, the difference flag of each needle drop position is turned on as described above, and the needle drop position corresponding to the needle drop position on the sewing pattern is set. The difference I is displayed at the position where the pattern No. is selected, and the different parameter values are displayed in the display area F on the right side of the pattern No. selection keys N1 and N2. If the parameter values match as a result of the comparison, the process proceeds to comparison of the next parameter or the like.

次に、図8(c)に示す比較元と比較先とに設定されたパラメータ値の種類が異なり、一方のパラメータ値が比較項目であり、他方のパラメータ値が比較項目でなかった場合について詳説する。この場合、CPU31は比較項目でない他方のパラメータ値を有する側の縫製データについて、比較項目に該当するパラメータ値が見つかるまで順次パラメータ値をチェックする。そして、比較項目に該当するパラメータ値が見つかった時点で、一方のパラメータ値と比較する処理を行う。その場合の処理内容は上述の図8(a),(b)に示す場合と同様である。
図8(c)の例では、比較元のY方向座標の直後にある糸張力設定値が比較項目でないので、その次にあるパラメータであり、比較項目として選択されている中押え高さ設定値が比較の対象となる。一方、比較先はY方向座標の直後に中押え高さ設定値があるので、これが比較の対象となる。よって、図8(c)の場合、X方向座標及びY方向座標の比較が終了した後には、中押え高さ設定値の比較が行われる。
Next, the types of parameter values set for the comparison source and the comparison destination shown in FIG. 8C are different, one parameter value is a comparison item, and the other parameter value is not a comparison item. To do. In this case, the CPU 31 sequentially checks the parameter values of the sewing data having the other parameter value that is not the comparison item until a parameter value corresponding to the comparison item is found. Then, when a parameter value corresponding to the comparison item is found, a process of comparing with one parameter value is performed. The processing contents in that case are the same as those shown in FIGS. 8 (a) and 8 (b).
In the example of FIG. 8C, since the yarn tension setting value immediately after the Y-direction coordinate of the comparison source is not the comparison item, the intermediate presser height setting value selected as the comparison item is the next parameter. Are subject to comparison. On the other hand, since the comparison destination has the intermediate presser height setting value immediately after the Y-direction coordinates, this is the comparison target. Therefore, in the case of FIG. 8C, after the comparison of the X direction coordinate and the Y direction coordinate is completed, the intermediate presser height setting value is compared.

次に、図8(d)に示す一方のパラメータ値が比較項目であり、他方のパラメータ値が次の針落ち位置のX方向座標である場合を示す。このパターンは、一方の縫製データの針落ち位置に設定された各パラメータ値の種類に対して他方の縫製データの針落ち位置に設定された各パラメータ値の種類が少なかった場合、比較項目として設定されたパラメータ値に該当するパラメータ値の種類が少なかった場合あるいは各パラメータが設定されていなかった場合等に生じうる。この場合、パラメータに相違があったものとし、上述のように各針落ち位置の相違点フラグをONし、縫いパターン上で当該針落ち位置に対応する位置で相違点Iを表示し、各パターンNo選択キーN1,N2の右方の表示領域Fに相違のあったパラメータ値をそれぞれ表示する。   Next, a case where one parameter value shown in FIG. 8D is a comparison item and the other parameter value is an X-direction coordinate of the next needle drop position is shown. This pattern is set as a comparison item when the number of parameter values set at the needle entry position of the other sewing data is less than the type of parameter values set at the needle entry position of one sewing data. This may occur when there are few types of parameter values corresponding to the set parameter values, or when each parameter is not set. In this case, it is assumed that there is a difference in the parameters. As described above, the difference flag for each needle drop position is turned ON, and the difference I is displayed at the position corresponding to the needle drop position on the sewing pattern. The different parameter values are displayed in the display area F on the right side of the No selection keys N1 and N2.

なお、相違点検出処理において相違が検出された時点で相違点検出処理はいったん終了し、当該相違が検出された針落ち位置で相違点Iが表示され、各パターンNo選択キーN1,N2の右方の表示領域Fに当該相違として検出されたパラメータ値が表示される。その後、比較キーBが再度操作されると、CPU31は原則として相違が検出された次のパラメータ等から相違点検出処理を再開する。ただし、図8(d)に示すように一方がX方向座標でないパラメータ値で他方がX方向座標であった場合は、他方のX方向座標については次のパラメータ等に移行させず、当該X方向座標を再度比較項目とする。これによって、各針落ち位置のX方向座標及びY方向座標は最低1回X方向座標及びY方向座標同士で比較されるように制御される。
よって、上述のように縫製データ比較画面21B上に相違点I及びそのパラメータ値を表示可能な操作パネル20は「第3の表示手段」として機能する。
When a difference is detected in the difference detection process, the difference detection process is temporarily terminated, the difference I is displayed at the needle entry position where the difference is detected, and the right of each pattern No selection key N1, N2 is displayed. The parameter value detected as the difference is displayed in the other display area F. Thereafter, when the comparison key B is operated again, the CPU 31 restarts the difference detection process from the next parameter or the like in which the difference is detected in principle. However, as shown in FIG. 8D, when one is a parameter value that is not an X-direction coordinate and the other is an X-direction coordinate, the other X-direction coordinate is not shifted to the next parameter or the like, The coordinates are used as comparison items again. Thereby, the X direction coordinate and the Y direction coordinate of each needle drop position are controlled to be compared at least once between the X direction coordinate and the Y direction coordinate.
Therefore, as described above, the operation panel 20 capable of displaying the difference I and its parameter value on the sewing data comparison screen 21B functions as “third display means”.

また、相違点検出処理においては、比較元と比較先の各縫製データに含まれるパラメータ値の種類及びその値が同一であっても、各縫製データにおける登録の順番や付加されたパラメータ値の数によっては相違として検出される。例えば、上述の図8(a)に示す例において、比較元と比較先にそれぞれ付加された「中押え高さ設定値」のパラメータ値が同一であっても、比較元には「糸張力設定値」が設定されており、比較先には「糸張力設定値」が設定されていないが故に、相違点検出処理では比較元の「糸張力設定値」と比較先の「中押え高さ設定値」が比較されて相違として扱われ、比較元と比較先の「中押え高さ設定値」が比較されることはない。
これによって、縫製作業結果に影響が出うるパラメータ値の差異をより確実に検出できる。例えば、比較元には「糸張力設定値」、「糸切りフラグ」の順に設定されており、比較先に「糸切りフラグ」、「糸張力設定値」の順に設定されているとし、それぞれ対応するパラメータ値そのものは同じであった場合であるとする。一方、糸切りにおいては一般的に糸張力器による糸張力を所定の糸張力に調整したうえで糸切りを行うことが望ましい。このため、比較先のように先に「糸切りフラグ」がある場合には、糸張力設定値が反映されずに糸切りフラグによる糸切りが行われてしまう恐れがある。従って、この場合、比較元の縫製データによる縫製作業結果と、比較先の縫製データによる縫製作業結果とは異なる可能性があり、かようなパラメータ値の付加順の差異は相違として表示されることが望ましいと言える。よって、相違点検出処理では、順次行われるパラメータ等の比較において、比較の対象となったパラメータ値の種類が違った時点で相違となる。
In addition, in the difference detection process, even if the types and values of the parameter values included in the comparison source and comparison destination sewing data are the same, the registration order and the number of added parameter values in each sewing data are the same. Is detected as a difference. For example, in the example shown in FIG. 8A described above, even if the parameter values of the “intermediate presser height setting value” added to the comparison source and the comparison destination are the same, the comparison source includes “thread tension setting”. Value ”is set, and“ thread tension setting value ”is not set in the comparison destination. Therefore, in the difference detection process,“ thread tension setting value ”in comparison source and“ intermediate presser height setting in comparison destination ”are set. The “value” is compared and treated as a difference, and the “intermediate presser height setting value” of the comparison source and the comparison destination are not compared.
This makes it possible to more reliably detect a difference in parameter values that may affect the sewing work result. For example, assume that the comparison source is set in the order of “thread tension setting value” and “thread trimming flag”, and the comparison destination is set in the order of “thread trimming flag” and “thread tension setting value”. It is assumed that the parameter values themselves are the same. On the other hand, in thread trimming, it is generally desirable to perform thread trimming after adjusting the thread tension by a thread tensioner to a predetermined thread tension. For this reason, when there is a “thread trimming flag” first as in the comparison destination, the thread trimming value may not be reflected and the thread trimming by the thread trimming flag may be performed. Therefore, in this case, the sewing work result based on the comparison source sewing data may be different from the sewing work result based on the comparison destination sewing data, and the difference in the order in which the parameter values are added is displayed as a difference. Is desirable. Therefore, in the difference detection process, in the comparison of parameters and the like that are sequentially performed, a difference occurs when the types of parameter values to be compared are different.

(一致画面)
図9は一致画面21Cの表示例を示す説明図である。
相違点検出処理の結果、比較元の比較開始位置以降の全ての針落ち位置及び比較項目として選択された各パラメータ値が一致した場合は、図9に示す一致画面21Cが表示され、相違点検出処理は終了する。
よって、二つの縫製データの相違点の検出処理を行うことで二つの縫製データが一致するかどうかを判定可能なCPU31は「判定手段」として機能する。また、上述のように二つの縫製データが一致しない場合には縫製データ比較画面21B上に相違点I及びそのパラメータ値を表示し、一致する場合には一致画面21Cを表示するようCPU31によって制御される操作パネル20は「第2の表示手段」として機能する。
(Match screen)
FIG. 9 is an explanatory view showing a display example of the matching screen 21C.
As a result of the difference detection process, when all the needle drop positions after the comparison start position of the comparison source and each parameter value selected as the comparison item match, the matching screen 21C shown in FIG. 9 is displayed, and the difference detection is performed. The process ends.
Therefore, the CPU 31 that can determine whether or not the two pieces of sewing data match each other by performing a process of detecting a difference between the two pieces of sewing data functions as a “determination unit”. Further, as described above, when the two sewing data do not match, the CPU 31 is controlled to display the difference I and its parameter value on the sewing data comparison screen 21B, and to display the matching screen 21C when they match. The operation panel 20 functions as “second display means”.

(縫製データの一致率算出処理)
次に、二つの縫製データの一致率を算出してその結果を表示する処理について詳説する。図10は一致率表示画面21Dの表示例を示す説明図である。
縫製データ比較画面21Bにおいて、比較元と比較先が共に指定された状態では、図6(b)に示すように、比較先の縫いパターンの上方に詳細キーMが表示される。詳細キーMが操作されると、CPU31は比較元と比較先の縫製データの一致率算出処理を行う。具体的には、上述の相違点検出処理と同様の開始位置及び判定基準で相違の有無を検出する。このとき、相違が検出されても一致率算出を終了することはせず、また相違点Iの表示及び相違のあったパラメータ値の表示も行わない。また、相違の有無の検出回数を累計するための比較総数カウンタmと、相違がなかった場合にその回数を累計するための一致カウンタnを定義してそれぞれカウントする。そして、比較元の最後の針落ち位置まで比較が終了した時点で比較総数カウンタmの値を分母とし一致カウンタnの値を分子とする一致率を示す値をパーセント表示で図10に示す一致率表示画面21Dに表示する。なお、図10に示すように、一致率表示画面21Dには円グラフCとその中に示されたパーセント表示の数値によって上述の一致率が表示される。
よって、二つの縫製データの一致率を算出可能なCPU31は「算出手段」として機能する。また、一致率表示画面21Dによって二つの縫製データの一致率を表示可能な操作パネル20は「第4の表示手段」として機能する。
(Sewing data matching rate calculation process)
Next, a process for calculating the coincidence rate between the two sewing data and displaying the result will be described in detail. FIG. 10 is an explanatory diagram showing a display example of the matching rate display screen 21D.
When both the comparison source and the comparison destination are designated on the sewing data comparison screen 21B, the detail key M is displayed above the comparison destination sewing pattern as shown in FIG. 6B. When the detail key M is operated, the CPU 31 performs a matching rate calculation process between the comparison source and the comparison destination sewing data. Specifically, the presence / absence of a difference is detected at the same start position and determination criterion as in the above-described difference detection process. At this time, even if a difference is detected, the coincidence rate calculation is not terminated, and the difference I and the parameter value having the difference are not displayed. Also, a comparison total counter m for accumulating the number of times of detection of the presence or absence of a difference and a coincidence counter n for accumulating the number of times when there is no difference are defined and counted. Then, when the comparison is completed up to the last needle drop position of the comparison source, the matching rate shown in FIG. 10 as a percentage indicating a matching rate with the value of the comparison total counter m as the denominator and the value of the matching counter n as the numerator It is displayed on the display screen 21D. As shown in FIG. 10, the above-described coincidence rate is displayed on the coincidence rate display screen 21D by the numerical value of the pie chart C and the percentage display shown therein.
Therefore, the CPU 31 that can calculate the coincidence rate of the two sewing data functions as “calculation means”. Further, the operation panel 20 capable of displaying the matching rate of the two sewing data on the matching rate display screen 21D functions as a “fourth display unit”.

なお、上述の縫製データ比較画面21Bにおいて各種比較処理に際し、比較処理の開始位置からの針落ち位置の数について比較元よりも比較先の方が多かった場合、比較先の多かった分の針落ち位置は比較対象とならず、無視される。また、比較元の方が比較先よりも多かった場合、CPU31は相違点検出処理においては相違点I及び相違のあったパラメータ値を表示する際に比較先の縫製データが終点となった旨を示す内容が表示され、一致率算出処理においては比較先よりも多かった分の比較元の針落ち位置及び各パラメータ値については全て相違があったものとしてカウントする。   When various comparison processes are performed on the above-described sewing data comparison screen 21B, the number of needle drop positions from the comparison process start position is greater than the comparison source in comparison with the number of needle drop positions compared to the comparison source. The position is not compared and is ignored. Further, when there are more comparison sources than comparison destinations, the CPU 31 indicates that the comparison destination sewing data is the end point when displaying the difference I and the parameter values that are different in the difference detection processing. The contents to be shown are displayed, and in the coincidence rate calculation process, it is counted that there is a difference with respect to the needle drop position and each parameter value of the comparison source that are more than the comparison destination.

また、上述の縫製データ比較画面21Bにおいて、各パターン選択キーから縫製データが指定されて表示されると、図6(a)、(b)及び図7に示すように、それぞれの範囲指定キーAの下方にEnterキーE1,E2表示される。EnterキーE1,E2のいずれかを操作すると、操作パネル20の表示内容がそれぞれその左方に表示された縫製データを編集可能な縫製データ編集画面(図示略)へと遷移する。つまり、縫製データ比較画面21Bで各Enterキーを操作することにより、比較元又は比較先の縫製データを編集する作業へと移行可能となっている。   Further, when the sewing data is designated and displayed from each pattern selection key on the above-described sewing data comparison screen 21B, as shown in FIGS. 6 (a), 6 (b) and 7, each range designation key A is displayed. Enter keys E1 and E2 are displayed below. When one of the Enter keys E1 and E2 is operated, the display contents of the operation panel 20 shift to a sewing data editing screen (not shown) in which the sewing data displayed on the left side can be edited. That is, by operating each Enter key on the sewing data comparison screen 21B, it is possible to shift to an operation for editing the comparison source or comparison destination sewing data.

(ミシンの動作)
次に、二つの縫製データの各比較処理を行う際のミシン1の処理動作について図11〜13のフローチャートを用いて詳説する。図11は二つの縫製データの各比較処理を行う際のミシン1の操作及び処理内容を示すフローチャート、図12、13は図11における相違点検出処理及び一致率算出処理の処理内容を示すフローチャートである。なお、図12は相違点検出処理及び一致率算出処理の処理内容のうちステップS11〜S23、S36〜S39を、図13はステップS24〜S35を示す。
まず、比較項目選択画面21Aにて比較対象とするパラメータ値の種類の選択(比較項目選択)が行われる(ステップS1)。次に、縫製データ比較画面21Bにて二つのパターンNo選択キーN1、N2からの入力操作によって比較元及び比較先の二つの縫製データが選択される(ステップS2)。さらに、範囲指定キーAによって比較処理をするそれぞれの針落ち範囲位置が指定される(ステップS3)。なお、ステップS3は省略可能であり、その場合はそれぞれの縫製データの最初の針落ち位置から比較処理が行われる。
その後、比較キーBが操作されると(ステップS4:YES)、CPU31は比較元と比較先の縫製データについて相違点検出処理を行う(ステップS5)。なお、ステップS5の処理内容については後述する。一方、詳細キーMが操作されると(ステップS6:YES)、CPU31は比較元と比較先の縫製データについて一致率算出処理を行う(ステップS7)。
(Machine operation)
Next, the processing operation of the sewing machine 1 when performing each comparison process of two sewing data will be described in detail with reference to the flowcharts of FIGS. FIG. 11 is a flowchart showing the operation and processing contents of the sewing machine 1 when performing comparison processing of two sewing data, and FIGS. 12 and 13 are flowcharts showing the processing contents of the difference detection processing and the coincidence rate calculation processing in FIG. is there. FIG. 12 shows steps S11 to S23 and S36 to S39, and FIG. 13 shows steps S24 to S35, among the processing contents of the difference detection process and the coincidence rate calculation process.
First, the type of parameter value to be compared (comparison item selection) is selected on the comparison item selection screen 21A (step S1). Next, two sewing data of a comparison source and a comparison destination are selected by an input operation from the two pattern No. selection keys N1 and N2 on the sewing data comparison screen 21B (step S2). Further, each needle drop range position to be compared is designated by the range designation key A (step S3). Note that step S3 can be omitted, and in this case, the comparison process is performed from the first needle entry position of the respective sewing data.
Thereafter, when the comparison key B is operated (step S4: YES), the CPU 31 performs a difference detection process on the comparison source and comparison destination sewing data (step S5). The processing content of step S5 will be described later. On the other hand, when the detail key M is operated (step S6: YES), the CPU 31 performs a matching rate calculation process for the comparison source and comparison destination sewing data (step S7).

ここで、ステップS4の相違点検出処理及びステップS6の一致率算出処理について、図12、13のフローチャートを用いて詳説する。まず、CPU31は比較元及び比較先の縫製データの相違点フラグを全て初期化(OFF)する(ステップS11)。次に、CPU31は比較総数カウンタm及び一致カウンタnを初期値0で設定し、RAM33に格納する(ステップS12)。比較元及び比較先の縫製データからそれぞれのパラメータ等を取得する(ステップS13)。次に、比較元の縫製データの終端となるパラメータ等の比較が完了してなければ(ステップS14:NO)、CPU31は比較元と比較先のパラメータ等の種類が一致するかどうか判定する。(ステップS15)。   Here, the difference detection process in step S4 and the coincidence rate calculation process in step S6 will be described in detail with reference to the flowcharts of FIGS. First, the CPU 31 initializes (OFF) all the difference flags between the comparison source and comparison destination sewing data (step S11). Next, the CPU 31 sets the comparison total counter m and the coincidence counter n with the initial value 0 and stores them in the RAM 33 (step S12). The respective parameters and the like are acquired from the comparison source and comparison destination sewing data (step S13). Next, if the comparison of the parameters that are the end of the comparison source sewing data has not been completed (step S14: NO), the CPU 31 determines whether or not the types of the comparison source parameters and the comparison destination parameters match. (Step S15).

ステップS15において種類が一致する場合(ステップS15:YES)、CPU31は当該パラメータ等が各座標(X方向座標又はY方向座標)又はステップS1で選択された比較項目であるかどうか判定する(ステップS16)。当該パラメータ等が各座標又は比較項目であった場合(ステップS16:YES)、CPU31は比較総数カウンタmに1加算する(ステップS17)と共に、比較元と比較先のパラメータ等の値を比較し、一致するかどうか判定する(ステップS18)。一致する場合(ステップS18:YES)、CPU31は一致カウンタnに1加算する(ステップS19)。その後、CPU31は比較元及び比較先の双方の縫製データについて比較するパラメータ等をひとつ先へ進める処理を行う(ステップS20)。その後、ステップS13の処理に戻る。なお、ステップS16において当該パラメータ等が各座標及び比較項目のいずれでもなかった場合(ステップS16:NO)、ステップS20の処理へと移行する。また、ステップS18においてパラメータ等の値が一致しなかった場合(ステップS18:NO)、比較元と比較先それぞれの当該針落ち位置の相違点フラグをONにする(ステップS21)。このとき、行っている処理がステップS5の相違点検出処理であった場合には(ステップS22:YES)、CPU31は比較元及び比較先の当該針落ち位置に相違点Iを表示させると共に各パターンNo選択キーN1,N2の右方の表示領域Fに一致しなかった各パラメータ等の値を表示させ(ステップS23)、相違点検出処理を終了する。なお、ステップS22において、行っている処理がステップS5の相違点検出処理でない即ちステップS7の一致率算出処理であった場合(ステップS22:NO)、ステップS20の処理へと移行する。
なお、ステップS22において、行っている処理が相違点検出処理であるかどうかの判定を行っているが、これは図12,13に示すフローチャートに基づく処理内容が、相違点検出処理と一致率算出処理の両方を含んでいるからである。つまり、図11に示すステップS5の相違点検出処理であっても、ステップS7に示す一致率算出処理であっても、その具体的処理内容は図12に示すステップS11から開始される一連の処理である。言い換えれば、ステップS22で初めて相違点検出処理と一致率算出処理との差異が生じる。これは、後述するステップS30、S36についても同様である。
When the types match in step S15 (step S15: YES), the CPU 31 determines whether the parameter or the like is each coordinate (X direction coordinate or Y direction coordinate) or the comparison item selected in step S1 (step S16). ). When the parameter or the like is each coordinate or comparison item (step S16: YES), the CPU 31 adds 1 to the comparison total counter m (step S17) and compares the values of the comparison source parameter and the comparison destination parameter. It is determined whether or not they match (step S18). If they match (step S18: YES), the CPU 31 adds 1 to the match counter n (step S19). Thereafter, the CPU 31 performs a process of advancing the parameters to be compared for the sewing data of both the comparison source and the comparison destination (step S20). Thereafter, the process returns to step S13. In step S16, when the parameter or the like is neither the coordinate nor the comparison item (step S16: NO), the process proceeds to step S20. If the values of the parameters do not match at step S18 (step S18: NO), the difference flag of the needle drop position at each of the comparison source and the comparison destination is turned ON (step S21). At this time, if the process being performed is the difference detection process of step S5 (step S22: YES), the CPU 31 displays the difference I at the needle drop position of the comparison source and the comparison destination and each pattern. The values of the parameters and the like that did not match the display area F on the right side of the No selection keys N1 and N2 are displayed (step S23), and the difference detection process is terminated. In step S22, when the process being performed is not the difference detection process of step S5, that is, the coincidence rate calculation process of step S7 (step S22: NO), the process proceeds to step S20.
In step S22, it is determined whether or not the process being performed is a difference detection process. This is because the processing content based on the flowcharts shown in FIGS. This is because both processes are included. That is, whether the difference detection process in step S5 shown in FIG. 11 or the coincidence rate calculation process shown in step S7, the specific processing content is a series of processes started from step S11 shown in FIG. It is. In other words, the difference between the difference detection process and the coincidence rate calculation process occurs for the first time in step S22. The same applies to steps S30 and S36 described later.

ステップ15において種類が一致しない場合(ステップS15:NO)、CPU31はまず比較元のパラメータ等が各座標(X方向座標又はY方向座標)又はステップS1で選択された比較項目であるかどうか判定する(ステップS24)。ステップS24において各座標及び比較項目のいずれでもなかった場合(ステップS24:NO)、CPU31は比較元のパラメータ等をひとつ先へ進める処理を行い(ステップS25)、ステップS13へと移行する。ステップS24において各座標又は比較項目であった場合(ステップS24:YES)、CPU31は比較先のパラメータ等が各座標(X方向座標又はY方向座標)又はステップS1で選択された比較項目であるかどうか判定する(ステップS26)。ステップS26において各座標及び比較項目のいずれでもなかった場合(ステップS26:NO)、CPU31は比較先のパラメータ等をひとつ先へ進める処理を行い(ステップS27)、ステップS13へと移行する。ステップS26において各座標又は比較項目であった場合(ステップS26:YES)、CPU31は比較総数カウンタmに1加算する(ステップS28)と共に、比較元と比較先それぞれの当該針落ち位置の相違点フラグをONにする(ステップS29)。このとき行っている処理がステップS5の相違点検出処理であった場合には(ステップS30:YES)、CPU31は比較元及び比較先の当該針落ち位置に相違点Iを表示させると共に各パターンNo選択キーN1,N2の右方の表示領域Fに一致しなかった各パラメータ等の値を表示させ(ステップS31)、相違点検出処理を終了する。   When the types do not match in step 15 (step S15: NO), the CPU 31 first determines whether the comparison source parameter or the like is each coordinate (X direction coordinate or Y direction coordinate) or the comparison item selected in step S1. (Step S24). If neither the coordinate nor the comparison item is found in step S24 (step S24: NO), the CPU 31 performs a process of advancing the comparison source parameter and the like (step S25), and proceeds to step S13. If it is each coordinate or comparison item in step S24 (step S24: YES), the CPU 31 determines whether the comparison destination parameter or the like is each coordinate (X-direction coordinate or Y-direction coordinate) or the comparison item selected in step S1. It is determined whether or not (step S26). If neither the coordinate nor the comparison item is found in step S26 (step S26: NO), the CPU 31 performs a process of advancing the comparison destination parameter and the like (step S27), and proceeds to step S13. If it is each coordinate or comparison item in step S26 (step S26: YES), the CPU 31 adds 1 to the comparison total counter m (step S28), and also the difference flag of the needle drop position of each of the comparison source and the comparison destination Is turned ON (step S29). If the process performed at this time is the difference detection process of step S5 (step S30: YES), the CPU 31 displays the difference I at the needle drop position of the comparison source and the comparison destination and each pattern No. The values of the parameters and the like that did not coincide with the display area F on the right side of the selection keys N1 and N2 are displayed (step S31), and the difference detection process is terminated.

なお、ステップS30において、行っている処理がステップS5の相違点検出処理でない即ちステップS7の一致率算出処理であった場合には(ステップS30:NO)、CPU31は、CPU31は比較元のパラメータ等がX方向座標であるかどうか判定する(ステップS32)。比較元のパラメータ等がX方向座標でなかった場合(ステップS32:NO)、CPU31は比較元のパラメータ等をひとつ先へ進める処理を行い(ステップS33)、その後比較先のパラメータ等がX方向座標であるかどうか判定する(ステップS34)。比較先のパラメータ等がX方向座標でなかった場合(ステップS34:NO)、CPU31は比較先のパラメータ等をひとつ先へ進める処理を行い(ステップS35)、ステップS12の処理へと移行する。なお、ステップS32において比較元のパラメータ等がX方向座標であった場合(ステップS32:YES)、ステップS34へと移行する。また、ステップS34において比較先のパラメータ等がX方向座標であった場合(ステップS35:YES)、ステップS13へと移行する。   In step S30, if the process being performed is not the difference detection process in step S5, that is, the coincidence rate calculation process in step S7 (step S30: NO), the CPU 31 determines whether the CPU 31 is a comparison source parameter, etc. Is determined to be an X-direction coordinate (step S32). If the comparison source parameter or the like is not the X-direction coordinate (step S32: NO), the CPU 31 performs a process of moving the comparison source parameter or the like forward (step S33), and then the comparison destination parameter or the like is the X-direction coordinate. Is determined (step S34). When the comparison destination parameter or the like is not an X-direction coordinate (step S34: NO), the CPU 31 performs a process of moving the comparison destination parameter or the like forward (step S35), and proceeds to the process of step S12. If the comparison source parameter or the like is an X-direction coordinate in step S32 (step S32: YES), the process proceeds to step S34. If the comparison destination parameter or the like is the X-direction coordinate in step S34 (step S35: YES), the process proceeds to step S13.

また、ステップS13において、比較元の縫製データの終端となるパラメータ等の比較が完了し、これ以上比較するパラメータ等がない場合(ステップS14:YES)、CPU31はこのとき行っている処理がステップS5の相違点検出処理であるかどうか判定する(ステップS36)。相違点検出処理である場合(ステップS36:YES)、CPU31は一致画面21Cを操作パネル20に表示させ、(ステップS37)処理を終了する。一方、相違点検出処理でない即ちステップS7の一致率算出処理である場合(ステップS36:NO)、CPU31は比較総数カウンタmを分母、一致カウンタnを分子とする一致率の算出を行い(ステップS38)、その後ステップS38で算出された一致率を一致率表示画面21Dにて操作パネル20に表示させる(ステップS39)。以上で処理は終了する。   In step S13, when the comparison of the parameters that are the end of the comparison source sewing data is completed and there are no more parameters or the like to be compared (step S14: YES), the CPU 31 performs the processing performed at this time in step S5. It is determined whether or not the difference detection process is performed (step S36). When it is a difference detection process (step S36: YES), the CPU 31 displays the coincidence screen 21C on the operation panel 20 (step S37) and ends the process. On the other hand, if it is not the difference detection process, that is, the coincidence rate calculation process of step S7 (step S36: NO), the CPU 31 calculates the coincidence rate using the comparison total counter m as the denominator and the coincidence counter n as the numerator (step S38). Then, the coincidence rate calculated in step S38 is displayed on the operation panel 20 on the coincidence rate display screen 21D (step S39). The process ends here.

(本発明によるミシンの縫製データ作成装置の作用効果)
上述の実施例によれば、操作パネル20に表示された縫製データ比較画面21Bに表示された二つの縫製データの針落ち位置の座標(X方向座標、Y方向座標)及び各パラメータ値が一致するかどうかを判定する比較処理を、比較キーBを操作することでCPU31に実行処理させるができ、その判定結果を操作パネル20に表示される縫製データ比較画面21B、一致画面21C等によって表示することが可能となる。これによって、オペレータは操作パネル20の表示内容を確認するだけで二つの縫製データが一致するかどうかを判別可能となる。従って、例えば被縫製物に形成される縫目がほとんど同じであり、一部の針落ち位置の座標又はパラメータ値が異なるのみである類似の縫製データが複数記憶されている場合であっても、一部の針落ち位置の座標又はパラメータ値が異なることによりCPU31によって一致しないと判定され、操作パネル20にその結果が表示されるので、オペレータは当該複数の縫製データの区別を行うことが可能となる。
また、縫製データ編集画面(図示略)によって任意の針落ち位置について縫製に関する各パラメータ値を縫製データの針落ち位置ごとに設定可能であり、当該パラメータの一致についてもCPU31によって判定可能であるので、例えばあるパラメータ値の有無によって二つの縫製データが一致しない場合に、一方に有って他方に無いパラメータ値を他方に設定することで当該パラメータ値による不一致を解消したりするといった操作が可能となる。よって、縫製データの比較処理における自由度が大幅に向上する。
さらに、縫製データ比較画面21Bに表示された各縫製データについて、範囲指定キーAによって比較範囲となる針落ち範囲をそれぞれ個別に指定可能なので、一致判定を行う必要がある範囲のみを指定してCPU31による比較処理を行うことが可能となる。よって、比較処理の対象とする必要が無いパラメータ値での不一致によって望まない判定結果となることを抑止できる等、比較処理における条件設定の融通の幅を大幅に向上させられる。加えて、必要な範囲のみを判定の対象とすることにより比較処理の時間の短縮と処理負荷の低下を図ることが可能となり、比較処理における作業効率が大幅に向上する。
(Operation and effect of the sewing data creation device of the sewing machine according to the present invention)
According to the above-described embodiment, the coordinates (X-direction coordinates, Y-direction coordinates) of the needle drop positions and the parameter values of the two sewing data displayed on the sewing data comparison screen 21B displayed on the operation panel 20 match. The comparison processing for determining whether or not can be executed by the CPU 31 by operating the comparison key B, and the determination result is displayed on the sewing data comparison screen 21B, the matching screen 21C, etc. displayed on the operation panel 20. Is possible. As a result, the operator can determine whether or not the two sewing data match only by confirming the display content of the operation panel 20. Therefore, for example, even when a plurality of pieces of similar sewing data in which the stitches formed on the sewing object are almost the same and only the coordinates or parameter values of some needle drop positions are different are stored, Since the CPU 31 determines that the coordinates or parameter values of some needle entry positions are different and the result is displayed on the operation panel 20, the operator can distinguish the plurality of sewing data. Become.
Further, since each parameter value relating to sewing can be set for each needle entry position of the sewing data at an arbitrary needle entry position on the sewing data editing screen (not shown), the CPU 31 can also determine whether the parameters match. For example, when two pieces of sewing data do not match due to the presence or absence of a certain parameter value, it is possible to perform an operation such as eliminating a mismatch due to the parameter value by setting a parameter value that is present in one and not in the other. . Therefore, the degree of freedom in the sewing data comparison process is greatly improved.
Further, for each piece of sewing data displayed on the sewing data comparison screen 21B, the needle entry range that becomes the comparison range can be individually specified by the range specifying key A. Therefore, only the range where matching determination needs to be performed is specified and the CPU 31 is set. It becomes possible to perform the comparison process by. Therefore, it is possible to significantly reduce the flexibility of condition setting in the comparison process, such as suppressing an undesired determination result due to a mismatch in parameter values that do not need to be compared. In addition, it is possible to reduce the time for the comparison process and reduce the processing load by making only the necessary range to be determined, and the work efficiency in the comparison process is greatly improved.

さらに、相違点検出処理によって二つの縫製データの相違点を縫製データ比較画面21Bの相違点I及び表示領域Fや一致画面21Cに表示することが可能である。これによって、二つの縫製データが一致しないと判定された場合に、一致しない原因となる二つの縫製データの相違点を確認することができる。従って、例えば被縫製物に形成される縫目がほとんど同じであり、一部の針落ち位置の座標又はパラメータ値が異なるのみである類似の縫製データが複数記憶されている場合であっても、当該類似する複数のデータのうち二つについてその差異となる相違点を容易に把握できる。つまり、当該相違点から所望の縫製データに該当する針落ち位置の座標やパラメータ値を含む縫製データを厳選してゆく(あるいは所望の縫製データに該当しないものを除外する)ことが可能となり、オペレータは容易に所望の縫製データを探し出すことが可能となる。よって、所望の縫製データを見つけるために類似の縫製データを含む複数の縫製データについて一つ一つ表示してその針落ち位置やパラメータ等を一つ一つ確認する必要が生じ、非常に煩雑であると共に多大な時間を要するといった従来の問題点を解消でき、縫製データの取り扱いの利便性が大幅に向上する。   Further, the difference between the two pieces of sewing data can be displayed on the difference I and the display area F or the matching screen 21C of the sewing data comparison screen 21B by the difference detection processing. Thereby, when it is determined that the two pieces of sewing data do not match, the difference between the two pieces of sewing data causing the mismatch can be confirmed. Therefore, for example, even when a plurality of pieces of similar sewing data in which the stitches formed on the sewing object are almost the same and only the coordinates or parameter values of some needle drop positions are different are stored, The difference which becomes the difference about two among the said some similar data can be grasped | ascertained easily. That is, it becomes possible to carefully select sewing data including the coordinates of the needle entry position and parameter values corresponding to the desired sewing data from the difference (or exclude those that do not correspond to the desired sewing data). Can easily find desired sewing data. Therefore, in order to find desired sewing data, it is necessary to display a plurality of pieces of sewing data including similar sewing data one by one and check the needle entry position and parameters one by one, which is very complicated. In addition, it is possible to solve the conventional problems of requiring a lot of time and greatly improving the convenience of handling sewing data.

さらに、縫製データ比較画面21Bの縫製データ反転指定キーRによって二つの縫製データのうち一方(比較元)の針落ち位置のX座標を反転させることが可能となり、また、CPU31は針落ち位置を反転させた比較元の縫製データと、比較先の縫製データと、の一致を判定する。よって、例えば二つの縫製データの一方が他方の縫製データの針落ち位置のY座標を反転させた縫製データであった場合、そのままで判定手段が一致判定を行なった場合は不一致となるが、縫製データ反転指定キーRによって比較元の縫製データの針落ち位置のY座標を反転させた場合、反転させた一方の縫製データと他方の縫製データとは一致することとなる。これによって、例えばシャツの左右の袖にそれぞれ縫目を施すための対となる縫製データや、靴の左右それぞれに縫いを施すための対となる縫製データ等の組み合わせを正しく確認する等の作業が非常に容易となり、縫製データの一致判定における応用度が大幅に向上する。   Furthermore, the X coordinate of the needle drop position of one of the two sewing data (comparison source) can be reversed by the sewing data reversal designation key R on the sewing data comparison screen 21B, and the CPU 31 reverses the needle drop position. It is determined whether the comparison-source sewing data and the comparison-destination sewing data match. Therefore, for example, if one of the two sewing data is the sewing data obtained by inverting the Y coordinate of the needle drop position of the other sewing data, if the determination means makes a match determination as it is, there will be a mismatch. When the Y coordinate of the needle drop position of the sewing data to be compared is reversed by the data reversal designation key R, the reversed one sewing data and the other sewing data coincide with each other. As a result, for example, it is possible to correctly confirm the combination of the sewing data to be paired for stitching the left and right sleeves of the shirt and the pair of sewing data to be stitched to the left and right of the shoe. It becomes very easy and the applicability in the determination of matching of sewing data is greatly improved.

さらに、一致率算出処理によって二つの前記縫製データのうち一方(比較元)の縫製データの開始点S以降の全ての針落ち位置であって、比較処理の対象となる全ての針落ち位置の座標及びパラメータ値が比較先の縫製データの針落ち位置及びパラメータ値と一致するかどうかをそれぞれ判定し、その一致した割合を算出することができる。また、当該算出結果を操作パネル20の一致率表示画面21Dによって表示することができる。これによって、二つの縫製データのうち比較元の縫製データの開始点S以降の針落ち位置について、比較先の縫製データが比較元の縫製データにどれだけ一致しているかを数値的に把握することが可能となる。従って、複数の縫製データを連続して比較する場合等に、ある縫製データを基準として当該基準となる縫製データに対する一致率をそれぞれ算出して確認することにより、当該基準となる縫製データに最も近似した縫製データを探し出すといったような作業を行うことが可能となる。例えば、所望の縫製データではないが、所望の縫製データに類似した縫製データが判明している場合に、一致率算出処理を行って当該類似した縫製データと一致率が高い縫製データを選別し、選別された縫製データから所望の縫製データを探し当てるといった作業を行える。従って、縫製データの一致判定における応用度が大幅に向上する。   Further, the coordinates of all the needle drop positions after the start point S of one (comparison source) sewing data of the two sewing data by the coincidence rate calculation process, and all the needle drop positions to be subjected to the comparison process It is possible to determine whether or not the parameter value matches the needle entry position and parameter value of the sewing data to be compared, and calculate the matching ratio. Further, the calculation result can be displayed on the matching rate display screen 21D of the operation panel 20. As a result, it is possible to numerically grasp how much the sewing data of the comparison destination matches the sewing data of the comparison source at the needle drop position after the start point S of the sewing data of the comparison source of the two sewing data. Is possible. Therefore, when comparing a plurality of sewing data continuously, etc., by calculating and confirming the matching rate with respect to the reference sewing data based on a certain piece of sewing data, the closest approximation to the reference sewing data is obtained. It is possible to perform operations such as searching for the sewing data that has been performed. For example, when the sewing data similar to the desired sewing data is known but not the desired sewing data, the matching rate calculation process is performed to select the sewing data having a high matching rate with the similar sewing data. An operation of finding desired sewing data from the selected sewing data can be performed. Therefore, the degree of application in the matching determination of the sewing data is greatly improved.

さらに、比較項目選択画面21Aによって各針落ち位置に付与可能なパラメータ値から任意の種類のものを比較項目として選択可能であり、CPU31は二つの縫製データの針落ち位置の座標と、比較項目選択画面21Aで選択された種類のパラメータ値とについて一致するかどうか判定する。従って、比較項目選択画面21Aから比較処理の対象としたいパラメータ値のみを選択することによって、比較処理する必要のないパラメータの比較処理を省くことができるので、比較処理の時間の短縮と処理負荷の低下を図ることが可能となり、一致判定における作業効率がより一層向上する。また、比較処理の対象とする必要のないパラメータ値を除外できるので、比較処理の対象とする必要のないパラメータ値の相違によって一致しないと判定される場合に不要に不一致となる結果が生ずることを抑止することが可能となる。よって、縫製データの一致判定における自由度がより一層向上する。   Further, any kind of parameter values that can be assigned to each needle entry position can be selected as a comparison item on the comparison item selection screen 21A, and the CPU 31 selects the coordinates of the needle entry position of the two sewing data and the comparison item selection. It is determined whether the parameter values of the type selected on the screen 21A match. Accordingly, by selecting only the parameter values that are desired to be compared from the comparison item selection screen 21A, it is possible to omit the parameter comparison process that does not need to be compared, thereby shortening the comparison process time and processing load. A reduction can be achieved, and the work efficiency in the coincidence determination is further improved. In addition, since parameter values that do not need to be compared can be excluded, it is possible that an unmatched result will occur when it is determined that they do not match due to differences in parameter values that do not need to be compared. It becomes possible to deter. Therefore, the degree of freedom in determining whether the sewing data matches is further improved.

(その他)
なお、縫製データのパラメータ等の種類及び比較項目選択画面に表示される項目、キーといった各構成はあくまで一例であり、上述の実施の形態に限定されないことは言うまでもない。また、ミシン1の各部の構成についても、本発明の特徴を逸脱しない範囲で変更可能なことは言うまでもない。
また、上述の実施の形態では、相違点検出処理において比較総数カウンタm及び一致カウンタnをカウントしているが、相違点検出処理においてはこれらのカウント処理を省略してもよい。また、一致率算出処理において相違点フラグのON/OFFを行っているが、一致率算出処理においては相違点フラグのON/OFFを省略してもよい。
また、上述の実施の形態における範囲指定キーAは各比較処理の範囲の指定を行うものであるが、例えば各比較処理の開始位置と終了位置の両方を指定可能にしてもよい。
(Other)
It should be noted that the types of sewing data parameters and the like, items displayed on the comparison item selection screen, keys, and the like are merely examples, and needless to say, are not limited to the above-described embodiment. Needless to say, the configuration of each part of the sewing machine 1 can be changed without departing from the characteristics of the present invention.
In the above-described embodiment, the comparison total number counter m and the coincidence counter n are counted in the difference detection process. However, these count processes may be omitted in the difference detection process. Further, although the difference flag is turned ON / OFF in the match rate calculation process, the ON / OFF of the difference flag may be omitted in the match rate calculation process.
The range designation key A in the above-described embodiment is used to designate the range of each comparison process. For example, both the start position and end position of each comparison process may be designated.

本発明の一実施形態であるミシンの縫製データ作成装置を備えたミシンの全体構成を示す斜視図である。1 is a perspective view showing an overall configuration of a sewing machine provided with a sewing data creation device for a sewing machine according to an embodiment of the present invention. ミシンの主要構成を示すブロック図である。It is a block diagram which shows the main structures of a sewing machine. 縫製データの構成を示す説明図である。It is explanatory drawing which shows the structure of sewing data. 押さえ機構を示す説明図である。It is explanatory drawing which shows a pressing mechanism. 比較項目選択画面の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of a comparison item selection screen. 縫製データ比較画面の表示例を示す説明図である。なお、図6(a)はひとつの縫製データが表示された状態、図6(b)は二つの縫製データが表示された状態の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of a sewing data comparison screen. 6A is an explanatory diagram showing a display example in which one piece of sewing data is displayed, and FIG. 6B is an explanatory diagram showing a display example in which two pieces of sewing data are displayed. 相違点が表示された状態の縫製データ比較画面の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of the sewing data comparison screen in the state where the difference was displayed. 針落ち位置に付加された各パラメータ値の比較において生じうるパターンを示す説明図である。なお、図8(a)は比較元と比較先とに設定されたパラメータ値の種類が異なり、それぞれのパラメータ値が共に比較項目であった場合、図8(b)は比較元と比較先とに設定されたパラメータ値の種類が同一であり、当該パラメータ値が比較項目であった場合、図8(c)は比較元と比較先とに設定されたパラメータ値の種類が異なり、一方のパラメータ値が比較項目であり、他方のパラメータ値が比較項目でなかった場合、図8(d)は一方のパラメータ値が比較項目であり、他方のパラメータ値が次の針落ち位置のX方向座標である場合を示す。It is explanatory drawing which shows the pattern which may arise in the comparison of each parameter value added to the needle drop position. 8A is different in the type of parameter values set in the comparison source and the comparison destination, and when both parameter values are comparison items, FIG. 8B shows the comparison source and the comparison destination. 8 is the same as the parameter value, and the parameter value is a comparison item. In FIG. 8C, the parameter values set in the comparison source and the comparison destination are different. When the value is the comparison item and the other parameter value is not the comparison item, FIG. 8D shows that one parameter value is the comparison item and the other parameter value is the X-direction coordinate of the next needle entry position. Indicates a case. 一致画面の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of a coincidence screen. 一致率表示画面の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of a coincidence rate display screen. 二つの縫製データの各比較処理を行う際のミシンの操作及び処理内容を示すフローチャートである。It is a flowchart which shows operation of a sewing machine at the time of performing each comparison process of two sewing data, and a processing content. 図11における相違点検出処理及び一致率算出処理の処理内容のうちステップS11〜S23、S36〜S39を示すフローチャートである。It is a flowchart which shows step S11-S23, S36-S39 among the processing content of the difference detection process in FIG. 11, and a coincidence rate calculation process. 図11における相違点検出処理及び一致率算出処理の処理内容のうちステップS24〜S35を示すフローチャートである。It is a flowchart which shows step S24-S35 among the processing content of the difference detection process in FIG.

符号の説明Explanation of symbols

5 針棒
10 布移動機構
20 操作パネル
21 表示装置
21A 比較項目選択画面
21B 縫製データ比較画面
21C 一致画面
21D 一致率表示画面
22 操作部
30 制御装置
31 CPU
34 EEPROM
A 範囲指定キー
H 比較項目選択キー
5 Needle bar 10 Cloth moving mechanism 20 Operation panel 21 Display device 21A Comparison item selection screen 21B Sewing data comparison screen 21C Match screen 21D Match rate display screen 22 Operation unit 30 Control device 31 CPU
34 EEPROM
A Range specification key H Comparison item selection key

Claims (5)

縫い針を支持して上下動する針棒と、被縫製物を任意の方向に移動させる布移動機構とを備えると共に、縫製データの針落ち位置に基づいて前記針棒及び前記布移動機構を動作させることで被縫製物に縫目を施すミシンのための縫製データを作成可能なミシンの縫製データ作成装置において、
任意の針落ち位置について縫製に関するパラメータを少なくとも一つ以上前記縫製データの針落ち位置ごとに設定可能な設定手段と、
二つの前記縫製データの情報を同時に表示可能な第1の表示手段と、
前記第1の表示手段に表示された各縫製データについて、任意の針落ち位置範囲をそれぞれ個別に指定可能な針落ち位置範囲指定手段と、
前記針落ち位置範囲指定手段によって指定された針落ち位置範囲について、前記第1の表示手段に表示された二つの前記縫製データの針落ち位置及び前記パラメータが一致するかどうかを判定可能な判定手段と、
前記判定手段による判定結果を表示可能な第2の表示手段と、を備えることを特徴とするミシンの縫製データ作成装置。
A needle bar that moves up and down while supporting the sewing needle and a cloth movement mechanism that moves the workpiece in an arbitrary direction, and operates the needle bar and the cloth movement mechanism based on the needle drop position of the sewing data. In the sewing data creation device for a sewing machine that can create sewing data for a sewing machine that stitches a workpiece to be sewn,
Setting means capable of setting at least one or more parameters relating to sewing for any needle drop position for each needle drop position of the sewing data;
First display means capable of simultaneously displaying information of two pieces of sewing data;
For each sewing data displayed on the first display means, needle drop position range specifying means capable of individually specifying an arbitrary needle drop position range; and
Determination means capable of determining whether or not the needle drop position and the parameter of the two sewing data displayed on the first display means match with respect to the needle drop position range designated by the needle drop position range designation means. When,
Sewing data creation apparatus for a sewing machine, comprising: a second display unit capable of displaying a determination result by the determination unit.
前記判定手段によって前記第1の表示手段に表示された二つの前記縫製データが一致しないと判定された場合に、当該二つの縫製データの相違点を表示可能な第3の表示手段と、を備えることを特徴とする請求項1に記載のミシンの縫製データ作成装置。   And a third display unit capable of displaying a difference between the two sewing data when the determination unit determines that the two sewing data displayed on the first display unit do not match. The sewing data creation device for a sewing machine according to claim 1, wherein: 前記第1の表示手段に表示された二つの前記縫製データのうちいずれか一方について、当該縫製データによって形成される縫い目に対して所定の方向の線を基準として線対称となる縫い目が形成されるよう針落ち位置を置き換える反転手段を備え、
前記判定手段は前記反転手段によって針落ち位置を置き換えられた一方の縫製データと他方の縫製データとが一致するかどうかを判定することを特徴とする請求項1又は2に記載のミシンの縫製データ作成装置。
For any one of the two pieces of sewing data displayed on the first display means, a stitch that is symmetrical with respect to a stitch formed by the sewing data with respect to a line in a predetermined direction is formed. Reversing means to replace the needle drop position,
3. The sewing data of the sewing machine according to claim 1, wherein the determination means determines whether one sewing data whose needle drop position has been replaced by the reversing means and the other sewing data coincide with each other. Creation device.
前記第1の表示手段に表示された二つの前記縫製データのうち一方の縫製データの指定された針落ち位置範囲に含まれる全ての針落ち位置及びパラメータについて他方の縫製データの針落ち位置及びパラメータと一致するかどうかをそれぞれ判定し、一致した割合を算出可能な算出手段と、
前記算出手段の算出結果を表示可能な第4の表示手段を備えることを特徴とする請求項1から3のいずれか一項に記載のミシンの縫製データ作成装置。
Of all the two sewing data displayed on the first display means, all the needle drop positions and parameters included in the designated needle drop position range of the sewing data are the needle drop positions and parameters of the other sewing data. And a calculation means capable of calculating whether or not the percentage matches,
The sewing data creation apparatus for a sewing machine according to any one of claims 1 to 3, further comprising fourth display means capable of displaying a calculation result of the calculation means.
前記縫製に関するパラメータから任意の種類のものを選択可能なパラメータ選択手段を備え、
前記判定手段は二つの前記縫製データの針落ち位置及び前記パラメータ選択手段によって選択された種類のパラメータについて一致するかどうか判定することを特徴とする請求項1から4のいずれか一項に記載のミシンの縫製データ作成装置。
Comprising a parameter selection means capable of selecting any kind of sewing parameters;
5. The determination unit according to claim 1, wherein the determination unit determines whether or not the needle entry positions of the two pieces of sewing data coincide with a parameter of a type selected by the parameter selection unit. Sewing data creation device for sewing machines.
JP2008087851A 2008-03-28 2008-03-28 Sewing data preparation device of sewing machine Pending JP2009240390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008087851A JP2009240390A (en) 2008-03-28 2008-03-28 Sewing data preparation device of sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008087851A JP2009240390A (en) 2008-03-28 2008-03-28 Sewing data preparation device of sewing machine

Publications (1)

Publication Number Publication Date
JP2009240390A true JP2009240390A (en) 2009-10-22

Family

ID=41303051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008087851A Pending JP2009240390A (en) 2008-03-28 2008-03-28 Sewing data preparation device of sewing machine

Country Status (1)

Country Link
JP (1) JP2009240390A (en)

Similar Documents

Publication Publication Date Title
US20120222602A1 (en) Sewing machine, stitch data generating device and stitch data generating program
JP6679160B2 (en) Embroidery sewing machine
JP4364115B2 (en) sewing machine
JP4744072B2 (en) sewing machine
KR100643416B1 (en) Control device of buttonhole sewing machine
JP5808886B2 (en) sewing machine
CN102443972A (en) Automatic sewing machine
JP2009240390A (en) Sewing data preparation device of sewing machine
JP4799844B2 (en) Hole sewing machine
JP2016193019A (en) sewing machine
JP4220882B2 (en) Automatic sewing machine
JP2006288939A (en) Differential feed sewing machine
JP5227812B2 (en) Sewing data creation device for sewing machine
JP2017064205A (en) Sewing machine and method for controlling sewing machine
JP3731155B2 (en) Sewing machine with lower thread required amount calculation function
JP5438482B2 (en) Sewing machine, sewing data editing device for sewing machine and sewing data editing program for sewing machine
JP2010131056A (en) Button sewing machine and button sewing method
JP5457065B2 (en) sewing machine
JP2009240384A (en) Sewing machine
JP2002263387A (en) Shirring-sewing machine
JP3770606B2 (en) Sewing machine with lower thread required amount calculation function
JP2001190876A (en) Zigzag sewing machine
KR20040094371A (en) Electric zigzag sewing machine
JP2024072304A (en) Sewing machine, device for setting sewing parameters for sewing machine, method for setting sewing parameters for sewing machine, and program
JP4623808B2 (en) Sewing machine with buttons