JP2000214910A - Machining program management method and apparatus in numerical control device - Google Patents

Machining program management method and apparatus in numerical control device

Info

Publication number
JP2000214910A
JP2000214910A JP11018686A JP1868699A JP2000214910A JP 2000214910 A JP2000214910 A JP 2000214910A JP 11018686 A JP11018686 A JP 11018686A JP 1868699 A JP1868699 A JP 1868699A JP 2000214910 A JP2000214910 A JP 2000214910A
Authority
JP
Japan
Prior art keywords
program
machining program
memory
memories
machining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11018686A
Other languages
Japanese (ja)
Inventor
Yasuhiro Kuwata
泰弘 桑田
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP11018686A priority Critical patent/JP2000214910A/en
Publication of JP2000214910A publication Critical patent/JP2000214910A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

(57)【要約】 【課題】 媒体Aのメモリに対する操作と媒体Bのメモ
リに対する操作が異なるなど、加工プログラム作成や、
加工プログラムの入出力操作が複雑になるなどの問題が
あった。 【解決手段】複数のプログラムメモリ6、7を有する数
値制御装置2において、前記プログラムメモリ毎に異な
るO番号範囲を割り付けることにより、前記複数のプロ
グラムメモリを1つの加工プログラム管理部4で管理す
ることを特徴とする。
(57) [Summary] [PROBLEMS] To create a machining program, for example, the operation on the memory of the medium A and the operation on the memory of the medium B are different.
There were problems such as complicated input / output operations of the machining program. In a numerical controller having a plurality of program memories, a different O number range is assigned to each of the program memories, so that the plurality of program memories are managed by one machining program management unit. It is characterized by.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、数値制御装置の加
工プログラムの管理方法および装置に関し、とくに、プ
ログラムメモリのO番号管理方法とその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for managing a machining program of a numerical controller, and more particularly to a method and an apparatus for managing an O number of a program memory.

【0002】[0002]

【従来の技術】数値制御装置において、加工プログラム
は、O(オー)番号と呼ばれるOと数値で構成されるプ
ログラム名で管理され、操作パネルからの加工プログラ
ムの指定や、加工プログラムからの他加工プログラムの
呼び出しは、当該O番号を使っている。一方、数値制御
装置に加工プログラムを格納する保持型メモリとして、
従来からCMOSメモリが使われているが、CMOSメ
モリより安価な大容量のメモリとして、フラッシュメモ
リやハードディスクなども搭載されるようになってきて
いる。しかし、数値制御装置内に異なる媒体のメモリを
搭載し、加工プログラムメモリとして使用する場合、メ
モリへのアクセス性能、アクセス仕様が異なるため、こ
れらの複数のメモリを連続した1つの加工プログラムメ
モリとして使用できない。このため、従来の技術では、
異なる媒体のメモリ毎に、別々に加工プログラムの管理
を行っていた。
2. Description of the Related Art In a numerical control device, a machining program is managed by a program name composed of O and a numerical value called an O (O) number, and a machining program is designated from an operation panel and other machining from a machining program. The call of the program uses the O number. On the other hand, as a holding type memory for storing a machining program in the numerical controller,
Conventionally, a CMOS memory has been used, but a flash memory, a hard disk, or the like has come to be mounted as a large-capacity memory cheaper than the CMOS memory. However, when memories of different media are mounted in the numerical controller and used as machining program memory, the memory access performance and access specifications are different, so these multiple memories are used as one continuous machining program memory. Can not. For this reason, in the conventional technology,
The processing program was separately managed for each memory of different media.

【0003】[0003]

【発明が解決しようとする課題】このような管理方法の
場合、媒体が違うメモリに同じO番号が存在することが
あり得るため、O番号だけでは、一意に加工プログラム
を指定できない。このため、媒体Aのメモリに格納され
ている加工プログラムから、媒体Bのメモリに格納され
ている加工プログラムをサブプログラムとして呼び出す
場合、媒体Bのメモリであることを示す特殊な呼び出し
指令が必要であったり、操作パネルや外部装置から加工
プログラムを入力したり、表示器や外部機器に出力する
場合、媒体Aのメモリに対する操作と媒体Bのメモリに
対する操作が異なるなど、加工プログラム作成や、加工
プログラムの入出力操作が複雑になるなどの問題があっ
た。本発明は、加工プログラム作成、加工プログラムの
入出力操作において、加工プログラムメモリが複数であ
ることによる制約をなくすことを目的とする。
In the case of such a management method, since the same O number may exist in memories having different media, a machining program cannot be uniquely specified only by the O number. For this reason, when calling a machining program stored in the memory of the medium B as a subprogram from a machining program stored in the memory of the medium A, a special call command indicating that the memory is the memory of the medium B is required. When a processing program is input from an operation panel or an external device or output to a display or an external device, a processing program creation or a processing program is performed, such as a different operation for the memory of the medium A and an operation for the memory of the medium B There was a problem that the input / output operation of the computer became complicated. SUMMARY OF THE INVENTION It is an object of the present invention to eliminate limitations due to a plurality of machining program memories in machining program creation and machining program input / output operations.

【0004】[0004]

【課題を解決するための手段】前記課題を解決するた
め、本発明は、複数のプログラムメモリを有する数値制
御装置において、前記プログラムメモリ毎に異なるO番
号範囲を割り付けることにより、前記複数のプログラム
メモリを1つのプログラム管理部で管理することを特徴
とする数値制御装置における加工プログラム管理方法で
あり、また、複数のプログラムメモリを有する数値制御
装置において、操作パネルや外部機器との入出力制御お
よび表示を行う表示/入出力制御部と、O番号およびO
番号範囲の境界値を記憶するデータ保持メモリと、前記
複数のプログラムメモリに対して加工プログラムの書き
込み読み出しを行う加工プログラム管理部と、この加工
プログラム管理部からプログラムデータを受け取り、解
析を行う加工プログラム解析部と、この加工プログラム
解析部の解析結果をもとにサーボ駆動ユニットに指令を
行うパルス分配部とを備えたことを特徴とする数値制御
装置における加工プログラム管理装置である。
In order to solve the above-mentioned problems, the present invention provides a numerical controller having a plurality of program memories by assigning a different O number range to each of the program memories. Is a method for managing a machining program in a numerical control device characterized in that a plurality of program memories are managed by a single program management unit. Display / input / output control unit that performs
A data holding memory for storing a boundary value of a number range, a machining program management unit for writing and reading a machining program to and from the plurality of program memories, and a machining program for receiving program data from the machining program management unit and analyzing the program data A machining program management device in a numerical control device, comprising: an analysis unit; and a pulse distribution unit that issues a command to a servo drive unit based on an analysis result of the machining program analysis unit.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態を図に
おいて説明する。図1は本発明の実施例の構成図を示
す。加工プログラムメモリのメモリ媒体としてCMOS
メモリとハードディスクメモリを使用した実施例を示す
が、メモリ媒体がFLASHメモリである場合において
も、本実施例により実現可能であることは明白である。
操作パネル1は、オペレータが、加工対象のO番号の指
定や加工プログラム指令の入力を行ったり、加工プログ
ラムの表示を行う装置である。表示/入出力制御部3
は、操作パネル1や外部機器11との入出力の制御およ
び表示の制御を行う処理ブロックである。データ保持メ
モリ5には、数値制御装置による加工対象のO番号およ
び、ハードディスクメモリ7に格納するO番号の範囲の
境界値が記憶される。CMOSメモリ6とハードディス
クメモリ7には加工プログラムが格納される。加工プロ
グラム管理部4は、CMOSメモリ6とハードディスク
メモリ7に対して、加工プログラムの書き込みおよび読
み込みを行う処理ブロックである。加工プログラム解析
部8は、加工プログラム管理部4からプログラムデータ
を受け取り、その解析を行って、パルス分配部9へ解析
結果を渡す処理ブロックである。また、解析の結果、別
の加工プログラムの解析が必要な場合、加工プログラム
管理部4に対して加工プログラムの要求も行う。パルス
分配部9は、解析結果をもとにサーボ駆動ユニット10
に対して指令を行う。次に、数値制御装置で管理するO
番号が5桁とし、O10000以上のO番号の加工プロ
グラムをハードディスクメモリ7に格納する実施例を説
明する。まず、CMOSメモリ6とハードディスクメモ
リ7へのO番号の割付けの設定について説明する。オペ
レータが操作パネル1にて、ハードディスク7に格納す
るO番号範囲の境界値を入力する。操作パネル1から、
10000と99999が入力されると、表示/入出力
制御部3は、データ保持メモリ5に10000と999
99の値を書き込み、この値がデータ保持メモリ5に記
憶される。次に、加工プログラムを新規作成する場合の
処理を説明する。オペレータが操作パネル1にて、新規
作成する加工プログラムのO番号を入力すると、加工プ
ログラム管理部4は、入力されたO番号の数値データを
保持メモリ5に記憶されているO番号範囲の境界値と比
較する。10000以上99999以下ならば書き込み
の対象をハードディスクメモリ7とし、それ以外ならば
CMOSメモリ6とする。オペレータが操作パネル1に
て、加工プログラム指令を入力すると書き込み対象とし
たメモリに対して書き込みを行う。このようにして、O
1〜O99999の加工プログラムのうち、O1〜O9
999の加工プログラムはCMOSメモリ6に格納さ
れ、O10000〜O99999の加工プログラムはハ
ードディスクメモリ7に格納される。続いて、加工プロ
グラムに従って加工を行う場合について説明する。オペ
レータは、操作パネル1にて、加工対象とするO番号を
入力する。操作パネル1から、加工対象とするO番号が
入力されると、表示/入出力制御部3は、データ保持メ
モリ5に加工対象とするO番号の値を書き込み、この値
データ保持メモリ5に記憶される。次に、オペレータは
操作パネル1にて、加工開始の信号を入力する。表示/
入出力制御部3は、データ保持メモリ5に記憶されてい
る加工対象O番号を読み出し、加工プログラム管理部4
に通知する。加工プログラム管理部4は、書き込みの場
合と同様にして、O番号の数値をデータ保持メモリ5に
記憶されているO番号範囲の境界値と比較する。100
00以上の99999以下ならば読み込みの対象をハー
ドディスクメモリ7とし、それ以外ならばCMOSメモ
リ6とする。読み込んだプログラムデータはプログラム
解析部8に転送する。加工プログラム解析部8は、受け
取ったプログラムデータを解析し、結果をパルス分配部
9に転送する。また、解析の結果、サブプログラム呼び
出し指令を検出した場合、加工プログラム管理部4にサ
ブプログラムを要求する。加工プログラム管理部4は、
前記と同様にO番号とO番号範囲の境界値との比較を行
い、該当するメモリから加工プログラムを読み出してプ
ログラム解析部8に転送する。パルス分配部9は、解析
結果をもとにサーボ駆動ユニット10に対して指令を行
い加工が行われる。次に、加工プログラムを表示または
出力する場合について説明する。オペレータは、操作パ
ネル1にて、表示対象とするO番号を入力する。操作パ
ネル1から、表示対象とするO番号が入力されると、表
示/入出力制御部3は、加工プログラム管理部4に通知
する。加工プログラム管理部4は、加工の場合と同様に
して、O番号の数値をデータ保持メモリ5に記憶してい
るO番号の境界値と比較する。10000以上9999
9以下ならば読み込みの対象をハードディスクメモリ7
とし、それ以外ならばCMOSメモリ6とする。読み込
んだプログラムデータは表示/入出力制御部3に転送す
る。表示/入出力制御部3は、受け取ったプログラムデ
ータを操作パネル1に表示させる。また、出力の場合、
外部機器11へ出力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a configuration diagram of an embodiment of the present invention. CMOS as a memory medium for machining program memory
Although an embodiment using a memory and a hard disk memory will be described, it is apparent that the present embodiment can be implemented even when the memory medium is a FLASH memory.
The operation panel 1 is a device in which an operator specifies an O number to be processed, inputs a processing program command, and displays a processing program. Display / input / output control unit 3
Is a processing block for controlling input / output with the operation panel 1 and the external device 11 and controlling display. The data holding memory 5 stores an O number to be processed by the numerical controller and a boundary value of a range of the O number stored in the hard disk memory 7. The CMOS memory 6 and the hard disk memory 7 store processing programs. The processing program management unit 4 is a processing block that writes and reads a processing program to and from the CMOS memory 6 and the hard disk memory 7. The machining program analysis unit 8 is a processing block that receives program data from the machining program management unit 4, analyzes the program data, and passes the analysis result to the pulse distribution unit 9. When the result of the analysis indicates that another processing program needs to be analyzed, the processing program management unit 4 also requests the processing program for the processing program. The pulse distributing unit 9 controls the servo drive unit 10 based on the analysis result.
Command to Next, O managed by the numerical controller
A description will be given of an embodiment in which a machining program having a five-digit number and an O number of O10000 or more is stored in the hard disk memory 7. First, the setting of the assignment of the O number to the CMOS memory 6 and the hard disk memory 7 will be described. An operator inputs a boundary value of the O number range stored in the hard disk 7 on the operation panel 1. From the operation panel 1,
When 10,000 and 99999 are input, the display / input / output control unit 3 stores 10,000 and 999 in the data holding memory 5.
A value of 99 is written, and this value is stored in the data holding memory 5. Next, processing when a machining program is newly created will be described. When the operator inputs an O number of a newly created machining program on the operation panel 1, the machining program management unit 4 stores the numerical data of the inputted O number in the O number range boundary value stored in the holding memory 5. Compare with If the number is 10,000 or more and 99999 or less, the write target is the hard disk memory 7; otherwise, the CMOS memory 6 is used. When an operator inputs a machining program command on the operation panel 1, writing is performed on a memory to be written. In this way, O
Of the machining programs 1 to O99999, O1 to O9
The processing program of 999 is stored in the CMOS memory 6, and the processing programs of O1000 to O99999 are stored in the hard disk memory 7. Subsequently, a case where machining is performed according to a machining program will be described. The operator inputs an O number to be processed on the operation panel 1. When an O number to be processed is input from the operation panel 1, the display / input / output control unit 3 writes the value of the O number to be processed into the data holding memory 5 and stores the value in the value data holding memory 5. Is done. Next, the operator inputs a processing start signal on the operation panel 1. display/
The input / output control unit 3 reads the machining target O number stored in the data holding memory 5 and
Notify. The machining program management unit 4 compares the numerical value of the O number with the boundary value of the O number range stored in the data holding memory 5 in the same manner as in the case of writing. 100
If it is not less than 00 and not more than 99999, the read target is the hard disk memory 7; otherwise, it is the CMOS memory 6. The read program data is transferred to the program analysis unit 8. The machining program analysis unit 8 analyzes the received program data and transfers the result to the pulse distribution unit 9. When a subprogram call command is detected as a result of the analysis, a subprogram is requested to the machining program management unit 4. The machining program management unit 4
As described above, the O number is compared with the boundary value of the O number range, the machining program is read from the corresponding memory, and transferred to the program analysis unit 8. The pulse distribution unit 9 issues a command to the servo drive unit 10 based on the analysis result to perform processing. Next, a case where a machining program is displayed or output will be described. The operator inputs an O number to be displayed on the operation panel 1. When an O number to be displayed is input from the operation panel 1, the display / input / output control unit 3 notifies the machining program management unit 4. The machining program management unit 4 compares the numerical value of the O number with the boundary value of the O number stored in the data holding memory 5 in the same manner as in the case of machining. 10,000 or more 9999
If it is 9 or less, the read target is the hard disk memory 7
Otherwise, the CMOS memory 6 is used. The read program data is transferred to the display / input / output control unit 3. The display / input / output control unit 3 displays the received program data on the operation panel 1. In the case of output,
Output to the external device 11.

【0006】[0006]

【発明の効果】以上のように、本発明では、加工プログ
ラムメモリ毎に格納されているO番号が異なるため、異
なる加工プログラムメモリ間でO番号が重複することは
ない。このため、加工プログラム作成、加工プログラム
の入出力操作において、加工プログラムの格納場所を意
識することなく、O番号を指定するだけで所望の加工プ
ログラムを指定することができる。
As described above, according to the present invention, since the O numbers stored for each machining program memory are different, the O numbers do not overlap between different machining program memories. For this reason, a desired machining program can be designated only by designating the O number without being aware of the storage location of the machining program in the machining program creation and machining program input / output operations.

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

【図1】本発明の実施例の構成図を示す。FIG. 1 shows a configuration diagram of an embodiment of the present invention.

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

1 操作パネル 2 数値制御部 3 表示/入出力制御部 4 加工プログラム管理部 5 データ保持メモリ 6 CMOSメモリ 7 ハードディスクメモリ 8 加工プログラム解析部 9 パルス分配部 10 サーボ駆動ユニット 11 外部機器 DESCRIPTION OF SYMBOLS 1 Operation panel 2 Numerical control part 3 Display / input / output control part 4 Processing program management part 5 Data holding memory 6 CMOS memory 7 Hard disk memory 8 Processing program analysis part 9 Pulse distribution part 10 Servo drive unit 11 External equipment

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のプログラムメモリを有する数値制
御装置において、前記プログラムメモリ毎に異なるO番
号範囲を割り付けることにより、前記複数のプログラム
メモリを1つのプログラム管理部で管理することを特徴
とする数値制御装置における加工プログラム管理方法。
1. A numerical controller having a plurality of program memories, wherein a different O number range is assigned to each of the program memories so that the plurality of program memories are managed by a single program management unit. A method for managing a machining program in a control device.
【請求項2】 複数のプログラムメモリが異種の保持型
メモリであることを特徴とする請求項1記載の数値制御
装置における加工プログラム管理方法。
2. The method according to claim 1, wherein the plurality of program memories are different types of holding memories.
【請求項3】 複数のプログラムメモリを有する数値制
御装置において、操作パネルや外部機器との入出力制御
および表示を行う表示/入出力制御部と、O番号および
O番号範囲の境界値を記憶するデータ保持メモリと、前
記複数のプログラムメモリに対して加工プログラムの書
き込み読み出しを行う加工プログラム管理部と、この加
工プログラム管理部からプログラムデータを受け取り、
解析を行う加工プログラム解析部と、この加工プログラ
ム解析部の解析結果をもとにサーボ駆動ユニットに指令
を行うパルス分配部とを備えたことを特徴とする数値制
御装置における加工プログラム管理装置。
3. A numerical control device having a plurality of program memories, a display / input / output control unit for performing input / output control and display with an operation panel and an external device, and an O number and a boundary value of an O number range. A data holding memory, a machining program management unit that writes and reads a machining program to and from the plurality of program memories, and receives program data from the machining program management unit,
A machining program management device in a numerical control device, comprising: a machining program analysis unit that performs analysis; and a pulse distribution unit that issues a command to a servo drive unit based on an analysis result of the machining program analysis unit.
JP11018686A 1999-01-27 1999-01-27 Machining program management method and apparatus in numerical control device Pending JP2000214910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11018686A JP2000214910A (en) 1999-01-27 1999-01-27 Machining program management method and apparatus in numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11018686A JP2000214910A (en) 1999-01-27 1999-01-27 Machining program management method and apparatus in numerical control device

Publications (1)

Publication Number Publication Date
JP2000214910A true JP2000214910A (en) 2000-08-04

Family

ID=11978505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11018686A Pending JP2000214910A (en) 1999-01-27 1999-01-27 Machining program management method and apparatus in numerical control device

Country Status (1)

Country Link
JP (1) JP2000214910A (en)

Similar Documents

Publication Publication Date Title
JP2001100925A (en) Disk controller
JPH02227763A (en) Data transfer control system
JP2011039841A (en) Data migration method and program
JPH05224822A (en) Collective storage device
JPH04220738A (en) High-speed writing system
JP2000214910A (en) Machining program management method and apparatus in numerical control device
JPH07182232A (en) Information processing equipment
JP3129889B2 (en) Numerical control unit
JPH0314019A (en) Access system for medium collective device
JPH02253425A (en) Floppy disk controller
JPH0567022A (en) High speed data access system
JPS5969856A (en) Method for controlling built-in magnetic disc
JP2765620B2 (en) Line connection information management system and device
JPS63117370A (en) Disk device
JPH1173348A (en) Device for managing virtual volume of optical disk
JPS63205727A (en) Magnetic disk control channel
JPH0916339A (en) Read controller
JPH05198145A (en) Information recording/reproducing device
JPH04184525A (en) Magnetic disk device
JPH04111015A (en) information recording device
JP2002024077A (en) Semiconductor memory write control device and method
JPH0561615A (en) Disk control system
JPH05119925A (en) Instruction transmission control system for magnetic tape unit
JPH03111959A (en) External device controller
JPH05242605A (en) Disk control device