JP2504062B2 - Intermediary device for general-purpose bus connection of programmable controller - Google Patents

Intermediary device for general-purpose bus connection of programmable controller

Info

Publication number
JP2504062B2
JP2504062B2 JP62168395A JP16839587A JP2504062B2 JP 2504062 B2 JP2504062 B2 JP 2504062B2 JP 62168395 A JP62168395 A JP 62168395A JP 16839587 A JP16839587 A JP 16839587A JP 2504062 B2 JP2504062 B2 JP 2504062B2
Authority
JP
Japan
Prior art keywords
controller
general
programmable controller
purpose bus
intermediary device
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 - Fee Related
Application number
JP62168395A
Other languages
Japanese (ja)
Other versions
JPS6412358A (en
Inventor
克彦 一ノ瀬
良作 川村
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP62168395A priority Critical patent/JP2504062B2/en
Publication of JPS6412358A publication Critical patent/JPS6412358A/en
Application granted granted Critical
Publication of JP2504062B2 publication Critical patent/JP2504062B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 《発明の分野》 この発明は、プログラマブル・コントローラをマルチ
バス,VMEバス等の汎用バスに接続する場合に使用される
汎用バス接続用仲介装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a general-purpose bus connection mediation device used when connecting a programmable controller to a general-purpose bus such as a multibus or a VME bus.

《発明の概要》 この発明に係るプログラマブル・コントローラの汎用
バス接続用仲介装置では、プログラマブル・コントロー
ラに対しては送信用データの取り出し動作を行ない、汎
用バス用の通信コントローラに対しては、前記取り出さ
れた送信用データに基づく送信要求を行なうようにし
て、両者間の仲介を行なうものである。
<< Summary of the Invention >> In the intermediary device for connecting a general-purpose bus of a programmable controller according to the present invention, an operation of extracting transmission data is performed with respect to the programmable controller, and with respect to the communication controller for the general-purpose bus, it is extracted. By making a transmission request based on the transmitted transmission data, the mediation between the two is performed.

《従来技術とその問題点》 従来、例えば電気書院発行に係る「プログラマブル・
コントローラ応用マニュアル SYSMAC Sシリーズ 立
石電機株式会社編 第51頁」には、上位リンクユニット
を介してプログラマブル・コントローラをSYSWAYと称さ
れる専用バスに接続し、この専用バスを介してプログラ
マブル・コントローラ同志またはプログラマブル・コン
トローラとパソコン,ミニコン等の上位装置との間でデ
ータの授受を行なうようなシステムが開示されている。
<< Conventional technology and its problems >> Conventionally, for example, "programmable
Controller application manual SYSMAC S series Tateishi Electric Co., Ltd., page 51 ", connects the programmable controller to a dedicated bus called SYSWAY through the host link unit, and connects the programmable controllers to each other via this dedicated bus. There is disclosed a system for exchanging data between a programmable controller and a host device such as a personal computer or a minicomputer.

この専用バスは、通常上位制御装置が制御権をもって
ソフトウエア制御によりバスの調停を行なう方式となっ
ているため、上位リンクユニットにもこのような調停方
式に合わせたプロトコルが採用されている。
In this dedicated bus, a host controller normally has a control right to perform bus arbitration by software control, and therefore a protocol adapted to such an arbitration system is also adopted in the host link unit.

また、スキャニングタイプのプログラマブル・コント
ローラにおける制御は、上述の参考文献第7頁にも示さ
れているように、共通処理,I/Oリフレッシュ処理,リモ
ートI/O処理,演算処理,PCリンクサービス処理,上位リ
ンクサービス処理,ツールサービス処理等の一連の処理
をサイクリックに行ない、上位リンクサービス時間の到
来とともに、上位リンク装置に対してバスの占有を明渡
すようになっているため、上位リンク側の処理として
は、プログラマブル・コントローラからHALTレディーが
到来するのを待って同コントローラのCPUにHALTをか
け、その状態で同コントローラの共有メモリから送信用
データを取り出し、取り出し終了後同コントローラのHA
LTを解除するという手順がとられている。
Further, as shown in page 7 of the above-mentioned reference document, the control in the scanning type programmable controller is common processing, I / O refresh processing, remote I / O processing, arithmetic processing, PC link service processing. A series of processes such as upper link service processing and tool service processing are cyclically performed, and when the upper link service time arrives, the bus occupation is passed to the upper link device. As the processing of the above, wait for the HALT ready from the programmable controller, HALT the CPU of the controller, fetch the transmission data from the shared memory of the controller in that state,
The procedure to release LT is taken.

ところで、昨今データ転送量の増大につれて、この種
のプログラマブル・コントローラを例えばマルチバス
(IEEE796)、VMEバス(IEEEP1014)等の汎用バスと接
続させたいとの要望があるが、前述したように従来の上
位リンクユニットにあっては、ソフトウエア制御によっ
てバスの調整を行なう方式が採用されているため、マル
チバスやVMEバスのようにバスの調停をハードウエアの
みで行なうような汎用バスには適用することができな
い。
By the way, with the recent increase in the amount of data transfer, there is a demand to connect this type of programmable controller to a general-purpose bus such as a multibus (IEEE796) or VMEbus (IEEEP1014). The upper link unit uses a system that adjusts the bus by software control, so it is applicable to general-purpose buses such as multi-bus and VME bus that perform bus arbitration only by hardware. I can't.

一方、この種の汎用バスに対する接続を行なうための
従来の通信用コントローラにあっては、送信データ及び
送信要求が与えられるのを待って、初めて汎用バスに対
しデータの送信動作を開始するようになされていたた
め、このような通信コントローラをプログラマブル・コ
ントローラと汎用バスとの間に介挿したとしても、互い
の接続をスムーズに行なうことができない。
On the other hand, in a conventional communication controller for making a connection to a general-purpose bus of this type, the operation of transmitting data to the general-purpose bus is started only after waiting for transmission data and a transmission request. Therefore, even if such a communication controller is inserted between the programmable controller and the general-purpose bus, the mutual connection cannot be performed smoothly.

すなわち、前述したように、プログラマブル・コント
ローラ側では上位リンクサービス時間が到来するのを待
って、HALTレディーを発し、自己の共有メモリ内からデ
ータの取り出しを待つのに対し、汎用バス用の通信コン
トローラ側にあっても、同様にデータが到来して送信要
求が与えられるのを待ちの状態となっているため、これ
ではプログラマブル・コントローラと通信用コントロー
ラとの整合が全くとれないわけである。
That is, as described above, the programmable controller waits for the upper link service time to arrive, issues a HALT ready, and waits for the data to be fetched from its own shared memory, whereas the general-purpose bus communication controller On the side as well, since it is in a state of waiting for data to arrive and a transmission request to be given in the same manner, the programmable controller and the communication controller cannot match at all.

《発明の目的》 この発明の目的は、既存の汎用バス用通信コントロー
ラを用い、かつプログラマブル・コントローラと汎用バ
スとの接続を行なうことができるようにした汎用バス接
続用仲介装置を提供することにある。
<Object of the Invention> An object of the present invention is to provide a general-purpose bus connection mediation device that uses an existing general-purpose bus communication controller and is capable of connecting a programmable controller and a general-purpose bus. is there.

《発明の構成と効果》 この発明は上記の目的を達成するために、プログラマ
ブル・コントローラからHALTレディーが到来するのを待
って同コントローラのCPUにHALTをかけ、その状態で同
コントローラの共有メモリから送信用データを取り出
し、取り出し終了後同コントローラのHALTを解除する一
連の動作を行なう第1手段と、 前記取り出された送信用データに基づいて、汎用バス
用の通信コントローラに対して送信要求を与える動作を
行なう第2手段と、 を具備することを特徴とするものである。
<< Constitution and Effect of the Invention >> In order to achieve the above-mentioned object, the present invention waits for a HALT ready signal from the programmable controller, HALTs the CPU of the same controller, and then from that controller's shared memory. First means for performing a series of operations for taking out the transmission data and releasing the HALT of the controller after the completion of the fetching, and for giving a transmission request to the communication controller for the general-purpose bus based on the fetched transmission data And a second means for performing an operation.

このような構成によれば、プログラマブル・コントロ
ーラと汎用バス用通信コントローラとの間におけるデー
タの授受が可能となり、その結果仲介装置及び通信コン
トローラを介してプログラマブル・コントローラを汎用
バスに接続することができ、大量のデータを高速に上位
装置,他のプログラマブル・コントローラ等へと転送す
ることが可能となる。
With this configuration, it is possible to exchange data between the programmable controller and the general-purpose bus communication controller, and as a result, the programmable controller can be connected to the general-purpose bus via the intermediary device and the communication controller. A large amount of data can be transferred at high speed to a host device, another programmable controller, or the like.

《実施例の説明》 第1図は、本発明に係る仲介装置1を利用して、プロ
グラマブル・コントローラ2と通信コントローラ3との
間を結び、これによりプログラマブル・コントローラ2
を汎用バス4に接続した一例を示すブロック図である。
<< Description of Embodiments >> FIG. 1 uses the intermediary device 1 according to the present invention to connect between a programmable controller 2 and a communication controller 3, whereby the programmable controller 2 is connected.
FIG. 3 is a block diagram showing an example in which is connected to a general-purpose bus 4.

同図に示されるように、仲介装置1はマイクロプロセ
ッサを主体とし、プログラムメモリ,ワークメモリ,I/O
等を備えた80188システムによって構成されている。
As shown in the figure, the intermediary device 1 is mainly composed of a microprocessor, and has a program memory, a work memory, and an I / O.
It is composed of an 80188 system equipped with

プログラマブル・コントローラ2は、同様にマイクロ
プロセッサ,プログラムメモリ,ワークメモリ,I/O等を
備えた6809システム20により構成されており、特に図で
は伝送制御に用いられる共有メモリ21だけを取り出して
示している。
The programmable controller 2 is composed of a 6809 system 20 which also includes a microprocessor, a program memory, a work memory, an I / O, etc. In particular, in the figure, only the shared memory 21 used for transmission control is shown. There is.

通信コントローラ3は、マルチバス,VMEバス等へ適用
される既存の通信コントローラであって、この例では80
186システム30により構成されており、特に本実施例で
はデュアルポートコントローラ31,デュアルポートメモ
リ32が新たに設けられている。
The communication controller 3 is an existing communication controller applied to a multi-bus, a VME bus, etc.
186 system 30. Particularly, in this embodiment, a dual port controller 31 and a dual port memory 32 are newly provided.

デュアルポートメモリ32は、伝送制御における一時格
納エリアとして利用されるもので、256Kバイトの大容量
のものが使用されている。
The dual port memory 32 is used as a temporary storage area in transmission control, and has a large capacity of 256 Kbytes.

次に、第2図は仲介装置1,プログラマブル・コントロ
ーラ2及び通信コントローラ3の制御動作を概略的に示
すフローチャートであり、以下このフローチャートに従
ってデータ転送処理動作を系統的に説明する。
Next, FIG. 2 is a flow chart schematically showing the control operation of the intermediary device 1, the programmable controller 2 and the communication controller 3, and the data transfer processing operation will be systematically described below with reference to this flow chart.

今仮に、汎用バス4を介してなんらかのデータが到来
し、これが通信コントローラ3により受信されると(ス
テップ301)、直ちに通信コントローラ3から仲介装置
1に対し割込がかかり、通信コントローラ3で受信され
たデータは、仲介装置1によって取り出され、以後仲介
装置1ではHALTレディーを待機する状態となる(ステッ
プ202否定)。
If some data arrives via the general-purpose bus 4 and is received by the communication controller 3 (step 301), the communication controller 3 immediately interrupts the intermediary device 1 and the communication controller 3 receives the data. The obtained data is taken out by the intermediary device 1, and thereafter the intermediary device 1 is in a state of waiting for a HALT ready (No at step 202).

この状態において、プログラマブル・コントローラ2
側において上位リンクサービス時間が到来し、HALTレデ
ィーが発せられると(ステップ101)、仲介装置1にお
ける待機は解かれ(ステップ202肯定)、仲介装置1か
らプログラマブル・コントローラ2に対し、HALT信号が
送出され、これを受けてプログラマブル・コントローラ
2側ではHALTが確認され(ステップ102肯定)、直ちにH
ALT状態となる(ステップ103)。
In this state, the programmable controller 2
When the upper link service time arrives on the side and HALT ready is issued (step 101), the waiting in the intermediary device 1 is released (Yes in step 202), and the HALT signal is sent from the intermediary device 1 to the programmable controller 2. In response to this, HALT is confirmed on the programmable controller 2 side (Yes at step 102), and immediately H
The ALT state is set (step 103).

これにより、プログラマブル・コントローラ2のバス
は、仲介装置1側に明渡され、仲介装置1では、共有メ
モリ21から送信データを取り出すとともに、通信コント
ローラ2から取り出した受信データを、共有メモリ21内
の所定エリアに書込む(ステップ204)。
As a result, the bus of the programmable controller 2 is handed over to the intermediary device 1 side, and the intermediary device 1 retrieves the transmission data from the shared memory 21 and the received data retrieved from the communication controller 2 in the shared memory 21. Write in a predetermined area (step 204).

その後、HALT解除処理を行なうと(ステップ205)、
プログラマブル・コントローラ2側におけるHALTは解除
され(ステップ104)、以後次の上位リンクサービス時
間が到来するまで、プログラマブル・コントローラ側に
おける共通処理,I/Oリフレッシュ処理,リモートI/O処
理,演算処理,PCリンクサービス処理等が繰り返され
る。
After that, if HALT release processing is performed (step 205),
The HALT on the programmable controller 2 side is released (step 104), and thereafter, common processing, I / O refresh processing, remote I / O processing, arithmetic processing on the programmable controller side until the next upper link service time arrives. PC link service processing is repeated.

一方、仲介装置1側では、HALT解除処理に続いて、プ
ログラマブル・コントローラの共有メモリから取り出し
た送信データに基づき、通信コントローラ3に対しデー
タ送信要求を与える。
On the other hand, on the side of the intermediary device 1, following the HALT cancellation processing, a data transmission request is given to the communication controller 3 based on the transmission data taken out from the shared memory of the programmable controller.

すると、通信コントローラ側では、このデータ送信要
求を受けて、仲介装置1から与えられた送信データを、
モデム39を介して汎用バス4へと送出するわけである。
Then, on the communication controller side, in response to this data transmission request, the transmission data given from the intermediary device 1
The data is transmitted to the general-purpose bus 4 via the modem 39.

また、特にこの実施例では、仲介装置1と通信コント
ローラ3とのデータの授受を、大容量のデュアルポート
メモリ32を介して行なっているため、伝送効率が高く、
汎用バス4の能力を充分に活用することができる。
Further, particularly in this embodiment, since the data transfer between the intermediary device 1 and the communication controller 3 is performed via the large-capacity dual port memory 32, the transmission efficiency is high,
The ability of the general-purpose bus 4 can be fully utilized.

なお、以上のデータ送受処理においては、アドレスバ
ッファ11,33,35,37及びデータトランスファ12,34,36,38
を適宜開閉制御して行なう。
In the above data transmission / reception processing, the address buffers 11, 33, 35, 37 and the data transfer 12, 34, 36, 38
Is appropriately controlled by opening and closing.

このように本実施例によれば、既存の通信コントロー
ラ3を用い、かつプログラマブル・コントローラ2と汎
用バス4との間におけるデータの送受を行なうことがで
き、このため既存のプログラマブル・コントローラを用
いてより広範なデータ転送システムを構築することがで
きる。
As described above, according to this embodiment, the existing communication controller 3 can be used and data can be transmitted and received between the programmable controller 2 and the general-purpose bus 4. Therefore, the existing programmable controller can be used. A wider data transfer system can be constructed.

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

第1図は本発明装置が適用されたシステムの構成を示す
ブロック図、第2図は本発明装置の動作を説明するため
のフローチャートである。 1……仲介装置 2……プログラマブル・コントローラ 3……通信コントローラ
FIG. 1 is a block diagram showing the configuration of a system to which the device of the present invention is applied, and FIG. 2 is a flow chart for explaining the operation of the device of the present invention. 1 ... Mediation device 2 ... Programmable controller 3 ... Communication controller

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プログラマブル・コントローラからHALTレ
ディーが到来するのを待って同コントローラのCPUにHAL
Tをかけ、その状態で同コントローラの共有メモリから
送信用データを取り出し、取り出し終了後同コントロー
ラのHALTを解除する一連の動作を行なう第1手段と、 前記取り出された送信用データに基づいて、汎用バス用
の通信コントローラに対して送信要求を与える動作を行
なう第2手段と、 を具備することを特徴とするプログラマブル・コントロ
ーラの汎用バス接続用仲介装置。
[Claim 1] Wait for HALT ready from the programmable controller to HAL to the CPU of the controller
The first means for performing a series of operations for applying T to take out the transmission data from the shared memory of the same controller in that state, and releasing the HALT of the same controller after completion of the taking out, and the taken out transmission data, A general-purpose bus connection mediation device of a programmable controller, comprising: a second means for performing an operation of giving a transmission request to a general-purpose bus communication controller.
JP62168395A 1987-07-06 1987-07-06 Intermediary device for general-purpose bus connection of programmable controller Expired - Fee Related JP2504062B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62168395A JP2504062B2 (en) 1987-07-06 1987-07-06 Intermediary device for general-purpose bus connection of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62168395A JP2504062B2 (en) 1987-07-06 1987-07-06 Intermediary device for general-purpose bus connection of programmable controller

Publications (2)

Publication Number Publication Date
JPS6412358A JPS6412358A (en) 1989-01-17
JP2504062B2 true JP2504062B2 (en) 1996-06-05

Family

ID=15867322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62168395A Expired - Fee Related JP2504062B2 (en) 1987-07-06 1987-07-06 Intermediary device for general-purpose bus connection of programmable controller

Country Status (1)

Country Link
JP (1) JP2504062B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5511165A (en) * 1992-10-23 1996-04-23 International Business Machines Corporation Method and apparatus for communicating data across a bus bridge upon request

Also Published As

Publication number Publication date
JPS6412358A (en) 1989-01-17

Similar Documents

Publication Publication Date Title
JP2829091B2 (en) Data processing system
JPH079629B2 (en) Data processor
JPS6152507B2 (en)
JPH07225727A (en) Computer system
JP2504062B2 (en) Intermediary device for general-purpose bus connection of programmable controller
JPS5864528A (en) Data transfer system of plural microprocessors
JPS581454B2 (en) Input/output control method
EP3819776B1 (en) Method and apparatus for aborting blocked bus access between a master controller and connected peripherals
JPS6126706B2 (en)
JP2594673B2 (en) Data processing method
JP3299021B2 (en) Multi-bus II-SCSI bus data transfer method and apparatus
JPH05183603A (en) Reception data processing system and communication controller
JP2713204B2 (en) Information processing system
JP3227273B2 (en) Link processing method of programmable controller
JPS6130300B2 (en)
JPS59103121A (en) Information processor
JPH089792Y2 (en) SCSI adapter circuit for host-to-host communication
JPS60136853A (en) Data transfer system
JPH06149725A (en) Processor applied device
JPH0236016B2 (en)
JP2667285B2 (en) Interrupt control device
JPH06266653A (en) Picture processor
JPS6127790B2 (en)
JPH04132550U (en) multiprocessor system
JPH05233525A (en) Input/otuput processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees