[go: up one dir, main page]

JPS58182740A - Key scanning device - Google Patents

Key scanning device

Info

Publication number
JPS58182740A
JPS58182740A JP57065045A JP6504582A JPS58182740A JP S58182740 A JPS58182740 A JP S58182740A JP 57065045 A JP57065045 A JP 57065045A JP 6504582 A JP6504582 A JP 6504582A JP S58182740 A JPS58182740 A JP S58182740A
Authority
JP
Japan
Prior art keywords
key
state
change
microcomputer
key switch
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
JP57065045A
Other languages
Japanese (ja)
Inventor
Toshiaki Kumabayashi
熊林 敏明
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP57065045A priority Critical patent/JPS58182740A/en
Publication of JPS58182740A publication Critical patent/JPS58182740A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To shorten the processing time of a key scanning device, by providing a muCOP exclusively used for key scanning with each key switch group to detect a change of state, transmitting the detected change of state to a control computer and providing a data converting function for each plant. CONSTITUTION:Matrix-shaped key switch groups 5A and 6A are joined to exclusive muCOP5B and 6B to form key scanning parts 5 and 6. The muCOP5B and 6B scan successively the groups 5A and 6A to detect the presence or absence of a change of state. The change of state if detected is fed to a CPU8A of a muCOP8 through cables 7A and 7B. The muCOP8 performs the necessary conversion of data for the change of state by means of a memory 8B which stores different data for each plant and for the change of state of the received key switch. Then the state of change is sent to a host computer 4. In such a way, the number of cables is decreased. This reduces the load of the computer 4.

Description

【発明の詳細な説明】 本発明はマイクロコンピュータによるキースキャン装置
に関し、特にキースイッチ群とマイクロコンピュータと
の結合装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a key scanning device using a microcomputer, and more particularly to a device for coupling a key switch group and a microcomputer.

一般に、プラント監視制御システムにおいては、監視制
御室に設備される押釦式スイッチの操作状態や監視制御
対象機器の状態を監視制御装置本体に状態監視信号とし
て取込み、これら監視信号に基づいて各釉制御出力を得
る。システムの各部状態監視項目はシステム全構成する
各部課にグループ分けするも多項目になシ、その状態監
祝佃“号の取込みにはマイクロコンピュータによって各
項目について状#A変化がめるか否かを周期的に順次チ
ェックするキースキャン方式が採られる。
Generally, in a plant monitoring and control system, the operation status of push-button switches installed in the monitoring and control room and the status of equipment to be monitored and controlled are input into the main body of the monitoring and control device as status monitoring signals, and each glaze is controlled based on these monitoring signals. get the output. The status monitoring items for each part of the system are grouped into the departments that make up the entire system, but there are not many items, and the status monitoring items are imported using a microcomputer that determines whether or not changes are made for each item. A key scan method is used that performs periodic sequential checks.

第1図は従来のキースキャン装置を示す。状態監視信号
の発生源が押釦式スイッチやリレー接点になるキースイ
ッチ群1は、マトリクス状に摘取されてキーコントロー
ラ2とケーブル3A、3Bによって結合される。キーコ
ントローラ2龜、ケーブル3Ai通してキースイッチ群
1の行辿択細を順次駆動し、ケーブル3Bを通して列出
力細の出力状態を並列データとして114次絖堆9、キ
ースイッチ#+1の各スイッチの状態変化有無全判定す
る。キーコントローラ2はキースイッチに状態変化があ
るとコンピュータ41111へ割込みtかける。
FIG. 1 shows a conventional key scanning device. The key switch group 1, in which the source of the status monitoring signal is a push button switch or a relay contact, is arranged in a matrix and connected to the key controller 2 by cables 3A and 3B. Through the key controller 2 and cable 3Ai, the row trace selection details of key switch group 1 are sequentially driven, and through the cable 3B, the output states of the column outputs are used as parallel data to drive each switch of 114th order drive 9 and key switch #+1. Determine whether or not there is a state change. The key controller 2 issues an interrupt to the computer 41111 when there is a change in the state of the key switch.

この割込みによシ、コンピュータ4の0PU4Aが受取
るデータはキースイッチ群1の例行目、何列目のスイッ
チに状′NJ4変化有という形にされる。
The data received by the 0PU4A of the computer 4 due to this interrupt is changed to indicate that the switch in the row and column of the key switch group 1 has the status 'NJ4 changed.

0PU4Aは状態変化のデータに基づいて必要な演算、
例えはプラント毎に持つ同有データを格納するメモ1J
4E−i使ってデータ変換し、出力装置40を通して表
示器やリレー等の制御出力を送出する。なお、キースイ
ッチ群1とコントローラ2及びケーブル3A、3Bはプ
ラントの規模に応じて複数台設置され、コンピュータ4
に結合される。
0PU4A performs necessary calculations based on state change data,
For example, a memo 1J that stores shared data for each plant.
4E-i is used to convert the data, and a control output for a display, a relay, etc. is sent out through the output device 40. Note that a plurality of key switch group 1, controller 2, and cables 3A and 3B are installed depending on the scale of the plant, and computer 4
is combined with

こうした従来装置は、監視制御する機益の増加に伴い、
ケーブル3A、3Bの本数増、コンピュータ4の負担増
となるし、工事費、設置スペースの増大、コストパフォ
ーマンスの低下になる。
As the opportunities for monitoring and controlling these conventional devices increase,
This increases the number of cables 3A and 3B, increases the burden on the computer 4, increases construction costs, increases installation space, and lowers cost performance.

本発明は、キースイッチ群にキースキャン専用のマイク
ロコンピュータによってキースイッチの状転変化を検出
し、制御用コンピュータ側にはキースイッチ抑専用のマ
イクロコンピュータとの間でデータ伝送用ケーブルによ
る結合をする伝送コ   ゝントローラ用マイクロコン
ピュータを設け、伝送コントローラ用マイクロコンピュ
ータにハキ−スイッチの状態変化に応じたプラント毎の
データ変換機能を持たすことにより、従来の間趙点を解
消しさらに後述する効果を奏することができるキースキ
ャン装置を提供することを目的とする。
The present invention detects changes in the state of the key switch using a microcomputer dedicated to key scanning in the key switch group, and connects the control computer with a microcomputer dedicated to suppressing the key switch using a data transmission cable. By providing a microcomputer for the transmission controller and providing the microcomputer for the transmission controller with a data conversion function for each plant according to changes in the status of the key switch, the conventional problem of failure can be solved and the effects described later can be achieved. The purpose of the present invention is to provide a key scanning device that can perform the following tasks.

第2図は本発明の一実施例金示すブロック図である。マ
トリクス状のキースイッチ群5A、5Aは夫々専用のマ
イクロコンピュータ5B、6Bに結合されたキースキャ
ン部5,6に栴成さレル。
FIG. 2 is a block diagram showing one embodiment of the present invention. The matrix-shaped key switch groups 5A, 5A are arranged in key scanning sections 5, 6 connected to dedicated microcomputers 5B, 6B, respectively.

マイクロコンピュータ5Bj6Bi、J:従来のキーコ
ントローラ2と同様にキースイッチBt’5Aj6Aを
夫々順次走査して状態変化の廟無を検出する機能ヲ有す
る。そして、マイクロコンピュータ5B。
Microcomputer 5Bj6Bi, J: Like the conventional key controller 2, it has a function of sequentially scanning each of the key switches Bt'5Aj6A to detect whether or not there is a change in state. And microcomputer 5B.

6Bはキースイッチに状態変化を検出すると、伝送用ケ
ーブル7A、7B’に通して共通の伝送コントローラ用
マイクロコンピュータ8のoptrBムに伝送する。マ
イクロコンピュータ8は受信したキースイッチの状態変
化に対して、プラント毎に異なるデータを格納するメモ
IJ 8 B’を使って必要なデータ変換を施し、この
変換データをポストとなるコンピュータ4に割込みで入
力する。
When 6B detects a state change in the key switch, it transmits it to optrB of the common transmission controller microcomputer 8 through transmission cables 7A and 7B'. The microcomputer 8 performs the necessary data conversion in response to the received key switch state change using a memo IJ8B' that stores data that differs from plant to plant, and sends this converted data to the post computer 4 via an interrupt. input.

こうしたキースキャン装置によれば、キースキャン専用
のマイクロコンピュータ5B、6B¥r持つキースイッ
チ群5A、5Aになるため、従来装置に見られるキース
キャンのためのケーブル3 A。
According to such a key scanning device, the key switch group 5A, 5A has a microcomputer 5B, 6B\r dedicated for key scanning, so the cable 3A for key scanning seen in the conventional device is required.

3Bに代えて本実施例では2対ないし4対の伝送用ケー
ブル7ムi7”で丙み、伝送ケーブル本数の低減や工事
費の低減ができる。また、コンピュータ4 illには
キースイッチ部と結合してデータ変換まで行なう伝送コ
ントローラ用マイクロコンビユータ8を持つため、コン
ピュータ4の負担軽減ができる。また、キースイッチの
状態変化はコンピュータ5B 、 6Bと8間のデータ
伝送で済み、監視制御の分散化、管理の集中化が可能で
システムとしての処理時間を短縮できる。なお、本発明
においても、オペレータから見たキー操作は従来と同じ
でおって、既存のシステムへの適用は′6易に達成され
る。
In this embodiment, instead of 3B, 2 to 4 pairs of transmission cables 7mm i7" are used, reducing the number of transmission cables and construction costs. In addition, the computer 4ill is connected to the key switch section. Since it has a transmission controller microcomputer 8 that performs data conversion and data conversion, the load on the computer 4 can be reduced.Furthermore, key switch status changes can be done by data transmission between the computers 5B, 6B and 8, allowing for distributed monitoring and control. It is possible to centralize management and reduce the processing time of the system.In addition, in the present invention, the key operations from the operator's perspective are the same as in the past, making it easy to apply to existing systems. achieved.

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

第1図は従来のキースキャン装置ブロック図、第2図は
本発明の一実施例會示すブロック図である。 4・・・コンピュータ、5,6・・・キースイッチ部、
5A、(iA・・・キースイッチ群、5B、6B・・・
ギースキャン専用マイクロコンピュータ、7A、7B・
・・伝送用ケーブル、8・・・伝送コントローラ用マイ
クロコンピュータ。
FIG. 1 is a block diagram of a conventional key scanning device, and FIG. 2 is a block diagram showing an embodiment of the present invention. 4... Computer, 5, 6... Key switch section,
5A, (iA...key switch group, 5B, 6B...
Giescan dedicated microcomputer, 7A, 7B.
...Transmission cable, 8...Microcomputer for transmission controller.

Claims (1)

【特許請求の範囲】[Claims] キースイッチ群の状態を順次走査によって読取るキース
キャン装置において、キースィッチ8+ヲ順次走査して
その状態変化全検出するキースキャン専用のマイクロコ
ンピュータと、このマイクロコンピュータとは伝送ケー
ブルで結合され状態変化のあったキースイッチデータ全
受信し必要なデータ変換をする伝送コントルーラ用マイ
クロコンピュータと、このマイクロコンピュータからの
割込みによって状態変化検出されたキースイッチに対応
するデータを制御用コンピュータに入力することを特徴
とするキースキャン装置。
In a key scanning device that reads the states of a group of key switches by sequential scanning, this microcomputer is connected to a microcomputer dedicated to key scanning, which sequentially scans the keyswitches 8+ to detect all changes in their states, and this microcomputer is connected by a transmission cable. The present invention is characterized by a transmission controller microcomputer that receives all key switch data and performs necessary data conversion, and an interrupt from this microcomputer that inputs data corresponding to the key switch whose state change is detected to the control computer. key scanning device.
JP57065045A 1982-04-19 1982-04-19 Key scanning device Pending JPS58182740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57065045A JPS58182740A (en) 1982-04-19 1982-04-19 Key scanning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57065045A JPS58182740A (en) 1982-04-19 1982-04-19 Key scanning device

Publications (1)

Publication Number Publication Date
JPS58182740A true JPS58182740A (en) 1983-10-25

Family

ID=13275592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57065045A Pending JPS58182740A (en) 1982-04-19 1982-04-19 Key scanning device

Country Status (1)

Country Link
JP (1) JPS58182740A (en)

Similar Documents

Publication Publication Date Title
JPH01245335A (en) Programmable controller multiplexing system
CA1130425A (en) Digital remote control system
JPS58182740A (en) Key scanning device
JP2736201B2 (en) Operation device
JP2503434B2 (en) Process control device
JP2931144B2 (en) Electric car driving support device
JPH077551A (en) Multiconsole system
JPH04329098A (en) Remote monitor
JPH09323804A (en) Tracking device for physical distribution management system
JPH04114202A (en) controller system
KR200171067Y1 (en) Digital video matrix cpu
JPH03204006A (en) Communication system for programmable controller
JPS6343558Y2 (en)
JPH0635739A (en) Switching control system
JPH08205248A (en) Controller for hydroelectric power station
JPH11282799A (en) Console remote operation device
JPS61147309A (en) Peripheral device for programmable controller
JPH03100705A (en) Plant controller
JP2002041104A (en) Plant monitoring and control equipment
JPS60228366A (en) Controller for group control elevator
JPH03129420A (en) Input device sharing method with multiple display devices
JPS6210750A (en) Input connecting device for personal computer
JPS63305420A (en) Keyboard
JPH05334130A (en) Maintenance diagnostic system
JPH0720292B2 (en) Portable terminal