JPH0619751B2 - Command transfer method to multiple devices - Google Patents
Command transfer method to multiple devicesInfo
- Publication number
- JPH0619751B2 JPH0619751B2 JP1302014A JP30201489A JPH0619751B2 JP H0619751 B2 JPH0619751 B2 JP H0619751B2 JP 1302014 A JP1302014 A JP 1302014A JP 30201489 A JP30201489 A JP 30201489A JP H0619751 B2 JPH0619751 B2 JP H0619751B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- code
- peripheral
- data
- peripheral units
- 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.)
- Expired - Lifetime
Links
- 238000012546 transfer Methods 0.000 title claims description 27
- 238000000034 method Methods 0.000 title claims description 22
- 230000002093 peripheral effect Effects 0.000 claims description 58
- 230000005540 biological transmission Effects 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 6
- 238000013507 mapping Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Description
【発明の詳細な説明】 [概要] ホスト計算機等の管理ユニットと,複数の周辺ユニット
と,これらの間を接続する共通伝送路とを備えたデータ
処理システムにおける複数装置へのコマンド転送方法に
関し, 信号線の数や送信および受信のハードウェアを従来と比
して増やすことなく,効率よく周辺ユニットにコマンド
を転送できるようにすることを目的とし, 複数の周辺ユニットに対してそれぞれ固有の実行開始コ
ードが割り当てられ,管理ユニットは,複数の周辺ユニ
ットのうちの任意のものにコマンドを転送するにあた
り,一連の命令コードにその転送先周辺ユニットの実行
開始コードを付加したコマンドを作成してこれを共通伝
送路を介して全ての周辺ユニットに送信し,各周辺ユニ
ットは受信したコマンド中の実行開始コードで自局が指
定された時だけそのコマンドを実行するように構成され
る。DETAILED DESCRIPTION OF THE INVENTION [Outline] A command transfer method to a plurality of devices in a data processing system including a management unit such as a host computer, a plurality of peripheral units, and a common transmission path connecting these units, In order to enable efficient command transfer without increasing the number of signal lines and the hardware for transmission and reception compared with the conventional method, start execution unique to each peripheral unit. A code is assigned, and when the management unit transfers a command to any of a plurality of peripheral units, it creates a command in which the execution start code of the transfer destination peripheral unit is added to a series of instruction codes and creates this command. It is sent to all the peripheral units via the common transmission line, and each peripheral unit uses its own execution start code in the received command. A station is configured to execute its command only when specified.
本発明はデータ処理システムにおいて,ホスト計算機等
から周辺装置等へコマンドを転送する複数装置へのコマ
ンド転送方法に関する。The present invention relates to a command transfer method for transferring a command from a host computer or the like to a peripheral device or the like in a data processing system to a plurality of devices.
コマンド転送方法としては,システムのハードウェア規
模を大きくすることなく,高速に効率よくコマンドを転
送できることが必要とされる。As a command transfer method, it is necessary to transfer commands quickly and efficiently without increasing the hardware scale of the system.
ホスト計算機から周辺装置にコマンドを転送するシステ
ムとして,例えば第7図に示されるようなものがある。
このものはホスト計算機1と各周辺装置2〜2の間
をそれぞれ別のコマンドケーブル3〜3で接続した
ものであり,ホスト計算機1はコマンドを転送したい先
の周辺装置へのみコマンドケーブルを介して個別的にコ
マンド転送を行う。As a system for transferring a command from a host computer to a peripheral device, there is a system as shown in FIG. 7, for example.
This is one in which the host computer 1 and each peripheral device 2 to 2 are connected by different command cables 3 to 3, respectively, and the host computer 1 only via the command cable to the peripheral device to which the command is to be transferred. Command transfer is performed individually.
この方法は制御が簡単であり,転送速度も速いという利
点があるが,反面,周辺装置2の数が増えてくると,コ
マンドケーブル3の本数が多くなり,その結果,ケーブ
ルの引落しが難しくなり,ホスト計算機のポート数が増
加し,ケーブル配線に必要な空間が増大するなどの問題
を引き起こす。This method has the advantage that the control is simple and the transfer speed is fast, but on the other hand, when the number of peripheral devices 2 increases, the number of command cables 3 increases, and as a result, it is difficult to pull down the cables. This leads to problems such as an increase in the number of host computer ports and an increase in the space required for cable wiring.
そこでコマンドケーブルの本数を減らしつつ多数の周辺
装置を制御できるコマンド転送方法として,第8図に示
されるようなバス形態のネットワークを用いたシステム
がある。このものはホスト計算機1と周辺装置2〜2
間をGP−IB方式のケーブル4で接続し,所定の通
信制御手順にしたがってホスト計算機1から目的とする
周辺装置にコマンドを転送するものである。この通信制
御手順としては,例えば ホスト計算機1から全周辺装置2〜2にデータ送
信法を指示: 全周辺装置2〜2がホスト計算機1にACK信号
を返送するのを待機: ホスト計算機1から周辺装置2〜2中の送信元装
置,受信先装置を指定: ホスト計算機1から,これからデータ(コマンド)を
送る旨の通知: ホスト計算機1から実際のデータ転送: のようなものになる。Therefore, as a command transfer method capable of controlling a large number of peripheral devices while reducing the number of command cables, there is a system using a bus type network as shown in FIG. This is a host computer 1 and peripheral devices 2 to 2.
The cables are connected to each other by a GP-IB type cable 4, and a command is transferred from the host computer 1 to a target peripheral device according to a predetermined communication control procedure. As the communication control procedure, for example, the data transmission method is instructed from the host computer 1 to all the peripheral devices 2 to 2: Waiting for all the peripheral devices 2 to 2 to send back an ACK signal to the host computer 1: From the host computer 1 to the peripherals Designate the source device and the destination device in the devices 2 and 2: Notification from the host computer 1 that data (command) will be sent from now: Actual data transfer from the host computer 1:
バス形態ネットワークを用いた上述のコマンド転送方法
は,通信制御手順(プロトコル)が複雑であり,データ
送信法の指示に時間がかかる。すなわちオーバヘッドが
大きい。またハードウェアも複雑なものとなる。In the above command transfer method using the bus network, the communication control procedure (protocol) is complicated and it takes time to instruct the data transmission method. That is, the overhead is large. In addition, the hardware becomes complicated.
したがって本発明の目的は,信号線の数や送信ハードウ
ェア,受信ハードウェアを従来と比して増やすことな
く,複雑なプロトコルを用いずに効率よく周辺装置にコ
マンドを転送できるようにすることにある。Therefore, an object of the present invention is to enable efficient command transfer to a peripheral device without using a complicated protocol without increasing the number of signal lines, the transmission hardware, and the reception hardware as compared with the related art. is there.
第1図は本発明に係る原理説明図であり,第2図は本発
明方法を行うデータ処理システムの概略構成を示す図で
ある。FIG. 1 is a diagram for explaining the principle of the present invention, and FIG. 2 is a diagram showing a schematic configuration of a data processing system for carrying out the method of the present invention.
本発明に係る複数の装置へのコマンド転送方法はホスト
計算機等の管理ユニット11と、複数の周辺ユニット1
2〜12と、これらの間を接続する共通伝送路13
とが備えられ、該複数の周辺ユニット12〜12に
対してそれぞれ固有の実行開始コードが割り当てられ、
該管理ユニット11は、該複数の周辺ユニット12〜
12のうちの任意のものに命令コマンドを実行させる
にあたり、一連の命令コマンドに複数の転送先周辺ユニ
ットの実行開始コードを付加した可変長コマンドを作成
して全ての周辺ユニット12〜12に送信し、各周
辺ユニット12〜12は受信した可変長コマンドを
一端保持し、コマンド中の実行開始コードをチェック
し、該コードにより自局が指定された時だけ前記命令コ
マンドを実行するように構成される。A method of transferring a command to a plurality of devices according to the present invention includes a management unit 11 such as a host computer and a plurality of peripheral units 1.
2 to 12 and a common transmission line 13 that connects them
And a unique execution start code is assigned to each of the plurality of peripheral units 12 to 12,
The management unit 11 includes the plurality of peripheral units 12 ...
When executing any of the 12 command commands, a variable length command in which the execution start codes of a plurality of transfer destination peripheral units are added to a series of command commands is created and transmitted to all peripheral units 12 to 12. Each of the peripheral units 12 to 12 is configured to hold the received variable length command, check the execution start code in the command, and execute the command command only when the own station is designated by the code. .
いま管理ユニット11から周辺ユニット12〜12
のうちの,例えばユニット12にコマンドを転送し,
その周辺ユニット12でコマンドを実行させるものと
する。Now from the management unit 11 to the peripheral units 12 to 12
Of these, for example, transfer the command to the unit 12,
It is assumed that the peripheral unit 12 executes the command.
転送するコマンドとしては例えば第1図[A]に示され
るものが用いられる。ここでは一つのコードの語長を8
ビットとし,16進符号で表示する。これらのコード
中,“F*”のように先頭に“F”がついたコードは制
御コードとして特殊目的に使われるものであり,この例
では“FF”はリセットコード,“F0”〜“FE”は
実行開始コードである。As the command to be transferred, for example, the command shown in FIG. 1 [A] is used. Here, the word length of one code is 8
Bits are displayed in hexadecimal code. Among these codes, a code with "F" at the beginning such as "F *" is used as a control code for a special purpose. In this example, "FF" is a reset code and "F0" to "FE". "Is the execution start code.
実行開始コード“F0”〜“FE”は,第3図に示され
るように,各周辺ユニット12〜12にそれぞれ固
有のコードとなるよう割り当てられている。この例では
8ビットコードであるため,実行開始コード“F0”〜
“FE”が割り当てられる周辺ユニット12〜12
の最大数は15台になる。The execution start codes "F0" to "FE" are assigned to the peripheral units 12 to 12 as unique codes, as shown in FIG. In this example, since it is an 8-bit code, the execution start code "F0"-
Peripheral units 12-12 to which "FE" is assigned
The maximum number of cars will be 15.
その他のコードは命令語あるいはデータ等として用いら
れる。第1図[A]の例では,動作種類の指定を行う命
令コードとしての“D8”,補助コードとしての“2
0”,データ送信先コードとしての“4F”,データ受
信先コードとしての“C0”,“D0”で一連の命令コ
ード列を形成している。Other codes are used as command words or data. In the example of FIG. 1 [A], "D8" as an instruction code for specifying the operation type and "2" as an auxiliary code.
0 "," 4F "as the data transmission destination code, and" C0 "," D0 "as the data reception destination code form a series of instruction code strings.
コマンドの構成は,初めにリセットコード“FF”,そ
れに続いて命令コード列“D8”〜“D0”,そして最
後に実行開始コード“F0”が並ぶものになり,このコ
マンドが管理ユニット11から共通伝送路13を介して
全ての周辺ユニット12〜12に順次に送られる。The command structure is such that the reset code "FF" is first, followed by the instruction code string "D8" to "D0", and finally the execution start code "F0". This command is shared by the management unit 11. It is sequentially sent to all the peripheral units 12 to 12 via the transmission line 13.
各周辺ユニット12〜12は送られてきたコマンド
を一時的に保持する手段を有しており,コマンドの先頭
ワードであるリセットコード“FF”を受信すると,こ
の保持手段の内容がクリアされる。そして続いて入力さ
れる命令コード列を逐次蓄え,最後に受信した実行開始
コードの内容をチェックする。Each of the peripheral units 12 to 12 has means for temporarily holding the sent command, and when the reset code "FF" which is the first word of the command is received, the contents of this holding means are cleared. Then, successively input instruction code strings are sequentially stored, and the content of the last received execution start code is checked.
このチェックの結果,受信した実行開始コードが自局を
指定したものである場合には,保持手段に保持した命令
内容を実行するよう動作を開始する。As a result of this check, when the received execution start code specifies the own station, the operation is started to execute the instruction content held in the holding means.
動作終了後は別の信号線を介して管理ユニット11に動
作終了を通知する。After the operation is completed, the management unit 11 is notified of the completion of the operation via another signal line.
一方,自局を指定したものでない場合は,その周辺ユニ
ットはそのコマンドを無視し,コマンドの実行は行わな
い。On the other hand, if the own station is not specified, the peripheral unit ignores the command and does not execute the command.
各周辺ユニット12〜12は次のコマンド転送サイ
クルでは,そのコマンドの先頭のリセットコード“F
F”で保持手段の内容がリセットされるため,前回の転
送サイクルで指定されているか否かにかかわらず,各転
送サイクルにおいて常に正常に動作する。In the next command transfer cycle, each of the peripheral units 12 to 12 receives the reset code "F" at the head of the command.
Since the contents of the holding means are reset at F ″, the normal operation is always performed in each transfer cycle regardless of whether it is designated in the previous transfer cycle.
1回のコマンド転送サイクルで複数の周辺ユニットに同
一コマンドを実行させたい場合には,第1図[B]に示
されるように,実行開始コードを複数個続けて送ればよ
い。第1図[B]の例では周辺ユニット12の開始コ
ード“F0”と周辺ユニット12の開始コード“F
4”が連続して送られており,それにより周辺ユニット
12と12が同一のコマンドを実行することにな
る。When it is desired to cause a plurality of peripheral units to execute the same command in one command transfer cycle, a plurality of execution start codes may be sent in succession as shown in FIG. 1B. In the example of FIG. 1 [B], the start code “F0” of the peripheral unit 12 and the start code “F of the peripheral unit 12”
4 "are sent continuously, which causes the peripheral units 12 and 12 to execute the same command.
[実施例] 以下,図面を参照して本発明の実施例を説明する。Embodiments Embodiments of the present invention will be described below with reference to the drawings.
第4図には,本発明の一実施例としてのコマンド転送方
法を用いたデータ処理システムが示される。このシステ
ムは例えば特開昭59−184973号,特開昭60−
218183号,特開昭63−113782号,特願昭
63−172796号等に開示されているような,ロボ
ット等の視覚センサとしての画像処理システムであり,
画像輪郭抽出等の種々の画像処理を行う複数台の画像処
理用周辺ユニット20と,これら複数台の周辺ユニット
20を管理,制御するホストコンピュータ40と,これ
らホストコンピュータ40と周辺ユニット20間を結ぶ
データウェイ51,52および制御バス53等を含み構
成されている。なお,図中では周辺ユニット20は1台
のみが示されている。FIG. 4 shows a data processing system using a command transfer method as an embodiment of the present invention. This system is disclosed, for example, in JP-A-59-184973 and JP-A-60-
218183, Japanese Patent Application Laid-Open No. 63-113782, Japanese Patent Application No. 63-172796, and the like, which is an image processing system as a visual sensor for a robot or the like,
A plurality of image processing peripheral units 20 for performing various image processes such as image contour extraction, a host computer 40 for managing and controlling the plurality of peripheral units 20, and a connection between the host computer 40 and the peripheral units 20. The data ways 51, 52 and the control bus 53 are included. In the figure, only one peripheral unit 20 is shown.
周辺ユニット20はコントローラボード21,データウ
ェイ・インタフェース(I/F)ボード22,23,プ
ログラムロード制御ボード24,バッファメモリボード
25,データモニタボード26,複数枚の写像ボード2
7〜27,モニタ28,データ/コントロールバス
29等を含み構成されている。The peripheral unit 20 includes a controller board 21, data way interface (I / F) boards 22, 23, a program load control board 24, a buffer memory board 25, a data monitor board 26, and a plurality of mapping boards 2.
7 to 27, a monitor 28, a data / control bus 29 and the like.
コントローラボート21はホストコンピュータ40から
制御バス53を介してコマンド等の制御情報を取り込ん
でユニット内の各ボードの動作を制御するボードであ
る。The controller boat 21 is a board that receives control information such as commands from the host computer 40 via the control bus 53 and controls the operation of each board in the unit.
データウェイI/Fボード22,23はデータウェイ5
1,52からデータをそれぞれ取り込んでユニット内の
各ボードに転送するボードである。写像ボードは画像デ
ータを並列演算により処理するボードであり,例えば7
7枚のボードが並列配置される。Data way I / F boards 22 and 23 are data way 5
It is a board that takes in data from 1, 52 respectively and transfers it to each board in the unit. The mapping board is a board that processes image data by parallel calculation.
Seven boards are arranged in parallel.
プログラム制御ボード24はデータウェイ51,52か
らデータウェイI/Fボード22,23を介して与えら
れたマイクロプログラムを並直列変換してロード線20
1を介して写像ボード27〜27にロードする等の
制御を行うボードである。The program control board 24 parallel-serial converts the microprogram given from the data ways 51 and 52 via the data way I / F boards 22 and 23 to load the load line 20.
It is a board that performs control such as loading onto the mapping boards 27 to 27 via the control unit 1.
第5図にはコントローラボード21の詳細な構成が示さ
れる。図示の如く,AND回路30〜33,比較器3
4,35,カウンタ36,デコーダ37,フリップフロ
ップ38,ゲートバッファ39等を含み構成される。FIG. 5 shows the detailed structure of the controller board 21. As shown, the AND circuits 30 to 33, the comparator 3
4, 35, a counter 36, a decoder 37, a flip-flop 38, a gate buffer 39 and the like.
このコントローラボード21にはホストコンピュータ4
0から8ビット幅のコマンドデータ等の制御情報が取り
込まれるようになっており,またホストコンピュータ4
0からのストローブパルスも入力される。コマンドとし
ては先に第1図および第3図で説明したものと同じフォ
ーマットのものを用いるものとする。前述の如く,リセ
ットコード“FF”,命令コード,補助コード,データ
送信元コード,データ受信先コード,実行開始コードで
構成されている。This controller board 21 has a host computer 4
Control information such as command data having a width of 0 to 8 bits is loaded, and the host computer 4
The strobe pulse from 0 is also input. It is assumed that the command has the same format as that described above with reference to FIGS. 1 and 3. As described above, the reset code "FF", the instruction code, the auxiliary code, the data transmission source code, the data reception destination code, and the execution start code.
命令コードは動作種類の指定を行うコードであり,例え
ばマイクロプログラム格納のメモリ先頭アドレスを指定
できる。補助コードは例えばマイクロプログラムのロー
ドを指定することなどに使うコードであり,“4F”の
時には全ての写像ボードを指定する意味を持つ。The instruction code is a code for designating the operation type, and for example, the memory start address of the microprogram can be designated. The auxiliary code is, for example, a code used to specify loading of a micro program, and has a meaning of specifying all mapping boards when "4F".
データ送信元コードを例えば“80”の時にはデータウ
ェイI/Fボードを指定するコードである。またデータ
受信先コードは例えば“E0”の時にプログラムロード
制御ボードを指定するコードとなる。When the data transmission source code is "80", for example, it is a code for designating the data way I / F board. The data receiving destination code is a code for designating the program load control board when it is "E0", for example.
AND回路30,31にはコマンドデータのそれぞれ上
位4ビットと下位4ビットが入力されており,これらA
ND回路30,31の出力信号はAND回路32に入力
される。この構成によりAND回路30〜32はコマン
ド中のリセットコード“FF”の検出回路として機能し
ており,その検出信号はカウンタ36にリセット入力さ
れ,かつフリップフロップ38にセット入力されると共
に,バス29を介してユニット20内の各ボードにリセ
ット信号ST・RESとして出力される。The upper 4 bits and the lower 4 bits of the command data are input to the AND circuits 30 and 31, respectively.
The output signals of the ND circuits 30 and 31 are input to the AND circuit 32. With this configuration, the AND circuits 30 to 32 function as a detection circuit of the reset code "FF" in the command, and the detection signal is reset and input to the counter 36 and set to the flip-flop 38, and the bus 29 Is output to each board in the unit 20 as a reset signal ST.RES.
比較器34にはコマンドの下位4ビットがP入力端子
に,またAND回路30の出力信号がG入力端子にそれ
ぞれ入力されており,さらにQ入力端子には,各ユニッ
ト20に固有に割り当てられた“0”〜“E”のうちの
いずれかの固定コードが入力されている。そしてP入力
とQ入力が一致し,かつG入力を受けた時に出力信号を
ANDゲート33に出力する。The lower 4 bits of the command are input to the P input terminal and the output signal of the AND circuit 30 is input to the G input terminal of the comparator 34, and the Q input terminal is uniquely assigned to each unit 20. A fixed code of any of "0" to "E" has been input. When the P input and the Q input match and the G input is received, the output signal is output to the AND gate 33.
比較器35はP入力端子に8ビットのコマンドが入力さ
れ,またQ入力端子には“4F”の固定コードが入力さ
れており,したがってこの比較器35は“4F”検出機
能を持ち,“4F”検出時にST・ALL信号をコント
ロールバス20に出力する。An 8-bit command is input to the P input terminal of the comparator 35, and a fixed code of "4F" is input to the Q input terminal. Therefore, the comparator 35 has a "4F" detection function and a "4F" detection function. Upon detection, the ST / ALL signal is output to the control bus 20.
第6図はコントローラボード21における各部信号のタ
イムチャートである。この第6図を参照しつつコントロ
ーラボード21の動作を説明する。FIG. 6 is a time chart of each signal in the controller board 21. The operation of the controller board 21 will be described with reference to FIG.
ホストコンピュータ40から第1図[A]に示す如くの
コマンドが8ビットパラレル,ワードシリアルに順次入
力されると,まずリセットコード“FF”がAND回路
30〜32で検出されてストローブパルスに同期してリ
セット信号ST・RESが出力され,それによりカウン
タ36がリセットされると共に,フリップフロップ38
によりゲートバッファ39が開かれ,以降,このゲート
バッファ39を介してその時のコードデータがデータバ
ス29を介してユニット20内の各ボードに送出され
る。またこのリセット信号ST・RESがコントロール
バス29のST・RES線を介してユニット20内の各
ボードに送られて,それらのボードがリセットされる。When commands as shown in FIG. 1A are sequentially input from the host computer 40 in 8-bit parallel and word serial, the reset code "FF" is first detected by the AND circuits 30 to 32 and synchronized with the strobe pulse. And a reset signal ST.RES is output, which resets the counter 36 and causes the flip-flop 38 to
Thus, the gate buffer 39 is opened, and thereafter, the code data at that time is sent to each board in the unit 20 via the data bus 29 via the gate buffer 39. Further, this reset signal ST.RES is sent to each board in the unit 20 through the ST.RES line of the control bus 29 to reset those boards.
命令コードとしての“D8”が次に入力されると,カウ
ンタ36のカウントアップによりデコーダ37で第6図
(E)のパルスが得られ,そのパルスがコントロールバ
ス29のST・MOD線へ送出される。When "D8" as the instruction code is next input, the counter 36 counts up and the decoder 37 obtains the pulse shown in FIG. 6 (E), which is sent to the ST.MOD line of the control bus 29. It
次に,補助コードとしての“20”が入力されると,第
6図(F)のパルスがコントロールバス29のST・A
UX線へ送出される。次にデータ送信元コードが入力さ
れると,第6図(G)のパルスがコントロールバス29
のST・SRC線へ送出される。特にコード“4F”が
入力されると,比較器35でこれが検出され,第6図
(G)のパルスがST・ALL線へ送出されて全写像ボ
ード27〜27が指定される。このデータ受信先コ
ードの入力は実行開始コードの入力まで繰り返すことが
可能であり,したがってその繰り返し時にはそのコード
のデータと第6図(H)のパルスとが繰り返し送出され
る。これらの各コードデータは送出先のボードにそれぞ
れ保持されることになる。Next, when "20" as the auxiliary code is input, the pulse shown in FIG.
Transmitted to UX line. Next, when the data transmission source code is input, the pulse shown in FIG.
To the ST / SRC line. In particular, when the code "4F" is input, this is detected by the comparator 35, the pulse of FIG. 6 (G) is sent to the ST / ALL line, and all the mapping boards 27 to 27 are designated. The input of the data receiver code can be repeated until the input of the execution start code. Therefore, at the time of the repetition, the data of the code and the pulse of FIG. 6 (H) are repeatedly transmitted. Each of these pieces of code data will be held in the destination board.
最後に実行開始コードが与えられると,比較器34で,
その実行開始コードが自局に割り当てられたコードであ
るか否かが判別され,自局のコードであれば検出信号が
カウンタ36に出力され,それにより第6図(I)のパ
ルスがコントロールバス中のST・START線へ送出
される。これにより先に受信した各命令コードがユニッ
ト20内の各ボードで実行開始されることになる。Finally, when the execution start code is given, the comparator 34
It is determined whether or not the execution start code is the code assigned to the own station, and if it is the code of the own station, a detection signal is output to the counter 36, whereby the pulse of FIG. 6 (I) is output to the control bus. It is sent to the inside ST / START line. As a result, each instruction code received earlier is started to be executed by each board in the unit 20.
本発明の実施にあたっては種々の変形形態が可能であ
る。例えば上述の実施例ではホストコンピュータ40か
ら各周辺ユニット20にコマンドを送るのに,バス形態
のネットワークを用いるようにしたが,本発明はこれに
限られるものではなく,例えばリング形態のネットワー
クを用いたものであってもよい,また,例えば,ホスト
コンピュータ40と最初の1台の周辺ユニット20のみ
の間をコマンドケーブルで結び,他の周辺ユニットに対
しては,各周辺ユニットのコントローラボード間をケー
ブルでカスケードに接続し,ホストコンピュータ40か
ら送出されたコマンドを最初の周辺ユニットから順繰り
に他の周辺ユニットに転送していくものであってもよ
い。Various modifications are possible in carrying out the present invention. For example, in the above-described embodiment, the bus type network is used to send a command from the host computer 40 to each peripheral unit 20, but the present invention is not limited to this, and a ring type network is used, for example. Alternatively, for example, a command cable may be connected between the host computer 40 and the first peripheral unit 20 only, and for other peripheral units, between the controller boards of the peripheral units. It is also possible to connect to the cascade with a cable and transfer the command sent from the host computer 40 from the first peripheral unit to the other peripheral units in sequence.
さらに,上述の例ではコマンドに8ビットのコードを用
いたため,データや指令として“OO”〜“EF”しか
使えなく,また周辺装置の数が“F0”〜“FE”の1
5台に限られるという制約がある。そこで伝送線を8ビ
ットから9ビットに拡張することにより,上記の制約を
なくすことができる。その場合,データとして8ビット
全て,すなわち“02016016”〜“02F16F
16”を用いることができる。ここで添字の2と16は
それぞれ2進数と16進数を表している。またリセット
コードを“12F16F16”とすると,周辺装置は
“12016016”〜“12F16E16”の255
台まで接続が可能になる。Further, in the above example, since the command uses an 8-bit code, only “OO” to “EF” can be used as data and commands, and the number of peripheral devices is 1 from “F0” to “FE”.
There is a limitation that it is limited to five. Therefore, by expanding the transmission line from 8 bits to 9 bits, it is possible to eliminate the above restriction. In that case, all 8 bits as data, that is, "0 2 0 16 0 16 " to "0 2 F 16 F"
16 "can be used. Here, the subscripts 2 and 16 represent a binary number and a hexadecimal number, respectively. When the reset code is" 1 2 F 16 F 16 ", the peripheral device has" 1 2 0 16 ". 0 16 255 "~" 1 2 F 16 E 16 "
It is possible to connect up to a stand.
[発明の効果] 本発明によれば,信号線の数や送信ハードウェア,受信
ハードウェアを従来と比して増すことなく,複雑なプロ
トコルを用いずに効率よく周辺装置にコマンドを転送で
きるようになる。EFFECTS OF THE INVENTION According to the present invention, it is possible to efficiently transfer a command to a peripheral device without using a complicated protocol without increasing the number of signal lines, the transmission hardware, and the reception hardware as compared with the related art. become.
第1図は本発明に係る原理を説明する図, 第2図は本発明に係る方法を行うデータ処理システムの
概略構成を示す図, 第3図は本発明に係る方法の動作例を説明する図, 第4図は本発明の一実施例としてのコマンド転送方法を
用いる画像処理システムを示すブロック図, 第5図は第4図中のコントローラボードの詳細な構成を
示すブロック図, 第6図はコントローラボードの各部信号のタイムチャー
ト,および, 第7図,第8図は従来のコマンド転送方法を説明する図
である。 図において、 1……ホスト計算機 2〜2……周辺装置 3〜3,4……コマンドケーブル 11……管理ユニット 12〜12,20……周辺ユニット 13……共通伝送路 21……コントローラボード 22,23……データウェイI/Fボード 24……プログラムロード制御ボード 25……バッファメモリボード 26……データモニタボード 27〜27……写像ボード 28……モニタ 29……データ/コントロールバス 40……ホストコンピュータ 51,52……データウェイ 53……制御バス 30〜32,33……AND回路 36……カウンタ 37……デコーダ 38……フリップフロップ 39……ゲートバッファFIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is a diagram showing a schematic configuration of a data processing system for performing the method of the present invention, and FIG. 3 is a diagram for explaining an operation example of the method of the present invention. FIG. 4 is a block diagram showing an image processing system using a command transfer method as an embodiment of the present invention, FIG. 5 is a block diagram showing a detailed configuration of a controller board in FIG. 4, and FIG. FIG. 7 is a time chart of signals of various parts of the controller board, and FIGS. 7 and 8 are diagrams for explaining a conventional command transfer method. In the figure, 1 ... Host computer 2-2 ... Peripheral device 3-3, 4 ... Command cable 11 ... Management unit 12-12, 20 ... Peripheral unit 13 ... Common transmission line 21 ... Controller board 22 , 23 ...... Data way I / F board 24 ...... Program load control board 25 ...... Buffer memory board 26 ...... Data monitor board 27-27 ...... Mapping board 28 ...... Monitor 29 ...... Data / control bus 40 ...... Host computer 51, 52 ... Data way 53 ... Control bus 30-32, 33 ... AND circuit 36 ... Counter 37 ... Decoder 38 ... Flip-flop 39 ... Gate buffer
Claims (1)
ット(12〜12)と、これらの間を接続する共通
伝送路(13)とが備えられ、 該複数の周辺ユニット(12〜12)に対してそれ
ぞれ固有の実行開始コードが割り当てられ、 該管理ユニット(11)は、該複数の周辺ユニット(1
2〜12)のうちの任意のものに命令コマンドを実
行させるにあたり、一連の命令コマンドに複数の転送先
周辺ユニットの実行開始コードを付加した可変長コマン
ドを作成して全ての周辺ユニット(12〜12)に
送信し、 各周辺ユニット(12〜12)は受信した可変長コ
マンドを一端保持し、コマンド中の実行開始コードをチ
ェックし、該コードにより自局が指定された時だけ前記
命令コマンドを実行するように構成された複数装置への
コマンド転送方法。1. A management unit (11), a plurality of peripheral units (12-12), and a common transmission line (13) connecting these units, the plurality of peripheral units (12-12). A unique execution start code is assigned to each of the plurality of peripheral units (1).
2 to 12), in order to execute an instruction command, a variable-length command in which execution start codes of a plurality of transfer destination peripheral units are added to a series of instruction commands is created to generate all peripheral units (12 to 12). 12), each peripheral unit (12 to 12) once holds the received variable length command, checks the execution start code in the command, and executes the command command only when the own station is designated by the code. A method of transferring a command to multiple devices configured to execute.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1302014A JPH0619751B2 (en) | 1989-11-22 | 1989-11-22 | Command transfer method to multiple devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1302014A JPH0619751B2 (en) | 1989-11-22 | 1989-11-22 | Command transfer method to multiple devices |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03163649A JPH03163649A (en) | 1991-07-15 |
| JPH0619751B2 true JPH0619751B2 (en) | 1994-03-16 |
Family
ID=17903856
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1302014A Expired - Lifetime JPH0619751B2 (en) | 1989-11-22 | 1989-11-22 | Command transfer method to multiple devices |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0619751B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63155249A (en) * | 1986-12-18 | 1988-06-28 | Fujitsu Ltd | Inter-equipment communication system |
-
1989
- 1989-11-22 JP JP1302014A patent/JPH0619751B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03163649A (en) | 1991-07-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0561667B2 (en) | ||
| JPH04346151A (en) | Data processor | |
| JPS6113305A (en) | Input/output unit for industrial controller | |
| JPH0749832A (en) | Information processing equipment | |
| JPH0619751B2 (en) | Command transfer method to multiple devices | |
| JP3940843B2 (en) | Serial communication system and local terminal for serial communication | |
| JPH1063617A (en) | Serial communication device | |
| JPS6261961B2 (en) | ||
| JPS6153985B2 (en) | ||
| JPH10145433A (en) | Data transfer rate conversion device and communication network system | |
| JP2718813B2 (en) | Single bus adapter | |
| JPS6177948A (en) | Data processor | |
| JP3088341B2 (en) | High-speed data transfer method on bus | |
| JPS6410146B2 (en) | ||
| JPH05204837A (en) | Information processing equipment | |
| JPH03251946A (en) | Input/output control method for information processing system | |
| JPS62232057A (en) | Pseudo dma system | |
| JPH0221743A (en) | Single wire serial communication method and serial data communication equipment | |
| JPH0514400A (en) | Efficient line setting method | |
| JPH0628301A (en) | Direct memory access circuit | |
| JPH05120184A (en) | Terminal equipment control system | |
| JPH02250453A (en) | Data receiver | |
| JPH01196653A (en) | Data processor | |
| JPH01246941A (en) | System for controlling communication of computer data | |
| JPS63179644A (en) | Line control processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |