JPH053978A - External equipment control method in electronic sewing machine - Google Patents

External equipment control method in electronic sewing machine

Info

Publication number
JPH053978A
JPH053978A JP18354591A JP18354591A JPH053978A JP H053978 A JPH053978 A JP H053978A JP 18354591 A JP18354591 A JP 18354591A JP 18354591 A JP18354591 A JP 18354591A JP H053978 A JPH053978 A JP H053978A
Authority
JP
Japan
Prior art keywords
sewing machine
input
output
control program
electronic cycle
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.)
Granted
Application number
JP18354591A
Other languages
Japanese (ja)
Other versions
JP2758087B2 (en
Inventor
Hisahiro Shimizu
久弘 清水
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 JP3183545A priority Critical patent/JP2758087B2/en
Publication of JPH053978A publication Critical patent/JPH053978A/en
Application granted granted Critical
Publication of JP2758087B2 publication Critical patent/JP2758087B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To permit a user to prepare a control program for the external equipment in a free short time, when a variety of external equipment is connected with an electronic cycle sewing machine and used. CONSTITUTION:An electronic cycle sewing machine which is controlled according to a sewing machine control program 5 is equipped with the expanded input/output modules 2A and 2B for connecting the external equipment, and is equipped with a memory table in which a variety of operation states of the sewing machine are allowed to correspond to the event variables, and an input/output program 6 for relating the event variables with the input variable and output variable corresponding to each port of the expanded input/output module is prepared, and the external equipment is controlled by the program 6.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、電子サイクルミシン
に接続された外部機器(周辺装置)を制御する外部機器
制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external device control system for controlling an external device (peripheral device) connected to an electronic cycle sewing machine.

【0002】[0002]

【従来の技術】電子サイクルミシンは、電子サイクルマ
シンあるいは電子模様縫ミシンとも云われ、縫製素材
(布地等)を押え板あるいはカセットによって挾持し
て、予めフロッピディスク等に格納された縫製データ
(パターンデータ)を読み出してX−Y方向へ自在に移
動させ、複雑な縫線や刺しゅう等の各種模様の縫製を行
なえる工業用ミシンである。
2. Description of the Related Art An electronic cycle sewing machine is also called an electronic cycle machine or an electronic pattern sewing machine. It holds a sewing material (cloth etc.) with a holding plate or a cassette and stores sewing data (patterns) stored in advance on a floppy disk or the like. This is an industrial sewing machine that can read various data and move it freely in the XY directions to sew various patterns such as complicated sewing lines and embroidery.

【0003】そして、このような電子サイクルミシン
に、上記カセットの交換をロータリ方式で自動的に行な
うロータリカセットチェンジャや、縫製品を積み重ねて
排出するスタッカ装置、縫製素材に縫い付けるラベルを
自動的に供給するラベル自動供給装置等、種々の外部装
置を接続して使用することが多い。
In such an electronic cycle sewing machine, a rotary cassette changer for automatically exchanging the above cassettes by a rotary system, a stacker device for stacking and discharging sewn products, and a label to be sewn on a sewing material are automatically provided. It is often used by connecting various external devices such as an automatic label supplying device for supplying.

【0004】その場合、従来はそれらの外部機器とのイ
ンタフェースとして、予め想定したI/Oポート(入出
力制御部)を設けておくか、あるいはユーザからの要求
により改造レベルのI/Oポートを設置し、電子サイク
ルミシン全体の制御プログラムを改造することによっ
て、上記I/Oポートを介して外部機器と通信を行なっ
てそれらを制御するようにしていた。また、ユーザによ
っては、ミシン本体より出力される所定の動作信号を利
用して、外部にてプログラマブルコントローラ等を用い
て制御するようにしていた。
In that case, conventionally, an I / O port (input / output control unit) assumed in advance has been provided as an interface with these external devices, or an I / O port of a remodeling level is requested by a user. By installing and modifying the control program of the entire electronic cycle sewing machine, communication with an external device is performed via the I / O port to control them. Further, some users use a predetermined operation signal output from the main body of the sewing machine to externally control using a programmable controller or the like.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、電子サ
イクルミシンに接続される外部機器は、想定可能なもの
の他にも多種多様であり、I/Oポートの数が変動する
ため改造レベルに達してしまう場合が多かった。
However, there are various types of external devices connected to the electronic cycle sewing machine, in addition to those that can be envisioned, and the number of I / O ports fluctuates, reaching a modification level. There were many cases.

【0006】しかも、そこに接続する外部機器を制御す
るためには、それぞれの機器の仕様に対応する内部プロ
グラム(特定仕様向け制御プログラム)を作成するか、
あるいはユーザが要求する信号を外部へ出力するように
して、ユーザ側でプログラマブルコントローラ等を用い
て制御できるようにしなければならず、実現に大変な手
間と仕様のつめが必要とされた。また、メンテナンスが
個々のユーザに対して発生するという問題もあった。
Moreover, in order to control the external equipment connected thereto, an internal program (control program for specific specifications) corresponding to the specifications of each equipment is created, or
Alternatively, it is necessary to output the signal requested by the user to the outside so that the user can control it by using a programmable controller or the like, which requires a great deal of effort and specifications for implementation. There is also a problem in that maintenance occurs for individual users.

【0007】この発明は上記の点に鑑みてなされたもの
であり、電子サイクルミシンに各種の外部機器を接続し
て使用する場合に、ユーザが自由に短時間でそれらの外
部機器に対する制御プログラムを作成して使用できるよ
うにすることを目的とする。
The present invention has been made in view of the above points, and when the electronic cycle sewing machine is used by connecting various external devices, the user can freely execute a control program for the external devices in a short time. The purpose is to make it available for use.

【0008】[0008]

【課題を解決するための手段】この発明は上記の目的を
達成するため、電子サイクルミシンに外部機器を接続す
るための拡張入出力モジュールを着脱可能に設けると共
に、電子サイクルミシンの各種動作状態をイベント変数
と対応させたテーブルを記憶させ、そのイベント変数と
上記拡張入出力モジュールの各ポートに対応する変数と
を関連付ける入出力制御プログラムを作成して、その入
出力制御プログラムにより前記拡張入出力モジュールに
接続された外部機器を制御することを特徴とする。さら
に、その作成した入出力制御プログラムと縫製データと
を同じパターン番号で同一の記憶媒体に格納するとよ
い。
In order to achieve the above-mentioned object, the present invention detachably installs an expansion input / output module for connecting an external device to the electronic cycle sewing machine, and also various operating states of the electronic cycle sewing machine are provided. A table corresponding to event variables is stored, and an input / output control program for associating the event variable with a variable corresponding to each port of the expansion input / output module is created, and the expansion input / output module is expanded by the input / output control program. It is characterized by controlling an external device connected to. Furthermore, the created input / output control program and sewing data may be stored in the same storage medium with the same pattern number.

【0009】[0009]

【作用】この発明によれば、電子サイクルミシンに接続
する外部機器に応じた拡張入出力モジュールを装着する
ことができ、その各ポートに対応する変数と予め記憶さ
れている電子サイクルミシンの各種動作状態に対応する
イベント変数とを関連付ける入出力制御プログラムをユ
ーザが簡単に短時間で作成することができ、その入出力
制御プログラムを用いて電子サイクルミシンの動作状態
に合わせて外部機器を確実に制御することができる。
According to the present invention, the expansion input / output module corresponding to the external device connected to the electronic cycle sewing machine can be mounted, and the variable corresponding to each port and various operations of the electronic cycle sewing machine stored in advance. The user can easily create an input / output control program that associates with the event variable corresponding to the state in a short time, and reliably control the external equipment according to the operating state of the electronic cycle sewing machine by using the input / output control program. can do.

【0010】また、その作成した入出力制御プログラム
と縫製データとを同じパターン番号で同一の記憶媒体に
格納すれば、記憶媒体を一元化できるのでプログラム管
理が容易になる。
Further, if the created input / output control program and the sewing data are stored in the same storage medium with the same pattern number, the storage medium can be unified and the program management becomes easy.

【0011】[0011]

【実施例】以下、この発明の実施例を図面に基づいて具
体的に説明する。まず、この発明による外部機器制御方
式を実施する電子サイクルミシンの一例を図2乃至図4
によって説明する。図2はその外観を示す斜視図であ
り、この電子サイクルミシン1は、ミシンテーブル10
上にミシン頭部11,後述するカセットを保持する外押
えアーム12,カセット載置プレート13,非常停止ス
イッチ14,操作ボックス15,糸立てポール16等を
備え、テーブル10の下部に電源スイッチ17及び電装
ボックス18備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be specifically described below with reference to the drawings. First, an example of an electronic cycle sewing machine that implements an external device control system according to the present invention will be described with reference to FIGS.
Explained by. FIG. 2 is a perspective view showing the appearance thereof. The electronic cycle sewing machine 1 includes a sewing machine table 10
A sewing machine head 11, an outer pressing arm 12 for holding a cassette to be described later, a cassette mounting plate 13, an emergency stop switch 14, an operation box 15, a thread stand pole 16 and the like are provided above the table 10, and a power switch 17 and The electrical equipment box 18 is provided.

【0012】さらに、操作者が足で操作できる位置に、
外押えスイツチ19とスタートスイッチ20が一体的に
配置されている。21はミシン頭部11内の主軸を回転
駆動するためのミシンモータである。この他にミシンテ
ーブル10内には、外押えアーム12をカセット載置プ
レート14に平行な面内で直交する二方向(X方向とY
方向)へX軸モータとY軸モータによって移動させるX
−Yテーブルと、外押えアーム12を昇降させるソレノ
イド等も備えている。
Furthermore, at a position where the operator can operate with his / her feet,
The outer presser switch 19 and the start switch 20 are integrally arranged. Reference numeral 21 is a sewing machine motor for rotationally driving the main shaft in the sewing machine head 11. Besides, in the sewing machine table 10, the outer pressing arm 12 is orthogonal to two directions (X direction and Y direction) in a plane parallel to the cassette mounting plate 14.
X direction which is moved by X-axis motor and Y-axis motor
A Y table and a solenoid for raising and lowering the outer pressing arm 12 are also provided.

【0013】この電子サイクルミシン1では、縫製素材
(布地等)を挾持したカセットを外押えアーム12の枠
板12a,12b間に挿入し、外押えスイッチをONに
して外押えアーム12を下降させてそれをクランプした
後、スタートスイッチ20をONにすると、ミシンモー
タ21を駆動すると共に電装ボックス18に装填された
図示しないフロッピディスクに予め格納されている縫製
データ(パターンデータ)を読み出して、外押えアーム
12をX−Y方向へ自在に移動させながら複雑な縫線や
刺しゅう等の模様縫いを行なうことができる。
In this electronic cycle sewing machine 1, a cassette holding a sewing material (cloth or the like) is inserted between the frame plates 12a and 12b of the outer pressing arm 12 and the outer pressing switch is turned on to lower the outer pressing arm 12. Then, when the start switch 20 is turned on, the sewing machine motor 21 is driven and the sewing data (pattern data) stored in advance in the floppy disk (not shown) loaded in the electrical equipment box 18 is read out and It is possible to perform complicated pattern sewing such as sewing lines and embroidery while freely moving the presser arm 12 in the XY directions.

【0014】図3はこの電子サイクルミシン1の電装ボ
ックス18等による制御系の構成を示すブロック図であ
る。電装ボックス18内には、中央処理装置であるCP
U31,プログラムメモリであるROM32,及びデー
タメモリであるRAM33をバスライン(データバス,
アドレスバス,コントロールバスからなる)34を介し
て接続したマイクロコンピュータ30を内蔵している。
FIG. 3 is a block diagram showing the configuration of a control system including the electrical equipment box 18 of the electronic cycle sewing machine 1. In the electrical equipment box 18, the central processing unit CP
U31, ROM32 which is a program memory, and RAM33 which is a data memory are connected to a bus line (data bus,
It incorporates a microcomputer 30 connected via an address bus 34 and a control bus 34.

【0015】そして、このマイクロコンピュータ30に
図示を省略したI/O(入出力部)を介して、前述した
ミシンモータ21,X−YテーブルのX軸モータ22及
びY軸モータ23(いずれもパルスモータ)をそれぞれ
駆動するミシンモータ・ドライバ35,X軸モータ・ド
ライバ36,及びY軸モータ・ドライバ37と、フロッ
ピディスク39に対する読出し及び書き込みを行なうフ
ロッピディスク・ドライブ装置(以下「FDD」と略称
する)が接続されて、同じく電装ボックス18内に設け
られている。
The sewing machine motor 21, the X-axis motor 22 and the Y-axis motor 23 of the XY table (all of which are pulsed) are supplied to the microcomputer 30 via an I / O (input / output unit) not shown. Sewing machine motor driver 35, X-axis motor driver 36, and Y-axis motor driver 37 for driving respective motors, and a floppy disk drive device (hereinafter abbreviated as "FDD") for reading and writing to floppy disk 39. ) Is connected and is also provided in the electrical equipment box 18.

【0016】さらに、このマイクロコンピュータ30の
バスライン34には、やはり図示を省略したI/Oを介
して、図2に示した外押えスイッチ19及びスタートス
イッチ20、主軸の回転位置センサを含む各種センサ2
4、常時上昇付勢された外押えアーム12を下降させる
ためのソレノイドを含む各種ソレノイド25、操作ボッ
クス15に設けられた図4に示すようなテンキー26a
を含むキーボード(K/B)26とディスプレイ27等
も接続されている。
Further, in the bus line 34 of the microcomputer 30, various types including the external pressing switch 19 and the start switch 20 shown in FIG. 2 and the rotational position sensor of the main shaft are also provided through I / O not shown. Sensor 2
4. Various solenoids 25 including solenoids for lowering the outer pressing arm 12 which is always urged and elevated, and a numeric keypad 26a as shown in FIG.
A keyboard (K / B) 26 including a display 27 and the like are also connected.

【0017】また、この電装ボックス18には拡張入出
力モジュール2として、拡張入力モジュール2A,拡張
出力モジュール2B,……を着脱可能に装着でき、装着
時にはそれらがマイクロコンピュータ30のバスライン
34に接続されるようになっている。すなわち、図5に
示すように電装ボックス18の例えば背面にスロット1
8aが設けられ、そこに複数枚の拡張入出力モジュール
2を個々に案内するガイド部材18bと図示しないコネ
クタとを設けている。
Further, as the expansion input / output module 2, the expansion input module 2A, the expansion output module 2B, ... Can be detachably mounted on the electrical equipment box 18, and at the time of mounting, they are connected to the bus line 34 of the microcomputer 30. It is supposed to be done. That is, as shown in FIG. 5, the slot 1 is provided on the rear surface of the electrical equipment box 18, for example.
8a is provided, and a guide member 18b for individually guiding the plurality of expansion input / output modules 2 and a connector (not shown) are provided therein.

【0018】拡張入出力モジュール2は、それぞれフォ
トカプラや信号判別回路等を登載したプリント回路基板
からなり、各6〜12点ほどのポート(入力ポートはセ
ンサ入力用、出力ポートはオープンコレクタ,リレー出
力,サイリスタ出力等)を持ち、前端部に電装ボックス
18内のコネクタに挿着されコネクタ端子2aを、後端
部に後述する各種外部(周辺)機器の信号線を接続する
コネクタ2bを備えている。
The extended input / output module 2 is composed of a printed circuit board on which a photo coupler, a signal discriminating circuit, etc. are mounted, and each has about 6 to 12 ports (input port for sensor input, output port for open collector, relay). Output, thyristor output, etc.), a connector terminal 2a inserted into a connector in the electrical equipment box 18 at a front end portion thereof, and a connector 2b for connecting signal lines of various external (peripheral) devices described later at a rear end portion thereof. There is.

【0019】この電装ボックス18はでは、マイクロコ
ンピュータ30がROM32に格納されているミシン制
御プログラムによって動作し、前述のようにスタートス
イッチ20のONによって縫製を開始すると、ミシンモ
ータ・ドライバ35によってミシンモータ21を駆動さ
せると共に、フロッピディスク39に格納されている各
種の縫製データのいずれかをキーボード26からの選択
指示に応じて選択してFDD38によって読み出し、そ
の縫製データに応じてX軸モータ・ドライバ36及びY
軸モータドライバを介してX−YテーブルのX軸モータ
22及びY軸モータ23を駆動制御し、図2の外押えア
ーム12及びセット13を介して縫製素材をX−Y方向
に移動させながら所定の模様を縫製する。
In the electrical equipment box 18, the microcomputer 30 operates according to the sewing machine control program stored in the ROM 32, and when sewing is started by turning on the start switch 20 as described above, the sewing machine motor driver 35 operates the sewing machine motor. 21 is driven, and any one of various sewing data stored in the floppy disk 39 is selected according to a selection instruction from the keyboard 26 and read by the FDD 38, and the X-axis motor driver 36 is read according to the sewing data. And Y
The X-axis motor 22 and the Y-axis motor 23 of the XY table are driven and controlled through the axis motor driver, and the sewing material is moved in the XY direction through the outer pressing arm 12 and the set 13 shown in FIG. Sew the pattern.

【0020】その際、拡張入出力モジュール2を介して
外部装置を接続して使用する場合には、予め操作ボック
ス15のキーボード26を用いて後述する入出力制御プ
ログラムを作成しておくことにより、マイクロコンピュ
ータ30がその入出力制御プログラムに従って、拡張入
出力モジュール2を介して接続された外部機器を電子サ
イクルミシン1の動作状態に合わせて制御することがで
きる。また、一度作成した入出力制御プログラムは、そ
れに対応する縫製データと同じパターン番号で同一の記
憶媒体であるフロッピディスク39に格納して、その縫
製データによる縫製時には何時でも使用することができ
る。
At this time, when an external device is connected via the expansion input / output module 2 for use, an input / output control program to be described later is created by using the keyboard 26 of the operation box 15 in advance, According to the input / output control program, the microcomputer 30 can control the external device connected via the expansion input / output module 2 in accordance with the operating state of the electronic cycle sewing machine 1. Further, the once created input / output control program is stored in the floppy disk 39 which is the same storage medium with the same pattern number as the corresponding sewing data, and can be used at any time when sewing with the sewing data.

【0021】この電子サイクルミシンに接続される外部
機器としては、例えばつぎのようなものがある。 (1)ロータリカセットチェンジャ(「RCC」と略称
する) (2)スタッカ装置 (3)ラベル自動供給装置 (4)位置決め用追加シリンダ (5)ミーリング装置(押え板に縫製パターンに応じた
溝を切る装置) (6)穴あけ装置(ベルト穴用,ハトメ穴用等)
Examples of external equipment connected to the electronic cycle sewing machine include the following. (1) Rotary cassette changer (abbreviated as "RCC") (2) Stacker device (3) Label automatic supply device (4) Additional cylinder for positioning (5) Milling device (cutting grooves according to the sewing pattern on the holding plate Equipment) (6) Drilling equipment (for belt holes, eyelet holes, etc.)

【0022】以下、図2に示した電子サイクルミシン1
にRCCを接続して使用する場合の例について説明す
る。図6はその接続状態を示す斜視図であり、電子サイ
クルミシン1の前側にRCC4を配置し、その入力信号
線及び出力信号線をそれぞれ接続した拡張入力モジュー
ル2Aと拡張出力モジュール2Bを、電子サイクルミシ
ン1の図5に示した電装ボックス18のスロット18a
に挿着する。
Hereinafter, the electronic cycle sewing machine 1 shown in FIG.
An example of connecting and using the RCC will be described. FIG. 6 is a perspective view showing the connection state, in which the RCC 4 is arranged on the front side of the electronic cycle sewing machine 1 and the expansion input module 2A and the expansion output module 2B each having an input signal line and an output signal line connected thereto are connected to the electronic cycle. Slot 18a of the electrical equipment box 18 shown in FIG.
To attach.

【0023】このRCC3は、回転盤40に90°間隔
で4本のカセット保持腕41が設けられており、図示し
ない縫製素材を挾んでこのカセット保持腕41に装着さ
れる各カセット3(種類が異なるものでもよい)を、回
転盤40の回動によって電子サイクルミシン1のカセッ
ト挿着位置へ順次供給する。縫製作業開始後は、次のカ
セット3の供給に先立って、ミシン頭部11に対向する
位置に待機する空のカセット保持腕41に、外押えアー
ム12の移動により縫製済みのカセット3を受け取っ
て、回転盤40の回動により縫製素材交換位置へ搬送す
る。
This RCC 3 is provided with four cassette holding arms 41 at 90 ° intervals on a turntable 40, and each cassette 3 (of a kind of type) mounted on the cassette holding arm 41 by sandwiching a sewing material (not shown). Different ones may be sequentially supplied to the cassette insertion position of the electronic cycle sewing machine 1 by the rotation of the turntable 40. After the start of the sewing operation, prior to the supply of the next cassette 3, the empty cassette holding arm 41 waiting at the position facing the sewing machine head 11 receives the sewn cassette 3 by moving the outer pressing arm 12. Then, the rotary table 40 is rotated to convey it to the sewing material exchange position.

【0024】このように、電子サイクルミシン1とRC
C4とは連携動作をする必要があるため、例えば図7に
示すような信号等のやり取りを図3に示した拡張入力モ
ジュール2A及び拡張入力モジュール2Bを介して行な
う。この図3に示す各信号等について簡単に説明する。
ここでは電子サイクルミシンを単にミシンと云う。
Thus, the electronic cycle sewing machine 1 and RC
Since it is necessary to cooperate with C4, for example, signals such as those shown in FIG. 7 are exchanged via the expansion input module 2A and the expansion input module 2B shown in FIG. Each signal shown in FIG. 3 will be briefly described.
Here, the electronic cycle sewing machine is simply referred to as a sewing machine.

【0025】 準備完了…ミシンが縫製データを読み込み、準備キー
(操作ボックス15にある) が押され、縫製
状態にあることを示す。 縫製終了…ミシンの縫製が終了し、外押え12が上昇し
ている状態(RCC4によるカセット交換が可能な状
態)を示す。 エラー信号…ミシンが糸切れ等により途中停止している
状態を示す。 スタート信号…ミシンに対して外押え12を下降して縫
製を開始させる信号 パターンNO…縫製データと入出力制御プログラムを指
定するパターン番号
Ready ... The sewing machine reads the sewing data and the ready key (in the operation box 15) is pressed to indicate that the sewing machine is in the sewing state. Sewing completion: The sewing machine is finished sewing and the outer presser foot 12 is raised (a state in which the cassette can be replaced by the RCC 4). Error signal: Indicates that the sewing machine has stopped midway due to thread breakage or the like. Start signal ... Signal pattern NO for lowering the outer presser foot 12 with respect to the sewing machine to start sewing ... Pattern number for specifying sewing data and input / output control program

【0026】ところで、この発明によれば、外部機器を
制御するための入出力制御プログラムの作成を容易にす
るために、予め電子サイクルミシンの各種動作状態(内
部で発生する信号に判別する)をそれぞれイベント変数
と対応させた、表1に示すようなイベント変数テーブル
を、図3のROM32に記憶させておく。この例では、
変数として3桁の番号(NO)を使用し、それぞれ信号
名と対応させている。Rは読み出しのみ、R/Wは読み
出しと書き込みを示す。
By the way, according to the present invention, in order to facilitate the preparation of the input / output control program for controlling the external equipment, various operating states of the electronic cycle sewing machine (determined by the signal internally generated) are set in advance. An event variable table as shown in Table 1 corresponding to each event variable is stored in the ROM 32 of FIG. In this example,
A 3-digit number (NO) is used as a variable and is associated with each signal name. R indicates read only, and R / W indicates read and write.

【027】[027]

【表1】 [Table 1]

【0028】また、図3に示した拡張入出力モジュール
2についても、各入力ポートに対して入力変数を対応さ
せた表2に示すような入力変数テーブル、及び各出力ポ
ートに対して出力変数を対応させた表3に示すような出
力変数テーブルをROM32に記憶させておく。この入
力変数及び出力変数は使用し得る入力ポート及び出力ポ
ートの最大数を想定して決めるが、実際には挿着された
拡張入出力モジュール2によって使用可能な入出力ポー
ト数(したがって入力変数及び出力変数)が制限される
のは勿論である。
Also in the expansion input / output module 2 shown in FIG. 3, the input variable table as shown in Table 2 in which the input variables are made to correspond to the respective input ports, and the output variables are made to the respective output ports. The corresponding output variable table as shown in Table 3 is stored in the ROM 32. These input variables and output variables are determined by assuming the maximum number of input ports and output ports that can be used, but in reality, the number of input / output ports that can be used by the inserted expansion input / output module 2 (hence the input variables and Of course, output variables are limited.

【0029】[0029]

【表2】 [Table 2]

【0030】[0030]

【表3】 [Table 3]

【0031】そして、接続した外部機器(図6の例では
RCC4)及びそのための拡張入力モジュール2Aと拡
張出力モジュール2Bに応じて、電子サイクルミシン1
の操作ボックス15の図4に示したデイスプレイ27を
見ながらキーボード26を操作することによって、ユー
ザが予めその入出力制御プログラムを容易に作成するこ
とができる。その場合のプログラム命令には次のような
ものがある。なお、XXXは変数の番号を、YYYは時
間の数値示す。
Then, according to the connected external device (RCC4 in the example of FIG. 6) and the expansion input module 2A and expansion output module 2B therefor, the electronic cycle sewing machine 1
By operating the keyboard 26 while looking at the display 27 of the operation box 15 shown in FIG. 4, the user can easily create the input / output control program in advance. The program instructions in that case include the following. XXX is a variable number and YYY is a numerical value of time.

【0032】 IN XXX 変数の内容をレジスタに入れる OUT XXX レジスタの内容を変数に入れる AND XXX レジスタと変数の論理積をとって
レジスタに代入する OR XXX レジスタと変数の論理和をとって
レジスタに代入する XOR XXX レジスタと変数の排他的論理和を
とってレジスタに代入する NOT XXX レジスタ又は変数の内容を反転す
る WAIT YYY 時間YYYだけ待つ その他、ADD(加算),SUB(減算),MUL(乗
算)、DIV(除算)等がある。
IN XXX Put the contents of the variable in the register OUT XXX Put the contents of the register in the variable AND XXX Take the logical product of the register and the variable and assign it to the register OR XXX Take the logical sum of the variable and assign it to the register XOR XXX Takes the exclusive OR of the register and the variable and assigns it to the NOT XXX Register or inverts the contents of the variable WAIT YYY Waits for time YYY Other than ADD (addition), SUB (subtraction), MUL (multiplication) , DIV (division), etc.

【0033】また、図7に示した各信号等に対して、次
の出力変数及び入力変数を割り当てる。 [出力] 準備完了 200 [入力] エラー信号 100 縫製終了 201 パターンNO 101 エラー信号 202 (4bit) 〜104
Further, the following output variables and input variables are assigned to the respective signals shown in FIG. [Output] Ready 200 [Input] Error signal 100 Sewing end 201 Pattern NO 101 Error signal 202 (4bit) to 104

【0034】そして、作成した入出力制御プログラムの
一例を次に示す。 10 IN 100 スタート命令 20 OUT 000 30 IN 101〜4 パターンNO 40 OUT 014 50 IN 010 縫製中 60 OUT 201 70 IN 005 準備中 80 OUT 200 90 IN 002 エラー発生 100 OUT 202 110 END
An example of the created input / output control program is shown below. 10 IN 100 Start command 20 OUT 000 30 IN 101-4 Pattern NO 40 OUT 014 50 IN 010 Sewing 60 OUT 201 70 IN 005 Preparing 80 OUT 200 90 IN 002 Error occurrence 100 OUT 202 110 END

【0035】ミシン動作時には、このプログラムの10
行から100行までが繰り返し実行される。なお、これ
は簡単な入出力制御プログラムの例を示したが、実際に
はもっと長いプログラムになることが多い。この入出力
制御プログラムに従って、電装ボックス18内のマイク
ロコンピュータ30が、拡張入力モジュール2A及び拡
張出力モジュール2Bを介して、外部機器であるRCC
4を電子サイクルミシン1の動作状態に合わせて制御す
ることができる。
At the time of sewing machine operation, 10 of this program
Lines 100 to 100 are repeatedly executed. Although this is an example of a simple input / output control program, it is often a longer program in practice. According to this input / output control program, the microcomputer 30 in the electrical equipment box 18 is an external device RCC via the expansion input module 2A and the expansion output module 2B.
4 can be controlled according to the operating state of the electronic cycle sewing machine 1.

【0036】すなわち、この実施例によれば、電子サイ
クルミシン1の内部のセンサ群,モータ群,操作スイッ
チ群,付属機器等を制御するためのミシン制御プログラ
ム5と、拡張入力モジュール2A及び拡張出力モジュー
ル2Bを介してRCC4等の外部機器を制御する入出力
制御プログラム6とが、イベント変数と入力変数及び出
力変数によって関連付けられているので、ミシン制御プ
ログラム5を変更することなく、入出力制御プログラム
6を接続する外部機器に応じて作成すれば、その外部機
器を電子サイクルミシン1の動作と連携して制御するこ
とができる。
That is, according to this embodiment, the sewing machine control program 5 for controlling the sensor group, motor group, operation switch group, auxiliary equipment, etc. inside the electronic cycle sewing machine 1, the expansion input module 2A and the expansion output. Since the input / output control program 6 for controlling the external device such as the RCC 4 via the module 2B is associated with the event variable, the input variable and the output variable, the input / output control program without changing the sewing machine control program 5 If it is created according to the external device to which 6 is connected, the external device can be controlled in cooperation with the operation of the electronic cycle sewing machine 1.

【0037】その入出力制御プログラムは、上述のよう
に操作ボックス15のプログラミング機能を用いて簡単
なシーケンスプログラムを組む要領で、プログラム命令
とイベント変数又は入出力変数あるいは時間とを結合す
ることにより容易に作成することができる。したがっ
て、電子サイクルミシンの汎用性が高まり、種々のシス
テム構成に柔軟に対応できる。
The input / output control program can be easily formed by combining the program command with the event variable or the input / output variable or the time in the manner of forming a simple sequence program by using the programming function of the operation box 15 as described above. Can be created. Therefore, the versatility of the electronic cycle sewing machine is enhanced, and it is possible to flexibly cope with various system configurations.

【0038】そして、その作成した入出力制御プログラ
ムを対応する縫製データと同じパターンNOで同じフロ
ッピディスクに格納しておけば、そのパターンNOで縫
製データを指定すれば、自動的に入出力制御プログラム
も指定されることになり、縫製パターンに合わせて入出
力制御プログラムを指定する必要がなくなる。しかも、
記憶媒体を一元化できるのでプログラム管理が容易にな
る。
If the created input / output control program is stored in the same floppy disk with the same pattern NO as the corresponding sewing data, if the sewing data is designated by the pattern NO, the input / output control program is automatically created. Is also specified, and it is not necessary to specify the input / output control program according to the sewing pattern. Moreover,
Since the storage media can be unified, program management becomes easy.

【0039】[0039]

【発明の効果】以上説明してきたように、この発明によ
れば、電子サイクルミシンに各種の外部機器を接続して
使用する場合に、ユーザが自由に短時間でそれらの外部
機器に対する制御プログラムを作成して使用でき、種々
のシステム構成に柔軟に対応することができる。
As described above, according to the present invention, when the electronic cycle sewing machine is used by connecting various external devices, the user can freely execute a control program for the external devices in a short time. It can be created and used, and can flexibly support various system configurations.

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

【図1】図2乃至図7に示したこの発明の実施例による
ミシン制御プログラムと入出力制御プログラムとの関係
を示す説明図である。
FIG. 1 is an explanatory diagram showing the relationship between a sewing machine control program and an input / output control program according to the embodiment of the present invention shown in FIGS. 2 to 7.

【図2】この発明による外部機器制御方式を実施する電
子サイクルミシンの一例を外観斜視図である。
FIG. 2 is an external perspective view of an example of an electronic cycle sewing machine that implements an external device control system according to the present invention.

【図3】図1の電子サイクルミシン1における電装ボッ
クス18等による制御系の構成を示すブロック図であ
る。
3 is a block diagram showing a configuration of a control system including an electrical equipment box 18 and the like in the electronic cycle sewing machine 1 of FIG.

【図4】同じくその操作ボックス15の正面図である。FIG. 4 is a front view of the operation box 15 of the same.

【図5】同じく電装ボックス18を背面側から拡張入出
力モジュール2と共に見た斜視図である。
FIG. 5 is a perspective view of the electrical equipment box 18 seen from the back side together with the expansion input / output module 2.

【図6】図1の電子サイクルミシンにロータリカセット
チェンジャ(RCC)を接続して使用する状態を示す斜
視図である。
FIG. 6 is a perspective view showing a state where a rotary cassette changer (RCC) is connected to the electronic cycle sewing machine of FIG. 1 and used.

【図7】同じくその電子サイクルミシンとロータリカセ
ットチェンジャ間での信号等のやり取りを示すブロック
図である。
FIG. 7 is a block diagram showing exchange of signals and the like between the electronic cycle sewing machine and the rotary cassette changer.

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

1 電子サイクルミシン 2 拡張入出力モジ
ュール 2A 拡張入力モジュール 2B 拡張出力モジ
ュール 3 カセット 4 ロータリカセットチ
ェンジャ(RCC) 5 ミシン制御プログラム 6 入出力制御プロ
グラム 10 ミシンテーブル 11 ミシン頭部 12 外押えアーム 13 カセット載置
プレート 15 操作ボックス 17 電源スイッチ 18 電装ボックス 19 外押えスイッ
チ 20 スタートスイッチ 21 ミシンモータ 22 X軸モータ 23 Y軸モータ 24 センサ 25 ソレノイド 26 キーボード 27 ディスプレイ 30 マイクロコンピュータ 31 CPU 32 ROM 33 RAM 34 バスライン 35 ミシンモータ
・ドライバ 36 X軸モータ・ドライバ 37 Y軸モータ・
ドライバ 38 フロッピディスク・ドライブ装置(FDD) 39 フロッピディスク 40 回転盤 41 カセット保持腕
1 Electronic Cycle Sewing Machine 2 Extended Input / Output Module 2A Extended Input Module 2B Extended Output Module 3 Cassette 4 Rotary Cassette Changer (RCC) 5 Sewing Machine Control Program 6 Input / Output Control Program 10 Sewing Machine Table 11 Sewing Machine Head 12 Outer Press Arm 13 Cassette Placement Plate 15 Operation box 17 Power switch 18 Electrical equipment box 19 Outer presser switch 20 Start switch 21 Sewing machine motor 22 X-axis motor 23 Y-axis motor 24 Sensor 25 Solenoid 26 Keyboard 27 Display 30 Microcomputer 31 CPU 32 ROM 33 RAM 34 Bus line 35 Sewing machine Motor driver 36 X-axis motor driver 37 Y-axis motor
Driver 38 Floppy disk drive device (FDD) 39 Floppy disk 40 Turntable 41 Cassette holding arm

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 電子サイクルミシンに外部機器を接続す
るための拡張入出力モジュールを着脱可能に設けると共
に、電子サイクルミシンの各種動作状態をイベント変数
と対応させたテーブルを記憶させ、そのイベント変数と
前記拡張入出力モジュールの各入出力ポートに対応する
変数とを関連付ける入出力制御プログラムを作成して、
その入出力制御プログラムにより前記拡張入出力モジュ
ールを介して接続された外部機器を制御することを特徴
とする電子サイクルミシンにおける外部機器制御方式。
1. An expansion input / output module for connecting an external device to the electronic cycle sewing machine is detachably provided, and a table in which various operating states of the electronic cycle sewing machine are associated with event variables is stored and the event variables are stored. Create an input / output control program that associates variables corresponding to each input / output port of the expansion input / output module,
An external device control method in an electronic cycle sewing machine, wherein an external device connected via the expansion input / output module is controlled by the input / output control program.
【請求項2】 請求項1記載の電子サイクルミシンにお
ける外部機器制御方式において、前記作成した入出力制
御プログラムと縫製データとを同じパターン番号で同一
の記憶媒体に格納することを特徴とする電子サイクルミ
シンにおける外部機器制御方式。
2. The electronic cycle control system for an electronic cycle sewing machine according to claim 1, wherein the created input / output control program and sewing data are stored in the same storage medium with the same pattern number. External device control method in the sewing machine.
JP3183545A 1991-06-28 1991-06-28 Electronic cycle sewing machine Expired - Fee Related JP2758087B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3183545A JP2758087B2 (en) 1991-06-28 1991-06-28 Electronic cycle sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3183545A JP2758087B2 (en) 1991-06-28 1991-06-28 Electronic cycle sewing machine

Publications (2)

Publication Number Publication Date
JPH053978A true JPH053978A (en) 1993-01-14
JP2758087B2 JP2758087B2 (en) 1998-05-25

Family

ID=16137689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3183545A Expired - Fee Related JP2758087B2 (en) 1991-06-28 1991-06-28 Electronic cycle sewing machine

Country Status (1)

Country Link
JP (1) JP2758087B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001181934A (en) * 1999-11-11 2001-07-03 Truetzschler Gmbh & Co Kg Apparatus for electronically controlling spinning machine, especially spinning preparation machine
EP3726945A1 (en) * 2019-04-18 2020-10-21 Dürkopp Adler AG Support and docking device for electronic housing module

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4829664B2 (en) * 2006-04-14 2011-12-07 Juki株式会社 Sewing machine external device control device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0251881U (en) * 1988-03-12 1990-04-12
JPH02237785A (en) * 1989-03-10 1990-09-20 Matsushita Electric Ind Co Ltd Positioning device for soft sheet and working method for soft sheet using such device and positioning method for such sheet

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0251881U (en) * 1988-03-12 1990-04-12
JPH02237785A (en) * 1989-03-10 1990-09-20 Matsushita Electric Ind Co Ltd Positioning device for soft sheet and working method for soft sheet using such device and positioning method for such sheet

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001181934A (en) * 1999-11-11 2001-07-03 Truetzschler Gmbh & Co Kg Apparatus for electronically controlling spinning machine, especially spinning preparation machine
EP3726945A1 (en) * 2019-04-18 2020-10-21 Dürkopp Adler AG Support and docking device for electronic housing module
CN111836503A (en) * 2019-04-18 2020-10-27 杜尔克普-阿德勒股份公司 Support docking device for electronic housing modules

Also Published As

Publication number Publication date
JP2758087B2 (en) 1998-05-25

Similar Documents

Publication Publication Date Title
US5706576A (en) Parts mounter cartridge structure and parts mounter managing system
JP2916796B2 (en) CNC device for controlling multiple machine tools
US4703432A (en) Electronic control device for industrial sewing machines
JPH0326061B2 (en)
JPS6137282A (en) Input apparatus of sewing machine
JPH04332592A (en) Automatic sewing system capable of transferring data
JPH053978A (en) External equipment control method in electronic sewing machine
JP4798260B2 (en) Sewing system, multi-needle sewing machine and storage device
US4858542A (en) Initial operation controlling system for a computer controlled embroidering machine
US6370443B2 (en) Embroidery machine with operation-data storing function and method for controlling same
CN100480455C (en) Microprocessor aided sewing machine control device
JPH06125196A (en) Part mounting method
JP2004172497A (en) Electronic circuit assembling method and component mounting program generating program
JP2840383B2 (en) Electronic component mounting device
JP2007035892A (en) Data management method
JPH06170072A (en) Electronic sewing machine controller
JP2842869B2 (en) Electric sewing machine with embroidery device
JP2002204100A (en) Component mounting machine and method for mount component
JPH10323472A (en) Program type electronic sewing machine
JPH0675622B2 (en) Sewing equipment
JPH10156075A (en) Pattern sewing machine and pattern data control system of the same
JPH06304357A (en) Sewing machine having subscription function
JPS62120876A (en) Sewing machine equipped with programming apparatus
JPS62142581A (en) Controller of automatic sewing machine
JPH0898968A (en) Sewing machine capable of embroidering based upon recorded pattern data

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20090313

LAPS Cancellation because of no payment of annual fees