JPH03218532A - Control system for arbitrary starting program - Google Patents

Control system for arbitrary starting program

Info

Publication number
JPH03218532A
JPH03218532A JP1272590A JP1272590A JPH03218532A JP H03218532 A JPH03218532 A JP H03218532A JP 1272590 A JP1272590 A JP 1272590A JP 1272590 A JP1272590 A JP 1272590A JP H03218532 A JPH03218532 A JP H03218532A
Authority
JP
Japan
Prior art keywords
program
general
time
execution
data
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
JP1272590A
Other languages
Japanese (ja)
Inventor
Noriyuki Mari
真利 典征
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP1272590A priority Critical patent/JPH03218532A/en
Publication of JPH03218532A publication Critical patent/JPH03218532A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate addition or alteration of a general purpose program by giving a control program which has a program control table on which plural kinds of the name of an execution program, the start time of the program and termination time are registered and which arbitrarily starts/stops the desired execution program to a general purpose OS-side. CONSTITUTION:The program control table 1 on which plural kinds of data 2 on the name of the execution program, the start time and termination time of the program and sampling time required for the execution of the program are registered is given and update data 2 is taken out from the table 1 if necessary. The control program which arbitrarily starts/ stops the desired execution program in accordance with data is given to the side of the general purpose operating system (OS). When the general-purpose program is added or altered, only the update of the program control table 1 and the preparation of the program to be added and altered are required and only the program to be added is required for the object of design and debug. Thus, required work and time are shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、汎用OS(オペレーティング・システム)と
制御OS(オペレーティング・システム)を持ち、かつ
マルチタスク起動が可能なマンマシンインタフェース装
置における実行プログラムの管理方式に関するものであ
る。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides an execution program in a man-machine interface device that has a general-purpose OS (operating system) and a control OS (operating system) and is capable of starting multitasking. This is related to the management method.

〔従来の技術〕[Conventional technology]

従来の、かかるマンマシンインタフェース装置において
は、実行プログラムの起動・停止というような管理は制
御OSの側が主として行っていた。
In such conventional man-machine interface devices, management such as starting and stopping of execution programs was mainly performed by the control OS.

例えばフロッピーディスクの如き外部記憶装置にデータ
を書き込む場合、制御OSの側の命令(コマンド)単独
では書き込めず、汎用OS側のプログラムへ所要のパラ
メータを渡し、書き込みを行っていた。
For example, when writing data to an external storage device such as a floppy disk, data cannot be written by a command on the control OS side alone, but required parameters are passed to a program on the general-purpose OS side to perform the writing.

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

以上述べたように、従来技術では、汎用プログラム(実
行プログラム)を汎用OS側で単独かつ任意に起動でき
なかったので、実行すべき汎用プログラムを別のものに
代えようとする場合、汎用OS側と制御OS側の両者に
修正・変更を加えなければならず、作業が簡単でないと
いう問題があった。
As mentioned above, in the conventional technology, a general-purpose program (execution program) cannot be started independently and arbitrarily on the general-purpose OS side, so when trying to replace the general-purpose program to be executed with another one, the general-purpose OS side There was a problem in that it was not easy to modify and change both the control OS and the control OS.

本発明の目的は、かかる問題点を解決し、汎用OSの側
で、任意所望の汎用プログラムを選択して何時でも任意
に起動可能にして、実行すべき汎用プログラムを別のも
のに代えようとする場合に従来必要であった煩雑な作業
を不要にしたプログラム管理方式を提供することにある
An object of the present invention is to solve such problems, to enable a general-purpose OS to select any desired general-purpose program and start it arbitrarily at any time, and to replace the general-purpose program to be executed with another one. An object of the present invention is to provide a program management method that eliminates the need for the complicated work that was conventionally necessary when doing so.

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

上記目的達成のため本発明では、実行プログラム(汎用
プログラム)名と、該プログラムの開始時間、終了時間
及び該プログラム実行に必要なサンプリング時間と、か
ら成るデータを複数種類登録したプログラム管理テーブ
ルを持ち、必要に応じて該テーブルから更新データを取
り出し、それに従って所望の実行プログラムを任意に起
動・停止可能にする制御プログラムを汎用OSの側に持
たせた。
In order to achieve the above object, the present invention has a program management table in which multiple types of data are registered, including the name of an execution program (general-purpose program), the start time and end time of the program, and the sampling time necessary for executing the program. The general-purpose OS is provided with a control program that extracts update data from the table as necessary and enables a desired execution program to be started and stopped as desired.

〔作用〕[Effect]

これにより汎用OSの側の制御プログラムでは、プログ
ラム管理テーブルを持っているので、ここに登録されて
いる汎用プログラムの起動する時間(次回起動時間)を
該テーブル内容に従って算出できる。また該プログラム
の停止も次回起動時間と停止時間との比較により判別す
ることができる。
As a result, since the control program on the general-purpose OS side has a program management table, it is possible to calculate the start time (next start-up time) of the general-purpose program registered therein according to the contents of the table. Furthermore, the termination of the program can also be determined by comparing the next activation time and the termination time.

〔実施例〕〔Example〕

第1図は、本発明の一実施例として、実行プログラム(
汎用プログラム)名と、該プログラムの開始時間、終了
時間及び該プログラム実行に必要なサンマ゜リング時間
と、から成るデータを複数種類登録したプログラム管理
テーブルを持ち、必要に応じて該テーブルから更新デー
タを取り出し、それに従って所望の実行プログラム(汎
用プログラム)を任意に起動・停止可能にする制御プロ
グラムを示したフローチャートである。
FIG. 1 shows an execution program (
It has a program management table in which multiple types of data are registered, including the name of a general-purpose program, the start time and end time of the program, and the sampling time required to execute the program, and update data can be updated from the table as necessary. 11 is a flowchart showing a control program that extracts a program and can arbitrarily start and stop a desired execution program (general-purpose program) according to the program.

同図のステップSIOにおいて、プログラム管理テーブ
ルとあるのが、上述のデータを複数種類登録したプログ
ラム管理テーブルである。
In step SIO in the same figure, the program management table is a program management table in which a plurality of types of the above-mentioned data are registered.

第2図は、かかるプログラム管理テーブルの説明図であ
る。同図において、該管理テーブルは、プログラム(1
)の管理情報からプログラム(n)までの管理情報を有
し、各管理情報は、プログラム名、プログラム開始時間
、終了時間、サンプリング時間から成っていることが理
解されるであろう。
FIG. 2 is an explanatory diagram of such a program management table. In the figure, the management table includes a program (1
) to program (n), and each management information consists of a program name, a program start time, a program end time, and a sampling time.

第1図に戻り、ステップSIOで、プログラム管理テー
ブル更新とあるのは、プログラム(1)の管理情報から
プログラム(n)までの管理情報の中から新しいものを
一つ選択して更新することに意味する。その必要が生じ
たとき、一つ前のステソプS9において、更新フラグを
オンにしておけばよい。
Returning to FIG. 1, in step SIO, the program management table update means to select and update one new piece of management information from the management information of program (1) to program (n). means. When the need arises, the update flag may be turned on in the previous step S9.

ステップS20における「プログラム起動」において、
選択されたプログラム名に相当する汎用プログラムを起
動することになる。
In "program start" in step S20,
A general-purpose program corresponding to the selected program name will be started.

第2図については、これ以上の説明は不要であろう。No further explanation is necessary regarding FIG.

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

従来、実行すべき汎用プログラムを追加する場合、二つ
のOS(汎用OSと制御os)上のプログラムを同時に
変更することが必要でそのためのプログラム作成の作業
及びそれに要する時間が大変であったが、本発明によれ
ば、プログラム管理テーブルの更新と、追加すべきプロ
グラムの作成だけで良く、設計及びデバッグの対象は追
加すベきプログラムだけで済むので、所要の作業及び時
間を大幅に短縮できるという利点がある。
Conventionally, when adding a general-purpose program to be executed, it was necessary to change the programs on two OSes (general-purpose OS and control OS) at the same time, which required a lot of work and time to create the program. According to the present invention, all that is required is to update the program management table and create programs to be added, and only the programs to be added are subject to design and debugging, so the required work and time can be significantly reduced. There are advantages.

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

第1図は本発明の一実施例を示すフローチャート、第2
図はプログラム管理テーブルの説明図、である。 符号の説明 S9・・・「更新フラグONかJ.SIO・・・「プロ
グラム管理テーブル更新J.S20・・・「プログラム
起動」
FIG. 1 is a flowchart showing one embodiment of the present invention, and FIG.
The figure is an explanatory diagram of a program management table. Code explanation S9..."Update flag ON? J.SIO..."Program management table update J.S20..."Program start"

Claims (1)

【特許請求の範囲】[Claims] 1)実行プログラム名と、該プログラムの開始時間、終
了時間及び該プログラム実行に必要なサンプリング時間
と、から成るデータを複数種類登録したプログラム管理
テーブルを持ち、必要に応じて該テーブルから更新デー
タを取り出し、それに従って所望の実行プログラムを任
意に起動・停止可能にする制御プログラムを汎用オペレ
ーティング・システムの側に持たせて成ることを特徴と
する任意起動プログラム管理方式。
1) Have a program management table in which multiple types of data are registered, including the execution program name, the start time and end time of the program, and the sampling time necessary for executing the program, and update data from the table as necessary. An arbitrarily activated program management method characterized in that a general-purpose operating system has a control program that can be retrieved and arbitrarily started and stopped according to the desired execution program.
JP1272590A 1990-01-24 1990-01-24 Control system for arbitrary starting program Pending JPH03218532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1272590A JPH03218532A (en) 1990-01-24 1990-01-24 Control system for arbitrary starting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1272590A JPH03218532A (en) 1990-01-24 1990-01-24 Control system for arbitrary starting program

Publications (1)

Publication Number Publication Date
JPH03218532A true JPH03218532A (en) 1991-09-26

Family

ID=11813409

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1272590A Pending JPH03218532A (en) 1990-01-24 1990-01-24 Control system for arbitrary starting program

Country Status (1)

Country Link
JP (1) JPH03218532A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000010797A (en) * 1998-06-18 2000-01-14 Nec Commun Syst Ltd Method and device for process execution management

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000010797A (en) * 1998-06-18 2000-01-14 Nec Commun Syst Ltd Method and device for process execution management

Similar Documents

Publication Publication Date Title
JP2692609B2 (en) Multitask program debugging method and apparatus
JPH0683647A (en) Data processing system including general-purpose control interface
JPH03218532A (en) Control system for arbitrary starting program
JPS62182822A (en) Automatic operation system
JPS6149209A (en) Program execution system of numerical controller
JP3524187B2 (en) Shared window operation right management system and control method therefor
JPH0328933A (en) Task control method
JPH0452491B2 (en)
JPH0769847B2 (en) Job control method during rerun
JP3260788B2 (en) Robot control device and method
JPS63108448A (en) Input/output request control system
JPS63228341A (en) Program syntax checking system
JPS6020771B2 (en) Micro diagnosis method
JPH05342052A (en) Debugging system
JPH02310733A (en) Execution control system for program in general purpose terminal system
JPH07152541A (en) Switching method for system non-interruption program
JPS63158632A (en) System program execution system in interpreter system
Evans Adventures in multiprocessing: controlling multiple windows within a single application
JPH02253336A (en) Program starting system
JPS60120437A (en) Executing device of robot language
JPS62160544A (en) Sharing/exclusive control system for data file in data base language
JPH04324521A (en) Demonstration processing system
JPS61246838A (en) Job executing method under time-division processing environment
JPH0553835A (en) Processor for applying right of user
JPH01261741A (en) Fa controller