JPS6051955A - Numerical control device - Google Patents

Numerical control device

Info

Publication number
JPS6051955A
JPS6051955A JP58160654A JP16065483A JPS6051955A JP S6051955 A JPS6051955 A JP S6051955A JP 58160654 A JP58160654 A JP 58160654A JP 16065483 A JP16065483 A JP 16065483A JP S6051955 A JPS6051955 A JP S6051955A
Authority
JP
Japan
Prior art keywords
area
pointer
data
program
write
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
JP58160654A
Other languages
Japanese (ja)
Inventor
Morio Kiyokawa
清川 盛雄
Akihiko Fujimoto
冨士本 昭彦
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP58160654A priority Critical patent/JPS6051955A/en
Publication of JPS6051955A publication Critical patent/JPS6051955A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Numerical Control (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To expand a data area by providing a pointer for showing the boundary of a program area or the data area, moving it in accordance with write, and also storing an address at the time in a pointer register area to find an idle area immediately. CONSTITUTION:The write of a program area 42 is executed in following a registration started from a leading to descend the pointer 45 accordingly. Subsequently, address of the pointer 45 the time point is stored in a pointer register area 44. On the other hand, as for a data area 43, the write is executed toward a upper part from a lower part, and the maximum number of the registration of data is set below the pointer 45 or by a parameter. In this way, the boundary of the program area 42 is obtained from the position of the pointer 45 to write a data until it reaches the pointer 45.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、記憶部を有効に活用できるようにした数値
制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a numerical control device that enables effective use of a storage section.

〔従来技術〕[Prior art]

第1図は従来の数値制御装置M(以下NC装置という)
の−例を示すブロック図である。この図において、1は
入力部、2は制御部、3は演算部、4は記憶部、5は出
力部であり、以上でNC装置が構成される。6は制御対
象である機械を示す。
Figure 1 shows a conventional numerical control device M (hereinafter referred to as an NC device).
FIG. 2 is a block diagram showing an example of FIG. In this figure, 1 is an input section, 2 is a control section, 3 is a calculation section, 4 is a storage section, and 5 is an output section, and the above constitutes an NC device. 6 indicates a machine to be controlled.

七の動作を簡申に説明−fると、NCテープまたはキー
ボード等からNCC言語たはBAS I C言語等の高
級言語によるプログラムやデータが入力部1から入力さ
れる。制御部2では、入力されたプログラムを記憶部4
に記憶し、このプログラムから必要な数値INI算を演
算部3に行わせ、その結果のデータを記憶部4に記憶さ
せ、このデータを出力部5を介して機械6に順次与えプ
ログラムどおりの制御を行わせる。この制御は機械6の
各軸について行われる。
Briefly explaining the operation of step 7-f, programs and data in a high-level language such as NCC language or BASIC language are inputted from the input unit 1 from an NC tape or a keyboard. The control unit 2 stores the input program in the storage unit 4.
The calculation unit 3 performs the necessary numerical INI calculation from this program, the resulting data is stored in the storage unit 4, and this data is sequentially supplied to the machine 6 via the output unit 5 to control it according to the program. Have them do it. This control is performed for each axis of the machine 6.

このような従来のNC装置i#においては、記憶部4の
各領域は第2図のように構成されている。すなわち、4
1けシステム領域で、機械6を運転する機械運転プログ
ラムが格納されている。42はプログラム領域で、例え
ば自動プログラミングプログラムが格納されている。
In such a conventional NC device i#, each area of the storage section 4 is configured as shown in FIG. That is, 4
A machine operation program for operating the machine 6 is stored in the 1-digit system area. 42 is a program area in which, for example, an automatic programming program is stored.

この15に従来のNC装置においては、記憶部4の各領
域がそれぞれ固定されているので、例えばプログラム領
域42が空いていてもデータ領域43が一杯になればそ
れ以上の書込みはできず、そのため記憶部4の活用が十
分でない欠点があった。
In the conventional NC device, each area of the storage unit 4 is fixed, so even if the program area 42 is empty, once the data area 43 is full, no further writing is possible. There was a drawback that the storage section 4 was not fully utilized.

〔発明の概要〕[Summary of the invention]

この発明は、上述の点Kかんがみてなされたもので、プ
ログラム領域またはデータ領域の境界を示すポインタを
設け、このポインタを書込みに応じて移動させるととも
に、その時点のアドレスをポインタレジスタ領域に格納
するようKして、空きの領域が直ちに判明できるように
したものである。
This invention was made in view of the above-mentioned point K, and includes providing a pointer indicating the boundary of a program area or a data area, moving this pointer in response to writing, and storing the address at that point in a pointer register area. This makes it possible to immediately identify free areas.

〔発明の実施例〕[Embodiments of the invention]

第3図はこの発明の一実施例を示すブロック図であり、
第1図の従来例と異なるところは、記憶部4にポインタ
レジスタ領域44を設けた点である。その他は第1図と
同じである。
FIG. 3 is a block diagram showing an embodiment of the present invention,
The difference from the conventional example shown in FIG. 1 is that a pointer register area 44 is provided in the storage section 4. Other details are the same as in Figure 1.

第4図はこの発明による記憶部4の構成を示す図で、4
1〜43は第2図と同じである。44はポインタレジス
タ領域であり、45はポインタを示す・ この実施例では、プログラム領域42の書込みは先頭か
ら登録に従って行われ、それKつれてポインタ45は順
に下って行く。そして、その時点のポインタ45のアド
レスがポインタレジスタ領域44に格納される。
FIG. 4 is a diagram showing the configuration of the storage section 4 according to the present invention.
1 to 43 are the same as in FIG. Reference numeral 44 indicates a pointer register area, and reference numeral 45 indicates a pointer. In this embodiment, writing to the program area 42 is performed from the beginning according to the registration, and the pointer 45 sequentially descends accordingly. Then, the address of the pointer 45 at that time is stored in the pointer register area 44.

一方、データ領域43は下方から順次上方に向って書込
まれ、最大データ登録数はポインタ45以下、またはパ
ラメータにより設定される。
On the other hand, data is written in the data area 43 sequentially from the bottom to the top, and the maximum number of data registration is set by the pointer 45 or less or by a parameter.

このよ5 K して、ポインタ45の位置、すなわちポ
インタレジスタ領域44の値からプログラム領域42の
境界が分かるので、データをポインタ451/C達する
まで書込むことができる。
In this manner, the boundary of the program area 42 can be determined from the position of the pointer 45, that is, the value of the pointer register area 44, and data can be written until the pointer 451/C is reached.

なお、ポインタ45の移動は手動で行っても、また、プ
ログラミングに従って自動的に行うよう圧してもよい。
Note that the pointer 45 may be moved manually or automatically according to programming.

また、ポインタ45は、上記の実施例ではプログラム領
域42の境界を示すようにしたが、これはデータ領域4
3の境界を示すようにしてもよい。
Further, in the above embodiment, the pointer 45 indicates the boundary of the program area 42;
3 may be indicated.

〔発明の効果1 以上詳細に説明したように、この発明は、記憶部にポイ
ンタレジスタ領域を設け、一方、プログラム領域または
データ領域の境界を示すポインタを設け、このポインタ
の7ドレスを前記ポインタレジスタ領域に記憶するよう
Kしたので、プログラム領域が小でデータ領域を大とす
ることができるので、複雑な加工であって簡単な繰り返
し運転プログラムで多数のデータを用いて運転する場合
に適しており、また、プログラム領域が大でデータ領域
を小とすることができるので、データが少ない複雑な運
転プログラムの場合、プログラム領域を大にして記憶部
を有効に活用できる利点がある。
[Advantageous Effects of the Invention 1] As explained in detail above, the present invention provides a pointer register area in the storage section, and also provides a pointer indicating the boundary of the program area or data area, and stores the 7th address of this pointer in the pointer register. Since it is stored in the area, the program area can be small and the data area can be large, making it suitable for complex machining that uses a large amount of data in a simple repetitive operation program. Furthermore, since the program area can be large and the data area can be small, there is an advantage that in the case of a complicated driving program with little data, the program area can be enlarged and the storage section can be used effectively.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来の数値制御装置の一例を示すブロック図、
第2図は記憶部の構成を示す図、第3図はこの発明の一
実施例を示すブロック図、第4図はこの発明による記憶
部の構成を示す図である・図中、1は入力部、2は制御
部、3は演算部、4は記憶部、5は出力部、6は機械、
41はシステム領域、42はプログラム領域、43はデ
ータ領域、44はポインタレジスタ領域、45はポイン
タである。 なお、図中の同一符号は同一または相当部分を示す。 代理人 大岩増雄 (外2名) 第1図 4 ノ 第2図 第 3 図 第4図 [゛ ・ ンステA 頒 城 1 −−m )bグラム、 gL 域 1 一一−E
FIG. 1 is a block diagram showing an example of a conventional numerical control device.
FIG. 2 is a diagram showing the configuration of the storage section, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. 4 is a diagram showing the configuration of the storage section according to the invention. In the figure, 1 is an input section, 2 is a control section, 3 is a calculation section, 4 is a storage section, 5 is an output section, 6 is a machine,
41 is a system area, 42 is a program area, 43 is a data area, 44 is a pointer register area, and 45 is a pointer. Note that the same reference numerals in the figures indicate the same or corresponding parts. Agent Masuo Oiwa (2 others) Fig. 1 4 Fig. 2 Fig. 3 Fig. 4

Claims (1)

【特許請求の範囲】[Claims] システム領域、プログラム領域およびデータ領域を有す
る記憶部を備えた数値制御装置において、前記プログラ
ム領域またはデータ領域の境界を示すポインタを設け、
このポインタのアドレスを記憶するポインタレジスタ領
域を前記記憶部に設けたことを特徴とする数値制御装置
In a numerical control device equipped with a storage unit having a system area, a program area, and a data area, a pointer is provided that indicates the boundary of the program area or the data area,
A numerical control device characterized in that a pointer register area for storing the address of this pointer is provided in the storage section.
JP58160654A 1983-09-01 1983-09-01 Numerical control device Pending JPS6051955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58160654A JPS6051955A (en) 1983-09-01 1983-09-01 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58160654A JPS6051955A (en) 1983-09-01 1983-09-01 Numerical control device

Publications (1)

Publication Number Publication Date
JPS6051955A true JPS6051955A (en) 1985-03-23

Family

ID=15719604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58160654A Pending JPS6051955A (en) 1983-09-01 1983-09-01 Numerical control device

Country Status (1)

Country Link
JP (1) JPS6051955A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62143164A (en) * 1985-12-17 1987-06-26 Casio Comput Co Ltd Electronic calculator with formula storage function
WO2013145055A1 (en) * 2012-03-30 2013-10-03 日本電気株式会社 Debugging control circuit, method, and system
JP2019096307A (en) * 2017-11-22 2019-06-20 エイアールエム リミテッド Data storage for plural data types

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62143164A (en) * 1985-12-17 1987-06-26 Casio Comput Co Ltd Electronic calculator with formula storage function
WO2013145055A1 (en) * 2012-03-30 2013-10-03 日本電気株式会社 Debugging control circuit, method, and system
JP2019096307A (en) * 2017-11-22 2019-06-20 エイアールエム リミテッド Data storage for plural data types

Similar Documents

Publication Publication Date Title
JPS6051955A (en) Numerical control device
EP0059758A1 (en) Numerical control unit
US7080353B2 (en) Addon mechanism for a control system based on a type data field
US5155848A (en) Method of searching and displaying selected data and for updating displayed data in a text editing system
US5565895A (en) Programmable controller with independent display
JPS6149209A (en) Program execution system of numerical controller
JPH01184505A (en) Numerical controller
JPS59172007A (en) Numerical controller
JPS60189503A (en) Numerical controller
JPH0348333A (en) Processor and plotting processor
JP3129889B2 (en) Numerical control unit
JPH0651888A (en) Operation re-executing device
JPH0157874B2 (en)
KR0164725B1 (en) Cache memory
JPH04112208A (en) Programmable controller
JPH01291328A (en) Interpreter type language system
JPS60149058A (en) Copying control device
JPH0117164B2 (en)
JPH01134393A (en) Font data generator
JPH04238564A (en) File input/output system for command procedure
JPS6349805A (en) Automatic selection system for operation program of numerical controller
JPS59186048A (en) Microprogram control system
JPS61286906A (en) Nc program converter
JPH0652495B2 (en) Message text editing control method
JPS61206005A (en) Numerically control system