JPH0228836A - Load system for numerical value control device - Google Patents

Load system for numerical value control device

Info

Publication number
JPH0228836A
JPH0228836A JP17981588A JP17981588A JPH0228836A JP H0228836 A JPH0228836 A JP H0228836A JP 17981588 A JP17981588 A JP 17981588A JP 17981588 A JP17981588 A JP 17981588A JP H0228836 A JPH0228836 A JP H0228836A
Authority
JP
Japan
Prior art keywords
program
system program
processing
control device
module
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
JP17981588A
Other languages
Japanese (ja)
Inventor
Mitsuto Miyata
宮田 光人
Tetsuya Shimizu
哲哉 清水
Koichi Munezane
宗實 浩一
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP17981588A priority Critical patent/JPH0228836A/en
Publication of JPH0228836A publication Critical patent/JPH0228836A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To eliminate a need for a processing to select processing contents at the time of execution by causing a system program to be a module, storing the program to a ROM, selecting this program, linking it and loading it to a RAM as an executable program. CONSTITUTION:A system program 2 is caused to be the module per processing content and the modules such as processing A, processing B,... processing I, etc., are stored in a ROM 1. When a powder source is inputted, a module program necessary for each machine tool is selected out of the respective module program of the system program 2 in the ROM 1 and these programs are linked. Then, an executable system program is prepared and loaded to a RAM 3. Which program module is selected is set by a parameter with being matched to the specification of each machine tool and by this parameter, the necessary processing program is selected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は不揮発性メモリからRAMにシステムプログラ
ムをロードして数値制御装置を運転する数値制御装置の
ロード方式に関し、特にシステムプログラムをモジュー
ル化して、必要なモジュールプログラムを選択し、ロー
ドするようにした数値制御装置のロード方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a loading method for a numerical control device in which a system program is loaded from a non-volatile memory to a RAM to operate the numerical control device, and in particular, it relates to a loading method for a numerical control device in which a system program is loaded from a non-volatile memory to a RAM to operate the numerical control device. , relates to a loading method for a numerical control device in which a necessary module program is selected and loaded.

〔従来の技術〕[Conventional technology]

数値制御装置(CNC)ではシステムプログラムをRO
M等の不揮発性メモリに格納して、読み出し実行するも
のと、ROMに格納されたシステムプログラムを、−旦
RAMにロードして実行するものがある。RAMに一部
ロードするのは、−般にROMよりRAMの方が読み出
し速度が早く、また書き換えができるためである。
In the numerical control device (CNC), the system program is RO
There are systems that are stored in a non-volatile memory such as M and then read out and executed, and systems that are stored in a ROM and then loaded into a RAM and executed. The reason for partially loading data into RAM is that RAM generally has a faster read speed than ROM and can be rewritten.

第4図にシステムプログラムのロードの例を示す。図に
おいて、1はROMであり、システムプログラム2aが
格納されている。このシステムプログラムは1つにまと
められたシステムプログラムとして構成さている。3は
RAMであり、システムプログラム2aは、そのまま実
行可能なシステムプログラム4aとして、RAM3にロ
ードされる。
FIG. 4 shows an example of loading a system program. In the figure, 1 is a ROM in which a system program 2a is stored. This system program is configured as a single system program. 3 is a RAM, and the system program 2a is loaded into the RAM 3 as a system program 4a that can be executed as is.

一方数値制御装置は多種の工作機械に結合されて、数値
制御工作機械を構成するが、個々の工作機械はそれぞれ
異なった仕様を有するので、工作機械の仕様に合わせた
システムプログラムが必要である。すなわち、システム
プログラム4aは多種、多様な工作機械に必要な処理内
容を含んでおり、各工作機械に必要な処理を選択しなが
らシステムプログラムを実行していた。
On the other hand, a numerical control device is connected to various types of machine tools to form a numerically controlled machine tool, but since each machine tool has different specifications, a system program tailored to the specifications of the machine tool is required. That is, the system program 4a includes processing contents necessary for a wide variety of machine tools, and the system program is executed while selecting the processing necessary for each machine tool.

第5図にこのようなシステムプログラムの処理のフロー
チャート図を示す。図において、Sに続く数値はステッ
プ番号を示す。
FIG. 5 shows a flowchart of processing of such a system program. In the figure, the number following S indicates the step number.

(Sll)処理Aを行うか調べる。処理Aが必要であれ
ばS12へ、必要なければS13へいく。
(Sll) Check whether to perform process A. If the process A is necessary, the process goes to S12, and if it is not necessary, the process goes to S13.

(S12)処理Aを実行する。(S12) Process A is executed.

(S13)処理Bが必要か調べる。処理Bが必要であれ
ばS14へ、不要なら次のステップへいく。
(S13) Check whether processing B is necessary. If process B is necessary, the process goes to S14; if it is not necessary, the process goes to the next step.

〔S14〕処理Bを実行する。[S14] Process B is executed.

このように、各処理が必要かチエツクしながら、システ
ムプログラム4aを実行する。
In this way, the system program 4a is executed while checking whether each process is necessary.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、このためにシステムプログラムの処理ごとに、
処理が必要かどうか判断するので、システムプログラム
の実行時間が無駄になる。特に、数値制御装置に要求さ
れる機能が複雑、多様になるにつれて、判断ステップも
相当の数になる。
However, for this reason, each processing of the system program
Determining whether processing is necessary wastes system program execution time. In particular, as the functions required of a numerical control device become more complex and diverse, the number of determination steps also increases.

本発明はこのような点に鑑みてなされたものであり、シ
ステムプログラムをモジュール化して、必要なモジュー
ルを選択して、ロードするようにした数値制御装置のロ
ード方式を提供することを目的とする。
The present invention has been made in view of these points, and an object of the present invention is to provide a loading method for a numerical control device in which a system program is modularized, and necessary modules are selected and loaded. .

〔課題を解決するための手段〕[Means to solve the problem]

本発明では上記課題を解決するために、不揮発性メモリ
からRAMにシステムプログラムをロードして数値制御
装置を運転する数値制御装置のロード方式において、 システムプログラムを各処理内容ごとにモジュールプロ
グラムとして作成し、 該モジュールプログラムから、個々の数値制御装置シス
テムに必要なモジュールプログラムを選択して、実行可
能なシステムプログラムを作成し、該実行可能なシステ
ムプログラムをRAMにロードして、 数値制御装置を運転することを特徴とする数値制御装置
のロード方式が、 提供される。
In order to solve the above problems, the present invention uses a loading method for a numerical control device in which the system program is loaded from a nonvolatile memory to a RAM to operate the numerical control device, and the system program is created as a module program for each processing content. , Select a module program necessary for each numerical control device system from the module programs, create an executable system program, load the executable system program into RAM, and operate the numerical control device. A loading method for a numerical control device is provided.

〔作用〕[Effect]

システムプログラムを処理ごとに、モジュールプログラ
ム構成とし、個々の工作機械に必要なモジュールプログ
ラムのみ選択して、これらをリンクして、実行可能なシ
ステムプログラムを作成して、RAMにロードするので
、システムプログラムの実行時に、処理が必要かどうか
判断処理の必要がなくなる。
The system program is configured as a module program for each process, and only the module programs necessary for each machine tool are selected and linked to create an executable system program and loaded into RAM. There is no need to judge whether processing is necessary when executing.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第1図に本発明の数値制御装置のロード方式を説明する
ための概念図を示す。図において、1はROMであり、
システムプログラム2が格納されている。このシステム
プログラム2は各処理内容毎にモジュール化されており
、処理A、処理B、処理I等のモジュールから構成され
ている。
FIG. 1 shows a conceptual diagram for explaining the loading method of the numerical control device of the present invention. In the figure, 1 is a ROM,
System program 2 is stored. This system program 2 is modularized for each processing content, and is composed of modules such as processing A, processing B, and processing I.

3はRAMであり、電源投入時に、ROMIのシステム
プログラム2の各モジュールプログラムから、個々の工
作機械に必要なモジュールプログラムを選択し、これら
をリンクして、実行可能なシステムプログラムを作成し
、RAM3にロードする。どのプログラムモジュールを
選択するかは、各工作機械の仕様に合わせて、パラメー
タで設定し、このパラメータによって、必要な処理プロ
グラムが選択される。
3 is a RAM, when the power is turned on, a module program required for each machine tool is selected from each module program of the system program 2 of ROMI, and these are linked to create an executable system program. Load into. Which program module to select is set by parameters according to the specifications of each machine tool, and the necessary processing program is selected by these parameters.

従って、特定の工作機械に必要な処理A、処理C1処理
D、処理G及び処理1を含むシステムプログラム4がR
AM3にロードされる。この結果、数値制御装置は必要
な処理を含むシステムプログラム4を実行すればよく、
そのなかには不必要な処理は含まれていない。
Therefore, the system program 4 including process A, process C1 process D, process G and process 1 necessary for a specific machine tool is R
Loaded into AM3. As a result, the numerical control device only needs to execute the system program 4 including the necessary processing,
It does not include unnecessary processing.

第2図にシステムプログラムの処理のフローチャート図
を示す。第2図に示すように、このシステムプログラム
の実行は、必要な処理を選択するための判断処理は一切
必要なく、そのまま、処理A(SL)、処理C(32)
、処理D(S3)、処理G(S4)及び処理I (S5
)の各処理を実行すればよい。
FIG. 2 shows a flowchart of the processing of the system program. As shown in FIG. 2, the execution of this system program does not require any judgment processing to select the necessary processing, and the process A (SL), Process C (32), etc.
, Process D (S3), Process G (S4) and Process I (S5
).

第3図に本発明を実施するための数値制御装置のハード
ウェアの構成図を示す。図において、6はプロセッサ、
7はROMでローダ等のプログラムが格納されている。
FIG. 3 shows a hardware configuration diagram of a numerical control device for implementing the present invention. In the figure, 6 is a processor;
A ROM 7 stores programs such as a loader.

8は処理可能なシステムプログラムを格納するRAM、
9は表示器、10はモジュール化されたシステムプログ
ラムが格納されており、各プログラムモジュールは工作
機械の仕様に合わせて、選択され、リンクされて、実行
可能なシステムプログラムとしてRAM8に格納され、
数値制御装置はこの実行可能なシステムプログラムで動
作させる。11は操作盤、12は工作機械である。
8 is a RAM for storing processable system programs;
Reference numeral 9 denotes a display, and 10 stores a modularized system program. Each program module is selected and linked according to the specifications of the machine tool, and stored in the RAM 8 as an executable system program.
The numerical control device is operated by this executable system program. 11 is an operation panel, and 12 is a machine tool.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、システムプログラムを
モジュール化して、ROMに格納して、これを選択し、
リンクして実行可能なシステムプログラムとして、RA
Mにロードするようにしたので、システムプログラムの
実行時に処理内容を選択するための判断処理が不要とな
り、システムプログラムの処理時間が短縮され、ソフト
ウェアの信頼性も向上する。
As explained above, in the present invention, the system program is modularized, stored in the ROM, and selected.
As a linked and executable system program, RA
Since the system program is loaded into M, there is no need for judgment processing to select the processing content when executing the system program, reducing the processing time of the system program and improving the reliability of the software.

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

第1図は本発明の数値制御装置のロード方式を説明する
ための概念図、 第2図はシステムプログラムの処理のフローチャート図
、 第3図は本発明を実施するための数値制御装置のハード
ウェアの構成図、 第4図は従来のシステムプログラムのロードの例を示す
図、 第5図は従来のシステムプログラムの処理のフローチャ
ート図である。 工作機械 特許出願人 ファナック株式会社 代理人   弁理士  服部毅巖 1−−−−−−−−−−−−ROM 2−−−−−−・−−−−−−システムプログラム3 
  −−−−RAM 4−−−−−−−−−−−−−−システムプログラム6
  −プロセッサ 7   −ROM 8−−−−−−−−・−−−−−−RA M9−−−−
−−−−−−一表示器 10−−−−−−−−・−−−−−ROMll   −
操作盤 第1 図 第2図 第4図 第5図
Fig. 1 is a conceptual diagram for explaining the loading method of the numerical control device of the present invention, Fig. 2 is a flowchart of system program processing, and Fig. 3 is the hardware of the numerical control device for implementing the present invention. FIG. 4 is a diagram showing an example of conventional system program loading, and FIG. 5 is a flowchart of conventional system program processing. Machine tool patent applicant Fanuc Co., Ltd. Agent Patent attorney Takeshi Hattori 1--------------ROM 2---------・-------System program 3
---RAM 4-------------System program 6
-Processor 7 -ROM 8---------------RA M9--
---------Display unit 10----------ROMll-
Operation panel 1 Figure 2 Figure 4 Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)不揮発性メモリからRAMにシステムプログラム
をロードして数値制御装置を運転する数値制御装置のロ
ード方式において、 システムプログラムを各処理内容ごとにモジュールプロ
グラムとして作成し、 該モジュールプログラムから、個々の数値制御装置シス
テムに必要なモジュールプログラムを選択して、実行可
能なシステムプログラムを作成し、該実行可能なシステ
ムプログラムをRAMにロードして、 数値制御装置を運転することを特徴とする数値制御装置
のロード方式。
(1) In the loading method of a numerical control device in which the system program is loaded from non-volatile memory to RAM to operate the numerical control device, the system program is created as a module program for each processing content, and from the module program, individual A numerical control device, comprising: selecting a module program necessary for a numerical control device system, creating an executable system program, loading the executable system program into a RAM, and operating the numerical control device. loading method.
(2)前記モジュールプログラムの選択はパラメータに
よって、行うことを特徴とする特許請求の範囲第1項記
載の数値制御装置のロード方式。
(2) A loading method for a numerical control device according to claim 1, wherein the selection of the module program is performed based on parameters.
JP17981588A 1988-07-19 1988-07-19 Load system for numerical value control device Pending JPH0228836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17981588A JPH0228836A (en) 1988-07-19 1988-07-19 Load system for numerical value control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17981588A JPH0228836A (en) 1988-07-19 1988-07-19 Load system for numerical value control device

Publications (1)

Publication Number Publication Date
JPH0228836A true JPH0228836A (en) 1990-01-30

Family

ID=16072372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17981588A Pending JPH0228836A (en) 1988-07-19 1988-07-19 Load system for numerical value control device

Country Status (1)

Country Link
JP (1) JPH0228836A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992008173A1 (en) * 1990-11-01 1992-05-14 Fanuc Ltd Program correction method in numerically controlled device
WO1994014107A1 (en) * 1992-12-07 1994-06-23 Fanuc Ltd Method for executing sequential program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992008173A1 (en) * 1990-11-01 1992-05-14 Fanuc Ltd Program correction method in numerically controlled device
WO1994014107A1 (en) * 1992-12-07 1994-06-23 Fanuc Ltd Method for executing sequential program

Similar Documents

Publication Publication Date Title
US5784621A (en) Sequence program display apparatus
US5140237A (en) Computerized numerical control method
US4722043A (en) Control system with changable time-shared execution of ladder and non-ladder programs
US6618635B1 (en) Programming apparatus
JPH0228836A (en) Load system for numerical value control device
EP1394642B1 (en) Multi-system numerical control device
JPS63273101A (en) Programmable controller
EP0578828A1 (en) Screen display method for cnc
WO2022154049A1 (en) Numerical control device
JPH0242510A (en) Display system for working information
JP2942812B2 (en) Device for creating a variant and variable production program
EP0871097B1 (en) Programmable controller
US20250334944A1 (en) Method and system for automatic generation of plc logic
JPH0619518A (en) Program calling system
EP0445288A1 (en) Operation processing unit
JPH04123105A (en) Motor control system
JPS61278909A (en) Interactive programming device
JPH06324717A (en) Edit system for sequence program
JP3018732B2 (en) Programmable controller
JPH08286717A (en) Numerical control unit
JPH02310608A (en) System for changing order of tools
JPH02148106A (en) Execution system for sequence program
JPH0262607A (en) Program checking plotting system
JPH05143130A (en) Numerical controller
JPH04365170A (en) Digital signal processing semiconductor integrated circuit