JPH05346880A - Logical interface device between controller and computer - Google Patents

Logical interface device between controller and computer

Info

Publication number
JPH05346880A
JPH05346880A JP3262348A JP26234891A JPH05346880A JP H05346880 A JPH05346880 A JP H05346880A JP 3262348 A JP3262348 A JP 3262348A JP 26234891 A JP26234891 A JP 26234891A JP H05346880 A JPH05346880 A JP H05346880A
Authority
JP
Japan
Prior art keywords
data
computer
controller
name
defining
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
JP3262348A
Other languages
Japanese (ja)
Inventor
Hiroshi Ogasawara
浩 小笠原
Hisato Satake
久人 佐竹
Takenori Kono
武徳 河野
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP3262348A priority Critical patent/JPH05346880A/en
Publication of JPH05346880A publication Critical patent/JPH05346880A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To reduce a load of each CPU so that a design can be separated, and also, to improve the performance of an interface by defining all data of a controller handled in a computer by an independent name in the computer, and executing a data definition in the interface device. CONSTITUTION:The logical interface device between a controller and a computer is provided with a store means 101 for storing an in-computer defined data name, a data classification, an attribute of a data name and a data base of an in-controller address to them, a name defining means 102 for defining their names, a relation defining means 103 for defining a relation of their names and the in-controller address, and a data obtaining means 104 for fetching the data, based on the name defining means 102 and the relation defining means 103.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コントローラと計算機
がネットワークで接続されたシステムにおける、コント
ローラと計算機のインタフェース装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interface device between a controller and a computer in a system in which the controller and the computer are connected via a network.

【0002】[0002]

【従来の技術】コントローラと計算機のインタフェース
は、コントローラと計算機の一方、または双方にデータ
ベースを持ち、何らかのデータ識別コードによって、デ
ータを認識させる方式か、または計算機がコントローラ
内のデータを相対的なアドレス概念により取り込むのが
一般的である。その場合、計算機ではトータルパフォー
マンスの点からコントローラ内のデータの配列を意識し
インタフェースを行っている。たとえば計算機のCRT
装置から設備の運転操作を行うために、計算機のCRT
装置から受信側(コントローラ)にデータを伝送する場
合、従来は、図5に示すようにCRT装置1における操
作スイッチA〜nからの操作信号は、受信側(コントロ
ーラ)のPCメモリ2内の、前記操作スイッチA〜nに
対応して指定されたインタフェースバッファA〜nに直
接書き込んでいた。
2. Description of the Related Art An interface between a controller and a computer has a database on one or both of the controller and the computer, and a method of recognizing the data by some kind of data identification code, or the computer makes the relative address of the data in the controller. It is generally taken in by the concept. In that case, the computer is conscious of the array of data in the controller from the viewpoint of total performance to interface. For example, computer CRT
A computer CRT to operate the equipment from the device
When transmitting data from the device to the receiving side (controller), conventionally, as shown in FIG. 5, operation signals from the operating switches A to n in the CRT device 1 are stored in the PC memory 2 of the receiving side (controller). The interface buffers A to n designated corresponding to the operation switches A to n were directly written.

【0003】ところが、このような従来の装置では、C
RT装置および計算機と受信側との間でインタフェース
を行う場合、操作信号の全容が決まるまでインタフェー
スバッファサイズおよびアドレスが決まらないために、 計算機がコントローラ内のデータ配列を意識し設計
すると、メンテナンス効率が悪いばかりでなく、互いに
同一の歩調で設計を進めていく必要がある。 追加変更時のメンテナンスの効率が悪い。 計算機・コントローラ内にデータベースを持ち、デ
ータのインタフェースを行うと、CPUの負荷が上がり
充分なパフォーマンスが得られない。 という問題があった。
However, in such a conventional device, C
When interfacing between the RT device and computer and the receiving side, the interface buffer size and address are not determined until the entire operation signal is determined. Therefore, if the computer is designed with the data array in the controller in mind, maintenance efficiency will be improved. Not only is it bad, it is necessary to proceed with the design in the same pace as each other. The efficiency of maintenance when adding and changing is poor. If a database is provided in the computer / controller and data is interfaced, the load on the CPU increases and sufficient performance cannot be obtained. There was a problem.

【0004】[0004]

【発明が解決しようとする課題】そこで本発明が解決す
べき課題は、データベースを計算機、コントローラの外
部に持ち、計算機からはすべてのデータを名称でインタ
フェースすることによりパフォーマンスと計算機・コン
トローラの独立性を向上させるインタフェース装置を提
供することにある。
Therefore, the problem to be solved by the present invention is to have a database outside a computer and a controller, and to interface all data with a name from the computer to improve performance and independence of the computer and controller. It is to provide an interface device that improves the.

【0005】[0005]

【課題を解決するための手段】この課題を解決するた
め、本発明は、コントローラと計算機間の論理インタフ
ェース装置において、計算機内定義データ名称、データ
種別、データ名称の属性とそれらに対するコントローラ
内アドレスのデータベースの格納を行う格納手段と、そ
れらの名称を定義する名称定義手段、それらの名称とコ
ントローラ内アドレスの関係を定義する関係定義手段、
名称定義手段と関係定義手段をもとにデータを取り出す
データ獲得手段を備えたことを特徴とする。
In order to solve this problem, the present invention relates to a logical interface device between a controller and a computer, in which the definition data name in the computer, the data type, the attribute of the data name and the address in the controller for them are described. Storage means for storing the database, name definition means for defining their names, relationship definition means for defining the relationship between those names and addresses in the controller,
It is characterized in that a data acquisition means for extracting data based on the name definition means and the relationship definition means is provided.

【0006】[0006]

【作用】本発明では、計算機とコントローラがインタフ
ェースするために計算機内で独立した名称によりコント
ローラ内のデータを獲得する手段を備えており、コント
ローラ、計算機で互いにデータ位置を意識することなく
設計を進めていくことが可能となる。また、データ変換
において、コントローラ、計算機のCPU負荷を低減さ
せることが可能となる。
In the present invention, the computer and the controller interface so that the data in the controller can be acquired by an independent name in the computer, and the controller and the computer can proceed with the design without being aware of the data position. It becomes possible to go. Further, in data conversion, it is possible to reduce the CPU load of the controller and the computer.

【0007】[0007]

【実施例】以下、本発明を、図面に示す実施例を参照し
ながら具体的に説明する。図1は本発明の実施例に係る
コントローラ、計算機論理インタフェース装置の構成を
示すブロック図である。同図において、101は論理イ
ンタフェース装置の計算機内定義データ名称、データ種
別、データ名称の属性とその名称、属性に対するコント
ローラ内アドレスのデータベースの格納を行うデータベ
ース格納手段であり、このデータベース格納手段101
により、これらのデータが名称定義手段102、関係定
義手段103に格納される。名称定義手段102にはこ
れらのデータの他に、データ種別に対応するデータの定
義も格納されている。たとえばデータ種別がある現場機
器を意味する場合、その機器が有する故障情報、状態情
報、付属アナログ計器情報が格納されている。関係定義
手段103は、名称定義手段102のデータとコントロ
ーラ内のアドレスの関係を定義するものであり、ビット
データ、アナログデータを対応させたものが格納され
る。データ獲得手段104は名称定義手段102と関係
定義手段103より、名称とコントローラ内アドレスの
対応を行い、実際にコントローラよりデータを獲得す
る。またコントローラから送られてくるデータは、名称
定義手段102と関係定義手段103のデータをもとに
計算機内の名称に変換し、計算機にインタフェースを行
う。図2は以上の処理のフローチャートであり、200
は計算機、300はコントローラ、400はデータベー
スである。図3は以上の処理を行うハードウエアのシス
テム構成例を示すもので、31はCPU、32はメモ
リ、33,34は通信制御部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be specifically described below with reference to the embodiments shown in the drawings. FIG. 1 is a block diagram showing the configurations of a controller and a computer logic interface device according to an embodiment of the present invention. In the figure, 101 is a database storing means for storing a database of the definition data name in the computer of the logical interface device, the data type, the attribute of the data name and the name and the address in the controller for the attribute.
Thus, these data are stored in the name defining means 102 and the relationship defining means 103. In addition to these data, the name definition means 102 also stores the definition of data corresponding to the data type. For example, in the case of meaning a field device having a data type, failure information, status information, and attached analog instrument information that the device has are stored. The relationship defining means 103 defines the relationship between the data of the name defining means 102 and the address in the controller, and stores bit data and analog data in correspondence with each other. The data acquisition means 104 associates the name with the in-controller address from the name definition means 102 and the relationship definition means 103, and actually acquires the data from the controller. Further, the data sent from the controller is converted into a name in the computer based on the data of the name defining means 102 and the relation defining means 103, and the computer is interfaced. FIG. 2 is a flowchart of the above processing, which is 200
Is a computer, 300 is a controller, and 400 is a database. FIG. 3 shows an example of a system configuration of hardware that performs the above processing. Reference numeral 31 is a CPU, 32 is a memory, and 33 and 34 are communication control units.

【0008】図4は以上の具体例を示すものであり、C
RT装置1の操作スイッチA〜nにあらかじめコード番
号1001〜Nを決めておき、スイッチの操作が行われ
た時、あらかじめ決めておいた該当コード番号を受信側
(PC装置)の固定インタフェースバッファ21に書き
込む。受信側(PC装置)は書き込まれたスイッチコー
ド番号を逆変換手段22で逆変換し、PC装置のメモリ
領域へ展開する。こうして次々と操作されたスイッチは
対応するコード番号を同一の固定インタフェースバッフ
ァに書き込む。図4の操作スイッチA〜nが図1の名称
定義手段に相当し、操作スイッチに対応したコード番号
1001〜Nが関係定義手段103に相当する。
FIG. 4 shows the above specific example, and C
Code numbers 1001 to N are previously determined for the operation switches A to n of the RT device 1, and when the switches are operated, the corresponding predetermined code numbers are fixed to the fixed interface buffer 21 on the receiving side (PC device). Write in. On the receiving side (PC device), the written switch code number is inversely converted by the inverse conversion means 22 and expanded in the memory area of the PC device. The switches thus operated write the corresponding code numbers in the same fixed interface buffer. The operation switches A to n in FIG. 4 correspond to the name defining means in FIG. 1, and the code numbers 1001 to N corresponding to the operation switches correspond to the relationship defining means 103.

【0009】[0009]

【発明の効果】以上に述べたように、本発明によれば計
算機内で扱うコントローラのデータをすべて、計算機内
で独立した名称で定義し、インタフェース装置内にデー
タ定義を行うことにより、互いのCPUの負荷を低減
し、設計を分離することができる。また、インタフェー
スのパフォーマンスが向上する。
As described above, according to the present invention, all the controller data handled in the computer are defined by independent names in the computer, and the data is defined in the interface device so that they are mutually independent. The load on the CPU can be reduced and the design can be separated. It also improves the interface performance.

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

【図1】 本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】 本発明における処理を示すフローチャートで
ある。
FIG. 2 is a flowchart showing a process in the present invention.

【図3】 本発明に係るシステム構成図を示すブロック
図である。
FIG. 3 is a block diagram showing a system configuration diagram according to the present invention.

【図4】 本発明の具体例を示す説明図である。FIG. 4 is an explanatory diagram showing a specific example of the present invention.

【図5】 従来例を示す説明図である。FIG. 5 is an explanatory diagram showing a conventional example.

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

1 CRT装置、2 PCメモリ、21 固定インタフ
ェースバッファ、22逆変換手段、31 CPU、32
メモリ、33,34 通信制御部、101データベー
ス格納手段、102 名称定義手段、103 関係定義
手段、104データ獲得手段、200 計算機、300
コントローラ、400 データベース
1 CRT device, 2 PC memory, 21 fixed interface buffer, 22 inverse conversion means, 31 CPU, 32
Memory, 33, 34 communication control unit, 101 database storage unit, 102 name definition unit, 103 relationship definition unit, 104 data acquisition unit, 200 computer, 300
Controller, 400 database

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 計算機内定義データ名称、データ種別、
データ名称の属性とそれらに対するコントローラ内アド
レスのデータベースの格納を行う格納手段と、それらの
名称を定義する名称定義手段、それらの名称とコントロ
ーラ内アドレスの関係を定義する関係定義手段、名称定
義手段と関係定義手段をもとにデータを取り出すデータ
獲得手段を備えたことを特徴とするコントローラと計算
機間の論理インタフェース装置。
1. A computer-defined data name, data type,
Storage means for storing a database of data name attributes and controller addresses for them, name defining means for defining those names, relationship defining means for defining the relationship between those names and controller addresses, and name defining means A logical interface device between a controller and a computer, comprising data acquisition means for extracting data based on a relationship definition means.
JP3262348A 1991-10-09 1991-10-09 Logical interface device between controller and computer Pending JPH05346880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3262348A JPH05346880A (en) 1991-10-09 1991-10-09 Logical interface device between controller and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3262348A JPH05346880A (en) 1991-10-09 1991-10-09 Logical interface device between controller and computer

Publications (1)

Publication Number Publication Date
JPH05346880A true JPH05346880A (en) 1993-12-27

Family

ID=17374500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3262348A Pending JPH05346880A (en) 1991-10-09 1991-10-09 Logical interface device between controller and computer

Country Status (1)

Country Link
JP (1) JPH05346880A (en)

Similar Documents

Publication Publication Date Title
US5343557A (en) Workstation controller with full screen write mode and partial screen write mode
US7343448B2 (en) Storage system having decentralized cache controlling device and disk controlling device, storage control program, and method of storage control
JPH05346880A (en) Logical interface device between controller and computer
JPH04293106A (en) Remote diagnostic device of numerical controller
JPS60252940A (en) Printer control system
US7051183B2 (en) Circuit for recording digital waveform data and method of doing the same
JP2643091B2 (en) Method and system for managing character recognition of a plurality of document form images having a common data type
JPS58200363A (en) Input and output control system of virtual system
US5577216A (en) Controlling process for a controlling apparatus having a CPU and special function units
WO1990001191A2 (en) Improved data transmission optimizer
JPS6240736B2 (en)
JP2687679B2 (en) Program development equipment
JPH0769200B2 (en) Industrial monitoring and control equipment
CA1234936A (en) Interactive visual communications system
JPH03272250A (en) Communication data trace device
JPH06168074A (en) Common ionput/output device
JPS6244665B2 (en)
JPH1069428A (en) Video display device
JPH03116356A (en) Terminal equipment
JPS6046588A (en) Discrimination system for frequency of using decentralized registration character
JPS5942875B2 (en) Pattern data transfer output method
JPH0865497A (en) Image processing system
JPH03113662A (en) Input/output processing system
JPS6337735A (en) Data conversion system in communication processor
JPH02148107A (en) Method for converting i/o address of sequence program in programmable controller