JPH11312136A - I/o controller - Google Patents

I/o controller

Info

Publication number
JPH11312136A
JPH11312136A JP11854898A JP11854898A JPH11312136A JP H11312136 A JPH11312136 A JP H11312136A JP 11854898 A JP11854898 A JP 11854898A JP 11854898 A JP11854898 A JP 11854898A JP H11312136 A JPH11312136 A JP H11312136A
Authority
JP
Japan
Prior art keywords
input
output
external device
personal computer
output signal
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
JP11854898A
Other languages
Japanese (ja)
Inventor
Hidehiko Fujikawa
英彦 藤川
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP11854898A priority Critical patent/JPH11312136A/en
Publication of JPH11312136A publication Critical patent/JPH11312136A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To dispense with a programmable controller by permitting an input and output part to output an output signal based on the arithmetic result of serial data to control an external equipment and also permitting it to input an input signal in response to the output signal from the external equipment. SOLUTION: A control command is generated, based on a previously decided prescribed protocol and serial data, including the control command are outputted to the RS232C port 11 of a personal computer 1. The outputted serial data are received in a transmitting/receiving part 2 with a transmission path 21, the received serial data, that is the control command is analyzed by an arithmetic part 3 and the arithmetic result is outputted to the input and output part 4. The input and output part 4 outputs the output signal 41, based on the arithmetic result to the external equipment 5, controls the external equipment 5 and also inputs the input signal 51, including data in response to the output signal 41 from the external equipment 5.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、パーソナルコンピ
ュータ及び外部機器と接続されて、パーソナルコンピュ
ータからのデータに基づいて外部機器の入出力を制御す
るI/O(INPUT/OUTPUT)コントローラに
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an I / O (INPUT / OUTPUT) controller which is connected to a personal computer and an external device and controls input / output of the external device based on data from the personal computer. .

【0002】[0002]

【従来の技術】従来、この種のI/Oコントローラとし
て、パーソナルコンピュータ1に装填されるI/Oボー
ド、又は通信機能を有したプログラマブルコントローラ
がある。
2. Description of the Related Art Conventionally, as this type of I / O controller, there is an I / O board mounted on a personal computer 1 or a programmable controller having a communication function.

【0003】[0003]

【発明が解決しようとする課題】上記した従来のI/O
コントローラでは、パーソナルコンピュータからのデー
タに基づいて外部機器の入出力を制御できる。
The above-mentioned conventional I / O
The controller can control the input and output of the external device based on the data from the personal computer.

【0004】しかしながら、I/Oボードを使用して外
部機器を制御するためには、専用のドライバ及び高度の
制御知識を必要とし、また,プログラマブルコントロー
ラは一般にI/O制御以外に例えばデータ処理演算部等
の種々の機能が付加されているので高価であって、プロ
グラマブルコントローラの使用はコストアップの要因と
なる。
However, controlling an external device using an I / O board requires a dedicated driver and a high level of control knowledge, and a programmable controller generally uses, for example, a data processing operation in addition to I / O control. Since various functions such as a section are added, it is expensive, and the use of the programmable controller causes a cost increase.

【0005】本発明は、上記事由に鑑みてなしたもの
で、その目的とするところは、簡易的に、かつ安価に外
部機器の入出力を制御できるI/Oコントローラを提供
することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an I / O controller that can easily and inexpensively control the input / output of an external device.

【0006】[0006]

【課題を解決するための手段】上記した課題を解決する
ために、請求項1記載のものは、パーソナルコンピュー
タに設けられたRS232Cポートに伝送経路を介して
接続されて所定のプロトコルに基づいてシリアルデータ
を送受信する送受信部と、MPUを設け受信したシリア
ルデータを解析して演算結果を出力する演算部と、外部
機器に接続されて演算結果に基づいた出力信号を出力し
て外部機器を制御するとともに、出力信号に対して応答
した入力信号を入力される入出力部とを備えた構成にし
てある。
According to a first aspect of the present invention, there is provided a personal computer which is connected to an RS232C port provided on a personal computer via a transmission path, and is connected to a serial port based on a predetermined protocol. A transmitting / receiving unit for transmitting / receiving data, a computing unit provided with an MPU for analyzing received serial data and outputting a calculation result, and connected to an external device to output an output signal based on the calculation result and control the external device And an input / output unit for receiving an input signal in response to the output signal.

【0007】請求項2記載のものは、パーソナルコンピ
ュータに設けられたセントロニクスポートに伝送経路を
介して接続されて所定のプロトコルに基づいてパラレル
データを送受信する送受信部と、MPUを設け受信した
パラレルデータを解析して演算結果を出力する演算部
と、外部機器に接続されて演算結果に基づいた出力信号
を出力して外部機器を制御するとともに、出力信号に対
して応答した入力信号を入力される入出力部とを備えた
構成にしてある。
According to a second aspect of the present invention, there is provided a transmission / reception unit connected to a Centronics port provided in a personal computer via a transmission path for transmitting and receiving parallel data based on a predetermined protocol, and an MPU provided with the received parallel data. A calculation unit that analyzes the data and outputs a calculation result, and is connected to the external device, outputs an output signal based on the calculation result, controls the external device, and receives an input signal in response to the output signal. The input / output unit is provided.

【0008】[0008]

【発明の実施の形態】本発明の第1実施形態を図1に基
づいて以下に説明する。このものは、パーソナルコンピ
ュータ1と接続されて、予め決められてシステム上のフ
ォーマットである所定のプロトコルに基づいてシリアル
データを互いに送受信する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to FIG. This is connected to the personal computer 1 and transmits and receives serial data to and from each other based on a predetermined protocol which is a predetermined format on the system.

【0009】パーソナルコンピュータ1は、RS232
Cポート11及びセントロニクスポート12が設けら
れ、一般に普及しているBAISIC言語でもって容易
に制御されて、RS232Cポート11がシリアルデー
タを、セントロニクスポート12がパラレルデータをそ
れぞれ送受信する。そして、制御コマンドを含んだシリ
アルデータが所定のプロトコルに基づいてRS232C
ポート11を介して送信されるとともに、後述する送受
信部2からレスポンスデータを含んだシリアルデータが
受信される。
The personal computer 1 is an RS232
A C port 11 and a Centronics port 12 are provided, and are easily controlled in a widely used BAISIC language. The RS232C port 11 transmits and receives serial data, and the Centronics port 12 transmits and receives parallel data. Then, the serial data including the control command is transmitted to the RS232C based on a predetermined protocol.
While being transmitted via the port 11, serial data including response data is received from the transmitting / receiving unit 2 described later.

【0010】2は送受信部で、回路で形成され、パーソ
ナルコンピュータ1に設けられたRS232Cポート1
1に、シリアルケーブルからなる伝送経路21を介して
接続されて、シリアルデータを送受信する。
Reference numeral 2 denotes a transmission / reception unit, which is formed of a circuit and is provided with an RS232C port 1 provided in the personal computer 1.
1 is connected via a transmission path 21 composed of a serial cable to transmit and receive serial data.

【0011】3は演算部で、MPU(Micropro
cessing Unit)が設けられ、送受信部2が
受信して制御コマンドを含んだシリアルデータを、解析
し演算して演算結果を出力する。
An operation unit 3 is an MPU (Microprotocol).
A transmitting unit is provided, and the transmitting / receiving unit 2 analyzes and calculates serial data including the control command received and outputs a calculation result.

【0012】4は入出力部で、回路で形成され、外部機
器5に接続されて、演算部3が演算した演算結果に基づ
いた出力信号41を外部機器5に出力する。外部機器5
は、入出力部4からの出力信号41に基づいて制御され
るとともに、その出力信号41に対して応答したレスポ
ンスデータが含まれた入力信号51を出力して入出力部
4へ入力する。
Reference numeral 4 denotes an input / output unit, which is formed of a circuit and is connected to the external device 5 and outputs an output signal 41 based on the operation result calculated by the operation unit 3 to the external device 5. External device 5
Is controlled based on an output signal 41 from the input / output unit 4, outputs an input signal 51 including response data responding to the output signal 41, and inputs the input signal 51 to the input / output unit 4.

【0013】このものの動作を説明する。先ず、ユーザ
はベーシックで記述されて外部機器5を制御する制御プ
ログラムを作成し、予め決められた所定のプロトコルに
基づいて制御コマンドを作成し、パーソナルコンピュー
タ1は、制御コマンドを含んだシリアルデータをRS2
32Cポート11に出力する。送受信部2はRS232
Cポート11から出力されたシリアルデータを伝送経路
21を介して受信し、演算部3は受信したシリアルデー
タ、すなわち制御コマンドを解析し演算して演算結果を
入出力部4に出力する。
The operation of this device will be described. First, the user creates a control program which is described in basic and controls the external device 5, creates a control command based on a predetermined protocol, and the personal computer 1 transmits serial data including the control command. RS2
Output to 32C port 11. The transmission / reception unit 2 is RS232
The serial data output from the C port 11 is received via the transmission path 21, and the arithmetic unit 3 analyzes and calculates the received serial data, that is, the control command, and outputs the arithmetic result to the input / output unit 4.

【0014】そして、入出力部4は演算結果に基づいた
出力信号41を外部機器5に出力して、その外部機器5
を制御するとともに、出力信号41に対するレスポンス
データを含んだ入力信号51を外部機器5から入力され
る。そして、演算部3はレスポンスデータを解析し、解
析結果を送受信部2を介してシリアルデータとしてパー
ソナルコンピュータ1に伝送して、パーソナルコンピュ
ータ1は制御プログラムに基づいて必要に応じて解析結
果を表示する。
The input / output unit 4 outputs an output signal 41 based on the calculation result to the external device 5, and the external device 5
And an input signal 51 including response data to the output signal 41 is input from the external device 5. Then, the arithmetic unit 3 analyzes the response data, transmits the analysis result as serial data to the personal computer 1 via the transmission / reception unit 2, and the personal computer 1 displays the analysis result as needed based on the control program. .

【0015】かかる第1実施形態のI/Oコントローラ
にあっては、上記したように、演算部3のMPUがパー
ソナルコンピュータ1のRS232Cポート11から伝
送されたシリアルデータを解析して演算結果を出力し、
入出力部4が演算結果に基づいた出力信号41を出力し
て外部機器5を制御するとともに、出力信号41に対し
て応答した入力信号51を外部機器5から入力されるか
ら、専用のドライバを必要とするI/Oボードがパーソ
ナルコンピュータ1に装填されることなく、また種々の
機能が付加されて高価なプログラマブルコントローラを
使用することなく、パーソナルコンピュータ1からのシ
リアルデータに基づいて簡易的に、かつ安価に外部機器
5の入出力を制御することができる。
In the I / O controller according to the first embodiment, as described above, the MPU of the operation unit 3 analyzes the serial data transmitted from the RS232C port 11 of the personal computer 1 and outputs the operation result. And
Since the input / output unit 4 outputs the output signal 41 based on the calculation result to control the external device 5 and receives the input signal 51 responding to the output signal 41 from the external device 5, a dedicated driver is required. Based on the serial data from the personal computer 1, the required I / O board can be simply and without being loaded into the personal computer 1 and without using an expensive programmable controller having various functions. In addition, the input / output of the external device 5 can be controlled at low cost.

【0016】本発明の第2実施形態を図2に基づいて以
下に説明する。なお、第2実施形態では第1実施形態と
異なる機能について述べることとし、第1実施形態と実
質的に同一機能を有する部材については、同一符号を付
して説明を省略する。第2実施形態では、パーソナルコ
ンピュータ1と接続されて、所定のプロトコルに基づい
てパラレルデータを互いに送受信する。
A second embodiment of the present invention will be described below with reference to FIG. In the second embodiment, functions different from those in the first embodiment will be described, and members having substantially the same functions as those in the first embodiment will be denoted by the same reference numerals and description thereof will be omitted. In the second embodiment, the personal computer 1 is connected to and transmits and receives parallel data to and from each other based on a predetermined protocol.

【0017】パーソナルコンピュータ1は、制御コマン
ドを含んだパラレルデータが、プリンターポートである
セントロニクスポート12を介して送信されるととも
に、送受信部2からレスポンスデータを含んだパラレル
データが受信される。
In the personal computer 1, parallel data including a control command is transmitted via a Centronics port 12 which is a printer port, and parallel data including response data is received from the transmission / reception unit 2.

【0018】送受信部2は、パーソナルコンピュータ1
に設けられたセントロニクスポート12に、プリンター
ケーブルからなる伝送経路21を介して接続されて、パ
ラレルデータを送受信する。演算部3は送受信部2が受
信して制御コマンドを含んだパラレルデータを、解析し
演算して演算結果を出力する。
The transmitting / receiving unit 2 includes a personal computer 1
Is connected to a Centronics port 12 provided through a transmission path 21 composed of a printer cable to transmit and receive parallel data. The calculation unit 3 analyzes and calculates the parallel data received by the transmission / reception unit 2 and including the control command, and outputs a calculation result.

【0019】このものの動作を説明する。パーソナルコ
ンピュータ1は、制御コマンドを含んだパラレルデータ
をセントロニクスポート12に出力する。送受信部2は
セントロニクスポート12から出力されたパラレルデー
タを伝送経路21を介して受信し、演算部3は受信した
パラレルデータ、すなわち制御コマンドを解析し演算し
て演算結果を入出力部4に出力する。
The operation of the above will be described. The personal computer 1 outputs parallel data including a control command to the Centronics port 12. The transmission / reception unit 2 receives the parallel data output from the Centronics port 12 via the transmission path 21, and the calculation unit 3 analyzes and calculates the received parallel data, that is, the control command, and outputs the calculation result to the input / output unit 4. I do.

【0020】そして、入出力部4は演算結果に基づいた
出力信号41を外部機器5に出力して、その外部機器5
を制御するとともに、出力信号41に対するレスポンス
データを含んだ入力信号51を外部機器5から入力され
る。そして、演算部3はレスポンスデータを解析し、解
析結果を送受信部2を介してパラレルデータとしてパー
ソナルコンピュータ1に伝送して、パーソナルコンピュ
ータ1は制御プログラムに基づいて必要に応じて解析結
果を表示する。
Then, the input / output unit 4 outputs an output signal 41 based on the calculation result to the external device 5, and the external device 5
And an input signal 51 including response data to the output signal 41 is input from the external device 5. The operation unit 3 analyzes the response data, transmits the analysis result to the personal computer 1 as parallel data via the transmission / reception unit 2, and the personal computer 1 displays the analysis result as needed based on the control program. .

【0021】かかる第2実施形態のI/Oコントローラ
にあっては、上記したように、演算部3のMPUがパー
ソナルコンピュータ1のセントロニクスポート12から
伝送されたパラレルデータを解析して演算結果を出力
し、入出力部4が演算結果に基づいた出力信号41を出
力して外部機器5を制御するとともに、出力信号41に
対して応答した入力信号51を外部機器5から入力され
るから、専用のドライバを必要とするI/Oボードがパ
ーソナルコンピュータ1に装填されることなく、また種
々の機能が付加されて高価なプログラマブルコントロー
ラを使用することなく、パーソナルコンピュータ1から
のパラレルデータに基づいて簡易的に、かつ安価に外部
機器5の入出力を制御することができる。
In the I / O controller of the second embodiment, as described above, the MPU of the arithmetic unit 3 analyzes the parallel data transmitted from the centronics port 12 of the personal computer 1 and outputs the arithmetic result. Then, the input / output unit 4 outputs the output signal 41 based on the calculation result to control the external device 5, and the input signal 51 responsive to the output signal 41 is input from the external device 5. A simple I / O board based on parallel data from the personal computer 1 can be used without loading an I / O board requiring a driver into the personal computer 1 and without using an expensive programmable controller having various functions. It is possible to control the input and output of the external device 5 inexpensively.

【0022】[0022]

【発明の効果】請求項1記載のものは、演算部のMPU
がパーソナルコンピュータのRS232Cポートから伝
送されたシリアルデータを解析して演算結果を出力し、
入出力部が演算結果に基づいた出力信号を出力して外部
機器を制御するとともに、出力信号に対して応答した入
力信号を外部機器から入力されるから、専用のドライバ
を必要とするI/Oボードがパーソナルコンピュータに
装填されることなく、また種々の機能が付加されて高価
なプログラマブルコントローラを使用することなく、パ
ーソナルコンピュータからのシリアルデータに基づいて
簡易的に、かつ安価に外部機器の入出力を制御すること
ができる。
According to the first aspect of the present invention, the MPU of the arithmetic unit is provided.
Analyzes the serial data transmitted from the RS232C port of the personal computer and outputs the operation result,
The input / output unit outputs an output signal based on the calculation result to control an external device, and an input signal responding to the output signal is input from the external device, so that a dedicated driver is required. Simple and inexpensive input / output of external devices based on serial data from a personal computer without loading the board into a personal computer and without using an expensive programmable controller with various functions added. Can be controlled.

【0023】請求項2記載のものは、演算部のMPUが
パーソナルコンピュータのセントロニクスポートから伝
送されたパラレルデータを解析して演算結果を出力し、
入出力部が演算結果に基づいた出力信号を出力して外部
機器を制御するとともに、出力信号に対して応答した入
力信号を外部機器から入力されるから、専用のドライバ
を必要とするI/Oボードがパーソナルコンピュータに
装填されることなく、また種々の機能が付加されて高価
なプログラマブルコントローラを使用することなく、パ
ーソナルコンピュータからのパラレルデータに基づいて
簡易的に、かつ安価に外部機器の入出力を制御すること
ができる。
According to a second aspect of the present invention, the MPU of the arithmetic unit analyzes the parallel data transmitted from the Centronics port of the personal computer and outputs an arithmetic result.
The input / output unit outputs an output signal based on the calculation result to control an external device, and an input signal responding to the output signal is input from the external device, so that a dedicated driver is required. Simple and inexpensive input / output of external devices based on parallel data from a personal computer without loading the board into a personal computer and without using an expensive programmable controller with various functions added. Can be controlled.

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

【図1】本発明の第1実施形態を示す構成図である。FIG. 1 is a configuration diagram showing a first embodiment of the present invention.

【図2】本発明の第2実施形態を示す構成図である。FIG. 2 is a configuration diagram showing a second embodiment of the present invention.

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

1 パーソナルコンピュータ 11 RS232Cポート 12 セントロニクスポート 2 送受信部 21 伝送経路21 3 演算部 4 入出力部 41 出力信号 5 外部機器 51 入力信号 DESCRIPTION OF SYMBOLS 1 Personal computer 11 RS232C port 12 Centronics port 2 Transmission / reception part 21 Transmission path 21 3 Operation part 4 Input / output part 41 Output signal 5 External device 51 Input signal

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 パーソナルコンピュータに設けられたR
S232Cポートに伝送経路を介して接続されて所定の
プロトコルに基づいてシリアルデータを送受信する送受
信部と、MPUを設け受信したシリアルデータを解析し
て演算結果を出力する演算部と、外部機器に接続されて
演算結果に基づいた出力信号を出力して外部機器を制御
するとともに、出力信号に対して応答した入力信号を入
力される入出力部とを備えたことを特徴とするI/Oコ
ントローラ。
An R provided in a personal computer
A transmission / reception unit connected to the S232C port via a transmission path to transmit / receive serial data based on a predetermined protocol, a calculation unit provided with an MPU to analyze received serial data and output a calculation result, and to an external device An I / O controller comprising: an input / output unit configured to output an output signal based on a calculation result to control an external device and to input an input signal in response to the output signal.
【請求項2】 パーソナルコンピュータに設けられたセ
ントロニクスポートに伝送経路を介して接続されて所定
のプロトコルに基づいてパラレルデータを送受信する送
受信部と、MPUを設け受信したパラレルデータを解析
して演算結果を出力する演算部と、外部機器に接続され
て演算結果に基づいた出力信号を出力して外部機器を制
御するとともに、出力信号に対して応答した入力信号を
入力される入出力部とを備えたことを特徴とするI/O
コントローラ。
2. A transmission / reception unit connected to a Centronics port provided in a personal computer via a transmission path for transmitting and receiving parallel data based on a predetermined protocol, and an MPU provided to analyze the received parallel data and calculate an operation result. And an input / output unit connected to the external device to output an output signal based on the calculation result to control the external device and to receive an input signal in response to the output signal I / O characterized by the following:
controller.
JP11854898A 1998-04-28 1998-04-28 I/o controller Pending JPH11312136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11854898A JPH11312136A (en) 1998-04-28 1998-04-28 I/o controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11854898A JPH11312136A (en) 1998-04-28 1998-04-28 I/o controller

Publications (1)

Publication Number Publication Date
JPH11312136A true JPH11312136A (en) 1999-11-09

Family

ID=14739320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11854898A Pending JPH11312136A (en) 1998-04-28 1998-04-28 I/o controller

Country Status (1)

Country Link
JP (1) JPH11312136A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001216249A (en) * 2000-02-02 2001-08-10 Olympus Optical Co Ltd Terminal equipment for wiring saving control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001216249A (en) * 2000-02-02 2001-08-10 Olympus Optical Co Ltd Terminal equipment for wiring saving control system

Similar Documents

Publication Publication Date Title
JPH11312136A (en) I/o controller
KR20030062864A (en) Client device of thin client network system and method of controlling the same
KR100975333B1 (en) Apparatus for transmitting data, apparatus and method for generating request
US20050004725A1 (en) Control device for a cabin system in an airplane
KR970062880A (en) Monitor control device and control method
KR940020205A (en) Monitor that can communicate with personal computer and its control method
JP2001136585A (en) Network device
KR0177720B1 (en) Method for controlling communication driver of branch processor apparatus
JPH05108257A (en) Remote control mouse system
JPH10271577A (en) General purpose type remote control system and device by bidirectional infrared ray communication
KR920006083B1 (en) Display-supporting apparatus for computer
JPS6482173A (en) Control system for transaction processing of automatic cash transaction device
JP2003028674A (en) Display system for filed instrument
KR200375241Y1 (en) Server device having terminals using monitor having lan and ports therein
KR0182944B1 (en) Remocon data receiving apparatus
KR200221368Y1 (en) A computer with several image producing means
JPH06214949A (en) Communication equipment and its communication method
JPH04302021A (en) Printer
KR890010684A (en) Interface control circuit of LCD display
JPH04278622A (en) Keyboard display terminal equipment
KR19990005661A (en) Wireless computer
JPH0675881A (en) Different machine kind terminal control and transmission control system
JPH08242210A (en) Communication equipment and its method
JPH04373050A (en) Terminal equipment
KR19990034367A (en) How to improve communication speed of elevator