JPS63129450A - Command transfer system - Google Patents

Command transfer system

Info

Publication number
JPS63129450A
JPS63129450A JP27538086A JP27538086A JPS63129450A JP S63129450 A JPS63129450 A JP S63129450A JP 27538086 A JP27538086 A JP 27538086A JP 27538086 A JP27538086 A JP 27538086A JP S63129450 A JPS63129450 A JP S63129450A
Authority
JP
Japan
Prior art keywords
command
data
control
register
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
JP27538086A
Other languages
Japanese (ja)
Inventor
Shuji Mototani
本谷 修二
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP27538086A priority Critical patent/JPS63129450A/en
Publication of JPS63129450A publication Critical patent/JPS63129450A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To eliminate the need of a command establishing signal and to start an operation immediately at the time of receiving a command, by operating an external circuit by using the data housing pulse of the command. CONSTITUTION:A command sending means 1 which sends a control command and data attached on the control command, and a control means 2 which fetches the data from the command sending means 1 and also performs control corresponding to the control command at the time of adding the control command, are provided. The command sending means 1 adds the data required for the control by the control means 2 on the control means 2. And after those data are sent, the command is added on the command control means 2. The data is the one attached on the command, and the control means 2 starts a control operation corresponding to the command with an inputted data at the time of adding the command. Since the control means 2 starts the operation when the command is added, it is possible to eliminate the need of a conventional command establishing signal.

Description

【発明の詳細な説明】 C概   要〕 情報処理装置においては、データとコマンドとを受信し
、その後加わるコマンド確立信号によっテ動作するため
、そのコマンドに対する処理が遅れていた。本発明はデ
ータの後に加わるコマンドで動作を開始するものであり
、本発明によってコマンド確立信号を必要とせず、さら
にコマンドに対する応答処理の開始を早くするコマンド
転送方式が可能となる。
[Detailed Description of the Invention] C Overview] In an information processing device, data and a command are received, and the processing is delayed because the information processing device operates according to a command establishment signal that is added afterwards. The present invention starts an operation with a command added after data, and the present invention enables a command transfer method that does not require a command establishment signal and further allows a faster start of response processing to a command.

〔産業上の利用分野〕[Industrial application field]

本発明は情報処理装置に係り、特にコマンドとそのコマ
ンドに付随するデータとによって動作する装置のコマン
ド転送方式に関する。
The present invention relates to an information processing device, and particularly to a command transfer method for a device that operates based on a command and data accompanying the command.

〔従来の技術〕[Conventional technology]

情報処理装置や制御装置においては、それらの装置に目
的の動作処理を行なわせるべきホストコンピュータ等の
装置が接続している。
2. Description of the Related Art Information processing devices and control devices are connected to devices such as host computers that enable these devices to perform desired operations.

一般的に、前述のホストコンピュータと各種装置間はコ
マンドやそれに付随する複数のデータを送受するインタ
ーフェース回路が設けられ、それらを受信する一装置に
はさらにそのコマンドやデータを記憶するレジスタが設
けられている。
Generally, an interface circuit is provided between the above-mentioned host computer and various devices to send and receive commands and a plurality of data accompanying them, and one device that receives them is further provided with a register to store the commands and data. ing.

例えば、ホストコンピュータからそれらの装置を制御し
、目的の動作をさせる場合には、ホストコンピュータは
コマンドとデータ(データとは限らず、サブコマンド等
の場合もある)を制御装置等に加え、制御装置が有する
レジスタにそのコマンドとデータをまず格納していた。
For example, when controlling these devices from a host computer and making them perform the desired operation, the host computer adds commands and data (not necessarily data, but may also be subcommands, etc.) to the control device, etc. The command and data were first stored in the registers of the device.

そして、その後にコマンド確立信号を加え、前述したレ
ジスタに格納したデータとコマンドに対応した処理動作
を開始させていた。
After that, a command establishment signal is added to start the processing operation corresponding to the data and command stored in the register mentioned above.

第4図は従来方式の構成図、第5図は従来方式のタイミ
ングチャートである。
FIG. 4 is a block diagram of the conventional system, and FIG. 5 is a timing chart of the conventional system.

プロセッサ(CPU)10はレジスタアドレス線ADH
、データ線DA、コマンド確立信号線Cを有している。
The processor (CPU) 10 uses the register address line ADH.
, a data line DA, and a command establishment signal line C.

プロセッサ(CPU)10から例えば外部装置11を動
作させる時には、目的のレジスタにデータを格納する為
のデータ出力処理を行う。まず、目的のレジスタに格納
すべきデータをデータ線DAに出力する。そして、次に
レジスタアドレス線ADRにその目的のレジスタに対応
したレジスタアドレスを出力する。レジスタアドレス線
ADHは制御回路12のデコーダ13に加わっており、
デコーダ13は加わったレジスタアドレスをデコードす
る。デコーダ13のデコード出力はレジスタ14〜16
に接続されており、加わったレジスタアドレスに対応し
てレジスタ14〜16に格納信号を出力する。
When operating, for example, an external device 11 from the processor (CPU) 10, data output processing is performed to store data in a target register. First, data to be stored in the target register is output to the data line DA. Then, the register address corresponding to the target register is output to the register address line ADR. The register address line ADH is connected to the decoder 13 of the control circuit 12,
Decoder 13 decodes the added register address. The decoded output of the decoder 13 is in registers 14 to 16.
, and outputs a storage signal to the registers 14 to 16 in accordance with the added register address.

レジスタ14〜16のデータ入力端子はデータ線DAに
接続されており、プロセンサ(CPU)10から出力さ
れたデータが入力に加わる。そして、前述したデコーダ
から格納信号が加わると、そのデータを対応するレジス
タが取込む。
Data input terminals of the registers 14 to 16 are connected to a data line DA, and data output from the processor (CPU) 10 is added to the input. When a storage signal is applied from the decoder described above, the corresponding register takes in the data.

プロセッサ回路は前述した動作を目的のレジスタに順次
データやコマンドを送出する。例えばレジスタ14がコ
マンドレジスタであるならば、第5図に示すように、レ
ジスタ14にコマンドデータCRを格納し、続いてレジ
スタ15.16にデータDPI、DR2を格納する。そ
して、目的のデータやコマンドをレジスタ14〜16に
格納した後に、プロセッサ(CPU)10はコマンド確
立信号線Cにコマンド確立信号C8を出力する。
The processor circuit sequentially sends data and commands to registers intended for the operations described above. For example, if the register 14 is a command register, as shown in FIG. 5, command data CR is stored in the register 14, and then data DPI and DR2 are stored in registers 15 and 16. After storing the target data and commands in the registers 14 to 16, the processor (CPU) 10 outputs a command establishment signal C8 to the command establishment signal line C.

レジスター14〜16の出力並びにコマンド確立信号線
Cは外部装置11の端子1+〜X3、opに接続されて
おり、コマンド確立信号C8が加わると、その信号の立
下がりで外部装置11はコマンドとデータに対応した動
作をする。例えば外部装置が電源であるならば、出力電
圧の上限値と下限値がレジスタ15.16に格納され上
下限値設定コマンドがレジスタ14される。そして、コ
マンド確立信号CSが加わった時に、電源の上限値や下
限値が設定される。この上下限値の範囲を超えた時には
図示しない線にアラーム信号が加わり、電源異常等の情
報がプロセッサCPUに加わる。
The outputs of the registers 14 to 16 and the command establishment signal line C are connected to terminals 1+ to X3, op of the external device 11, and when the command establishment signal C8 is applied, the external device 11 receives the command and data at the fall of the signal. perform the corresponding action. For example, if the external device is a power supply, the upper and lower limits of the output voltage are stored in registers 15 and 16, and upper and lower limit value setting commands are sent to register 14. Then, when the command establishment signal CS is applied, the upper and lower limits of the power supply are set. When the upper and lower limit values are exceeded, an alarm signal is added to a line (not shown), and information such as power supply abnormality is sent to the processor CPU.

前述した動作は上下限値を設定する場合であるが、この
動作は例えば出力電圧の設定等のコマンドの場合も同様
である。
The above-described operation is for setting upper and lower limit values, but this operation is also similar for commands such as setting output voltage.

以上のように従来の回路は第5図における区間A(a点
とb点の間)の間でレジスタの設定を行った後コマンド
確立信号CSを外部装置に加え、外部装置11を制御す
る。
As described above, the conventional circuit controls the external device 11 by applying the command establishment signal CS to the external device after setting the registers during section A (between points a and b) in FIG.

なお、前述した動作において、コマンドやデータをレジ
スタに格納する順番は限定されることはなく、コマンド
確立信号が加わった時のレジスタ14〜16に格納され
ているデータやコマンドで外部装置11は動作する。
Note that in the above-described operation, the order in which commands and data are stored in the registers is not limited, and the external device 11 operates based on the data and commands stored in the registers 14 to 16 when the command establishment signal is applied. do.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述した動作において、目的のレジスタにデータやコマ
ンド等を格納した後コマンド確立信号を加える方式は、
そのコマンド確立信号を出力するための処理が必要とな
り、全体の処理動作開始が遅くなるという問題を有して
いる。
In the above-mentioned operation, the method of adding a command establishment signal after storing data, commands, etc. in the target register is as follows.
This requires processing to output the command establishment signal, which poses a problem in that the start of the entire processing operation is delayed.

本発明は上記従来の欠点に鑑み、コマンド確立信号を必
要とせず、コマンド受信時にただちに動作を開始するコ
マンド転送方式を提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned conventional drawbacks, it is an object of the present invention to provide a command transfer method that does not require a command establishment signal and starts operation immediately upon reception of a command.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の機能ブロック図である。1は制御コマ
ンドとその制御コマンドに付随するデータとを送出する
コマンド送出手段、2は前記コマンド送出手段からの前
記データを取込むとともに、前記制御コマンドが加わっ
た時に前記制御コマンドに対応する制御を行う制御手段
である。
FIG. 1 is a functional block diagram of the present invention. 1 is a command sending means for sending a control command and data accompanying the control command; 2 is a means for receiving the data from the command sending means, and when the control command is added, performs control corresponding to the control command; It is a control means to perform.

〔作   用〕[For production]

コマンド送出手段1は制御手段2で制御させるに必要と
するデータを制御手段2に加える。そして、それらのデ
ータを送出した後にコマンドを制御手段2に加える。前
記データは前記コマンドに付随するデータであり、制御
手段2は前記コマンドが加わった時に入力したデータと
ともにそのコマンドに対応した制御動作を開始する。コ
マンドが加わった時に制御手段2は動作を開始するので
、従来のようなコマンド確立信号等は必要としない。
The command sending means 1 adds data necessary for controlling the control means 2 to the control means 2. Then, after sending out those data, a command is applied to the control means 2. The data is data accompanying the command, and the control means 2 starts a control operation corresponding to the command together with the data input when the command is added. Since the control means 2 starts operating when a command is applied, there is no need for a command establishment signal or the like as in the prior art.

〔実  施  例〕〔Example〕

以下、図面を用いて本発明の詳細な説明する。 Hereinafter, the present invention will be explained in detail using the drawings.

第2図は本発明の実施例の構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

プロセッサ(CPU)3はレジスタアドレス線ADR,
データ線DAを有しており、レジスタアドレス線ADH
は制御回路4内のデコーダ5に、データ線DAはレジス
タ6.7.8に共通に接続している。
Processor (CPU) 3 uses register address lines ADR,
It has a data line DA and a register address line ADH.
are commonly connected to the decoder 5 in the control circuit 4, and the data line DA is commonly connected to the registers 6.7.8.

プロセッサ(CPU)3において、外部回路9の制御要
求が発生した時には、先ずプロセッサ3はデータDRI
、DR2をレジスタ7.8に格納する。この格納は、デ
ータ線DAにデータを先ず出力し、続いて格納すべきア
ドレス値をレジスタアドレス線ADRに出力する。アド
レス値はデコーダ5に加わるので、デコーダ5はそのア
ドレス値に対応した出力端子に例えばIIレベルを出力
する。デコーダ5のデコーダ出力はレジスタ6〜81、
の取込みクロック端子に加わっており、Hレベルが加わ
ったレジスタはその立上がりでデータ線DA上のデータ
を取込む。例えばデータDPI、DR2が順次前述の動
作によってレジスタ7.8に取込まれる。
In the processor (CPU) 3, when a control request for the external circuit 9 occurs, the processor 3 first outputs the data DRI.
, DR2 are stored in register 7.8. This storage first outputs data to the data line DA, and then outputs the address value to be stored to the register address line ADR. Since the address value is applied to the decoder 5, the decoder 5 outputs, for example, II level to the output terminal corresponding to the address value. The decoder output of decoder 5 is in registers 6 to 81,
The register to which the H level is applied takes in the data on the data line DA at the rising edge of the register. For example, data DPI and DR2 are sequentially taken into register 7.8 by the above-described operation.

レジスタ6はコマンドを格納するレジスタであり、プロ
セッサ3はそのコマンドに対応したデータをレジスタ6
に前述した動作で格納する。一方、デコーダ5のデコー
ド出力は前述したようにレジスタ6の取込みクロック端
子に加わるが、この他に外部回路の端子OPにも加わっ
ている。この端子OPは動作開始信号端子であり、外部
回路9はこの端子に加わる信号の立下がりすなわちHレ
ベルからLレベルへの変化で動作を開始する。
Register 6 is a register that stores commands, and processor 3 stores data corresponding to the command in register 6.
is stored using the operation described above. On the other hand, the decoded output of the decoder 5 is applied to the input clock terminal of the register 6 as described above, but is also applied to the terminal OP of the external circuit. This terminal OP is an operation start signal terminal, and the external circuit 9 starts its operation when the signal applied to this terminal falls, that is, changes from H level to L level.

外部回路9の端子■1〜■3はレジスタ6〜8の出力に
接続されており、前述した端子OPに加わる信号の立下
がりで、このレジスタの内容に対応する動作を開始する
従来の回路においては、プロセッサ3からコマンド確立
信号を出力する。しかしながら、本発明の実施例におい
てはその必要はなく、コマンドをレジスタ6に格納した
時にデコーダ5より発生する1g号の立下がりで外部回
路9は動作を開始する。
The terminals ■1 to ■3 of the external circuit 9 are connected to the outputs of the registers 6 to 8, and in the conventional circuit, the operation corresponding to the contents of this register starts at the fall of the signal applied to the terminal OP mentioned above. outputs a command establishment signal from the processor 3. However, in the embodiment of the present invention, this is not necessary, and the external circuit 9 starts operating at the fall of the signal 1g generated by the decoder 5 when the command is stored in the register 6.

第3図は前述した本発明の実施例のタイミングチャート
である。
FIG. 3 is a timing chart of the embodiment of the present invention described above.

例えば、デコーダDRI、DR2を必要とするコマンド
の時には、データDPIをレジスタ7に格納し、続いて
データDR2をレジスタ8に格納する。目的のデータを
全て格納した後で、最終的にそのデータに関するコマン
ドCRをレジスタ6に格納する。この動作は区間A(点
aと点す間)で行われる。このコマンドCRの格納にお
いては、デコーダ5からHレベルの信号が出力される。
For example, when a command requires decoders DRI and DR2, data DPI is stored in register 7, and then data DR2 is stored in register 8. After all the target data is stored, the command CR related to the data is finally stored in the register 6. This operation is performed in section A (between point a and point A). When storing this command CR, the decoder 5 outputs an H level signal.

レジスタ6はデコーダ5から出力される信号の立上がり
すなわちLレベルからHレベルの変化でデータ線上のデ
ータ(プロセッサ3から出力されるコマンド)を取込む
The register 6 takes in data (commands output from the processor 3) on the data line at the rise of the signal output from the decoder 5, that is, when the signal changes from L level to H level.

第2図においては図示しないが、デコーダにはチップ選
択信号すなわちデコーダ5をイネーブルとする信号が加
わっており、レジスタアドレスが確定した時にデコーダ
5をイネーブルとするように構成している。すなわちデ
コーダ5はその時にHレベルのパルスを出力する。この
立上がりでレジスタ6はデータ線DA上のコマンドを取
込む。
Although not shown in FIG. 2, a chip selection signal, that is, a signal for enabling the decoder 5 is added to the decoder, and the decoder 5 is enabled when the register address is determined. That is, the decoder 5 outputs an H level pulse at that time. At this rising edge, register 6 takes in the command on data line DA.

そしてその立下がりで外部回路9が動作する。外部回路
9は例えばコンピュータ3で制御される電源であった時
には、従来と同様に、プロセッサ(CPU3)上下限値
設定コマンドに対するデータ(上限電圧値、下限電圧値
)をレジスタ7.8に格納する。そして、上下限値設定
コマンドをしジスタロに格納する。レジスタ6へのコマ
ンドの格納パルスの立下がりでこの電源は上下限値設定
コマンドを実行する。電源は、この設定以後は、出力電
圧が負荷の条件によって電圧範囲外となった時に図示し
ないが、アラーム信号をプロセッサ3に出力する。
Then, at the falling edge, the external circuit 9 operates. For example, when the external circuit 9 is a power supply controlled by the computer 3, it stores data (upper limit voltage value, lower limit voltage value) in response to the processor (CPU 3) upper and lower limit value setting commands in the register 7.8, as in the past. . Then, execute the upper and lower limit value setting commands and store them in the register. At the fall of the command storage pulse in the register 6, this power supply executes the upper and lower limit value setting commands. After this setting, the power supply outputs an alarm signal (not shown) to the processor 3 when the output voltage falls outside the voltage range due to load conditions.

前述のコマンドはそれ以外にもあり、例えば出力電圧設
定コマンド、カレントプロテクト設定コマンド等電源と
しての条件を設定できる。
There are other commands as well, such as an output voltage setting command and a current protection setting command, which can set conditions for the power supply.

以上述べたように本発明はコマンドが格納された直後に
電源等の外部回路を動作させるので、従来のようにコマ
ンド確定信号等を発生する必要がなく、またそれを発生
する処理の時間を必要としない。
As described above, the present invention operates external circuits such as a power supply immediately after a command is stored, so there is no need to generate a command confirmation signal, etc., as in the past, and time is required for processing to generate it. I don't.

なお、本発明の実施例では電源の制御について説明した
が、これに限らず他の装置等にも同様に応用可能である
Although the embodiments of the present invention have been described with respect to power supply control, the present invention is not limited to this and can be similarly applied to other devices.

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

以上、述べたように、本発明はコマンドのデータ格納パ
ルスを用いて外部回路を動作させるので、それを制御す
るプロセッサからのコマンド確定信号を送出する必要が
なく、本発明によれば、コマンド蒲立信号を必要とせず
、コマンド受信時にただちに動作を開始するコマンド転
送方式を得ることができる。
As described above, since the present invention operates the external circuit using the data storage pulse of the command, there is no need to send a command confirmation signal from the processor that controls it. It is possible to obtain a command transfer method that does not require a rising signal and starts operation immediately upon reception of a command.

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

第1図は本発明の機能ブロック図、 第2図は本発明の実施例の構成図、 第3図は本発明のタイミングチャート、第4図は従来方
式の構成図、 第5図は従来方式のタイミングチャートである。 ■・・・コマンド送出手段、 2・・・制御手段。 特許出願人   富士通株式会社 本発明の1L化ア°ロック図 第1図 隷印)の つ娑ノイ乏イクりめ才五力X匹]第2図 木柊明の火施夕1のクィミレ7゛チャート第3図 従来ガ弐の講ハロ 第4図
Fig. 1 is a functional block diagram of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a timing chart of the present invention, Fig. 4 is a block diagram of a conventional system, and Fig. 5 is a conventional system. This is a timing chart. ■...Command sending means, 2...Controlling means. Patent Applicant: Fujitsu Limited 1L Lock Diagram of the Present Invention (Fig. 1) Figure 2: 1 L of Lock Diagram (1) Chart Figure 3 Conventional Ga 2 Lecture Halo Figure 4

Claims (1)

【特許請求の範囲】[Claims] 制御コマンドと該制御コマンドに付随するデータとを送
出するコマンド送出手段(1)と、該コマンド送出手段
(1)からの前記データを取込むとともに、前記制御コ
マンドが加わった時に前記制御コマンドに対応する制御
を行う制御手段(2)とより成ることを特徴としたコマ
ンド転送方式。
a command sending means (1) for sending out a control command and data accompanying the control command; and a command sending means (1) that takes in the data from the command sending means (1) and responds to the control command when the control command is added. 1. A command transfer method characterized by comprising: a control means (2) for performing control.
JP27538086A 1986-11-20 1986-11-20 Command transfer system Pending JPS63129450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27538086A JPS63129450A (en) 1986-11-20 1986-11-20 Command transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27538086A JPS63129450A (en) 1986-11-20 1986-11-20 Command transfer system

Publications (1)

Publication Number Publication Date
JPS63129450A true JPS63129450A (en) 1988-06-01

Family

ID=17554680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27538086A Pending JPS63129450A (en) 1986-11-20 1986-11-20 Command transfer system

Country Status (1)

Country Link
JP (1) JPS63129450A (en)

Similar Documents

Publication Publication Date Title
US4918647A (en) Programmable interface unit which generates dedicated control signals in response to a single control word
JPS63129450A (en) Command transfer system
US5121351A (en) Floating point arithmetic system
US5333259A (en) Graphic information processing system having a RISC CPU for displaying information in a window
JPH0267665A (en) Interface circuit
JP3074809B2 (en) Programmable controller
KR880004413Y1 (en) Control signal device of calculator
JPS60178570A (en) Data receiver
JPS54145447A (en) Input-output control system
KR890001798B1 (en) Data signal processing apparatus
KR950014374B1 (en) Dma recognizing signal generating circuit
JPH05128279A (en) One-chip microcomputer
JPS6254340A (en) Information processor
JPH0341542A (en) Peripheral controller
JPS58181134A (en) Data transfer circuit
JPS5971510A (en) Sequence control circuit
JPS62241041A (en) Information processor
JPS63173114A (en) Data input device
JPS61123923A (en) Controller for transferring data between cpu and disk memory
JPS57157329A (en) Input and output control system in electronic computer system
JPH01266642A (en) Memory controller
JPH03219342A (en) Programmable address conversion system
JPS63296159A (en) Microcomputer system
JPH05189344A (en) Microprocessor
JPS63174132A (en) Interruption controller