JPH0388005A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPH0388005A JPH0388005A JP22581189A JP22581189A JPH0388005A JP H0388005 A JPH0388005 A JP H0388005A JP 22581189 A JP22581189 A JP 22581189A JP 22581189 A JP22581189 A JP 22581189A JP H0388005 A JPH0388005 A JP H0388005A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- machining program
- character
- storage means
- storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 7
- 238000003754 machining Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は数値制御装置に係り、特に加工プログラム記憶
時のフォーマットの改良に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a numerical control device, and particularly to an improvement in the format for storing machining programs.
[従来の技術]
従来、数値制御装置(以下NC装置という)における加
工プログラムの記憶は、NC装置内部の記憶手段を用い
て行っていた。[Prior Art] Conventionally, machining programs in numerical control devices (hereinafter referred to as NC devices) have been stored using storage means inside the NC devices.
次にNC装置全体の説明を通して記憶手段の役割を説明
する。Next, the role of the storage means will be explained through a description of the entire NC device.
第5図は従来のこの種のNCの主要構成要素と機械を示
す構成図であり、図において、(1)は数値制御部(以
下、制御部という) 、 (21は制御部(1)に接続
された加工プログラム読取手段であり、プログラム記憶
媒体(3)に記憶された加工プログラムを読み込む。FIG. 5 is a block diagram showing the main components and machines of a conventional NC of this type. In the figure, (1) is a numerical control section (hereinafter referred to as the control section), A connected machining program reading means reads the machining program stored in the program storage medium (3).
(4)は記憶手段であり、(5)は各種情報を表示部に
出力するための表示部制御手段(以下、表示部I/Fと
いう) 、(7)は操作部であり、NG装置に対する各
種操作は操作部制御手段(8)(以下、操作部I/Fと
いう)を介して制御部(1)に入力される。(9)は駆
動部であり、機械(10)を制御する。(4) is a storage means, (5) is a display unit control unit (hereinafter referred to as display unit I/F) for outputting various information to the display unit, and (7) is an operation unit, and Various operations are input to the control section (1) via an operation section control means (8) (hereinafter referred to as operation section I/F). (9) is a drive unit that controls the machine (10).
次に動作について説明する。Next, the operation will be explained.
プログラム記憶媒体(3)に記憶されている加工プログ
ラムは、プログラム読取手段(2)により読みとられ制
御部(11に入力される。制御部C1)は前記加工プロ
グラムを記憶手段(4)に記憶させ、加工プログラムの
修正が必要な場合は、表示部I、’F(5)を介して表
示部(6)に前記加工プログラムのデータブロック内容
を表示させる。The machining program stored in the program storage medium (3) is read by the program reading means (2) and input to the control section (11).The control section C1 stores the machining program in the storage means (4). If the machining program needs to be modified, the data block contents of the machining program are displayed on the display section (6) via the display sections I and 'F (5).
一方、オペレータ(図示せず)は前記により表示部(6
)に表示された加工プログラムのデータブロックの内容
とプログラムリストから操作部(7)を用いて該当する
ブロックを探し出し、同様に操作部(7)から前記ブロ
ックの修正データの操作部I/F(8)を介して制御部
(1)に入力する。そして。Meanwhile, the operator (not shown) uses the display section (6) as described above.
), use the operation unit (7) to find the corresponding block from the contents of the data block of the machining program displayed in the program list and the operation unit I/F ( 8) to the control unit (1). and.
制御部(1)はこの入力された修正データに基いて記憶
手段(4)に記憶されている加工プログラムを修正する
。駆動部(9)は制御部(1)から出力された機械制御
信号を増幅し、機械(10)に設けられたモータ(図示
せず)を駆動して所望の製品を得るべくこの機械(lO
)を制御する。The control section (1) corrects the machining program stored in the storage means (4) based on the input correction data. The drive unit (9) amplifies the machine control signal output from the control unit (1) and drives the motor (not shown) provided in the machine (10) to obtain the desired product.
).
〔発明が解決しようとする課!]
従来のNC装置は、以上のように構成されているので、
加工プログラムを記憶手段(4)に記憶する際、加工プ
ログラムのデータを特に加工せず記憶手段に書き込んで
いるため加工プログラム中には、同じ文字列がいくつも
あったり他の加工プログラムと同一の文字列を多く含ん
でおり、これらを効率よく記憶する手段をもっていなか
った。[The problem that the invention attempts to solve! ] Since the conventional NC device is configured as described above,
When storing the machining program in the storage means (4), the data of the machining program is written to the storage means without any particular processing, so the machining program may contain many of the same character strings or may be the same as other machining programs. It contains many character strings, and there was no way to efficiently store them.
従って、記憶手段(4)は同じ文字列ですぐ記憶容量オ
ーバーとなっていた。Therefore, the storage capacity of the storage means (4) was quickly exceeded for the same character string.
この発明は、上記記憶手段を効率よく使用するためにな
されたもので、加工プログラムを短縮して、記憶するこ
とを目的とする。This invention was made to efficiently use the storage means, and aims to shorten and store machining programs.
この発明における数値制御装置は、加工プログラム中の
所望する文字列とそれに対応する縮小記号とのテーブル
が登録された文字列バッファと。The numerical control device according to the present invention includes a character string buffer in which a table of desired character strings in a machining program and corresponding reduction symbols is registered.
加工プログラムを上記記憶手段に記憶させる際、上記文
字列バッファのテーブルを参照し、テーブル中に加工プ
ログラムの文字列があった場合、その加工プログラムの
文字列を縮小記号化して上記記憶手段に記憶させる文字
列変換手段とを備える構成としたものである。When storing a machining program in the storage means, refer to the table of the character string buffer, and if there is a character string of the machining program in the table, convert the character string of the machining program into a reduced symbol and store it in the storage means. This configuration includes a character string converting means for converting a character string.
〔作用]
本発明における加工プログラムの文字列変換手段は、加
工プログラムを記憶手段に記憶する前に、加工プログラ
ムの文字列と文字列バッファに記憶させた文字列とを比
較し、一致した文字列を記号化して記憶手段に記憶させ
る。[Operation] Before storing the machining program in the storage means, the character string conversion means of the machining program in the present invention compares the character string of the machining program with the character string stored in the character string buffer, and selects a matched character string. is encoded and stored in a storage means.
〔発明の実施例1 以下、本発明の一実施例を図について説明する。[Embodiment 1 of the invention Hereinafter, one embodiment of the present invention will be described with reference to the drawings.
第1図において、(1)〜(lO)は、第5図と同一機
能をもつものである。(11)は本発明において追加し
た文字列変換手段、 (12)は文字列を登録するため
の文字列バッファである。加工プログラムを記憶手段(
4)に記憶する前に、オペレータが操作部(7)を通し
て文字列バッファ(12)に登録しておいた、文字列を
文字列変換手段(111で加工プログラムと比較し、存
在する同一文字列を記号化する機能をもつ、記号化され
た加工プログラムは、記憶手段(4)に記憶される。In FIG. 1, (1) to (lO) have the same functions as in FIG. (11) is a character string conversion means added in the present invention, and (12) is a character string buffer for registering character strings. Storage means for machining programs (
4), the character string that the operator has registered in the character string buffer (12) through the operation unit (7) is compared with the machining program in the character string conversion means (111), and the same character string that exists is compared with the machining program. The encoded machining program having the function of encoding is stored in the storage means (4).
第2図は、上記文字列変換手段(11)の機能をフロー
チャートによって説明したものである。FIG. 2 is a flowchart explaining the functions of the character string converting means (11).
加工プログラムを読み込む指令(stlがあると加工プ
ログラムを読み込むTS21.加工プログラムの読み込
みは、直接記憶手段(4)に読み込むのではなく、文字
列変換手段fillの一時記憶エリア(図示せず)に読
み込むちのとする。A command to read the machining program (if stl is present, the machining program is read TS21.The machining program is not read directly into the storage means (4), but is read into the temporary storage area (not shown) of the character string conversion means fill. Chinoto.
加工プログラムの読み込み終了後1文字列変換手段(I
llはオペレータがあらかじめ文字列バッファ(12)
に登録しておいた文字列と加工プログラムを比較(S3
)する、ここで加工プログラム中に一致する文字列が見
つかった場合、加工プログラム中の文字列を文字列縮小
された任意の記号に変換(S4)する、任意の記号とは
、加工プログラムの文字として存在しない文字、例えば
、@記号などを使用するか又は、加工プログラムの文字
として存在している文字を変換用文字とすることも可能
である。After reading the machining program, 1 character string conversion means (I
ll is the string buffer (12) that the operator uses in advance.
Compare the character string registered in and the machining program (S3
), and if a matching character string is found in the machining program, convert the character string in the machining program into an arbitrary symbol reduced to a character string (S4).The arbitrary symbol is the character string in the machining program. It is also possible to use a character that does not exist as a character, such as the @ symbol, or to use a character that exists as a character in a processing program as a conversion character.
オペレータが登録できる文字列の文字数及び文字列の数
は複数で娶るため、全文字列を比較し変換させるために
、全文字列比較完了(S5)まで処理が繰返えされる。Since the number of characters and the number of character strings that can be registered by the operator are plural, the process is repeated until all character string comparisons are completed (S5) in order to compare and convert all character strings.
変換の終了した加工プログラムは、記憶手段(4)に記
憶される(S61゜又は、記憶手段(4)から加工プロ
グラムを取り出して来る場合は、文字列変換手段(11
1が上記説明と逆の動作を行う。The converted machining program is stored in the storage means (4) (S61°, or when the machining program is retrieved from the storage means (4), it is stored in the character string conversion means (11).
1 performs an operation opposite to that described above.
第3図はオペレータが操作部(7)、表示部(6)を使
用して文字列バッファ(12)に文字列を登録する際の
表示部(6)の状態を示したものである。FIG. 3 shows the state of the display section (6) when the operator registers a character string in the character string buffer (12) using the operation section (7) and the display section (6).
G1は−GQI”を記号化したものであり、G2は′″
GOOx 100. Zloo ; G28 XzT
−を記号化したものであり、これら文字列は文字列バッ
ファ(i2)に登録される。G1 is the symbol for -GQI'', and G2 is '''
GOOx 100. Zloo ; G28 XzT
- is symbolized, and these character strings are registered in the character string buffer (i2).
上記文字列を使用して加工プログラムを変換した場合の
結果を第4図に図示しである。FIG. 4 shows the result of converting the machining program using the above character string.
なお、上記実施例ではオペレータが加工プログラムを編
集する場合は、記号化した加工プログラムは出てこない
が、パラメータ等によりオペレータが編集する場合にも
記号を使用できるようにしておけば編集時間の短縮につ
ながる。Note that in the above embodiment, when the operator edits the machining program, the encoded machining program does not appear, but if the operator edits parameters etc. using symbols, the editing time can be shortened. Leads to.
〔発明の効果]
以上のように、本発明によれば加工プログラムを効率よ
く縮小して記憶手段に記憶することができ、ひいては加
工プログラムを従来に比べ多く記憶出来るようになる。[Effects of the Invention] As described above, according to the present invention, machining programs can be efficiently reduced and stored in the storage means, and as a result, more machining programs can be stored than before.
第1図〜第4図はこの発明の一実施例に係る図であり、
第1図は全体構成を示す図、第2図は動作を説明するた
めのフローチャート、第3図は文字列登録時の表示部を
示す図、第4図は従来ものとこの発明との効果の差を説
明するための図、第5図は従来のNC装置の主要構成要
素と機械を示す構成図である。
図において、(4)は記憶手段、(11)は文字列変換
手段、(12)は文字列バッファである。
なお1図中、同一符号は同一、又は相当部分を示す。FIGS. 1 to 4 are diagrams according to an embodiment of the present invention,
Fig. 1 is a diagram showing the overall configuration, Fig. 2 is a flowchart for explaining the operation, Fig. 3 is a diagram showing the display section during character string registration, and Fig. 4 is a diagram showing the effects of the conventional method and this invention. FIG. 5, which is a diagram for explaining the difference, is a configuration diagram showing the main components and machines of a conventional NC device. In the figure, (4) is a storage means, (11) is a character string conversion means, and (12) is a character string buffer. In addition, in FIG. 1, the same reference numerals indicate the same or equivalent parts.
Claims (1)
御装置において、加工プログラム中の所望する文字列と
それに対応する縮小記号とのテーブルが登録された文字
列バッファと、加工プログラムを上記記憶手段に記憶さ
せる際、上記文字列バッファのテーブルを参照し、テー
ブル中に加工プログラムの文字列があった場合、その加
工プログラムの文字列を縮小記号化して上記記憶手段に
記憶させる文字列変換手段とを備えてなる数値制御装置
。In a numerical control device comprising a storage means for storing a machining program, a character string buffer in which a table of desired character strings in the machining program and their corresponding reduction symbols is registered, and the machining program are stored in the storage means. and character string converting means that refers to the table of the character string buffer and, if there is a character string of the machining program in the table, converts the character string of the machining program into a reduced symbol and stores it in the storage means. Numerical control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22581189A JPH0388005A (en) | 1989-08-31 | 1989-08-31 | Numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22581189A JPH0388005A (en) | 1989-08-31 | 1989-08-31 | Numerical controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0388005A true JPH0388005A (en) | 1991-04-12 |
Family
ID=16835167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22581189A Pending JPH0388005A (en) | 1989-08-31 | 1989-08-31 | Numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0388005A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6085537A (en) * | 1997-02-04 | 2000-07-11 | Matsushita Electric Industrial Co., Ltd. | Outdoor unit of separate type air conditioner |
-
1989
- 1989-08-31 JP JP22581189A patent/JPH0388005A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6085537A (en) * | 1997-02-04 | 2000-07-11 | Matsushita Electric Industrial Co., Ltd. | Outdoor unit of separate type air conditioner |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2756301B2 (en) | Image editing method and apparatus | |
JPH0388005A (en) | Numerical controller | |
JPH07177040A (en) | Variable length encoder | |
JP2818323B2 (en) | Binary image data extraction method | |
JPH10198757A (en) | Optical information reader | |
JPH07184063A (en) | Binary image compression system | |
JPH0546216A (en) | Computer control type numeric value controller | |
JPS607524A (en) | Recording carrier reader | |
JPH0461363B2 (en) | ||
JPH0522573A (en) | Binary picture data segment editing system | |
JPS6368892A (en) | Output display system for information processing system | |
JPS62221075A (en) | Information file device | |
JPH04195530A (en) | Part program editing system for numerical controller | |
JPH0546217A (en) | Numeric value controller | |
JPH02139628A (en) | Fast successive decoding system | |
JPH0685169B2 (en) | Document processing method | |
JPS6275809A (en) | Method for converting nc data format into nc data undergone standard formatting | |
JPH03163604A (en) | Numerical controller | |
JPH02231678A (en) | Image data input device | |
JPH01258116A (en) | System for setting determined value of command parameter | |
JPS6320527A (en) | Code converter | |
JPH07152524A (en) | Change processing system for graphics data | |
JPS6352578A (en) | Run length coding decoding processing unit | |
JPH0281103A (en) | Display method for nc working program | |
JPH04168519A (en) | File updating system |