JP2003114804A - Real time os control unit - Google Patents

Real time os control unit

Info

Publication number
JP2003114804A
JP2003114804A JP2001307987A JP2001307987A JP2003114804A JP 2003114804 A JP2003114804 A JP 2003114804A JP 2001307987 A JP2001307987 A JP 2001307987A JP 2001307987 A JP2001307987 A JP 2001307987A JP 2003114804 A JP2003114804 A JP 2003114804A
Authority
JP
Japan
Prior art keywords
control
screen
data
real
display
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
JP2001307987A
Other languages
Japanese (ja)
Inventor
Atsushi Hokuso
厚 北荘
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.)
Okuma Corp
Original Assignee
Okuma Corp
Okuma Machinery Works 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 Okuma Corp, Okuma Machinery Works Ltd filed Critical Okuma Corp
Priority to JP2001307987A priority Critical patent/JP2003114804A/en
Publication of JP2003114804A publication Critical patent/JP2003114804A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a control unit capable of giving an operator minimum information for grasping a state of an object to be controlled by starting a monitor operable on a real-time OS even when operation screen display does not work due to the occurrence of an abnormality in versatile OS processing. SOLUTION: Setting means whereby the operator can switch between an RT monitor screen and a versatile OS operation screen is provided in a control part. When the RT monitor screen is selected, communication control between the control part and an operation part is changed from versatile OS to real-time OS, and a CPU for communication control at the operation part side is also used to transfer control data for displaying on the RT monitor screen. Display data to be outputted to a screen display means is changed to the RT monitor side by the CPU at the operation part side, thereby making it possible to give an operator information necessary for grasping the state of the object to be controlled.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、汎用OSとリアル
タイムOSの2つのOSを実行する制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device that executes two OSs, a general-purpose OS and a real-time OS.

【0002】[0002]

【従来の技術】オペレーティングシステム(OS)によ
り管理される各種タスクのうち、あるものは短時間にし
かも正確な処理が要求される。例えば、数値工作機械の
機械制御装置に用いられるOSには、制御対象となる機
械の加工動作に関するタスクに厳しいリアルタイム性が
求められる。上記のような制御装置には、通常、業務用
や家庭用に用いられているパーソナルコンピュータのO
S(汎用OS)に比べ、タスクの時間管理が強化された
OS(リアルタイムOS)が使用される。
2. Description of the Related Art Among various tasks managed by an operating system (OS), some tasks require accurate processing in a short time. For example, an OS used in a machine control device of a numerical machine tool is required to have strict real-time properties for tasks related to machining operations of a machine to be controlled. The control device as described above includes an O of a personal computer normally used for business or home use.
As compared with S (general-purpose OS), an OS (real-time OS) with enhanced task time management is used.

【0003】しかしながら、上記制御装置を動作させる
OSにて管理される各種タスクの中には、リアルタイム
性を特に必要としないものもあり、例えば、数値工作機
械の場合には、加工動作の状況を画像表示するためのタ
スクや、操作パネルの制御装置と通信を行うタスクのよ
うに機械制御装置の入出力に関するタスク等は、それほ
ど正確な時間管理を必要としない。
However, among various tasks managed by the OS for operating the above control device, there are some tasks that do not require real-time processing. For example, in the case of a numerical machine tool, the status of the machining operation is determined. A task for inputting / outputting the machine control device such as a task for displaying an image or a task for communicating with the control device of the operation panel does not require so accurate time management.

【0004】このような機械制御装置の入出力に関する
タスクを直接リアルタイムOSにて処理する場合、これ
らのタスクを実行するためにリアルタイムOSに依存し
たプログラムが必要となるが、ハードウエアを交替した
り、増設する毎にプログラムをリアルタイムOS固有の
ものに変更しなければならず手間がかかるといった問題
があった。
When the tasks related to the input / output of such a machine control device are directly processed by the real-time OS, a program depending on the real-time OS is required to execute these tasks, but the hardware is replaced. However, there has been a problem that it is time-consuming to change the program to a program specific to the real-time OS each time it is added.

【0005】そこで、従来、リアルタイムOS上にて汎
用OSを動作させ、これら機械制御装置の入出力に関す
るタスクに関しては、汎用OSにて管理する方法が用い
られている。汎用OS及び汎用OS上で動作するアプリ
ケーションプログラムはグラフィックスなどのヒューマ
ンインターフェース機能に優れており、またハードウエ
アを変更、増設する場合も汎用OS用のドライバを変
更、追加すればよいのでその作業も容易である。このよ
うにすれば、汎用OSのメリットを活かしたグラフィカ
ルな操作環境とリアルタイムOSにより安定したリアル
タイム制御の両方をオペレータに提供することが出来
る。
Therefore, conventionally, a method has been used in which a general-purpose OS is operated on a real-time OS, and the tasks related to input / output of these machine control devices are managed by the general-purpose OS. The general-purpose OS and the application programs that operate on the general-purpose OS are excellent in human interface functions such as graphics. Also, when changing or adding hardware, the driver for the general-purpose OS can be changed and added, so that work is also required. It's easy. In this way, it is possible to provide the operator with both a graphical operating environment that takes advantage of the general-purpose OS and a stable real-time control by the real-time OS.

【0006】図4は従来の工作機械に用いられる数値制
御装置の一例を示すブロック図である。数値制御装置
は、制御対象3を制御する制御部1と、前記制御部1を
操作するための操作部2とを含んでなる。
FIG. 4 is a block diagram showing an example of a numerical controller used in a conventional machine tool. The numerical controller comprises a control unit 1 for controlling a controlled object 3 and an operation unit 2 for operating the control unit 1.

【0007】制御部1は、CPU11、記憶手段12、
グラフィックデータ生成手段13、制御データ入出力手
段14、データ入出力手段16とからなり、これらは互
いにローカルバス17により接続される。
The control unit 1 includes a CPU 11, a storage unit 12,
The graphic data generating means 13, the control data input / output means 14, and the data input / output means 16 are connected to each other by a local bus 17.

【0008】CPU11は、リアルタイムOS上で、リ
アルタイム処理が要求される、例えば機械の加工動作等
に関するタスクを管理する。リアルタイムOS上では、
さらに、エミュレーション用のプログラムが実行されて
おり、汎用OSが前記エミュレーションプログラムによ
って提供される仮想アーキテクチャにおいて動作する。
CPU11は、この汎用OSの下でグラフィックデータ
生成手段13による操作画面の画像データの作成や、デ
ータ入出力手段16による通信処理を管理する。
The CPU 11 manages a task, such as a machining operation of a machine, which requires real-time processing on the real-time OS. On the real-time OS,
Further, a program for emulation is executed, and the general-purpose OS operates in the virtual architecture provided by the emulation program.
Under the general-purpose OS, the CPU 11 manages the image data of the operation screen by the graphic data generating means 13 and the communication processing by the data input / output means 16.

【0009】記憶手段12は、リアルタイムOS、汎用
OS、各種アプリケーション等のプログラム及び制御デ
ータ14にて入出力される制御データ6等のデータを格
納する。
The storage means 12 stores a real-time OS, a general-purpose OS, programs such as various applications, and data such as control data 6 which is input and output by the control data 14.

【0010】グラフィックデータ生成手段13は、汎用
OSによるタスク管理の下で、記憶手段12等に記憶さ
れたデータ等に基づいて制御対象3となる工作機械の操
作画面のグラフィックデータ4を生成する。
The graphic data generation means 13 generates the graphic data 4 of the operation screen of the machine tool to be controlled 3 based on the data stored in the storage means 12 etc. under the task management by the general-purpose OS.

【0011】制御データ入出力手段14は、リアルタイ
ムOSによるタスク管理の下で制御対象3への制御指
令、センサ(図示せず)等により検知された前記制御対
象3の動作状態を表す検知信号等の制御データ6を制御
対象3との間でリアルタイムにやりとりする。
The control data input / output means 14 is a control command to the controlled object 3 under the task management by the real-time OS, a detection signal indicating the operating state of the controlled object 3 detected by a sensor (not shown), etc. The control data 6 of the above is exchanged with the controlled object 3 in real time.

【0012】データ入出力手段16は、汎用OSによる
タスク管理の下で、操作部2からオペレータが入力した
通信データ5を通信ラインにより取り込む。
The data input / output unit 16 takes in the communication data 5 input by the operator from the operation unit 2 through the communication line under the task management by the general-purpose OS.

【0013】操作部2は、表示手段21と、表示調整手
段22と、CPU23と、記憶手段24と、データ入出
力手段25と、キー入力手段26とからなる。CPU2
3と、記憶手段24と、データ入出力手段25と、キー
入力手段26とは互いにローカルバス28により接続さ
れている。
The operation unit 2 comprises a display unit 21, a display adjustment unit 22, a CPU 23, a storage unit 24, a data input / output unit 25, and a key input unit 26. CPU2
3, the storage means 24, the data input / output means 25, and the key input means 26 are connected to each other by a local bus 28.

【0014】表示手段21は、表示調整手段22からの
表示データ27を入力し、制御対象3の操作画面を表示
する。
The display means 21 inputs the display data 27 from the display adjusting means 22 and displays the operation screen of the controlled object 3.

【0015】表示調整手段22は、制御部1のグラフィ
ックデータ生成手段13により生成されたグラフィック
データ4を入力し、表示手段21に適したタイミングに
調整して、表示データ27を出力する。
The display adjusting means 22 inputs the graphic data 4 generated by the graphic data generating means 13 of the control section 1, adjusts the timing to a timing suitable for the display means 21, and outputs the display data 27.

【0016】CPU23は、キー入力手段26から入力
されたキーデータ(図中、通信データ5参照)を操作部
2側のデータ入出力手段25から制御部1側のデータ入
出力手段16へ送出するための通信制御プログラムを実
行する。
The CPU 23 sends the key data (see communication data 5 in the figure) input from the key input means 26 from the data input / output means 25 on the operation section 2 side to the data input / output means 16 on the control section 1 side. A communication control program for executing.

【0017】記憶手段24は、該CPU23が実行する
各種プログラムや各種データを格納する。
The storage means 24 stores various programs and various data executed by the CPU 23.

【0018】データ入出力手段25は、制御部1側のデ
ータ入出力手段16と通信ラインを介して通信する。
The data input / output unit 25 communicates with the data input / output unit 16 on the control unit 1 side via a communication line.

【0019】キー入力手段26は、オペレータが表示手
段21の画面操作などを行うためのキーデータを入力す
るために設けられている。
The key input means 26 is provided for the operator to input key data for operating the screen of the display means 21.

【0020】[0020]

【発明が解決しようとする課題】図4に示すような従来
の制御装置においても、安定動作という面で汎用OS
は、元来リアルタイム制御用に開発されたリアルタイム
OSと比較すると劣ることがある。そのため何らかの原
因で汎用OSの下で管理されるタスクに異常が発生する
場合があるが、このような場合でもリアルタイムOSの
下で直接管理されるリアルタイム処理は正常である場合
がある。例えば、図4の例では制御対象である工作機械
の加工動作に関する制御は正常に動作しているが、画面
表示が機能しない状態に陥るといった状況であり、この
ような場合、制御装置に発生した異常の内容や制御対象
の動作状態をオペレータが判断できないという問題があ
る。
Even in the conventional control device as shown in FIG. 4, a general-purpose OS has a stable operation.
May be inferior when compared to a real-time OS originally developed for real-time control. For this reason, an abnormality may occur in a task managed under the general-purpose OS for some reason, but even in such a case, real-time processing directly managed under the real-time OS may be normal. For example, in the example of FIG. 4, the control relating to the machining operation of the machine tool that is the control target is operating normally, but the screen display falls into a state where it does not function. In such a case, this occurs in the control device. There is a problem that the operator cannot judge the content of the abnormality and the operating state of the controlled object.

【0021】本発明は上記問題に鑑みてなされたもので
あり、本発明の目的は、制御装置に上記の様な異常が発
生した場合にも、オペレータが制御対象の状態を把握す
ることが出来る制御装置を提供することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to allow an operator to grasp the state of a controlled object even when the above-mentioned abnormality occurs in the control device. It is to provide a control device.

【0022】[0022]

【課題を解決するための手段】本発明は、制御対象を制
御する制御部と、制御対象の状態を表わす表示画面を表
示する表示手段を備えた操作部と、から構成される制御
装置であって、前記制御部は、リアルタイムOS上で汎
用OSを動作させるプロセッサと、リアルタイムOSの
タスク管理の下で制御対象の制御に用いられる制御デー
タを入出力する制御データ入出力手段と、汎用OSのタ
スク管理の下で制御データに基づいて表示手段により表
示される操作画面の画像を生成する操作画面生成手段
と、を有するリアルタイムOS制御装置であって、前記
操作画面に異常が生じた場合に制御対象を監視するため
の監視データが表示されるモニタ画面の画像を生成する
モニタ画面生成手段と、前記表示手段の表示画面を前記
操作画面と前記モニタ画面との間で切替える表示画面切
替手段と、を備えることを特徴とする。
SUMMARY OF THE INVENTION The present invention is a control device comprising a control unit for controlling a control target and an operation unit having a display unit for displaying a display screen showing the state of the control target. The control unit includes a processor that operates a general-purpose OS on the real-time OS, a control-data input / output unit that inputs / outputs control data used to control a control target under task management of the real-time OS, and a general-purpose OS. A real-time OS control device having an operation screen generation means for generating an image of the operation screen displayed by the display means based on control data under task management, and controlling when an abnormality occurs in the operation screen. Monitor screen generation means for generating an image of a monitor screen on which monitoring data for monitoring an object is displayed, and the display screen of the display means is the operation screen and the monitor. Characterized in that it comprises a display screen switching means for switching between screens.

【0023】望ましくは、前記モニタ画面生成手段は、
制御部に設けられ、リアルタイムOSのタスク管理の下
で前記制御データの少なくとも一部を前記監視データと
して前記操作部に送信する送信手段と、操作部に設けら
れ、前記監視データを受信し、当該監視データに基づい
て前記モニタ画面の画像を出力するモニタ画面出力手段
と、を備えることを特徴とする。
Preferably, the monitor screen generating means is
A transmission unit that is provided in the control unit and that transmits at least a part of the control data to the operation unit as the monitoring data under the task management of the real-time OS; and a transmission unit that is provided in the operation unit and receives the monitoring data. Monitor screen output means for outputting an image of the monitor screen based on the monitoring data.

【0024】望ましくは、前記表示画面切替手段は、制
御部に設けられ、ユーザが表示画面の切替設定を行うた
めの画面設定入力手段と、制御部に設けられ、リアルタ
イムOSのタスク管理の下で前記画面設定入力手段によ
り入力された情報に基づき、前記表示手段の表示画面を
切替えるための要求信号を前記操作部側に送信する送信
手段と、操作部に設けられ、前記操作画面の画像と、前
記モニタ画面の画像とを入力し、前記要求信号に基づい
て前記操作画面の画像、及び前記モニタ画面の画像のう
ちいずれか一方の画像を表示手段に出力する画像データ
選択手段と、を備えることを特徴とする。
Preferably, the display screen switching means is provided in the control section, and is provided in the control section and screen setting input means for the user to set the switching of the display screen under the task management of the real-time OS. Based on the information input by the screen setting input unit, a transmission unit that transmits a request signal for switching the display screen of the display unit to the operation unit side, an image of the operation screen provided in the operation unit, An image data selection unit that inputs the image of the monitor screen and outputs one of the image of the operation screen and the image of the monitor screen to a display unit based on the request signal. Is characterized by.

【0025】[0025]

【発明の実施の形態】図1は本発明の制御装置の一例を
示すブロック図である。図4の従来の制御装置と同様の
部分については説明を省略する。
FIG. 1 is a block diagram showing an example of a control device of the present invention. Description of parts similar to those of the conventional control device in FIG. 4 will be omitted.

【0026】制御部1は、ローカルバス17に接続され
た表示モード設定手段15を備える。
The control unit 1 includes a display mode setting means 15 connected to the local bus 17.

【0027】表示手段21は、操作画面と、リアルタイ
ムモニタ(以後RTモニタ画面と記す。)画面の二種類
の表示モードの画面のうちいずれかの画面を表示する。
操作画面は、グラフィックデータ生成手段13により生
成されたグラフィックデータ4に基づいた画像が表示さ
れる。RTモニタ画面には、操作画面が表示手段21上
に表示されなくなった場合に、制御データ入出力手段1
4により入出力される各種の制御データ6のうち制御対
象の動作状況や、アラーム情報等制御対象の状態を把握
するのに必要な制御データが表示される。
The display means 21 displays one of the two display mode screens, the operation screen and the real-time monitor (hereinafter referred to as RT monitor screen) screen.
An image based on the graphic data 4 generated by the graphic data generating means 13 is displayed on the operation screen. When the operation screen is no longer displayed on the display means 21 on the RT monitor screen, the control data input / output means 1
Of the various control data 6 input / output by 4, the control data necessary for grasping the operating condition of the control target and the state of the control target such as alarm information are displayed.

【0028】表示モード設定手段15は、CPU11で
動作する汎用OSの管理するタスクに異常が発生した場
合に、オペレータによって、表示手段21の表示画面を
操作画面からRTモニタ画面に切替える設定を行うため
のものである。
The display mode setting means 15 is for the operator to switch the display screen of the display means 21 from the operation screen to the RT monitor screen when an abnormality occurs in a task managed by the general-purpose OS operating on the CPU 11. belongs to.

【0029】操作部2は、ローカルバス28に接続され
た表示調整手段22Aを備える。
The operation section 2 includes a display adjusting means 22A connected to the local bus 28.

【0030】表示調整手段22Aは、CPU23により
第1動作モードと第2動作モードが切替可能に制御され
ており、第1動作モードでは、制御部1からのグラフィ
ックデータ4を入力し、表示手段21に適したタイミン
グに調整して操作画面の表示データ27を出力する。第
2動作モードでは、表示手段21へ後述するRTモニタ
画面の表示データ27を出力する。
The display adjusting means 22A is controlled by the CPU 23 so as to be switchable between the first operation mode and the second operation mode. In the first operation mode, the graphic data 4 from the control section 1 is inputted and the display means 21A. The display data 27 of the operation screen is output after being adjusted to a timing suitable for. In the second operation mode, display data 27 of an RT monitor screen, which will be described later, is output to the display means 21.

【0031】表示調整手段22Aは、図2に示すよう
に、ローカルバスインターフェイス221と、セレクタ
222と、タイミング調整回路223とからなる。
As shown in FIG. 2, the display adjusting means 22A comprises a local bus interface 221, a selector 222 and a timing adjusting circuit 223.

【0032】ローカルバスインターフェイス221は、
ローカルバス28に接続されており、CPU23の制御
の下で、RTモニタ画面の表示データであるRTモニタ
表示データ224、及び表示手段21の表示画面の切替
を行うための切替指令データをセレクタ222に出力す
る。
The local bus interface 221 is
It is connected to the local bus 28, and under the control of the CPU 23, the RT monitor display data 224 which is the display data of the RT monitor screen, and the switching command data for switching the display screen of the display means 21 are sent to the selector 222. Output.

【0033】セレクタ222は、グラフィックデータ
4、RTモニタ表示データ224、切替指令データを入
力し、グラフィックデータ4、RTモニタ表示データ2
24のいずれか一方を切替指令データに基づいて選択し
て、タイミング調整回路223に出力する。
The selector 222 inputs the graphic data 4, the RT monitor display data 224, and the switching command data, and receives the graphic data 4 and the RT monitor display data 2
Either one of 24 is selected based on the switching command data and output to the timing adjustment circuit 223.

【0034】タイミング調整回路223は、セレクタ2
22からのデータを表示データ27の出力タイミングを
表示手段21に適したタイミングに調整する。
The timing adjusting circuit 223 is provided in the selector 2
The output timing of the display data 27 from the data from 22 is adjusted to a timing suitable for the display means 21.

【0035】次に、図3のフローチャートを用いて、表
示手段21の表示画面を操作画面からRTモニタ画面へ
切り替える方法について説明する。
Next, a method of switching the display screen of the display means 21 from the operation screen to the RT monitor screen will be described with reference to the flowchart of FIG.

【0036】汎用OSに異常が発生(S1)して、表示
手段21に操作画面が表示されなくなった場合、オペレ
ータは表示モード設定手段15に設けられたスイッチ等
により表示モードをRTモニタに設定する(S2)。表
示モニタがRTモニタに設定されると、表示モード設定
手段15は、表示モードが切替えられたことを表わす信
号を出力する。CPU11は、ローカルバス17を介し
て当該信号を検出した場合、データ入出力手段16によ
る通信処理の制御を汎用OSによる管理からリアルタイ
ムOSによる直接管理に切替える(S3)。
When an abnormality occurs in the general-purpose OS (S1) and the operation screen is no longer displayed on the display means 21, the operator sets the display mode to the RT monitor by the switch provided in the display mode setting means 15. (S2). When the display monitor is set to the RT monitor, the display mode setting means 15 outputs a signal indicating that the display mode has been switched. When detecting the signal via the local bus 17, the CPU 11 switches the control of the communication processing by the data input / output unit 16 from the management by the general-purpose OS to the direct management by the real-time OS (S3).

【0037】次に、表示モードを操作画面からRTモニ
タ画面に切替える必要があることを操作部2に伝えるた
めにデータ入出力手段16は、CPU11上で動作する
リアルタイムOSのタスク管理の下で、表示モード切替
えコードを送出する(S4)。ここで、表示モード切替
コードは、制御部1側のCPU11と操作部2側のCP
U23との間で予め定められたコード(以後、所定のコ
ードと呼ぶ)の一つである。次に、データ入出力手段1
6は、リアルタイムOSのタスク管理の下で、RTモニ
タ画面に表示するための制御データ6を転送する準備と
して所定の転送要求コードをデータ入出力手段16から
送出し(S5)、操作部2からの応答を待つ(S6,S
9)。
Next, in order to inform the operation unit 2 that the display mode needs to be switched from the operation screen to the RT monitor screen, the data input / output means 16 operates under the task management of the real-time OS operating on the CPU 11. A display mode switching code is sent (S4). Here, the display mode switching code is the CPU 11 on the control unit 1 side and the CP on the operation unit 2 side.
It is one of the codes predetermined with U23 (hereinafter referred to as a predetermined code). Next, the data input / output means 1
Under the task management of the real-time OS, 6 sends out a predetermined transfer request code from the data input / output means 16 in preparation for transferring the control data 6 to be displayed on the RT monitor screen (S5), and then from the operation unit 2. Wait for the response (S6, S
9).

【0038】操作部2のCPU23は、前記表示モード
切替えコードを受取ると、表示調整手段22Aが、表示
データ27をRTモニタ画面へ切替える制御(S10)
を行い、制御部1からの前記所定の転送要求コードを待
つ(S11,S16)。
Upon receipt of the display mode switching code, the CPU 23 of the operation unit 2 controls the display adjusting means 22A to switch the display data 27 to the RT monitor screen (S10).
And waits for the predetermined transfer request code from the control unit 1 (S11, S16).

【0039】CPU23がデータ入出力手段25からの
転送要求コードをローカルバス28を介して受取った
後、転送受付けの準備が完了すると入出力手段25は、
CPU23の制御の下で所定の転送許可コードを制御部
1側に送出する(S12)。
After the CPU 23 receives the transfer request code from the data input / output unit 25 via the local bus 28 and the preparation for transfer acceptance is completed, the input / output unit 25
Under the control of the CPU 23, a predetermined transfer permission code is sent to the control unit 1 side (S12).

【0040】前記転送許可コードをデータ入出力手段2
5からローカルバス17を介してCPU11が受取る
と、リアルタイムOSのタスク管理の下で、制御データ
入出力手段14はRTモニタ画面に表示するための制御
データを制御対象3から取込み、データ入出力手段16
は該制御データを操作部2側へ転送する(S7)。デー
タ入出力手段16は、該制御データの転送が完了する
と、転送が完了したことを表わす転送完了コマンドを操
作部2側へ転送する(S8)。CPU23が制御部1側
から転送完了コマンドを受け付けるまで、データ入出力
手段25は、前記制御データの受信を続ける(S13,
S14)。制御部1と操作部2の間での制御データの転
送が完了すると、CPU23の制御により、表示調整手
段22Aは、RTモニタ画面として表示する制御データ
の値を更新する(S15)。
The transfer permission code is assigned to the data input / output means 2
When the CPU 11 receives the data from the CPU 5 through the local bus 17, the control data input / output unit 14 takes in the control data to be displayed on the RT monitor screen from the control target 3 under the task management of the real-time OS, and the data input / output unit 16
Transfers the control data to the operation unit 2 side (S7). When the transfer of the control data is completed, the data input / output unit 16 transfers a transfer completion command indicating that the transfer is completed to the operation unit 2 side (S8). The data input / output unit 25 continues to receive the control data until the CPU 23 receives the transfer completion command from the control unit 1 side (S13,
S14). When the transfer of the control data between the control unit 1 and the operation unit 2 is completed, the display adjusting means 22A updates the value of the control data displayed as the RT monitor screen under the control of the CPU 23 (S15).

【0041】このようにして汎用OSの処理に異常が生
じ操作画面が機能しない状況に陥った場合も、RTモニ
タ画面を起動し制御対象3の情報を表示することが可能
である。
In this way, even when the processing of the general-purpose OS becomes abnormal and the operation screen does not function, the RT monitor screen can be activated and the information of the controlled object 3 can be displayed.

【0042】[0042]

【発明の効果】以上のように本発明の制御装置によれ
ば、汎用OSの処理に異常が発生し画面表示が機能しな
いまま制御対象が動作し続けている状態に陥っても、操
作画面の表示モードをRTモニタ画面に切替えることに
より、制御対象の状態を把握するために最低限の情報を
表示手段に表示しオペレータに伝えることが可能とな
る。
As described above, according to the control device of the present invention, even if an abnormality occurs in the processing of the general-purpose OS and the controlled object continues to operate without the screen display functioning, the operation screen By switching the display mode to the RT monitor screen, it becomes possible to display the minimum amount of information on the display means to inform the operator in order to grasp the state of the controlled object.

【0043】またRTモニタ画面に表示する制御データ
の転送にキーデータなどの入出力手段およびその通信ラ
インを利用することで、制御部と操作部間にRTモニタ
用の専用ラインを設けることなく上記目的を達成するこ
とが出来る。
Further, by utilizing the input / output means such as key data and its communication line for the transfer of the control data displayed on the RT monitor screen, it is possible to provide a dedicated line for the RT monitor between the control section and the operation section without using a dedicated line for the RT monitor. Can achieve the purpose.

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

【図1】 本発明の実施の形態に係る制御装置のブロッ
ク図である。
FIG. 1 is a block diagram of a control device according to an embodiment of the present invention.

【図2】 本発明の実施の形態に係る制御装置の表示調
整手段の図である。
FIG. 2 is a diagram of a display adjusting means of the control device according to the exemplary embodiment of the present invention.

【図3】 本発明の実施の形態に係る制御装置による表
示切替え処理の一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of a display switching process performed by the control device according to the embodiment of the present invention.

【図4】 従来の制御装置を示すブロック図である。FIG. 4 is a block diagram showing a conventional control device.

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

1 制御部、11 CPU、12 記憶手段、13 グ
ラフィックデータ生成手段、14 制御データ入出力手
段、15 表示モード設定手段、16 データ入出力手
段、17 ローカルバス、2 操作部、21 表示手
段、22,22A表示調整手段、221 ローカルバス
インターフェース、222 セレクタ、223 タイミ
ング調整回路、224 RTモニタ表示データ、23
CPU、24 記憶手段、25 データ入出力手段、2
6 キー入力手段、27 タイミング調整後の表示デー
タ、28 ローカルバス、3 制御対象、4 グラフィ
ックデータ、5 通信データ、6 制御データ。
DESCRIPTION OF SYMBOLS 1 control part, 11 CPU, 12 storage means, 13 graphic data generation means, 14 control data input / output means, 15 display mode setting means, 16 data input / output means, 17 local bus, 2 operation parts, 21 display means, 22, 22A display adjusting means, 221 local bus interface, 222 selector, 223 timing adjusting circuit, 224 RT monitor display data, 23
CPU, 24 storage means, 25 data input / output means, 2
6 key input means, 27 display data after timing adjustment, 28 local bus, 3 controlled objects, 4 graphic data, 5 communication data, 6 control data.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 制御対象を制御する制御部と、制御対象
の状態を表わす表示画面を表示する表示手段を備えた操
作部と、から構成される制御装置であって、 前記制御部は、 リアルタイムOS上で汎用OSを動作させるプロセッサ
と、 リアルタイムOSのタスク管理の下で制御対象の制御に
用いられる制御データを入出力する制御データ入出力手
段と、 汎用OSのタスク管理の下で制御データに基づいて表示
手段により表示される操作画面の画像を生成する操作画
面生成手段と、 を有するリアルタイムOS制御装置であって、 前記操作画面に異常が生じた場合に制御対象を監視する
ための監視データが表示されるモニタ画面の画像を生成
するモニタ画面生成手段と、 前記表示手段の表示画面を前記操作画面と前記モニタ画
面との間で切替える表示画面切替手段と、 を備えることを特徴とするリアルタイムOS制御装置。
1. A control device comprising: a control unit for controlling a control target; and an operation unit having a display unit for displaying a display screen showing the state of the control target, wherein the control unit is real-time. A processor for operating a general-purpose OS on the OS, a control-data input / output unit for inputting / outputting control data used for controlling a control target under task management of the real-time OS, and a control data under control of general-purpose OS A real-time OS control device comprising: an operation screen generation means for generating an image of the operation screen displayed by the display means based on the monitoring data, and monitoring data for monitoring a control target when an abnormality occurs in the operation screen. And a monitor screen generation means for generating an image of a monitor screen on which is displayed, and a display screen of the display means is switched between the operation screen and the monitor screen. Real-time OS control apparatus characterized by comprising a display screen switching unit.
【請求項2】 請求項1に記載のリアルタイムOS制御
装置であって、 前記モニタ画面生成手段は、 制御部に設けられ、リアルタイムOSのタスク管理の下
で前記制御データの少なくとも一部を前記監視データと
して前記操作部に送信する送信手段と、 操作部に設けられ、前記監視データを受信し、当該監視
データに基づいて前記モニタ画面の画像を出力するモニ
タ画面出力手段と、 を備えることを特徴とするリアルタイムOS制御装置。
2. The real-time OS control device according to claim 1, wherein the monitor screen generation unit is provided in a control unit, and monitors at least a part of the control data under task management of the real-time OS. Transmission means for transmitting data to the operation section, and monitor screen output means provided in the operation section for receiving the monitor data and outputting an image of the monitor screen based on the monitor data. Real-time OS controller.
【請求項3】 請求項1、又は請求項2のいずれかに記
載のリアルタイムOS制御装置であって、 前記表示画面切替手段は、 制御部に設けられ、ユーザが表示画面の切替設定を行う
ための画面設定入力手段と、 制御部に設けられ、リアルタイムOSのタスク管理の下
で前記画面設定入力手段により入力された情報に基づ
き、前記表示手段の表示画面を切替えるための要求信号
を前記操作部側に送信する送信手段と、 操作部に設けられ、前記操作画面の画像と、前記モニタ
画面の画像とを入力し、前記要求信号に基づいて前記操
作画面の画像、及び前記モニタ画面の画像のうちいずれ
か一方の画像を表示手段に出力する画像データ選択手段
と、 を備えることを特徴とするリアルタイムOS制御装置。
3. The real-time OS control device according to claim 1, wherein the display screen switching unit is provided in a control unit, and a user performs a display screen switching setting. The screen setting input means and the control section are provided with a request signal for switching the display screen of the display section based on the information input by the screen setting input section under the task management of the real-time OS. A transmitting means for transmitting to the side, an operation screen image provided on the operation unit, and the monitor screen image are input, and the operation screen image and the monitor screen image are displayed based on the request signal. A real-time OS control apparatus comprising: an image data selection unit that outputs one of the images to a display unit.
JP2001307987A 2001-10-03 2001-10-03 Real time os control unit Pending JP2003114804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001307987A JP2003114804A (en) 2001-10-03 2001-10-03 Real time os control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001307987A JP2003114804A (en) 2001-10-03 2001-10-03 Real time os control unit

Publications (1)

Publication Number Publication Date
JP2003114804A true JP2003114804A (en) 2003-04-18

Family

ID=19127359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001307987A Pending JP2003114804A (en) 2001-10-03 2001-10-03 Real time os control unit

Country Status (1)

Country Link
JP (1) JP2003114804A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016152064A1 (en) * 2015-03-25 2016-09-29 株式会社デンソー In-vehicle system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016152064A1 (en) * 2015-03-25 2016-09-29 株式会社デンソー In-vehicle system
JP2016179801A (en) * 2015-03-25 2016-10-13 株式会社デンソー On-board system
TWI613104B (en) * 2015-03-25 2018-02-01 Denso Corp Vehicle system
US10569726B2 (en) 2015-03-25 2020-02-25 Denso Corporation In-vehicle system

Similar Documents

Publication Publication Date Title
US7886025B2 (en) Information processing unit, system, remote control method, and storage medium
JP2003114804A (en) Real time os control unit
JPH04317101A (en) Input/output control system of numerical controller
JP2003036103A (en) Process control system
JP3831132B2 (en) Plant monitoring system
JPH05334272A (en) Monitoring and operating method for plural electronic computers
JP3669014B2 (en) Display device
JPH02213953A (en) Error monitor device
JP2002229807A (en) Response control device and computer program
JPH02109101A (en) Monitoring device
JPH10269104A (en) Parallel system testing method
JPH05113873A (en) Console control system
JP2001042930A (en) Plant control system and communication destination switching method of auxiliary operation console panel
JPH10105211A (en) Method for processing data received by programmable display device with control function according to kind of the same data
JPH10105226A (en) Programmable display device
JPS63273943A (en) Multiple system controller
JPH11212935A (en) Object program monitoring method for parallel computer
JPS62211762A (en) Shared device control system
JPH0253106A (en) Numerical controller containing screen monitor transformed into network
JPH10187481A (en) Emulation device for microcomputer
JPH0744094A (en) Programmable controller
JP2000112507A (en) Monitor device
JPH02198990A (en) Controller for elevator
JPH09247874A (en) Electric power system monitor/controller
JPH04351149A (en) Data communication control system for electronic exchange system