JP2004287146A - Display device - Google Patents
Display device Download PDFInfo
- Publication number
- JP2004287146A JP2004287146A JP2003079650A JP2003079650A JP2004287146A JP 2004287146 A JP2004287146 A JP 2004287146A JP 2003079650 A JP2003079650 A JP 2003079650A JP 2003079650 A JP2003079650 A JP 2003079650A JP 2004287146 A JP2004287146 A JP 2004287146A
- Authority
- JP
- Japan
- Prior art keywords
- display
- interrupt
- communication
- data
- external devices
- 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.)
- Granted
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
この発明は、プログラマブルコントローラなどの外部装置から受信したデータや該外部装置の状況などを表示する表示装置に関するものである。
【0002】
【従来の技術】
生産ラインに設置されたロボット、数値制御装置や工作機械などは、プログラマブルコントローラによって自動制御が行われている。それら制御される装置の稼動状況を表示するために、CRTや液晶ディスプレイなどを有する表示装置が従来から用いられている。
【0003】
従来の一般的な表示装置において、複数の外部装置と通信を行う場合、複数の外部装置を接続する為のI/Fを表示装置は1つしか具備しておらず、複数の外部装置を1系統の通信経路に集約して表示装置に接続する必要がある(例えば、特許文献1)。
【0004】
【特許文献1】
特開平11−296444号公報(図1)
【0005】
【発明が解決しようとする課題】
上述の従来例のような場合、複数の外部装置と表示装置とが共通の通信プロトコルを具備していなければ、表示装置と外部装置の間にプロトコル変換を行う変換装置を別途配置する必要があった。
【0006】
また、複数の外部装置が共通の通信プロトコルを具備していても、先に挙げた特許文献1に示されるように、プロトコル変換手段等を含む部分の通信経路が1系統となるため、複数の外部装置が同時に通信を行った場合、通信データの増大により通信速度が遅くなるという問題点がある。
【0007】
また、プロトコル変換手段が1つである為、その部分の通信経路が物理的に断線した場合やノイズの影響により信号を正常に受信できない場合には、表示装置は、通信対象である全ての外部装置のデータを正常に表示することができなくなる、という問題点がある。
【0008】
この発明は、上述の問題点を解決するためになされたもので、プロトコルの種類に拘らず、複数の外部装置との効率的なデータ通信及び表示を行う表示装置を得るものである。
【0009】
【課題を解決するための手段】
この発明に係る表示装置は、複数の外部装置から出力されたデバイス情報データを受信するとともにこのデバイス情報データの受信に基づき割込み信号を出力する割込み処理手段と、前記複数の外部装置にそれぞれ対応する通信プロトコルを有するとともに、前記割込み処理手段からの割込み信号の受信に応じて前記複数の外部装置から出力されたデバイス情報データを受信し通信統括処理手段へ出力する複数のデータ受信手段と、予め設定された表示設定データを前記通信統括処理手段へ出力する表示処理手段、とを備え、前記デバイス情報データ及び前記表示設定データとに基づき表示を行うものである。
【0010】
また、この割込み処理手段は、複数の外部装置からの出力に対応する割込み信号に対し予め設定された優先順位を付すとともに、各々の割込み信号の前記優先順位と前記割込み信号を受信した受信時刻とに基づき、データ受信手段への割込み信号の送信順序を決めるものである。
【0011】
【発明の実施の形態】
実施の形態1.
この発明の第一の実施の形態による表示装置を、図を用いて説明する。
図1はこの発明の実施の形態による表示装置の構成の一例を示すブロック図である。図において、1及び3は外部装置で、ここではプログラマブルコントローラ(以下適宜、「PC」と記す)である。2及び4はそれぞれPC1,3中に設けられデータを記憶するためのRAMである。5はCRT、6は不揮発性メモリで例えばフラッシュメモリである。9はパソコン26とデータ送受信を行うパソコンインターフェイス(以下適宜、「パソコンI/F」と記す)、10及び12はそれぞれPC1,3とデータ送受信を行うPCインターフェイス(以下適宜、「PCI/F」と記す)である。11は表示装置25のRAMで、ここに表示装置25がPCI/F10または12とのデータを受け渡しするためのデータ領域,デバイス種別領域,デバイス番号領域がある。20はシステムプログラムが記憶されたROMである。25は表示装置、26は表示装置25で表示する表示設定を含む画面データの作成等を行うパソコン、27は作成された画面データを記憶するパソコン26中の補助記憶装置である。CPU28はROM20に記憶されるシステムプログラムを実行し、必要に応じてフラッシュメモリ6に記憶された表示設定のデータを含む画面データを読み出し、CRT5に所定の表示内容を表示する。
【0012】
PCI/F10には、PC1との通信経路を指定するためのチャンネル番号21が割り付けられる。同様に、PCI/F12には、PC3との通信経路を指定するためのチャンネル番号22が割り付けられる。このチャンネル番号毎にPC外部装置と通信を行うための通信プロトコルを指定することにより、CPU28は、チャンネル番号21,22で指定された通信経路と通信プロトコルで外部装置1,3との通信を行う。通信プロトコルの指定は、フラッシュメモリ6の通信プロトコル領域(図示せず)で記憶する。
【0013】
図2は外部装置から受信した表示設定を記憶するためのフラッシュメモリ6に記憶された表示設定の設定例を示している。m1は複数存在する設定内容を区別するための管理番号である。m7は外部装置と通信を行うための通信経路を指定するための通信チャンネル指定である。m2−1はデバイスの種別を区別するための管理番号である。m2−2はデバイスの番号を区別するための管理番号である。m3はCRT5に表示する数値や図形の表示属性などを決定するための値を指定する範囲指定である。m4−1はm2−1とm2−2で指定されたデバイスのデバイス情報データがm3で示す範囲内である場合にCRT5に表示する数値や図形の表示色を指定するための表示色指定である。m4−2はm2−1とm2−2で指定されたデバイスのデバイス情報データがm3で示す範囲外である場合にCRT5に表示する数値や図形の表示色を指定するための表示色指定である。m5はCRT5に表示する図形を指定するための図形指定である。m6はm2−1〜m5で指定された内容に従って数値や図形をCRT5のどの位置に表示するかを指定するための表示位置指定である。
【0014】
使用者が作成した表示設定M1は、設定番号m1とチャンネル番号m7、デバイス種別m2−1、デバイス番号m2−2、値の範囲m3、範囲内表示色m4−1、範囲外表示色m4−2、表示図形m5、及び表示位置m6を記憶する領域を含み、表示設定は使用者が作成した数存在する。チャンネル番号m7は数値で表現され、例えば、「1」のときは1ch、「2」のときは2chを示す。デバイス種別m2−1は数値で表現され、例えば、「0」のときはビットデバイス、「1」のときはワードデバイスを示す。デバイス番号m2−2は数値で表現される。例えば、デバイス種別m2−1が「0」でデバイス番号m2−2が「2」のときはビットデバイス2を示す。値の範囲m3は、2つの数値からなり、それぞれ上限値m3−1、下限値m3−2を示す。範囲内表示色m4−1及び範囲外表示色m4−2は数値で表現され、例えば、「1」のときは赤、「2」のときは青、「3」のときは白などである。表示図形m5は数値で表現され、例えば、「1」のときは円、「2」のときは正方形、「3」のときは数値を表示することを示す。
【0015】
図3は、複数の異なるプロトコルを具備する外部装置との送受信をする場合の、表示装置25のモジュール構成図である。S61は、複数の外部装置へ通信要求を出すためのモジュールであり、フラッシュメモリ6に記憶された表示設定をもとに、表示設定内で指定されたPC1または3に対応した通信プロトコルで送信することを要求する要求モジュールである。
【0016】
要求モジュールS61は、表示装置25に接続されたPC1または3に対し、異なる通信プロトコルを用意していて、各異なるPC1または3に通信の要求を出すモジュールである。例えば、表示設定が図2の設定番号m1が「1」の設定であるときには、チャンネル番号m7は1chを示す「1」,デバイス種別m2−1はビットデバイスを示す「0」,デバイス番号m2−2は「1」であるから、要求モジュールS61aは、チャンネル番号1chに接続されたPC1のビットデバイス1の値を、チャンネル番号1chに接続されたPC1に対応した通信プロトコルで表示装置25へ送信することを要求する。この例の場合、要求モジュールS61aで、RAM11のチャンネル番号領域に1chを示す「1」を、デバイス種別領域にビットデバイスを示す「0」を、デバイス番号領域に「1」を記憶し、PCI/F10を介しRAM11のチャンネル番号領域とデバイス種別領域とデバイス番号領域に記憶されたデバイス、すなわち、チャンネル番号1に接続されたPC1のビットデバイス1の値を、チャンネル番号1に接続されたPC1に対応した通信プロトコルで送信するように要求する。
【0017】
S62は、表示装置25に接続されたPC毎に異なる通信プロトコルを用意していて、S61が要求した内容に対して、各異なるPC1または3から受信を行うモジュールであり、S61でフラッシュメモリ6に記憶された表示設定から、設定されたチャンネル番号に接続されたPCへ要求したデバイスのデバイス情報データを、対応したPCI/Fを介して該PCに対応した通信プロトコルで受信する、受信モジュールである。
受信モジュールS62は、表示装置25に接続された異なる通信プロトコルを具備している。受信モジュールS62では、PCI/Fを介しPCから該PCに対応した通信プロトコルで受信した値をRAM11のデータ領域に記憶する。
【0018】
S63は、受信したデータと表示設定とを参照し、表示する内容を決定するモジュールであり、受信したデバイス、例えば、RAM11のチャンネル番号領域に「1」、デバイス種別領域に「0」、デバイス番号領域に「1」が記憶されているならば、チャンネル番号1chに接続されたPC1のビットデバイス1(チャンネル番号m7が「1」、デバイス種別m2−1が「0」、デバイス番号m2−2が「1」)に関連した表示設定をフラッシュメモリ6から検索する、検索モジュールである。表示設定が図2のように設定されているとき、設定番号m1が「1」の表示設定が、チャンネル番号m7が「1」、デバイス種別m2−1が「0」、デバイス番号m2−2が「1」であり、これに該当する。
【0019】
S64は、実際にCRT5に図形や文字などを表示するモジュールであり、S63で検索された表示設定と、RAM11のデータ領域に記憶されているデバイスのデバイス情報データによって、CRT5に表示設定で指定された表示を行う、表示モジュールである。表示設定が図2のように設定されているとき、例えば、S63で設定番号m1が「1」の表示設定が検索され、設定番号m1が「1」の表示設定の上限値m3−1は「0」、下限値m3−2は「0」であるから、RAM11のデータ領域に「0」が記憶されていると、デバイスのデバイス情報データが上限値m3−1と下限値m3−2の範囲内なので、範囲内表示色m4−1の値「1」が示す赤で、表示図形m5の値「1」が示す円を、表示位置m6が示すCRT5上で「10」の表示位置に表示する。また、RAM11のデータ領域に「1」が記憶されていると、範囲外表示色m4−2の値「2」が示す青で表示する。
【0020】
このようにして、使用者はCRT5で、例えば、赤い円が表示されているか、青い円が表示されているかを見ることによって、異なる通信プロトコルを具備するPC1または3に接続された被制御機器の運転状況を知ることができる。
【0021】
モジュールS61から64が繰り返し実行され、実行されるたびに、先ず、モジュールS61で、PC1または3に対し、それぞれ対応するプロトコルで表示装置25へ送信することを要求することによって、例えば、設定番号m1が「1」の表示設定に設定されたチャネル番号に接続されたPC1のデバイスに対応した通信プロトコルで要求し、次に設定番号m1が「2」の表示設定に設定されたチャネル番号に接続されたPC3のデバイスに対応した通信プロトコルで要求することによって、異なる通信プロトコルを具備するPC1または3が制御するロボット、数値制御装置や工作機械のデータの変化は、表示装置25で次々と受信され、それに対応した表示設定の指示どおりにCRT5の表示が更新される。
【0022】
図1において、CPU28は、複数の通信処理コントローラからの割込み信号を受けてから、それぞれに対応するデータ受信手段としての通信タスク(後述の図4の32aまたは32b)に対して割込み信号を送る。そのとき、割込み処理手段としての割込みタスク(図4の34)は割込み信号の入った順序をRAM11に持ち、このRAM11に記憶された順序に従って1個づつ順番に割込み信号を通信タスクに送る。
【0023】
図4は、複数の外部装置とデータ送受信するときのタスク構成図である。図において、表示タスク30は、図1に示すフラッシュメモリ6にある表示設定M1のチャンネル番号m7,デバイス種別m2−1,デバイス番号m2−2等の、いわゆる表示設定データを、通信統括処理手段としての通信統括処理タスク31に渡し、要求したデバイスのデバイス情報データの通知を待ちながら表示処理を行っている。通信統括処理タスク31は、表示タスク30から受け取ったデバイス情報データを、チャンネル番号m7から要求モジュールS61aまたはS61bへ送る。以下ここでは要求モジュールとして要求モジュールS61aの系統が機能する場合について主な説明を行う。
要求モジュールS61aは、受け取った表示設定データを元に、対応するPC1の通信処理コントローラ36用の通信プロトコルでデータを送信する。ここで、通信処理コントローラ36,37は、それぞれPC1,3が具備し、表示装置25などの外部とのデータ通信を行うモジュールである。通信処理コントローラ36は、要求モジュールS61aから受信したデータを受け、指定のデバイスのデバイス情報データを割込みタスク34へ送る。
【0024】
割込みタスク34は、通信処理コントローラ36からの割込み信号を受信するタスクであり、この割込み信号に基づきRAM11に受信内容と受信時刻とを記憶する。そして、一定時間ごとに、記憶した割込み順序情報35と優先順位情報33とに基づき、受信モジュールS62a及びS62bに割込み信号を送る(詳細は後述)。受信モジュールS62a及びS62bは、割込み信号を受信したら、通信統括処理タスク31へ受信したデバイス情報データを送る。
【0025】
通信統括処理タスク31は、通信要求のあった表示タスク30に応答データを返す。ここで、通信タスク32a及び32bは、それぞれ、要求モジュールS61aまたはS61bと受信モジュールS62aまたはS62bを内部に具備し、各通信処理コントローラと表示装置25との間でのデータ通信を行うタスクである。通信タスク32aは通信処理コントローラ36との通信処理を担い、通信タスク32bは通信処理コントローラ37との通信処理を担う。このようにして表示装置25は通信処理コントローラ毎に対応した通信タスクを具備することにより、通信対象の外部装置が増えることによる通信処理能力の低下を防ぐことが可能となる。
【0026】
図5は、通信処理コントローラ36或いは37より応答があり、割込みタスク34から割込み信号を受信してから後の処理の流れである。通信処理コントローラ36用受信モジュールS62aは、割込み信号を受信したら通信統括処理タスク31へ受信データを送る(ステップS20)。通信統括処理タスク31は、通信要求を出した表示タスク30へ通信処理コントローラ1からの受信データを送る(ステップS21)。
【0027】
このように、この実施の形態のものは、受信モジュール(S62a,S62b)が、複数の通信処理コントローラ毎に個別対応する個数だけあるので、それぞれ対応する通信処理コントローラからだけの返信に対応すればよいものとなる。
【0028】
割込みタスク34は、通信処理コントローラ36,37からの割込み信号を検知するモジュールと、一定期ごとに通信処理コントローラ36または37から受信した割込み信号を受信モジュールS62aまたはS62bへ送信するモジュールとに分かれている。それぞれのモジュールで割込み順序情報へアクセスするため、排他制御フラグを使用し排他処理を行う。
【0029】
図6は、割込みタスク34からの割込み信号を受信するモジュールについての処理の流れである。割込みタスク34は、各通信処理コントローラより割込みを受信すると(ステップS30)、割込み情報を割込み順序情報35に書き込むために排他制御フラグをONする(ステップS31)。次に、受信した割込みの内容と受信したときの時刻(外部クロックまたは内部クロック)を記録する(ステップS32)。記録したら、排他制御フラグをOFFする(ステップS33)。
【0030】
図7は、割込みタスクの割込みを送信するモジュールについての流れである。システム周期等で一定時間で起動する。まず、割込み情報をチェックするために排他制御フラグをONする(ステップS40)。次に、割込み順序情報35に記憶されている割込み内容の中から優先順位の高い内容に関して「受信時刻」を繰り上げる(ステップS41)。そして、その時点で「受信時刻」が一番早い設定となったものを各受信モジュールへ割込みを送信する(ステップS42)。送信後、その割込み情報をクリアする(ステップS43)。最後に排他制御フラグを開放する(ステップS44)。
【0031】
表示装置25にPCI/Fを4つ具備し、それぞれに異なるプロトコルを具備する外部装置を接続した場合において、各PCI/F上の通信処理コントローラに割込みが同時に入ったときの処理例を、図8及び図9を用いて説明する。
符号80乃至87で表される各状態を示す情報は割込み順序情報35の内容を経過時刻と共に示し、ステップS80乃至S87は、80乃至87の情報に対応する割込み送信処理の内容を示す。また、ステップS80乃至S87の各処理は、例えばステップS80は符号80の情報に対応するというように80乃至87の情報に対してそれぞれ1対1で対応している。
【0032】
優先順位が高い順に、通信処理コントローラA,B,C,Dとし、同時に割込みが発生した場合、指定された優先順位の通りに処理されるように、実際に割込みの入った時刻を繰上げるための時間をそれぞれ「4」,「2」,「1」,「0」とする。各通信処理コントローラから割込みサイクルとしてそれぞれ「10」,「15」,「20」,「20」の間隔で定期的に入ると仮定する。また、割込みチェックは、周期時間「5」で行うとする。上述の各カギカッコ内の数値は、例えばm秒のような時間の単位の数値である。
【0033】
時刻が「10」経った時点で、通信処理コントローラAからの割込みが入ったとする(80)。この時点では割込みが1つのみなのでこの割込みを受信モジュールに送信し、要求元に送信し終わったので割込み情報80をクリアする(ステップS80)。時刻が「15」経った時点で(81)、通信処理コントローラBからの割込みが入るとする。この時も割込みが1つのみなのでこの割込みを受信モジュールに送信し、要求元に送信し終わったので割込み情報80をクリアする(ステップS81)。
【0034】
時刻が「20」経った時点で(82)、通信処理コントローラA,C,Dから割込みが入ったとする。割込みが複数あるため、優先順位に従い、それぞれの各割込みの入った時刻「20」(情報82の状態)から実際に割込みの入った時刻を繰上げるために「4」,「1」,「0」の時間を引く(ステップS82)。その結果、繰り上げた時刻が一番大きい通信処理コントローラAの割込みがもっとも前に発生したと認識されることになり、この割込みを受信モジュールに送信し、この割込みデータのみをクリアする(ステップS83)。このように、高速な通信形態の優先順位を高くしておくと、他の通信よりも優先され、優先順位を高くした通信コントローラに対する表示更新速度の性能を保持できる。
【0035】
時刻が「25」経った時点で(84)、「20」経ったときに発生していた通信処理コントローラC,Dからの割込みが残っている。このデータから優先順位に従い時刻をそれぞれ「1」,「0」繰り上げる(ステップS84)。その結果、通信処理コントローラCの割込みがもっとも前に発生したということになり、この割込みを受信モジュールに送信し、この割込みデータのみをクリアする(ステップS85)。このように、同時に発生した割込みに関しては、優先順位の高い通信形態が優先的に動作可能となる。
【0036】
時刻が「30」経った時点で(86)、通信処理コントローラA,B,Dの割込みが入っている。優先順位に従い、それぞれ時刻から「4」,「2」,「0」を引く(ステップS86)。その結果、通信処理コントローラDの割込みがもっとも前に発生したと認識されることになり、この通信処理コントローラDの割込みを受信モジュールに送信し、この割込みデータのみをクリアする(ステップS87)。このように、優先順位の低い割込み信号であっても受信時刻が割込みチェック周期時間毎に減算される為、たとえ後から優先順位が高い割込みが発生しても、優先順位の低い割込みを処理することが可能である。
【0037】
【発明の効果】
この発明は以上に述べたとおり、割込み処理手段と複数のデータ受信手段との機能により、複数の外部装置からのデバイス情報データの受信後の処理が効率よく行えるようになる、という効果を奏する。
【0038】
また、複数の外部装置に対応する割込み信号に対して優先順位を付加し、その割込み信号の優先順位と受信時刻とを管理することにより、優先順位の高い外部装置との通信を、より優先的に行うことができるため、全ての外部装置のデータをリアルタイムに更新することが不可能な場合においても、重要で優先度の高い外部装置のデータ処理について、通信遅れが発生することを防止できるという効果を奏する。
【図面の簡単な説明】
【図1】この発明の第一の実施の形態による表示装置及びその表示装置と接続される機器を示すブロック図。
【図2】この発明の第一の実施の形態による表示設定の設定例を示す図。
【図3】この発明の第一の実施の形態によるモジュール構成図。
【図4】この発明の第一の実施の形態による表示装置内部のタスク構成図。
【図5】この発明の第一の実施の形態による受信待ちのフロー図。
【図6】この発明の第一の実施の形態による割込み受信処理のフロー図。
【図7】この発明の第一の実施の形態による割込み送信処理のフロー図。
【図8】この発明の第一の実施の形態による外部装置の優先順位を示す図。
【図9】この発明の第一の実施の形態による割込み送信処理を時系列に示す図。
【符号の説明】
1,3 プログラマブルコントローラ
30 表示タスク
31 通信統括処理タスク
32a,32b 通信タスク
34 割込みタスク[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a display device that displays data received from an external device such as a programmable controller, the status of the external device, and the like.
[0002]
[Prior art]
Robots, numerical control devices, machine tools, and the like installed on a production line are automatically controlled by a programmable controller. A display device having a CRT, a liquid crystal display, or the like has been conventionally used to display the operation status of the controlled device.
[0003]
In a conventional general display device, when communicating with a plurality of external devices, the display device has only one I / F for connecting the plurality of external devices, and a plurality of external devices are connected to one. It is necessary to collectively connect to a communication path of a system and connect to a display device (for example, Patent Document 1).
[0004]
[Patent Document 1]
JP-A-11-296444 (FIG. 1)
[0005]
[Problems to be solved by the invention]
In the case of the conventional example described above, if a plurality of external devices and the display device do not have a common communication protocol, it is necessary to separately arrange a conversion device for performing protocol conversion between the display device and the external device. Was.
[0006]
Further, even if a plurality of external devices have a common communication protocol, as shown in
[0007]
In addition, since there is only one protocol conversion means, if the communication path of that part is physically disconnected or if the signal cannot be received normally due to the influence of noise, the display device is connected to all external communication targets. There is a problem that data of the device cannot be displayed normally.
[0008]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a display device that performs efficient data communication and display with a plurality of external devices regardless of the type of protocol.
[0009]
[Means for Solving the Problems]
A display device according to the present invention corresponds to an interrupt processing unit that receives device information data output from a plurality of external devices and outputs an interrupt signal based on the reception of the device information data, and each of the plurality of external devices. A plurality of data receiving means having a communication protocol, receiving device information data output from the plurality of external devices in response to receiving an interrupt signal from the interrupt processing means, and outputting the received device information data to the communication general processing means; And display processing means for outputting the display setting data to the communication general processing means, and performing display based on the device information data and the display setting data.
[0010]
Further, the interrupt processing means assigns a preset priority to the interrupt signals corresponding to the outputs from the plurality of external devices, and sets the priority of each interrupt signal and the reception time at which the interrupt signal was received. The transmission order of the interrupt signal to the data receiving means is determined based on the
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
A display device according to a first embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating an example of a configuration of a display device according to an embodiment of the present invention. In the figure,
[0012]
A
[0013]
FIG. 2 shows a display setting example stored in the
[0014]
The display setting M1 created by the user includes a setting number m1, a channel number m7, a device type m2-1, a device number m2-2, a value range m3, a display color m4-1 in the range, and a display color m4-2 out of the range. , A display graphic m5, and a display position m6, and the number of display settings exists by the user. The channel number m7 is represented by a numerical value. For example, “1” indicates 1ch, and “2” indicates 2ch. The device type m2-1 is represented by a numerical value. For example, "0" indicates a bit device, and "1" indicates a word device. The device number m2-2 is represented by a numerical value. For example, when the device type m2-1 is "0" and the device number m2-2 is "2", it indicates the
[0015]
FIG. 3 is a module configuration diagram of the
[0016]
The request module S61 is a module that prepares a different communication protocol for the
[0017]
S62 is a module that prepares a different communication protocol for each PC connected to the
The receiving module S62 has a different communication protocol connected to the
[0018]
S63 is a module that determines the content to be displayed by referring to the received data and the display setting. The received device, for example, “1” in the channel number area of the RAM 11, “0” in the device type area, and the device number If “1” is stored in the area, the
[0019]
S64 is a module for actually displaying figures, characters, and the like on the
[0020]
In this way, the user sees, for example, whether a red circle or a blue circle is displayed on the
[0021]
Each time the modules S61 to S64 are repeatedly executed, each time the module S61 is executed, the module S61 requests the
[0022]
In FIG. 1, after receiving interrupt signals from a plurality of communication processing controllers, the
[0023]
FIG. 4 is a task configuration diagram when transmitting and receiving data to and from a plurality of external devices. In the figure, a
The request module S61a transmits data using the communication protocol for the
[0024]
The interrupt
[0025]
The communication overall processing task 31 returns response data to the
[0026]
FIG. 5 shows a flow of processing after receiving a response from the
[0027]
As described above, in this embodiment, since the number of the receiving modules (S62a, S62b) corresponds to each of the plurality of communication processing controllers, the number of the reception modules (S62a, S62b) corresponds to each of the plurality of communication processing controllers. It will be good.
[0028]
The interrupt
[0029]
FIG. 6 shows the flow of processing for a module that receives an interrupt signal from the interrupt
[0030]
FIG. 7 shows the flow of the module that transmits the interrupt of the interrupt task. Starts up at a fixed time in a system cycle or the like. First, an exclusive control flag is turned on to check interrupt information (step S40). Next, the “reception time” is advanced with respect to the content of the higher priority from the interrupt content stored in the interrupt order information 35 (step S41). Then, an interrupt is transmitted to each receiving module at the time when the “receiving time” is set to be the earliest (step S42). After transmission, the interrupt information is cleared (step S43). Finally, the exclusive control flag is released (step S44).
[0031]
FIG. 8 is a diagram showing an example of processing when an interrupt is simultaneously input to a communication processing controller on each PCI / F in a case where four PCI / Fs are provided on the
Information indicating each state represented by
[0032]
The communication processing controllers A, B, C, and D are set in descending order of priority, and when an interrupt occurs simultaneously, the time at which the interrupt actually occurred is advanced so that the processing is performed according to the specified priority. Are "4", "2", "1", and "0", respectively. It is assumed that each communication processing controller periodically enters as an interrupt cycle at intervals of "10", "15", "20", and "20". Also, it is assumed that the interrupt check is performed at a cycle time “5”. The numerical values in the brackets described above are numerical values in units of time such as m seconds.
[0033]
It is assumed that an interrupt is received from the communication processing controller A when the time has passed "10" (80). At this point, since there is only one interrupt, this interrupt is transmitted to the receiving module, and since the transmission to the request source has been completed, the interrupt
[0034]
It is assumed that an interrupt is received from the communication processing controllers A, C, and D when the time has passed "20" (82). Since there are a plurality of interrupts, "4", "1", and "0" are used in order to advance the time at which each interrupt actually occurred from the time "20" (the state of the information 82) at which each interrupt occurred according to the priority order. Is subtracted (step S82). As a result, it is recognized that the interrupt of the communication processing controller A with the largest advance time has occurred first, and this interrupt is transmitted to the receiving module, and only this interrupt data is cleared (step S83). . As described above, if the priority of the high-speed communication mode is set higher, it is given priority over other communication, and the performance of the display update speed for the communication controller with the higher priority can be maintained.
[0035]
At the time when the time has passed "25" (84), the interruption from the communication processing controllers C and D which has occurred when the time has passed "20" remains. From this data, the time is advanced by "1" and "0" in accordance with the priority order (step S84). As a result, the interruption of the communication processing controller C has occurred first, and this interruption is transmitted to the receiving module, and only this interruption data is cleared (step S85). In this way, with respect to interrupts that occur at the same time, a communication mode with a higher priority can operate with priority.
[0036]
When the time has passed "30" (86), the interrupts of the communication processing controllers A, B, and D are present. According to the priorities, "4", "2", and "0" are subtracted from the times, respectively (step S86). As a result, it is recognized that the interruption of the communication processing controller D occurred first, and the interruption of the communication processing controller D is transmitted to the receiving module, and only this interruption data is cleared (step S87). As described above, even if an interrupt signal has a low priority, the reception time is subtracted every interrupt check cycle time. Therefore, even if an interrupt with a high priority occurs later, the interrupt with a low priority is processed. It is possible.
[0037]
【The invention's effect】
As described above, the present invention has an effect that processing after receiving device information data from a plurality of external devices can be efficiently performed by the functions of the interrupt processing unit and the plurality of data receiving units.
[0038]
In addition, priorities are added to interrupt signals corresponding to a plurality of external devices, and by managing the priority of the interrupt signals and the reception time, communication with an external device having a higher priority is given higher priority. Therefore, even when it is impossible to update data of all external devices in real time, it is possible to prevent a communication delay from occurring in data processing of important and high-priority external devices. It works.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a display device according to a first embodiment of the present invention and devices connected to the display device.
FIG. 2 is a diagram showing a setting example of display settings according to the first embodiment of the present invention.
FIG. 3 is a module configuration diagram according to the first embodiment of the present invention.
FIG. 4 is a task configuration diagram inside the display device according to the first embodiment of the present invention.
FIG. 5 is a flowchart of waiting for reception according to the first embodiment of the present invention.
FIG. 6 is a flowchart of an interrupt reception process according to the first embodiment of the present invention.
FIG. 7 is a flowchart of an interrupt transmission process according to the first embodiment of the present invention.
FIG. 8 is a diagram showing the priorities of external devices according to the first embodiment of the present invention.
FIG. 9 is an exemplary diagram showing, in chronological order, interrupt transmission processing according to the first embodiment of the present invention;
[Explanation of symbols]
1, 3
Claims (2)
前記複数の外部装置にそれぞれ対応する通信プロトコルを有するとともに、前記割込み処理手段からの割込み信号の受信に応じて前記複数の外部装置から出力されたデバイス情報データを受信し通信統括処理手段へ出力する複数のデータ受信手段と、
予め設定された表示設定データを前記通信統括処理手段へ出力する表示処理手段、
とを備え、前記デバイス情報データ及び前記表示設定データとに基づき表示を行うことを特徴とする表示装置。Interrupt processing means for receiving device information data output from a plurality of external devices and outputting an interrupt signal based on the reception of the device information data;
It has a communication protocol corresponding to each of the plurality of external devices, and receives device information data output from the plurality of external devices in response to reception of an interrupt signal from the interrupt processing unit, and outputs the device information data to the communication general processing unit. A plurality of data receiving means,
Display processing means for outputting display setting data set in advance to the communication overall processing means,
A display device that performs display based on the device information data and the display setting data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003079650A JP4192644B2 (en) | 2003-03-24 | 2003-03-24 | Display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003079650A JP4192644B2 (en) | 2003-03-24 | 2003-03-24 | Display device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004287146A true JP2004287146A (en) | 2004-10-14 |
JP4192644B2 JP4192644B2 (en) | 2008-12-10 |
Family
ID=33293707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003079650A Expired - Fee Related JP4192644B2 (en) | 2003-03-24 | 2003-03-24 | Display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4192644B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104730951A (en) * | 2015-01-09 | 2015-06-24 | 电子科技大学 | Display-control integral equipment based on intelligent tablet and data communication method thereof |
-
2003
- 2003-03-24 JP JP2003079650A patent/JP4192644B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104730951A (en) * | 2015-01-09 | 2015-06-24 | 电子科技大学 | Display-control integral equipment based on intelligent tablet and data communication method thereof |
Also Published As
Publication number | Publication date |
---|---|
JP4192644B2 (en) | 2008-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11295400B2 (en) | Automated supervision of construction operations in an intelligent workspace | |
US8953493B2 (en) | Setting method of field device and setting system of field device | |
JP2009282822A (en) | Machine tool system | |
WO2016189709A1 (en) | Controller | |
JPH05265517A (en) | Programmable controller with operator message transmitting function | |
JP4192644B2 (en) | Display device | |
CN109765850B (en) | Control system | |
JPH03100806A (en) | Data processing method and input/output device | |
JP6969454B2 (en) | Control device, control method, and control program | |
CN113867271A (en) | Production system, upper-level control device, communication method, and storage medium | |
CN201307240Y (en) | On-line temperature monitoring system | |
CN110824963A (en) | Control device in multimedia equipment cluster | |
JP2002341906A (en) | Program formula display device and data communication system using the same | |
EP1783620A1 (en) | Communication system | |
JP6741850B1 (en) | Machine system, machine tool, information processing system, setting data inheritance method, and setting data inheritance program | |
JP2002281033A (en) | Usb connection port display system | |
JP2017177227A (en) | Industrial robot system | |
TW201823886A (en) | Monitoring system, monitoring method and server | |
KR20180094633A (en) | Method for identifying state of device | |
JPH0196725A (en) | Multi-window controller | |
KR100442493B1 (en) | Monitoring device for enabling a user to define a protocol function of a communication apparatus, and then to perform communication | |
JPH1083273A (en) | Multiwindow controller | |
JP2002297213A (en) | Production system | |
KR20130002605A (en) | Data displaying device for manufacturing a semiconductor | |
JP2000047717A (en) | Programmable controller system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20040712 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051222 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080402 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080624 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080731 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080826 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080908 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111003 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121003 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131003 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |