JP2019058301A - Sewing order setting device and sewing device - Google Patents

Sewing order setting device and sewing device Download PDF

Info

Publication number
JP2019058301A
JP2019058301A JP2017184417A JP2017184417A JP2019058301A JP 2019058301 A JP2019058301 A JP 2019058301A JP 2017184417 A JP2017184417 A JP 2017184417A JP 2017184417 A JP2017184417 A JP 2017184417A JP 2019058301 A JP2019058301 A JP 2019058301A
Authority
JP
Japan
Prior art keywords
sewing
line
order
sewing line
angle
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
JP2017184417A
Other languages
Japanese (ja)
Inventor
アンドリ ウィジャヤ マイケル
Andri Wijaya Michael
アンドリ ウィジャヤ マイケル
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017184417A priority Critical patent/JP2019058301A/en
Publication of JP2019058301A publication Critical patent/JP2019058301A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a sewing order setting device and a sewing device which can meet the diverse needs of users.SOLUTION: A sewing order setting device comprises a first display unit displaying a plurality of conditions for setting a sewing order of a plurality of sewing lines, an operation unit accepting an instruction from a user, a setting unit setting a candidate of the sewing order of the plurality of sewing lines, a change unit changing a sewing order of sewing data to the candidate of the sewing order set by the setting unit according to a condition if the user selects the condition through the operation unit, and a control unit controlling the first display unit to display the plurality of conditions if the user selects a condition through the operation unit at the change unit.SELECTED DRAWING: Figure 7

Description

本発明は、縫い順設定装置及び縫製装置に関する。   The present invention relates to a sewing order setting device and a sewing device.

従来の縫い順設定装置は、一つのアルゴリズムに従い、縫製データに含まれる複数の縫い線の最適な縫い順を設定する。例えば、糸交換の回数を最小にする縫い順を設定するアルゴリズムがある(例えば、特許文献1を参照)。該アルゴリズムでは、縫い順の候補に従って縫製した場合の糸交換回数を縫い順の候補ごとに算出する。縫い順設定装置は、糸交換回数の最も少ない縫い順候補を最適候補と決定する。   The conventional sewing order setting device sets an optimum sewing order of a plurality of sewing lines included in the sewing data according to one algorithm. For example, there is an algorithm for setting a sewing order that minimizes the number of thread changes (see, for example, Patent Document 1). In this algorithm, the number of times of thread replacement when sewing is performed in accordance with the sewing order candidates is calculated for each sewing order candidate. The sewing order setting device determines the sewing order candidate having the smallest thread replacement count as the optimum candidate.

特開2007−260039号公報JP 2007-260039 A

従来の縫い順設定装置は、一つの条件に従い、縫い順候補の中から最適な縫い順を設定する。例えば、一つの条件下では最適な縫い順であると判断した縫い順が、別の条件では他の縫い順よりも最適でない場合がある。該場合、操作者が縫い順を設定する時に上記別の条件を重視した場合に、従来の縫い順設定装置では対応できない。故に、従来の縫い順設定装置は操作者の多様なニーズに対応できない。   The conventional sewing order setting device sets an optimum sewing order from among the sewing order candidates according to one condition. For example, the stitching order determined to be the optimal stitching order under one condition may not be optimal over the other stitching order under another condition. In this case, the conventional sewing order setting device can not cope with the case where the operator places importance on the other conditions when setting the sewing order. Therefore, the conventional sewing order setting device can not meet various needs of the operator.

本発明の目的は、操作者の多様なニーズに対応できる縫い順設定装置及び縫製装置を提供することである。   An object of the present invention is to provide a sewing order setting device and a sewing device that can meet various needs of the operator.

本発明の第一形態の縫い順設定装置は、縫製装置により縫製するための縫製データに含まれる複数の縫い線の縫い順を設定する縫い順設定装置において、複数の縫い線の縫い順を設定する為の複数の条件を表示する第一表示部と、操作者の指示を受付ける操作部と、条件に応じて、複数の縫い線の縫い順の候補を設定する設定部と、操作者が操作部を介して条件を選択した場合、条件に応じて設定部が設定した縫い順の候補に縫製データの縫い順を変更する変更部と、変更部で操作者が操作部を介して条件を選択する場合、第一表示部を制御して複数の条件を表示する制御部とを備えることを特徴とする。   A sewing order setting device according to a first aspect of the present invention sets a sewing order of a plurality of sewing lines in a sewing order setting device that sets a sewing order of a plurality of sewing lines included in sewing data for sewing by a sewing device. A first display unit for displaying a plurality of conditions for performing the operation, an operation unit for receiving an instruction from the operator, a setting unit for setting candidates for the sewing order of a plurality of sewing lines according to the conditions, and an operation by the operator When the condition is selected via the unit, the change unit changes the sewing order of the sewing data to the candidate of the sewing order set by the setting unit according to the condition, and the operator selects the condition via the operation unit in the change unit In the case of performing the control, the control unit is configured to control the first display unit to display a plurality of conditions.

縫い順設定装置は、複数の縫い線の縫い順を設定する為の複数の条件に応じて縫い順の候補を設定できる。故に、操作者は、複数の条件に応じて多様なニーズの中から操作者のニーズに合った縫い順を選択できる。   The sewing order setting device can set sewing order candidates in accordance with a plurality of conditions for setting the sewing order of a plurality of sewing lines. Therefore, the operator can select a sewing order that matches the operator's needs from among various needs according to a plurality of conditions.

第一形態において、複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更しない状態で、夫々の縫い線の終点と他の縫い線の始点への距離の合計を含み、縫い線の始点と終点は、縫製データが指定しており、設定部は、最初の縫い線の終点から最初の縫い線を除く複数の縫い線の始点迄の距離を夫々算出し、算出した距離が最小の縫い線の始点を有する縫い線を二番目の縫い線として設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点迄の距離を夫々算出し、算出した距離が最小の縫い線の始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、縫い順の候補を設定しても良い。   In the first embodiment, the plurality of conditions include the sum of the end point of each sewing line and the distance to the start point of another sewing line without changing the sewing order of the first sewing line specified by the sewing data, The sewing data specify the start and end points of the line, and the setting unit calculates the distances of the start points of the plurality of sewing lines excluding the first sewing line from the end of the first sewing line, and the calculated distance is Set the sewing line having the smallest sewing line start point as the second sewing line, and from the set second sewing line end point to the starting point of multiple sewing lines except the first sewing line and the second sewing line The process of calculating the distance and setting the sewing line having the starting point of the sewing line with the smallest calculated distance as the third sewing line is repeated until the last sewing order is specified, and the candidate of the sewing order is set It is good.

縫い順設定装置は、最初の縫い線を変更しない状態で、移動距離が最短となる縫い順を設定する。故に、縫製装置は、縫製処理に掛かる時間が短縮できるので、稼働効率が向上する。   The sewing order setting device sets a sewing order in which the moving distance is shortest without changing the first sewing line. Therefore, since the sewing apparatus can shorten the time taken for the sewing process, the operating efficiency is improved.

複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更可能な状態で、夫々の縫い線の終点と他の縫い線の始点への距離の合計を含み、縫い線の始点と終点は、縫製データが指定しており、設定部は、複数の縫い線の中から最初の縫い線を夫々設定し、設定した最初の縫い線の終点から設定した最初の縫い線を除く複数の縫い線の始点迄の距離を夫々算出し、算出した距離が最小の縫い線の始点を有する縫い線を二番目の縫い線として夫々設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点迄の距離を夫々算出し、算出した距離が最小の縫い線の始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を最初の縫い線にした時の縫い順の中から、距離の合計が最小の縫い順を縫い順の候補として設定しても良い。   The plurality of conditions include the sum of the end points of the respective sewing lines and the distances to the start points of the other sewing lines, with the sewing order of the first sewing line specified by the sewing data being changeable, The end point is specified by the sewing data, and the setting unit sets the first sewing line among the plurality of sewing lines, and removes the plurality of set sewing lines from the end of the set first sewing line. The distance of the start point of the sewing line is respectively calculated, and the sewing line having the starting point of the sewing line with the smallest calculated distance is set as the second sewing line, and the first sewing from the end point of the set second sewing line A process of calculating the distance of the start point of a plurality of sewing lines excluding the line and the second sewing line, respectively, and setting the sewing line having the starting point of the sewing line having the smallest calculated distance as the third sewing line, Repeat each stitch line until the last stitch order is specified. From among the sewing order of when, total distance of may be set as a candidate of the order of sewing the smallest of the sewing order.

縫い順設定装置は、縫い順が最初の縫い線を変更可能な状態で、移動距離が最短となる縫い順を設定する。移動距離は、縫い順が最初の縫い線を変更しない状態よりも短くなる場合があり、縫製装置の縫製処理に掛かる時間が更に短縮できる。故に、縫製装置の稼働効率が更に向上する。   The sewing order setting device sets a sewing order in which the movement distance is shortest, in a state where the sewing order can change the first sewing line. The movement distance may be shorter than the state in which the sewing order does not change the first sewing line, and the time required for the sewing process of the sewing device can be further shortened. Therefore, the operation efficiency of the sewing device is further improved.

第一形態において、複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更しない状態で、夫々の縫い線の終点から他の縫い線の始点へ縫製装置の送り機構を移動する時の、送り機構の移動方向の変化量である角度の合計を含み、縫い線の始点と終点は、縫製データが指定しており、設定部は、最初の縫い線の終点から最初の縫い線を除く複数の縫い線の始点へ移動する時の角度を夫々算出し、算出した角度が最小の縫い線の始点を有する縫い線を二番目の縫い線として設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点へ移動する時の角度を夫々算出し、算出した角度が最小の縫い線の始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、縫い順の候補を設定しても良い。   In the first embodiment, the plurality of conditions move the feed mechanism of the sewing machine from the end point of each sewing line to the start point of another sewing line without changing the sewing order of the first sewing line specified by the sewing data The sewing data specifies the start and end points of the sewing line including the sum of angles which is the amount of change in the moving direction of the feed mechanism at the time, and the setting unit is the first sewing line from the end of the first sewing line The angle when moving to the start point of a plurality of sewing lines except for each is calculated, and the sewing line having the starting point of the sewing line with the smallest calculated angle is set as the second sewing line, and the set second sewing line The angle when moving from the end point of the stitches to the start point of the plural sewing lines excluding the first sewing line and the second sewing line is calculated respectively, and the calculated angle is the third sewing line having the starting point of the sewing line with the smallest angle.迄 The final sewing order is specified in the process of setting as a sewing line. Ri returns, it may set the sewing order of the candidates.

縫い順設定装置は、縫い順が最初の縫い線を変更しない状態で、移動角度が最小となる縫い順を設定する。故に、送り機構の移動方向が変化する時に送り機構に加わる負荷が軽減できるので、縫製装置の耐久性が向上する。   The sewing order setting device sets a sewing order in which the movement angle is minimized while the sewing order does not change the first sewing line. Therefore, since the load applied to the feed mechanism when the moving direction of the feed mechanism changes can be reduced, the durability of the sewing device is improved.

第一形態において、複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更可能な状態で、夫々の縫い線の終点から他の縫い線の始点へ縫製装置の送り機構を移動する時の、送り機構の移動方向の変化量である角度の合計を含み、縫い線の始点と終点は、縫製データが指定しており、設定部は、複数の縫い線の中から最初の縫い線を夫々設定し、設定した最初の縫い線の終点から設定した最初の縫い線を除く複数の縫い線の始点へ移動する時の角度を夫々算出し、算出した角度が最小の縫い線の始点を有する縫い線を二番目の縫い線として夫々設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点へ移動する時の角度を夫々算出し、算出した角度が最小の縫い線の始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を最初の縫い線にした時の縫い順の中から、角度の合計が最小の縫い順を縫い順の候補として設定しても良い。   In the first embodiment, the plurality of conditions move the feed mechanism of the sewing device from the end point of each sewing line to the start point of the other sewing line in a state where the sewing order of the first sewing line specified by the sewing data can be changed At the same time, including the total of the angle which is the change amount of the movement direction of the feed mechanism, the start and end points of the sewing line are specified by the sewing data, and the setting unit is the first sewing among the plural sewing lines. Each line is set, the angle when moving to the start point of a plurality of sewing lines except the first set sewing line from the set end point of the first sewing line is respectively calculated, and the start point of the sewing line having the smallest calculated angle Set each sewing line as a second sewing line, and set the angle when moving from the set end point of the second sewing line to the start point of multiple sewing lines excluding the first sewing line and the second sewing line The sewing which has calculated and calculated the angle which has the smallest angle of the sewing line The process of setting each as the third sewing line is repeated until the last sewing order is specified, and the sewing is performed at the first sewing line when each sewing line is made the first sewing line, the stitch having the smallest total angle The order may be set as a candidate for the sewing order.

縫い順設定装置は、縫い順が最初の縫い線を変更可能な状態で、移動角度が最小となる縫い順を設定する。移動角度は、縫い順が最初の縫い線を変更しない状態よりも小さくなる場合があり、送り機構の移動方向が変化する時に送り機構に加わる負荷が更に軽減できる。故に、縫製装置の耐久性が更に向上する。   The sewing order setting device sets the sewing order in which the movement angle is minimized while the sewing order can change the first sewing line. The movement angle may be smaller than when the sewing order does not change the first sewing line, and the load applied to the feed mechanism when the movement direction of the feed mechanism changes can be further reduced. Therefore, the durability of the sewing device is further improved.

第一形態において、複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更しない状態で、夫々の縫い線の終点と他の縫い線の始点へ縫製装置の送り機構を移動する時の距離と送り機構の移動方向の変化量である角度とに基づく第一値の合計を含み、縫い線の始点と終点は、縫製データが指定しており、設定部は、最初の縫い線の終点から最初の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第一値が最小の縫い線の始点を有する縫い線を二番目の縫い線として設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第一値が最小の縫い線の始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、縫い順の候補を設定しても良い。   In the first embodiment, a plurality of conditions move the feed mechanism of the sewing machine to the end point of each sewing line and the start point of another sewing line without changing the sewing order of the first sewing line specified by the sewing data The sewing data specifies the start point and the end point of the sewing line including the sum of the first value based on the distance at the time and the angle which is the amount of change of the moving direction of the feeding mechanism. Calculate the distance and angle when moving from the end point of the stitch to the start point of multiple sewing lines excluding the first sewing line, and the sewing line with the starting point of the sewing line with the smallest first value based on the calculated distance and angle Is set as the second sewing line, and the distance and angle when moving from the set end point of the second sewing line to the start point of the plural sewing lines excluding the first sewing line and the second sewing line are calculated respectively , The first value based on the calculated distance and angle has the smallest starting point of the sewing line That the process of setting the third stitch line sewing line, repeating until the last sewing sequence is identified, it may be set sewing order of candidates.

縫い順設定装置は、縫い順が最初の縫い線を変更しない状態で、移動距離と移動角度の両方を考慮した最適な縫い順を設定する。故に、縫製装置の縫製処理に掛かる時間の短縮と送り機構の移動方向が変化する時に送り機構に加わる負荷の軽減が両立できるので、縫製装置の稼働効率と耐久性が何れも向上する。   The sewing order setting device sets an optimal sewing order in consideration of both the movement distance and the movement angle, with the sewing order not changing the first sewing line. Therefore, it is possible to simultaneously reduce the time required for the sewing process of the sewing device and to reduce the load applied to the feed mechanism when the moving direction of the feeding mechanism changes, so that both the operating efficiency and the durability of the sewing device are improved.

第一形態において、複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更可能な状態で、夫々の縫い線の終点と他の縫い線の始点へ縫製装置の送り機構を移動する時の距離と送り機構の移動方向の変化量である角度とに基づく第一値の合計であり、縫い線の始点と終点は、縫製データが指定しており、設定部は、複数の縫い線の中から最初の縫い線を夫々設定し、設定した最初の縫い線の終点から設定した最初の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第一値が最小の縫い線の始点を有する縫い線を二番目の縫い線として夫々設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第一値が最小の縫い線の始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を最初の縫い線にした時の縫い順の中から、第一値の合計が最小の縫い順を縫い順の候補として設定しても良い。   In the first embodiment, the plurality of conditions move the feed mechanism of the sewing apparatus to the end point of each sewing line and the start point of another sewing line in a state where the sewing order of the first sewing line specified by the sewing data can be changed. Is the sum of the first value based on the distance when moving and the change amount of the movement direction of the feed mechanism, the start and end points of the sewing line are designated by the sewing data, and the setting unit Set the first sewing line from each line, calculate the distance and angle when moving to the start point of multiple sewing lines excluding the first sewing line set from the end point of the set first sewing line, and calculate The first sewing line having the smallest starting point of the sewing line based on the distance and angle is set as the second sewing line, and the first sewing line and the second sewing line from the set second sewing line end point Distance and angle when moving to the start point of multiple sewing lines excluding sewing lines Based on the calculated distance and angle, the processing of individually setting the sewing line having the smallest sewing line starting point as the third sewing line is repeated until the final sewing order is specified respectively. Among the sewing orders when the sewing line is made the first sewing line, the sewing order having the smallest first value sum may be set as a candidate for the sewing order.

縫い順設定装置は、縫い順が最初の縫い線を変更可能な状態で、移動距離と移動角度の両方を考慮した最適な縫い順を設定する。移動距離と移動角度から算出した第一値は、最初の縫い線を変更しない状態よりも最適化できる場合があり、縫製装置の縫製処理に掛かる時間が更に短縮でき、送り機構の移動方向が変化する時に送り機構に加わる負荷が更に軽減できる。故に、縫製装置の稼働効率と耐久性が何れも更に向上する。   The sewing order setting device sets an optimum sewing order in consideration of both the movement distance and the movement angle in a state where the sewing order can change the first sewing line. The first value calculated from the movement distance and movement angle can be optimized more than when the first sewing line is not changed, so the time required for the sewing process of the sewing device can be further shortened, and the movement direction of the feed mechanism changes The load applied to the feed mechanism can be further reduced. Therefore, both the operating efficiency and the durability of the sewing device are further improved.

第一形態において、複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更しない状態で、夫々の最初の縫い線の終点から他の縫い線の始点への距離に第一定数を乗算した値と最初の縫い線の終点から他の縫い線の始点へ縫製装置の送り機構を移動する時の送り機構の移動方向の変化量である角度に第二定数を乗算した値とを加算した第二値の合計を含み、縫い線の始点と終点は、縫製データが指定しており、設定部は、最初の縫い線の終点から最初の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第二値が最小の縫い線の始点を有する縫い線を二番目の縫い線として設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第二値が最小の縫い線の始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、縫い順の候補を設定し、第一定数は所定角度を移動するのに要する時間であり、第二定数は所定角度の値と同じ距離を移動するのに要する時間であっても良い。   In the first embodiment, a plurality of conditions are set such that the distance from the end point of each first sewing line to the start point of the other sewing line is constant without changing the sewing order of the first sewing line specified by the sewing data A value obtained by multiplying the second constant by the angle which is the change amount of the moving direction of the feed mechanism when moving the feed mechanism of the sewing machine from the end point of the first sewing line to the starting point of another sewing line The sewing data specifies the start and end points of the sewing line including the sum of the second value obtained by adding. The setting unit is a starting point of a plurality of sewing lines excluding the first sewing line from the end of the first sewing line Calculate the distance and angle when moving to each other, set the sewing line with the starting point of the sewing line with the smallest second value based on the calculated distance and angle as the second sewing line, and set the second Starting point of multiple stitching lines except the first stitching line and the second stitching line from the end point of the stitching line The process of calculating the distance and angle at the time of movement and setting the sewing line having the starting point of the sewing line having the smallest second value based on the calculated distance and angle as the third sewing line is the final sewing order迄 is specified repeatedly, the candidate for sewing order is set, the first constant is the time taken to move a predetermined angle, and the second constant is the time taken to move the same distance as the value of the predetermined angle It may be

縫い順設定装置は、最初の縫い線を変更しない状態で、移動距離と移動角度の両方を考慮した最適な縫い順を設定する。故に、縫製装置の縫製処理に掛かる時間が短縮でき、送り機構の移動方向が変化する時に送り機構に加わる負荷が更に軽減できるので、縫製装置の稼働効率と耐久性が何れも向上する。   The sewing order setting device sets an optimum sewing order in consideration of both the movement distance and the movement angle without changing the first sewing line. Therefore, the time required for the sewing process of the sewing device can be shortened, and the load applied to the feeding mechanism when the moving direction of the feeding mechanism changes can be further reduced, so that both the operating efficiency and the durability of the sewing device are improved.

第一形態において、複数の条件は、縫製データが指定する最初の縫い線の縫い順を変更可能な状態で、夫々の最初の縫い線の終点から他の縫い線の始点への距離に第一定数を乗算した値と最初の縫い線の終点から他の縫い線の始点へ縫製装置の送り機構を移動する時の送り機構の移動方向の変化量である角度に第二定数を乗算した値とを加算した第二値の合計を含み、縫い線の始点と終点は、縫製データが指定しており、設定部は、複数の縫い線の中から最初の縫い線を夫々設定し、設定した最初の縫い線の終点から設定した最初の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第二値が最小の縫い線の始点を有する縫い線を二番目の縫い線として夫々設定し、設定した二番目の縫い線の終点から最初の縫い線と二番目の縫い線を除く複数の縫い線の始点へ移動する時の距離と角度を夫々算出し、算出した距離と角度とに基づく第二値が最小の縫い線の始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を最初の縫い線にした時の縫い順の中から、第二値の合計が最小の縫い順を縫い順の候補として設定し、第一定数は所定角度を移動するのに要する時間であり、第二定数は所定角度の値と同じ距離を移動するのに要する時間であっても良い。   In the first embodiment, the plurality of conditions are such that, from the end point of each first sewing line to the start point of the other sewing line, the first sewing line can be changed in a state in which the sewing order of the first sewing line specified by the sewing data can be changed. A value obtained by multiplying the second constant by an angle, which is the amount of change in the moving direction of the feed mechanism when moving the feed mechanism of the sewing machine from the end of the first sewing line to the starting point of another sewing line The sewing data specify the start point and the end point of the sewing line including the sum of the second value obtained by adding and the setting part sets and sets the first sewing line out of a plurality of sewing lines. Calculate the distance and angle when moving to the start point of multiple sewing lines excluding the first sewing line set from the end point of the first sewing line, and calculate the sewing line with the smallest second value based on the calculated distance and angle Set the sewing line having the start point of each as the second sewing line, and set the second sewing The distance and angle when moving from the end point of the line to the start point of a plurality of sewing lines excluding the first sewing line and the second sewing line are respectively calculated, and the second value based on the calculated distance and angle is the smallest sewing The process of setting the sewing line having the start point of the line as the third sewing line is repeated until the last sewing order is specified respectively, and from among the sewing orders when the respective sewing lines are made the first sewing line, Set the sewing order having the smallest sum of the second values as a candidate for the sewing order, the first constant is the time required to move the predetermined angle, and the second constant moves the same distance as the value of the predetermined angle It may be the time it takes to

縫い順設定装置は、最初の縫い線を変更可能な状態で、移動距離と移動角度の両方を考慮した最適な縫い順を設定する。故に、移動距離と移動角度から算出した第二値は、最初の縫い線を変更しない状態よりも最適化できる場合があり、縫製装置の縫製処理に掛かる時間が更に短縮でき、送り機構の移動方向が変化する時に送り機構に加わる負荷が更に軽減できる。縫製装置の稼働効率と耐久性が何れも更に向上する。   The sewing order setting device sets an optimum sewing order in consideration of both the movement distance and the movement angle in a state where the first sewing line can be changed. Therefore, the second value calculated from the movement distance and movement angle can be optimized more than the state in which the first sewing line is not changed, and the time required for the sewing process of the sewing device can be further shortened. The load applied to the feed mechanism can be further reduced when. Both the operating efficiency and the durability of the sewing device are further improved.

第一形態の縫い順設定装置は、縫製データが指定する各縫い線の始点と終点を変更可能とする変更可能部を更に備え、操作部を介し、操作者が変更可能部により始点と終点を変更可能とした時に、設定部は、縫製データが指定する各縫い線の始点と終点を変更可能な状態で、縫い順の候補を設定しても良い。縫い順設定装置は、操作者の簡単な操作で、縫製データが指定する各縫い線の始点と終点を変更可能な状態で、各条件の縫い順の候補を設定できる。故に、操作者は、多様なニーズの中から操作者のニーズに合った縫い順の候補を選択できる。   The sewing order setting device according to the first embodiment further includes a changeable unit capable of changing the start point and the end point of each sewing line designated by the sewing data, and the operator can change the start point and the end point by the changeable unit via the operation unit. When changeable, the setting unit may set the sewing order candidate in a state in which the start point and the end point of each sewing line specified by the sewing data can be changed. The sewing order setting device can set the candidate for the sewing order of each condition in a state in which the start point and the end point of each sewing line designated by the sewing data can be changed by a simple operation of the operator. Therefore, the operator can select a sewing order candidate that matches the operator's needs from among various needs.

第一形態の設定部は、複数の条件毎に、縫い順の候補を夫々設定しても良い。例えば、縫い順設定装置は、操作者が選択した縫い順の候補に従い、全ての複数の縫い線を表示する時等、操作者が条件を選択する前に各縫い順の候補を設定しているので、即座に表示できる。   The setting unit according to the first aspect may set sewing order candidates for each of a plurality of conditions. For example, the sewing order setting device sets candidates for each sewing order before the operator selects a condition, for example, when displaying all a plurality of sewing lines according to the sewing order candidates selected by the operator. So it can be displayed instantly.

第一形態の設定部は、操作部を介し、操作者が選択した条件に応じて、縫い順の候補を設定しても良い。縫い順設定装置は、操作者が選択した条件の縫い順の候補のみを設定するので、縫い順設定装置の処理負荷を軽減できる。   The setting unit of the first embodiment may set the sewing order candidate via the operation unit according to the condition selected by the operator. The sewing order setting device sets only candidates for the sewing order of the conditions selected by the operator, so that the processing load on the sewing order setting device can be reduced.

第一形態の制御部は、設定部が各条件の縫い順の候補を設定する時に算出した合計を各条件に対応付けて第一表示部に表示しても良い。各条件に設定部が算出した合計を対応付けて表示することで、操作者は複数の条件の中からニーズに合った条件を選択し易くなる。   The control unit of the first embodiment may display the total calculated when the setting unit sets the candidate for the sewing order of each condition in association with each condition on the first display unit. By displaying the total calculated by the setting unit in association with each condition, the operator can easily select a condition that meets the needs from among a plurality of conditions.

第一形態の縫い順設定装置は、操作部を介し、操作者が選択した縫い順の候補に従い、複数の縫い線を全て表示する第二表示部を更に備え、制御部は、第二表示部を制御しても良い。縫い順設定装置は操作者が選択した縫い順の候補に従い、複数の縫い線を表示するので、操作者は、選択した縫い順の候補の縫い順を一目で確認できる。故に、操作者の作業効率が向上する。   The sewing order setting device according to the first aspect further includes a second display unit for displaying all the plurality of sewing lines according to the sewing order candidate selected by the operator via the operation unit, and the control unit is configured to perform the second display unit. You may control Since the sewing order setting device displays a plurality of sewing lines in accordance with the sewing order candidates selected by the operator, the operator can confirm at a glance the sewing order of the selected sewing order candidates. Therefore, the work efficiency of the operator is improved.

第一形態の縫い順設定装置では、第一表示部は、操作者が選択可能な再生部を更に備え、制御部は、操作部を介し、操作者が条件を選択して再生部を選択した時、操作者が選択した条件の縫い順の候補に従い、複数の縫い線を縫い線単位で順番に第二表示部に表示しても良い。縫い順設定装置は選択した条件の縫い順の候補に従い、縫い線単位で縫い線を順番に表示する。故に、表示時間はスロー表示機能よりも短縮できるので、操作者の作業効率が向上する。   In the sewing order setting device according to the first aspect, the first display unit further includes a reproduction unit selectable by the operator, and the control unit selects the reproduction unit by the operator selecting the condition via the operation unit. At the same time, according to the candidate for the sewing order of the condition selected by the operator, a plurality of sewing lines may be sequentially displayed on the second display unit in sewing line units. The sewing order setting device sequentially displays the sewing lines in units of sewing lines in accordance with the candidates for the sewing order of the selected condition. Therefore, since the display time can be shortened than the slow display function, the work efficiency of the operator is improved.

第一形態の縫い順設定装置では、制御部は、第二表示部に縫い線を表示する時、現在の縫い順の縫い線を強調的に表示しても良い。操作者が現在の縫い順の縫い線を見誤る可能性が低減するので、何度も確認する必要がなくなり、操作者の作業効率が向上する。   In the first embodiment of the sewing order setting device, the control unit may highlight the sewing line of the current sewing order when displaying the sewing line on the second display unit. Since the possibility of the operator mistaking the sewing line of the current sewing order is reduced, the need for checking repeatedly is eliminated, and the work efficiency of the operator is improved.

第一形態の縫い順設定装置では、第一表示部は、移動可能な進捗部を更に備え、進捗部は、制御部が縫い線を順番に第二表示部に表示する場合、縫い順に応じて表示を進行しても良い。進捗部は縫い順に応じて表示を進行するので、操作者は、縫い順の進行状況を一目で確認できる。   In the sewing order setting device according to the first aspect, the first display unit further includes a movable progressing unit, and the progressing unit according to the sewing order when the control unit sequentially displays the sewing lines on the second display unit. You may proceed with the display. Since the progress section advances the display according to the sewing order, the operator can confirm the progress of the sewing order at a glance.

第一形態において、操作者が、進捗部を移動した時に、縫い順が最初の縫い線から進捗部の移動位置に対応する縫い順の縫い線迄を同時に第二表示部に表示しても良い。例えば、万が一、縫い線の縫い順を見誤ったとしても、縫い順設定装置は、進捗部で任意の縫い順から再生を開始できる。故に、操作者は、また最初から縫い順を再生する必要がないので、操作者の作業効率が向上する。   In the first embodiment, when the operator moves the progressing portion, the sewing line may be displayed on the second display portion simultaneously with the sewing order 縫 い corresponding to the movement position of the progressing portion from the first sewing line. . For example, even if the sewing order of the sewing lines is mistaken, the sewing order setting device can start the reproduction from any sewing order in the progress part. Therefore, since the operator does not have to reproduce the sewing order from the beginning, the work efficiency of the operator is improved.

本発明の第二形態の縫製装置は、上記第一形態の何れか一に記載の縫い順設定装置を備えることを特徴とする。第一形態と同様の効果を奏する。   A sewing device according to a second aspect of the present invention includes the sewing order setting device according to any one of the first aspect. The same effect as that of the first embodiment can be obtained.

端末装置10と縫製装置20とのネットワーク構成の一例を示す図である。FIG. 2 is a diagram showing an example of a network configuration of a terminal device 10 and a sewing device 20. 端末装置10の電気的構成を示すブロック図。FIG. 2 is a block diagram showing an electrical configuration of a terminal device 10; 縫製データの縫い順に従い全ての縫い線を表示した例を示す図。The figure which shows the example which displayed all the sewing lines according to the sewing order of sewing data. 自動縫い順設定画面ASの例を示す図。The figure which shows the example of automatic sewing order setting screen AS. 移動角度θを説明する為の図。The figure for demonstrating movement angle (theta). 縫い順候補を選択し、且つ縫い順を再生中の例を示す図。The figure which shows the example which selects the sewing order candidate and is reproducing the sewing order. 自動縫い順設定処理の流れ図の一部。Part of the flowchart of the automatic sewing order setting process. 図7の自動縫い順設定処理の流れ図の続き。A continuation of the flowchart of the automatic sewing order setting process of FIG. 縫い順再生処理の流れ図。Flow chart of the sewing order reproduction process. 変形例の自動縫い順設定処理の流れ図の一部。Part of the flowchart of the automatic sewing order setting process of the modification.

本実施形態を、図面を参照して説明する。本実施形態では、縫い順候補設定装置の例である端末装置10を例に本発明の内容を説明するが、縫製装置20が備える操作パネルで本発明の内容を実現しても良い。縫製装置20の一例はミシンである。   The present embodiment will be described with reference to the drawings. In the present embodiment, the contents of the present invention will be described using the terminal device 10 which is an example of the sewing order candidate setting device as an example, but the contents of the present invention may be realized by an operation panel included in the sewing device 20. An example of the sewing device 20 is a sewing machine.

<端末装置10と縫製装置20との接続構成>
図1に示す如く、端末装置10は、一又は複数の縫製装置20とネットワーク30を介して接続する。ネットワーク30は、イントラネット、インターネット等であり、有線、無線の何れでも良いし、混在していても良い。端末装置10と縫製装置20の少なくとも一部はネットワーク30を介して接続していなくとも良い。端末装置10は、例えば、PC(Personal Computer)、タブレット、高機能携帯等である。
<Connection Configuration of Terminal Device 10 and Sewing Device 20>
As shown in FIG. 1, the terminal device 10 is connected to one or more sewing devices 20 via a network 30. The network 30 is an intranet, the Internet, or the like, and may be wired or wireless, or may be mixed. The terminal device 10 and at least a part of the sewing device 20 may not be connected via the network 30. The terminal device 10 is, for example, a PC (Personal Computer), a tablet, a high-performance mobile phone, or the like.

<端末装置10の構成>
図2に示す如く、端末装置10は、CPU(Central Processing Unit)11、記憶部12、操作部13、表示部14、出入力部15、通信部16等で構成し、夫々バス17を介して接続する。
<Configuration of Terminal Device 10>
As shown in FIG. 2, the terminal device 10 includes a central processing unit (CPU) 11, a storage unit 12, an operation unit 13, a display unit 14, an input / output unit 15, a communication unit 16 and the like. Connecting.

CPU11は、記憶部12に記憶する制御プログラムを読み出し、端末装置10を制御する。また、CPU11は、記憶部12に記憶する例えば縫製データを読み出し、操作者の操作に従って後述の自動縫い順設定処理を実行する。記憶部12は、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disc Drive)等で構成する。ROMは、制御プログラム等を記憶する。RAMは、ワークスペース等とし機能する。HDDは、縫製データ等の各種プログラム、各種のパラメータ等を記憶する。   The CPU 11 reads the control program stored in the storage unit 12 and controls the terminal device 10. Further, the CPU 11 reads, for example, sewing data stored in the storage unit 12 and executes an automatic sewing order setting process described later according to the operation of the operator. The storage unit 12 is configured by a read only memory (ROM), a random access memory (RAM), a hard disc drive (HDD) or the like. The ROM stores control programs and the like. The RAM functions as a work space or the like. The HDD stores various programs such as sewing data, various parameters, and the like.

操作部13は、キーボード、テンキー、表示部14の画面上のタッチパネル等で構成する。操作者は、例えば、操作部13を操作することで、縫製データを作成する。端末装置10は、例えば、ネットワーク30を介して、操作者が作成した縫製データを縫製装置20に送信する。操作者は、後述する自動縫い順ボタンASB等を選択し、後述する自動縫い順設定処理を実行する。縫製データは、各縫い線の針落ち点の座標情報、各縫い線の針落ち点のうち始点と終点、各縫い線の縫い順等を含むデータである。針落ち点は布に対しミシンの縫針が刺さる予定位置である。縫製装置20は布を保持する送り機構を備える。送り機構は送りモータにより水平方向に移動することで、保持した布を針落ち点に移動する。   The operation unit 13 is configured by a keyboard, a ten key, a touch panel on the screen of the display unit 14 and the like. The operator creates sewing data, for example, by operating the operation unit 13. The terminal device 10 transmits, for example, sewing data created by the operator to the sewing device 20 via the network 30. The operator selects an automatic sewing order button ASB or the like to be described later, and executes an automatic sewing order setting process to be described later. The sewing data is data including coordinate information of the needle drop point of each sewing line, the start point and the end point of the needle drop points of each sewing line, the sewing order of each sewing line, and the like. The needle drop point is a planned position at which the sewing needle of the sewing machine pierces the cloth. The sewing device 20 includes a feed mechanism for holding the cloth. The feed mechanism moves the held cloth to the needle drop point by moving in the horizontal direction by the feed motor.

表示部14は、CRT(Cathode Ray Tube)、液晶モニタ、有機EL(Electro Luminescence)等のディスプレイ装置等で構成する。表示部14の画面は、縫い線等を表示する。出入力部15は、SD(Secure Digital)メモリカードスロット、USB(Universal Serial Bus)(登録商標)ポート等で構成する。縫製データは、SDメモリカード、USBメモリの何れかに記憶し、縫製装置20のSDメモリカードスロット、USBポートを介して縫製装置20に移すことできる。   The display unit 14 is configured by a display device such as a CRT (Cathode Ray Tube), a liquid crystal monitor, an organic EL (Electro Luminescence), or the like. The screen of the display unit 14 displays sewing lines and the like. The input / output unit 15 is configured by an SD (Secure Digital) memory card slot, a USB (Universal Serial Bus) (registered trademark) port, or the like. The sewing data can be stored in either the SD memory card or the USB memory, and can be transferred to the sewing device 20 via the SD memory card slot of the sewing device 20 or the USB port.

通信部16は、無線モジュールと有線モジュールの内の少なくとも一方を有する。端末装置10は、通信部16を有さなくても良く、USBポートに接続可能な無線モジュールで、縫製装置20とネットワーク30を介して接続しても良い。   The communication unit 16 has at least one of a wireless module and a wired module. The terminal device 10 may not have the communication unit 16 and may be connected to the sewing device 20 via the network 30 by a wireless module connectable to the USB port.

<縫い線の表示画面>
図3を参照して、本実施形態の縫い線の表示画面について説明する。図3は、初期設定の縫い順の例を示している。初期設定の縫い順は、縫製データが指定する縫い線の縫い順である。図3に示す画面の例は、上側にメニューバーとコマンドバーを配置し、コマンドバーの下側に縫い線の表示領域AR1を配置する。表示領域AR1は、縫い線を縫い順に従い縫い線単位で順次表示する領域である。図中のSSk、SEk(k=1,2,・・・)は、夫々各縫い線の始点と終点である。縫製装置20は始点から縫い始め、終点で縫い糸を切断することで一つの縫い線を縫製する。SS0は縫い始点である。特に、区別が必要ない時は、始点と終点をSS、SEと夫々称する。SSkとSEkの間の実線は縫い線を示し、実際の縫い線は複数の針落ち点を含む。一点鎖線はミシンの縫針が布に刺さらずに針落ち点の位置が移動する際の移動軌跡を示す仮想線である。以下、メニューバーとコマンドバーと表示領域AR1等から構成する画面をメイン画面と称する。メニューバー、コマンドバー、表示領域AR1の各配置の位置は任意で良い。
<Display screen of sewing line>
The display screen of the sewing line of the present embodiment will be described with reference to FIG. FIG. 3 shows an example of an initial setting sewing order. The initial setting sewing order is the sewing order of the sewing line specified by the sewing data. In the example of the screen shown in FIG. 3, the menu bar and the command bar are arranged on the upper side, and the display area AR1 of the sewing line is arranged on the lower side of the command bar. The display area AR1 is an area in which the sewing lines are sequentially displayed in sewing line units in accordance with the sewing order. SSk and SEk (k = 1, 2,...) In the figure are the start and end points of each sewing line, respectively. The sewing device 20 starts sewing from a start point, and cuts a sewing thread at an end point to sew one sewing line. SS0 is a sewing start point. In particular, when the distinction is not necessary, the start point and the end point are respectively referred to as SS and SE. The solid line between SSk and SEk indicates a sewing line, and the actual sewing line includes a plurality of needle drop points. An alternate long and short dash line is a virtual line indicating a movement locus when the position of the needle drop point moves without the sewing needle of the sewing machine being stuck in the cloth. Hereinafter, a screen constituted by the menu bar, the command bar, the display area AR1 and the like will be referred to as a main screen. The positions of the arrangement of the menu bar, the command bar, and the display area AR1 may be arbitrary.

図3の例では、表示部14は、縫い順表示画面をメイン画面に重畳表示する。具体的に、縫い順表示画面は、表示領域AR1内の右端近傍に表示する。図3の例では、縫い順表示画面は、左下部に、第一縫い順再生ボタンRSB1を配置し、第一縫い順再生ボタンRSB1の右側に第一進捗バーPB1を配置する。第一縫い順再生ボタンRSB1は、縫製データが指定する縫い順に従い、縫い線を縫い線単位で表示領域AR1に順次表示する為のボタンである。第一進捗バーPB1は、縫い線の表示に応じて、移動する。図3の例の如く、例えば、縫い線の数が六個である時は、縫い線の表示の進捗に同調して六段階移動して左側の開始位置から右側の最終位置に到達する。   In the example of FIG. 3, the display unit 14 superimposes and displays the sewing order display screen on the main screen. Specifically, the sewing order display screen is displayed near the right end in the display area AR1. In the example of FIG. 3, the sewing order display screen arranges the first sewing order reproduction button RSB1 at the lower left portion, and arranges the first progress bar PB1 at the right side of the first sewing order reproduction button RSB1. The first sewing order reproduction button RSB1 is a button for sequentially displaying the sewing lines in the sewing area in the display area AR1 in accordance with the sewing order specified by the sewing data. The first progress bar PB1 moves in accordance with the display of the sewing line. As in the example of FIG. 3, for example, when the number of sewing lines is six, six movements are performed in synchronization with the progress of the display of the sewing lines to reach the final position on the right from the start position on the left.

縫い順表示画面は、略中央に、縫い順に従って、縫い線単位で縫い線を表示する縫い順表示領域AR2を配置する。操作者は縫い順表示画面の右端近傍に設けたスクロールバーを移動することで、全ての縫い線の縫い順を確認できる。縫い順表示画面は、上側に、自動縫い順ボタンASBを配置し、自動縫い順ボタンASBの下側に始点・終点変更枠BXを配置する。自動縫い順ボタンASBは、図4に示す自動縫い順設定画面ASを表示する為のボタンである。操作者が自動縫い順ボタンASBを選択すると、自動縫い順設定画面ASがポップアップする。始点・終点変更枠BXは、チェックを入れることで、縫い順を設定する時に各縫い線の始点SSと終点SEを変更可能とする。始点・終点変更枠BXについては、詳細を後述する。縫い順表示領域AR2、第一縫い順再生ボタンRSB1、第一進捗バーPB1、自動縫い順ボタンASB、始点・終点変更枠BXの各配置の位置は任意で良い。   In the sewing order display screen, a sewing order display area AR2 for displaying a sewing line in units of sewing lines is arranged at substantially the center in accordance with the sewing order. The operator can confirm the sewing order of all the sewing lines by moving the scroll bar provided near the right end of the sewing order display screen. In the sewing order display screen, the automatic sewing order button ASB is arranged on the upper side, and the start point / end point changing frame BX is arranged on the lower side of the automatic sewing order button ASB. The automatic sewing order button ASB is a button for displaying an automatic sewing order setting screen AS shown in FIG. When the operator selects the automatic sewing order button ASB, the automatic sewing order setting screen AS pops up. The start point / end point change frame BX enables changing of the start point SS and the end point SE of each sewing line when setting the sewing order by putting a check. The details of the start point / end point change frame BX will be described later. The position of each arrangement of the sewing order display area AR2, the first sewing order reproduction button RSB1, the first progress bar PB1, the automatic sewing order button ASB, and the start point / end point change frame BX may be arbitrary.

<自動縫い順設定画面AS>
図4は、自動縫い順設定画面ASの例である。図4に示す如く、自動縫い順設定画面ASは、「縫い方法」の欄と、「距離」の欄と、「角度」の欄を含む。各「縫い方法」は「距離」と「角度」に夫々対応付けている。「縫い方法」は、縫い順を設定する各アルゴリズムの名称である。「距離」は、対応するアルゴリズムで算出した最適な縫い順の移動距離L(単位:mm)の合計を示す。「角度」は、対応するアルゴリズムで算出した最適な縫い順の移動角度θ(単位:rad)の合計を示し、算出した移動角度θの合計を度数に変換した値を表示する。自動縫い順設定画面ASは、下側に、第二縫い順再生ボタンRSB2と第二進捗バーPB2を配置し、第二縫い順再生ボタンRSB2と第二進捗バーPB2の下側に、続行ボタンB1と中止ボタンB2を配置する。
<Automatic sewing order setting screen AS>
FIG. 4 is an example of the automatic sewing order setting screen AS. As shown in FIG. 4, the automatic stitching order setting screen AS includes a field of "sewing method", a field of "distance", and a field of "angle". Each "sewing method" is associated with "distance" and "angle" respectively. The "sewing method" is the name of each algorithm for setting the sewing order. The “distance” indicates the sum of the movement distance L (unit: mm) of the optimum sewing order calculated by the corresponding algorithm. "Angle" indicates the sum of the movement angle θ (unit: rad) of the optimum sewing order calculated by the corresponding algorithm, and displays a value obtained by converting the sum of the calculated movement angle θ into a frequency. The automatic sewing order setting screen AS arranges the second sewing order reproduction button RSB2 and the second progress bar PB2 on the lower side, and the continuation button B1 on the lower side of the second sewing order reproduction button RSB2 and the second progress bar PB2. And place the cancel button B2.

第二縫い順再生ボタンRSB2は、自動縫い順設定画面ASに一覧表示する複数の縫い方法の中から選択した縫い方法の縫い順に従い、表示領域AR1に縫い線を縫い線単位で順次表示する為のボタンである。第二進捗バーPB2は、縫い線の表示に応じて、移動する。図3の例の如く、例えば、縫い線の数が六個である時は、縫い線の表示の進捗に同調して六段階移動して左側の開始位置から右側の最終位置に到達する。続行ボタンB1は、選択した縫い方法の縫い順を縫製データに反映する為のボタンである。例えば、操作者が第一総合(固定)の縫い方法を選択して、続行ボタンB1を選択すると、CPU11は、縫製データの縫い順を第一総合(固定)の縫い順に変更する。中止ボタンB2は、縫製データが指定する縫い順を変更しない時に選択するボタンである。   The second sewing order reproduction button RSB2 sequentially displays the sewing lines in the display area AR1 in the display area AR1 in accordance with the sewing order of the sewing method selected from among the plurality of sewing methods displayed in a list on the automatic sewing order setting screen AS. Button. The second progress bar PB2 moves in accordance with the display of the sewing line. As in the example of FIG. 3, for example, when the number of sewing lines is six, six movements are performed in synchronization with the progress of the display of the sewing lines to reach the final position on the right from the start position on the left. The continue button B1 is a button for reflecting the sewing order of the selected sewing method on the sewing data. For example, when the operator selects the first overall (fixed) sewing method and selects the continue button B1, the CPU 11 changes the sewing order of the sewing data to the first overall (fixed) sewing order. The cancel button B2 is a button selected when the sewing order designated by the sewing data is not changed.

<移動角度θ>
図5を参照し、移動角度θを説明する。移動角度θ(0≦θ≦π)は、始点SS1から終点SE1の縫い線のうち、終点SE1の一針前と終点SE1を結ぶ線を終点SE1から延長した仮想線(図中の点線)と、終点SE1と次の縫い順の縫い線の始点SS2とを結ぶ線分(図中の一点鎖線)と、のなす角である。即ち、移動角度θは、縫製装置20が終点SE1を縫製後、始点SS2に移動する時の、縫製装置20の送り機構の移動方向の変化量である。
<Movement angle θ>
The movement angle θ will be described with reference to FIG. The movement angle θ (0 ≦ θ ≦ π) is a virtual line (dotted line in the figure) obtained by extending from the end point SE1 a line connecting one hand before the end point SE1 and the end point SE1 among the sewing lines from the start point SS1 to the end point SE1. , An angle formed by a line segment (dashed-dotted line in the drawing) connecting the end point SE1 and the start point SS2 of the next sewing line. That is, the movement angle θ is a change amount of the movement direction of the feed mechanism of the sewing device 20 when the sewing device 20 moves to the start point SS2 after sewing the end point SE1.

<縫い方法の縫い順の設定>
縫い方法は、上述した如く、縫い順を設定するアルゴリズムであり、縫い順を設定する為の条件である。各縫い方法に対応するアルゴリズムを説明する。説明を簡単にするため、縫い線を縫い線a、b、cの三個とし、各アルゴリズムを説明する。(a,b,c)は縫い線a、b、cの順番で処理することを意味する。縫い線a、bの移動角度θはθ(a,b)と称する。本具体例の縫い方法は、距離優先(固定)、距離優先(先頭縫い線変更)、角度優先(固定)、角度優先(先頭縫い線変更)、第一総合(固定)、第一総合(先頭縫い線変更)、第二総合(固定)、第二総合(先頭縫い線変更)である。
<Setting the sewing order of the sewing method>
The sewing method is an algorithm for setting the sewing order as described above, and is a condition for setting the sewing order. An algorithm corresponding to each sewing method will be described. In order to simplify the explanation, the sewing lines are made into three stitch lines a, b and c, and each algorithm is described. (A, b, c) means processing in the order of sewing lines a, b, c. The movement angle θ of the sewing lines a and b is referred to as θ (a, b). The sewing method of this specific example is: distance priority (fixed), distance priority (start stitch line change), angle priority (fixed), angle priority (start stitch line change), first general (fixed), first general (start) Sewing line change), second total (fixed), second total (head stitch line change).

<距離優先(固定)>
距離優先(固定)では、縫製データが指定する最初の縫い線aの縫い順は固定する。CPU11は、縫い線aの終点SEaから縫い線bと縫い線cの各始点SSbとSSc迄の移動距離Lが最小の始点SSを有する縫い線を、次の縫い線に設定する。例えば、終点SEaから始点SSc迄の移動距離L(a,c)が終点SEaから始点SSb迄の移動距離L(a,b)よりも短い時、CPU11は縫い線aの次の縫い順の縫い線として縫い線cを設定する。この時、縫い順は(a,c,b)となる。移動距離L(a,b)は以下の算出式(数1)で求めることができる。式中のNaは縫い線aの針落ち点数である。xa(Na−1)、ya(Na−1)は、縫い線aの終点SEaの夫々x座標、y座標である。xb(0)、yb(0)は、縫い線bの始点SSbの夫々x座標、y座標である。移動距離L(a,c)等にも同様に算出式で算出できる。

Figure 2019058301
<Distance priority (fixed)>
In the distance priority (fixed), the sewing order of the first sewing line a specified by the sewing data is fixed. The CPU 11 sets a sewing line having a starting point SS at which the moving distance L between the sewing line b and the respective starting points SSb and SSc of the sewing line c is minimum from the end point SEa of the sewing line a to the next sewing line. For example, when the movement distance L (a, c) from the end point SEa to the start point SSc 迄 is shorter than the movement distance L (a, b) from the end point SEa to the start point SSb 迄, the CPU 11 sews the next sewing order of the sewing line a. Set sewing line c as a line. At this time, the sewing order is (a, c, b). The movement distance L (a, b) can be obtained by the following calculation formula (Equation 1). Na in the equation is the needle drop point of the sewing line a. xa (Na-1) and ya (Na-1) are the x-coordinate and y-coordinate, respectively, of the end point SEa of the sewing line a. xb (0) and yb (0) are the x-coordinate and y-coordinate, respectively, of the start point SSb of the sewing line b. The movement distance L (a, c) or the like can be similarly calculated by the calculation formula.
Figure 2019058301

この時、CPU11は、距離優先(固定)の縫い順として(a,c,b)を設定し、自動縫い順設定画面ASの「縫い方法」において距離優先(固定)に対応する「距離」の欄に、縫い順(a,c,b)の移動距離Lの合計を表示する。移動距離Lの合計は、移動距離L(a,c)と移動距離L(c,b)の和である。CPU11は、設定した縫い順(a,c,b)の移動角度θの合計を算出し、自動縫い順設定画面ASの「縫い方法」において距離優先(固定)に対応する「角度」の欄に、算出した移動角度θの合計を表示しても良い。移動角度θの合計は、移動角度θ(a,c)と移動角度θ(c,b)の和である。操作者が距離優先(固定)を選択した時、最初の縫い線を変更しない状態で、CPU11は、最短移動距離Lの縫い順を設定する。故に、縫製装置20の縫製処理に掛かる時間が短縮できるので、縫製装置20の稼働効率が向上する。   At this time, the CPU 11 sets (a, c, b) as the distance priority (fixed) sewing order, and the “distance” corresponding to the distance priority (fixed) in the “sewing method” of the automatic sewing order setting screen AS. The total of the movement distance L in the sewing order (a, c, b) is displayed in the field. The sum of the movement distances L is the sum of the movement distances L (a, c) and the movement distances L (c, b). The CPU 11 calculates the sum of the movement angles θ of the set sewing order (a, c, b), and in the “angle” column corresponding to the distance priority (fixed) in the “sewing method” of the automatic sewing order setting screen AS. The sum of the calculated movement angles θ may be displayed. The sum of the movement angles θ is the sum of the movement angles θ (a, c) and the movement angles θ (c, b). When the operator selects distance priority (fixed), the CPU 11 sets the sewing order of the shortest movement distance L without changing the first sewing line. Therefore, since the time taken for the sewing process of the sewing device 20 can be shortened, the operation efficiency of the sewing device 20 is improved.

<距離優先(先頭縫い線変更)>
距離優先(先頭縫い線変更)では、縫製データが指定する最初の縫い線aの縫い順は変更可能とする。CPU11は、各縫い線a、b、cを夫々最初の縫い線とし、移動距離Lの合計が最小の縫い順を求める。CPU11は、求めた縫い順の中で移動距離Lの合計が最小の縫い順を設定する。例えば、縫い線aを最初の縫い線とした時の移動距離Lの合計が最小の縫い順が(a,c,b)、縫い線bを最初の縫い線とした時の移動距離Lの合計が最小の縫い順が(b,c,a)、縫い線cを最初の縫い線とした時の移動距離Lの合計が最小の縫い順が(c,a,b)であるとする。この時、CPU11は、三個の縫い順の中で移動距離Lの合計が最小の縫い順を距離優先(先頭縫い線変更)の縫い順に設定する。CPU11は、自動縫い順設定画面ASの「縫い方法」において距離優先(先頭縫い線変更)に対応する「距離」の欄に、設定した縫い順の移動距離Lの合計を表示する。CPU11は、設定した縫い順の移動角度θの合計を算出し、自動縫い順設定画面ASの「縫い方法」において距離優先(先頭縫い線変更)に対応する「角度」の欄に、算出した移動角度θの合計を表示しても良い。
<Depth priority (leading stitch line change)>
In the distance priority (leading sewing line change), the sewing order of the first sewing line a designated by the sewing data can be changed. The CPU 11 sets each sewing line a, b, c as the first sewing line, and finds a sewing order in which the total of the movement distance L is the smallest. The CPU 11 sets a sewing order in which the total movement distance L is the smallest among the determined sewing orders. For example, the sum of the movement distances L when the sewing sequence with the smallest sum of the movement distances L when the sewing line a is the first sewing line is (a, c, b) and the sewing line b is the first sewing line Assume that the sewing order with the smallest sewing order is (b, c, a) and the total of the movement distances L when the sewing line c is the first sewing line is (c, a, b). At this time, the CPU 11 sets a sewing order in which the sum of the movement distances L is the smallest among the three sewing orders in the sewing order of the distance priority (leading stitch line change). The CPU 11 displays the sum of the movement distance L of the set sewing order in the "distance" column corresponding to the distance priority (top stitching line change) in the "sewing method" of the automatic sewing order setting screen AS. The CPU 11 calculates the sum of the movement angles θ of the set sewing order, and the calculated movement in the “angle” column corresponding to the distance priority (top sewing line change) in the “sewing method” of the automatic sewing order setting screen AS. The sum of the angles θ may be displayed.

操作者が距離優先(先頭縫い線変更)を選択した時、縫い順が最初の縫い線を変更可能な状態で、CPU11は、最短移動距離Lの縫い順を設定する。移動距離Lは、縫い順によって距離優先(固定)よりも短くなる場合がある。故に、縫製装置20の縫製処理に掛かる時間が更に短縮できるので、縫製装置20の稼働効率が更に向上する。   When the operator selects distance priority (leading stitch line change), the CPU 11 sets the sewing order of the shortest movement distance L in a state where the sewing order can change the first sewing line. The movement distance L may be shorter than the distance priority (fixed) depending on the sewing order. Therefore, since the time taken for the sewing process of the sewing device 20 can be further shortened, the operation efficiency of the sewing device 20 is further improved.

<角度優先(固定)>
角度優先(固定)では、縫製データが指定する最初の縫い線aの縫い順は固定する。CPU11は、縫い線aのうち、終点SEaの一針前と終点SEaを結ぶ線を終点SEaから延長した仮想線と、終点SEaから縫い線bの始点SSbと縫い線cの始点SSc迄を夫々結ぶ線分との移動角度θ(a,b)、θ(a,c)を夫々算出する。CPU11は、移動角度θ(a,b)、θ(a,c)の内で、移動角度θがより小さい縫い線を次の縫い線に設定する。例えば、移動角度θ(a,c)よりも移動角度θ(a,b)の方が小さい時、CPU11は、縫い線bを次の縫い線として設定する。この時、縫い順は(a,b,c)となる。移動角度θ(a,b)は、以下の算出式(数2)で求めることができる。移動角度θ(a,c)等も同様の算出式で算出できる。

Figure 2019058301
<Angle priority (fixed)>
In the angle priority (fixed), the sewing order of the first sewing line a specified by the sewing data is fixed. Among the sewing lines a, the virtual line obtained by extending the end point SEa from the end point SEa, and the start point SSb of the sewing line b and the start point SSc of the sewing line c from the end point SEa The movement angles θ (a, b) and θ (a, c) with the connecting line segment are calculated respectively. The CPU 11 sets the sewing line having the smaller movement angle θ as the next sewing line among the movement angles θ (a, b) and θ (a, c). For example, when the movement angle θ (a, b) is smaller than the movement angle θ (a, c), the CPU 11 sets the sewing line b as the next sewing line. At this time, the sewing order is (a, b, c). The movement angle θ (a, b) can be obtained by the following calculation formula (Equation 2). The movement angle θ (a, c) or the like can be calculated by the same calculation formula.
Figure 2019058301

この時、CPU11は、角度優先(固定)の縫い順として(a,b,c)を設定し、自動縫い順設定画面ASの「縫い方法」において角度優先(固定)に対応する「角度」の欄に、縫い順(a,b,c)の移動角度θの合計を表示する。移動角度θの合計は、移動角度θ(a,b)と移動角度θ(b,c)の和である。CPU11は、設定した縫い順(a,b,c)の移動距離Lの合計を算出し、自動縫い順設定画面ASの「縫い方法」において角度優先(固定)に対応する「距離」の欄に、算出した移動距離Lの合計を表示しても良い。操作者が角度優先(固定)を選択した時、CPU11は、最初の縫い線を変更しない状態で、最短移動角度θの縫い順を設定する。故に、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が軽減できるので、縫製装置20の耐久性が向上する。   At this time, the CPU 11 sets (a, b, c) as the angle priority (fixed) sewing order, and the “angle” corresponding to the angle priority (fixed) in the “sewing method” of the automatic sewing order setting screen AS. In the column, the total of the movement angles θ of the sewing order (a, b, c) is displayed. The sum of the movement angles θ is the sum of the movement angles θ (a, b) and the movement angles θ (b, c). The CPU 11 calculates the sum of the moving distances L of the set sewing order (a, b, c), and in the "distance" column corresponding to the angle priority (fixed) in the "sewing method" of the automatic sewing order setting screen AS. The sum of the calculated movement distances L may be displayed. When the operator selects angle priority (fixed), the CPU 11 sets the sewing order of the shortest movement angle θ without changing the first sewing line. Therefore, since the load applied to the feed mechanism (in particular, the feed motor) can be reduced when the moving direction of the feed mechanism changes, the durability of the sewing device 20 is improved.

<角度優先(先頭縫い線変更)>
角度優先(先頭縫い線変更)では、縫製データが指定する最初の縫い線aの縫い順は変更可能とする。CPU11は、各縫い線a、b、cを夫々最初の縫い線とし、移動角度θの合計が最小の縫い順を求める。CPU11は、求めた縫い順の中で移動角度θの合計が最小の縫い順を設定する。例えば、縫い線aを最初の縫い線とした時の移動角度θの合計が最小の縫い順が(a,c,b)、縫い線bを最初の縫い線とした時の移動角度θの合計が最小の縫い順が(b,a,c)、縫い線cを最初の縫い線とした時の移動角度θの合計が最小の縫い順が(c,a,b)であるとする。この時、CPU11は、三個の縫い順の中で移動角度θの合計が最小の縫い順を角度優先(先頭縫い線変更)の縫い順に設定する。CPU11は、自動縫い順設定画面ASの「縫い方法」において角度優先(先頭縫い線変更)に対応する「角度」欄に、設定した縫い順の移動角度θの合計を表示する。CPU11は、設定した縫い順の移動距離Lの合計を算出し、自動縫い順設定画面ASの「縫い方法」において角度優先(先頭縫い線変更)に対応する「距離」の欄に算出した移動距離Lの合計を表示しても良い。
<Angle priority (start stitch line change)>
In the angle priority (start stitch line change), the sewing order of the first sewing line a designated by the sewing data can be changed. The CPU 11 sets each sewing line a, b, c as a first sewing line, and finds a sewing order in which the sum of the movement angles θ is the smallest. The CPU 11 sets a sewing order in which the sum of the movement angles θ is the smallest among the determined sewing orders. For example, the sum of the movement angles θ when the sewing sequence with the smallest sum of the movement angles θ when the sewing line a is the first sewing line is (a, c, b) and the sewing line b is the first sewing line Assume that the smallest sewing order is (b, a, c), and the total sewing angle θ when the sewing line c is the first sewing line is (c, a, b). At this time, the CPU 11 sets a sewing order in which the sum of the movement angles θ is the smallest among the three sewing orders in the sewing order of the angle priority (leading stitch line change). The CPU 11 displays the total of the set movement angles θ of the sewing order in the “angle” column corresponding to the angle priority (head stitch line change) in the “sewing method” of the automatic sewing order setting screen AS. The CPU 11 calculates the sum of the movement distance L of the set sewing order, and calculates the movement distance calculated in the "distance" column corresponding to the angle priority (start stitch line change) in the "sewing method" of the automatic sewing order setting screen AS. You may display the sum of L.

操作者が角度優先(先頭縫い線変更)を選択した時、CPU11は、最初の縫い線を変更可能な状態で、最短移動角度θの縫い順を設定する。移動角度θは、縫い順によって角度優先(固定)よりも小さくなる場合がある。故に、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が更に軽減できるので、縫製装置20の耐久性が更に向上する。   When the operator selects the angle priority (leading sewing line change), the CPU 11 sets the sewing order of the shortest movement angle θ in a state where the first sewing line can be changed. The movement angle θ may be smaller than the angle priority (fixed) depending on the sewing order. Therefore, since the load applied to the feed mechanism (in particular, the feed motor) can be further reduced when the moving direction of the feed mechanism changes, the durability of the sewing device 20 is further improved.

<第一総合(固定)>
第一総合(固定)では、縫製データが指定する最初の縫い線aの縫い順は固定する。CPU11は、移動距離L(a,b)、L(a,c)、移動角度θ(a,b)、θ(a,c)を夫々算出する。CPU11は、以下の算出式(数3)で求めた値Lθ1がより小さい縫い線を次の縫い順に設定する。式中の"0.1"は重みである。重みが無いと、移動角度θの合計が0の時、移動距離Lがどんなに長い場合でも算出結果は"0"となる。この場合、移動角度θの合計が0より大きいが移動距離Lが短い場合と比べてLθ1が小さくなる。故にCPU11は、移動角度θの合計が0の場合、移動距離Lに関わらず次の縫い順に設定するので、適切な縫い順を設定できない。重みは"0.1"でなくても良く、移動角度θの合計の差による影響を打ち消さない程度に小さな値であれば良い。Lθ1(a,c)等も同様の算出式で算出できる。

Figure 2019058301
<First comprehensive (fixed)>
In the first overall (fixed), the sewing order of the first sewing line a specified by the sewing data is fixed. The CPU 11 calculates movement distances L (a, b), L (a, c), movement angles θ (a, b), θ (a, c), respectively. The CPU 11 sets a sewing line having a smaller value Lθ1 obtained by the following calculation formula (Equation 3) in the next sewing order. "0.1" in the equation is a weight. If there is no weight, when the sum of the movement angles θ is 0, the calculation result is “0” no matter how long the movement distance L is. In this case, Lθ1 is smaller than in the case where the total movement angle θ is larger than 0 but the movement distance L is short. Therefore, since the CPU 11 sets the next sewing order regardless of the movement distance L when the total movement angle θ is zero, it is not possible to set an appropriate sewing order. The weight may not be "0.1", and may be a small value so as not to cancel out the influence of the difference of the sum of the movement angles θ. Lθ 1 (a, c) and the like can also be calculated by the same calculation formula.
Figure 2019058301

例えば、Lθ1(a,c)の値の方が、Lθ1(a,b)よりも小さい時、CPU11は、縫い順(a,c,b)を第一総合(固定)の縫い順として設定する。CPU11は、設定した縫い順の移動距離Lの合計と移動角度θの合計を、自動縫い順設定画面ASの「縫い方法」において対応する「距離」の欄と「角度」の欄に夫々表示する。操作者が第一総合(固定)を選択した時、CPU11は、最初の縫い線を変更しない状態で、移動距離Lと移動角度θの両方を考慮した最適な縫い順を設定する。故に、縫製処理に掛かる時間の短縮と送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷の軽減が両立できるので、縫製装置20の稼働効率と耐久性が何れも向上する。   For example, when the value of Lθ 1 (a, c) is smaller than L θ 1 (a, b), the CPU 11 sets the sewing order (a, c, b) as the first total (fixed) sewing order . The CPU 11 displays the sum of the movement distance L of the set sewing order and the sum of the movement angle θ in the corresponding "distance" column and the "angle" column in the "sewing method" of the automatic sewing order setting screen AS. . When the operator selects the first total (fixed), the CPU 11 sets an optimal sewing order in consideration of both the movement distance L and the movement angle θ without changing the first sewing line. Therefore, both the operation efficiency and the durability of the sewing device 20 can be improved because the time required for the sewing process can be shortened and the load applied to the feed mechanism (especially the feed motor) can be reduced when the moving direction of the feed mechanism changes. .

<第一総合(先頭縫い線変更)>
第一総合(先頭縫い線変更)では、縫製データが指定する最初の縫い線aの縫い順は変更可能とする。CPU11は、各縫い線a、b、cを夫々最初の縫い線とし、移動角度θと移動距離Lを夫々算出し、数3の算出式で求めた値Lθ1がより小さい縫い線を次の縫い順として、夫々縫い順を設定する。例えば、設定した縫い順が(a,c,b)、(b,c,a)、(c,a,b)の時、CPU11は、Lθ1(a,c,b)、Lθ1(b,c,a)、Lθ1(c,a,b)の中で値が最も小さい縫い順を第一総合(先頭縫い線変更)の縫い順に設定する。CPU11は、設定した縫い順の移動距離Lの合計と移動角度θの合計を、自動縫い順設定画面ASの「縫い方法」において対応する「距離」の欄と「角度」の欄に夫々表示する。Lθ1(a,c,b)=Lθ1(a,c)+Lθ1(c,b)である。
<First overall (leading sewing line change)>
In the first total (leading sewing line change), the sewing order of the first sewing line a designated by the sewing data can be changed. The CPU 11 sets each sewing line a, b, c as the first sewing line, calculates the movement angle θ and the movement distance L, respectively, and sews the next sewing line for which the value Lθ1 is smaller according to the formula 3 As the order, each sets the sewing order. For example, when the set sewing order is (a, c, b), (b, c, a), (c, a, b), the CPU 11 sets Lθ 1 (a, c, b) and Lθ 1 (b, c). , A) and Lθ 1 (c, a, b), the sewing order having the smallest value is set to the sewing order of the first general (leading stitch line change). The CPU 11 displays the sum of the movement distance L of the set sewing order and the sum of the movement angle θ in the corresponding "distance" column and the "angle" column in the "sewing method" of the automatic sewing order setting screen AS. . Lθ1 (a, c, b) = Lθ1 (a, c) + Lθ1 (c, b).

操作者が第一総合(先頭縫い線変更)を選択した時、最初の縫い線を変更可能な状態で、CPU11は、移動距離Lと移動角度θの両方を考慮した最適な縫い順を設定する。移動距離Lと移動角度θから算出した値は、縫い順によって第一総合(固定)よりも最適化できる場合がある。故に、縫製装置20の縫製処理に掛かる時間が更に短縮でき、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が更に軽減できるので、縫製装置20の稼働効率と耐久性が何れも更に向上する。   When the operator selects the first synthesis (leading stitch line change), the CPU 11 sets an optimum sewing order in consideration of both the movement distance L and the movement angle θ in a state where the first sewing line can be changed. . The value calculated from the movement distance L and the movement angle θ may be optimized more than the first total (fixed) depending on the sewing order. Therefore, the time taken for the sewing process of the sewing device 20 can be further shortened, and the load applied to the feed mechanism (particularly the feed motor) can be further reduced when the moving direction of the feed mechanism changes, so the operating efficiency and durability of the sewing device 20 Both improve further.

<第二総合(固定)>
第二総合(固定)では、縫製データが指定する最初の縫い線aの縫い順は固定する。CPU11は、移動距離L(a,b)、L(a,c)、移動角度θ(a,b)、θ(a,c)を夫々算出する。CPU11は、以下の算出式(数4)で求めた値Lθ2がより小さい縫い線を次の縫い順に設定する。式中のt(θ)、t(L)は基準値mの移動角度θの移動に要する時間(s)と、基準値mの移動距離Lの移動に要する時間(s)を夫々示す。Lθ2(a,c)等も同様の算出式で算出できる。

Figure 2019058301
<Second comprehensive (fixed)>
In the second overall (fixed), the sewing order of the first sewing line a specified by the sewing data is fixed. The CPU 11 calculates movement distances L (a, b), L (a, c), movement angles θ (a, b), θ (a, c), respectively. The CPU 11 sets a sewing line having a smaller value Lθ2 obtained by the following calculation formula (Equation 4) in the next sewing order. T (θ 0 ) and t (L 0 ) in the equation respectively indicate the time (s) required for moving the moving angle θ of the reference value m and the time (s) required for moving the moving distance L for the reference value m . Lθ 2 (a, c) and the like can also be calculated by the same calculation formula.
Figure 2019058301

例えば、Lθ2(a,b)の値の方が、Lθ1(a,c)よりも小さい時、CPU11は、縫い順(a,b,c)を第二総合(固定)の縫い順として設定する。CPU11は、設定した縫い順の移動距離Lの合計と移動角度θの合計を、自動縫い順設定画面ASの「縫い方法」において対応する「距離」の欄と「角度」の欄に夫々表示する。操作者が第二総合(固定)を選択した時、CPU11は、最初の縫い線を変更しない状態で、移動距離Lと移動角度θの両方を考慮した最適な縫い順を設定する。故に、縫製処理に掛かる時間の短縮と送り用のモータの負荷の軽減が両立できるので、縫製装置20の稼働効率と耐久性が何れも向上する。   For example, when the value of Lθ 2 (a, b) is smaller than L θ 1 (a, c), the CPU 11 sets the sewing order (a, b, c) as the second total (fixed) sewing order . The CPU 11 displays the sum of the movement distance L of the set sewing order and the sum of the movement angle θ in the corresponding "distance" column and the "angle" column in the "sewing method" of the automatic sewing order setting screen AS. . When the operator selects the second total (fixed), the CPU 11 sets the optimum sewing order in consideration of both the movement distance L and the movement angle θ without changing the first sewing line. Therefore, since the time taken for the sewing process can be shortened and the load on the feed motor can be reduced, both the operating efficiency and the durability of the sewing device 20 are improved.

<第二総合(先頭縫い線変更)>
第二総合(先頭縫い線変更)では、縫製データが指定する最初の縫い線aの縫い順は変更可能とする。CPU11は、各縫い線a、b、cを夫々最初の縫い線とし、移動角度θと移動距離Lを夫々算出し、数4の算出式で求めた値Lθ2がより小さい縫い線を次の縫い順として、夫々縫い順を設定する。例えば、設定した縫い順が(a,c,b)、(b,c,a)、(c,b,a)の時、CPU11は、Lθ2(a,c,b)、Lθ2(b,c,a)、Lθ2(c,b,a)の中で値が最も小さい縫い順を第二総合(先頭縫い線変更)の縫い順に設定する。CPU11は、設定した縫い順の移動距離Lの合計と移動角度θの合計を、自動縫い順設定画面ASの「縫い方法」において対応する「距離」の欄と「角度」の欄に夫々表示する。Lθ2(a,c,b)=Lθ2(a,c)+Lθ2(c,b)である。
<2nd general (start stitch line change)>
In the second total (leading sewing line change), the sewing order of the first sewing line a designated by the sewing data can be changed. The CPU 11 sets each sewing line a, b, c as the first sewing line, calculates the movement angle θ and the movement distance L, respectively, and sews the next sewing line for which the value Lθ2 is smaller according to the formula 4 As the order, each sets the sewing order. For example, when the set sewing order is (a, c, b), (b, c, a), (c, b, a), the CPU 11 sets Lθ 2 (a, c, b) and Lθ 2 (b, c). , A) and Lθ 2 (c, b, a), the sewing order having the smallest value is set to the second synthetic (leading stitch line change) sewing order. The CPU 11 displays the sum of the movement distance L of the set sewing order and the sum of the movement angle θ in the corresponding "distance" column and the "angle" column in the "sewing method" of the automatic sewing order setting screen AS. . Lθ2 (a, c, b) = Lθ2 (a, c) + Lθ2 (c, b).

操作者が第二総合(先頭縫い線変更)を選択した時、CPU11は、最初の縫い線を変更可能な状態で、移動距離Lと移動角度θの両方を考慮した最適な縫い順を設定する。移動距離Lと移動角度θから算出した値は、縫い順によって第二総合(固定)よりも最適化できる場合がある。故に、縫製装置20の縫製処理に掛かる時間が更に短縮でき、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が更に軽減できるので、縫製装置20の稼働効率と耐久性が何れも更に向上する。   When the operator selects the second total (start sewing line change), the CPU 11 sets an optimum sewing order in consideration of both the movement distance L and the movement angle θ in a state where the first sewing line can be changed. . There are cases where the value calculated from the movement distance L and the movement angle θ can be optimized more than the second total (fixed) by the sewing order. Therefore, the time taken for the sewing process of the sewing device 20 can be further shortened, and the load applied to the feed mechanism (particularly the feed motor) can be further reduced when the moving direction of the feed mechanism changes, so the operating efficiency and durability of the sewing device 20 Both improve further.

<始点SSと終点SEの変更>
操作者が、縫い順表示画面の始点・終点変更枠BXにチェックを入れると、各縫い線の始点SSと終点SEが変更可能となる。操作者が、始点・終点変更枠BXにチェックを入れた時、CPU11は、始点SSと終点SEの入れ替えを考慮し縫い順を夫々設定する。例えば、距離優先(固定)の時、CPU11は、L(a,b)、L(a,c)、L(−a,b)、L(−a,c)、L(a,−b)、L(a,−c)、L(−a,−b)、L(−a,−c)を夫々算出する。"−"は始点SSと終点SEが入れ替わっていることを示す。例えば、L(−a,−c)が最も小さい値の時、CPU11は、SEaを始点としてSSaを終点とした縫い線を最初の縫い順とし、SEcを始点としてSScを終点とした縫い線を次の縫い順とする。CPU11は、L(−c,b)、L(−c,−b)を夫々算出し、例えば、L(−c,b)の方がL(−c,−b)よりも小さい時、SSbを始点としSEbを終点とする縫い線を三番目の縫い線として設定する。
<Change of start point SS and end point SE>
When the operator checks the start point / end point change frame BX of the sewing order display screen, the start point SS and the end point SE of each sewing line can be changed. When the operator checks the start point / end point change frame BX, the CPU 11 sets the sewing order in consideration of replacement of the start point SS and the end point SE. For example, at the time of distance priority (fixed), the CPU 11 sets L (a, b), L (a, c), L (-a, b), L (-a, c), L (a,-b) , L (a, -c), L (-a, -b) and L (-a, -c) are respectively calculated. "-" Indicates that the start point SS and the end point SE are interchanged. For example, when L (-a, -c) is the smallest value, the CPU 11 sets a sewing line starting from SEa to SSa as an end point as the first sewing order, and starting from SEc to SEc as a start point to sewing lines The next sewing order is used. The CPU 11 calculates L (−c, b) and L (−c, −b) respectively, and for example, when L (−c, b) is smaller than L (−c, −b), SSb Set the sewing line starting from and ending with SEb as the third sewing line.

操作者が始点・終点変更枠BXにチェックを入れた時、CPU11は、本具体例では、距離優先(固定)の縫い順として(−a,−c,b)を設定する。CPU11は、自動縫い順設定画面ASの「縫い方法」において対応する「距離」の欄に、移動距離Lの合計を表示する。操作者が始点・終点変更枠BXにチェックを入れ、距離優先(固定)を選択した時、最初の縫い線を変更しない状態、且つ始点SSと終点SEを入れ替え可能な状態で、CPU11は、最短移動距離Lの縫い順を設定する。故に、始点・終点変更枠BXにチェックを入れない状態よりも、移動距離Lが短くなり、縫製処理に掛かる時間が更に短縮できるので、稼働効率が更に向上する。   When the operator checks the start point / end point change frame BX, the CPU 11 sets (−a, −c, b) as a distance priority (fixed) sewing order in this specific example. The CPU 11 displays the total of the moving distances L in the corresponding "distance" column in the "sewing method" of the automatic stitching order setting screen AS. When the operator checks the start point / end point change frame BX and selects distance priority (fixed), the CPU 11 does not change the first sewing line, and the start point SS and the end point SE can be exchanged. The sewing order of the movement distance L is set. Therefore, the movement distance L is shorter than in the state where the start point / end point change frame BX is not checked, and the time required for the sewing process can be further shortened, so that the operation efficiency is further improved.

操作者が始点・終点変更枠BXにチェックを入れ、距離優先(先頭縫い線変更)を選択した時、CPU11は、最初の縫い線を変更可能な状態、且つ始点SSと終点SEを入れ替え可能な状態で、最短移動距離Lの縫い順を設定する。移動距離Lは、始点・終点変更枠BXにチェックを入れない状態よりも短くなる。故に、縫製装置20の縫製処理に掛かる時間が更に短縮できるので、縫製装置20の稼働効率が更に向上する。   When the operator checks the start point / end point change frame BX and selects distance priority (start stitch line change), the CPU 11 can change the first sewing line, and can switch the start point SS and the end point SE. In the state, the sewing order of the shortest movement distance L is set. The movement distance L is shorter than in the state where the start point / end point change frame BX is not checked. Therefore, since the time taken for the sewing process of the sewing device 20 can be further shortened, the operation efficiency of the sewing device 20 is further improved.

操作者が始点・終点変更枠BXにチェックを入れ、角度優先(固定)を選択した時、CPU11は、最初の縫い線を変更しない状態、且つ始点SSと終点SEを入れ替え可能な状態で、最短移動角度θの縫い順を設定する。故に、始点・終点変更枠BXにチェックを入れない状態よりも小さくなる。故に、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が更に軽減できるので、縫製装置20の耐久性が更に向上する。   When the operator checks the start point / end point change frame BX and selects angle priority (fixed), the CPU 11 does not change the first sewing line, and it is the shortest in a state where the start point SS and the end point SE can be exchanged. The sewing order of the movement angle θ is set. Therefore, it becomes smaller than the state where the start point / end point change frame BX is not checked. Therefore, since the load applied to the feed mechanism (in particular, the feed motor) can be further reduced when the moving direction of the feed mechanism changes, the durability of the sewing device 20 is further improved.

操作者が始点・終点変更枠BXにチェックを入れ、角度優先(先頭縫い線変更)を選択した時、CPU11は、最初の縫い線を変更可能な状態、且つ始点SSと終点SEを入れ替え可能な状態で、最短移動角度θの縫い順を設定する。移動角度θは、始点・終点変更枠BXにチェックを入れない状態よりも小さくなる。故に、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が更に軽減できるので、縫製装置20の耐久性が更に向上する。   When the operator puts a check in the start point / end point change frame BX and selects the angle priority (start stitch line change), the CPU 11 can change the first sewing line, and can switch the start point SS and the end point SE. In the state, the sewing order of the shortest movement angle θ is set. The movement angle θ is smaller than in the state where the start point / end point change frame BX is not checked. Therefore, since the load applied to the feed mechanism (in particular, the feed motor) can be further reduced when the moving direction of the feed mechanism changes, the durability of the sewing device 20 is further improved.

操作者が始点・終点変更枠BXにチェックを入れ、第一総合(固定)又は第二総合(固定)を選択する。CPU11は、最初の縫い線を変更しない状態、且つ始点SSと終点SEを入れ替え可能な状態で、移動距離Lと移動角度θの両方を考慮した最適な縫い順を設定する。移動距離Lと移動角度θから算出した値は、始点・終点変更枠BXにチェックを入れない状態よりも最適化できる。故に、縫製装置20の縫製処理に掛かる時間が更に短縮でき、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が更に軽減できるので、縫製装置20の稼働効率と耐久性が何れも更に向上する。   The operator checks the start point / end point change frame BX and selects the first total (fixed) or the second total (fixed). The CPU 11 sets an optimal sewing order in consideration of both the movement distance L and the movement angle θ in a state in which the first sewing line is not changed and in which the start point SS and the end point SE can be switched. The value calculated from the movement distance L and the movement angle θ can be optimized more than the state where the start point / end point change frame BX is not checked. Therefore, the time taken for the sewing process of the sewing device 20 can be further shortened, and the load applied to the feed mechanism (particularly the feed motor) can be further reduced when the moving direction of the feed mechanism changes, so the operating efficiency and durability of the sewing device 20 Both improve further.

操作者が始点・終点変更枠BXにチェックを入れ、第一総合(先頭縫い線変更)又は第二総合(先頭縫い線変更)を選択する。CPU11は、最初の縫い線を変更可能な状態、且つ始点SSと終点SEを入れ替え可能な状態で、移動距離Lと移動角度θの両方を考慮した最適な縫い順を設定する。移動距離Lと移動角度θから算出した値は、始点・終点変更枠BXにチェックを入れない状態よりも最適化できる。故に、縫製装置20の縫製処理に掛かる時間が更に短縮でき、送り機構の移動方向が変化する時に送り機構(特に送りモータ)に加わる負荷が更に軽減できるので、縫製装置20の稼働効率と耐久性が何れも更に向上する。   The operator puts a check in the start point / end point change frame BX, and selects the first total (start stitch line change) or the second total (start stitch line change). The CPU 11 sets an optimum sewing order in consideration of both the movement distance L and the movement angle θ in a state in which the first sewing line can be changed and in which the start point SS and the end point SE can be switched. The value calculated from the movement distance L and the movement angle θ can be optimized more than the state where the start point / end point change frame BX is not checked. Therefore, the time taken for the sewing process of the sewing device 20 can be further shortened, and the load applied to the feed mechanism (particularly the feed motor) can be further reduced when the moving direction of the feed mechanism changes, so the operating efficiency and durability of the sewing device 20 Both improve further.

図6は、操作者がある縫い方法を選択し、第二縫い順再生ボタンRSB2を選択した時の再生中の画面の例を示している。図6では、始点SS1と終点SE1の縫い線の次の縫い線が始点SS6と終点SE6の縫い線に縫い順が変わった例を示す。第一縫い順再生ボタンRSB1、第二縫い順再生ボタンRSB2は、何れも停止ボタンRSB1、RSB2に変わる。図6に示す如く、始点SS6と終点SE6の縫い線は、現在の縫い順の縫い線であり、本具体例では、長方形の枠で囲まれている。縫い順表示領域AR2は、縫い線の一覧において、現在の縫い順を示す番号(この時は、第2番目縫い線「No.2」)をハイライト表示する。縫い線を長方形で囲み、縫い順表示領域AR2の縫い線の一覧においてハイライト表示することで、現在の縫い順の縫い線を強調的に表示し、操作者が見誤らないようにできる。操作者は何度も繰り返し再生する必要が無くなるので、操作者は、縫い順の確認時間を短縮できる。故に、操作者の作業効率が向上する。現在の縫い順の縫い線を長方形で囲む方法は、現在の縫い順の縫い線を強調的に表示する方法の一例に過ぎず、縫い線の色を変えたり、縫い線の線を太くしたり、縫い線を長方形以外の形の枠で囲んだり、枠で囲んだ領域を更にマーキングする等しても良い。この様に、操作者が自動縫い順設定画面ASで縫い方法を選択し、第二縫い順再生ボタンRSB2を選択すると、表示部14は、選択した縫い方法において設定した縫い順に従い、縫い線単位で表示領域AR1に順次表示し、現在の縫い順の縫い線を強調的に表示する。   FIG. 6 shows an example of a screen during reproduction when the operator selects a sewing method and selects the second sewing order reproduction button RSB2. FIG. 6 shows an example in which the next sewing line of the sewing line of the start point SS1 and the end point SE1 is changed to the sewing line of the start point SS6 and the end point SE6. The first sewing order reproduction button RSB1 and the second sewing order reproduction button RSB2 both change to the stop buttons RSB1 and RSB2. As shown in FIG. 6, the sewing lines of the start point SS6 and the end point SE6 are the sewing lines of the current sewing order, and in this example, are surrounded by a rectangular frame. The sewing order display area AR2 highlights the number indicating the current sewing order (in this case, the second sewing line "No. 2") in the list of sewing lines. By encircling the sewing lines in a rectangle and highlighting them in the list of sewing lines in the sewing order display area AR2, it is possible to highlight the sewing lines of the current sewing order so that the operator does not misjudge them. Since the operator does not have to repeat the reproduction many times, the operator can shorten the confirmation time of the sewing order. Therefore, the work efficiency of the operator is improved. The method of enclosing the sewing line of the current sewing order in a rectangle is only an example of a method of emphasizing the sewing line of the current sewing order, changing the color of the sewing line or thickening the sewing line The sewing line may be surrounded by a frame other than a rectangular shape, or the boxed area may be further marked. In this manner, when the operator selects the sewing method on the automatic sewing order setting screen AS and selects the second sewing order reproduction button RSB2, the display unit 14 sews the sewing line unit in accordance with the sewing order set in the selected sewing method. Is sequentially displayed in the display area AR1, and the sewing lines in the current sewing order are displayed emphatically.

以上は、操作者が第二縫い順再生ボタンRSB2を選択した時の、縫い順再生の方法である。第二縫い順再生ボタンRSB2を選択する以外に、操作者は第二進捗バーPB2を移動して、縫い順再生を実行できる。例えば、操作者が、同じ縫い方法を選択し、縫い順が二番目に対応する位置に第二進捗バーPB2を移動すると、表示部14は、図6に示す画面を表示する。表示部14は、一番目と二番目の縫い線を同時に表示し、二番目の縫い線を強調的に表示する。この後、表示部14は、三番目以降の縫い順の縫い線を上述した方法に従って表示する。CPU11は、第二進捗バーPB2を一番目、三番目、四番目、・・・・に対応する位置に移動した時も同様に縫い線を表示する処理を行う。   The above is the method of sewing order reproduction when the operator selects the second sewing order reproduction button RSB2. Besides selecting the second sewing order reproduction button RSB2, the operator can move the second progress bar PB2 to execute sewing order reproduction. For example, when the operator selects the same sewing method and moves the second progress bar PB2 to the second position corresponding to the sewing order, the display unit 14 displays the screen shown in FIG. The display unit 14 simultaneously displays the first and second sewing lines and highlights the second sewing line. Thereafter, the display unit 14 displays the sewing lines in the third and subsequent sewing orders in accordance with the above-described method. When the second progress bar PB2 has been moved to the position corresponding to the first, third, fourth,...

<自動縫い順設定処理>
図7と図8を参照して、本実施形態における自動縫い順設定処理の流れを説明する。CPU11は、記憶部12に記憶するプログラムを読み出して本自動縫い順処理を実行する。本自動縫い順設定処理は、図6に示す縫い順表示画面の自動縫い順ボタンASBを選択したことをトリガとして開始する。該時、表示領域AR1は、縫製データが指定する縫い順に従い、全ての縫い線を表示する。
<Automatic sewing order setting process>
The flow of the automatic sewing order setting process according to the present embodiment will be described with reference to FIGS. 7 and 8. The CPU 11 reads the program stored in the storage unit 12 and executes the automatic sewing order process. The automatic sewing order setting process is triggered by selection of the automatic sewing order button ASB on the sewing order display screen shown in FIG. 6 as a trigger. At this time, the display area AR1 displays all the sewing lines in accordance with the sewing order specified by the sewing data.

CPU11は、操作者が自動縫い順ボタンASBを選択したか判定する(S11)。CPU11は、操作者が自動縫い順ボタンASBを選択してないと判定した時(S11:NO)、S11を繰り返す。CPU11は、操作者が自動縫い順ボタンASBを選択したと判定した時(S11:YES)、各縫い方法の最適な縫い順の候補を夫々設定する(S12)。この時、CPU11は、始点・終点変更枠BXにチェックが有るか判定し、チェックが有る時は、各縫い線の始点と終点を変更可能な状態で、各縫い方法の最適な縫い順の候補を夫々設定する。CPU11は、チェックが無い時は、縫製データが指定する各縫い線の始点SSと終点SEを変更しない状態で、各縫い方法の最適な縫い順の候補を夫々設定する。   The CPU 11 determines whether the operator has selected the automatic sewing order button ASB (S11). When it is determined that the operator does not select the automatic sewing order button ASB (S11: NO), the CPU 11 repeats S11. When it is determined that the operator has selected the automatic sewing order button ASB (S11: YES), the CPU 11 sets candidates for the optimum sewing order of each sewing method (S12). At this time, the CPU 11 determines whether or not there is a check in the start point / end point change frame BX. If there is a check, candidates for the optimum sewing order of each sewing method can be changed in a state where the start point and end point of each sewing line can be changed. Set each one. When there is no check, the CPU 11 sets candidates for the optimum sewing order of each sewing method without changing the start point SS and the end point SE of each sewing line specified by the sewing data.

CPU11は、自動縫い順設定画面ASを表示する(S13)。自動縫い順設定画面ASは、「縫い方法」の欄と、「距離」の欄と、「角度」の欄に、S12で設定した内容を反映して表示する。CPU11は、操作者が自動縫い順設定画面ASにおいて縫い方法を選択したか判定する(S14)。CPU11は、操作者が縫い方法を選択していないと判定した時(S14:NO)、操作者が自動縫い順設定画面ASにおいて中止ボタンB2を選択したか判定する(S15)。CPU11は、操作者が中止ボタンB2を選択したと判定した時(S15:YES)、自動縫い順設定処理を終了する。   The CPU 11 displays the automatic sewing order setting screen AS (S13). The automatic sewing order setting screen AS reflects and displays the contents set in S12 in the “sewing method” column, the “distance” column, and the “angle” column. The CPU 11 determines whether the operator has selected the sewing method on the automatic sewing order setting screen AS (S14). When it is determined that the operator has not selected the sewing method (S14: NO), the CPU 11 determines whether the operator has selected the cancel button B2 on the automatic sewing order setting screen AS (S15). When it is determined that the operator selects the cancel button B2 (S15: YES), the CPU 11 ends the automatic sewing order setting process.

CPU11は、操作者が中止ボタンB2を選択していないと判定した時(S15:NO)、S14に戻る。CPU11は、操作者が縫い方法を選択したと判定した時(S14:YES)、選択した縫い方法の縫い順に従い、全ての縫い線をメイン画面の表示領域AR1に表示する(S16)。CPU11は、操作者が、自動縫い順設定画面ASの第二縫い順再生ボタンRSB2を選択又は第二進捗バーPB2を移動したか判定する(S18)。   When it is determined that the operator has not selected the cancel button B2 (S15: NO), the CPU 11 returns to S14. When it is determined that the operator has selected the sewing method (S14: YES), the CPU 11 displays all the sewing lines in the display area AR1 of the main screen in accordance with the sewing order of the selected sewing method (S16). The CPU 11 determines whether the operator has selected the second sewing order reproduction button RSB2 of the automatic sewing order setting screen AS or moved the second progress bar PB2 (S18).

CPU11は、操作者が自動縫い順設定画面ASの第二縫い順再生ボタンRSB2を選択も第二進捗バーPB2を移動もしていないと判定した時(S18:NO)、S110に進める。CPU11は、操作者が自動縫い順設定画面ASの第二縫い順再生ボタンRSB2を選択又は第二進捗バーPB2を移動したと判定した時(S18:YES)、縫い順再生処理を実行する(S19)。縫い順再生処理は後述する。   When the CPU 11 determines that the operator has neither selected the second sewing order reproduction button RSB2 of the automatic sewing order setting screen AS nor moved the second progress bar PB2 (S18: NO), the CPU 11 proceeds to S110. When it is determined that the operator has selected the second sewing order reproduction button RSB2 of the automatic sewing order setting screen AS or moved the second progress bar PB2 (S18: YES), the CPU 11 executes the sewing order reproduction process (S19). ). The sewing order reproduction process will be described later.

CPU11は、操作者が自動縫い順設定画面ASにおいて縫い方法を選択したか判定する(S110)。S110の処理はS14の処理と同様である。CPU11は、操作者が縫い方法を選択したと判定した時(S110:YES)、S16に戻る。CPU11は、縫い方法を選択していないと判定した時(S110:NO)、操作者が自動縫い順設定画面ASにおいて続行ボタンB1を選択したか判定する(S111)。CPU11は、操作者が続行ボタンB1を選択していないと判定した時(S111:NO)、操作者が自動縫い順設定画面ASにおいて中止ボタンB2を選択したか判定する(S112)。   The CPU 11 determines whether the operator has selected the sewing method on the automatic sewing order setting screen AS (S110). The process of S110 is similar to the process of S14. When the CPU 11 determines that the operator has selected the sewing method (S110: YES), the process returns to S16. When it is determined that the sewing method has not been selected (S110: NO), the CPU 11 determines whether the operator has selected the continue button B1 on the automatic sewing order setting screen AS (S111). When determining that the operator has not selected the continue button B1 (S111: NO), the CPU 11 determines whether the operator has selected the cancel button B2 on the automatic stitching order setting screen AS (S112).

CPU11は、操作者が中止ボタンB2を選択していないと判定した時(S112:NO)、S18に戻る。CPU11は、操作者が中止ボタンB2を選択したと判定した時(S112:YES)、メイン画面の表示領域AR1に元の縫い順(縫製データが指示する縫い順)に従い全ての縫い線を表示する(S113)。CPU11は、自動縫い順設定処理を終了する。   When it is determined that the operator has not selected the cancel button B2 (S112: NO), the CPU 11 returns to S18. When it is determined that the operator has selected the cancel button B2 (S112: YES), the CPU 11 displays all the sewing lines in the display area AR1 of the main screen according to the original sewing order (sewing order instructed by the sewing data) (S113). The CPU 11 ends the automatic sewing order setting process.

CPU11は、操作者が続行ボタンB1を選択したと判定した時(S111:YES)、S14又はS110で選択した縫い方法に対応する縫い順を縫製データに反映する(S114)。この時、CPU11は、縫い順表示領域AR2に縫い順に従い縫い線を個々に表示し、メイン画面の表示領域AR1に縫い順に従い全ての縫い線を表示する。CPU11は、自動縫い順設定処理を終了する。   When it is determined that the operator selects the continue button B1 (S111: YES), the CPU 11 reflects the sewing order corresponding to the sewing method selected in S14 or S110 in the sewing data (S114). At this time, the CPU 11 individually displays the sewing lines in the sewing order display area AR2 in accordance with the sewing order, and displays all the sewing lines in the display area AR1 of the main screen in accordance with the sewing order. The CPU 11 ends the automatic sewing order setting process.

<縫い順再生処理>
図9を参照して、本実施形態の縫い順再生処理の流れを説明する。本縫い順再生処理は、自動縫い順設定処理のS19に対応する処理である。
<Sew order reproduction processing>
The flow of the sewing order reproduction process of the present embodiment will be described with reference to FIG. The lock stitch order reproduction process is a process corresponding to S19 of the automatic sewing order setting process.

CPU11は、操作者が第二縫い順再生ボタンRSB2を選択したか判定する(S21)。CPU11は、操作者が第二縫い順再生ボタンRSB2を選択していないと判定した時は(S21:NO)、操作者が、第二進捗バーPB2を移動したか判定する(S22)。CPU11は、操作者が第二進捗バーPB2を移動していないと判定した時は(S22:NO)、S21に戻り、前述の処理を繰り返す。   The CPU 11 determines whether the operator has selected the second sewing order reproduction button RSB2 (S21). When it is determined that the operator does not select the second sewing order reproduction button RSB2 (S21: NO), the CPU 11 determines whether the operator has moved the second progress bar PB2 (S22). When it is determined that the operator has not moved the second progress bar PB2 (S22: NO), the CPU 11 returns to S21 and repeats the above-described processing.

CPU11は、操作者が第二縫い順再生ボタンRSB2を選択したと判定した時は(S21:YES)、表示部14を制御して、第二縫い順再生ボタンRSB2を停止ボタンRSB2に変更する(S23)。CPU11は、メイン画面の表示領域AR1に縫い始点SS0以外を非表示にする(S24)。   When it is determined that the operator has selected the second sewing order reproduction button RSB2 (S21: YES), the CPU 11 controls the display unit 14 to change the second sewing order reproduction button RSB2 to the stop button RSB2 ( S23). The CPU 11 hides the display area AR1 of the main screen except the sewing start point SS0 (S24).

CPU11は、表示領域AR1に、縫い順に従って、縫い線単位で縫い線を所定の時間間隔で順次表示する(S25)。CPU11は、全ての縫い線を表示領域AR1に表示したか判定する(S26)。CPU11は、全ての縫い線を表示したと判定した時は(S26:YES)、縫い順再生処理を終了する。CPU11は、全ての縫い線を表示していないと判定した時は(S26:NO)、操作者が停止ボタンRSB2を選択したか判定する(S27)。CPU11は、操作者が停止ボタンRSB2を選択していないと判定した時に(S27:NO)、操作者が、第二進捗バーPB2を移動したか判定する(S28)。   The CPU 11 sequentially displays sewing lines at a predetermined time interval in sewing line units in the display area AR1 in accordance with the sewing order (S25). The CPU 11 determines whether all the sewing lines have been displayed in the display area AR1 (S26). When it is determined that all the sewing lines have been displayed (S26: YES), the CPU 11 ends the sewing order reproduction process. When the CPU 11 determines that all the sewing lines are not displayed (S26: NO), the CPU 11 determines whether the operator has selected the stop button RSB2 (S27). When the CPU 11 determines that the operator has not selected the stop button RSB2 (S27: NO), it determines whether the operator has moved the second progress bar PB2 (S28).

CPU11は、操作者が第二進捗バーPB2を移動したと判定した時に(S28:YES)、後述のS211に進める。CPU11は、操作者が第二進捗バーPB2を移動していないと判定した時に(S28:NO)、S25に戻る。S27において、CPU11は、操作者が停止ボタンRSB2を選択したと判定した時に(S7:YES)、縫い順再生を停止し、表示領域AR1に全ての縫い線を表示する(S29)。CPU11は、停止ボタンRSB2を第二縫い順再生ボタンRSB2に変更し、第二進捗バーPB2を最初の位置に戻す(S210)。CPU11は、縫い順再生処理を終了する。   When determining that the operator has moved the second progress bar PB2 (S28: YES), the CPU 11 proceeds to S211 described later. When the CPU 11 determines that the operator has not moved the second progress bar PB2 (S28: NO), the process returns to S25. In S27, when the CPU 11 determines that the operator selects the stop button RSB2 (S7: YES), the sewing order reproduction is stopped and all the sewing lines are displayed in the display area AR1 (S29). The CPU 11 changes the stop button RSB2 to the second sewing order reproduction button RSB2 and returns the second progress bar PB2 to the initial position (S210). The CPU 11 ends the sewing order reproduction process.

S22又はS28において、CPU11は、操作者が第二進捗バーPB2を移動したと判定した時は(S22:YES)、第二進捗バーPB2の移動位置に対応する縫い順の縫い線迄、同時に表示領域AR1に表示する(S211)。CPU11は、第二進捗バーPB2の移動位置に対応する縫い順の次の縫い順以降を縫い線単位で所定の時間間隔にて順次表示する(S212)。CPU11は、S26に進め、前述の処理(S26〜S210)を実行する。   In S22 or S28, when the CPU 11 determines that the operator has moved the second progress bar PB2 (S22: YES), a sewing line 縫 い in the sewing order corresponding to the movement position of the second progress bar PB2 is simultaneously displayed Display in the area AR1 (S211). The CPU 11 sequentially displays the next and subsequent sewing orders of the sewing order corresponding to the movement position of the second progress bar PB2 at predetermined time intervals in sewing line units (S212). The CPU 11 proceeds to S26 and executes the above-described processing (S26 to S210).

<主な効果>
端末装置10は、操作者が自動縫い順設定画面ASの縫い方法の一覧の中から選択した縫い方法の縫い順の候補に縫製データの縫い順を変更する。故に、操作者は、多様なニーズの中から操作者のニーズに合った縫い順を選択できる。
<Main effects>
The terminal device 10 changes the sewing order of the sewing data to a candidate of the sewing order of the sewing method selected from the list of sewing methods of the automatic sewing order setting screen AS by the operator. Therefore, the operator can select a sewing order that meets the operator's needs from among various needs.

端末装置10は、各縫い方法に対応する縫い順として、各縫い方法に最適な縫い順を設定する。故に、操作者がニーズに合った縫い方法を選択した時、縫製装置20は、選択した縫い方法に最適な縫い順に従い、縫製処理できる。   The terminal device 10 sets a sewing order optimal for each sewing method as the sewing order corresponding to each sewing method. Therefore, when the operator selects a sewing method that meets the needs, the sewing device 20 can perform the sewing process in accordance with the optimum sewing order for the selected sewing method.

端末装置10は、操作者が自動縫い順ボタンASBを選択した時、各縫い方法の最適な縫い順の候補を夫々設定する。故に、操作者が縫い方法を選択した時、端末装置10は、選択した縫い方法の縫い順の候補に従い、全ての複数の縫い線を直ぐに表示することができる。   When the operator selects the automatic sewing order button ASB, the terminal device 10 sets candidates for the optimum sewing order of each sewing method. Therefore, when the operator selects the sewing method, the terminal device 10 can immediately display all the plurality of sewing lines in accordance with the sewing order candidates of the selected sewing method.

端末装置10は、縫い順に従って、縫い線単位で縫い線を順次表示する。故に、従来のスロー表示よりも早く縫い順を操作者に示すことができ、操作者の作業効率が向上する。端末装置10は、現在の縫い順に対応する縫い線を強調的に表示する。例えば、表示部14に、非常に多くの縫い線が表示されている状況であっても、操作者は縫い線の縫い順を容易に理解でき、且つ現在の縫い順に対応する縫い線を見誤る可能性を低減できる。故に、操作者は、繰り返し再生する必要が無くなるので、操作者の作業効率が向上する。   The terminal device 10 sequentially displays sewing lines in a sewing line unit in accordance with the sewing order. Therefore, the operator can indicate the sewing order earlier than the conventional slow display, and the operator's work efficiency is improved. The terminal device 10 highlights the sewing line corresponding to the current sewing order. For example, even in the situation where a large number of sewing lines are displayed on the display unit 14, the operator can easily understand the sewing order of the sewing lines, and miss the sewing lines corresponding to the current sewing order. The possibility can be reduced. Therefore, since the operator does not have to repeat the reproduction, the work efficiency of the operator is improved.

端末装置10は、操作者が、第二進捗バーPB2を移動した時に、移動した位置に対応する縫い順の縫い線迄を表示領域AR1に同時に表示し、それ以降の縫い線を縫い順に従って、縫い線単位で順次表示する。例えば、万が一、操作者が縫い線の縫い順を見誤ったとしても、端末装置10は、第二進捗バーPB2で任意の縫い順から再生を開始できる。故に、操作者は、また最初から縫い順を再生する必要がないので、操作者の作業効率が向上する。   When the operator moves the second progress bar PB2, the terminal device 10 simultaneously displays the sewing line tack in the sewing order corresponding to the moved position in the display area AR1, and the subsequent sewing lines are performed according to the sewing order Display sequentially in sewing line units. For example, even if the operator misinterprets the sewing order of the sewing lines, the terminal device 10 can start reproduction from any sewing order with the second progress bar PB2. Therefore, since the operator does not have to reproduce the sewing order from the beginning, the work efficiency of the operator is improved.

<変形例>
上記実施形態では、端末装置10は、縫い順表示画面をメイン画面に重畳表示したが、これに限定されず、一つの画面上に両方を表示しても良い。縫い方法は、距離優先(固定)、距離優先(先頭縫い線変更)、角度優先(固定)、角度優先(先頭縫い線変更)、第一総合(固定)、第一総合(先頭縫い線変更)、第二総合(固定)、第二総合(先頭縫い線変更)の全てを含んでいなくてよく、一部のみでもよい。
<Modification>
In the above embodiment, the terminal device 10 displays the sewing order display screen superimposed on the main screen. However, the present invention is not limited to this, and both may be displayed on one screen. Sewing methods are: distance priority (fixed), distance priority (start stitch line change), angle priority (fixed), angle priority (start stitch line change), first general (fixed), first general (start stitch line change) , The second total (fixed), the second total (start stitch line change) may not be included, or may be only a part.

上記実施形態では、CPU11は、自動縫い順ボタンASBを選択した時に、各縫い方法に最適な縫い順の候補を夫々設定した。これに限定されることなく、例えば、CPU11は、自動縫い順設定画面ASの縫い方法の一覧から操作者が縫い方法を選択した時に、選択した縫い方法の縫い順の候補のみを設定しても良い。図10は、選択した縫い方法の縫い順の候補のみを設定する時の自動縫い順設定処理の流れ図の一部である。S12の処理のかわりにS31の処理が加わった点で異なり、他は上述した実施形態の自動縫い順設定処理と同じである。CPU11は、操作者が選択した縫い方法の縫い順の候補のみを設定するので、CPU11の処理負荷が軽減できる。   In the above embodiment, when the automatic sewing order button ASB is selected, the CPU 11 sets the candidate for the sewing order optimal for each sewing method. For example, when the operator selects a sewing method from the list of sewing methods in the automatic sewing order setting screen AS, the CPU 11 may set only the candidate for the sewing order of the selected sewing method. good. FIG. 10 is a part of a flowchart of an automatic sewing order setting process when setting only sewing order candidates of the selected sewing method. The difference is that the process of S31 is added instead of the process of S12, and the others are the same as the automatic sewing order setting process of the embodiment described above. Since the CPU 11 sets only the sewing order candidate of the sewing method selected by the operator, the processing load on the CPU 11 can be reduced.

自動縫い順設定処理を実行する為のプログラム等は、インターネット上のサーバ装置が有するディスク装置等に記憶し、端末装置10は各種のプログラムをダウンロード等しても良い。   A program or the like for executing the automatic sewing order setting process may be stored in a disk device or the like included in a server device on the Internet, and the terminal device 10 may download various programs.

実施形態に応じて、端末装置10は、ROM、RAM以外の他の種類の記憶装置を利用してもよい。例えば、端末装置10は、CAM(Content Addressable Memory)、SRAM(Static Random Access Memory)、SDRAM(Synchronous Dynamic Random Access Memory)等の記憶装置を有してもよい。   Depending on the embodiment, the terminal device 10 may use other types of storage devices other than the ROM and the RAM. For example, the terminal device 10 may have a storage device such as a content addressable memory (CAM), a static random access memory (SRAM), or a synchronous dynamic random access memory (SDRAM).

実施形態に応じて、端末装置10の電気的構成は図2と異なっていても良く、図2に例示した規格・種類以外のその他のハードウェアが端末装置10に適用できる。   Depending on the embodiment, the electrical configuration of the terminal device 10 may be different from that of FIG. 2, and hardware other than the standards and types illustrated in FIG. 2 can be applied to the terminal device 10.

例えば、図2に示す端末装置10の制御部は、ハードウェア回路で実現しても良い。具体的には、CPU11の代わりに、FPGA(Field Programmable Gate Array)等のリコンフィギュラブル回路、又はASIC(Application Specific Integrated Circuit)等で、制御部は実現しても良い。CPU11とハードウェア回路の双方で、制御部は実現しても良い。   For example, the control unit of the terminal device 10 shown in FIG. 2 may be realized by a hardware circuit. Specifically, the control unit may be realized by a reconfigurable circuit such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), instead of the CPU 11. The control unit may be realized by both the CPU 11 and the hardware circuit.

<その他>
端末装置10は、「縫い順設定装置」の一例である。CPU11と続行ボタンB1は、「変更部」の一例である。CPU11は、「制御部」の一例である。CPU11は、「設定部」の一例である。縫い方法は、「条件」の一例である。自動縫い順設定画面ASは、「第一表示部」の一例である。表示領域AR1は、「第二表示部」の一例である。操作部13は、「操作部」の一例である。CPU11と始点・終点変更枠BXは、「変更可能部」の一例である。CPU11と第二縫い順再生ボタンRSB2は、「再生部」の一例である。CPU11と第二進捗バーPB2は、「進捗部」の一例である。
<Others>
The terminal device 10 is an example of the “stitching order setting device”. The CPU 11 and the continue button B1 are examples of the “change unit”. The CPU 11 is an example of a “control unit”. The CPU 11 is an example of a “setting unit”. The sewing method is an example of the “condition”. The automatic sewing order setting screen AS is an example of the “first display unit”. The display area AR1 is an example of the “second display unit”. The operation unit 13 is an example of the “operation unit”. The CPU 11 and the start point / end point change frame BX are examples of the “changeable unit”. The CPU 11 and the second sewing order reproduction button RSB2 are examples of the “reproduction unit”. The CPU 11 and the second progress bar PB2 are an example of the “progress unit”.

10 端末装置
11 CPU
13 操作部
20 縫製装置
AS 自動縫い順設定画面
AR1 表示領域
B1 続行ボタン
BX 始点・終点変更枠
RSB2 第二縫い順再生ボタン
PB2 第二進捗バー
10 terminal 11 CPU
13 operation unit 20 sewing device AS automatic sewing order setting screen AR1 display area B1 continue button BX start point / end point changing frame RSB2 second sewing order reproduction button PB2 second progress bar

Claims (19)

縫製装置により縫製するための縫製データに含まれる複数の縫い線の縫い順を設定する縫い順設定装置において、
前記複数の縫い線の縫い順を設定する為の複数の条件を表示する第一表示部と、
操作者の指示を受付ける操作部と、
前記条件に応じて、前記複数の縫い線の縫い順の候補を設定する設定部と、
前記操作者が前記操作部を介して前記条件を選択した場合、前記条件に応じて前記設定部が設定した前記縫い順の候補に前記縫製データの縫い順を変更する変更部と、
前記変更部で前記操作者が前記操作部を介して前記条件を選択する場合、前記第一表示部を制御して前記複数の条件を表示する制御部と、
を備えることを特徴とする縫い順設定装置。
A sewing order setting device for setting a sewing order of a plurality of sewing lines included in sewing data for sewing by a sewing device,
A first display unit for displaying a plurality of conditions for setting a sewing order of the plurality of sewing lines;
An operation unit that receives an operator's instruction;
A setting unit configured to set candidates for the sewing order of the plurality of sewing lines according to the condition;
A changing unit that changes the sewing order of the sewing data to the candidate of the sewing order set by the setting unit according to the condition when the operator selects the condition via the operation unit;
A control unit configured to control the first display unit to display the plurality of conditions when the operator selects the condition via the operation unit in the change unit;
A sewing order setting device comprising:
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更しない状態で、夫々の前記縫い線の終点と他の前記縫い線の始点への距離の合計を含み、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記最初の縫い線の前記終点から前記最初の縫い線を除く前記複数の縫い線の前記始点迄の前記距離を夫々算出し、算出した前記距離が最小の縫い線の前記始点を有する縫い線を二番目の縫い線として設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点迄の前記距離を夫々算出し、算出した前記距離が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、前記縫い順の候補を設定することを特徴とする請求項1に記載の縫い順設定装置。
The plurality of conditions include the sum of the end points of the respective sewing lines and the distances to the start points of the other sewing lines without changing the sewing order of the first sewing lines specified by the sewing data.
The sewing data designates the start point and the end point of the sewing line,
The setting unit calculates each of the distances of the start points of the plurality of sewing lines excluding the first sewing line from the end point of the first sewing line, and the calculated start point of the sewing line having the smallest distance Setting the sewing line having the second sewing line as the second sewing line, from the end point of the set second sewing line, excluding the first sewing line and the second sewing line The process of calculating each of the distances and setting the sewing line having the starting point of the calculated sewing line having the smallest distance as the third sewing line is repeated until the last sewing order is specified, in the sewing order The sewing order setting device according to claim 1, wherein the candidate is set.
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更可能な状態で、夫々の前記縫い線の終点と他の前記縫い線の始点への距離の合計を含み、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記複数の縫い線の中から最初の縫い線を夫々設定し、設定した前記最初の縫い線の前記終点から設定した前記最初の縫い線を除く前記複数の縫い線の前記始点迄の前記距離を夫々算出し、算出した前記距離が最小の縫い線の前記始点を有する縫い線を二番目の縫い線として夫々設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点迄の前記距離を夫々算出し、算出した前記距離が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を前記最初の縫い線にした時の縫い順の中から、前記距離の合計が最小の縫い順を前記縫い順の候補として設定することを特徴とする請求項1又は2に記載の縫い順設定装置。
The plurality of conditions include a sum of an end point of each of the sewing lines and a distance to a start point of the other sewing lines, in a state in which the sewing order of the first sewing lines specified by the sewing data can be changed.
The sewing data designates the start point and the end point of the sewing line,
The setting unit sets a first sewing line among the plurality of sewing lines, and the starting points of the plurality of sewing lines except the first sewing line set from the end point of the set first sewing line The distance of the heel is calculated, and the calculated sewing line having the minimum starting point of the sewing line is set as a second sewing line, and the first end of the set second sewing line is set from the end point of the set second sewing line Calculating the distance of the starting point of each of the plurality of sewing lines excluding the second sewing line and the second sewing line, and sewing the third sewing line having the starting point of the calculated sewing line with the smallest distance. A process of setting each line as a line is repeated until each final sewing order is specified, and among the sewing orders when each sewing line is made the first sewing line, the sewing order with the smallest total distance is Set as a candidate for sewing order Sewing order setting device according to claim 1 or 2 that.
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更しない状態で、夫々の前記縫い線の終点から他の前記縫い線の始点へ前記縫製装置の送り機構を移動する時の、前記送り機構の移動方向の変化量である角度の合計を含み、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記最初の縫い線の前記終点から前記最初の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記角度を夫々算出し、算出した前記角度が最小の縫い線の前記始点を有する縫い線を二番目の縫い線として設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記角度を夫々算出し、算出した前記角度が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、前記縫い順の候補を設定することを特徴とする請求項1〜3の何れか一に記載の縫い順設定装置。
The plurality of conditions move the feed mechanism of the sewing device from the end point of each sewing line to the start point of the other sewing line without changing the sewing order of the first sewing line specified by the sewing data Including the sum of angles, which are the amount of change in the direction of movement of the feed mechanism when
The sewing data designates the start point and the end point of the sewing line,
The setting unit calculates each of the angles when moving from the end point of the first sewing line to the starting point of the plurality of sewing lines excluding the first sewing line, and the calculated angle is the smallest sewing line A sewing line having the starting point of the first sewing line is set as a second sewing line, and the first sewing line and the second sewing line are excluded from the end point of the set second sewing line; The final sewing order is specified by the process of calculating the angles when moving to the starting point and setting the sewing line having the starting point of the calculated sewing line with the smallest angle as the third sewing line The sewing order setting device according to any one of claims 1 to 3, wherein the sewing order candidate is repeatedly set.
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更可能な状態で、夫々の前記縫い線の終点から他の前記縫い線の始点へ前記縫製装置の送り機構を移動する時の、前記送り機構の移動方向の変化量である角度の合計を含み、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記複数の縫い線の中から最初の縫い線を夫々設定し、設定した前記最初の縫い線の前記終点から設定した前記最初の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記角度を夫々算出し、算出した前記角度が最小の縫い線の前記始点を有する縫い線を二番目の縫い線として夫々設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記角度を夫々算出し、算出した前記角度が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を前記最初の縫い線にした時の縫い順の中から、前記角度の合計が最小の縫い順を前記縫い順の候補として設定することを特徴とする請求項1〜4の何れか一に記載の縫い順設定装置。
The plurality of conditions are such that the feeding mechanism of the sewing device is moved from the end point of each sewing line to the start point of the other sewing line in a state where the sewing order of the first sewing line designated by the sewing data can be changed. Including the sum of angles, which is the amount of change in the direction of movement of the feed mechanism when moving
The sewing data designates the start point and the end point of the sewing line,
The setting unit sets a first sewing line among the plurality of sewing lines, and the starting points of the plurality of sewing lines except the first sewing line set from the end point of the set first sewing line The angle when moving to the second direction is calculated, and the stitch line having the start point of the calculated stitch line with the smallest angle is set as the second stitch line, and the end point of the set second stitch line is set. Calculating the angles when moving to the starting point of the plurality of sewing lines excluding the first sewing line and the second sewing line from each other, and calculating the sewing with the starting point of the sewing line having the smallest calculated angle The process of setting each line as the third sewing line is repeated until the last sewing order is specified respectively, and the sum of the angles is obtained from among the sewing orders when each sewing line is made the first sewing line. The smallest sewing order is a candidate for the sewing order Sewing order setting device according to any one of claims 1 to 4, characterized in that a constant.
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更しない状態で、夫々の前記縫い線の終点と他の前記縫い線の始点へ前記縫製装置の送り機構を移動する時の距離と前記送り機構の移動方向の変化量である角度とに基づく第一値の合計を含み、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記最初の縫い線の前記終点から前記最初の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第一値が最小の前記縫い線の前記始点を有する縫い線を二番目の縫い線として設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第一値が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、前記縫い順の候補を設定することを特徴とする請求項1〜5の何れか一に記載の縫い順設定装置。
The plurality of conditions move the feed mechanism of the sewing apparatus to the end point of each of the sewing lines and the start point of the other sewing lines without changing the sewing order of the first sewing line specified by the sewing data Including the sum of the first value based on the distance between the feed and the angle which is the change in the moving direction of the feed mechanism,
The sewing data designates the start point and the end point of the sewing line,
The setting unit calculates each of the distance and the angle when moving from the end point of the first sewing line to the starting point of the plurality of sewing lines excluding the first sewing line, and calculates the calculated distance and the angle The sewing line having the starting point of the sewing line having the smallest first value based on the angle and the angle is set as a second sewing line, and the first sewing line and the first sewing line from the end point of the set second sewing line The distance and the angle when moving to the starting point of the plurality of sewing lines excluding the second sewing line are respectively calculated, and the first value of the sewing line having the smallest first value based on the calculated distance and the angle The process of setting the sewing line having the starting point as the third sewing line is repeated until the last sewing order is specified, and the candidate of the sewing order is set. The sewing order setting device described in one.
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更可能な状態で、夫々の前記縫い線の終点と他の前記縫い線の始点へ前記縫製装置の送り機構を移動する時の距離と前記送り機構の移動方向の変化量である角度とに基づく第一値の合計であり、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記複数の縫い線の中から最初の縫い線を夫々設定し、設定した前記最初の縫い線の前記終点から設定した前記最初の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第一値が最小の縫い線の前記始点を有する縫い線を二番目の縫い線として夫々設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第一値が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を前記最初の縫い線にした時の縫い順の中から、前記第一値の合計が最小の縫い順を前記縫い順の候補として設定することを特徴とする請求項1〜6の何れか一に記載の縫い順設定装置。
The plurality of conditions include changing the sewing order of the first sewing line designated by the sewing data, the feeding mechanism of the sewing device to the end point of each sewing line and the start point of the other sewing line It is the sum of the first value based on the distance when moving and the angle that is the amount of change of the moving direction of the feeding mechanism,
The sewing data designates the start point and the end point of the sewing line,
The setting unit sets a first sewing line among the plurality of sewing lines, and the starting points of the plurality of sewing lines except the first sewing line set from the end point of the set first sewing line The distance and the angle when moving to each other are calculated, and the sewing line having the starting point of the sewing line having the smallest first value based on the calculated distance and the angle is respectively set as a second sewing line Calculating the distance and the angle when moving from the end point of the set second sewing line to the starting point of the plurality of sewing lines excluding the first sewing line and the second sewing line A process of respectively setting a sewing line having the starting point of the sewing line having the smallest first value based on the calculated distance and the angle as a third sewing line, and a final sewing order is specified respectively Repeat, sew each sewing line to the first sew The sewing order setting according to any one of claims 1 to 6, wherein a sewing order having a minimum total value of the first values is set as a candidate of the sewing order among the sewing orders at the time of setting. apparatus.
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更しない状態で、夫々の前記最初の縫い線の終点から他の前記縫い線の始点への距離に第一定数を乗算した値と前記最初の縫い線の前記終点から他の前記縫い線の前記始点へ前記縫製装置の送り機構を移動する時の前記送り機構の移動方向の変化量である角度に第二定数を乗算した値とを加算した第二値の合計を含み、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記最初の縫い線の前記終点から前記最初の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第二値が最小の前記縫い線の前記始点を有する縫い線を二番目の縫い線として設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第二値が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として設定する処理を、最後の縫い順が特定される迄繰り返し、前記縫い順の候補を設定し、
前記第一定数は所定角度を移動するのに要する時間であり、前記第二定数は前記所定角度の値と同じ前記距離を移動するのに要する時間である、
ことを特徴とする請求項1〜7の何れか一に記載の縫い順設定装置。
The plurality of conditions are set such that the distance from the end point of each first sewing line to the start point of the other sewing line is constant without changing the sewing order of the first sewing line specified by the sewing data The angle which is the change amount of the moving direction of the feed mechanism when moving the feed mechanism of the sewing device from the end point of the first sewing line to the starting point of the other sewing line Including the sum of the second value plus the value multiplied by a constant,
The sewing data designates the start point and the end point of the sewing line,
The setting unit calculates each of the distance and the angle when moving from the end point of the first sewing line to the starting point of the plurality of sewing lines excluding the first sewing line, and calculates the calculated distance and the angle The sewing line having the starting point of the sewing line having the minimum second value based on the angle and the angle is set as a second sewing line, and the first sewing line and the first sewing line from the end point of the set second sewing line The distance and the angle when moving to the starting point of the plurality of sewing lines excluding the second sewing line are respectively calculated, and the second value of the sewing line having the smallest second value based on the calculated distance and the angle The process of setting the sewing line having the start point as the third sewing line is repeated until the last sewing order is specified, and the candidate of the sewing order is set.
The first constant is the time required to move a predetermined angle, and the second constant is the time required to move the same distance as the value of the predetermined angle.
The sewing order setting device according to any one of claims 1 to 7, characterized in that:
前記複数の条件は、前記縫製データが指定する最初の前記縫い線の縫い順を変更可能な状態で、夫々の前記最初の縫い線の終点から他の前記縫い線の始点への距離に第一定数を乗算した値と前記最初の縫い線の前記終点から他の前記縫い線の前記始点へ前記縫製装置の送り機構を移動する時の前記送り機構の移動方向の変化量である角度に第二定数を乗算した値とを加算した第二値の合計を含み、
前記縫い線の前記始点と前記終点は、前記縫製データが指定しており、
前記設定部は、前記複数の縫い線の中から前記最初の縫い線を夫々設定し、設定した前記最初の縫い線の前記終点から設定した前記最初の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第二値が最小の縫い線の前記始点を有する縫い線を二番目の縫い線として夫々設定し、設定した前記二番目の縫い線の前記終点から前記最初の縫い線と前記二番目の縫い線を除く前記複数の縫い線の前記始点へ移動する時の前記距離と前記角度を夫々算出し、算出した前記距離と前記角度とに基づく前記第二値が最小の縫い線の前記始点を有する縫い線を三番目の縫い線として夫々設定する処理を、最後の縫い順が夫々特定される迄繰り返し、各縫い線を前記最初の縫い線にした時の縫い順の中から、前記第二値の合計が最小の縫い順を前記縫い順の候補として設定し、
前記第一定数は所定角度を移動するのに要する時間であり、前記第二定数は前記所定角度の値と同じ前記距離を移動するのに要する時間である、
ことを特徴とする請求項1〜8の何れか一に記載の縫い順設定装置。
The plurality of conditions are such that, in a state in which the sewing order of the first sewing line specified by the sewing data can be changed, the distance from the end point of each first sewing line to the start point of the other sewing line is first The angle which is the change amount of the moving direction of the feeding mechanism when moving the feeding mechanism of the sewing device from the end point of the first sewing line to the starting point of another sewing line from a value multiplied by a constant A sum of a second value obtained by adding two multiplied values by a constant,
The sewing data designates the start point and the end point of the sewing line,
The setting unit sets the first sewing line from among the plurality of sewing lines, and sets the first sewing line except the first sewing line set from the end point of the set first sewing line. The distance when moving to the starting point and the angle are respectively calculated, and the sewing line having the starting point of the sewing line having the smallest second value based on the calculated distance and the angle is used as a second sewing line. Calculate the distance and the angle when moving to the start point of the plurality of sewing lines except the first sewing line and the second sewing line from the set end point of the second sewing line which is set and set And the last sewing order is specified respectively for setting the sewing line having the starting point of the sewing line having the smallest second value based on the calculated distance and the angle as the third sewing line迄 Repeat, each sewing line said first From the sewing order of when to have line, the sum of the second value sets the minimum sewing order as the sewing order of the candidates,
The first constant is the time required to move a predetermined angle, and the second constant is the time required to move the same distance as the value of the predetermined angle.
The sewing order setting device according to any one of claims 1 to 8, characterized in that:
前記縫製データが指定する各縫い線の始点と終点を変更可能とする変更可能部を更に備え、
前記操作部を介し、前記操作者が前記変更可能部により前記始点と前記終点を変更可能とした時に、前記設定部は、前記縫製データが指定する各縫い線の前記始点と前記終点を変更可能な状態で、前記縫い順の候補を設定する、
ことを特徴とする請求項2〜9の何れか一に記載の縫い順設定装置。
The sewing apparatus further comprises a changeable portion capable of changing the start point and the end point of each sewing line specified by the sewing data,
When the operator allows the changeable unit to change the start point and the end point via the operation unit, the setting unit can change the start point and the end point of each sewing line specified by the sewing data. Set candidates for the sewing order in the normal state,
The sewing order setting device according to any one of claims 2 to 9, characterized in that:
前記設定部は、
前記複数の条件毎に、前記縫い順の候補を夫々設定することを特徴とする請求項1〜10の何れか一に記載の縫い順設定装置。
The setting unit is
The sewing order setting device according to any one of claims 1 to 10, wherein candidates for the sewing order are set for each of the plurality of conditions.
前記設定部は、
前記操作部を介し、前記操作者が選択した前記条件に応じて、前記縫い順の候補を設定することを特徴とする請求項1〜10の何れか一に記載の縫い順設定装置。
The setting unit is
The sewing order setting device according to any one of claims 1 to 10, wherein the sewing order candidate is set according to the condition selected by the operator via the operation unit.
前記制御部は、
前記設定部が各条件の前記縫い順の候補を設定する時に算出した前記合計を各条件に対応付けて前記第一表示部に表示することを特徴とする請求項2〜10の何れか一に記載の縫い順設定装置。
The control unit
The method according to any one of claims 2 to 10, wherein the total calculated when the setting unit sets the candidate for the sewing order of each condition is associated with each condition and displayed on the first display unit. The sewing order setting device described.
前記操作部を介し、前記操作者が選択した前記縫い順の候補に従い、前記複数の縫い線を全て表示する第二表示部を更に備え、
前記制御部は、前記第二表示部を制御する、
ことを特徴とする請求項1〜13の何れか一に記載の縫い順設定装置。
And a second display unit for displaying all of the plurality of sewing lines according to the sewing order candidate selected by the operator via the operation unit.
The control unit controls the second display unit.
The sewing order setting device according to any one of claims 1 to 13, characterized in that:
前記第一表示部は、前記操作者が選択可能な再生部を更に備え、
前記制御部は、
前記操作部を介し、前記操作者が前記条件を選択して前記再生部を選択した時、前記操作者が選択した前記条件の縫い順の候補に従い、前記複数の縫い線を縫い線単位で順番に前記第二表示部に表示することを特徴とする請求項14に記載の縫い順設定装置。
The first display unit further includes a playback unit selectable by the operator;
The control unit
When the operator selects the condition and selects the reproduction unit via the operation unit, the plurality of sewing lines are ordered in units of sewing line according to the candidate sewing order of the condition selected by the operator. The sewing order setting device according to claim 14, characterized in that the second display unit displays on the second display unit.
前記制御部は、
前記第二表示部に前記縫い線を表示する時、現在の縫い順の縫い線を強調的に表示することを特徴とする請求項15に記載の縫い順設定装置。
The control unit
The sewing order setting device according to claim 15, wherein when the sewing line is displayed on the second display unit, a sewing line of the current sewing order is displayed emphatically.
前記第一表示部は、移動可能な進捗部を更に備え、
前記進捗部は、前記制御部が前記縫い線を順番に前記第二表示部に表示する場合、前記縫い順に応じて表示を進行することを特徴とする請求項15又は16に記載の縫い順設定装置。
The first display unit further comprises a movable progress unit,
The sewing order setting according to claim 15 or 16, wherein the progressing part advances the display according to the sewing order when the control part sequentially displays the sewing lines on the second display part. apparatus.
前記操作者が、前記進捗部を移動した時に、前記縫い順が最初の前記縫い線から前記進捗部の移動位置に対応する前記縫い順の前記縫い線迄を同時に前記第二表示部に表示することを特徴とする請求項17に記載の縫い順設定装置。   When the operator moves the progressing part, the second display part simultaneously displays the sewing line wrinkles of the sewing order corresponding to the moving position of the progressing part from the first sewing line to the sewing order. The sewing order setting device according to claim 17, characterized in that. 請求項1〜18の何れか一に記載の縫い順設定装置を備えることを特徴とする縫製装置。   A sewing device comprising the sewing order setting device according to any one of claims 1 to 18.
JP2017184417A 2017-09-26 2017-09-26 Sewing order setting device and sewing device Pending JP2019058301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017184417A JP2019058301A (en) 2017-09-26 2017-09-26 Sewing order setting device and sewing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017184417A JP2019058301A (en) 2017-09-26 2017-09-26 Sewing order setting device and sewing device

Publications (1)

Publication Number Publication Date
JP2019058301A true JP2019058301A (en) 2019-04-18

Family

ID=66175720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017184417A Pending JP2019058301A (en) 2017-09-26 2017-09-26 Sewing order setting device and sewing device

Country Status (1)

Country Link
JP (1) JP2019058301A (en)

Similar Documents

Publication Publication Date Title
US11243676B2 (en) Numerical control system for machine tool
JP2019053355A (en) Information processing apparatus, information processing method, and program
JP2020005694A (en) sewing machine
JP2019053354A (en) Information processing apparatus, information processing method, and program
JP2009064068A (en) Information processor, and user interface control method and program
JP2006271880A (en) Data editing device for processing machine, data editing device for sewing machine, data editing method for processing machine, data editing method for sewing machine and recording medium
JP2020013432A (en) Numerical control device and data editing method
US20110168070A1 (en) Sewing machine modification tools
JP6426565B2 (en) Machine control system that displays machine operation information according to the operator
JP2019000419A (en) sewing machine
JP2008282260A (en) Ladder diagram editing device
JPH0815512B2 (en) Sewing data of sewing machine
JP2019058301A (en) Sewing order setting device and sewing device
CN110546605A (en) Program development support device, program development support method, and program development support program
US10883209B2 (en) Embroidery sewing machine, sewing method, and program
US10344411B2 (en) Sewing machine and non-transitory computer-readable medium
US20220316117A1 (en) Cutting system and cutting device
JP2012061140A (en) Data generation device, sewing machine having the same and data generation program
JP2017064108A (en) Sewing machine and sewing machine program
JP2015093126A (en) Sewing machine
WO2017130734A1 (en) Sewing machine and sewing data editing program
JP2017223766A (en) Display controller and control method for the same
JP2017046830A (en) Sewing machine and control method of sewing machine
US20190271106A1 (en) Embroidery sewing machine, thread color grouping method, and program
JP2019053353A (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180620