JPH076040A - Simultaneous processing method for interactive program - Google Patents

Simultaneous processing method for interactive program

Info

Publication number
JPH076040A
JPH076040A JP27694591A JP27694591A JPH076040A JP H076040 A JPH076040 A JP H076040A JP 27694591 A JP27694591 A JP 27694591A JP 27694591 A JP27694591 A JP 27694591A JP H076040 A JPH076040 A JP H076040A
Authority
JP
Japan
Prior art keywords
processings
processing
program
basis
start request
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
JP27694591A
Other languages
Japanese (ja)
Inventor
Hisashi Ukai
久 鵜飼
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.)
Enshu Ltd
Original Assignee
Enshu Ltd
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 Enshu Ltd filed Critical Enshu Ltd
Priority to JP27694591A priority Critical patent/JPH076040A/en
Publication of JPH076040A publication Critical patent/JPH076040A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To equip the computer of an automatic programming device with a multitask function which generates NC statements, transfers a program, and makes a communication, et., as background tasks by determining a priority level for a start request routine for various processing displayed on a CRT screen, etc., at the same time by the inference function of a computer program according to an execution processing rule file and performing the respective processings on a time-sharing basis. CONSTITUTION:When the program is started, a display 20 enters a state wherein the respective processing can selectively be started. The start request routine (1) for the processings is made to function and requests to start processings 1, 2, 3, 4,... as simultaneously requested processings are accepted. Then an inference engine (2) functions to determine the priority levels of the processings and determine the order of the processings to be executed on the basis of the execution processing rule file (3) when the processings can be executed. On the basis of the determination, the processings 1, 2... are executed on the time- sharing basis when execution acknowledgement is YES, and the respective processing start request are ended through time-sharing processing according to the priority levels.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、工作機械における対話
プログラムの同時処理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for simultaneously processing interactive programs on a machine tool.

【0002】[0002]

【従来技術と問題点】従来、工作機械に対する加工運転
プログラムや各種のプログラム作成作業は、オペレータ
による手作業又は単一自動プログラミング装置を利用し
てのプログラム作成作業を行っている。特に、対話プロ
グラム作成作業の時間が多大に必要とし、この作業中に
プログラム転送など短時間に実行終了する別の作業を同
時に並行して実行したい要求がある。
2. Description of the Related Art Conventionally, a machining operation program for a machine tool and various kinds of program creation work are performed manually by an operator or using a single automatic programming device. In particular, a great deal of time is required for the interactive program creation work, and there is a demand for concurrently executing another work, such as a program transfer, which ends in a short time during this work.

【0003】前記要求に対応するには、マルチタスク機
能を対話編集部に持つ必要があるが、このマルチタスク
機能を自動プログラミング装置に装備するに至っていな
い。従って、NC文の作成、プログラム転送、通
信等を裏で実行することが不可能である。
In order to meet the above-mentioned demand, it is necessary to have a multitasking function in the dialogue editing section, but this multitasking function has not been installed in an automatic programming device. Therefore, it is impossible to perform NC statement creation, program transfer, communication, etc. behind the scenes.

【0004】[0004]

【発明が解決しようとする課題】本発明は、前記従来の
問題点に鑑み、NC文の作成、プログラム転送、
通信等を裏で実行することができるマルチタスク機能を
自動プログラミング装置のコンピュータに装備させた対
話プログラムの同時処理方法を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, such as NC statement creation, program transfer,
An object of the present invention is to provide a simultaneous processing method for interactive programs in which a computer of an automatic programming device is equipped with a multitasking function capable of executing communication and the like behind the scenes.

【0005】[0005]

【課題を解決するための手段】本発明は、CRT画面等
に同時に表示される各種処理の起動要求ルーチンに対し
てコンピュータ・プログラムの推論機能が実行処理ルー
ルフアイルに従って優先順位を決定し、各処理をタイム
シアリングで処理することを特徴とする対話プログラム
の同時処理方法としたものである。
According to the present invention, an inference function of a computer program determines a priority order according to an execution process rule file for a start request routine of various processes simultaneously displayed on a CRT screen or the like, and each process is executed. Is a time processing method for simultaneous processing of dialogue programs.

【0006】本発明による作用は、CRT画面等に同時
に表示される各種処理の起動要求ルーチンに対してコン
ピュータ・プログラムの推論機能が実行処理ルールフア
イルに従って優先順位を決定し、各処理をタイムシアリ
ングで処理する。
According to the operation of the present invention, the inference function of the computer program determines the priority order according to the execution process rule file with respect to the start request routines of various processes simultaneously displayed on the CRT screen or the like, and each process is time shearing. To process.

【0007】[0007]

【実施例】以下、図面に示す実施例にて説明する。図1
は本発明の対話プログラムの同時処理方法を実施する概
要ブロック線図であり、図2は本発明の対話プログラム
の同時処理方法の動作フローチャート図、図3は優先順
位とその処理順序のフローチャート図、図4は対話編集
作業の画面図、図5はNC文作成の画面図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments shown in the drawings will be described below. Figure 1
FIG. 2 is a schematic block diagram for carrying out the simultaneous processing method of the interactive program of the present invention, FIG. 2 is an operation flowchart of the simultaneous processing method of the interactive program of the present invention, FIG. 3 is a flowchart of priority order and its processing order, FIG. 4 is a screen diagram of interactive editing work, and FIG. 5 is a screen diagram of NC sentence creation.

【0008】図1は、本発明の対話型同時処理方法を示
す実施装置100で、中央演算部CPU(コンピュー
タ)50と本発明の推論機能が働くアプリケーションプ
ログラムを持つROM40と、ストロークチエツクに関
するデータフアイルを持つRAM30,ディスプレィ2
0,キーボード10とを具備している。前記キーボード
50の操作のもと、ディスプレィ20の画面を見ながら
本発明の対話プログラムの同時処理方法を実施する。
FIG. 1 shows an embodiment 100 of an interactive simultaneous processing method according to the present invention, which includes a central processing unit CPU (computer) 50, a ROM 40 having an application program for operating the inference function of the present invention, and a data file relating to a stroke check. RAM30 with display, display 2
0 and a keyboard 10. Under the operation of the keyboard 50, the interactive program simultaneous processing method of the present invention is carried out while observing the screen of the display 20.

【0009】本発明に係る対話プログラムの同時処理方
法の実施装置100は上記のように構成され、図2,3
の動作フローチャートにて説明する。先ず、図2におい
て、「スタート」によりディスプレィ20は、各処理の
選択起動が可能な状態になる。ここで、「処理の起動要
求ルーチン」(1)を機能させて同時要求処理である
「処理1の起動要求」,「処理2の起動要求」,「処理
3の起動要求」,「処理4の起動要求」・・を受付け
る。続いて、人工知能である「推論エンジン」(2)が
機能して「実行処理ルールフアイル」(3)に基づき、
〇実行可能の場合:処理の優先順位の決定をし、また〇
実行不可能の場合:待行列の順位の決定を行い、実行処
理の順位決定をする。前記順位決定に基づき、「実行許
可」(4)のYES,NOの判断を行い、YESにつき
「処理1」「処理2」「処理3」・・をタイムシアリン
グで実行し、時分割処理のもとに優先順位に従い、各処
理起動要求を終了させる。
An apparatus 100 for carrying out a method for simultaneously processing interactive programs according to the present invention is configured as described above, and will be described with reference to FIGS.
The operation flowchart will be described. First, in FIG. 2, the "start" causes the display 20 to be in a state in which each process can be selectively activated. Here, the “process activation request routine” (1) is made to function to perform simultaneous request processes “process 1 activation request”, “process 2 activation request”, “process 3 activation request”, and “process 4”. Start request "... Then, the "inference engine" (2), which is an artificial intelligence, is activated and based on the "execution processing rule file" (3),
〇 Executable: Determine the priority of processing, and 〇 Unexecutable: Determine the order of queue, and determine the order of execution processing. Based on the order determination, "YES" or "NO" of "execution permission" (4) is determined, and when YES, "process 1", "process 2", "process 3" ... Then, according to the priority order, each process activation request is terminated.

【0010】次に、具体的事例により、その処理手順を
図3,2で説明する。例題では、優先順位を「対話文編
集」A>「NC文作成」B>「通信」Cとし、処理1が
D,処理2がAとB,処理3がCとしている。先ず、
「ステータス:0」の起動要求待ち、にあり、「ステー
タス:1」では、優先順位D→A→C,待行列B、とし
て処理する。「ステータス:2」では、優先順位Dが終
了し、A→C,待行列B、として処理する。「ステータ
ス:3」では、Aが終了後再び優先順位Dが割込み優先
順位D→B→C,待行列無し、として処理する。そし
て、「ステータス:4」では、Dが終了し優先順位B→
C,待行列無し、「ステータス:5」では、Bが終了し
優先順位C,待行列無し、として処理する。最後に、
「ステータス:6」では、優先順位無し,待行列無し、
となり「ステータス:0」の起動要求待ちの状態にもど
る。以下、上記作用を優先順位「対話文編集」A>「N
C文作成」B>「通信」Cの基に、繰り返す。
Next, the processing procedure will be described with reference to FIGS. In the example, the priority is set to “dialogue sentence edit” A> “NC sentence creation” B> “communication” C, process 1 is D, process 2 is A and B, and process 3 is C. First,
It is in the waiting state for the activation request of "status: 0", and in "status: 1", it is processed as priority order D → A → C and queue B. In "status: 2", the priority order D ends, and processing is performed as A → C, queue B. In the "status: 3", after A is finished, the priority D is processed again as the interrupt priority D → B → C and no queue. Then, in "status: 4", D ends and priority B →
C, no queue, and in "status: 5", B ends and is processed as priority C, no queue. Finally,
In "Status: 6", there is no priority, no queue,
Then, the status returns to the status "0" waiting for the activation request. In the following, the above-mentioned actions are performed in the order of priority "edit dialogue sentence"A>"N
It is repeated based on "C sentence creation"B>"communication" C.

【0011】図4,5は優先順位の高い「対話文編集」
(イ)の画面と、優先順位の低い「NC文作成」(ロ)
の画面表示を示している。「対話文編集」(イ)の画面
では、「工程画面」「リーマ設定画面」「任意穴設定画
面」を示し、「NC文作成」(ロ)の画面では、「工程
画面」「NCプログラム確認画面」を各々示している。
4 and 5 show "dialogue text editing" having a high priority.
(A) screen and "NC sentence creation" with low priority (b)
The screen display of is shown. On the screen of "Edit dialogue text" (b), "Process screen", "Reamer setting screen" and "Arbitrary hole setting screen" are shown. On the screen of "NC statement creation" (b), "Process screen" and "NC program confirmation""Screen" is shown respectively.

【0012】本発明は、上記一実施例に限定されること
なく発明の要旨内での設計変更が可能であること勿論で
ある。
It is needless to say that the present invention is not limited to the one embodiment described above, and design changes can be made within the scope of the invention.

【0013】[0013]

【効果】本発明は、CRT画面等に同時に表示される各
種処理の起動要求ルーチンに対してコンピュータ・プロ
グラムの推論機能が実行処理ルールフアイルに従って優
先順位を決定し、各処理をタイムシアリングで処理する
から、複数の処理要求に対して、優先順位に従って整然
且つスピーディーにするのは勿論、表で「対話文編集」
を行いながら、裏で「NC文作成」を行うこともでき
る。
According to the present invention, the inference function of the computer program determines the priority order according to the execution process rule file for the start request routines of various processes simultaneously displayed on the CRT screen or the like, and processes each process by time shearing. Therefore, of course, it is not only orderly and speedy for multiple processing requests according to the priority order, but also in the table, "Edit dialogue sentence"
It is also possible to perform "NC sentence creation" on the back while performing ".

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

【図1】本発明の対話プログラムの同時処理方法の実施
装置を示す概要ブロック線図である。
FIG. 1 is a schematic block diagram showing an implementation device of a simultaneous processing method for interactive programs according to the present invention.

【図2】本発明の対話プログラムの同時処理方法の動作
フローチャート図である。
FIG. 2 is an operation flowchart of the simultaneous processing method for interactive programs according to the present invention.

【図3】優先順位とその処理順序のフローチャート図で
ある。
FIG. 3 is a flowchart of priorities and processing order thereof.

【図4】対話編集作業の画面図である。FIG. 4 is a screen diagram of interactive editing work.

【図5】NC文作成の画面図である。FIG. 5 is a screen diagram for creating an NC sentence.

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

50 コンピュータ 40 ROM 30 RAM 20 ディスプィ 10 キーボード 100 実施装置 (1) 処理の起動要求ルーチン 50 computer 40 ROM 30 RAM 20 display 10 keyboard 100 execution device (1) process start request routine

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成6年5月6日[Submission date] May 6, 1994

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】全図[Correction target item name] All drawings

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図1】 [Figure 1]

【図4】 [Figure 4]

【図2】 [Fig. 2]

【図5】 [Figure 5]

【図3】 [Figure 3]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 CRT画面等に同時に表示される各種処
理の起動要求ルーチンに対してコンピュータ・プログラ
ムの推論機能が実行処理ルールフアイルに従って優先順
位を決定し、各処理をタイムシアリングで処理すること
を特徴とする対話プログラムの同時処理方法。
1. An inference function of a computer program determines a priority order according to an execution process rule file for a start request routine of various processes simultaneously displayed on a CRT screen or the like, and processes each process by time shearing. Characteristic interactive program simultaneous processing method.
JP27694591A 1991-09-26 1991-09-26 Simultaneous processing method for interactive program Pending JPH076040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27694591A JPH076040A (en) 1991-09-26 1991-09-26 Simultaneous processing method for interactive program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27694591A JPH076040A (en) 1991-09-26 1991-09-26 Simultaneous processing method for interactive program

Publications (1)

Publication Number Publication Date
JPH076040A true JPH076040A (en) 1995-01-10

Family

ID=17576607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27694591A Pending JPH076040A (en) 1991-09-26 1991-09-26 Simultaneous processing method for interactive program

Country Status (1)

Country Link
JP (1) JPH076040A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957687A (en) * 2017-11-30 2018-04-24 出门问问信息科技有限公司 The control method and device of InterWorking Equipment function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107957687A (en) * 2017-11-30 2018-04-24 出门问问信息科技有限公司 The control method and device of InterWorking Equipment function
CN107957687B (en) * 2017-11-30 2021-07-09 出门问问信息科技有限公司 Method and device for controlling functions of interconnection equipment

Similar Documents

Publication Publication Date Title
GB2118328A (en) Method of controlling operation of two tool rests of a quadriaxial numerical control lathe
JPH076040A (en) Simultaneous processing method for interactive program
JPS60168206A (en) Numerical control device
JP3126848B2 (en) calculator
JPS6125211A (en) Parallel processing numerical controller
WO1989005006A1 (en) Interactive nc apparatus
JPH0262607A (en) Program checking plotting system
JPH071286A (en) Automatic deciding programming method for machining condition
JP3075929B2 (en) Job management method
JPS6379110A (en) Numerically controlled working device
JPH06202719A (en) Method for generating schedule operation program
JPH09258961A (en) Method for analyzing program environment definition information
JPH02214946A (en) Debugging system
JPH02196359A (en) Data processing system
JPS62293310A (en) Executing system for user program of numerical controller
JPH07164278A (en) Automatic programming generating method by designation of working precision
JPH0455908A (en) Production of numerically controlling data
JPH0477911A (en) Input control system for input device
JPS59206983A (en) Interactive data inputting method
JPH06274355A (en) Job schedule system
JPH0691478A (en) Tool automation function of scheduled program
JPH0217537A (en) Program editor
JPH03150603A (en) Set data preserving system
JPH08150581A (en) Robot control device
JPS6353639A (en) Comment sentence input control system