JPH0928965A - Sewing machine - Google Patents

Sewing machine

Info

Publication number
JPH0928965A
JPH0928965A JP18704395A JP18704395A JPH0928965A JP H0928965 A JPH0928965 A JP H0928965A JP 18704395 A JP18704395 A JP 18704395A JP 18704395 A JP18704395 A JP 18704395A JP H0928965 A JPH0928965 A JP H0928965A
Authority
JP
Japan
Prior art keywords
command
sewing machine
stored
log data
commands
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.)
Withdrawn
Application number
JP18704395A
Other languages
Japanese (ja)
Inventor
Ikuo Tajima
郁夫 田島
Takashi Ito
伊藤  隆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tokai Kogyo Sewing Machine Co Ltd
Original Assignee
Tokai Kogyo Sewing Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Kogyo Sewing Machine Co Ltd filed Critical Tokai Kogyo Sewing Machine Co Ltd
Priority to JP18704395A priority Critical patent/JPH0928965A/en
Publication of JPH0928965A publication Critical patent/JPH0928965A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate a troubleshooting by operating a sewing machine by the same procedures, etc., as a command at the time of the generation of an erroneous operation, for the sewing machine. SOLUTION: When an operator inputs a command by a control panel 104, the command is stored in a RAM 112 through a bus 118. A plurality of commands are stored in the RAM 112 in the sequence of inputtings. Then, when a command to execute the stored commands is input by the operator with the control panel 104, at least one of the commands stored in the RAM 112 is executed, and respective elements to constitute pulse motors 24, 56 are operated corresponding to the command. Therefore, when an erroneous motion generates on a sewing machine, the motions corresponding to the plurality of the commands being stored can be rendered again, and by which the command of the erroneous motion has been performed can be easily specified.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はミシンに関し、操作
盤および/または外部装置から入力された指令に従って
行われる動作を再現する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sewing machine, and more particularly to a technique for reproducing an operation performed according to a command input from a control panel and / or an external device.

【0002】[0002]

【従来の技術】ミシンは、オペレータが操作盤を用いて
行う指令に対応する動作を行う。この指令としては、例
えば被縫製物を保持する刺繍枠を移動させたり、ステッ
チデータに従って刺繍や飾り縫いを行なったりする等の
指令がある。ここで、オペレータがミシンに適切な指令
を行なったと思っていても、操作盤からなされた指令の
順番や数値の設定等の誤りによってミシンが誤動作する
場合がある。ミシンが誤動作した場合には、その再発を
防止するために、一般にその指令した順に再度指令して
誤動作を再現し、誤動作の原因を究明する。この誤動作
は、従来ではオペレータの記憶に頼ったり、オペレータ
が残したメモ等によって再現している。
2. Description of the Related Art A sewing machine performs an operation corresponding to a command issued by an operator using an operation panel. The command includes, for example, a command to move the embroidery frame that holds the material to be sewn, or to perform embroidery or decorative sewing according to the stitch data. Here, even if the operator thinks that an appropriate command has been issued to the sewing machine, the sewing machine may malfunction due to an error in the order of the commands issued from the operation panel or the setting of numerical values. When the sewing machine malfunctions, in order to prevent the recurrence of the malfunction, generally, the malfunction is reproduced by issuing commands again in the order in which the malfunction has occurred, and the cause of the malfunction is investigated. Conventionally, this malfunction is reproduced by the memory of the operator or the memo left by the operator.

【0003】[0003]

【発明が解決しようとする課題】しかし、オペレータの
記憶に頼って操作盤からミシンに指令を行なっても、誤
動作が発生したときの指令と同一の手順で再度指令する
のは極めて困難である。したがって、従来のミシンで
は、誤動作を再現する手段がなかったため、どの指令に
よって誤動作が発生したのかが分からず、原因究明が困
難であった。本発明はこのような点に鑑みてなされたも
のであり、その課題は、誤動作が発生したときの指令と
同一の手順等でミシンを動作させ、原因究明を容易にす
ることである。
However, even if a command is given to the sewing machine from the operation panel depending on the memory of the operator, it is extremely difficult to issue the command again in the same procedure as the command when the malfunction occurs. Therefore, in the conventional sewing machine, since there is no means for reproducing the malfunction, it is difficult to find out the cause by not knowing which command causes the malfunction. The present invention has been made in view of the above points, and an object thereof is to operate a sewing machine in the same procedure as an instruction when a malfunction occurs and to easily find the cause.

【0004】[0004]

【課題を解決するための第1の手段】請求項1に記載の
発明は、操作盤および/または前記外部装置から指令が
入力されると、その指令に対応する動作を行うミシンに
おいて、前記操作盤および/または前記外部装置から入
力された指令を順に記憶しておき、記憶された複数の指
令のうち少なくとも一つの指令を実行し、その指令に対
応する動作を行う手段を備える。請求項1に記載の発明
によれば、操作盤および/または前記外部装置から入力
された指令が順に記憶され、その記憶した複数の指令に
対応する動作が行われるので、どの指令によって誤動作
したのかを容易に特定することが可能になる。なお、外
部装置としては、例えばフレキシブルディスク装置や通
信制御装置等がある。また、本発明は誤動作の特定が容
易になるのみならず、所定の動作を行わせる複数の指令
を一括して実行させることも可能になる。
According to a first aspect of the present invention, when a command is input from an operation panel and / or the external device, a sewing machine that performs an operation corresponding to the command is operated. Means are provided for sequentially storing commands input from the panel and / or the external device, executing at least one command from the stored multiple commands, and performing an operation corresponding to the command. According to the invention described in claim 1, since the commands input from the operation panel and / or the external device are stored in order and the operation corresponding to the plurality of stored commands is performed, which command caused the malfunction? Can be easily specified. The external device may be, for example, a flexible disk device or a communication control device. In addition, the present invention not only makes it easy to identify a malfunction, but also makes it possible to collectively execute a plurality of commands for performing a predetermined motion.

【0005】[0005]

【課題を解決するための第2の手段】請求項2に記載の
発明は、請求項1に記載のミシンにおいて、記憶された
複数の指令は、前記操作盤および/または前記外部装置
から入力された順にあるいはその逆順に実行し、その指
令に対応する動作を行う手段を備える。請求項2に記載
の発明によれば、記憶された複数の指令が操作盤および
/または外部装置から入力された順にあるいはその逆順
に実行されるので、どの指令によって誤動作したのかを
確実に特定することが可能になる。
According to a second aspect of the present invention, in the sewing machine according to the first aspect, a plurality of stored commands are input from the operation panel and / or the external device. And means for executing the operation corresponding to the command. According to the second aspect of the present invention, since the plurality of stored commands are executed in the order input from the operation panel and / or the external device or in the reverse order, it is possible to reliably identify which command caused the malfunction. It will be possible.

【0006】[0006]

【発明の実施の形態】以下、本発明を実施するための具
体的な一形態を図面に基づいて説明する。その一形態
は、多針タイプのミシンヘッドを複数個備えている刺繍
ミシンに本発明を適用したものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A specific embodiment for carrying out the present invention will be described below with reference to the drawings. In one form thereof, the present invention is applied to an embroidery sewing machine having a plurality of multi-needle type sewing heads.

【0007】まず、刺繍ミシンの概略的な構成につい
て、図1を参照しながら説明する。図1は上記の刺繍ミ
シン20の外観を示す図である。図1において、ミシン
テーブル54の上方には、コントローラボックス100
とともに、複数個のミシンヘッド18がミシンフレーム
22に設けられている。コントローラボックス100
は、オペレータからなされた指令に対応して、刺繍ミシ
ン20全体の動作を制御する。なお、コントローラボッ
クス100の構成や動作等は後述する。また、ミシンテ
ーブル54の上面には、被刺繍物34aを保持する刺繍
枠34が設けられている。この刺繍枠34は、所定の移
動データ{刺繍データ}に基づいて、X軸パルスモータ
56,Y軸パルスモータ24によってそれぞれX軸方
向,Y軸方向へ移動制御が可能になっている。
First, the schematic structure of the embroidery sewing machine will be described with reference to FIG. FIG. 1 is a view showing the outer appearance of the embroidery sewing machine 20. In FIG. 1, a controller box 100 is provided above the sewing machine table 54.
In addition, a plurality of sewing heads 18 are provided on the sewing machine frame 22. Controller box 100
Controls the operation of the entire embroidery sewing machine 20 in response to a command issued by the operator. The configuration and operation of the controller box 100 will be described later. An embroidery frame 34 that holds the embroidered object 34a is provided on the upper surface of the sewing machine table 54. The embroidery frame 34 can be controlled to move in the X-axis direction and the Y-axis direction by the X-axis pulse motor 56 and the Y-axis pulse motor 24 based on predetermined movement data {embroidery data}.

【0008】各ミシンヘッド18はミシン主軸30が貫
通しており、ミシンフレーム22の前面部に対して針棒
ケース32が刺繍ミシン20の左右方向へスライド可能
に支持されている。この針棒ケース32は、個々の下端
部に縫い針を備えた複数本{例えば、六本}の針棒がそ
れぞれ上下動自在に支持されている。また、針棒ケース
32は、ミシン主軸30とほぼ並行して設けられている
連結ロッドによって互いに連結されている。この連結ロ
ッドは、色換えモータ12の回転力がチェンジボックス
16によって図面左右方向のスライド運動に変換され、
同一方向にスライド操作される。このスライド操作によ
って各針棒ケース32もまた一斉にスライドし、各針棒
ケース32内の一本の針棒が選択される。上記連結ロッ
ドの終端付近には、スライド選択される針棒を検出する
針位置検出器14が設けられている。そして、上記連結
ロッドのスライドにより選択された針棒のみがその縫い
針とともに、ミシン主軸30の回転によって上下に駆動
される。
A sewing machine main shaft 30 passes through each sewing machine head 18, and a needle bar case 32 is supported by a front surface of a sewing machine frame 22 so as to be slidable in the left-right direction of the embroidery sewing machine 20. In the needle bar case 32, a plurality of {for example, six} needle bars each having a sewing needle at its lower end are supported so as to be vertically movable. In addition, the needle bar case 32 is connected to each other by a connecting rod provided substantially parallel to the sewing machine main shaft 30. In this connecting rod, the rotational force of the color changing motor 12 is converted by the change box 16 into a sliding movement in the horizontal direction in the drawing,
The slide operation is performed in the same direction. By this sliding operation, the needle bar cases 32 also slide simultaneously, and one needle bar in each needle bar case 32 is selected. A needle position detector 14 for detecting the needle bar to be slide-selected is provided near the end of the connecting rod. Then, only the needle bar selected by sliding the connecting rod is driven up and down by the rotation of the sewing machine main shaft 30 together with the sewing needle.

【0009】一方、ミシンテーブル54の下側には、ス
イッチバー42の操作によるオン/オフ等の状態を検出
するバースイッチボックス50が設けられている。同様
に、ミシンテーブル54の下側には、図示しないが釜を
備えた釜土台が各ミシンヘッドに対応して設けられてい
る。ここで、各釜土台には釜駆動軸を貫通させ、この釜
駆動軸の回転に従って各釜土台の釜が回転駆動させる構
造になっているのは、周知のとおりである。
On the other hand, below the sewing machine table 54, a bar switch box 50 for detecting the ON / OFF state by operating the switch bar 42 is provided. Similarly, on the lower side of the sewing machine table 54, a hook base having a hook (not shown) is provided corresponding to each sewing machine head. Here, it is well known that each hook base has a structure in which a hook drive shaft is penetrated and the hooks of the hook bases are driven to rotate in accordance with the rotation of the hook drive shaft.

【0010】さらに、ミシンテーブル54の下側におけ
る脚36の相互間には、脚間フレーム40が設けられて
いる。この脚間フレーム40上には、刺繍ミシン20の
各構成要素の動作を集中的に制御するミシン制御装置2
00{その構成の詳細は、後述する。}を内蔵するドラ
イバボックス44や、そのドライバボックス44等の刺
繍ミシン20全体を作動させるための電源を供給する電
源ボックス48、あるいはミシン主軸30や釜駆動軸の
駆動源である主軸モータ38が設置されている。ここ
で、電源ボックス48の電源スイッチ46がメインスイ
ッチとなっており、この電源スイッチ46をオンした後
にコントローラボックス100から指令を与えることに
よって、刺繍ミシン20を作動させる。なお、ミシンフ
レーム22の上方には、各ミシンヘッド18の針棒ケー
ス32に刺繍用の糸を案内するための糸案内26が固定
されている。
Further, an inter-leg frame 40 is provided between the legs 36 below the sewing machine table 54. On the inter-leg frame 40, the sewing machine control device 2 for centrally controlling the operation of each component of the embroidery sewing machine 20.
00 {Details of the configuration will be described later. }, A driver box 44, a power source box 48 for supplying power for operating the entire embroidery sewing machine 20 such as the driver box 44, or a spindle motor 38 that is a drive source of the sewing machine spindle 30 and the shuttle drive shaft. Has been done. Here, the power switch 46 of the power box 48 is the main switch, and the embroidery sewing machine 20 is operated by giving a command from the controller box 100 after turning on the power switch 46. A thread guide 26 for guiding the embroidery thread to the needle bar case 32 of each sewing machine head 18 is fixed above the sewing machine frame 22.

【0011】次に、上述した構成の刺繍ミシン20にお
ける電気系統の接続関係について、図2乃至図5を参照
しつつ説明する。ここで、図2は電気系統全体を模式的
に示すブロック図であり、図5はミシン制御装置200
の構成を示すブロック図であって、いずれも本発明を実
施するために必要な最小限の構成を示す。また、図3は
ログデータテーブル300の構成を示す模式図であり、
図4は操作パネルの一例を示す図である。
Next, the connection relationship of the electric system in the embroidery sewing machine 20 having the above-described structure will be described with reference to FIGS. 2 to 5. Here, FIG. 2 is a block diagram schematically showing the entire electric system, and FIG. 5 is a sewing machine control device 200.
2 is a block diagram showing the configuration of the above, and each shows the minimum configuration necessary for implementing the present invention. 3 is a schematic diagram showing the configuration of the log data table 300,
FIG. 4 is a diagram showing an example of the operation panel.

【0012】まず、図2に示すコントローラボックス1
00の構成について説明する。コントローラボックス1
00は、CPU110、ROM102、RAM112、
操作盤104、入出力回路106、通信制御回路10
8、表示制御回路114、表示装置116によって構成
されている。
First, the controller box 1 shown in FIG.
00 will be described. Controller box 1
00 is a CPU 110, a ROM 102, a RAM 112,
Operation panel 104, input / output circuit 106, communication control circuit 10
8, a display control circuit 114, and a display device 116.

【0013】CPU110は、ROM102に格納され
ているコントロールプログラムに従ってコントローラボ
ックス100の全体を制御する。ROM102にはEE
PROMが使用されているが、これに限らずPROM、
EPROMあるいはフラッシュメモリ等の不揮発性メモ
リを使用してもよい。RAM112は記憶手段を具体化
したものであって、DRAMが使用されている。なお、
RAM112にはDRAMに限らず、SRAMやフラッ
シュメモリ等のような各種のメモリを使用してもよい。
このRAM112には、ログデータテーブルや表示装置
116に表示する表示データ等の各種のデータが格納さ
れる。ここで、「ログデータ」とは、操作盤104を用
いてオペレータによってなされる一の指令ごとに予め定
められている固有の符号{以下、「イベントコード」と
呼ぶ。}等を含んでいるデータのことである。操作盤1
04はオペレータが刺繍ミシン20に対して動作を指令
したり、各種のデータを入力したりする制御盤であっ
て、具体的には後述するキーボード132である。
The CPU 110 controls the entire controller box 100 according to a control program stored in the ROM 102. ROM 102 has EE
PROM is used, but not limited to this, PROM,
A non-volatile memory such as EPROM or flash memory may be used. The RAM 112 is a concrete storage means, and a DRAM is used. In addition,
The RAM 112 is not limited to DRAM, and various memories such as SRAM and flash memory may be used.
The RAM 112 stores various data such as a log data table and display data displayed on the display device 116. Here, the “log data” is a unique code that is predetermined for each command issued by the operator using the operation panel 104 (hereinafter referred to as “event code”). } Is included in the data. Operation panel 1
Reference numeral 04 denotes a control panel for the operator to instruct the embroidery sewing machine 20 to perform an operation and to input various data, and is specifically a keyboard 132 described later.

【0014】ここで、RAM112に格納されるログデ
ータテーブル300について、図3を参照しつつ説明す
る。図3(A)に示すログデータテーブル300は、図
3(B)に示すログデータ310が複数組{図3の場合
では、30組}からなり、データ番号「30」のログデ
ータとデータ番号「1」のログデータとが連続している
円環状のテーブルである。各ログデータ310は、図3
(B)に示すように、データ番号312、イベントコー
ド314および発生日時316の各データによって構成
されている。
Here, the log data table 300 stored in the RAM 112 will be described with reference to FIG. The log data table 300 shown in FIG. 3A is composed of a plurality of sets (30 sets in the case of FIG. 3) of the log data 310 shown in FIG. 3B, and the log data having the data number “30” and the data number. It is an annular table in which the log data of "1" is continuous. Each log data 310 is shown in FIG.
As shown in (B), it is composed of each data of the data number 312, the event code 314, and the date and time of occurrence 316.

【0015】また、操作盤104上の操作パネル100
aの外観を図4に示す。操作パネル100aは、指令表
示部120、表示器122,124,126,128,
130、キーボード132およびデータ表示部134を
備えている。なお、指令表示部120とデータ表示部1
34は、後述する表示装置116の一部である。
The operation panel 100 on the operation panel 104 is also provided.
The appearance of a is shown in FIG. The operation panel 100a includes a command display unit 120, display devices 122, 124, 126, 128,
A keyboard 130, a keyboard 132, and a data display unit 134 are provided. The command display unit 120 and the data display unit 1
Reference numeral 34 is a part of the display device 116 described later.

【0016】表示器122,124,126,128,
130は、指令表示部120に表示される内容が、上下
5段に分けて示されている指令グループのいずれかを示
す。例えば表示器126が点灯している場合、指令表示
部120には回転数や、高速/低速の区分、ステッチ数
等の指令内容が表示される。キーボード132には、オ
ペレータが刺繍ミシン20を動作させる指令を行うため
の複数のキーが配置されている。データ表示部134に
は、指令表示部120に表示される指令がなされた日時
やイベントコード、刺繍する柄の名称、柄の回転角度等
の情報が表示される。
Indicators 122, 124, 126, 128,
Reference numeral 130 indicates one of the instruction groups in which the content displayed on the instruction display unit 120 is divided into upper and lower five stages. For example, when the display 126 is lit, the command display unit 120 displays command contents such as the number of revolutions, high speed / low speed classification, and the number of stitches. The keyboard 132 is provided with a plurality of keys for the operator to issue commands to operate the embroidery sewing machine 20. The data display unit 134 displays information such as the date and time when the command displayed on the command display unit 120 was issued, the event code, the name of the pattern to be embroidered, and the rotation angle of the pattern.

【0017】図2に戻って、入出力回路106は、外部
記憶装置150との間においてデータの入出力を制御す
る回路である。外部記憶装置150は外部装置を具体化
した装置の一つであって、FDD{フレキシブルディス
ク装置}を使用するが、これに限らず光磁気ディスク装
置や紙テープリード/パンチ装置等のように他の種類の
記憶装置を使用してもよい。FDDを使用する場合に
は、入出力されるデータは記憶媒体としてのFD{フレ
キシブルディスク}に記憶される。
Returning to FIG. 2, the input / output circuit 106 is a circuit for controlling input / output of data with the external storage device 150. The external storage device 150 is one of the devices embodying the external device, and uses an FDD (flexible disk device), but is not limited to this, and other devices such as a magneto-optical disk device and a paper tape read / punch device are used. Different types of storage devices may be used. When the FDD is used, input / output data is stored in the FD {flexible disk} as a storage medium.

【0018】通信制御回路108は外部装置の一つであ
る通信制御装置を具体化した回路であって、後述するミ
シン制御装置200との間において、相互にデータ伝送
を行うための制御回路である。具体的には、刺繍の実行
を指令する刺繍指令をミシン制御装置200に送り、こ
のミシン制御装置200からは糸切れ信号や非常停止信
号等を受ける。なお、刺繍指令には主軸モータ38の回
転数や動作タイミング、色換えモータ12の動作タイミ
ング、刺繍枠34のX軸・Y軸方向の移動量を指令する
ステッチデータ、その他の指令情報等を含む。
The communication control circuit 108 is a circuit that embodies a communication control device, which is one of the external devices, and is a control circuit for performing mutual data transmission with the sewing machine control device 200 described later. . Specifically, an embroidery command for instructing the execution of embroidery is sent to the sewing machine control device 200, and a thread break signal, an emergency stop signal, etc. are received from the sewing machine control device 200. The embroidery command includes the rotation speed and operation timing of the spindle motor 38, the operation timing of the color changing motor 12, stitch data for instructing the movement amount of the embroidery frame 34 in the X-axis and Y-axis directions, and other command information. .

【0019】表示制御回路114は、CPU110から
バス118を介して送られた表示制御データに従って、
上記指令表示部120やデータ表示部134等の表示装
置116の表示制御を行う回路である。この表示装置1
16には、筐体の大きさをコンパクトにし、消費電力を
低く抑えるため、7セグメントLEDを使用するのが最
適である。なお、この表示装置116には7セグメント
LEDに限らず、モノクロ/カラーの液晶表示装置やC
RT、プラズマ表示装置およびLED表示装置{LED
を矩形領域に格子状に配置した表示装置}等のように、
他の種類の表示装置を使用してもよい。なお、上記各構
成要素は、いずれもバス118に互いに結合されてい
る。
The display control circuit 114 follows the display control data sent from the CPU 110 via the bus 118.
It is a circuit that controls the display of the display device 116 such as the command display unit 120 and the data display unit 134. This display device 1
In order to make the size of the housing compact and to keep the power consumption low, it is optimal to use a 7-segment LED. The display device 116 is not limited to the 7-segment LED, but may be a monochrome / color liquid crystal display device or a C
RT, plasma display device and LED display device {LED
Display device in which is arranged in a rectangular pattern in a rectangular area}, etc.,
Other types of display devices may be used. Each of the above components is connected to the bus 118.

【0020】次に、ミシン制御装置200の構成につい
て図5を参照しつつ説明する。ミシン制御装置200
は、CPU210、ROM204、RAM206、通信
制御回路202、入力処理回路212およびモータ駆動
回路214,216によって構成されている。CPU2
10は、ROM204に格納されているミシン制御プロ
グラムに従って刺繍ミシン20の各構成要素を制御す
る。ROM204には上記ROM102と同様にEEP
ROMが使用されているが、他の種類の不揮発性メモリ
であってもよい。RAM206はRAM112と同様に
DRAMが使用されているが、他の種類のメモリであっ
てもよい。
Next, the structure of the sewing machine controller 200 will be described with reference to FIG. Sewing machine control device 200
Is composed of a CPU 210, a ROM 204, a RAM 206, a communication control circuit 202, an input processing circuit 212, and motor drive circuits 214 and 216. CPU2
Reference numeral 10 controls each component of the embroidery sewing machine 20 according to a sewing machine control program stored in the ROM 204. The ROM 204 has the same EEP as the ROM 102.
Although ROM is used, other types of non-volatile memory may be used. A DRAM is used as the RAM 206 similarly to the RAM 112, but may be another type of memory.

【0021】通信制御回路202は、上述したコントロ
ーラボックス100との間において、相互にデータ伝送
を行うための制御回路である。これらの相互間で伝送さ
れるデータ等は上述したとおりである。入力処理回路2
12は、図2に示すように主軸モータ38{実際にはミ
シン主軸30}の回転を検出するロータリエンコーダ5
2からのパルス信号や、針位置検出器14から出力され
る信号を受けて、ミシン制御装置200で処理可能な形
式に変換してCPU210やRAM206に送る。
The communication control circuit 202 is a control circuit for performing mutual data transmission with the controller box 100 described above. Data and the like transmitted between these are as described above. Input processing circuit 2
Reference numeral 12 denotes a rotary encoder 5 for detecting the rotation of the spindle motor 38 (actually, the sewing machine spindle 30) as shown in FIG.
It receives the pulse signal from 2 and the signal output from the needle position detector 14, converts it into a format that can be processed by the sewing machine controller 200, and sends it to the CPU 210 and the RAM 206.

【0022】モータ駆動回路214は、CPU210か
らバス208を介して送られたモータ駆動制御データに
従って、図2に示す色換えモータ12と主軸モータ38
を回転駆動する。一方、モータ駆動回路216は、CP
U210からバス208を介して送られた枠駆動制御デ
ータに従って、X軸パルスモータ56とY軸パルスモー
タ24を個別に回転駆動する。これらのパルスモータの
回転駆動によって、刺繍枠34はX軸・Y軸の両方向に
移動される。なお、上記各構成要素は、いずれもバス2
08に互いに結合されている。
The motor drive circuit 214 follows the motor drive control data sent from the CPU 210 via the bus 208, and the color changing motor 12 and the spindle motor 38 shown in FIG.
Is driven to rotate. On the other hand, the motor drive circuit 216 uses the CP
The X-axis pulse motor 56 and the Y-axis pulse motor 24 are individually driven to rotate according to the frame drive control data sent from the U 210 via the bus 208. The embroidery frame 34 is moved in both the X-axis and Y-axis directions by the rotational driving of these pulse motors. In addition, each of the above-described components is the bus 2
08 are connected to each other.

【0023】次に、上記のように構成されている刺繍ミ
シン20における本発明の処理について、図6乃至図8
を参照しつつ説明する。ここで、図6はログデータの記
憶処理を示すフローチャートであり、図7はログデータ
の実行処理を示すフローチャートであり、図8はログデ
ータの入出力処理を示すフローチャートである。これら
のフローチャートは指令制御手段を具体化したものであ
り、いずれのフローチャートも図2に示すROM102
に格納されているコントロールプログラムをCPU11
0が実行することによって実現される。
Next, the processing of the present invention in the embroidery sewing machine 20 configured as described above will be described with reference to FIGS.
Will be described with reference to. Here, FIG. 6 is a flow chart showing the log data storage processing, FIG. 7 is a flow chart showing the log data execution processing, and FIG. 8 is a flow chart showing the log data input / output processing. These flowcharts embody the command control means, and any of the flowcharts is the ROM 102 shown in FIG.
The control program stored in the CPU 11
It is realized by executing 0.

【0024】まず、ログデータの記憶処理について説明
する。図6において、オペレータが図4に示すキーボー
ド132内のいずれかキーを押したか否かを検査し(ス
テップS10)、オペレータが何かのキーを押した場合
(YES)には、そのキーに対応するイベントコードを
含むログデータをRAM112に記憶させるため、図3
に示すログデータテーブル内の位置を指すポインタ{以
下、「記憶ポインタ」と呼ぶ。}Pを設定する(ステッ
プS12)。具体的には、記憶ポインタPがデータ番号
「1」を指していた場合には、図3に示すように番号を
1だけ増やし、データ番号「2」を指すように設定す
る。なお、記憶ポインタPがデータ番号「30」を指し
ていた場合には、データ番号「1」を指すように設定す
る。
First, the log data storage process will be described. In FIG. 6, it is inspected whether or not the operator has pressed any key in the keyboard 132 shown in FIG. 4 (step S10), and if the operator presses any key (YES), the key is corresponded to. In order to store the log data including the event code to
A pointer pointing to a position in the log data table shown in {{hereinafter, referred to as "storage pointer". } P is set (step S12). Specifically, when the storage pointer P points to the data number "1", the number is incremented by 1 and set to point to the data number "2" as shown in FIG. When the storage pointer P points to the data number "30", the data number "1" is set.

【0025】こうして設定された記憶ポインタPが指す
テーブル内に、上記イベントコードとともに、発生日時
すなわちキーが押された日時を記憶し(ステップS1
4)、本処理手順を終了する。一方、ステップS10に
おいていずれのキーも押されていない場合(NO)に
は、何も実行することなく本処理手順を終了する。この
ログデータ記憶処理によって、オペレータが押したキー
等の指令やその押した日時がRAM112に記憶される
ことになる。このとき、ステップS12において記憶ポ
インタPがデータ番号「2」を指している場合には、デ
ータ番号「2」のログデータが最も新しいデータであ
り、次にデータ番号「1」,データ番号「30」,デー
タ番号「29」,…,データ番号「4」の順に古くな
り、データ番号「3」のログデータが最も古いデータに
なる。ここで、押されたキーとイベントコードとの関係
の一例を表1に示す。
In the table pointed to by the storage pointer P thus set, the date and time of occurrence, that is, the date and time when the key is pressed are stored together with the above event code (step S1).
4) The processing procedure is ended. On the other hand, if none of the keys is pressed in step S10 (NO), this processing procedure is terminated without executing anything. By this log data storage processing, the command such as the key pressed by the operator and the date and time when the key is pressed are stored in the RAM 112. At this time, if the storage pointer P points to the data number "2" in step S12, the log data of the data number "2" is the newest data, and then the data number "1" and the data number "30". , Data number “29”, ..., Data number “4” become older, and the log data of data number “3” becomes the oldest data. Table 1 shows an example of the relationship between the pressed key and the event code.

【0026】[0026]

【表1】 [Table 1]

【0027】また、上記の発生日時は、例えば95年7
月15日の12時34分56秒であるとき、「95/07/1
5, 12:34:56」というような内容にするのが望ましい。
なお、この場合では日付と時刻を同時に記憶させている
が、必要に応じて日付のみを記憶させてもよく、あるい
は時刻のみを記憶させてもよい。一方、上記ログデータ
テーブル300をFDD{外部記憶装置150}に装着
されるFDに確保しておき、ステップS10において押
されたキーに対応するイベントコードを含むログデータ
をそのFDに直接記憶させてもよい。
The date and time of occurrence is, for example, 1995
When it is 12:34:56 on the 15th of the month, "95/07/1
5, 12:34:56 ”is desirable.
Although the date and the time are stored at the same time in this case, only the date may be stored, or only the time may be stored, if necessary. On the other hand, the log data table 300 is secured in the FD mounted on the FDD {external storage device 150}, and the log data including the event code corresponding to the key pressed in step S10 is directly stored in the FD. Good.

【0028】次に、記憶されたログデータの実行処理に
ついて説明する。図7において、オペレータがキーボー
ド132で所定の操作を行なって、ログデータを実行す
る指令がなされたか否かを検査する(ステップS3
0)。もし、実行指令がなされた場合(YES)には、
実行するログデータ310を指すポインタ{以下、「実
行ポインタ」と呼ぶ。}の設定を行う(ステップS3
2)。具体的には、実行ポインタの指すログデータ31
0を基準として、一つ前のログデータを実行する指令の
場合には実行ポインタを1だけ減少させ、一つ後のログ
データを実行する指令の場合には実行ポインタを1だけ
増加させる。なお、電源投入やリセットの後、初めてこ
のステップを実行する場合には、上述した記憶ポインタ
の内容を実行ポインタに代入し、記憶されているログデ
ータ310のうち最も新しいログデータ310を指すよ
うにする。
Next, the execution processing of the stored log data will be described. In FIG. 7, the operator performs a predetermined operation on the keyboard 132 to check whether or not a command to execute log data has been issued (step S3).
0). If an execution command is issued (YES),
A pointer pointing to the log data 310 to be executed {hereinafter referred to as "execution pointer". } Is set (step S3)
2). Specifically, the log data 31 pointed to by the execution pointer
With 0 as a reference, the execution pointer is decremented by 1 in the case of an instruction to execute the log data immediately before, and the execution pointer is increased by 1 in the case of an instruction to execute the log data immediately after. Note that when this step is executed for the first time after power-on or reset, the contents of the above-mentioned storage pointer are substituted into the execution pointer so that the latest log data 310 among the stored log data 310 is pointed out. To do.

【0029】そして、ステップS32において設定され
た実行ポインタが指すログデータ310をログデータテ
ーブル300から取得し(ステップS34)、取得した
ログデータ310の内容をデータ表示部134{すなわ
ち、表示装置116}に表示し(ステップS36)、そ
のログデータ310の指令{すなわち、イベントコード
312の内容}を実行する(ステップS38)。上記表
1に従えば、例えばイベントコード312が「B」のと
き、ステップS36ではデータ表示部134にイベント
コード312の「B」が表示され、ステップS38では
柄消去キーが押されたときと同様の動作が行われる。そ
の後、本処理手順を終了する。一方、ステップS30に
おいて、実行指令がなされていない場合(NO)には何
も実行することなく本処理手順を終了する。
Then, the log data 310 pointed to by the execution pointer set in step S32 is acquired from the log data table 300 (step S34), and the contents of the acquired log data 310 are displayed in the data display section 134 (ie, the display device 116). Is displayed (step S36), and the command of the log data 310 {that is, the content of the event code 312} is executed (step S38). According to Table 1 above, for example, when the event code 312 is "B", "B" of the event code 312 is displayed on the data display portion 134 in step S36, and the same as when the pattern delete key is pressed in step S38. Is performed. Then, this processing procedure is ended. On the other hand, in step S30, if the execution instruction has not been issued (NO), this processing procedure is terminated without executing anything.

【0030】なお、上記ステップS34は、ログデータ
テーブル300をFDDに装着されるFDから直接取得
するようにしてもよい。この場合には、ステップS10
において押されたキーに対応するイベントコードを含む
ログデータ310がFD内に確保されているログデータ
テーブル300に記憶されている必要がある。また、ス
テップS36とステップS38は順不同で実行可能であ
り、あるいはいずれか一のステップのみを実行してもよ
い。すなわち、ステップS36のみを実行すれば記憶さ
れている指令の内容が表示されるだけとなり、ステップ
S38のみを実行すれば指令の内容が実行されるだけと
なる。このような場合であっても、誤動作の原因によっ
ては容易に特定することができることがある。
In the step S34, the log data table 300 may be directly obtained from the FD mounted on the FDD. In this case, step S10
It is necessary that the log data 310 including the event code corresponding to the key pressed in is stored in the log data table 300 secured in the FD. Further, steps S36 and S38 can be executed in any order, or only one of them may be executed. That is, if only step S36 is executed, the stored contents of the command will be displayed, and if only step S38 is executed, the contents of the command will be executed. Even in such a case, it may be easily identified depending on the cause of the malfunction.

【0031】したがって、キーボード132{すなわ
ち、操作盤104}から入力された指令をログデータ3
10として順にRAM112のログデータテーブル30
0に記憶しておき、その記憶した複数の指令を入力され
た順に実行し、その指令に対応する動作を行う。このた
め、オペレータは、どの指令によって刺繍ミシン20が
誤動作したのかを容易に特定することができるようにな
る。
Therefore, the command input from the keyboard 132 {that is, the operation panel 104} is converted into the log data 3
The log data table 30 of the RAM 112 in order of 10
0 is stored, the stored plurality of commands are executed in the input order, and the operation corresponding to the command is performed. Therefore, the operator can easily specify which command causes the embroidery sewing machine 20 to malfunction.

【0032】上記の実施の形態において、記憶されてい
る指令{すなわち、ログデータ310}の中から必要な
指令のみを選択する機能を設ければ、再現に必要な指令
のみを選択して実行できる。この場合には、より的確に
誤動作の原因究明を行うことが可能になる。また、記憶
されている指令の内容を追加,変更,削除等する編集機
能を設ければ、刺繍ミシンが正常に動作するように誤動
作する指令を編集して実行できる。この場合には、誤動
作の原因究明後の正常な刺繍ミシンの動作が可能にな
る。さらに、タイマー機能を備えることによって指定の
時刻や期間経過後に、記憶されている指令に対応する動
作を行えば、所望の時刻や期間経過後に指令が実行され
る。この場合には、刺繍ミシンの無人運転が可能にな
る。ここで、上記編集機能やタイマー機能は周知の技術
であるので、説明を省略する。そして、他の刺繍ミシン
との間で通信を行う通信手段をさらに備え、この通信手
段によって前記他の刺繍ミシンに記憶されている指令を
受けて、その指令に対応する動作を行えば、他の刺繍ミ
シンで記憶されている指令が再現できない場合に、その
指令を再現して他の刺繍ミシンにおける誤動作の原因究
明が行えるようになる。
In the above embodiment, if a function for selecting only a necessary command from the stored commands {that is, log data 310} is provided, only the command necessary for reproduction can be selected and executed. . In this case, the cause of the malfunction can be more accurately investigated. Further, by providing an editing function for adding, changing, deleting, etc., the contents of the stored command, it is possible to edit and execute the command that malfunctions so that the embroidery sewing machine operates normally. In this case, it is possible to operate the embroidery sewing machine normally after investigating the cause of the malfunction. Further, by providing the timer function, if the operation corresponding to the stored command is performed after the designated time or period elapses, the command is executed after the desired time or period elapses. In this case, unmanned operation of the embroidery sewing machine becomes possible. Here, since the editing function and the timer function are well-known techniques, description thereof will be omitted. Further, a communication means for communicating with another embroidery sewing machine is further provided, and when a command stored in the other embroidery sewing machine is received by this communication means and an operation corresponding to the command is performed, another communication is performed. When the command stored in the embroidery sewing machine cannot be reproduced, the command can be reproduced to investigate the cause of the malfunction in another embroidery sewing machine.

【0033】ここで、上述したように、キーボード13
2から入力された指令をRAM112に記憶する態様で
は、同一の刺繍ミシン20でしか実施することができな
い。言い換えれば、ある刺繍ミシン20のキーボード1
32から入力された指令を、他の刺繍ミシン20等で実
施することができない。そこで、ある刺繍ミシン20の
キーボード132から入力された指令を他の刺繍ミシン
20等で実施するための方法について、図8を参照しつ
つ説明する。
Here, as described above, the keyboard 13
In the mode in which the command input from 2 is stored in the RAM 112, it can be executed only by the same embroidery sewing machine 20. In other words, a keyboard 1 of an embroidery sewing machine 20
The command input from 32 cannot be executed by another embroidery sewing machine 20 or the like. Therefore, a method for executing a command input from the keyboard 132 of a certain embroidery sewing machine 20 with another embroidery sewing machine 20 will be described with reference to FIG.

【0034】図8はログデータの入出力処理を示す。ま
ず、図8において、オペレータがキーボード132で所
定の操作を行なって、ログデータの書き込み指令がなさ
れたか否かを検査し(ステップS50)、書き込み指令
がなされた場合(YES)にのみRAM112に記憶さ
れているログデータテーブル300内の全てのログデー
タ310を指令が入力された順番{あるいはその逆順}
に、FDDに出力する(ステップS52)。なお、FD
Dに装着されるFDには、ログデータテーブル300が
確保されている必要がある。同様に、オペレータがキー
ボード132で所定の操作を行なって、ログデータの読
み込み指令がなされたか否かを検査し(ステップS5
4)、読み込み指令がなされた場合(YES)にのみF
Dに記憶されているログデータテーブル300内の全て
のログデータ310を指令が入力された順番{あるいは
その逆順}に、RAM112に入力する(ステップS5
6)。
FIG. 8 shows the input / output processing of log data. First, in FIG. 8, the operator performs a predetermined operation with the keyboard 132 to check whether or not a log data write command is issued (step S50), and is stored in the RAM 112 only when a write command is issued (YES). The order in which commands are input for all log data 310 in the log data table 300 (or the reverse order).
Then, the data is output to the FDD (step S52). FD
The log data table 300 needs to be secured in the FD attached to D. Similarly, the operator performs a predetermined operation on the keyboard 132 to check whether or not a log data read command is issued (step S5).
4) F only when a read command is issued (YES)
All the log data 310 in the log data table 300 stored in D are input to the RAM 112 in the order in which the command is input {or the reverse order} (step S5).
6).

【0035】このように、ある刺繍ミシンにおいてなさ
れた一連の指令をRAM112に記憶し、その記憶され
た一連の指令をFDDに装着されるFDに保存し、こう
してFDに保存された一連の指令を他の刺繍ミシンにお
いて読み出して実行することにより、ある刺繍ミシンの
キーボード132から入力された指令を他の刺繍ミシン
等で実施することができる。なお、刺繍ミシンの相互間
で通信を行う通信制御回路{通信手段}をそれぞれの刺
繍ミシンに備えておき、ある刺繍ミシンに記憶されてい
る一連の指令を通信制御回路を通じて他の刺繍ミシンに
送り、他の刺繍ミシンにおいて送られた一連の指令を実
行してもよい。このため、何らかの要因によって入力さ
れた指令を再現することができない状態にある刺繍ミシ
ンでなく、他の刺繍ミシンにおいて入力された指令を再
現することで、誤動作の原因を究明することが可能にな
る。
As described above, the series of commands issued by a certain embroidery sewing machine is stored in the RAM 112, the stored series of commands is stored in the FD mounted on the FDD, and thus the series of commands stored in the FD is stored. By reading out and executing the command on another embroidery sewing machine, a command input from the keyboard 132 of a certain embroidery sewing machine can be executed by another embroidery sewing machine or the like. Each embroidery sewing machine is provided with a communication control circuit (communication means) for communicating between the embroidery sewing machines, and a series of commands stored in one embroidery sewing machine is sent to another embroidery sewing machine through the communication control circuit. , A series of commands sent by another embroidery sewing machine may be executed. Therefore, it is possible to investigate the cause of the malfunction by reproducing the command input to another embroidery sewing machine, not to the embroidery sewing machine in a state where the command input due to some factor cannot be reproduced. .

【0036】上述したように、図7に示すログデータの
実行処理では、キーボード132から実行指令がなされ
るごとに、一つのログデータ310のみを実行する態様
としたが、ログデータテーブル300に記憶されている
全てのログデータ310を一時停止しながら{あるいは
一括に}実行する態様としてもよい。そこで、その一時
停止等しながら実行する態様について、図9を参照しつ
つ説明する。
As described above, in the log data execution process shown in FIG. 7, only one log data 310 is executed every time an execution command is issued from the keyboard 132, but the log data table 300 stores the log data 310. It is also possible to adopt a mode of executing {or collectively} while temporarily suspending all the log data 310 that has been stored. Therefore, a mode of executing the process while temporarily stopping the process will be described with reference to FIG.

【0037】図9は、記憶されたログデータの他の実行
処理を示す。図9において、オペレータがキーボード1
32で所定の操作を行なって、ログデータを実行する指
令がなされたか否かを検査し(ステップS70)、実行
指令がなされた場合(YES)には最初に実行するログ
データ310を指す実行ポインタの設定を行う(ステッ
プS72)。具体的には、上述した記憶ポインタの内容
を実行ポインタに代入し、その実行ポインタを1だけ増
加させる。こうして、実行ポインタは、記憶されている
ログデータ310のうち最も古いログデータ310を指
すようにする。
FIG. 9 shows another execution process of the stored log data. In FIG. 9, the operator uses the keyboard 1
At 32, a predetermined operation is performed to check whether or not an instruction to execute the log data is issued (step S70). If an execution instruction is issued (YES), an execution pointer pointing to the log data 310 to be executed first. Is set (step S72). Specifically, the contents of the storage pointer described above are substituted into the execution pointer, and the execution pointer is incremented by 1. In this way, the execution pointer points to the oldest log data 310 among the stored log data 310.

【0038】そして、実行ポインタが指すログデータ3
10をログデータテーブル300から取得し(ステップ
S74)、取得したログデータ310の内容をデータ表
示部134に表示し(ステップS76)、そのログデー
タ310の指令{すなわち、イベントコード312の内
容}を実行する(ステップS78)。例えば、イベント
コード312が「B」であるとき、上記表1に従えばキ
ーボード132上の柄消去キーが押されたときと同様の
動作が行われる。
The log data 3 pointed to by the execution pointer
10 is acquired from the log data table 300 (step S74), the content of the acquired log data 310 is displayed on the data display unit 134 (step S76), and the command (that is, the content of the event code 312) of the log data 310 is displayed. Execute (step S78). For example, when the event code 312 is “B”, according to Table 1 above, the same operation as when the pattern erase key on the keyboard 132 is pressed is performed.

【0039】なお、上記ステップS74は、ログデータ
テーブル300をFDDから直接取得するようにしても
よい。この場合には、ステップS10において押された
キーに対応するイベントコードを含むログデータ310
がFDに確保されているログデータテーブル300に記
憶されている必要がある。また、ステップS76とステ
ップS78は順不同で実行可能であり、あるいはいずれ
か一のステップのみを実行してもよい。ステップS76
のみを実行すれば記憶されている指令の内容が表示され
るだけとなり、ステップS78のみを実行すれば指令の
内容が実行されるだけとなる。
In the step S74, the log data table 300 may be directly acquired from the FDD. In this case, the log data 310 including the event code corresponding to the key pressed in step S10.
Must be stored in the log data table 300 secured in the FD. Further, steps S76 and S78 can be executed in any order, or only one of them may be executed. Step S76
Only executing the command will display the stored command content, and executing only step S78 will execute the command content.

【0040】その後、ログデータ310の指令の実行を
一時停止し、オペレータに実行を中止するか否かを問い
合わせ(ステップS80)、もし実行を中止する場合
(YES)には本処理手順を終了する。また、ステップ
S70において実行指令がなされていない場合(NO)
には、何も実行することなく本処理手順を終了する。一
方、実行を継続する場合(NO)には実行ポインタを1
だけ増加させ(ステップS82)、記憶されている全て
のログデータ310の内容が実行されたか否かを検査す
る(ステップS84)。具体的には、実行ポインタと記
憶ポインタが一致するか否かによって判別する。もし、
判別結果が一致する場合(YES)には本処理手順を終
了し、一致しない場合(NO)には上記ステップS74
〜ステップS84を繰り返す。
Thereafter, the execution of the command of the log data 310 is temporarily stopped, and the operator is inquired whether or not the execution is to be stopped (step S80). If the execution is to be stopped (YES), this processing procedure is ended. . If no execution instruction is given in step S70 (NO)
In this case, this processing procedure is terminated without executing anything. On the other hand, if execution is to be continued (NO), the execution pointer is set to 1
Only (step S82), and it is checked whether the contents of all the stored log data 310 have been executed (step S84). Specifically, it is determined whether or not the execution pointer and the storage pointer match. if,
If the determination results match (YES), this processing procedure is ended, and if they do not match (NO), the above step S74 is performed.
~ Repeat step S84.

【0041】上記処理手順によれば、本発明を誤動作の
原因究明だけでなく、定型的な作業にも適用することが
可能になる。すなわち、いちいちキーボード132を用
いて指令しなくとも、記憶されている一連の指令を実行
することにより、自動的に作業を行うことができる。さ
らには、この一連の指令の内容{指令手順や指令量}に
応じて、刺繍ミシン20を無人運転することも可能にな
る。
According to the above processing procedure, the present invention can be applied not only to the investigation of the cause of the malfunction but also to the routine work. That is, the work can be automatically performed by executing a series of stored commands without issuing a command using the keyboard 132. Further, it is possible to operate the embroidery sewing machine 20 unattended according to the contents of the series of commands {command procedure and command amount}.

【0042】なお、ミシンにおけるその他の部分の構
造、形状、大きさ、材質、個数、配置および動作条件等
についても、上記実施の一形態に限定されるものでな
い。例えば、上記の一形態では、多針タイプのミシンヘ
ッドを複数個備えている刺繍ミシンに本発明を適用した
が、この刺繍ミシンに限らず、おおよそ操作盤又は外部
装置から入力された指令を記憶しておくように構成され
る全てのミシンについても同様に本発明を適用できる。
The structure, shape, size, material, number, arrangement and operating conditions of the other parts of the sewing machine are not limited to those of the above-mentioned embodiment. For example, in the above-described one embodiment, the present invention is applied to an embroidery sewing machine that includes a plurality of multi-needle type sewing machine heads, but the invention is not limited to this embroidery sewing machine, and a command input from an operation panel or an external device is stored. The present invention can be similarly applied to all the sewing machines configured to be stored in advance.

【0043】また、図3のログデータ310として、主
軸回転数318、移動速度320、指令実行前の刺繍枠
位置322、指令実行後の刺繍枠位置324をさらに構
成要素として付加してもよい。この場合、図6に示すロ
グデータの記憶処理では、ステップS10においてなさ
れた指令を実行する前に主軸回転数318、移動速度3
20および指令実行前の刺繍枠位置322の各データを
記憶し(ステップS16)、その指令を実行し(ステッ
プS18)、指令実行後の刺繍枠位置324を記憶する
必要がある(ステップS20)。こうしたログデータ3
10の構成要素や処理手順によって、指令が行われる前
後のミシンの状態を把握することができるため、より的
確に誤動作の原因究明を行うことが可能になる。
Further, as the log data 310 of FIG. 3, the spindle rotational speed 318, the moving speed 320, the embroidery frame position 322 before the command execution, and the embroidery frame position 324 after the command execution may be further added as constituent elements. In this case, in the log data storage process shown in FIG. 6, the spindle rotational speed 318 and the moving speed 3 are set before the command issued in step S10 is executed.
20 and each data of the embroidery frame position 322 before the command execution (step S16), the command is executed (step S18), and the embroidery frame position 324 after the command execution needs to be stored (step S20). Such log data 3
Since the state of the sewing machine before and after the command is issued can be grasped by the ten constituent elements and the processing procedure, the cause of the malfunction can be more accurately investigated.

【0044】さらに、上記図7に示すログデータの実行
処理においてはキーボード132に入力された順に指令
を再現したが、逆順に指令を再現することも可能であ
る。すなわち、上記ステップS32において記憶ポイン
タの内容を実行ポインタに代入し、ステップS42にお
いて実行ポインタを1だけ減少させるようにすればよ
い。こうすれば、ステップS32では記憶されているロ
グデータのうち最も新しいログデータを指し、ステップ
S42の実行によってキーボード132に入力された指
令を逆順に指し、ステップS38の実行によってその指
令を再現することができる。このように記憶されている
指令の実行する順番によっては、誤動作の原因究明が簡
単になる場合もある。
Further, in the log data execution process shown in FIG. 7, the commands are reproduced in the order in which they are input to the keyboard 132, but it is also possible to reproduce the commands in reverse order. That is, the contents of the storage pointer may be substituted for the execution pointer in step S32, and the execution pointer may be decreased by 1 in step S42. By doing so, in step S32, the latest log data among the stored log data is pointed to, the command input to the keyboard 132 by executing step S42 is indicated in reverse order, and the command is reproduced by executing step S38. You can Depending on the order in which the commands stored in this manner are executed, the cause of the malfunction may be easily determined.

【0045】そして、図9に示すログデータの他の実行
処理では、RAM112に記憶されている指令のタイミ
ングを考慮しながら実行してもよい。すなわち、ログデ
ータテーブル300内の最も古いログデータ310の発
生日時314を基準として、各ログデータ310の発生
日時314相互の時間間隔に従って、順にログデータ3
10の指令を実行する。この場合、ステップS80では
相互の時間間隔を待機する処理を行えばよい。こうし
て、オペレータが実際に入力したと同じタイミングで指
令が実行されるので、確実に指令を再現することができ
る。
Then, in the other execution processing of the log data shown in FIG. 9, it may be executed while considering the timing of the command stored in the RAM 112. That is, with reference to the date and time of occurrence 314 of the oldest log data 310 in the log data table 300, the log data 3 is sequentially output according to the time interval between the date and time of occurrence 314 of each log data 310.
Execute 10 commands. In this case, in step S80, a process of waiting for a mutual time interval may be performed. In this way, the command is executed at the same timing as when the operator actually inputs the command, so that the command can be reliably reproduced.

【0046】それから、図9に示すステップS80で行
う一時停止の態様に代えて、以下に示すいずれかの態様
で処理してもよい。 (1)オペレータが指定する指令のみ一時停止する態
様。 (2)所定時間待機後に実行する態様。 (3)キーボード132のいずれかのキーを押すごとに
実行する態様。 この場合、(1)の態様ではオペレータが注目する指令
の前後で刺繍ミシン20の状態を把握でき、(2)の態
様では一つ一つの指令をゆっくりと実行することにより
誤動作の発見を容易にし、(3)の態様では一の指令ご
とに刺繍ミシン20の状態を把握できるので、誤動作の
原因究明が容易になる。
Then, instead of the mode of temporary suspension performed in step S80 shown in FIG. 9, processing may be performed in any of the following modes. (1) A mode in which only commands specified by the operator are temporarily stopped. (2) A mode of executing after waiting for a predetermined time. (3) A mode of executing each time any key of the keyboard 132 is pressed. In this case, in the mode (1), it is possible to grasp the state of the embroidery sewing machine 20 before and after the command noticed by the operator, and in the mode (2), it is possible to easily detect a malfunction by executing each command slowly. In the modes (3) and (3), since the state of the embroidery sewing machine 20 can be grasped for each command, the cause of the malfunction can be easily investigated.

【0047】その他、現在から過去に遡るように入力と
は逆順に指令を取消すようにしてもよい。さらには、そ
の取消しを行う対象となる指令も選択できればなおよ
い。具体的には、例えば記憶ポインタが指しているログ
データ310を未指令の状態にクリアし、その記憶ポイ
ンタを1だけ減少させて一つ前のログデータ310を指
すようにする。こうして、刺繍ミシン20をその指令を
実行する前の状態に戻すことにより、誤動作の原因を特
定することが可能になる。
In addition, the commands may be canceled in the reverse order of the input so as to trace back from the present to the past. Furthermore, it is more preferable if the command to be canceled can be selected. Specifically, for example, the log data 310 pointed to by the storage pointer is cleared to an uncommanded state, and the storage pointer is decremented by 1 to point to the previous log data 310. Thus, by returning the embroidery sewing machine 20 to the state before executing the command, it is possible to identify the cause of the malfunction.

【0048】また、外部装置としてはフレキシブルディ
スク装置{外部記憶装置150}や通信制御装置{通信
制御回路108}を適用したが、バーコードリーダやO
CR、マークリーダ、あるいはMICR等の文字読取装
置や、電話回線や無線通信回線等のデータ通信網を通じ
て他のミシンやコンピュータ等との間でデータ送受信を
行うモデムのように、おおよそミシンに接続して指令を
行うことが可能な外部装置をも適用することができる。
As the external device, a flexible disk device {external storage device 150} and a communication control device {communication control circuit 108} were applied, but a bar code reader and O
Connected to a sewing machine, such as a CR, mark reader, or character reading device such as MICR, or a modem that sends and receives data to and from other sewing machines and computers through a data communication network such as a telephone line and a wireless communication line. It is also possible to apply an external device capable of issuing a command.

【0049】以上、本発明を実施するための一形態につ
いて説明したが、この一形態には特許請求の範囲に記載
した技術的事項以外に次のような技術的事項の望ましい
実施の形態を有するものである。この望ましい実施の形
態を列挙するとともに、必要に応じて関連説明を行う。
Although one mode for carrying out the present invention has been described above, this one mode has preferred embodiments of the following technical matters in addition to the technical matters described in the claims. It is a thing. The preferred embodiments will be listed and related explanations will be given if necessary.

【0050】〔第1の望ましい実施の形態〕 請求項1
に記載のミシンにおいて、記憶されている指令{すなわ
ち、ログデータ310}の中から必要な指令のみを選択
し、その指令に対応する動作を行うことを特徴とするミ
シン。再現に必要な指令のみを選択して実行できるの
で、より的確に誤動作の原因究明を行うことが可能にな
る。
[First Preferred Embodiment] Claim 1
2. The sewing machine according to claim 1, wherein only a necessary command is selected from the stored commands {that is, the log data 310} and the operation corresponding to the command is performed. Since only the commands necessary for reproduction can be selected and executed, the cause of the malfunction can be more accurately investigated.

【0051】〔第2の望ましい実施の形態〕 請求項1
に記載のミシンにおいて、記憶されている指令の内容を
編集{具体的には、追加,変更,削除等}し、その編集
した指令に対応する動作を行うことを特徴とするミシ
ン。ミシンが正常に動作するように誤動作する指令を編
集して実行できるので、誤動作の原因究明後の正常なミ
シンの動作が可能になる。
[Second Preferred Embodiment] Claim 1
The sewing machine described in (1) is characterized in that the stored contents of the command are edited (specifically, added, changed, deleted, etc.) and the operation corresponding to the edited command is performed. Since it is possible to edit and execute a malfunction command so that the sewing machine operates normally, it is possible to operate the sewing machine normally after investigating the cause of the malfunction.

【0052】〔第3の望ましい実施の形態〕 請求項1
に記載のミシンにおいて、タイマー機能によって指定さ
れた時刻や期間経過後に、記憶されている指令に対応す
る動作を行うことを特徴とするミシン。所望の時刻や期
間経過後に指令が実行されるので、ミシンの無人運転が
可能になる。
[Third Preferred Embodiment] Claim 1
In the sewing machine described in (1), the sewing machine performs an operation corresponding to a stored command after a time or a period designated by a timer function has elapsed. Since the command is executed after the desired time or period has elapsed, unmanned operation of the sewing machine becomes possible.

【0053】〔第4の望ましい実施の形態〕 請求項1
に記載のミシンにおいて、入力された指令とともに、そ
の指令を実行するときのミシン情報{例えば、主軸回転
数、移動速度、指令実行前の刺繍枠位置、指令実行後の
刺繍枠位置等}をも記憶し、その記憶されている指令に
対応する動作を行うことを特徴とするミシン。ミシン情
報によって誤動作の原因究明がより容易に特定しやすく
なる。
[Fourth Preferred Embodiment] Claim 1
In the sewing machine described in 1., together with the input command, sewing machine information (for example, spindle speed, moving speed, embroidery frame position before command execution, embroidery frame position after command execution, etc.) is also stored. A sewing machine characterized by storing and performing an operation corresponding to the stored instruction. Sewing machine information makes it easier to identify the cause of a malfunction.

【0054】〔第5の望ましい実施の形態〕 請求項1
に記載のミシンにおいて、他のミシンとの間で通信を行
う通信手段をさらに備え、この通信手段によって前記他
のミシンに記憶されている指令を受けて、その指令に対
応する動作を行うことを特徴とするミシン。他のミシン
で記憶されている指令が再現できない等のような場合
に、その指令を再現して他のミシンにおける誤動作の原
因究明が行えるようになる。
[Fifth Preferred Embodiment] Claim 1
The sewing machine according to claim 1, further comprising communication means for communicating with another sewing machine, receiving a command stored in the other sewing machine by the communication means, and performing an operation corresponding to the command. The characteristic sewing machine. In the case where the command stored in another sewing machine cannot be reproduced, the command can be reproduced to investigate the cause of the malfunction in the other sewing machine.

【0055】〔第6の望ましい実施の形態〕 操作盤お
よび/または外部装置から指令が入力されると、その指
令に対応する動作を行うミシンにおいて、前記操作盤お
よび/または前記外部装置から入力された指令を順に記
憶する記憶手段と、前記記憶手段に記憶されている複数
の指令のうち少なくとも一つの指令を取得し、その指令
に対応する動作を制御する指令制御手段と、を有するこ
とを特徴とするミシン。操作盤および/または外部装置
から入力された指令が順に記憶手段に記憶され、その記
憶した複数の指令に対応する動作が指令制御手段によっ
て行われるので、どの指令によって誤動作したのかを容
易に特定することができるようになる。
[Sixth Preferred Embodiment] When a command is input from the operation panel and / or an external device, a sewing machine that performs an operation corresponding to the command inputs the command from the operation panel and / or the external device. And a command control unit that acquires at least one command from the plurality of commands stored in the storage unit and controls the operation corresponding to the command. And sewing machine. The commands input from the operation panel and / or the external device are sequentially stored in the storage means, and the operation corresponding to the plurality of stored commands is performed by the command control means. Therefore, it is easy to identify which command caused the malfunction. Will be able to.

【0056】[0056]

【発明の効果】請求項1の発明によれば、操作盤および
/または外部装置から入力された指令を順に記憶し、そ
の記憶した複数の指令を入力された順に実行し、その指
令に対応する動作を行うので、どの指令によって誤動作
したのかを容易に特定することができるようになる。
According to the first aspect of the present invention, the commands input from the operation panel and / or the external device are stored in order, and the stored plurality of commands are executed in the input order to respond to the commands. Since the operation is performed, it becomes possible to easily specify which command caused the malfunction.

【0057】請求項2の発明によれば、記憶された複数
の指令が操作盤および/または外部装置から入力された
順にあるいはその逆順に実行されるので、どの指令によ
って誤動作したのかを確実に特定することができるよう
になる。
According to the second aspect of the present invention, since the plurality of stored commands are executed in the order input from the operation panel and / or the external device or in the reverse order, it is possible to reliably identify which command caused the malfunction. You will be able to.

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

【図1】刺繍ミシンの外観を示す図である。FIG. 1 is a diagram showing an appearance of an embroidery sewing machine.

【図2】電気系統全体を模式的に示すブロック図であ
る。
FIG. 2 is a block diagram schematically showing an entire electric system.

【図3】ログデータテーブルの構成を示す模式図であ
る。
FIG. 3 is a schematic diagram showing a configuration of a log data table.

【図4】操作パネルの一例を示す図である。FIG. 4 is a diagram showing an example of an operation panel.

【図5】ミシン制御装置の構成を模式的に示すブロック
図である。
FIG. 5 is a block diagram schematically showing a configuration of a sewing machine control device.

【図6】ログデータの記憶処理を示すフローチャートで
ある。
FIG. 6 is a flowchart showing a storage process of log data.

【図7】ログデータの実行処理を示すフローチャートで
ある。
FIG. 7 is a flowchart showing an execution process of log data.

【図8】ログデータの入出力処理を示すフローチャート
である。
FIG. 8 is a flowchart showing an input / output process of log data.

【図9】ログデータの他の実行処理を示すフローチャー
トである。
FIG. 9 is a flowchart showing another execution process of log data.

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

20 刺繍ミシン 58 FDD(外部記憶装置) 100 コントローラボックス 104 操作盤 112 RAM(記憶手段) 100a 操作パネル 132 キーボード 200 ミシン制御装置 20 Embroidery sewing machine 58 FDD (external storage device) 100 Controller box 104 Operation panel 112 RAM (storage means) 100a Operation panel 132 Keyboard 200 Sewing machine control device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 操作盤および/または外部装置から指令
が入力されると、その指令に対応する動作を行うミシン
において、 前記操作盤および/または前記外部装置から入力された
指令を順に記憶しておき、 記憶された複数の指令のうち少なくとも一つの指令を実
行し、その指令に対応する動作を行うことを特徴とする
ミシン。
1. When a command is input from the operation panel and / or an external device, a sewing machine that performs an operation corresponding to the command stores the commands input from the operation panel and / or the external device in order. A sewing machine characterized by executing at least one command out of a plurality of stored commands and performing an operation corresponding to the command.
【請求項2】 請求項1に記載のミシンにおいて、 記憶された複数の指令は、前記操作盤および/または前
記外部装置から入力された順にあるいはその逆順に実行
し、その指令に対応する動作を行うことを特徴とするミ
シン。
2. The sewing machine according to claim 1, wherein the plurality of stored commands are executed in the order input from the operation panel and / or the external device or in the reverse order, and the operation corresponding to the command is executed. A sewing machine characterized by being performed.
JP18704395A 1995-07-24 1995-07-24 Sewing machine Withdrawn JPH0928965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18704395A JPH0928965A (en) 1995-07-24 1995-07-24 Sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18704395A JPH0928965A (en) 1995-07-24 1995-07-24 Sewing machine

Publications (1)

Publication Number Publication Date
JPH0928965A true JPH0928965A (en) 1997-02-04

Family

ID=16199181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18704395A Withdrawn JPH0928965A (en) 1995-07-24 1995-07-24 Sewing machine

Country Status (1)

Country Link
JP (1) JPH0928965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006043038A (en) * 2004-08-03 2006-02-16 Brother Ind Ltd Sewing machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006043038A (en) * 2004-08-03 2006-02-16 Brother Ind Ltd Sewing machine

Similar Documents

Publication Publication Date Title
JP3146459B2 (en) Electronically controlled embroidery sewing machine
JPH11123293A (en) Control device of sewing machine
JPS6057358B2 (en) Sewing machine automatic programming device
US7878133B2 (en) Sewing machine and computer-readable recording medium storing sewing machine operation program
JPS5838590A (en) Test apparatus of sewing machine
JP2696341B2 (en) Embroidery pattern display device in automatic embroidery machine
JPS5925788A (en) Apparatus for operating electronic control sewing machine in diagnostic mode
JPH0928965A (en) Sewing machine
JPH11221381A (en) Sewing machine
JP2000197781A (en) Sewing machine
JPH11128575A (en) Embroidery sewing machine control device
US5957070A (en) Programmable electronic sewing machine
JP3956281B2 (en) Memory card mounted embroidery controller
US5740748A (en) Embroidery stitching device capable of simultaneously performing stitching a computation of stitching time
JP2933977B2 (en) Multi-needle, multi-head embroidery sewing machine
JP3065091B2 (en) Character size setting method and setting device for automatic embroidery sewing machine
JP3466288B2 (en) Sewing machine embroidery equipment
JP2004016697A (en) Sewing apparatus and program for sewing apparatus
JP2950071B2 (en) Embroidery sewing machine
JP2009285265A (en) Sewing data editing device of sewing machine
JPH0191894A (en) Automatic embroidering machine
JP3146479B2 (en) Electronically controlled embroidery sewing machine
JP3146480B2 (en) Electronically controlled embroidery sewing machine
JPH0951995A (en) Sewing machine
JPS63286182A (en) Sewing machine having display apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021001