JPH06126049A - Electronic cycle sewing machine - Google Patents

Electronic cycle sewing machine

Info

Publication number
JPH06126049A
JPH06126049A JP27696692A JP27696692A JPH06126049A JP H06126049 A JPH06126049 A JP H06126049A JP 27696692 A JP27696692 A JP 27696692A JP 27696692 A JP27696692 A JP 27696692A JP H06126049 A JPH06126049 A JP H06126049A
Authority
JP
Japan
Prior art keywords
axis
origin
data
needle
sensor
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
JP27696692A
Other languages
Japanese (ja)
Inventor
Tsugutoshi Kubota
次勇 窪田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Juki Corp
Original Assignee
Juki Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Juki Corp filed Critical Juki Corp
Priority to JP27696692A priority Critical patent/JPH06126049A/en
Publication of JPH06126049A publication Critical patent/JPH06126049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

PURPOSE:To enable the retrieval of an origin without trouble even when any interfering object exists in the course of an origin retrieving path. CONSTITUTION:In an electronic cycle sewing machine which the position of a needle 5 is moved relatively with respect to an X-Y coordinate set on a table 1 by moving the table in X and Y axes orthogonal to each other to perform an outline sewing by a moving operation, an X-axis origin sensor is provided to send a signal when the needle 5 reaches an origin in the X axis. A Y axis origin sensor is provided to send a signal when the needle 5 reaches the origin in the Y axis. an input means of data trains indicating the direction of moving the table corresponding to an origin retrieving path for positioning the needle 5 at the origin of the X-Y coordinate sequentially and an origin retrieving control means by which data are taken out sequentially from the data train so that the table is moved in the direction as indicated by the data at each thereof taken out separately to stop the movement of the table in response to signals of the X axis origin sensor and the Y axis origin sensor.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、縫製パターンの縫目デ
ータに基づいて、布を載置するテーブルをX軸及びY軸
方向に移動させ、それにより布上に任意形状の模様を形
成する電子サイクルミシンに係り、特に必要に応じて針
とテーブルの原点合わせを行う機能を有した電子サイク
ルミシンに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention moves a table on which cloth is placed in the X-axis and Y-axis directions based on stitch data of a sewing pattern, thereby forming a pattern of arbitrary shape on the cloth. The present invention relates to an electronic cycle sewing machine, and more particularly to an electronic cycle sewing machine having a function of aligning the origin of a needle and a table as needed.

【0002】[0002]

【従来の技術】この種の電子サイクルミシンでは、互い
に直交するX軸及びY軸方向にテーブルを移動させるこ
とにより、テーブル上に設定したX‐Y座標に対する針
の位置を相対移動させ、それにより、登録した縫製パタ
ーンに基づく任意形状の模様縫いを行うようになってい
る。
2. Description of the Related Art In this type of electronic cycle sewing machine, the position of a needle is moved relative to XY coordinates set on a table by moving the table in the directions of X-axis and Y-axis which are orthogonal to each other. Pattern sewing of an arbitrary shape is performed based on the registered sewing pattern.

【0003】この場合、縫製作業の最初に、テーブル上
に設定されたX‐Y座標と針の原点合わせ(以下、「原
点検索」と言う)が欠かせない。原点検索は、テーブル
を検索用経路に沿って移動させることにより、座標の原
点(0,0)に針を位置決めするというものであり、従
来ではミシンにより一義的に決まった経路で原点検索を
行っていた。
In this case, at the beginning of the sewing operation, the XY coordinates set on the table and the origin of the needle (hereinafter referred to as "origin search") are indispensable. The origin search is to position the needle at the origin (0, 0) of the coordinates by moving the table along the search path. Conventionally, the origin search is performed on the path uniquely determined by the sewing machine. Was there.

【0004】図11は、X‐Y座標の各象限(第1象限
〜第4象限)に針位置があった場合の従来の原点検索の
各経路を示している。これらの検索経路はおおよそ針の
位置からの最短経路に定まっていた。
FIG. 11 shows each conventional origin search path when there is a needle position in each quadrant of XY coordinates (first quadrant to fourth quadrant). These search routes were set to the shortest route from the needle position.

【0005】[0005]

【発明が解決しようとする課題】ところで、縫製パター
ンの種類等によっては、図12に示すようにテーブル1
上の布押さえ(図示略)に付帯装置3を付け加えること
がある。この付帯装置3は針5の相対移動領域中に存在
することになるので、原点検索経路に沿って針5を相対
移動させようとした場合、針5と干渉する場合がある。
By the way, depending on the type of sewing pattern and the like, as shown in FIG.
The accessory device 3 may be added to the upper fabric retainer (not shown). Since this accessory device 3 exists in the relative movement region of the needle 5, when the needle 5 is attempted to move relatively along the origin search path, it may interfere with the needle 5.

【0006】干渉すると原点検索ができないので、その
場合は一旦電源をOFFにして干渉しない位置へ布押さ
え2を動かした上で、再度電源をONにして原点検索を
行わなければならず面倒であった。
[0006] If interference occurs, the origin search cannot be performed. In that case, it is troublesome to turn off the power once, move the cloth presser 2 to a position where it does not interfere, and then turn on the power again to perform the origin search. It was

【0007】又、干渉しないように原点検索経路を変更
する方法も考えられるが、従来ではミシンの駆動制御ソ
フトの中に原点検索経路のデータも組み込んでいたの
で、経路の変更は制御ソフトの変更を意味し、相当面倒
な変更を余儀なくされるという問題があった。
Although a method of changing the origin search path so as not to interfere with it can be considered, conventionally, since the origin search path data is also incorporated in the drive control software of the sewing machine, the path is changed by changing the control software. Meaning that there was a problem that it was forced to change considerably.

【0008】本発明は、針の相対移動領域内に干渉物が
ある場合、干渉物を避けた経路を設定することで、干渉
物との干渉を避けながら原点検索を行うことができる電
子サイクルミシンを提供することを目的とする。
According to the present invention, when there is an interfering object within the relative movement area of the needle, an origin can be searched while avoiding interference with the interfering object by setting a route avoiding the interfering object. The purpose is to provide.

【0009】[0009]

【課題を解決するための手段】本発明は、図1にその要
旨を示すように、互いに直交するX軸及びY軸方向にテ
ーブル1を移動させることにより、テーブル1上に設定
したX‐Y座標に対する針5の位置を相対移動させ、そ
の移動操作により形状縫いを行う電子サイクルミシンに
おいて、前記針5がX軸方向の原点に達したとき信号を
発するX軸原点センサと、前記針5がY軸方向の原点に
達したとき信号を発するY軸原点センサと、前記X‐Y
座標の原点(0,0)に針5を位置決めするための原点
検索経路に対応したテーブルの移動方向を順番に指示す
るデータ列の入力手段と、前記データ列からデータを順
番に取り出し、それぞれ取り出したデータ毎に該データ
の指示する方向にテーブルを移動し、前記X軸原点セン
サ及びY軸原点センサの信号に応答してテーブルの移動
を停止する原点検索制御手段と、を備えたことにより上
記課題を解決したものである。
SUMMARY OF THE INVENTION The present invention, as shown in FIG. 1, shows the XY set on the table 1 by moving the table 1 in the directions of X-axis and Y-axis which are orthogonal to each other. In an electronic cycle sewing machine that moves the position of the needle 5 relative to the coordinates and performs shape sewing by the movement operation, the X-axis origin sensor that issues a signal when the needle 5 reaches the origin in the X-axis direction, and the needle 5 A Y-axis origin sensor that emits a signal when it reaches the origin in the Y-axis direction;
Data sequence input means for sequentially instructing the movement direction of the table corresponding to the origin search path for positioning the needle 5 at the origin (0, 0) of the coordinates, and data is sequentially retrieved from the data sequence and retrieved respectively. Origin search control means for moving the table in the direction indicated by the data for each data and stopping the movement of the table in response to the signals from the X-axis origin sensor and the Y-axis origin sensor. It is a solution to the problem.

【0010】[0010]

【作用】本発明の電子サイクルミシンにおいては、原点
検索に際して針が干渉物と干渉するおそれがある場合、
干渉物を避ける検索経路を設定し、その経路に対応した
移動方向の順番をデータ列により指定する。
In the electronic cycle sewing machine of the present invention, when the needle may interfere with an interfering object when searching for the origin,
A search route that avoids interfering objects is set, and the order of the moving direction corresponding to the route is specified by a data string.

【0011】移動方向は、例えばX軸の「+」方向とす
る、「−」方向とする、あるいはY軸方向の「+」方向
とする、「−」方向とする等、と指定する。そして、こ
の移動方向を順番に指示するデータ列からデータを順番
に取り出し、取り出したデータに従ってテーブルをX‐
Y平面内で移動し、X軸原点センサ又はY軸原点センサ
が信号を発した点でテーブルの移動を停止する。取り出
したデータ毎にこれを繰り返すことにより、原点に針が
位置決めされる。
The moving direction is designated as, for example, the "+" direction of the X axis, the "-" direction, the "+" direction of the Y axis direction, the "-" direction, or the like. Then, the data is taken out in order from the data sequence that indicates the moving direction in order, and the table is X-
It moves in the Y plane and stops moving the table at the point where the X axis origin sensor or the Y axis origin sensor gives a signal. By repeating this for each fetched data, the needle is positioned at the origin.

【0012】従って、移動方向のデータを順番に設定し
さえすれば、自動的に原点センサの信号に基づき原点検
索が行われる。この場合、制御ソフトとしては、移動方
向を指示するデータに従いテーブルを移動する機能と、
移動中に原点センサから信号が出力されたら移動を停止
する機能とを実現すればよく、移動経路のデータとは全
く別に定義することができる。又、検索経路を指示する
データは、少なくとも移動方向を指定しさえすればよい
ので、干渉物に対応して容易に検索経路の設定あるいは
変更ができる。
Therefore, if the movement direction data is set in order, the origin search is automatically performed based on the signal from the origin sensor. In this case, the control software has the function of moving the table according to the data indicating the moving direction,
It suffices to realize a function of stopping the movement when a signal is output from the origin sensor during movement, and it can be defined completely separately from the data of the movement route. Further, since the data for designating the search route need only specify at least the moving direction, it is possible to easily set or change the search route corresponding to the interfering object.

【0013】[0013]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】図2は実施例の電子サイクルミシンのテー
ブル駆動制御系の概略ブロック図である。
FIG. 2 is a schematic block diagram of a table drive control system of the electronic cycle sewing machine of the embodiment.

【0015】この実施例の電子サイクルミシンでは、テ
ーブルの駆動制御系の中にセンサとして、X軸原点セン
サ11、Y軸原点センサ12、X軸+方向移動限センサ
13、X軸−方向移動限センサ14、Y軸+方向移動限
センサ15、Y軸−方向移動限センサ16が設けられて
いる。
In the electronic cycle sewing machine of this embodiment, the X-axis origin sensor 11, the Y-axis origin sensor 12, the X-axis + direction movement limit sensor 13, and the X-axis-direction movement limit are used as sensors in the drive control system of the table. A sensor 14, a Y-axis + direction movement limit sensor 15, and a Y-axis-direction movement limit sensor 16 are provided.

【0016】X軸原点センサ11は、針が「+X領域」
にあるときにON信号を発するものである。Y軸原点セ
ンサ12は、針が「+Y領域」にあるときにON信号を
発するものである。X軸+方向移動限センサ13、X軸
−方向移動限センサ14、Y軸+方向移動限センサ1
5、Y軸−方向移動限センサ16は、移動限を検知する
とON信号を発するものである。
In the X-axis origin sensor 11, the needle is "+ X area".
An ON signal is emitted when the signal is in. The Y-axis origin sensor 12 emits an ON signal when the needle is in the "+ Y region". X axis + direction movement limit sensor 13, X axis − direction movement limit sensor 14, Y axis + direction movement limit sensor 1
5. The Y-axis-direction movement limit sensor 16 emits an ON signal when the movement limit is detected.

【0017】これらセンサ11〜16の信号は、入出力
インターフェース22を介して演算部20に入力され
る。演算部20はメモリ21と接続され、メモリ内21
内のプログラムやデータを読み込み、必要に応じてメモ
リに書き込みを行う。
The signals of these sensors 11 to 16 are input to the arithmetic unit 20 via the input / output interface 22. The arithmetic unit 20 is connected to the memory 21 and
It reads the programs and data inside and writes it to memory as needed.

【0018】演算部20は、プログラムに従って演算を
行い、図6〜図10のルーチンを実行する。そして、必
要に応じて入出力インターフェース22を介してX軸モ
ータドライバ31、Y軸モータドライバ32に駆動信号
を送り、X軸モータ41、Y軸モータ42を駆動して、
テーブルをX軸方向及びY軸方向に移動させる。
The arithmetic unit 20 performs arithmetic operations according to the program and executes the routines shown in FIGS. Then, if necessary, a drive signal is sent to the X-axis motor driver 31 and the Y-axis motor driver 32 via the input / output interface 22 to drive the X-axis motor 41 and the Y-axis motor 42,
The table is moved in the X-axis direction and the Y-axis direction.

【0019】ここでは、予めメモリ21に付帯装置(干
渉物)の形状に応じた原点検索用のデータ列が登録され
ているものとして説明する。
Here, it is assumed that a data string for origin search according to the shape of the auxiliary device (interfering object) is registered in the memory 21 in advance.

【0020】付帯装置の種類が複数ある場合は、各種類
毎に原点検索用のデータ列を登録しておき、キーボード
やスイッチ等の入力操作により、該当する付帯装置に対
応した原点検索用のデータ列を選択するようにしてもよ
い。あるいは、原点検索用のデータを随時設定してもよ
く、例えば外部記憶装置に記憶させておいて、必要に応
じて内部メモリに移し込むようにしてもよい。
When there are a plurality of types of accessory devices, a data string for origin search is registered for each type, and data for origin search corresponding to the corresponding accessory device is input by operating the keyboard or switch. You may make it select a column. Alternatively, the origin search data may be set at any time, and may be stored in an external storage device and transferred to an internal memory as necessary.

【0021】テーブル上には仮想的に、図3に示すよう
なX‐Y座標が設定されており、X軸、Y軸によって第
1象限〜第4象限が区画されている。
The XY coordinates as shown in FIG. 3 are virtually set on the table, and the first quadrant to the fourth quadrant are divided by the X axis and the Y axis.

【0022】原点検索のためのテーブル駆動用データ
は、X軸原点センサ11、Y軸原点センサ12により認
識される第1象限〜第4象限毎に別個に設定されてい
る。
The table driving data for origin search is set separately for each of the first to fourth quadrants recognized by the X-axis origin sensor 11 and the Y-axis origin sensor 12.

【0023】ここで、各データの意味について説明す
る。
Here, the meaning of each data will be described.

【0024】「X0」は「X軸の原点検索」を指示する
データである。つまり、このデータは、針がX軸の原点
方向に移動するようにテーブルを移動するという命令に
相当するデータである。従って、このデータの指示に従
ってテーブルの駆動制御を行う場合は、針が第1象限又
は第4象限にあるときX軸の「−」方向にテーブルを移
動し、針が第2象限又は第3象限にあるときX軸の
「+」方向にテーブルを移動する。
"X0" is data for instructing "retrieval of origin of X axis". That is, this data corresponds to a command to move the table so that the needle moves in the direction of the origin of the X axis. Therefore, when the drive control of the table is performed according to the instruction of this data, when the needle is in the first quadrant or the fourth quadrant, the table is moved in the "-" direction of the X axis, and the needle is in the second quadrant or the third quadrant. The table is moved in the “+” direction of the X axis when the table is in.

【0025】「Y0」は「Y軸の原点検索」を指示する
データである。つまり、このデータは、針がY軸の原点
方向に移動するようにテーブルを移動するという命令に
相当するデータである。従って、このデータの指示に従
ってテーブルの駆動制御を行う場合は、針が第1象限又
は第2象限にあるときY軸の「−」方向にテーブルを移
動し、針が第3象限又は第4象限にあるときY軸の
「+」方向にテーブルを移動する。
"Y0" is data for instructing "Y axis origin search". That is, this data is data corresponding to a command to move the table so that the needle moves toward the origin of the Y axis. Therefore, when the drive control of the table is performed according to the instruction of this data, when the needle is in the first quadrant or the second quadrant, the table is moved in the "-" direction of the Y axis, and the needle is in the third quadrant or the fourth quadrant. The table is moved in the "+" direction of the Y-axis when the table is in.

【0026】「Xnnn」は「X軸方向にnnnだけ移
動」を指示するデータ、「Ynnn」は「Y軸方向にn
nnだけ移動」を指示するデータである。但し、「nn
n」は0以外の整数値である。
"Xnnn" is data for instructing "move by nnn in X axis direction", and "Ynnn" is "n in Y axis direction".
This is data for instructing "move by nn". However, "nn
“N” is an integer value other than 0.

【0027】X軸方向のデータ及びY軸方向のデータは
単独に設定してもよいし、組み合わせて設定してもよ
い。なお、各データの区切りは「,(カンマ)」で区切
るものとする。
The data in the X-axis direction and the data in the Y-axis direction may be set individually or in combination. Note that each data is separated by ", (comma)".

【0028】具体的なデータについて例示すると、「X
100」は「X方向に100だけ移動」を意味する。
又、「Y−50」は「Y方向に−50だけ移動」を意味
する。「X0Y0」は「X軸、Y軸同時に原点検索を行
う」を意味する。更に、データ列「X100,Y0,X
0」は、「X方向に+100移動」、「Y軸の原点
検索」、「X軸の原点検索」の順番に動作することを
意味する。
As an example of specific data, "X
"100" means "move by 100 in the X direction".
Further, "Y-50" means "move by -50 in Y direction". “X0Y0” means “origin search is performed simultaneously for X-axis and Y-axis”. Furthermore, the data string “X100, Y0, X
"0" means to operate in the order of "move +100 in X direction", "Y axis origin search", and "X axis origin search".

【0029】次に、付帯装置(干渉物)3が付け加えら
れた場合のデータの内容について説明する。
Next, the contents of data when the auxiliary device (interfering object) 3 is added will be described.

【0030】図4(a)に示すような、第1象限と第4
象限に跨がる干渉物3が付いた場合は、図4(b)中に
矢印で示すような干渉物3を避けた経路で原点検索を行
う。各象限毎の経路を指示するデータは次の通りであ
る。
As shown in FIG. 4A, the first quadrant and the fourth quadrant
When an interfering object 3 straddling the quadrant is attached, the origin search is performed on a route avoiding the interfering object 3 as indicated by the arrow in FIG. The data indicating the route for each quadrant is as follows.

【0031】(1)針が第1象限、又は第4象限にある
ときのデータ列は「X0,Y0」である。これの意味
は、「最初にX軸方向の原点検索を行い、次いでY軸方
向の原点検索を行う」である。
(1) The data string when the needle is in the first quadrant or the fourth quadrant is "X0, Y0". This means that "origin search in the X-axis direction is performed first, and then origin search in the Y-axis direction is performed".

【0032】(2)針が第2象限、又は第3象限にある
ときのデータ列(この場合は単一データ)は「X0Y
0」である。これの意味は、「X軸方向、Y軸方向の原
点検索を同時に行う」である。
(2) The data string (single data in this case) when the needle is in the second quadrant or the third quadrant is "X0Y".
It is 0 ". This means that “origin search in X-axis direction and Y-axis direction is performed simultaneously”.

【0033】又、図5(a)に示すような、第1象限と
第2象限に跨がる干渉物3が付いた場合は、図5(b)
中に矢印で示すような干渉物3を避けた経路で原点検索
を行う。各象限毎の経路を指示するデータは次の通りで
ある。
Further, in the case where an interfering object 3 extending over the first quadrant and the second quadrant as shown in FIG. 5A is attached, FIG.
The origin search is performed on a route avoiding the interfering object 3 as indicated by an arrow. The data indicating the route for each quadrant is as follows.

【0034】(1)針が第1象限にあるときのデータ列
は「X100,Y0,X0」である。これの意味は、
「最初にX軸方向に+100移動し、次にY軸方向の原
点検索を行い、更に次にX軸方向の原点検索を行う」で
ある。
(1) The data string when the needle is in the first quadrant is "X100, Y0, X0". this means,
"First move +100 in the X-axis direction, then search the origin in the Y-axis direction, and then search the origin in the X-axis direction."

【0035】(2)針が第2象限にあるときのデータ列
は「X−100,Y0,X0」である。これの意味は、
「最初にX軸方向に−100移動し、次にY軸方向の原
点検索を行い、更に次にX軸方向の原点検索を行う」で
ある。
(2) The data string when the needle is in the second quadrant is "X-100, Y0, X0". this means,
"First move -100 in the X-axis direction, then perform origin search in the Y-axis direction, and then perform origin search in the X-axis direction."

【0036】(3)針が第3象限又は第4象限にあると
きのデータ列は「X0Y0」である。これの意味は、
「X軸方向、Y軸方向の原点検索を同時に行う」であ
る。
(3) The data string when the needle is in the third quadrant or the fourth quadrant is "X0Y0". this means,
It is "simultaneously perform origin search in the X-axis direction and the Y-axis direction."

【0037】干渉物が付いた場合の干渉物を避ける原点
検索の経路指定のデータ列は、大体上のようなものであ
り、このようなデータ列がメモリに記憶されている。あ
るいは干渉物を見ながらデータ列を設定する。
The route search data sequence for avoiding the interference when the interference is present is almost the same as the above, and such a data sequence is stored in the memory. Alternatively, the data string is set while watching the interfering object.

【0038】次に、図6〜図10のフローチャートを用
いて、本実施例の制御動作を説明する。
Next, the control operation of this embodiment will be described with reference to the flow charts of FIGS.

【0039】図6は原点検索のメインルーチンである。
このルーチンがスタートすると、ステップ101〜10
3において、原点センサの信号の状態により、現在の針
位置がどの象限にあるかを調べる。針位置の象限が分か
ったら、ステップ104〜107において該当の象限の
設定データ列をロードする。次いで、ステップ108に
て、ロードしたデータ列の中から最初の「,(カン
マ)」までの1データを読み出す。例えば、データ列が
「X100,Y0,X0」であれば、最初は「X10
0」のみを読み出す。
FIG. 6 is a main routine for origin search.
When this routine starts, steps 101-10
In 3, the state of the signal of the origin sensor is used to check in which quadrant the current needle position is. When the quadrant of the needle position is known, the setting data string of the corresponding quadrant is loaded in steps 104 to 107. Next, at step 108, the first data from the loaded data string up to the first ", (comma)" is read. For example, if the data string is "X100, Y0, X0", the first is "X10.
Only "0" is read.

【0040】以降、ステップ109〜ステップ118
で、読み出した「1データ」に基づく制御を行う。
Thereafter, step 109 to step 118
Then, control based on the read "1 data" is performed.

【0041】まず、ステップ109では、そのデータの
内容が「X軸方向の移動」を指示するものか否かを判断
する。YESであればステップ110で図7のX軸移動
処理ルーチンを起動してからステップ111に進む。N
Oであれば、直接ステップ111に進む。
First, in step 109, it is determined whether or not the content of the data indicates "move in the X-axis direction". If YES, the X-axis movement processing routine of FIG. 7 is started in step 110, and then the process proceeds to step 111. N
If it is O, the process directly proceeds to step 111.

【0042】ステップ111では、そのデータの内容が
「X軸方向の原点検索」を指示するものか否かを判断す
る。YESであればステップ112で図8のX軸原点検
索処理ルーチンを起動してからステップ113に進む。
NOであれば、直接ステップ113に進む。
In step 111, it is determined whether or not the content of the data indicates "search for the origin in the X-axis direction". If YES, in step 112, the X-axis origin search processing routine of FIG. 8 is started, and then the process proceeds to step 113.
If NO, the process proceeds directly to step 113.

【0043】ステップ113では、そのデータの内容が
「Y軸方向の移動」を指示するものか否かを判断する。
YESであればステップ114で図9のY軸移動処理ル
ーチンを起動してからステップ115に進む。NOであ
れば、直接ステップ115に進む。
In step 113, it is determined whether the content of the data indicates "move in the Y-axis direction".
If YES, in step 114, the Y-axis movement processing routine of FIG. 9 is started, and then the process proceeds to step 115. If NO, the process proceeds directly to step 115.

【0044】ステップ115では、そのデータの内容が
「Y軸方向の原点検索」を指示するものか否かを判断す
る。YESであればステップ116で図10のY軸原点
検索処理ルーチンを起動してからステップ117に進
む。NOであれば、直接ステップ117に進む。
In step 115, it is determined whether or not the content of the data indicates "search for the origin in the Y-axis direction". If YES, in step 116, the Y-axis origin search processing routine of FIG. 10 is started, and then the routine proceeds to step 117. If NO, the process proceeds directly to step 117.

【0045】ステップ117では各処理の終了待ちを行
う。次に、ステップ118でX軸方向及びY軸方向の原
点検索が終了したか否かをチェックする。原点検索が終
了していなければ、ステップ108に戻り、次の「1デ
ータ」について上と同様の処理を進める。
At step 117, the completion of each process is waited. Next, in step 118, it is checked whether or not the origin search in the X-axis direction and the Y-axis direction is completed. If the origin search has not been completed, the process returns to step 108 and the same process as above is performed for the next "1 data".

【0046】次に、X軸移動処理ルーチン(図7)、X
軸原点検索処理ルーチン(図8)、Y軸移動処理ルーチ
ン(図9)、Y軸原点検索ルーチン(図10)の内容を
個別に説明する。
Next, the X-axis movement processing routine (FIG. 7), X
The contents of the axis origin search processing routine (FIG. 8), the Y axis movement processing routine (FIG. 9), and the Y axis origin search routine (FIG. 10) will be individually described.

【0047】図7のX軸移動処理ルーチンが起動される
と、ステップ201で「+」方向の移動指示か、「−」
方向の移動指示かをチェックする。「+」方向の移動指
示の場合は判断がYESになり、ステップ202に進ん
で+X移動限センサがONか否かをチェックする。ON
ならば「移動限にある」ことであるからステップ205
に進み、OFFならばステップ203に進んで「+1」
だけX軸方向へテーブルを移動させる。
When the X-axis movement processing routine of FIG. 7 is started, in step 201, a movement instruction in the "+" direction or "-" is issued.
Check if it is a direction move instruction. In the case of the movement instruction in the "+" direction, the determination is YES, and the routine proceeds to step 202, where it is checked whether or not the + X movement limit sensor is ON. ON
If so, it means that “there is a movement limit”, so step 205
If it is OFF, proceed to step 203 and "+1"
Only move the table in the X-axis direction.

【0048】移動させたら、次にステップ204で設定
移動量だけ移動したか否かをチェックし、移動未完であ
ればステップ202へ戻る。移動終了であればステップ
205に進み、X軸移動処理の終了を通知する。この通
知は、図6のステップ117でチェックされる。
After the movement, it is checked in step 204 whether or not the movement amount is the set movement amount. If the movement is not completed, the process returns to step 202. If the movement is completed, the routine proceeds to step 205, where the end of the X-axis movement processing is notified. This notification is checked at step 117 in FIG.

【0049】一方、「−」方向の移動指示がある場合
は、ステップ201の判断がNOとなってステップ20
6に進み、−X移動限センサがONか否かをチェックす
る。ONならば「移動限にある」ことであるからステッ
プ205に進み、OFFならばステップ207に進んで
「−1」だけX軸方向へテーブルを移動させる。
On the other hand, if there is an instruction to move in the "-" direction, the determination in step 201 becomes NO and step 20
Proceed to step 6 and check whether the -X movement limit sensor is ON. If it is ON, it means that "it is in the movement limit", so the routine proceeds to step 205, and if it is OFF, the routine proceeds to step 207 and the table is moved by "-1" in the X-axis direction.

【0050】移動させたら、次にステップ208で設定
移動量だけ移動したか否かをチェックし、移動未完であ
ればステップ206へ戻る。移動終了であればステップ
205に進み、X軸起動の終了を通知する。
After the movement, it is checked in step 208 whether or not the movement amount is the set movement amount. If the movement is not completed, the process returns to step 206. If the movement is completed, the process proceeds to step 205 to notify the end of the X-axis activation.

【0051】又、図8のX軸原点検索処理ルーチンが起
動されると、ステップ301でX軸原点センサがONか
否かをチェックする。OFFであればステップ304へ
進む。ONであれば、針が「+X領域」にあるというこ
とであるから、ステップ302に進んで「−1」だけX
軸方向へテーブルを移動させる。次いでステップ303
でX軸原点センサがOFFになる時点を監視し、ステッ
プ302、303の循環でOFFになるまで「−1」ず
つX軸方向の原点に向かってテーブルを移動させる。
When the X-axis origin search processing routine of FIG. 8 is started, it is checked in step 301 whether the X-axis origin sensor is ON. If it is OFF, the process proceeds to step 304. If it is ON, it means that the needle is in the "+ X area", so proceed to step 302 and only "-1" X
Move the table in the axial direction. Then step 303
The time when the X-axis origin sensor is turned off is monitored with, and the table is moved by “−1” toward the origin in the X-axis direction until it is turned off by the circulation of steps 302 and 303.

【0052】針が原点に達すると、X軸原点センサの信
号がONからOFFに切り換わり、ステップ303の判
断がYESになってステップ304に進む。
When the needle reaches the origin, the signal of the X-axis origin sensor switches from ON to OFF, the determination at step 303 becomes YES and the routine proceeds to step 304.

【0053】ステップ304では、反対に「+1」だけ
X軸方向へテーブルを移動させる。そして、ステップ3
05でX軸原点センサがONになる時点を監視し、ステ
ップ304、305の循環でONになるまで「+1」ず
つX軸方向の原点に向かってテーブルを移動させる。
In step 304, on the contrary, the table is moved by "+1" in the X-axis direction. And step 3
At 05, the time when the X-axis origin sensor is turned on is monitored, and the table is moved toward the origin in the X-axis direction by "+1" until it is turned on by the circulation of steps 304 and 305.

【0054】針が原点を越えると、X軸原点センサの信
号がOFFからONに切り換わり、ステップ305の判
断がYESになってステップ306に進み、X軸起動の
終了を通知し、ステップ307でX軸原点検索の終了を
通知する。これらの通知は、図6のステップ117、1
18でチェックされる。
When the needle crosses the origin, the signal of the X-axis origin sensor switches from OFF to ON, the determination in step 305 becomes YES, the process proceeds to step 306, the end of X-axis activation is notified, and in step 307. Notify the end of the X-axis origin search. These notifications are given in steps 117 and 1 in FIG.
Checked at 18.

【0055】図9のY軸移動処理ルーチン、及び図10
のY軸原点検索処理ルーチンについては、上の説明の
「X」を「Y」と置き換えるだけで同じ説明となるので
説明を略す。
The Y-axis movement processing routine of FIG. 9 and FIG.
The Y-axis origin search processing routine of 1 is the same as the above description except that "X" is replaced with "Y", and therefore the description thereof is omitted.

【0056】図6のメインルーチンにおいては、1デー
タについてのX軸及びY軸の起動が全部終了すると、ス
テップ117の判断がYESとなって、ステップ118
に進み、ここでX軸及びY軸の原点検索が終了したか否
かを判断する。終了していない場合は、次のデータを取
り出して処理すべくステップ108に戻る。原点検索が
終了した場合は、ステップ118の判断がYESとなっ
て原点検索の全部の処理が終了する。
In the main routine of FIG. 6, when the activation of the X-axis and the Y-axis for one data is completed, the determination in step 117 becomes YES and step 118
Then, it is determined whether or not the X-axis and Y-axis origin search is completed. If not, then return to step 108 to retrieve and process the next data. When the origin search is completed, the determination in step 118 is YES and the entire origin search processing is completed.

【0057】尚、図6のルーチン処理と、図7又は図8
のルーチン処理と、図9又は図10のルーチン処理とは
並列して行われるようになっている。
The routine processing of FIG. 6 and the processing of FIG. 7 or 8
The routine process of 5 and the routine process of FIG. 9 or 10 are performed in parallel.

【0058】以上のように、本制御では、少なくとも原
点検索の移動方向を指定するデータ列の中から1データ
ずつ読み出して、その都度そのデータの指示する内容に
従ってテーブルを移動し、原点に達したところでテーブ
ルの移動を停止する。
As described above, in the present control, at least one data is read from the data string designating the movement direction of the origin search, the table is moved each time the data is instructed, and the origin is reached. By the way, stop moving the table.

【0059】従って、移動方向のデータ(場合によって
は移動量も含める)を順番に決めてデータ列を作成しさ
えすれば、自動的に原点センサの信号に基づき原点検索
を行うことができる。この場合、制御ソフトとしては、
図6〜図10のフローチャートに示すルーチンを用意し
ておくだけでよいので、干渉物に対応した原点検索経路
の設定や変更を制御ソフトを作り直さずに行える。
Therefore, if the data of the moving direction (including the moving amount in some cases) is sequentially determined and the data string is created, the origin search can be automatically performed based on the signal of the origin sensor. In this case, the control software is
Since it is only necessary to prepare the routines shown in the flowcharts of FIGS. 6 to 10, the origin search path corresponding to the interfering object can be set or changed without recreating the control software.

【0060】[0060]

【発明の効果】以上説明したように、本発明の電子サイ
クルミシンによれば、原点検索経路途中に干渉物がある
場合にも、簡単に経路の再設定や変更が行える。従っ
て、面倒な操作や制御ソフトの変更等が不要である。
As described above, according to the electronic cycle sewing machine of the present invention, even when there is an interfering object in the origin search path, the path can be easily reset or changed. Therefore, troublesome operation and change of control software are unnecessary.

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

【図1】本発明の要旨を示すブロック図FIG. 1 is a block diagram showing the gist of the present invention.

【図2】本発明の一実施例の要部構成を示すブロック図FIG. 2 is a block diagram showing a main configuration of an embodiment of the present invention.

【図3】同実施例のX‐Y座標の各象限及び移動限の説
明図
FIG. 3 is an explanatory diagram of quadrants and movement limits of XY coordinates in the same embodiment.

【図4】(a)は同実施例において布押さえに付帯装置
(干渉物)をセットした状態を示す平面図、(b)は同
付帯装置がある場合の原点検索経路を示す平面図
FIG. 4A is a plan view showing a state in which an auxiliary device (interfering object) is set on the cloth retainer in the same embodiment, and FIG. 4B is a plan view showing an origin search path when the auxiliary device is present.

【図5】(a)は同実施例において布押さえに別の付帯
装置(干渉物)をセットした状態を示す平面図、(b)
は同付帯装置がある場合の原点検索経路を示す平面図
FIG. 5A is a plan view showing a state in which another accessory (interfering object) is set on the cloth retainer in the same embodiment, and FIG.
Is a plan view showing the origin search path when the accessory device is present.

【図6】同実施例における原点検索のメインルーチンを
示すフローチャート
FIG. 6 is a flowchart showing a main routine for origin search in the embodiment.

【図7】同メインルーチンで起動されるX軸移動処理ル
ーチンを示すフローチャート
FIG. 7 is a flowchart showing an X-axis movement processing routine started in the main routine.

【図8】同メインルーチンで起動されるX軸原点検索処
理ルーチンを示すフローチャート
FIG. 8 is a flowchart showing an X-axis origin search processing routine started in the same main routine.

【図9】同メインルーチンで起動されるY軸移動処理ル
ーチンを示すフローチャート
FIG. 9 is a flowchart showing a Y-axis movement processing routine started in the main routine.

【図10】同メインルーチンで起動されるY軸原点検索
処理ルーチンを示すフローチャート
FIG. 10 is a flowchart showing a Y-axis origin search processing routine started in the main routine.

【図11】従来の原点検索の経路を示す平面図FIG. 11 is a plan view showing a conventional origin search path.

【図12】従来の原点検索における干渉物との干渉の様
子を示す平面図
FIG. 12 is a plan view showing a state of interference with an interferer in a conventional origin search.

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

1…テーブル 3…付帯装置(干渉物) 5…針 11…X軸原点センサ 12…Y軸原点センサ 41…X軸モータ 42…Y軸モータ 1 ... Table 3 ... Attached device (interfering object) 5 ... Needle 11 ... X-axis origin sensor 12 ... Y-axis origin sensor 41 ... X-axis motor 42 ... Y-axis motor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】互いに直交するX軸及びY軸方向にテーブ
ルを移動させることにより、テーブル上に設定したX‐
Y座標に対する針の位置を相対移動させ、その移動操作
により形状縫いを行う電子サイクルミシンにおいて、 前記針がX軸方向の原点に達したとき信号を発するX軸
原点センサと、 前記針がY軸方向の原点に達したとき信号を発するY軸
原点センサと、 前記X‐Y座標の原点に針を位置決めするための原点検
索経路に対応したテーブルの移動方向を順番に指示する
データ列の入力手段と、 前記データ列からデータを順番に取り出し、それぞれ取
り出したデータ毎に該データの指示する方向にテーブル
を移動し、前記X軸原点センサ及びY軸原点センサの信
号に応答してテーブルの移動を停止する原点検索制御手
段と、 を備えたことを特徴とする電子サイクルミシン。
1. An X-axis set on a table by moving the table in directions of an X axis and a Y axis which are orthogonal to each other.
In an electronic cycle sewing machine in which the needle position is moved relative to the Y coordinate and the shape sewing is performed by the movement operation, an X-axis origin sensor that issues a signal when the needle reaches the origin in the X-axis direction, and the needle is the Y-axis. Y-axis origin sensor that outputs a signal when the origin of the direction is reached, and data string input means for sequentially instructing the moving direction of the table corresponding to the origin search path for positioning the needle at the origin of the XY coordinates And sequentially fetching data from the data string, moving the table for each fetched data in the direction indicated by the data, and moving the table in response to the signals of the X-axis origin sensor and the Y-axis origin sensor. An electronic cycle sewing machine, comprising: an origin search control means for stopping.
JP27696692A 1992-10-15 1992-10-15 Electronic cycle sewing machine Pending JPH06126049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27696692A JPH06126049A (en) 1992-10-15 1992-10-15 Electronic cycle sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27696692A JPH06126049A (en) 1992-10-15 1992-10-15 Electronic cycle sewing machine

Publications (1)

Publication Number Publication Date
JPH06126049A true JPH06126049A (en) 1994-05-10

Family

ID=17576898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27696692A Pending JPH06126049A (en) 1992-10-15 1992-10-15 Electronic cycle sewing machine

Country Status (1)

Country Link
JP (1) JPH06126049A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001062174A (en) * 1999-08-25 2001-03-13 Barudan Co Ltd Sewing machine, and frame driving method thereof
JP2006304962A (en) * 2005-04-27 2006-11-09 Brother Ind Ltd Sewing machine
CN103451856A (en) * 2012-03-28 2013-12-18 兄弟工业株式会社 Sewing machine
JP2014030641A (en) * 2012-08-06 2014-02-20 Juki Corp Sewing machine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001062174A (en) * 1999-08-25 2001-03-13 Barudan Co Ltd Sewing machine, and frame driving method thereof
JP2006304962A (en) * 2005-04-27 2006-11-09 Brother Ind Ltd Sewing machine
JP4655744B2 (en) * 2005-04-27 2011-03-23 ブラザー工業株式会社 sewing machine
CN103451856A (en) * 2012-03-28 2013-12-18 兄弟工业株式会社 Sewing machine
JP2014030641A (en) * 2012-08-06 2014-02-20 Juki Corp Sewing machine

Similar Documents

Publication Publication Date Title
KR900001033B1 (en) Sequence controller
JPS6240038B2 (en)
US5009176A (en) Sewing data forming method and device for sewing machine
JPH06126049A (en) Electronic cycle sewing machine
JP2009223615A (en) Numerical controller with machining restart function
US5692448A (en) Apparatus and method for creating and modifying stitching data used by a sewing machine
KR20120025435A (en) Automatic sewing machine
JPH0659717A (en) Nc device having tool locus data plotting function and plotting method thereof
JPH06126050A (en) Electronic cycle sewing machine
JPH04286001A (en) Programming method and device for programmable controller
JPH10108987A (en) Method and device for editing sewing data
JPH0899252A (en) Hole machining positioning path preparation in cad/cam system
JP3010114B2 (en) Sewing data division processor
JPS6488824A (en) Icon editing device
JP7286839B2 (en) display controller
JP7464726B2 (en) Control device
JPH0373186A (en) Origin retrieving device in sewing device
JPH02220145A (en) Program tracing system
JPH0785204B2 (en) Welding robot program creation method
JPH0426445A (en) Automatic sewing machine for sewing collar cloth
JPH0458044B2 (en)
JP3000749B2 (en) Character editing device
JP2023086843A (en) Machine tool and display control program
JP2770989B2 (en) Embroidery sewing machine
JP2006075505A (en) Sewing machine