[go: up one dir, main page]

JPH06131276A - Adapter for data transmission - Google Patents

Adapter for data transmission

Info

Publication number
JPH06131276A
JPH06131276A JP4302864A JP30286492A JPH06131276A JP H06131276 A JPH06131276 A JP H06131276A JP 4302864 A JP4302864 A JP 4302864A JP 30286492 A JP30286492 A JP 30286492A JP H06131276 A JPH06131276 A JP H06131276A
Authority
JP
Japan
Prior art keywords
data
adapter
communication
inter
data transmission
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
JP4302864A
Other languages
Japanese (ja)
Inventor
Kenji Nishikido
憲治 錦戸
Yuichiro Fujiwara
雄一郎 藤原
Tadashi Kodera
忠志 小寺
Harutoshi Okasaka
治利 岡坂
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.)
DIGITAL KK
Original Assignee
DIGITAL KK
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 DIGITAL KK filed Critical DIGITAL KK
Priority to JP4302864A priority Critical patent/JPH06131276A/en
Publication of JPH06131276A publication Critical patent/JPH06131276A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To provide the adapter which easily constitutes a LAN among plural data processors and is easily adaptive to a data processor employing any communication format without previously incorporating plural kinds of communication protocol in the adapter. CONSTITUTION:This adapter is equipped with an inter-device communication part 14 which is put in charge of data transmitting operation to data processors 10 and an inter-adapter communication part 16 which is put in charge of data transmission to adapters 22 so that the parts 14 and 16 can operate actively and independently of each other. Further, the inter-device communication part 14 is controlled by a program and the program 19 for the protocol corresponding to a connected data processor 10 is down-loaded from outside the adapter 22.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、比較的小規模なLA
N接続に使用して好適なデータ伝送用アダプタに関す
る。
BACKGROUND OF THE INVENTION The present invention relates to a relatively small LA.
The present invention relates to a data transmission adapter suitable for use in N connection.

【0002】[0002]

【従来の技術】従来この種のアダプタは、接続すべきデ
ータ処理装置と通信路との間における信号レベルなどの
物理的なインターフェイス条件を単に変換するものが一
般的であった。したがって、例えばパーソナルコンピュ
ータ(以下、「パソコン」と略す。)を親機として使用
し、プログラマブルロジックコントローラ(以下、「P
LC」と略す。)の様な子機との間におけるデータの受
け渡しを行うデータ伝送システムにおいては、親機内部
に備えた通信手順プログラムが各子機のデータを周期的
にポーリングし、子機側から取り出したデータを親機の
メモリ上へ記憶することにより、子機はそれ自身が積極
的にデータの送出を行わない受動的な構成がとられるこ
とが多い。
2. Description of the Related Art Conventionally, an adapter of this type is generally one that simply converts a physical interface condition such as a signal level between a data processing device to be connected and a communication path. Therefore, for example, a personal computer (hereinafter, abbreviated as “personal computer”) is used as a master unit and a programmable logic controller (hereinafter, “P”) is used.
LC "is abbreviated. In a data transmission system for exchanging data with a slave unit such as), a communication procedure program provided in the master unit periodically polls the data of each slave unit and retrieves the data from the slave unit. In many cases, the slave unit has a passive configuration in which the slave unit itself does not actively transmit data by storing the data in the memory of the master unit.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記した
データ伝送システムにあっては、1台の親機が全てのデ
ータ伝送を制御しているため、通信路を介して接続され
る子機はすべて同一の通信手順によるデータの受け渡し
を要求される結果、異機種間の接続は極めて難しいばか
りか、データ通信専用の親機を特別に必要とするなど、
システム全体の拡張性に欠ける問題があった。
However, in the above-described data transmission system, since one master unit controls all data transmission, all slave units connected via the communication path are the same. As a result of being required to transfer data according to the communication procedure of, not only is it extremely difficult to connect between different models, but a special master unit dedicated for data communication is required.
There was a problem of lack of expandability of the entire system.

【0004】本発明は上記した問題に鑑みてなされたも
のであって、接続されるデータ処理装置に対応したアダ
プタが容易に構成できるとともに、データ処理装置間の
データ伝送も簡易に行えるアダプタを提供することを目
的とする。
The present invention has been made in view of the above problems, and provides an adapter which can easily configure an adapter corresponding to a data processing device to be connected and can also easily perform data transmission between the data processing devices. The purpose is to do.

【0005】[0005]

【課題を解決するための手段】上記した目的を達成する
ため、本発明にかかるデータ伝送用アダプタにあって
は、図1にその全体的な構成を概略的に示す如く、デー
タ処理装置10に対して接続され、そのデータ処理装置
10との間でデータの送受を行う装置間通信部14と、
通信路12が接続され、その通信路12を介して接続さ
れる他のアダプタ22との間でデータの送受を行うアダ
プタ間通信部16と、上記した装置間通信部14とアダ
プタ間通信部16との間にあって、両通信部14・16
の間におけるデータの受け渡しを行うデータ記憶部18
とを備えている。
In order to achieve the above-mentioned object, a data transmission adapter according to the present invention includes a data processing device 10 as shown in FIG. An inter-device communication unit 14 that is connected to the data processing device 10 and sends and receives data to and from the data processing device 10.
The inter-adapter communication unit 16 that is connected to the communication path 12 and transmits / receives data to / from another adapter 22 that is connected via the communication path 12, the inter-device communication unit 14 and the inter-adapter communication unit 16 described above. Between the two communication units 14 and 16
Data storage unit 18 for passing data between
It has and.

【0006】本発明にあっては更に、アダプタ22の制
御回路を構成する各部の内、少なくとも上記した装置間
通信部14を例えば1チップマイコンを使用したプログ
ラム制御式とし、アダプタ外部から必要なプログラム1
9をダウンロードできる様にし、通信プロトコルをはじ
めとする、接続すべきデータ処理装置10に特化した具
体的な機能を、アダプタ22毎に個別に設定変更可能と
したことを特徴とする。
Further, according to the present invention, among the units constituting the control circuit of the adapter 22, at least the above-mentioned inter-device communication unit 14 is of a program control type using, for example, a one-chip microcomputer, and a program required from the outside of the adapter is used. 1
9, the specific functions specific to the data processing device 10 to be connected, such as the communication protocol, can be individually changed for each adapter 22.

【0007】[0007]

【作用】上記した構成により、アダプタ22によるデー
タ伝送システムとしての使用に先だち、例えば汎用のコ
ンピュータを利用してアダプタ22内に装置間通信用の
プログラム19をダウンロードする。かかるプログラム
19は、該当のアダプタ22が接続すべきデータ処理装
置10のプロトコルに基づくものであって、例えばフラ
ッシュEEPROMの様に書き換え可能なROM内に記
憶することにより、各データ処理装置10に特化した装
置間通信部14を備えたアダプタ22が構成される。
With the configuration described above, the program 19 for inter-device communication is downloaded into the adapter 22 by using, for example, a general-purpose computer before the adapter 22 is used as a data transmission system. The program 19 is based on the protocol of the data processing device 10 to which the corresponding adapter 22 is to be connected, and is stored in a rewritable ROM such as a flash EEPROM so that the data processing device 10 can be stored in a special program. The adapter 22 including the inter-apparatus communication unit 14 is configured.

【0008】したがって、アダプタ22が接続される各
データ処理装置10は、装置間通信部14を通じてデー
タ記憶部18との間で必要なデータの受け渡しを行な
う。一方、通信路12を介して接続された各アダプタ2
2は、例えばデータ記憶部18中のデータ変化を常時監
視しておき、そのデータ変化が認められると、アダプタ
間通信部16を介して他のアダプタ22におけるデータ
記憶部18に該当のデータを送って記憶内容を更新す
る。この更新データは、そのアダプタ22が接続された
データ処理装置10に対して装置間通信部14を介して
送られることにより、通信路12を介したデータ処理装
置10間における一連のデータ伝送動作が終了するので
ある。
Therefore, each data processing apparatus 10 to which the adapter 22 is connected exchanges necessary data with the data storage section 18 through the inter-apparatus communication section 14. On the other hand, each adapter 2 connected via the communication path 12
For example, 2 constantly monitors a data change in the data storage unit 18, and when the data change is recognized, the corresponding data is sent to the data storage unit 18 in another adapter 22 via the inter-adapter communication unit 16. To update the stored contents. This update data is sent to the data processing device 10 to which the adapter 22 is connected via the inter-device communication unit 14, so that a series of data transmission operations between the data processing devices 10 via the communication path 12 can be performed. It ends.

【0009】[0009]

【発明の効果】本発明は上記の如く、少なくとも装置間
通信部14をプログラム制御式とし、接続されるデータ
処理装置10に対応したプロトコルのプログラム19を
アダプタ22の外部からダウンロード可能としたので、
アダプタ22の内部に各種のデータ処理装置10に対応
した複数の通信プロトコルを予め内蔵することなく、い
かなる通信形式を採用するデータ処理装置10であって
もそれに対応したアダプタ22が容易に構成できる。
As described above, according to the present invention, at least the inter-device communication section 14 is of the program control type, and the program 19 of the protocol corresponding to the connected data processing device 10 can be downloaded from the outside of the adapter 22.
Even if the data processing device 10 adopts any communication format, the adapter 22 corresponding to it can be easily configured without preliminarily incorporating a plurality of communication protocols corresponding to various data processing devices 10 inside the adapter 22.

【0010】また、その他の機能を実現するプログラム
19を必要に応じてダウンロードすることにより、アダ
プタ22をより高機能化することができ、データ処理装
置10側におけるデータ処理上の負担を更に軽減でき
る。
Further, by downloading the program 19 for implementing other functions as needed, the adapter 22 can be made more sophisticated and the data processing load on the data processing apparatus 10 side can be further reduced. .

【0011】[0011]

【実施例】以下本発明を、図4に例示する如く、データ
処理装置として備えた3台のPLC24a・24b・2
4cのデータを1台のパソコン26を用いて集中して管
理するとともに、各PLC24における制御状態を1台
の表示制御装置28によって表示する制御システムに実
施した一例に基づいて説明するがこれに限らず、接続さ
れるデータ処理装置の種類あるいは台数は、適宜変更し
て実施できることは勿論である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. 4, the present invention will now be described with reference to three PLCs 24a, 24b, 2 provided as data processing devices.
The data of 4c is centrally managed by using one personal computer 26, and the control state in which each PLC 24 is controlled by one display control device 28 will be described based on an example. Of course, the type or the number of connected data processing devices can be changed as appropriate.

【0012】本発明にかかるデータ伝送用アダプタ22
は、図2にその全体的な外観形状を示すごとく、平面形
状が略矩形状の偏平した本体ケース30における一方の
側面32に第1コネクタ34を、他方の側面36に第2
コネクタ38を各々備えるとともに、内部に図3で示す
制御回路40を内蔵している。
The data transmission adapter 22 according to the present invention
2, the first connector 34 is provided on one side surface 32 and the second side surface 36 is provided on the other side surface 36 of the flat body case 30 having a substantially rectangular planar shape as shown in FIG.
Each connector 38 is provided, and the control circuit 40 shown in FIG. 3 is incorporated therein.

【0013】第1コネクタ34は、パソコン26をはじ
めとする各種データ処理装置におけるデータのシリアル
伝送用として使用されることが多いRSー232C規格
であって、一般に「25ピンD−SUBコネクタ」と呼
ばれているもののうち、オス型ピン42を備えたものを
ケース側面32に固定することにより、データ処理装置
10側のメス型ピン44を備えたコネクタ46に対し、
接続ケーブルを介することなく挿脱自在に直接的に取り
付けられる。更に第1コネクタ34の両側に取付ネジ4
8を備え、データ処理装置10側に備えた固定ネジ50
と螺合させることにより、第1コネクタ34の装着状態
を位置固定させる。
The first connector 34 is an RS-232C standard often used for serial transmission of data in various data processing devices such as the personal computer 26, and is generally referred to as a "25-pin D-SUB connector". Among the so-called ones, by fixing the one provided with the male pin 42 to the case side surface 32, the connector 46 provided with the female pin 44 on the data processing device 10 side is
It can be attached and detached directly without using a connecting cable. Further, mounting screws 4 are provided on both sides of the first connector 34.
8 and the fixing screw 50 provided on the data processing device 10 side
The mounting state of the first connector 34 is fixed by screwing with.

【0014】第2コネクタ38は、一般に「モジュラー
型のコネクタ」と呼ばれる電話機に使用されることが多
い形式のものであって、そのジャック52側を本体ケー
ス30の側面36に2つ並列して固定するとともに、そ
のジャック52が備える6つの電極54を、本体ケース
30の内部で互いに並列接続している。
The second connector 38 is of a type that is often used in telephones generally called a "modular type connector", and two jacks 52 are arranged side by side on the side surface 36 of the main body case 30. The six electrodes 54 of the jack 52, which are fixed, are connected in parallel to each other inside the main body case 30.

【0015】制御回路40は、1チップマイコンを使用
したプログラム制御式のものが使用され、回路全体の制
御を行うCPU56と、その制御を行うためのプログラ
ムあるいは必要なデータ固定して記憶するROM58
と、各種データを一時記憶するRAM60と、外部に対
するデータの入出力を行う第1および第2のシリアルデ
ータインターフェイス62・64(以下、「SIO」と
略す。)とを、内部バス66を介して並列に接続してい
る。
As the control circuit 40, a program control type using a one-chip microcomputer is used, and a CPU 56 for controlling the entire circuit and a ROM 58 for fixing and storing a program for performing the control or necessary data.
A RAM 60 for temporarily storing various data, and first and second serial data interfaces 62 and 64 (hereinafter abbreviated as “SIO”) for inputting / outputting data to / from the outside via an internal bus 66. They are connected in parallel.

【0016】前記した第1SIO62は、RS−232
C規格によるデータの入出力を可能とする従来と略同様
の回路構成のものであり、その入出力端を上記した第1
コネクタ34の各ピン42に接続している。
The above-mentioned first SIO 62 is RS-232.
The circuit configuration is substantially the same as the conventional one that enables input / output of data according to the C standard, and the input / output terminal thereof is the above-mentioned first
It is connected to each pin 42 of the connector 34.

【0017】第2SIO64として本実施例において
は、複数台のアダプタ22をバス形式に接続可能なRS
−485規格のものを採用している。具体的には、ドラ
イバ68によるデータの出力ライン70およびレシーバ
72によるデータの入力ライン74をそれぞれ2本ずつ
備えた平衡型の通信路12を備えたものであって、その
上に最大30組(本実施例にあっては5組)のドライバ
/レシーバが互いに並列に接続される。
In the present embodiment, the second SIO 64 is an RS capable of connecting a plurality of adapters 22 in a bus format.
-485 standard is adopted. Specifically, it is provided with a balanced communication path 12 including two data output lines 70 from the driver 68 and two data input lines 74 from the receiver 72, and a maximum of 30 pairs ( In this embodiment, 5 sets of drivers / receivers are connected in parallel with each other.

【0018】図4は、上記したデータ伝送用アダプタ2
2の具体的な使用状態を示す説明図であって、互いにデ
ータ伝送をすべき複数台のデータ処理装置におけるシリ
アルデータ通信用のコネクタ46に対して1台ずつ、本
発明にかかるA〜Eで示す5台のアダプタ22の第1コ
ネクタ34を直接的に接続して固定する。すなわち、ア
ダプタAを仮想的な親機としてパソコン26を接続する
とともに、第1〜第3のPLC24a・24b・24c
の各々にアダプタB・C・Eを接続し、更にアダプタD
に表示制御装置28を繋いでいる。
FIG. 4 shows the data transmission adapter 2 described above.
FIG. 2 is an explanatory view showing a specific usage state of No. 2, one for each connector 46 for serial data communication in a plurality of data processing devices to be mutually data-transmitted by A to E according to the present invention. The first connectors 34 of the five adapters 22 shown are directly connected and fixed. That is, the personal computer 26 is connected using the adapter A as a virtual master unit, and the first to third PLCs 24a, 24b, 24c are connected.
To each of the adapters B, C and E, and then to the adapter D
The display control device 28 is connected to.

【0019】更に各アダプタA〜Eに備える第2コネク
タ38のジャック52を、両端にモジュラープラグ75
を備えた通信ケーブル76を用いて一連にバス接続して
通信路12を構成するとともに、該通信路12の両端を
所定の抵抗78で終端することにより反射を防止する。
また、通信路12の途中に商用交流電源80を低圧の直
流電圧に変換する電源部82を備え、通信ケーブル76
中に通信路12と並列に備えた2本の電源ライン84を
介して、全アダプタ22に必要な直流の駆動電圧を供給
する様にしている。
Further, the jack 52 of the second connector 38 provided in each adapter A to E is provided with a modular plug 75 at both ends.
A communication cable 76 including the above is connected in series to form a communication path 12 and the both ends of the communication path 12 are terminated by predetermined resistors 78 to prevent reflection.
Further, a power supply unit 82 for converting the commercial AC power supply 80 into a low-voltage DC voltage is provided in the middle of the communication path 12, and the communication cable 76 is provided.
A DC drive voltage required for all the adapters 22 is supplied via two power supply lines 84 provided in parallel with the communication path 12.

【0020】一方、上記した第2コネクタ38にはアー
スおよび電源供給用の電極54を備え、電源ライン84
を通じて本体ケース30の外部から直流電圧を全アダプ
タ22に並列的に送り込む一方、本体ケース30の内部
にDC−DCコンバータ86を備え、制御回路40全体
に所定の駆動電圧を供給する様に構成している。
On the other hand, the above-mentioned second connector 38 is provided with an electrode 54 for grounding and power supply, and a power supply line 84.
A DC voltage is sent to all the adapters 22 in parallel from the outside of the main body case 30 through the main body case 30, and a DC-DC converter 86 is provided inside the main body case 30 to supply a predetermined drive voltage to the entire control circuit 40. ing.

【0021】上記した制御回路40におけるROM58
の一部または全部は、フラッシュEEPROMの様にそ
の内容を電気的に書き換え可能なものであって、その使
用に先だち、システムの開発および管理用のパソコン2
6におけるコネクタ46に第1コネクタ34を接続する
とともに、所定のインストールツールを使用して各アダ
プタ22別に必要な各種アプリケーションプログラム
を、例えばインテル社のHEXフォーマットでダウンロ
ードする。
ROM 58 in control circuit 40 described above
A part or all of the above is electrically rewritable like a flash EEPROM, and a personal computer 2 for system development and management prior to its use.
The first connector 34 is connected to the connector 46 in FIG. 6, and various application programs required for each adapter 22 are downloaded in a HEX format of Intel, for example, using a predetermined installation tool.

【0022】すなわち、アダプタ22間における相互の
データ伝送を可能とするアダプタ間通信用プログラム、
第1コネクタ34を介して接続すべきデータ処理装置1
0とアダプタ22との間のデータ伝送を可能とするプロ
トコルに基づく装置間通信プログラムあるいはその他の
必要なプログラムを、アダプタ22に予め備える基本的
な通信機能を用いて個別にダウンロードすることによ
り、各々のアダプタ22における具体的な機能あるいは
動作特性を各アダプタ22毎に設定変更できる様にして
いる。
That is, an inter-adapter communication program that enables mutual data transmission between the adapters 22,
Data processing device 1 to be connected via the first connector 34
0 and the adapter 22 by individually downloading the inter-device communication program based on the protocol that enables the data transmission or other necessary programs by using the basic communication function provided in advance in the adapter 22, respectively. The specific function or operating characteristic of the adapter 22 can be changed for each adapter 22.

【0023】なお、後で詳細に説明するシステムパラメ
ータ情報を、上記した各種のプログラムと同時に各アダ
プタ内に個別にダウンロードすることは可能である。し
かしながら、この種のシステムパラメータ情報はシステ
ムの拡張などに伴って頻繁に変更されることが予想され
る。したがって、アダプタ22中の仮想の親機Aに対し
てこの情報を予め集中登録しておき、システム稼動時に
ネットワーク回線を利用して複数の各子機B〜Eに送り
付ける様に構成することにより、システムの変更に対し
て容易に対応できて好ましい。
It is possible to individually download the system parameter information, which will be described in detail later, into each adapter together with the various programs described above. However, it is expected that this type of system parameter information will change frequently as the system expands. Therefore, by centrally registering this information in advance in the virtual master device A in the adapter 22 and sending it to the plurality of slave devices B to E using the network line when the system is operating, It is preferable because the system can be easily changed.

【0024】更にRAM60上には、全アダプタ22で
共通に使用される共有データ20の記憶領域88が、図
5で例示する如く、各アダプタ22毎に区別して設定さ
れている。例えば本実施例にあっては、通信路12を介
して接続されるA〜Eの5台のアダプタ22に対応し、
A〜Eの5組の共有データ20をノード情報として区画
して記憶可能とするとともに、図6の如く、各ノード情
報毎に所定数のデータ(本実施例にあっては、1〜3の
3つのデータ)を予め設定することにより、A1〜E3
の15個のデータが区別して記憶される。
Further, on the RAM 60, a storage area 88 for the shared data 20 commonly used by all the adapters 22 is set separately for each adapter 22, as illustrated in FIG. For example, in the present embodiment, it corresponds to the five adapters A to E connected via the communication path 12,
Five sets of shared data 20 of A to E are partitioned and stored as node information, and as shown in FIG. 6, a predetermined number of data (in this embodiment, 1 to 3 of each node information) are stored. By setting 3 data in advance, A1 to E3
15 data items are stored separately.

【0025】上記したシステムパラメータ情報には、前
記した全共有データ20に1対1に対応して設定される
送信用テーブル90と受信用テーブル92とを備え、両
テーブル90・92により各アダプタ22毎に取り扱わ
れるデータを個別に設定変更可能とする。
The above-mentioned system parameter information is provided with a transmission table 90 and a reception table 92 which are set in a one-to-one correspondence with all the shared data 20 described above. It is possible to individually change the settings of the data handled for each.

【0026】送信用テーブル90では、共有データ20
を構成する個別のデータ毎に、そのアダプタ22が接続
されるデータ処理装置10上のメモリ番地およびその番
地からのデータの取り出しバイト数が設定される。例え
ば図6(a)で例示するアダプタB用のものにあって
は、PLC24aのメモリ93上から、データB1を4
バイト分、データB2を8バイト分、データB3を2バ
イト分取り出して、記憶領域88中に記憶可能とすると
ともに、通信路12を介して他のアダプタ22に対して
送出するための、アダプタB固有のノード情報としてい
る。
In the transmission table 90, the shared data 20
The memory address on the data processing device 10 to which the adapter 22 is connected and the number of bytes of data to be fetched from that address are set for each individual data constituting the. For example, in the case of the adapter B illustrated in FIG. 6A, the data B1 is set to 4 from the memory 93 of the PLC 24a.
An adapter B for extracting 8 bytes of data, 8 bytes of data B2, and 2 bytes of data B3 so that they can be stored in the storage area 88 and sent to another adapter 22 via the communication path 12. It is unique node information.

【0027】一方受信用テーブル92は、上記の如くし
て通信路12を介して他のアダプタ22から送られるノ
ード情報中から、必要なデータのみを選択して内部に取
り入れるために用意される。すなわち、送信用テーブル
90を基本とし、データの更新を不要とするデータ領域
のバイト数をゼロに設定し、あるいはテーブル92上の
該当の項目自体を設定しないことにより、受信したデー
タから設定バイト数だけ取り込んで、共有データ20中
の必要部分のみを選択して更新可能とする。
On the other hand, the reception table 92 is prepared in order to select only necessary data from the node information sent from the other adapter 22 via the communication path 12 and incorporate it in the inside. That is, based on the transmission table 90, the number of bytes in the data area that does not require data update is set to zero, or the corresponding item on the table 92 is not set, so that the number of bytes set from the received data is set. Only the required part of the shared data 20 is selected and updated.

【0028】次に、図5および図6(a)の説明図およ
び図7の流れ図にしたがって、図4に示すアダプタBの
動作を更に詳細に説明する。
Next, the operation of the adapter B shown in FIG. 4 will be described in more detail with reference to the explanatory views of FIGS. 5 and 6 (a) and the flowchart of FIG.

【0029】アダプタBに接続されるPLC24aは、
それ自身で能動的なアクセス機能を有しないため、アダ
プタB側で能動的な動作が行える様に構成されている。
すなわち、各種プログラムのロード時、あるいは各アダ
プタ22がLAN接続された後に1台のアダプタ22
(本実施例にあっては、仮想的に親機として設定したア
ダプタA)から通信路12を介して一斉同報通信により
送られるシステムパラメータ情報が図7のステップ10
1で受信されると、図6(a)の送信用テーブル90お
よび受信用テーブル92がステップ102で設定された
あと、装置間通信プログラムおよびアダプタ間通信プロ
グラムよる個別のデータ受け渡し動作が始まる。
The PLC 24a connected to the adapter B is
Since the adapter B itself does not have an active access function, the adapter B side is configured to perform an active operation.
That is, one adapter 22 is loaded when various programs are loaded or after each adapter 22 is connected to the LAN.
In this embodiment, the system parameter information sent from the adapter A, which is virtually set as the master unit, via the communication path 12 by the broadcast communication is the step 10 in FIG.
When the data is received at 1, the transmission table 90 and the reception table 92 of FIG. 6A are set at step 102, and then individual data transfer operations by the inter-device communication program and the inter-adapter communication program are started.

【0030】アダプタ間通信は、通信路12を介して接
続される他のアダプタ22からノード情報が一斉同報通
信により送られてきたことがステップ103で確認され
ると、ステップ104で受信用テーブル92を参照し、
そのデータがアダプタBで使用されるデータか否かを判
定する。例えばアダプタAからA3のデータがノード情
報として送信されたものとすると、受信用テーブル92
から2バイトが設定されていることが分かるので、ステ
ップ105でそのデータを共有データの記憶番地に送っ
て該当のデータを更新する。
In the inter-adapter communication, when it is confirmed in step 103 that the node information is sent from the other adapter 22 connected via the communication path 12 by the broadcast communication, the receiving table is received in step 104. 92,
It is determined whether the data is data used by the adapter B. For example, assuming that the data of the adapter A to A3 is transmitted as the node information, the reception table 92
Since it can be seen that 2 bytes are set, the data is sent to the storage address of the shared data and the corresponding data is updated in step 105.

【0031】更にステップ106で、例えば100ミリ
秒程度の設定時間が経過したことが判定されると、B1
・B2・B3で特定されるアダプタBのノード情報が、
ステップ107で通信路12を通じて他のアダプタ22
に一斉同報送信することにより、全てのアダプタ22に
おけるノード情報すなわち共有データが常時一致する様
に構成している。
Further, when it is determined in step 106 that the set time of, for example, about 100 milliseconds has elapsed, B1 is set.
-The node information of adapter B specified by B2 and B3 is
In step 107, another adapter 22 is transmitted through the communication path 12.
All the adapters 22 are configured so that the node information, that is, the shared data, always coincides with each other by simultaneous broadcast transmission.

【0032】一方、装置間通信は、ステップ108でP
LC24a側の管理情報を絶えず確認し、ステップ10
9で変化が認められると、ステップ110でPLC24
a側の所定番地からB1〜B3のノード情報を読み込
み、ステップ111でアダプタ22内部の管理情報を更
新する。
On the other hand, the inter-device communication is performed by the P
Always check the management information on the LC24a side, and
If a change is recognized in step 9, PLC24 is set in step 110.
The node information of B1 to B3 is read from the predetermined address on the a side, and the management information inside the adapter 22 is updated in step 111.

【0033】またステップ112で、更新前の旧データ
98と現在の共有データ20とを比較し、ステップ11
3で変化したことが判定されると、ステップ114でそ
の変化情報をPLC24a側に送り、PLC24a内部
のデータを更新するのである。
In step 112, the old data 98 before update and the current shared data 20 are compared, and step 11
When it is determined that the change has occurred in step 3, the change information is sent to the PLC 24a side in step 114, and the data inside the PLC 24a is updated.

【0034】なお、A〜Eで示すアダプタ22をすべ
て、上記の様な能動的な動作をするものを使用して構成
することは可能である。しかしながら本実施例にあって
は、パソコン22および表示制御装置28それ自身がア
ダプタ22に対して能動的なアクセス機能を有するのを
利用し、図6(b)および図8でその動作を例示する受
動型のアダプタ22を両者に使用している。
It is possible to configure all the adapters 22 shown by A to E using the ones that perform the above-mentioned active operation. However, in the present embodiment, the fact that the personal computer 22 and the display control device 28 themselves have an active access function to the adapter 22 is utilized, and the operation is illustrated in FIGS. 6B and 8. The passive type adapter 22 is used for both.

【0035】すなわちアダプタ間通信は、上記した能動
型のアダプタ22と略同様な動作を行う。しかしながら
装置間通信は、ステップ120でパソコン26側からデ
ータの書き換え要求があることが確認されると、ステッ
プ121で必要なノード情報を読み込み、ステップ12
2でそのデータでアダプタ22内部の管理情報を強制的
に書き換える。
That is, the inter-adapter communication operates in substantially the same manner as the active adapter 22 described above. However, in the inter-device communication, when it is confirmed in step 120 that there is a data rewriting request from the personal computer 26 side, necessary node information is read in step 121, and step 12
At 2, the management information in the adapter 22 is forcibly rewritten with the data.

【0036】一方ステップ123において、パソコン2
6側からデータの読み出し要求があったことが確認され
ると、ステップ124で該当のデータをパソコン26に
向けて送出するのである。
On the other hand, in step 123, the personal computer 2
When it is confirmed that there is a data read request from the 6 side, the corresponding data is sent to the personal computer 26 in step 124.

【0037】なお、各アダプタ22間のデータ伝送は、
データ更新の有無にかかわらず設定時間毎に周期的かつ
強制的に行う様に構成したが、データ更新を確認した時
のみデータを送出する様にしてもよい。また、一時に送
出するデータ量および範囲は、適宜変更して実施でき
る。
Data transmission between the adapters 22 is
Although it is configured that the data is updated periodically and forcibly at every set time regardless of whether or not the data is updated, the data may be transmitted only when the data update is confirmed. Moreover, the amount and range of data to be transmitted at a time can be changed as appropriate.

【0038】また、各アダプタ22間をバス接続する他
に、スター接続やリング接続など任意のLAN接続をす
ることもできる。その場合、各接続方法に対応してソケ
ットの形状や通信規格を適宜変更することは勿論であ
る。
Besides the bus connection between the adapters 22, an arbitrary LAN connection such as a star connection or a ring connection can be made. In that case, it goes without saying that the shape of the socket and the communication standard are appropriately changed according to each connection method.

【0039】更に、アダプタ22用の電源を通信ケーブ
ル76を介して第2コネクタ38側から供給するのに代
えて、データ処理装置10側から第1コネクタ34を介
して供給したり、内蔵または別に備えた専用の電源を使
用してもよい。また通信路12は、有線のものに限ら
ず、無線であっても略同様に実施できる。
Further, instead of supplying power for the adapter 22 from the second connector 38 side via the communication cable 76, power may be supplied from the data processing device 10 side via the first connector 34, or may be built-in or separately. A dedicated power supply provided may be used. Further, the communication path 12 is not limited to a wired one, and can be wirelessly implemented in substantially the same manner.

【0040】[0040]

【他の実施例】図9は、図2および図3に示す本発明に
かかるデータ伝送用アダプタ22を用いて構成されるデ
ータ伝送システムの他の実施例であって、例えば図4の
パソコン26に接続されたアダプタAを親機22aと
し、残りのアダプタB〜Eを子機22bとする。更に各
子機22bでは、それが接続されるデータ処理装置10
で必要とするデータのみを記憶領域88bに個別に管理
する一方、親機22a側の記憶領域88a上で子機22
b側のデータの一部あるいは全部を集中的に管理する様
にしている。
[Other Embodiments] FIG. 9 shows another embodiment of the data transmission system constructed by using the data transmission adapter 22 according to the present invention shown in FIGS. The adapter A connected to is the master 22a, and the remaining adapters B to E are the slaves 22b. Further, in each child device 22b, the data processing device 10 to which it is connected
While managing only the data required by the storage area 88b individually, the slave unit 22a is managed on the storage area 88a on the master unit 22a side.
All or part of the data on the b side is managed centrally.

【0041】すなわち子機22b側のRAM60上に
は、接続されたPLC24あるいは表示制御装置28で
取り扱われるデータ中、表示制御装置28における表示
あるいは各PLC毎の制御で必要とするデータからなる
管理情報を格納するための子機側記憶領域88bを少な
くとも設ける。更に、PLC等におけるI/Oメモリマ
ップまたは内部メモリ93に対して定期的にポーリング
し、管理情報の変更が認められると記憶領域88bに読
み込んで管理情報を更新するための装置間通信プログラ
ムと、記憶領域88b上のデータが更新されると親機2
2aに対してデータ受信の要求を出し、あるいは親機2
2a側からデータ送信の要求があると親機22aに向け
て必要なデータを送るためのアダプタ間通信プログラム
とを備えている。
That is, on the RAM 60 on the side of the slave unit 22b, management information consisting of data required for display by the display control device 28 or control for each PLC among data handled by the connected PLC 24 or display control device 28. A storage area 88b for storing a slave unit. Further, an inter-device communication program for periodically polling the I / O memory map in the PLC or the like or the internal memory 93 and reading the management information into the storage area 88b to update the management information when a change in the management information is recognized, When the data in the storage area 88b is updated, the base unit 2
2a to request data reception, or the base unit 2
It is provided with an inter-adapter communication program for sending necessary data to the master device 22a when there is a data transmission request from the 2a side.

【0042】これに対して親機22aには、全ての子機
22bで取り扱う管理情報を少なくとも格納できる容量
の親機側の記憶領域88aを設けている。更に、パソコ
ン26側からの要求があると、パソコン26内に設けた
対応するメモリ100に向けて該当のデータを送り出す
装置間通信プログラムと、必要に応じて子機22bに要
求を出して子機22b側の記憶領域88bから必要なデ
ータを読み出し、あるいは管理情報に変更があると、子
機22bとの間で通信路12を通じて強制的にデータを
送受するためのアダプタ間通信プログラムとを備えてい
る。
On the other hand, the master unit 22a is provided with a storage area 88a on the master unit side having a capacity capable of storing at least the management information handled by all the slave units 22b. Further, when there is a request from the personal computer 26 side, an inter-device communication program that sends the corresponding data to the corresponding memory 100 provided in the personal computer 26, and if necessary, issues a request to the child device 22b to send the child device 22b. It is provided with an inter-adapter communication program for forcibly transmitting / receiving data to / from the slave unit 22b through the communication path 12 when necessary data is read from the storage area 88b on the side of 22b or when management information is changed. There is.

【0043】かかる構成により、各データ処理装置10
間におけるデータの受け渡しは、子機22b間で直接行
われるのではなく、親機22aを介して間接的に行われ
るのである。
With this configuration, each data processing device 10
The data is exchanged between the slaves 22b not indirectly between the slaves 22b but indirectly through the master 22a.

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

【図1】本発明の基本的な構成を示す概略図である。FIG. 1 is a schematic diagram showing a basic configuration of the present invention.

【図2】本発明にかかるアダプタの外観形状を示す斜視
図である。
FIG. 2 is a perspective view showing an external shape of an adapter according to the present invention.

【図3】アダプタに備える制御回路の一例を示すブロッ
ク図である。
FIG. 3 is a block diagram showing an example of a control circuit provided in the adapter.

【図4】アダプタをLAN接続して構成したデータ伝送
システムの一例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a data transmission system configured by connecting adapters to a LAN.

【図5】図4に示すデータ伝送システムにおけるデータ
の受け渡し状態を示す説明図である。
5 is an explanatory diagram showing a data transfer state in the data transmission system shown in FIG.

【図6】データの更新手順を示す説明図であって、
(a)は能動型、(b)は受動型を各々示す。
FIG. 6 is an explanatory diagram showing a data update procedure,
(A) shows an active type, (b) shows a passive type, respectively.

【図7】能動型のアダプタにおける動作手順を示す流れ
図である。
FIG. 7 is a flowchart showing an operation procedure in an active adapter.

【図8】受動型のアダプタにおける動作手順を示す流れ
図である。
FIG. 8 is a flowchart showing an operation procedure in a passive type adapter.

【図9】本発明にかかるアダプタを使用した他のデータ
伝送システムにおける、データの受け渡し状態を示す説
明図である。
FIG. 9 is an explanatory diagram showing a data transfer state in another data transmission system using the adapter according to the present invention.

【符号の説明】[Explanation of symbols]

10 データ処理装置 12 通信路 14 装置間通信部 16 アダプタ間通信部 18 データ記憶部 19 プログラム 22 アダプタ 24 PLC 26 パソコン 28 表示制御装置 34 第1コネクタ 38 第2コネクタ 40 制御回路 76 通信ケーブル 10 data processing device 12 communication path 14 inter-device communication part 16 inter-adapter communication part 18 data storage part 19 program 22 adapter 24 PLC 26 personal computer 28 display control device 34 first connector 38 second connector 40 control circuit 76 communication cable

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小寺 忠志 大阪府大阪市住之江区南港東8−2−52 株式会社デジタル内 (72)発明者 岡坂 治利 大阪府大阪市住之江区南港東8−2−52 株式会社デジタル内 ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Tadashi Kodera 8-2-52 Nanko East, Suminoe-ku, Osaka City, Osaka Prefecture Digital (72) Inventor Harutoshi Okasaka 8-2 Nanko East, Suminoe-ku, Osaka City, Osaka Prefecture −52 Digital Inc.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数台のデータ処理装置(10)に対し
て個別に配設され、通信路(12)を介してLAN接続
されて互いにデータの伝送を可能とするデータ伝送用ア
ダプタであって、 データ処理装置(10)との間でデータの送受を行う装
置間通信部(14)と、 通信路(12)を介して接続される他のアダプタ(2
2)との間でデータの送受を行うアダプタ間通信部(1
6)と、 上記した装置間通信部(14)とアダプタ間通信部(1
6)との間にあって、両通信部(14)(16)間にお
けるデータの受け渡しを行うデータ記憶部(18)とを
備えるとともに、 少なくとも上記した装置間通信部(14)をプログラム
制御式とし、アダプタ外部から必要なプログラム(1
9)をダウンロード可能としたことを特徴とするデータ
伝送用アダプタ。
1. A data transmission adapter, which is individually arranged for a plurality of data processing devices (10) and is LAN-connected via a communication path (12) to enable mutual data transmission. , An inter-device communication unit (14) that transmits and receives data to and from the data processing device (10), and another adapter (2) connected via a communication path (12).
2) Inter-adapter communication unit (1) that sends and receives data to and from
6), the above-mentioned inter-device communication section (14) and inter-adapter communication section (1
6) and a data storage section (18) for exchanging data between both communication sections (14) and (16), and at least the above-mentioned inter-apparatus communication section (14) is of a program control type, Programs required from outside the adapter (1
9) A data transmission adapter characterized by being able to download.
JP4302864A 1992-10-14 1992-10-14 Adapter for data transmission Pending JPH06131276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4302864A JPH06131276A (en) 1992-10-14 1992-10-14 Adapter for data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4302864A JPH06131276A (en) 1992-10-14 1992-10-14 Adapter for data transmission

Publications (1)

Publication Number Publication Date
JPH06131276A true JPH06131276A (en) 1994-05-13

Family

ID=17914019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4302864A Pending JPH06131276A (en) 1992-10-14 1992-10-14 Adapter for data transmission

Country Status (1)

Country Link
JP (1) JPH06131276A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005215906A (en) * 2004-01-28 2005-08-11 Sanyo Electric Co Ltd Adaptor device
US6948966B2 (en) 1996-10-11 2005-09-27 Fujitsu Limited Portable-type information apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6948966B2 (en) 1996-10-11 2005-09-27 Fujitsu Limited Portable-type information apparatus
JP2005215906A (en) * 2004-01-28 2005-08-11 Sanyo Electric Co Ltd Adaptor device

Similar Documents

Publication Publication Date Title
US6298376B1 (en) Fault tolerant communication monitor for a master/slave system
US7412530B1 (en) Pointbus architecture and automatic sequential addressing protocol
US6105093A (en) Interface monitor for communicating between different communication protocols
US7676571B2 (en) System for monitoring cable interface connections in a network
CN101533380A (en) Multi-device connection system
US20060072531A1 (en) Communication network
EP2725436B1 (en) Communication device connectable to a control device and a plurality of sensors
US20070214288A1 (en) Pointbus architecture and automatic sequential addressing
JP2022027554A (en) Systems, devices, and methods for automatically addressing serially connected slave devices
CN110531686B (en) Device and method for realizing multiple hosts based on single-master multi-slave protocol
US7080150B1 (en) Pointbus architecture and automatic sequential addressing protocol
AU5886396A (en) Voltage regulator controller having means for automatic configuration of accessory devices
JPH06131276A (en) Adapter for data transmission
KR0147782B1 (en) Method and apparatus for controlling portable terminals
JP3356802B2 (en) Data transmission adapter
JPH06224913A (en) Data transmission adaptor and data transmission system
US20070078975A1 (en) System For Monitoring Cable Interface Connections In A Network
CN210137335U (en) Device for realizing network host based on single-master multi-slave protocol
JP2006174352A (en) Remote i/o module communication equipment
JPS59111528A (en) Decentralized data processor
KR100446684B1 (en) Profibus unit with embedded I/O
KR20170106797A (en) Plc module and plc system for firmware multiple download and method for firmware multiple download using the same
EP1069732A2 (en) Communication equipment realizing easy communication between apparatus
JPH06161521A (en) Remote i/o transmission system of programmable controller
KR0136697B1 (en) Automatic generation of station number of link system