JP2017163368A - Communication protocol converter - Google Patents

Communication protocol converter Download PDF

Info

Publication number
JP2017163368A
JP2017163368A JP2016046524A JP2016046524A JP2017163368A JP 2017163368 A JP2017163368 A JP 2017163368A JP 2016046524 A JP2016046524 A JP 2016046524A JP 2016046524 A JP2016046524 A JP 2016046524A JP 2017163368 A JP2017163368 A JP 2017163368A
Authority
JP
Japan
Prior art keywords
communication
protocol
memory
data
link
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.)
Granted
Application number
JP2016046524A
Other languages
Japanese (ja)
Other versions
JP6570462B2 (en
Inventor
大輔 塩塚
Daisuke Shiozuka
大輔 塩塚
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2016046524A priority Critical patent/JP6570462B2/en
Publication of JP2017163368A publication Critical patent/JP2017163368A/en
Application granted granted Critical
Publication of JP6570462B2 publication Critical patent/JP6570462B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a communication protocol converter capable of lightening the load needed for software creation work and confirmation work even if terminals mounted on each system are different in model and number.SOLUTION: A communication protocol converter is provided with a command map 11 for CC-Link communication which holds parameter information to be used for CC-Link communication; a memory map 12 for other protocol communication which holds parameter information to be used for other protocol communication except the CC-Link communication; a memory 15 for CC-Link communication which executes the CC-Link communication; a memory 16 for other protocol communication which executes the other protocol communication; and data substitution means 17 of using the parameter information of the command map 11 for CC-Link communication and the parameter information of the memory map 12 for other protocol communication to perform substitution between data of the memory 15 for CC-Link communication and data of the memory 16 for other protocol communication.SELECTED DRAWING: Figure 1

Description

この発明は、フィールドネットワークであるCC−Link通信のプロトコルをCC−Link通信以外の他の通信プロトコルに変換することにより異なるネットワーク間におけるデータ通信を可能にする通信プロトコル変換装置に関するものである。   The present invention relates to a communication protocol conversion device that enables data communication between different networks by converting a CC-Link communication protocol, which is a field network, into a communication protocol other than CC-Link communication.

従来、通信ネットワークに複数の端末等が接続されたシステムにおいては、システム毎に搭載されている端末の機種や台数が異なることから、システム毎に通信用メモリと内部メモリのデータ置換えソフトウエアを作成する必要がある。このソフトウエア作成作業において、信号点数が膨大である場合には、ソフトウエア作成作業と確認作業に膨大な時間が掛かるうえ、ミスも発生しやすくなる。この問題を解決するため、例えば、特許文献1では、物理アドレスと変数名を変換するテーブルを用いてソフトウエアの作成を行うことでソフトウエア作成に要する負荷を軽減している。(例えば、特許文献1)
しかし、CC−Link通信においては、伝送データのフレームのデータサイズが小さいため、大量のデータ伝送に向かないものであり、同一物理アドレスに対して、コマンド送信とデータ受信を行って内部データを順々に取得するものであり、同一の物理アドレスに格納されているデータの内容は刻々と変わるため、単一の変数名を割り当てることが出来ず、特許文献1の技術をそのまま適用することはできないものであった。
なお、CC−Link通信における大量のデータ伝送に向かないという問題の対策をしたものとして、特許文献2では、データの変化箇所のみを通信するという対策を実施しているが、この方法は設定値などの値がおおむね固定のデータに対しては有効であるが、計測値など値が刻々と変化するデータに対しては、データ変化箇所が大部分となり有効性が低いものである。(例えば、特許文献2)
Conventionally, in systems where multiple terminals are connected to a communication network, the data and software for the communication memory and internal memory are created for each system because the model and number of terminals installed in each system differ. There is a need to. In this software creation work, if the number of signal points is enormous, the software creation work and the confirmation work take an enormous amount of time, and mistakes are likely to occur. In order to solve this problem, for example, in Patent Document 1, the load required for software creation is reduced by creating software using a table for converting physical addresses and variable names. (For example, Patent Document 1)
However, in CC-Link communication, since the data size of the transmission data frame is small, it is not suitable for mass data transmission. Command transmission and data reception are performed for the same physical address, and the internal data is sequentially processed. Since the contents of the data stored in the same physical address change every moment, a single variable name cannot be assigned, and the technique of Patent Document 1 cannot be applied as it is. It was a thing.
As a countermeasure against the problem of being unsuitable for large-volume data transmission in CC-Link communication, Patent Document 2 implements a countermeasure for communicating only data change points. However, for data such as measured values whose values change every moment, the data change points are large and the effectiveness is low. (For example, Patent Document 2)

特開2005−129026号公報JP 2005-129026 A 特開2014−174616号公報JP 2014-174616 A

従来のCC−Link通信とCC−Link通信以外の他の通信との間におけるデータ通信を可能にする通信プロトコル変換装置においては、通信用メモリのデータと内部メモリのデータを置換えるソフトウエアを使用するのが一般的であり、システム毎に搭載されている端末の機種や台数が異なることから、ソフトウエア作成作業と確認作業に膨大な時間が掛かるうえ、ミスも発生しやすいという課題があった。   In the communication protocol converter that enables data communication between the conventional CC-Link communication and other communication other than CC-Link communication, software that replaces the data in the memory for communication and the data in the internal memory is used. In general, since the type and number of terminals installed in each system are different, it takes a lot of time to create and check software, and there is a problem that mistakes are likely to occur. .

この発明は以上のような課題を解決するためになされたもので、システム毎に搭載されている端末の機種や台数が異なる場合でも、ソフトウエア作成作業と確認作業に要する負荷を軽減することが可能な通信プロトコル変換装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and even if the type and number of terminals installed in each system are different, the load required for software creation work and confirmation work can be reduced. An object of the present invention is to provide a communication protocol conversion device that can be used.

この発明に係る通信プロトコル変換装置は、CC−Link通信用に使用されるパラメータ情報を保有したCC−Link通信用コマンドマップと、前記CC−Link通信以外の他のプロトコル通信用に使用されるパラメータ情報を保有した他プロトコル通信用メモリマップと、前記CC−Link通信を実行するCC−Link通信用メモリと、前記他のプロトコル通信を実行する他プロトコル通信用メモリと、前記CC−Link通信用コマンドマップのパラメータ情報と前記他プロトコル通信用メモリマップのパラメータ情報を使用して、前記CC−Link通信用メモリのデータと前記他プロトコル通信用メモリのデータを置換えるデータ置換手段を備えたことを特徴とするものである。   The communication protocol conversion apparatus according to the present invention includes a CC-Link communication command map having parameter information used for CC-Link communication, and parameters used for protocol communication other than the CC-Link communication. Other protocol communication memory map having information, CC-Link communication memory for executing the CC-Link communication, Other protocol communication memory for executing the other protocol communication, and CC-Link communication command Data replacement means for replacing data of the CC-Link communication memory and data of the other protocol communication memory using parameter information of the map and parameter information of the memory map for other protocol communication is provided. It is what.

この発明によれば、CC−Link通信用に使用されるパラメータ情報を保有したCC−Link通信用コマンドマップと、前記CC−Link通信以外の他のプロトコル通信用に使用されるパラメータ情報を保有した他プロトコル通信用メモリマップと、前記CC−Link通信を実行するCC−Link通信用メモリと、前記他のプロトコル通信を実行する他プロトコル通信用メモリと、前記CC−Link通信用コマンドマップのパラメータ情報と前記他プロトコル通信用メモリマップのパラメータ情報を使用して、前記CC−Link通信用メモリのデータと前記他プロトコル通信用メモリのデータを置換えるデータ置換手段を備えているため、システム毎に搭載されている端末の機種や台数が異なる場合でも、ソフトウエア作成作業と確認作業に要する負荷を軽減することが可能な通信プロトコル変換装置を得ることができる効果がある。   According to the present invention, a command map for CC-Link communication that holds parameter information used for CC-Link communication, and parameter information that is used for protocol communication other than the CC-Link communication are held. Parameter information of other protocol communication memory map, CC-Link communication memory for executing CC-Link communication, other protocol communication memory for executing other protocol communication, and command map for CC-Link communication And data replacement means for replacing the data of the CC-Link communication memory and the data of the other protocol communication memory using the parameter information of the memory map for the other protocol communication, and installed in each system. Even if the model and number of installed terminals are different, There is an effect that it is possible to obtain a communication protocol converter that can reduce the load required for the checking operation and.

この発明の実施の形態1における通信プロトコル変換装置の概略構成を示す構成図である。It is a block diagram which shows schematic structure of the communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態1における通信プロトコル変換装置を使用したシステムの概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the system which uses the communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態1における通信プロトコル変換装置のCC−Link通信用コマンドマップを説明する説明図である。It is explanatory drawing explaining the command map for CC-Link communication of the communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態1における通信プロトコル変換装置の他プロトコル通信用メモリマップを説明する説明図である。It is explanatory drawing explaining the memory map for other protocol communications of the communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態1における通信プロトコル変換装置の紐付け表を説明する説明図である。It is explanatory drawing explaining the association table | surface of the communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態1における通信プロトコル変換装置のデータ置換手段を使用しての通信手順を説明する説明図である。It is explanatory drawing explaining the communication procedure using the data substitution means of the communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態2における通信プロトコル変換装置の概略構成を示す構成図である。It is a block diagram which shows schematic structure of the communication protocol converter in Embodiment 2 of this invention. この発明の実施の形態2における通信プロトコル変換装置の他プロトコル通信用メモリマップを説明する説明図である。It is explanatory drawing explaining the memory map for other protocol communications of the communication protocol converter in Embodiment 2 of this invention. この発明の実施の形態3における通信プロトコル変換装置の概略構成を示す構成図である。It is a block diagram which shows schematic structure of the communication protocol converter in Embodiment 3 of this invention. この発明の実施の形態3における通信プロトコル変換装置の他プロトコル通信用メモリマップを説明する説明図である。It is explanatory drawing explaining the memory map for other protocol communications of the communication protocol converter in Embodiment 3 of this invention. この発明の実施の形態1における一般的な通信プロトコル変換装置の概略構成を示す構成図である。It is a block diagram which shows schematic structure of the general communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態1における一般的な通信プロトコル変換装置を使用したシステムの概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the system using the general communication protocol converter in Embodiment 1 of this invention. この発明の実施の形態1における一般的な通信プロトコル変換装置のデータ置換手段を使用しての通信手順を説明する説明図である。It is explanatory drawing explaining the communication procedure using the data replacement means of the general communication protocol converter in Embodiment 1 of this invention.

以下、この発明の実施の形態について説明するが、各図において同一、または相当部分については同一符号を付して説明する。
実施の形態1.
最初に、本件発明を理解する一助にするため、一般的な通信プロトコル変換装置について説明する。
図11はこの発明の実施の形態1における一般的な通信プロトコル変換装置の概略構成を示す構成図、図12はこの発明の実施の形態1における一般的な通信プロトコル変換装置を使用したシステムの概略構成を示す説明図、図13はこの発明の実施の形態1における一般的な通信プロトコル変換装置のデータ置換手段を使用しての通信手順を説明する説明図である。
Hereinafter, embodiments of the present invention will be described. In the drawings, the same or corresponding parts will be described with the same reference numerals.
Embodiment 1 FIG.
First, a general communication protocol conversion device will be described to help understand the present invention.
FIG. 11 is a block diagram showing a schematic configuration of a general communication protocol conversion apparatus according to Embodiment 1 of the present invention, and FIG. 12 is an overview of a system using the general communication protocol conversion apparatus according to Embodiment 1 of the present invention. FIG. 13 is an explanatory diagram showing a configuration, and FIG. 13 is an explanatory diagram for explaining a communication procedure using data replacement means of a general communication protocol conversion apparatus according to Embodiment 1 of the present invention.

図12はシステムの全体概略構成を示すものであり、一般的な通信プロトコル変換装置100は、CC−Link通信用ネットワーク2(伝送ライン)とCC−Link通信以外の他プロトコル通信用ネットワーク3(伝送ライン)との間に接続されて、異なる通信ネットワーク間のデータ通信を可能にする。CC−Link通信用ネットワーク2には複数台のCC−Link端末4が接続されている。他プロトコル通信用ネットワーク3にはプログラマブルロジックコントローラ5(以下PLCと称す)およびパーソナルコンピュータ6(以下PCと称す)などが、それぞれ1台または複数台接続されている。   FIG. 12 shows an overall schematic configuration of a system. A general communication protocol conversion apparatus 100 includes a CC-Link communication network 2 (transmission line) and a protocol communication network 3 (transmission other than CC-Link communication). Line) to enable data communication between different communication networks. A plurality of CC-Link terminals 4 are connected to the CC-Link communication network 2. One or more programmable logic controllers 5 (hereinafter referred to as PLCs) and personal computers 6 (hereinafter referred to as PCs) are connected to the other protocol communication network 3.

一般的な通信プロトコル変換装置100の構成について図11にもとづき説明する。
通信プロトコル変換装置100には、内部メモリ10と、CC−Link通信用ネットワーク2に接続されたCC−Link通信用メモリ15と、他プロトコル通信用ネットワーク3に接続された他プロトコル通信用メモリ16が搭載されており、内部メモリ100とCC−Link通信用メモリ15のデータ置換え処理を実行するデータ置換手段18、および内部メモリ10と他プロトコル通信用メモリ16のデータ置換え処理を実行するデータ置換手段19を形成するソフトウエアがそれぞれインストールされている。
A configuration of a general communication protocol conversion apparatus 100 will be described with reference to FIG.
The communication protocol converter 100 includes an internal memory 10, a CC-Link communication memory 15 connected to the CC-Link communication network 2, and another protocol communication memory 16 connected to the other protocol communication network 3. The data replacement means 18 that is mounted and executes data replacement processing of the internal memory 100 and the CC-Link communication memory 15 and data replacement means 19 that executes data replacement processing of the internal memory 10 and the other protocol communication memory 16. Are installed.

次に、データ置換手段18のソフトウエアにおいて、CC−Link通信用メモリ15を使用して実行される通信手順について、図13にもとづき説明する。CC−Link通信用メモリ15は、端末毎にメモリが割り振られており、その端末毎のメモリには、CC−Link端末4へのデータ送信用と、CC−Link端末4からのデータ受信用が設けられている。以下に説明するステップS1からS5の処理を繰り返すことにより、各CC−Link端末4のデータを内部メモリ10に格納することができる。   Next, a communication procedure executed using the CC-Link communication memory 15 in the software of the data replacing unit 18 will be described with reference to FIG. The CC-Link communication memory 15 is allocated to each terminal, and the memory for each terminal is used for data transmission to the CC-Link terminal 4 and for data reception from the CC-Link terminal 4. Is provided. The data of each CC-Link terminal 4 can be stored in the internal memory 10 by repeating the processes of steps S1 to S5 described below.

ステップS1において、データ置換手段18は、CC−Link通信用メモリ15のデータ送信用メモリに対して取得項目に対応するコマンドを書き込む。
ステップS2において、CC−Link通信用メモリ15のデータ送信用メモリに書き込まれたコマンドは、該当のCC−Link端末4に対して自動送信される。
ステップS3において、CC−Link通信用メモリ15から自動送信されたコマンドを受信した該当のCC−Link端末4は、受信したコマンドに応じたデータ値をCC−Link通信用メモリ15のデータ受信用メモリに書き込む。
ステップS4において、データ置換手段18は、CC−Link通信用メモリ15のデータ受信用メモリに書き込まれたデータ値を読み出す。
ステップS5において、データ置換手段18は、読み出したデータ値を内部メモリ10の該当データ保存部に格納する。
In step S <b> 1, the data replacement unit 18 writes a command corresponding to the acquisition item in the data transmission memory of the CC-Link communication memory 15.
In step S2, the command written in the data transmission memory of the CC-Link communication memory 15 is automatically transmitted to the corresponding CC-Link terminal 4.
In step S3, the corresponding CC-Link terminal 4 that has received the command automatically transmitted from the CC-Link communication memory 15 sends the data value corresponding to the received command to the data reception memory of the CC-Link communication memory 15. Write to.
In step S4, the data replacing unit 18 reads the data value written in the data receiving memory of the CC-Link communication memory 15.
In step S <b> 5, the data replacement unit 18 stores the read data value in the corresponding data storage unit of the internal memory 10.

ここで、システム毎に搭載されているCC−Link端末4の機種や台数が異なることから、システム毎にCC−Link通信用メモリ15と内部メモリ10のデータ置換手段18を形成するソフトウエアを作成する必要があり、この作業において、信号点数が膨大である場合には、ソフトウエア作成作業と確認作業に膨大な時間が掛かり、これによるミスも発生しやすいものであった。   Here, since the model and number of CC-Link terminals 4 installed in each system are different, software for forming the data replacement means 18 of the CC-Link communication memory 15 and the internal memory 10 is created for each system. In this work, if the number of signal points is enormous, the software creation work and the confirmation work take an enormous amount of time, and errors due to this take place easily.

内部メモリ10と他プロトコル通信用メモリ16のデータを置換えるデータ置換手段19のソフトウエアにおける処理は、内部メモリ10のデータを他プロトコル通信用メモリ16にコピーする処理と、他プロトコル通信用メモリ16に受信したデータを内部メモリ10にコピーする処理とがあるが、他プロトコル通信用のメモリマップはシステム毎に異なるため、システム毎にデータ置換手段19のソフトウエアを作成する必要がある。   The processing in the software of the data replacement means 19 that replaces the data in the internal memory 10 and the other protocol communication memory 16 includes the process of copying the data in the internal memory 10 to the other protocol communication memory 16, and the other protocol communication memory 16. However, since the memory map for other protocol communication is different for each system, it is necessary to create software for the data replacement means 19 for each system.

次に、本発明の実施の形態1について説明する。
図1はこの発明の実施の形態1における通信プロトコル変換装置の概略構成を示す構成図、図2はこの発明の実施の形態1における通信プロトコル変換装置を使用したシステムの概略構成を示す説明図、図3はこの発明の実施の形態1における通信プロトコル変換装置のCC−Link通信用コマンドマップを説明する説明図、図4はこの発明の実施の形態1における通信プロトコル変換装置の他プロトコル通信用メモリマップを説明する説明図、図5はこの発明の実施の形態1における通信プロトコル変換装置の紐付け表を説明する説明図、図6はこの発明の実施の形態1における通信プロトコル変換装置のデータ置換手段を使用しての通信手順を説明する説明図である。
Next, Embodiment 1 of the present invention will be described.
FIG. 1 is a block diagram showing a schematic configuration of a communication protocol conversion apparatus according to Embodiment 1 of the present invention. FIG. 2 is an explanatory diagram showing a schematic configuration of a system using the communication protocol conversion apparatus according to Embodiment 1 of the present invention. 3 is an explanatory diagram for explaining a command map for CC-Link communication of the communication protocol conversion apparatus according to the first embodiment of the present invention. FIG. 4 is another protocol communication memory for the communication protocol conversion apparatus according to the first embodiment of the present invention. FIG. 5 is an explanatory diagram for explaining the map, FIG. 5 is an explanatory diagram for explaining the association table of the communication protocol conversion apparatus according to the first embodiment of the present invention, and FIG. It is explanatory drawing explaining the communication procedure using a means.

図2において、通信プロトコル変換装置1は、CC−Link通信用ネットワーク2とCC−Link通信以外の他プロトコル通信用ネットワーク3との間に接続されて、異なる通信ネットワーク間のデータ通信を可能にする。CC−Link通信用ネットワーク2には複数台のCC−Link端末4が接続されている。他プロトコル通信用ネットワーク3にはPLC5およびPC6などがそれぞれ1台または複数台接続されている。   In FIG. 2, a communication protocol conversion apparatus 1 is connected between a CC-Link communication network 2 and a protocol communication network 3 other than CC-Link communication, and enables data communication between different communication networks. . A plurality of CC-Link terminals 4 are connected to the CC-Link communication network 2. One or more PLCs 5 and PCs 6 are connected to the other protocol communication network 3.

図1において、通信プロトコル変換装置1には、CC−Link通信用コマンドマップ11と他プロトコル通信用メモリマップ12がインストールされており、紐付け手段13によりイニシャル処理にてこれらを統合した紐付け表14が作成されている。また、CC−Link通信用ネットワーク2に接続されたCC−Link通信用メモリ15と、他プロトコル通信用ネットワーク3に接続された他プロトコル通信用メモリ16が搭載されており、紐付け表14を使用してCC−Link通信用メモリ15と他プロトコル通信用メモリ16のデータ置換え処理を直接実行するデータ置換手段17を形成するソフトウエアがインストールされている。   In FIG. 1, a CC-Link communication command map 11 and another protocol communication memory map 12 are installed in the communication protocol conversion apparatus 1, and an association table in which these are integrated by an association process 13 by an initial process. 14 is created. Also, a CC-Link communication memory 15 connected to the CC-Link communication network 2 and an other protocol communication memory 16 connected to the other protocol communication network 3 are mounted, and the association table 14 is used. Software for forming data replacement means 17 for directly executing data replacement processing of the CC-Link communication memory 15 and the other protocol communication memory 16 is installed.

CC−Link通信用コマンドマップ11の一例を図3に示しており、通信を行うCC−Link端末4を示す端末、データ内容を表す項目、コマンド、CC−Link通信用メモリ15にコマンドを書込み完了後に立てる書込フラグ、応答データを読込み可能時に立てる応答フラグ、およびデータ送受信の情報(パラメータ)を保有している。
他プロトコル通信用メモリマップ12の一例を図4に示しており、メモリアドレス、端末、および項目の情報(パラメータ)を保有している。
紐付け表14の一例を図5に示しており、図3と図4の情報を統合したものとなっている。
An example of the command map 11 for CC-Link communication is shown in FIG. 3, the terminal indicating the CC-Link terminal 4 that performs communication, the item indicating the data contents, the command, and the writing of the command to the CC-Link communication memory 15 is completed It has a write flag that is set later, a response flag that is set when response data can be read, and data transmission / reception information (parameters).
An example of the other protocol communication memory map 12 is shown in FIG. 4 and holds information (parameters) of a memory address, a terminal, and an item.
An example of the association table 14 is shown in FIG. 5, and the information of FIGS. 3 and 4 is integrated.

データ置換手段17のソフトウエアにおいて実行される通信手順について、図6にもとづき説明する。
ステップS0において、他プロトコル通信用メモリ16にCC−Link端末4宛のデータが届くと、データ置換手段17は、そのデータを取り込む。
ステップS1において、データ置換手段17は、取り込んだデータを紐付け表14により変換してCC−Link通信用メモリ15のデータ送信用部に書き込む。
ステップS2において、CC−Link通信用メモリ15のデータ送信用部に書き込まれたコマンドは、該当のCC−Link端末4に対して自動送信される。
ステップS3において、CC−Link通信用メモリ15から自動送信されたコマンドを受信した該当のCC−Link端末4は、受信したコマンドに応じたデータ値をCC−Link通信用メモリ15のデータ受信用メモリに書き込む。
ステップS4において、データ置換手段17は、CC−Link通信用メモリ15のデータ受信用メモリに書き込まれたデータ値を読み出す。
ステップS6において、データ置換手段17は、読み出したデータ値を紐付け表14により変換して他プロトコル通信用メモリ16に書き込む。
A communication procedure executed in the software of the data replacing unit 17 will be described with reference to FIG.
In step S0, when the data addressed to the CC-Link terminal 4 arrives at the other protocol communication memory 16, the data replacement means 17 takes in the data.
In step S <b> 1, the data replacement unit 17 converts the fetched data according to the association table 14 and writes it in the data transmission unit of the CC-Link communication memory 15.
In step S <b> 2, the command written in the data transmission unit of the CC-Link communication memory 15 is automatically transmitted to the corresponding CC-Link terminal 4.
In step S3, the corresponding CC-Link terminal 4 that has received the command automatically transmitted from the CC-Link communication memory 15 sends the data value corresponding to the received command to the data reception memory of the CC-Link communication memory 15. Write to.
In step S4, the data replacement unit 17 reads the data value written in the data reception memory of the CC-Link communication memory 15.
In step S <b> 6, the data replacement unit 17 converts the read data value by the association table 14 and writes it in the other protocol communication memory 16.

以上説明したように、CC−Link通信用コマンドマップ11と他プロトコル通信用メモリマップ12とそれらを使用するデータ置換手段17のソフトウエアにすることで、システムの構成等が変更になった場合にも、データ置換手段17のソフトウエアの変更は必要なく、システム変更された部分に該当するCC−Link通信用コマンドマップ11または他プロトコル通信用メモリマップ12のみを変更するのみでよくなるため、システム変更の影響範囲を局所化でき、システム毎に搭載されている端末の機種や台数が異なる場合でも、ソフトウエア作成作業と確認作業に要する負荷を軽減することが可能となる。   As described above, when the software configuration of the CC-Link communication command map 11, the other protocol communication memory map 12, and the data replacement means 17 using them is changed, the system configuration is changed. However, it is not necessary to change the software of the data replacement means 17, and it is only necessary to change the CC-Link communication command map 11 or the other protocol communication memory map 12 corresponding to the part where the system is changed. It is possible to reduce the load required for software creation work and confirmation work even when the type and number of terminals installed in each system are different.

実施の形態2.
図7はこの発明の実施の形態2における通信プロトコル変換装置の概略構成を示す構成図、図8はこの発明の実施の形態2における通信プロトコル変換装置の他プロトコル通信用メモリマップを説明する説明図である。
上記実施の形態1では、他プロトコル通信の具体例を示していないが、実施の形態2では、他プロトコル通信がIEC61850通信の場合について説明する。
図7において、通信プロトコル変換装置1は、CC−Link通信用ネットワーク2とIEC61850通信用ネットワーク3aとの間に接続されており、他プロトコル通信用メモリマップ12aは、図8に示すようにIEC61850通信のメモリアドレスとなっており、IEC61850通信特有のデータ構造のパス(Logical NodeやData Object)の情報が格納されている。
なお、他の部分については上記実施の形態1と同様であるため説明を省略する。
Embodiment 2. FIG.
FIG. 7 is a block diagram showing a schematic configuration of a communication protocol conversion apparatus according to Embodiment 2 of the present invention. FIG. 8 is an explanatory diagram for explaining a memory map for other protocol communication in the communication protocol conversion apparatus according to Embodiment 2 of the present invention. It is.
In the first embodiment, a specific example of other protocol communication is not shown. In the second embodiment, a case where the other protocol communication is IEC61850 communication will be described.
In FIG. 7, the communication protocol conversion apparatus 1 is connected between the CC-Link communication network 2 and the IEC 61850 communication network 3a, and the other protocol communication memory map 12a includes the IEC 61850 communication as shown in FIG. The memory address is stored, and information on the path (Logical Node and Data Object) of the data structure peculiar to IEC61850 communication is stored.
Since other parts are the same as those in the first embodiment, description thereof is omitted.

実施の形態3.
図9はこの発明の実施の形態3における通信プロトコル変換装置の概略構成を示す構成図、図10はこの発明の実施の形態3における通信プロトコル変換装置の他プロトコル通信用メモリマップを説明する説明図である。
上記実施の形態1では、他プロトコル通信の具体例を示していないが、実施の形態3では、他プロトコル通信がCC−Link IE Control通信の場合について説明する。
図9において、通信プロトコル変換装置1は、CC−Link通信用ネットワーク2とCC−Link IE Control通信用ネットワーク3bとの間に接続されており、他プロトコル通信用メモリマップ12bは、図10に示すようにCC−Link IE Control通信のメモリアドレスとなっており、CC−Link IE Control通信特有のデバイス番号(B100など)の情報が格納されている。
なお、他の部分については上記実施の形態1と同様であるため説明を省略する。
Embodiment 3 FIG.
FIG. 9 is a block diagram showing a schematic configuration of a communication protocol conversion apparatus according to Embodiment 3 of the present invention. FIG. 10 is an explanatory diagram for explaining a memory map for other protocol communication in the communication protocol conversion apparatus according to Embodiment 3 of the present invention. It is.
Although a specific example of other protocol communication is not shown in the first embodiment, a case will be described in the third embodiment where the other protocol communication is CC-Link IE Control communication.
In FIG. 9, the communication protocol converter 1 is connected between the CC-Link communication network 2 and the CC-Link IE Control communication network 3b, and the other protocol communication memory map 12b is shown in FIG. As described above, the memory address of the CC-Link IE Control communication is stored, and information on a device number (such as B100) unique to the CC-Link IE Control communication is stored.
Since other parts are the same as those in the first embodiment, description thereof is omitted.

なお、この発明は、その発明の範囲内において各実施の形態を自由に組み合わせたり、実施の形態を適宜、変形、省略することが可能であり、上記実施の形態によりこの発明が限定されるものではない。   In the present invention, the embodiments can be freely combined within the scope of the invention, or the embodiments can be appropriately modified and omitted, and the present invention is limited by the above embodiments. is not.

1 通信プロトコル変換装置、2 CC−Link通信用ネットワーク、3 他プロトコル通信用ネットワーク、4 CC−Link端末、5 PLC、6 PC、11 CC−Link通信用コマンドマップ、12 他プロトコル通信用メモリマップ、13 紐付け手段、14 紐付け表、15 CC−Link通信用メモリ、16 他プロトコル通信用メモリ、17 データ置換手段   1 Communication protocol conversion device, 2 CC-Link communication network, 3 Other protocol communication network, 4 CC-Link terminal, 5 PLC, 6 PC, 11 CC-Link communication command map, 12 Other protocol communication memory map, 13 Linking means, 14 Linking table, 15 CC-Link communication memory, 16 Other protocol communication memory, 17 Data replacement means

Claims (5)

CC−Link通信用に使用されるパラメータ情報を保有したCC−Link通信用コマンドマップと、前記CC−Link通信以外の他のプロトコル通信用に使用されるパラメータ情報を保有した他プロトコル通信用メモリマップと、前記CC−Link通信を実行するCC−Link通信用メモリと、前記他のプロトコル通信を実行する他プロトコル通信用メモリと、前記CC−Link通信用コマンドマップのパラメータ情報と前記他プロトコル通信用メモリマップのパラメータ情報を使用して、前記CC−Link通信用メモリのデータと前記他プロトコル通信用メモリのデータを置換えるデータ置換手段を備えたことを特徴とする通信プロトコル変換装置。   Command map for CC-Link communication holding parameter information used for CC-Link communication, and memory map for other protocol communication holding parameter information used for protocol communication other than CC-Link communication CC-Link communication memory for executing CC-Link communication, other protocol communication memory for executing other protocol communication, parameter information of the command map for CC-Link communication, and for other protocol communication A communication protocol conversion device comprising data replacement means for replacing data of the CC-Link communication memory and data of the other protocol communication memory using parameter information of a memory map. 前記データ置換手段は、前記CC−Link通信用メモリのデータと前記他プロトコル通信用メモリのデータを直接置換えることを特徴とする請求項1に記載の通信プロトコル変換装置。   2. The communication protocol conversion device according to claim 1, wherein the data replacement unit directly replaces data in the CC-Link communication memory and data in the other protocol communication memory. 前記CC−Link通信用コマンドマップのパラメータ情報と前記他プロトコル通信用メモリマップのパラメータ情報を統合した紐付け表を作成する紐付け手段を備え、前記データ置換手段は前記紐付け手段で作成された紐付け表を使用してデータを置換えることを特徴とする請求項1または2に記載の通信プロトコル変換装置。   A linking unit that creates a linking table that integrates parameter information of the CC-Link communication command map and parameter information of the other protocol communication memory map is provided, and the data replacement unit is created by the linking unit. The communication protocol conversion apparatus according to claim 1 or 2, wherein the data is replaced using an association table. 前記CC−Link通信用コマンドマップは、端末、項目、コマンド、書込フラグ、応答フラグ、およびデータ送受信の情報を保有していることを特徴とする請求項1から3のいずれか一項に記載の通信プロトコル変換装置。   The said command map for CC-Link communication has the information of a terminal, an item, a command, a write flag, a response flag, and data transmission / reception, It is any one of Claim 1 to 3 characterized by the above-mentioned. Communication protocol converter. 前記他プロトコル通信用メモリマップは、メモリアドレス、端末、および項目の情報を保有していることを特徴とする請求項1から4のいずれか一項に記載の通信プロトコル変換装置。
5. The communication protocol conversion device according to claim 1, wherein the other protocol communication memory map includes information on a memory address, a terminal, and an item. 6.
JP2016046524A 2016-03-10 2016-03-10 Communication protocol converter Active JP6570462B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016046524A JP6570462B2 (en) 2016-03-10 2016-03-10 Communication protocol converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016046524A JP6570462B2 (en) 2016-03-10 2016-03-10 Communication protocol converter

Publications (2)

Publication Number Publication Date
JP2017163368A true JP2017163368A (en) 2017-09-14
JP6570462B2 JP6570462B2 (en) 2019-09-04

Family

ID=59858001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016046524A Active JP6570462B2 (en) 2016-03-10 2016-03-10 Communication protocol converter

Country Status (1)

Country Link
JP (1) JP6570462B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427317B (en) * 2020-03-23 2021-10-15 深圳赛动生物自动化有限公司 Communication method and device of master controller and slave controller, computer equipment and storage medium

Also Published As

Publication number Publication date
JP6570462B2 (en) 2019-09-04

Similar Documents

Publication Publication Date Title
US10067492B2 (en) Programmable logic controller and programming tool for programmable logic controller
US20210406037A1 (en) Field device configuration tool
US10712731B2 (en) Control device, control method, and non-transitory computer-readable recording medium
US8588943B2 (en) Method for parameterizing operating means
WO2018111362A1 (en) System and method for address-mapped control of field programmable gate array (fpga) via ethernet
US20200278891A1 (en) Dynamic Load Balancing In Network Centric Process Control Systems
US11165745B2 (en) Control system, controller, and control method
EP2649755B1 (en) Dynamic host profiles for option modules
JP6570462B2 (en) Communication protocol converter
US10281887B2 (en) Optimized communications with HART instruments
Hadlich et al. Common communication model for distributed automation systems
US9577882B2 (en) Control system, master station, and remote station
JP4013250B2 (en) OPC communication station
US20140129017A1 (en) Event management
US8554966B2 (en) Method for data exchange
CN114095303B (en) Communication device, data transmission method and electronic device
US9645556B2 (en) Automation device
CN116235485B (en) Network for data transmission
US11868107B2 (en) Method for transmitting data in a control system of a machine
US20170093621A1 (en) Method for managing and configuring field devices of an automation system
CN116489015A (en) Management method and system of industrial switch
Kostenko Real-time communication between robot PLC and PC over Ethernet-based protocols
US20240103945A1 (en) Process image sharing across multiple programmable automation controllers
CN118034209A (en) Production line data transmission method and architecture
US20190286088A1 (en) Command and reporting system for automation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190619

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190709

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190806

R151 Written notification of patent or utility model registration

Ref document number: 6570462

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250