JPS6269346A - Program setting method for input and output controller - Google Patents

Program setting method for input and output controller

Info

Publication number
JPS6269346A
JPS6269346A JP20961285A JP20961285A JPS6269346A JP S6269346 A JPS6269346 A JP S6269346A JP 20961285 A JP20961285 A JP 20961285A JP 20961285 A JP20961285 A JP 20961285A JP S6269346 A JPS6269346 A JP S6269346A
Authority
JP
Japan
Prior art keywords
input
program
interface
host computer
random access
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
JP20961285A
Other languages
Japanese (ja)
Inventor
Yukihiro Kiyota
清田 幸博
Takemi Mizuta
水田 武己
Junji Nunotani
布谷 準二
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP20961285A priority Critical patent/JPS6269346A/en
Publication of JPS6269346A publication Critical patent/JPS6269346A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the easy change of a program and also to reduce the storing capacity of a host computer by storing a program in a random access memory included by an interface for control of an input/output device and controlling this input/output device. CONSTITUTION:A programmable ROM 32 stores a stores a so-called standard program to control the basic operation of each of plural types of input/output devices that can be connected to an interface 20. While random access memories 33-37 store the application programs of the machine words interpreted by a host computer 6. A setting circuit 39 selects the program corresponding to the input/output device connected to the interface 20 out of those standard programs stored in the memory 32. Then a logging printer 17 is controlled based on the programs stored in the memories 32-37 of the interface 20.

Description

【発明の詳細な説明】 技術分野 本発明は、プリンタ、プログラマブルフントローラおよ
びその他の入出jJ装置を11制御(るためのプログラ
ム設定力法に関する。
TECHNICAL FIELD This invention relates to a programmable method for controlling printers, programmable controllers, and other input/output devices.

背量技術 典型的な先行技術は、第3図に示されている。weight technology A typical prior art is shown in FIG.

ホストコンピュータ1は、リードオンリーメモリ2と処
理回路3とを含み、このホストコンピュータ1はインタ
フェース4を介して人出JJ装置5に接続されている。
The host computer 1 includes a read-only memory 2 and a processing circuit 3, and is connected to a crowd JJ device 5 via an interface 4.

インタフェース・tは、ビット(it号の直並列変換お
よび電圧レベルの変換などを行なう。入出力装置5は、
たと元ぼプリンタ、プログラマブルコントローラなどで
ある1、リードオンリメモリ2には、入出力装置5の屑
本的動作を制御するためのいわゆる標準プログラムと、
各ユーザごとによって異なることがある、いわtipる
アプリケーションプログラムとがストアされている。
The interface t performs serial-to-parallel conversion of bits (it), voltage level conversion, etc. The input/output device 5
The read-only memory 1, which is a printer, a programmable controller, etc., contains a so-called standard program for controlling the basic operations of the input/output device 5.
So-called application programs, which may differ depending on each user, are stored.

発明が解決すべき問題点 このような第3図に示された先行技術では、入出力装置
5の種類が異なるごとに、またその入出力装置5の動作
が異なるごとに (たとえば入出力装置5がプリンタで
ある場合においてその出カフ↑−マントがユーザ毎に異
なるとき)、リードオンリーメモリ2のストア内容を変
更士る必要があり、簡易にそのストア内容を変更するこ
とが困難である。またこのような入出力装置5の制御を
行なうためのプログラムのすべてがリードオンリメモリ
2にストアされるので、そのリードオンリメモリ2の容
量が増大する。
Problems to be Solved by the Invention In the prior art shown in FIG. When the printer is a printer, it is necessary to change the contents stored in the read-only memory 2, and it is difficult to easily change the stored contents. Furthermore, since all the programs for controlling the input/output device 5 are stored in the read-only memory 2, the capacity of the read-only memory 2 increases.

本発明の目的は、入出力装置の制御を社なうプログラム
を容易に変更することがでさるとともに、ホストコンピ
ュータにお(するストア容量をむやみに増大する必要が
ないようにした入出力制御装置のためのプログラム設定
方法を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an input/output control device that allows easy modification of programs that control input/output devices and eliminates the need to unnecessarily increase the storage capacity of a host computer. The purpose is to provide a program setting method for.

問題点を解決するだめの手段 本発明は、インタフェースを介して入出力装置をホスト
コンピュータに接続し、このインク7エースは、ランダ
ムアクセスメモリと、そのランダムアクセスメモリにス
トアされているプログラムに基づいて入出力装置の制御
動作を行なう処理回路とを含み、ホストコンビエータに
プログラム作成装置を接続し、プログラム作成装置によ
って作成したプログラムをホストコンピュータによって
(5!1械語に翻訳して、j重工ランダムアクセスメモ
リに書き込み、このランダムアクセスメモリにストアさ
れているプログラムに基づいて、入出力S:置を前記処
理装置によって制御することをvf徴とする入出力制御
装置のrこめのプログラム設定方法である。
SUMMARY OF THE INVENTION The present invention connects an input/output device to a host computer via an interface, and the ink7ace is based on a random access memory and a program stored in the random access memory. A program creation device is connected to the host combinator, and the program created by the program creation device is translated into 5!1 machine language by the host computer, This is a detailed program setting method for an input/output control device whose VF characteristic is to write to an access memory and control the input/output S: position by the processing device based on a program stored in the random access memory. .

作  用 本発明に従えば、インタフェースに含まれているランダ
ムアクセスメモリに入出力装置を制御するためのプログ
ラムをストアして、そのインク7エースに接続される入
出力装置を左制御するようにしrこので、プログラムの
変更が容易であるとともに、ホストコンピュータのスト
ア容量を低減することができる。
According to the present invention, a program for controlling an input/output device is stored in the random access memory included in the interface, and the input/output device connected to the ink 7 ace is controlled to the left. This makes it easy to change the program and reduces the storage capacity of the host computer.

しかも、ホストコンピュータには、いわゆるパーソナル
コンピュータなどのようなプログラム作成装置を接続し
て、ベーシックなどの汀語を用いてプログラムを作成し
て入力し、ホストコンピュータによって機械語に翻、R
して萌述のランダムアクセスメモリに浮き込むようにし
たので、プログラムの変更を容易に竹なうことが可能で
ある。
Moreover, a program creation device such as a so-called personal computer is connected to the host computer, and a program is created and input using a language such as basic, which is translated into machine language by the host computer, and R
Since the program is floated into random access memory, it is possible to easily change the program.

実施例 第1図は、本発明の一実施例の全体の系統図である。ホ
ストコンビュー夕6は、処理回路7と、リードオンリメ
モリ8と、ランダムアクセスメモリ0と、表示装置やキ
ー人力装置などのようなコンソール装置10とを含み、
リードオンリメモリ8にストアされているプログラムに
恭づいて動(IEヲ行なう。このホストコンピュータ6
のバス11には、電話回線を利用してデータを送受イ3
するtこめの送受イJ装置12と、遠隔測定などを行な
うテレメータ13.14との送受信をtrなう変復調回
路15.16とが接続される。
Embodiment FIG. 1 is an overall system diagram of an embodiment of the present invention. The host console 6 includes a processing circuit 7, a read-only memory 8, a random access memory 0, and a console device 10, such as a display device, key power device, etc.
This host computer 6 operates according to the program stored in the read-only memory 8 (runs IE).
The bus 11 has an interface for transmitting and receiving data using a telephone line.
The transmitting/receiving device 12 is connected to a modulation/demodulation circuit 15.16 for transmitting and receiving data to and from a telemeter 13.14 for performing remote measurements and the like.

入出力装置であるロギングプリンタ17、L位コンピュ
ータ18および管理情報を出力する?!1報プリンタ1
9などは、インタフェース20.21゜22をそれぞれ
介してバス11と接続される。ホストコンピュータ6に
はまた、パーソナルコンピュータなどのようなプログラ
ム作成機能を有する装置23が接続される。
The logging printer 17, which is an input/output device, the L computer 18, and outputs management information? ! 1 report printer 1
9 etc. are connected to the bus 11 via interfaces 20, 21 and 22, respectively. Also connected to the host computer 6 is a device 23 having a program creation function, such as a personal computer.

第2図は、インタフェース20の長体的な回路構成を示
すブロック図である。プログラム作成装置123は、処
理回路24を有し、この処理回路24にはキー人力装置
25が接続される。キー人力装置25を用いて、たとえ
ばベーシックなどによってプログラマブルコントローラ
17jユ位コンピュータ18および警報プリンタ19な
どの入出力装置のためのアプリケーンシンプログラムを
入力する。このアプリケーションプログラムは、入出力
装置におけるたとえば定数、係数、換1式およびプリン
タの場今における印字7t−マントなどである。アプリ
ケーションプログラムは、70ツピデイスク26にスト
アしておくことができる。処理回路24がらのアプリケ
ーションプログラムは、直並列変換回路27によって直
列13号に変換され、バス11を介してホストフンピユ
ータ6の処理回路7に伝送される。ホストフンピユータ
6の処理回路7は、プログラム作成装rIL23がらの
データのコンパイラ制御を行なうとともに、第1図に示
された全システムの制御を行なう。またこの処理回m7
は、リードオンリーメモリ8にストアされているプログ
ラムに基づき、プログラム作成回路23によって作成さ
れたプログラムを機械語に翻訳する。
FIG. 2 is a block diagram showing a long circuit configuration of the interface 20. The program creation device 123 has a processing circuit 24 to which a key human power device 25 is connected. A key input device 25 is used to input application programs for input/output devices such as the programmable controller 17j, the computer 18, and the alarm printer 19, such as by Basic. This application program includes, for example, constants, coefficients, conversion equations in the input/output device, and printing in the printer. Application programs can be stored on the 70 disk 26. The application program in the processing circuit 24 is converted into a serial number 13 by the serial/parallel conversion circuit 27 and transmitted to the processing circuit 7 of the host computer 6 via the bus 11. The processing circuit 7 of the host computer 6 controls the compiler of data from the program creation device rIL 23, and also controls the entire system shown in FIG. Also, this processing time m7
translates the program created by the program creation circuit 23 into machine language based on the program stored in the read-only memory 8.

インタフェース20では、バス11にデレクトメモリア
クセス(略称DMA)回路28が接続され、バス2つに
は処理回路30が接続される。処理回路30は、クロッ
ク発生回路31からのクロンクに基づいて同期動作を行
なう。バス29には、メモリ32〜37が接続される。
In the interface 20, a direct memory access (abbreviated as DMA) circuit 28 is connected to the bus 11, and a processing circuit 30 is connected to the two buses. The processing circuit 30 performs a synchronous operation based on the clock from the clock generation circuit 31. Memories 32 to 37 are connected to the bus 29.

メモリ32は、プログラマブルリーにオンリメモリであ
って、ここには、インタフェース20に接続されること
ができる複数種類の入出力¥C置ごとの基本的動作を制
御する、いわゆる標準プログラムがストアされる。
The memory 32 is a programmable only memory, and stores a so-called standard program that controls basic operations for each of a plurality of types of input/output units that can be connected to the interface 20. .

メモリ33〜37は、ランダムアクセスメモリであって
、リチウム電池などのような電池38によってバンクア
ンプされる。このランダムアクセスメモリ33〜37に
は、ホストコンビよ−タ6において翻、択された機械語
のアプリケーションプログラムがストアされろ。設定回
路39は、プログラマブルリードオンリメモリ32にス
トアされている標準プログラムのうち、インタフェース
20に接続される入出力装置に対応するプログラムを選
択する。バス29には、直並列変換回路40が接続され
る。この直並列変換回路40の出力はボーレート設定回
路41によって設定されたボーレートでイボ号を導出す
る、規格切換え回路42は、通信の伝送規格たとえばR
3232CもよびRS 、122を切換えるための働き
をし、各規格ごとのイボ号は端子43.44から導出さ
れる。入出力装置であるロギングプリンタ17は、端子
43または44に接続される。こうしてインタフェース
20のメモリ32〜37にストアされているプログラム
に基づいて、ロギングプリンタ17が制御される。
Memories 33-37 are random access memories and are bank-amplified by a battery 38, such as a lithium battery. A machine language application program translated and selected by the host computer 6 is stored in the random access memories 33-37. The setting circuit 39 selects a program corresponding to the input/output device connected to the interface 20 from among the standard programs stored in the programmable read-only memory 32 . A serial/parallel conversion circuit 40 is connected to the bus 29 . The output of the serial-to-parallel converter circuit 40 derives a baud number at the baud rate set by the baud rate setting circuit 41.
3232C also functions to switch the RS and 122, and the IBO code for each standard is derived from terminals 43 and 44. Logging printer 17, which is an input/output device, is connected to terminal 43 or 44. In this way, the logging printer 17 is controlled based on the programs stored in the memories 32 to 37 of the interface 20.

残余のインク7エース21.22は、インタフェース2
0と同様な構成を有し、プログラマブルリードオンリメ
モリ32には、これらのロギングブリンク17、上位コ
ンピュータ18および11報プリンタ1つのこれらの標
準プログラムのうちの1つをストアし、設定回路39に
よって標準プログラムを選択することができる。
The remaining ink 7 ace 21.22 is the interface 2
The programmable read-only memory 32 stores one of these standard programs for the logging blink 17, the host computer 18, and the report printer 11, and the setting circuit 39 stores one of these standard programs. Programs can be selected.

プログラマブルリードオンリメモリ32にストアされて
いる標準プログラムは、ホストコンピュータ6のリード
オンリーメモリ8にストアされてもよく、アプリケーシ
ョンプログラムのみがランダムアクセスメモリ33〜3
7にストアされろように?構成してもよい。各種の7ブ
リケーシシンプaグラムを70クビデイスク26にスト
アして、管理を容易にする。二とができる。
Standard programs stored in programmable read-only memory 32 may be stored in read-only memory 8 of host computer 6, and only application programs are stored in random access memory 33-3.
May it be stored on 7? may be configured. Various types of 7-block symbol a-grams are stored in 70 cubic disks 26 to facilitate management. I can do two things.

効  果 以上のように本発明によれ1K、プログラム作成¥cF
lによってアプリケーションプログラムなどのようなプ
ログラムを作成してホストコンビ2−夕によって機械語
に翻訳し、そのプログラムをインタフェースに備えられ
たランダムアクセスメモリにストアし、このプログラム
に基づいて入出力装置を制御するようにしたので、各種
の入出力装置に共通なインタフェースをt!I!111
すればよく、構成が簡略化されるとともに、ホストフン
ピユータにおけるz 42 vHをむやみに火きくする
必要がなくなる。しがら入出力装置のためのプログラム
の現地および生産現場などにおけるデバッグj(よび変
更を容易1こ行なうことができるととらに、開児効率お
よび生産工数を向上する:とが′+′きろ1.さらにま
た、入出力装置の数または種類を僧加してシステム全体
の拡張などを容易に行なう二とができるようになる。
Effects As described above, the present invention costs 1K and ¥cF to create a program.
A program such as an application program is created by the host computer, translated into machine language by the host computer, the program is stored in the random access memory provided in the interface, and input/output devices are controlled based on this program. Now, we have created a common interface for various input/output devices. I! 111
This simplifies the configuration and eliminates the need to unnecessarily increase the z 42 vH in the host computer. In addition to being able to easily debug and modify programs for input/output devices on-site and at production sites, it also improves production efficiency and production man-hours. Furthermore, it becomes possible to easily expand the entire system by increasing the number or types of input/output devices.

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

第1図は本発明の一実1屯例の全体のプロノク図、第2
図はインク7エース2oの具体的な!+!i 1反を・
Rすプロ/り図、第3図は先イテ技術のプロ・ンク図で
ある。 6・・・ホストコンビエータ、7.2=4,3(’l・
・・処理回路、8・・・リードオンリメモリ、23・・
プログラム作成回路、20.21122・・・インタフ
ェース、17・・・ロギングプリンタ、18・・上位コ
ンピュータ、19・・・警報プリンタ、32・・・プロ
グラマブルリードオンリメモリ、33〜37・・ラング
ムアクセスメモリ、38・・・電池 代理人  弁理士 西教 圭一部 第3図
Figure 1 is an overall diagram of one example of the present invention;
The diagram shows the specifics of Ink 7 Ace 2o! +! i 1 anti-
Figure 3 is a diagram of the previous technology. 6...Host Combiator, 7.2=4,3('l・
...Processing circuit, 8...Read-only memory, 23...
Program creation circuit, 20.21122...Interface, 17...Logging printer, 18...Upper computer, 19...Alarm printer, 32...Programmable read-only memory, 33-37...Language access memory , 38...Battery agent Patent attorney Keibu Saikyo Figure 3

Claims (1)

【特許請求の範囲】[Claims] インタフェースを介して入出力装置をホストコンピュー
タに接続し、このインタフェースは、ランダムアクセス
メモリと、そのランダムアクセスメモリにストアされて
いるプログラムに基づいて入出力装置の制御動作を行な
う処理回路とを含み、ホストコンピュータにプログラム
作成装置を接続し、プログラム作成装置によって作成し
たプログラムをホストコンピュータによって機械語に翻
訳して、前記ランダムアクセスメモリに書き込み、この
ランダムアクセスメモリにストアされているプログラム
に基づいて、入出力装置を前記処理装置によって制御す
ることを特徴とする入出力制御装置のためのプログラム
設定方法。
The input/output device is connected to the host computer via an interface, and the interface includes a random access memory and a processing circuit that performs a control operation of the input/output device based on a program stored in the random access memory, A program creation device is connected to the host computer, a program created by the program creation device is translated into machine language by the host computer, and written into the random access memory, and input is performed based on the program stored in the random access memory. A program setting method for an input/output control device, characterized in that an output device is controlled by the processing device.
JP20961285A 1985-09-20 1985-09-20 Program setting method for input and output controller Pending JPS6269346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20961285A JPS6269346A (en) 1985-09-20 1985-09-20 Program setting method for input and output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20961285A JPS6269346A (en) 1985-09-20 1985-09-20 Program setting method for input and output controller

Publications (1)

Publication Number Publication Date
JPS6269346A true JPS6269346A (en) 1987-03-30

Family

ID=16575682

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20961285A Pending JPS6269346A (en) 1985-09-20 1985-09-20 Program setting method for input and output controller

Country Status (1)

Country Link
JP (1) JPS6269346A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02242460A (en) * 1989-03-16 1990-09-26 Fujitsu Ltd Control information setting system
JPH02294715A (en) * 1989-05-09 1990-12-05 Alps Electric Co Ltd Method for resetting board system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02242460A (en) * 1989-03-16 1990-09-26 Fujitsu Ltd Control information setting system
JPH02294715A (en) * 1989-05-09 1990-12-05 Alps Electric Co Ltd Method for resetting board system

Similar Documents

Publication Publication Date Title
JPH046980B2 (en)
JPS6269346A (en) Program setting method for input and output controller
JP2579170B2 (en) Memory card
JPS60176163A (en) Address selection system of input/output board
JPH0522365A (en) Communication processor
JPS6329860A (en) Memory card processing method
JPS6175449A (en) Variation system for internal constitution control data of input and output controller
JPH047609A (en) Pulse generator for control of positioning
JPS6243408Y2 (en)
JPH0739086Y2 (en) FDD control circuit
JPS62115525A (en) Information processor
JPH02149150A (en) Communication data buffer control system
JP2003058257A (en) Temperature controller
JPH0540720A (en) Network constituting information generating device
JPS63148320A (en) Control system for terminal operation procedure
JPS59111573A (en) Paper tape perforating system
JPH01312654A (en) Dynamic allocating system for sub channel area
JPS62256139A (en) Data processor
JPH0311599B2 (en)
JPS6282846A (en) Tracing system for line data
JPS58179977A (en) Memory controller
JPS62287323A (en) Microcomputer
JPS617962A (en) Programmable controller
JPS61245250A (en) Storage device for information hysteresis
JPS62134744A (en) Address decoding system