Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3356802B2 - Data transmission adapter - Google Patents
[go: Go Back, main page]

JP3356802B2 - Data transmission adapter - Google Patents

Data transmission adapter

Info

Publication number
JP3356802B2
JP3356802B2 JP23599192A JP23599192A JP3356802B2 JP 3356802 B2 JP3356802 B2 JP 3356802B2 JP 23599192 A JP23599192 A JP 23599192A JP 23599192 A JP23599192 A JP 23599192A JP 3356802 B2 JP3356802 B2 JP 3356802B2
Authority
JP
Japan
Prior art keywords
data
adapter
communication
adapters
data processing
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
JP23599192A
Other languages
Japanese (ja)
Other versions
JPH0685881A (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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics Corp
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 Electronics Corp filed Critical Digital Electronics Corp
Priority to JP23599192A priority Critical patent/JP3356802B2/en
Publication of JPH0685881A publication Critical patent/JPH0685881A/en
Application granted granted Critical
Publication of JP3356802B2 publication Critical patent/JP3356802B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

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

【0002】[0002]

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

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記した
データ伝送システムにあっては、1台の親機が全てのデ
ータ伝送を制御しているため、通信路を介して接続され
る子機はすべて同一の通信手順によるデータの受け渡し
を要求される結果、異機種間の接続は極めて難しいばか
りか、データ通信専用の親機を特別に必要とするなど、
システム全体の拡張性に欠ける問題があった。
However, in the above-described data transmission system, since one master unit controls all data transmission, all the 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 the above, connection between heterogeneous models is not only extremely difficult, but also special master unit for data communication is specially required.
There was a problem that lacked expandability of the entire system.

【0004】本発明は上記した問題に鑑みてなされたも
のであって、比較的簡単な構成を維持しながら、接続さ
れるデータ処理装置の種類が限定されることがないデー
タ伝送が行えるアダプタを提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and an adapter capable of performing data transmission without limiting the type of data processing apparatus to be connected while maintaining a relatively simple configuration. The purpose is to provide.

【0005】[0005]

【課題を解決するための手段】上記した目的を達成する
ため、本発明にかかるデータ伝送用アダプタにあって
は、図1にその全体的な構成を概略的に示す如く、各デ
ータ伝送用アダプタ(22)は、対応するデータ処理装置(1
0)の機種固有の通信プロトコルでデータ通信を行うため
の通信プログラムを有するとともに、該プログラムで前
記データ処理装置(10)とデータの送受を行う装置間通信
部(14)と、前記通信路(12)を介して接続される他のアダ
プタ(22)との間でデータの送受を行うアダプタ間通信部
(16)と、前記装置間通信部(14)とアダプタ間通信部(16)
との間にあって、両通信部(14)(16)間におけるデータの
受け渡しを行うデータ記憶部(18)とを備えている。
To achieve the above object Means for Solving the Problems], in the according data transfer adapter of the present invention, as shown schematically the overall arrangement in FIG. 1, the de
The data transmission adapter (22) is
(0) To perform data communication using a model-specific communication protocol
Having a communication program of
Adapter for performing serial data processor (10) and the inter-device communication unit for transmitting and receiving data (14), the transmission and reception of data to and from other adapter connected via said communication path (12) (22) Communication unit
And (16), the device communication unit (14) and adapter communication unit (16)
And a data storage unit (18) for transferring data between the two communication units (14) and (16).

【0006】本発明にあっては更に、データ記憶部(18)
中に、通信路(12)を介して接続される各データ処理装置
(10)のデータを共有データ(20)として備えるとともに、
アダプタ間通信部(16)は、少なくとも装置間通信部(14)
により更新されたデータ記憶部(18)中の共有データ(20)
を、通信路(12)を介して他の全てのアダプタ(22)に向け
て送る一方、前記共有データ(20)を、他のアダプタ(22)
から受け取った共有データ(20)で更新し、装置間通信部
(14)は、前記更新された共有データ(20)のうち対応する
データ処理装置(10)に係るデータを該データ処理装置に
送信する。
According to the present invention, there is further provided a data storage section (18).
Inside, each data processing device connected via the communication path (12)
While providing the data of (10) as shared data (20),
The communication unit between adapters (16) is at least a communication unit between devices (14)
Data (20) in the data storage unit (18) updated by
To the other adapters (22) via the communication path (12), while transmitting the shared data (20) to the other adapters (22).
Update with the shared data (20) received from
(14) corresponds to the updated shared data (20).
Data relating to the data processing device (10) is transmitted to the data processing device.
Submit .

【0007】[0007]

【作用】上記した構成により、各アダプタ(22)に備えた
装置間通信部(14)は、適宜時期にデータ記憶部(18)にア
クセスして共有データ(20)を更新し、あるいは必要なデ
ータを共有データ(20)中から取り出してデータ処理装置
(10)に送る。
According to the above-described configuration, the inter-device communication unit (14) provided in each adapter (22) accesses the data storage unit (18) at an appropriate time to update the shared data (20), or Data processing device that extracts data from shared data (20)
Send to (10).

【0008】一方アダプタ間通信部(16)は、データ記憶
部(18)中の共有データ(20)のうち、少なくとも装置間通
信部(14)により更新されたデータを、例えば所定の微小
時間間隔で他のアダプタ(22)に対して一斉同報送信を行
なう。すると、データを受け取ったアダプタ間通信部(1
6)は、そのデータでデータ記憶部(18)中の共有データ(2
0)の更新を行うことにより、全てのアダプタ(22)で基本
的に略同一内容のデータが常時維持される。そして、共
有データ(20)が更新されると、装置間通信部(14)は、共
有データ(20)のうち、接続されたデータ処理装置(10)係
るデータを、このデータ処理装置(10)に送信する。
On the other hand, the inter-adapter communication section (16) transmits at least data updated by the inter-apparatus communication section (14) out of the shared data (20) in the data storage section (18), for example, at a predetermined minute time interval. To perform broadcast transmission to another adapter (22). Then, the inter-adapter communication unit (1
6) is the shared data (2) in the data storage unit (18).
By performing the update of (0), data of substantially the same content is basically maintained at all adapters (22) at all times. And
When the existence data (20) is updated, the inter-device communication unit (14)
Of the data (20), the data processing device (10)
Data to the data processing device (10).

【0009】したがって、各アダプタ(22)毎に装置間通
信部(14)を用いてデータ記憶部(18)とデータ処理装置(1
0)間で必要なデータの受け渡しを行うだけで、通信路(1
2)を介して接続されたデータ処理装置(10)間におけるデ
ータの受け渡しが行われるのである。
Therefore, the data storage unit (18) and the data processing device (1) are used for each adapter (22) by using the inter-device communication unit (14).
Only necessary data is passed between (0)
Data is exchanged between the data processing devices (10) connected via (2).

【0010】[0010]

【発明の効果】本発明は上記の如く、各アダプタ(22)の
データ記憶部(18)中に、通信路(12)を介して接続される
全てのデータ処理装置(10)が共通に使用する共有データ
(20)を設定し、その内容を一斉同報通信により全てのア
ダプタ(22)を対象として更新する様に構成したので、複
数台のデータ処理装置(10)間における相互のデータ交換
が、比較的簡単な構成を維持しながら容易に行える。
らに、装置間通信部(14)は、対応するデータ処理装置(1
0)の機種固有の通信プロトコルでデータ通信を行うため
の通信プログラムを有している。よって、接続される機
種の通信プロトコルに適合した通信プログラムを各アダ
プタ(22)毎に個別にダウンロードすることにより、予め
アダプタ(22)内に複数の通信プロトコルを備えることな
く、容易に任意のデータ処理装置(10)に対応したアダプ
タを構成できる。
According to the present invention, as described above, all the data processing units (10) connected via the communication path (12) are commonly used in the data storage unit (18) of each adapter (22). Shared data
(20) is set and its contents are updated by broadcast to all the adapters (22), so the data exchange between multiple data processing units (10) can be compared. It can be easily performed while maintaining a simple structure. Sa
In addition, the inter-device communication unit (14)
(0) To perform data communication using a model-specific communication protocol
Communication program. Therefore, the connected machine
Communication programs compatible with various communication protocols
By individually downloading each plug (22),
Do not have multiple communication protocols in the adapter (22).
Adapter for any data processing device (10)
Data can be configured.

【0011】[0011]

【実施例】以下本発明を、図4に例示する如く、データ
処理装置として備えた3台のPLC(24a)(24b)(24c)の
データを1台のパーソナルコンピュータ(26)(以下、
「パソコン」と略す)を用いて集中して管理するととも
に、各PLC(24)における制御状態を1台の表示制御装
置(28)によって表示する制御システムに実施した一例に
基づいて説明するがこれに限らず、接続されるデータ処
理装置の種類あるいは台数は、適宜変更して実施できる
ことは勿論である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As shown in FIG. 4, the present invention uses data of three PLCs (24a) (24b) (24c) provided as a data processing device, as shown in FIG.
This will be described based on an example in which control is performed centrally using a "personal computer") and a control system in which the control state of each PLC (24) is displayed by one display control device (28). The present invention is not limited to this, and it goes without saying that the type or 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 according to the present invention (22)
As shown in FIG. 2, a first connector (34) is attached to one side surface (32) of a flat main body case (30) having a substantially rectangular planar shape, and the other side surface (36). ) Second
A connector (38) is provided, and a control circuit (40) shown in FIG. 3 is built therein.

【0013】第1コネクタ(34)は、パソコン(26)をはじ
めとする各種データ処理装置におけるデータのシリアル
伝送用として使用されることが多いRSー232C規格
であって、一般に「25ピンD−SUBコネクタ」と呼
ばれているもののうち、図3に示す如く、オス型ピン(4
2)を備えたものをケース側面(32)に固定することによ
り、データ処理装置(10)側のメス型ピン(44)を備えたコ
ネクタ(46)に対し、接続ケーブルを介することなく挿脱
自在に直接的に取り付けられる。更に第1コネクタ(34)
の両側に取付ネジ(48)を備え、データ処理装置(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 a personal computer (26). As shown in FIG. 3, a male pin (4
By fixing the connector equipped with 2) to the case side (32), it can be inserted into and removed from the connector (46) equipped with the female pin (44) on the data processing device (10) side without connecting cables. Freely and directly attached. Further, the first connector (34)
A mounting screw (48) is provided on both sides of the first connector (34), and the mounting state of the first connector (34) is fixed by screwing with a fixing screw (50) provided on the data processing device (10) side.

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

【0015】制御回路(40)は、1チップマイコンを使用
したプログラム制御式のものが使用され、回路全体の制
御を行うCPU(56)と、その制御を行うためのプログラ
ムを記憶するROM(58)と、各種データを一時記憶する
RAM(60)と、外部に対するデータの入出力を行う第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 whole circuit and a ROM (58) for storing a program for performing the control are provided. ), A RAM (60) for temporarily storing various data, and a first for inputting / outputting data to / from the outside.
And a second serial data interface (62) (64)
(Hereinafter, abbreviated as “SIO”) are connected in parallel via an internal bus (66).

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

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

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

【0019】更に各アダプタA〜Eに備える第2コネク
タ(38)のジャック(52)を、両端にモジュラープラグ(75)
を備えた通信ケーブル(76)を用いて一連にバス接続して
通信路(12)を構成するとともに、該通信路(12)の両端を
所定の抵抗(78)で終端することにより反射を防止する。
また、通信路(12)の途中に商用交流電源(80)を低圧の直
流電圧に変換する電源部(82)を備え、通信ケーブル(76)
中に通信路(12)と並列に備えた2本の電源ライン(84)を
介して、全アダプタ(22)に必要な直流の駆動電圧を供給
する様にしている。
Further, a jack (52) of a second connector (38) provided for each of the adapters A to E is connected to a modular plug (75) at both ends.
A communication path (12) is constructed by connecting a series of buses using a communication cable (76) provided with a cable, and reflection is prevented by terminating both ends of the communication path (12) with a predetermined resistor (78). I do.
A power supply unit (82) for converting a commercial AC power supply (80) to a low-voltage DC voltage is provided in the middle of the communication path (12), and a communication cable (76)
A necessary DC drive voltage is supplied to all the adapters (22) through 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 second connector (38) has an electrode (54) for grounding and power supply, and has a power supply line (84).
A DC voltage is sent in parallel from the outside of the main body case (30) to all the adapters (22) through the main body case (30), while a DC-DC converter (86) is provided inside the main body case (30), and a predetermined It is configured to supply the driving voltage of.

【0021】上記した制御回路(40)におけるROM(58)
の一部または全部は、フラッシュEEPROMの様にそ
の内容を電気的に書き換え可能なものであって、その使
用に先だち、システム開発用のパソコン(26)から第1コ
ネクタ(34)を通じて、アダプタ(22)(22)間における相互
のデータ伝送を可能とするアダプタ間通信用プログラ
ム、第1コネクタ(34)を介して接続すべきデータ処理装
置(10)とアダプタ(22)との間のデータ伝送を可能とする
装置間通信プログラム、あるいはその他の必要なプログ
ラムを個別にダウンロードすることにより、各々のアダ
プタ(22)における具体的な機能あるいは動作特性を、各
アダプタ(22)毎に個別に設定変更できる様にしている。
The ROM (58) in the above-mentioned control circuit (40)
Some or all of them are electrically rewritable, such as a flash EEPROM. Prior to use, a personal computer (26) for system development uses an adapter (34) through a first connector (34). 22) A program for communication between adapters that enables mutual data transmission between (22), data transmission between the data processing device (10) to be connected via the first connector (34) and the adapter (22) By individually downloading the inter-device communication program or other necessary programs, the specific functions or operating characteristics of each adapter (22) can be changed individually for each adapter (22). I can do it.

【0022】特に、アダプタ(22)が接続されるデータ処
理装置(10)はその機種毎に通信プロトコルが大幅に異な
るため、接続すべき機種の通信プロトコルに適合した装
置間通信プログラムを各アダプタ(22)毎に個別にダウン
ロードして記憶可能とすることにより、予めアダプタ(2
2)内に複数の通信プロトコルを備えることなく、容易に
任意のデータ処理装置(10)に対応したアダプタを構成で
きる。
In particular, since the data processing device (10) to which the adapter (22) is connected has a significantly different communication protocol for each model, an inter-device communication program suitable for the communication protocol of the model to be connected is stored in each adapter (10). 22) By enabling individual download and storage for each
An adapter corresponding to an arbitrary data processing device (10) can be easily configured without having a plurality of communication protocols in (2).

【0023】また、その他の機能を実現するプログラム
を必要に応じてダウンロード可能とすることにより、ア
ダプタ(22)をより高機能化することができ、データ処理
装置(10)側におけるデータ処理上の負担を更に軽減でき
る。
Further, by making it possible to download a program for realizing other functions as required, the function of the adapter (22) can be further enhanced, and the data processing device (10) has a higher processing capability. The burden can be further reduced.

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

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

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

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

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

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

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

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

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

【0033】一方、装置間通信は、ステップ(108)でP
LC(24a)側の管理情報を絶えず確認し、ステップ(109)
で変化が認められると、ステップ(110)でPLC(24a)側
の所定番地からB1〜B3のノード情報を読み込み、ス
テップ(111)でアダプタ(22)内部の管理情報を更新す
る。またステップ(112)で、更新前の旧データ(98)と現
在の共有データ(20)とを比較し、ステップ(113)で変化
したことが判定されると、ステップ(114)でその変化情
報をPLC(24a)側に送り、PLC(24a)内部のデータを
更新するのである。
On the other hand, the communication between the devices is performed in step (108).
Check the management information on the LC (24a) side continuously, step (109)
When a change is recognized in step (110), node information of B1 to B3 is read from a predetermined address on the PLC (24a) side in step (110), and management information inside the adapter (22) is updated in step (111). Further, in step (112), the old data (98) before update is compared with the current shared data (20), and if it is determined in step (113) that the data has changed, the change information is determined in step (114). Is sent to the PLC (24a) to update the data inside the PLC (24a).

【0034】なお、A〜Eで示すアダプタ(22)をすべ
て、上記の様な能動的な動作をするものを使用して構成
することは可能である。しかしながら本実施例にあって
は、パソコン(26)および表示制御装置(28)それ自身がア
ダプタ(22)に対して能動的なアクセス機能を有するのを
利用し、図5(b)および図7でその動作を例示する受
動型のアダプタ(22)を両者に使用している。
It should be noted that all of the adapters (22) indicated by A to E can be constructed by using those which perform the above-mentioned active operations. However, in the present embodiment, the personal computer (26) and the display control device (28) utilize the fact that they have an active access function to the adapter (22), and FIG. Both use a passive adapter (22) whose operation is illustrated in FIG.

【0035】すなわちアダプタ間通信は、上記した能動
型のアダプタ(22)と略同様な動作を行う。しかしながら
装置間通信は、ステップ(120)でパソコン(26)側からデ
ータの書き換え要求があることが確認されると、ステッ
プ(121)で必要なノード情報を読み込み、ステップ(122)
でそのデータでアダプタ(22)内部の管理情報を強制的に
書き換える。一方ステップ(123)において、パソコン(2
6)側からデータの読み出し要求があったことが確認され
ると、ステップ(124)で該当のデータをパソコン(26)に
向けて送出するのである。
That is, the communication between the adapters performs substantially the same operation as that of the active adapter (22). However, in the inter-device communication, if it is confirmed in step (120) that there is a data rewrite request from the personal computer (26), the necessary node information is read in step (121), and step (122)
Then, the management information inside the adapter (22) is forcibly rewritten with the data. On the other hand, in step (123), the personal computer (2
When it is confirmed that the data read request is received from the 6) side, the corresponding data is transmitted to the personal computer (26) in step (124).

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

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

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

【図面の簡単な説明】[Brief description of the 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 embodiment of the adapter according to the present invention.

【図3】制御回路の一例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of a control circuit.

【図4】アダプタをLAN接続した一例を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing an example in which an adapter is connected to a LAN.

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

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

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

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

(10) データ処理装置 (12) 通信路 (14) 装置間通信部 (16) アダプタ間通信部 (18) データ記憶部 (20) 共有データ (22) アダプタ (24) PLC (26) パソコン (28) 表示制御装置 (34) 第1コネクタ (38) 第2コネクタ (40) 制御回路 (76) 通信ケーブル (88) 記憶領域 (90) 送信用テーブル (92) 受信用テーブル (10) Data processing unit (12) Communication path (14) Communication unit between devices (16) Communication unit between adapters (18) Data storage unit (20) Shared data (22) Adapter (24) PLC (26) Personal computer (28 ) Display control device (34) First connector (38) Second connector (40) Control circuit (76) Communication cable (88) Storage area (90) Transmission table (92) Reception table

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岡坂 治利 大阪府大阪市住之江区南港東8丁目2番 52号 株式会社デジタル内 (56)参考文献 特開 平2−154550(JP,A) 特開 平2−244928(JP,A) 特開 平4−167795(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 29/10 H04L 12/28 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Juri Okasaka 8-52, Nankohigashi, Suminoe-ku, Osaka-shi, Osaka Digital Co., Ltd. (56) References JP-A-2-154550 (JP, A) JP-A-2-244928 (JP, A) JP-A-4-16795 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04L 29/10 H04L 12/28

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数台のデータ処理装置(10)に対して個別
に配設され、通信路(12)を介して接続されて互いにデー
タの伝送を可能とするデータ伝送用アダプタ(22)であっ
て、該各データ伝送用アダプタ(22)は、対応する前記 データ
処理装置(10)の機種固有の通信プロトコルでデータ通信
を行うための通信プログラムを有するとともに、該プロ
グラムで前記データ処理装置(10)とデータの送受を行う
装置間通信部(14)と、前記 通信路(12)を介して接続される他のアダプタ(22)と
の間でデータの送受を行うアダプタ間通信部(16)と、前記 装置間通信部(14)とアダプタ間通信部(16)との間に
あって、両通信部(14)(16)間におけるデータの受け渡し
を行うデータ記憶部(18)とを備え、前記 データ記憶部(18)中に、通信路(12)を介して接続さ
れる各データ処理装置(10)のデータを共有データ(20)と
して備えるとともに、 アダプタ間通信部(16)は、少なくとも装置間通信部(14)
により更新されたデータ記憶部(18)中の共有データ(20)
を、通信路(12)を介して他の全てのアダプタ(22)に向け
て送る一方、前記共有データ(20)を、他のアダプタ(22)
から受け取った共有データ(20)で更新し、 装置間通信部(14)は、前記更新された共有データ(20)の
うち対応するデータ処理装置(10)に係るデータを該デー
タ処理装置(10)に送信 することを特徴とするデータ伝送
用アダプタ。
1. A data transmission adapter (22) which is individually arranged for a plurality of data processing devices (10), is connected via a communication path (12), and enables data transmission to each other. Each of the data transmission adapters (22) performs data communication using a communication protocol specific to the model of the corresponding data processing device (10).
Communication program for performing
The gram the data processing apparatus (10) and the inter-device communication unit for transmitting and receiving data (14), the transmission and reception of data to and from other adapter connected via said communication path (12) (22) an adapter communication unit (16) to perform, be between the device communication unit (14) adapter communication unit (16), both the communication unit (14) (16) data storage unit for transferring data between (18) and wherein the data storage unit in (18), together comprising as shared data (20) the data of each data processing device (10) connected via a communication path (12), between the adapter communication The unit (16) is at least an inter-device communication unit (14)
Data (20) in the data storage unit (18) updated by
To the other adapters (22) via the communication path (12), while transmitting the shared data (20) to the other adapters (22).
Updated with shared data (20) received from the inter-device communication unit (14), the updated shared data (20)
The data related to the corresponding data processing device (10) is
A data transmission adapter for transmitting data to a data processing device (10) .
JP23599192A 1992-09-03 1992-09-03 Data transmission adapter Expired - Fee Related JP3356802B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23599192A JP3356802B2 (en) 1992-09-03 1992-09-03 Data transmission adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23599192A JP3356802B2 (en) 1992-09-03 1992-09-03 Data transmission adapter

Publications (2)

Publication Number Publication Date
JPH0685881A JPH0685881A (en) 1994-03-25
JP3356802B2 true JP3356802B2 (en) 2002-12-16

Family

ID=16994196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23599192A Expired - Fee Related JP3356802B2 (en) 1992-09-03 1992-09-03 Data transmission adapter

Country Status (1)

Country Link
JP (1) JP3356802B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3742036B2 (en) 2002-07-11 2006-02-01 理研化機工業株式会社 Automotive door checker

Also Published As

Publication number Publication date
JPH0685881A (en) 1994-03-25

Similar Documents

Publication Publication Date Title
US5452420A (en) Intelligent network interface circuit for establishing communication link between protocol machine and host processor employing counter proposal set parameter negotiation scheme
KR920003833B1 (en) Communication processor
US7676571B2 (en) System for monitoring cable interface connections in a network
JP3356802B2 (en) Data transmission adapter
US7236143B2 (en) System, apparatus and method for configuring identification of a display
US5610593A (en) Communication controller and communication control method
JPH06131276A (en) Adapter for data transmission
JPH06224913A (en) Data transmission adaptor and data transmission system
JP2510221B2 (en) Network node address setting method
EP1037126B1 (en) A signal handling device
US6421628B1 (en) Signal handling device
JP2786010B2 (en) Information outlet jack and home bus system having the jack
CN101263682A (en) System for monitoring cable interface connections in a network
JP2900038B2 (en) Remote I/O device for PC
JP2001197151A (en) Line terminal device and line interface device
JP3367793B2 (en) Remote monitoring control device
EP1069732A2 (en) Communication equipment realizing easy communication between apparatus
JPH0764472A (en) Remote I / O system of programmable controller
JP2925215B2 (en) Line control system and line control device used in the line control system
JPH10143300A (en) Optical communication processor
KR100427764B1 (en) Apparatus for Interface between Devices of different Data Bus
JPH05233032A (en) Data transmitter
JP2005137136A (en) Uninterruptible power supply management system
KR100446684B1 (en) Profibus unit with embedded I/O
JPH10260761A (en) Data transfer device provided with transfer rate display function

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020827

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071004

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081004

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091004

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101004

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111004

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees