JPS61195446A - Terminal control device - Google Patents

Terminal control device

Info

Publication number
JPS61195446A
JPS61195446A JP60036149A JP3614985A JPS61195446A JP S61195446 A JPS61195446 A JP S61195446A JP 60036149 A JP60036149 A JP 60036149A JP 3614985 A JP3614985 A JP 3614985A JP S61195446 A JPS61195446 A JP S61195446A
Authority
JP
Japan
Prior art keywords
control command
terminal device
host computer
control
host
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
JP60036149A
Other languages
Japanese (ja)
Inventor
Masao Kanda
正男 神田
Koichi Hasegawa
浩一 長谷川
Hitoshi Yamazaki
斎 山崎
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.)
Casio Computer Co Ltd
Casio Electronics Manufacturing Co Ltd
Original Assignee
Casio Computer Co Ltd
Casio Electronics 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 Casio Computer Co Ltd, Casio Electronics Manufacturing Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60036149A priority Critical patent/JPS61195446A/en
Publication of JPS61195446A publication Critical patent/JPS61195446A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To facilitate connection of a plurality of host computers of different control instruction systems to one terminal equipment by providing a means for switching circuit to select the control instruction systems with the control instruction from the host equipment. CONSTITUTION:A ROM 1 and a CPU 2 are mutually connected with the control line, address line and date bus. The control instruction and data, etc. are fed from the host computer 4 to the CPU 2 via a host interface 5 and data memorized in a RAM 3, etc., is fed from the CPU 2 and RAM 3 to the host computer 4 via the host interface 5. The terminal function control part 6 controls the operation of the terminal equipment in response to the control instruction from the host computer 4. The terminal equipment has a circuit switching means to cope with two instruction systems output from the host computer.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、ホストコンピュータと端末装置とを有スるロ
ーカルネットワークシステムに係り、特に端末装置の制
御命令系の切換に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a local network system having a host computer and a terminal device, and particularly relates to switching of a control command system of a terminal device.

〔従来技術〕[Prior art]

近年、ファクシミリに代表されるような同一の通信文又
はハードコピーによる画像情報を同時に多数の端末装置
に伝送するいわゆるローカルエリアネットワークシステ
ムが利用されるようになり。
In recent years, so-called local area network systems have come into use that simultaneously transmit the same message or hard copy image information, such as a facsimile, to a large number of terminal devices.

特に複数のコンピュータと複数の端末装置とを結んだシ
ステムが用いられている。このようなシステムにおける
端末装置として例えばプリンタを用いた場合、コ・ンビ
エータはプリンタの有している固有の制御命令体系9例
えば、エスケープシーケンス (E S C)等を用い
て連動回線を介しコンピュータとプリンタとでデータの
変換等を実行している。
In particular, systems are used that connect multiple computers and multiple terminal devices. When a printer is used as a terminal device in such a system, the combiator uses the printer's unique control command system 9, such as escape sequence (ESC), to communicate with the computer via an interlocking line. Executing data conversion etc. with the printer.

従来、このようなコンピュータと端末装置との回線の接
続に際し、一部の端末装置例えばCRT端末等において
は、異なる制御命令体系を有する種々のコンピュータに
対応すべく端末装置内に複数の制御命令体系を記憶させ
ておき、端末装置に接続されているコンピュータが他の
コンピュータに入れ変った時そのコンピュータの制御命
令体系で即、端末装置を制御することができるようにな
されている。
Conventionally, when connecting a line between such a computer and a terminal device, some terminal devices such as CRT terminals have a plurality of control command systems in the terminal device in order to correspond to various computers having different control command systems. is stored, so that when the computer connected to the terminal device is replaced with another computer, the terminal device can be immediately controlled using the control command system of that computer.

(従来技術の問題点〕 しかしながら、上述のような複数の制御命令体系を記憶
する端末装置をホストコンピュータに接続する際には予
めホストコンピュータの制御命令体系にあわせて端末装
置の制御命令体系を外部よりスイッチ等を操作して切換
える必要があり、端末装置にマニュアルスイッチを設け
なければならなかった。また、その切り換えを行う際に
はホストコンピュータと端末装置との間をオフラインに
する必要がありた。
(Problems with the Prior Art) However, when connecting a terminal device that stores a plurality of control command systems as described above to a host computer, it is necessary to set the control command system of the terminal device externally in accordance with the control command system of the host computer in advance. It was necessary to change the settings by operating a switch, etc., and a manual switch had to be installed on the terminal device.Also, when making the change, it was necessary to take the connection between the host computer and the terminal device offline. .

一方、コンピュータ側辷おいても同様に端末装置に信号
を送る際、接続された端末装置が同一の制御命令体系で
ない時は、コンピュータの出力を端末装置にリアルタイ
ムで入力することができなかった。
On the other hand, when a computer is used to send signals to a terminal device, unless the connected terminal devices have the same control command system, the output of the computer cannot be input to the terminal device in real time.

〔発明の目的〕[Purpose of the invention]

本発明は上記従来の欠点に鑑み、複数の制御命令体系を
有する端末装置において、ホストコンピュータの制御命
令により端末装置の制御命令体系を切換えることを可能
にした端末装置の制御装置を提供することを目的とする
In view of the above-mentioned conventional drawbacks, the present invention provides a control device for a terminal device that enables switching of the control command system of the terminal device using control commands from a host computer in a terminal device having a plurality of control command systems. purpose.

〔発明の要点〕[Key points of the invention]

本発明は上記目的を達成するために、複数の制御命令体
系を有する端末装置において、ホスト機器からの制御命
令により前記制御命令体系を切換える切換回路手段を有
することを特徴とする′。
In order to achieve the above object, the present invention is characterized in that a terminal device having a plurality of control command systems includes switching circuit means for switching the control command systems in response to a control command from a host device.

〔発明の実施例〕[Embodiments of the invention]

以下本発明の実施例について図面を参照しながら詳述す
る。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図(alは本発明の端末装置に一部ホストコンピュ
ータを含む回路ブロック図である。同図において、RO
MIには本回路の全ての動作を記憶したプログラムが格
納されており、ROMIはCPU(中央処理装置)2と
制御ライン(CONT)。
FIG. 1 (al is a circuit block diagram partially including a host computer in the terminal device of the present invention. In the same figure, RO
The MI stores a program that stores all the operations of this circuit, and the ROMI connects the CPU (central processing unit) 2 and the control line (CONT).

アドレスライン(AD)、データバス(DB)により互
いに接続されており9図示しないROMアドレス制御部
によってアドレス指定されたエリアから各プログラムが
読出され順次プログラムが実行される。この読出された
プログラムの中で、RAMアドレス信号はアドレスライ
ンを介してRAM3に入力し、RAM3では端末装置の
機能を実現するためのデータ記憶を行い、また、制御命
令のデータの記憶、ホストコンピュータ4との転送デー
タの一時記憶等も行う。
The programs are connected to each other by an address line (AD) and a data bus (DB), and each program is read out from an area addressed by a ROM address control section (not shown) and executed sequentially. In this read program, the RAM address signal is input to the RAM 3 via the address line, and the RAM 3 stores data to realize the functions of the terminal device, and also stores data of control commands and the host computer. It also performs temporary storage of data transferred to and from 4.

一方、パーソナルコンピュータ、オフィスコンピュータ
等で構成されるホストコンピュータ4からはホストコン
ピュータ4又は端末装置からの入出力制御を行うホスト
インターフェイス5を介してCPU2に制御命令、デー
タ等が入力しており。
On the other hand, control commands, data, etc. are input to the CPU 2 from a host computer 4 such as a personal computer, an office computer, etc. via a host interface 5 that controls input/output from the host computer 4 or a terminal device.

逆にCPU2.RAM3からホストコンピュータ4には
ホストインターフェイス5を介してRAM3等に記憶さ
れたデータが入力している。また端末機能制御部6はホ
ストコンピュータの制御命令に従い実際に端末装置とし
ての動作を制御するコントローラーである。
On the other hand, CPU2. Data stored in the RAM 3 or the like is input from the RAM 3 to the host computer 4 via the host interface 5. Further, the terminal function control section 6 is a controller that actually controls the operation of the terminal device according to control instructions from the host computer.

また、同゛図(b)はRAM3内の構成を示すもので。Also, FIG. 3(b) shows the internal configuration of the RAM 3.

上述の制御命令を記憶するレジスタ、ホストコンピュー
タ4への転送データを記憶するレジスタ等のレジスタの
他に指定された制御命令のタイプを記憶するフラグレジ
スタ3aを有してい南。
In addition to registers such as a register for storing the above-mentioned control commands and a register for storing data transferred to the host computer 4, a flag register 3a for storing a specified type of control command is provided.

以上のような構成の本発明の端末装置における。In the terminal device of the present invention having the above configuration.

制御命令の解析動作を説明する。The analysis operation of control commands will be explained.

端末装置には、複数のホストコンピュータが接続可能で
、それらの送信して来る制御命令は2種類の制御命令体
系に分けられる。そして各ホストコンピュータは通常個
々の制御命令を送出するより前に、その制御命令がどち
らの制御命令体系に属するものか指定するための制御命
令体系指定コード(Typeコード)を端末装置へ送出
して来る。
A plurality of host computers can be connected to the terminal device, and the control commands sent by these computers are divided into two types of control command systems. Before sending each control command, each host computer usually sends a control command system designation code (Type code) to the terminal device to specify which control command system the control command belongs to. come.

端末装置には制御命令解析機能を有し、ホストコンピュ
ータから送られて来る制御命令に従ってそれぞれの処理
プログラムを実行するが、端末装置もホストコンピュー
タが送出して来る2種類の命令体系に対応出来るように
下表に示す如く2系統の制御命令解析プログラムを備え
ている。
The terminal device has a control command analysis function and executes each processing program according to the control commands sent from the host computer. It is equipped with two systems of control command analysis programs as shown in the table below.

表の右側に示す処理動作は端末装置がプリンタである場
合の一例を示すものである。
The processing operations shown on the right side of the table show an example when the terminal device is a printer.

今9例えば端末装置に“ESCA”という制御命令コー
ドが入力された場合、その制御命令がAタイプ制御命令
体系であれば「イニシャル動作」(プリンタを初期状態
にする)を実行し、Bタイプ制御命令体系であれば「拡
大指示セット」(印字文字を拡大する処理)が実行され
る。
For example, if the control command code "ESCA" is input to the terminal device, if the control command is an A type control command system, the "initial operation" (setting the printer to the initial state) will be executed, and the B type control will be executed. If it is a command system, an "enlargement instruction set" (processing to enlarge printed characters) is executed.

この制御命令体系の認識方法を第2図のフローチャート
を用いて説明する。
A method for recognizing this control command system will be explained using the flowchart shown in FIG.

例えば、ホストコンピュータから送られてくる制御命令
体系指定コード(Typeコード)を“ESC〔φn”
 (nはパラメータでO”か1”を入力する。′O″で
Aタイプ、′13でBタイプの制御命令体系がそれぞれ
指定される。)と設定した場合、ステップ1において、
CPU2にコード“ESC(φn″が入力した時ステッ
プ2に進む。
For example, the control command system specification code (Type code) sent from the host computer is "ESC[φn"
(n is a parameter and input O" or 1". 'O' specifies the A type control command system, and '13 specifies the B type control command system.) In step 1,
When the code "ESC (φn") is input to the CPU 2, the process proceeds to step 2.

ステップ2においては上記Typeコード中のパラメー
タnの値を認識し以後送られてくる制御命令の制御命令
体系がAタイプであるかBタイプであるかを判断する。
In step 2, the value of the parameter n in the Type code is recognized and it is determined whether the control command system of the control commands sent thereafter is of type A or type B.

ここでAタイプの制御命令体系が指定されればステップ
3に進み、1’?AMa内のフラグレジスタ3aを@0
”として処理フローの1サイクルを終了する。一方、ス
テップ2において、制御命令体系Bが指定されればステ
ップ4に進み、RAMa内のフラグレジスタ3aを11
1として処理フローの1サイクルを終了する。
If the A type control command system is specified here, proceed to step 3 and proceed to step 1'? Set flag register 3a in AMa to @0
", one cycle of the processing flow ends. On the other hand, if control instruction system B is specified in step 2, the process advances to step 4, and the flag register 3a in RAMa is set to 11.
1 and ends one cycle of the processing flow.

一方、ステップ1において、CPU2に入力した制御命
令が、 Typeコードでなければステップ5に進みフ
ラグレジスタ3aにセットされている値を確認する。例
えばフラグレジスタ3aの値が“0”すなわちAタイプ
指定であればステップ6に進み制御命令体系Aに従って
ホストコンピュータ4と端末装置間でデータの授受、端
末機能制御等の個別制御を実行する(ステップ7)。ま
た。
On the other hand, in step 1, if the control command input to the CPU 2 is not a type code, the process proceeds to step 5 and the value set in the flag register 3a is checked. For example, if the value of the flag register 3a is "0", that is, type A is specified, the process proceeds to step 6, and in accordance with control command system A, individual control such as data exchange and terminal function control is executed between the host computer 4 and the terminal device (step 7). Also.

フラグレジスタ3aの値が11″すなわちBタイプ指定
であればステップ8に進み、制御命令体系Bに従ってホ
ストコンピュータ4と端末装置間でデータの授受、端末
機能制御等の個別制御を実行しくステップ9)、処理フ
ローを終了する。
If the value of the flag register 3a is 11'', that is, B type designation, the process proceeds to step 8, and in accordance with control command system B, individual control such as data exchange and terminal function control is executed between the host computer 4 and the terminal device (step 9). , ends the processing flow.

フラグレジスタ3aの値は端末装置の電源投入時、初期
設定値として0″がセットされるので。
The value of the flag register 3a is set to 0'' as an initial setting value when the terminal device is powered on.

ホストコンピュータから制御命令体系指定コード(Ty
peコード)が入力されない場合は、以後送られてくる
制御命令は全てAタイプの制御命令として扱われる。
Control instruction system specification code (Ty
pe code) is not input, all control commands sent thereafter are treated as A-type control commands.

尚、実施例では端末装置がA、82つの制御命令体系を
有する場合を示したが、それ以上の制御命令体系を備え
ても同様に実施できることは勿論である。
Incidentally, in the embodiment, a case has been shown in which the terminal device has A, 82 control command systems, but it goes without saying that the same implementation can be carried out even if the terminal device is equipped with more control command systems.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明したように本発明によれば、複数の制御
命令体系を有する端末装置において、接続されるホスト
コンピュータの制御命令体系に合せて端末装置側の制御
命令体系を切り換えるスイッチや指定釦を端末装置に設
ける必要がなくなり。
As explained in detail above, according to the present invention, in a terminal device having a plurality of control command systems, a switch or a designation button for switching the control command system on the terminal device side in accordance with the control command system of a connected host computer is provided. No need to install it on the terminal device.

ホストコンピュータの*a酋令体系に一致させる際、オ
ンライン状態のままでホストコンピュータの指示で制御
命令体系を切り換える事が可能となる。従って1台の端
末装置に制御命令体系の異なる複数のホストコンピュー
タを容易に接続して用いることが可能となる。
When matching the *a command system of the host computer, it becomes possible to switch the control command system according to instructions from the host computer while remaining online. Therefore, it becomes possible to easily connect and use a plurality of host computers with different control command systems to one terminal device.

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

第1図(a)は本発明の端末装置の回路ブロック図。 第1図(b)はRAMの構成図。 第2図はフローチャート図である。 1・・・ROM。 2・・・CPU。 3・・・RAM。 3a・・・フラグ。 4・・・ホストコンピュータ。 5・・・ホストインターフェイス。 6・・・端末機能制御部。 FIG. 1(a) is a circuit block diagram of a terminal device of the present invention. FIG. 1(b) is a configuration diagram of the RAM. FIG. 2 is a flowchart diagram. 1...ROM. 2...CPU. 3...RAM. 3a...Flag. 4...Host computer. 5...Host interface. 6...Terminal function control unit.

Claims (1)

【特許請求の範囲】[Claims] 複数の制御命令体系を有する端末装置において、ホスト
機器からの制御命令により前記制御命令体系を切換える
切換回路手段を有することを特徴とする端末制御装置。
What is claimed is: 1. A terminal control device having a plurality of control command systems, comprising a switching circuit for switching the control command systems in response to a control command from a host device.
JP60036149A 1985-02-25 1985-02-25 Terminal control device Pending JPS61195446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60036149A JPS61195446A (en) 1985-02-25 1985-02-25 Terminal control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60036149A JPS61195446A (en) 1985-02-25 1985-02-25 Terminal control device

Publications (1)

Publication Number Publication Date
JPS61195446A true JPS61195446A (en) 1986-08-29

Family

ID=12461728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60036149A Pending JPS61195446A (en) 1985-02-25 1985-02-25 Terminal control device

Country Status (1)

Country Link
JP (1) JPS61195446A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7324222B2 (en) 1999-03-18 2008-01-29 Seiko Epson Corporation Methods of controlling an information processing device, system embodying such control, and instruction-set-containing medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7324222B2 (en) 1999-03-18 2008-01-29 Seiko Epson Corporation Methods of controlling an information processing device, system embodying such control, and instruction-set-containing medium
US7826075B2 (en) 1999-03-18 2010-11-02 Seiko Epson Corporation Host device to control transmission of bit-map data to an imaging device
US7995226B2 (en) 1999-03-18 2011-08-09 Seiko Epson Corporation Imaging device and method of controlling the same
US8144357B2 (en) 1999-03-18 2012-03-27 Seiko Epson Corporation Imaging device and method of controlling the same
US8345274B2 (en) 1999-03-18 2013-01-01 Seiko Epson Corporation Imaging device and method of controlling the same
US8390835B2 (en) 1999-03-18 2013-03-05 Seiko Epson Corporation Imaging device and method of controlling the same
US8559046B2 (en) 1999-03-18 2013-10-15 Seiko Epson Corporation Processing of commands in an imaging device

Similar Documents

Publication Publication Date Title
US4734853A (en) Terminal control system
EP0929847B1 (en) Universal operator station module for a distributed process control system
JPS61195446A (en) Terminal control device
JP2000049891A (en) Programmable logic controller and communication condition setting method and communication condition setting device therefor
JP3261233B2 (en) Printing apparatus and processing method
JP2513029B2 (en) Task management method
JPH05265911A (en) Interface function-extension system and method
JPH07182261A (en) Information processor
JPS63310052A (en) Bus connection controller
JPS6339015A (en) Decentralized processing system for on-line conversation processing system
JPS6373417A (en) Terminal controller
JPS61147309A (en) Peripheral device for programmable controller
JPH0273446A (en) Interface switching circuit
JPH0793748B2 (en) Interlocking control system
JPH05181777A (en) Method for controlling peripheral device
JPS62219024A (en) Command converter
JPH01304567A (en) Inter-processor communication control system
JPS617923A (en) Printing system in terminal system
JPH04322346A (en) Virtual terminal system
JPH0357678A (en) Interface device of printer
JPS60189556A (en) Data processor
JPS62192451U (en)
JPH04130918A (en) Printer sharing system in computer network
JPH0444145A (en) Recognition system for terminal constitution
JPH0216076A (en) Printer