JP6002021B2 - Slave device - Google Patents

Slave device Download PDF

Info

Publication number
JP6002021B2
JP6002021B2 JP2012275691A JP2012275691A JP6002021B2 JP 6002021 B2 JP6002021 B2 JP 6002021B2 JP 2012275691 A JP2012275691 A JP 2012275691A JP 2012275691 A JP2012275691 A JP 2012275691A JP 6002021 B2 JP6002021 B2 JP 6002021B2
Authority
JP
Japan
Prior art keywords
configuration file
external terminal
transmission request
file
information
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
JP2012275691A
Other languages
Japanese (ja)
Other versions
JP2014120986A (en
Inventor
惇 新家
惇 新家
Original Assignee
東芝シュネデール・インバータ株式会社
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 東芝シュネデール・インバータ株式会社 filed Critical 東芝シュネデール・インバータ株式会社
Priority to JP2012275691A priority Critical patent/JP6002021B2/en
Publication of JP2014120986A publication Critical patent/JP2014120986A/en
Application granted granted Critical
Publication of JP6002021B2 publication Critical patent/JP6002021B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、フィールドネットワークに接続されてマスタ機器と通信を行うスレーブ機器に関する。   Embodiments described herein relate generally to a slave device that is connected to a field network and communicates with a master device.

現在、プロセスオートメーションシステムやファクトリーオートメーションシステムを構築するには、フィールドネットワークが必要不可欠となっている。フィールドネットワークの構築には、所謂コンフィギュレータと称するソフトウェアによりネットワーク環境のコンフィギュレーションを行う方式が広く用いられている。コンフィギュレータを使用して構築されるネットワークにインバータ装置をスレーブ機器として接続するには、インバータ装置をコンフィギュレータに認識させるためのコンフィギュレーションファイルが必要となる。   Currently, field networks are indispensable for building process automation systems and factory automation systems. In constructing a field network, a system for configuring a network environment by software called a so-called configurator is widely used. In order to connect the inverter device as a slave device to a network constructed using the configurator, a configuration file for causing the configurator to recognize the inverter device is required.

コンフィギュレーションファイルには、装置の名称・容量・ソフトウェアバージョン・対応するネットワークのサービス内容を始めとした様々な情報が記載されている。そして、コンフィギュレータは、これらの情報を元にインバータ装置を識別するコンフィグレーションを実行する。また、インバータ装置のコンフィギュレーションファイルに、インバータ装置に設定可能なパラメータの情報も含ませておき、これらのパラメータ情報に基づきパラメータ設定を行う機能がサポートされているコンフィギュレータも多く見られる。   In the configuration file, various information including the device name, capacity, software version, and corresponding network service contents are described. Then, the configurator executes configuration for identifying the inverter device based on these pieces of information. In addition, there are many configurators in which information on parameters that can be set in the inverter device is included in the configuration file of the inverter device and a function for setting parameters based on the parameter information is supported.

ただし、フィールドネットワークの種類に応じて、拡張子・記述方法・記述内容など、コンフィギュレーションファイルの定義は異なっている。例えば、EtherNet/IP(登録商標)ではEDSファイルが、Profibus(登録商標)ではGSDファイルと呼ばれるコンフィギュレーションファイルが用意されるが、同じインバータ装置のために作られたファイルであっても互換性は無い。   However, the definition of the configuration file, such as extension, description method, and description contents, differs depending on the type of field network. For example, an EtherNet / IP (registered trademark) has an EDS file, and Profibus (registered trademark) has a configuration file called a GSD file. No.

FDT/DTM等と呼ばれる、複数のフィールドネットワークを統合して、コンフィギュレーションを行う手法も提案されているが、複数のフィールドネットワークを統合する都合上、最大公約数的な機能のみしか利用できないことが多い。また、各フィールドネットワーク専用のコンフィギュレータを使用する手法と比較すると、一般的なシステム構築に用いられる手法とは異なるものとなる。   A method of integrating multiple field networks called FDT / DTM has also been proposed, but only the greatest common divisor function can be used for the purpose of integrating multiple field networks. Many. In addition, when compared with a method using a configurator dedicated to each field network, it is different from a method used for general system construction.

特開2009−181247号公報JP 2009-181247 A

以上のような事情から、各インバータ装置について適切なコンフィギュレーションファイルをユーザへ提供するためには、多種に亘るコンフィギュレーションファイルを用意する必要がある。一つの製品群に対して、同じような意味を持つ複数のコンフィギュレーションファイルを用意することは、提供するメーカにとって非常に煩雑な作業である。多くの場合は、煩雑さを避けるためにコンフィギュレーションファイルに記載する情報量を削減して一本化を図るが、必要十分な情報量を持ったコンフィギュレーションファイルを提供できていないことも多い。   From the above circumstances, in order to provide a user with an appropriate configuration file for each inverter device, it is necessary to prepare a wide variety of configuration files. Preparing a plurality of configuration files having the same meaning for one product group is a very complicated task for the manufacturer to provide. In many cases, in order to avoid complications, the amount of information described in the configuration file is reduced and unified, but a configuration file having a necessary and sufficient amount of information is often not provided.

一方、ユーザから見た場合も、同じような意味を持つ多数の選択肢の中から適切なコンフィギュレーションファイルを選択する必要がある。また、コンフィギュレーションファイルはインバータ装置の販売店、または製造メーカのWebサイトを通じて入手する体制が取られていることが多く、その都度入手先のWebサイトにアクセスする必要があり、ファイルの取得作業が煩わしいという問題がある。   On the other hand, when viewed from the user, it is necessary to select an appropriate configuration file from a large number of options having the same meaning. In addition, the configuration file is often obtained through a website of the inverter device dealer or manufacturer, and it is necessary to access the website of the acquisition site each time. There is an annoying problem.

そこで、ユーザがコンフィギュレーションファイルの取得を容易に行うことができるスレーブ機器を提供する。   Therefore, a slave device that allows a user to easily obtain a configuration file is provided.

実施形態のスレーブ機器によれば、メモリに、各通信ノードがどのような装置かを定義して識別するコンフィギュレーションに使用されるコンフィギュレーションファイルを生成するために必要な生成情報が記憶されている。そして、ファイル生成・送信手段は、コンフィギュレーションファイルの送信要求トリガが与えられると、前記生成情報に基づいてコンフィギュレーションファイルを生成し、当該ファイルを外部端末に送信する。
また、実施形態のスレーブ機器によれば、メモリにコンフィギュレーションファイルが記憶されている。そして、ファイル送信手段は、コンフィギュレーションファイルの送信要求トリガが与えられると、当該ファイルを外部端末に送信する。
According to the slave device of the embodiment, the memory, generates information required to generate a configuration file used in the configuration of each communication node to identify to define any device or is stored . Then, when a configuration file transmission request trigger is given, the file generation / transmission means generates a configuration file based on the generation information and transmits the file to an external terminal.
Further, according to the slave device of the embodiment, the configuration file is stored in the memory. Then, when a configuration file transmission request trigger is given, the file transmission means transmits the file to the external terminal.

第1実施形態であり、パソコンとインバータ装置とが通信ケーブルを介して接続された状態を示す図The figure which is a 1st embodiment and shows the state by which the personal computer and the inverter apparatus were connected via the communication cable ネットワークシステム全体の構成を示す図Diagram showing the overall network system configuration パソコンとインバータ装置との間で行われる処理を示すシーケンス図Sequence diagram showing the processing performed between the personal computer and the inverter device 生成されたコンフィギュレーションファイルの一例を示す図(その1)Figure showing an example of the generated configuration file (1) 生成されたコンフィギュレーションファイルの一例を示す図(その2)Figure showing an example of the generated configuration file (2) 第2実施形態を示す図1相当図FIG. 1 equivalent view showing the second embodiment 図3に示す端子(1)において実行される処理を示す図The figure which shows the process performed in the terminal (1) shown in FIG. 第3実施形態を示す図1相当図FIG. 1 equivalent diagram showing the third embodiment 図3に示す端子(2)において実行される処理を示す図The figure which shows the process performed in the terminal (2) shown in FIG. 第4実施形態であり、図3に示す端子(3)において実行される処理を示す図The figure which is 4th Embodiment and shows the process performed in the terminal (3) shown in FIG. 第5実施形態であり、図3に示す端子(4),(5)において実行される処理を示す図The figure which is 5th Embodiment and shows the process performed in terminal (4), (5) shown in FIG. 第6実施形態であり、インバータ装置にUSBメモリが接続された状態を示す図The figure which is 6th Embodiment and shows the state by which the USB memory was connected to the inverter apparatus インバータ装置によって行われる処理を示すシーケンス図Sequence diagram showing processing performed by the inverter device 第7実施形態を示す図13相当図FIG. 13 equivalent diagram showing the seventh embodiment 第8実施形態を示す図1相当図FIG. 1 equivalent diagram showing the eighth embodiment

(第1実施形態)
以下、第1実施形態について図1ないし図5を参照して説明する。図2は、ネットワークシステム全体の構成を示している。マスタ機器(通信ノード)であるコントローラ1とパーソナルコンピュータ(パソコン)2とは、例えばEtherNet/IPなどのプロトコルによる上位通信バス3を介して接続されており、これらは上位層ネットワーク(コントロールネットワーク)4を構成している。パソコン2(外部端末)は、ネットワークの初期設定を行ったり、実際に通信が行われている状況をモニタするために接続される。
(First embodiment)
Hereinafter, a first embodiment will be described with reference to FIGS. 1 to 5. FIG. 2 shows the configuration of the entire network system. A master device (communication node) controller 1 and a personal computer (personal computer) 2 are connected via an upper communication bus 3 based on a protocol such as EtherNet / IP, for example, which is an upper layer network (control network) 4. Is configured. The personal computer 2 (external terminal) is connected in order to perform initial setting of the network and to monitor the actual communication status.

コントローラ1と、スレーブ機器(通信ノード)である例えばインバータ装置5,工作機械6,リモートI/O7,ゲートウェイ8等は、例えばProfibusなどのプロトコルによる下位通信バス9を介して接続されており、これらは下位層ネットワーク(狭義のフィールドネットワーク)10を構成している。そして、ゲートウェイ8には、例えばリレー11,スイッチ12,I/O機器13等が、例えばAS-iなどのプロトコルによる最下位通信バス14を介して接続されており、これらは最下位層ネットワーク(フィールドエンドネットワーク)15を構成している。   The controller 1 is connected to a slave device (communication node) such as an inverter device 5, a machine tool 6, a remote I / O 7, and a gateway 8 via a lower communication bus 9 based on a protocol such as Profibus. Constitutes a lower layer network (narrowly defined field network) 10. For example, a relay 11, a switch 12, an I / O device 13 and the like are connected to the gateway 8 via a lowest communication bus 14 using a protocol such as AS-i, and these are connected to the lowest layer network ( Field end network) 15.

コンフィギュレータは、パソコン2にインストールされるソフトウェアであり、各スレーブ機器に関するコンフィギュレーションファイルを読み込む。そして、コントローラ1と各スレーブ機器とが下位層ネットワーク10を介して通信可能となるように初期設定を行うため、コンフィギュレーションを行う。本実施形態では、コンフィギュレーションファイルは、後述するようにスレーブ機器側より提供される。また、コンフィギュレーションが行われる際に、コントローラ1とパソコン2とは、例えばUSB等のシリアル通信やインターネット等を介して接続される。   The configurator is software installed in the personal computer 2 and reads a configuration file related to each slave device. Then, configuration is performed in order to perform initial setting so that the controller 1 and each slave device can communicate with each other via the lower layer network 10. In this embodiment, the configuration file is provided from the slave device side as will be described later. Further, when the configuration is performed, the controller 1 and the personal computer 2 are connected via serial communication such as USB, the Internet, or the like.

図1は、パソコン(PC)2とインバータ装置5とが例えばRS485などの通信ケーブル16を介して接続された状態を示している。また、インバータ装置5の内部については、本実施形態の要旨に係る機能部分のみをブロックで示している。インバータ装置5は、CPU21(ファイル生成・送信手段)と、例えばEEPROMやフラッシュメモリ等の不揮発性メモリ22と、通信IC23とを備えている。CPU21は、不揮発性メモリ22に対してデータの書き込み及び読み出しを行い、通信IC23を制御してパソコン2とシリアル通信を行う。   FIG. 1 shows a state in which a personal computer (PC) 2 and an inverter device 5 are connected via a communication cable 16 such as RS485. Moreover, about the inside of the inverter apparatus 5, only the functional part which concerns on the summary of this embodiment is shown with the block. The inverter device 5 includes a CPU 21 (file generation / transmission means), a nonvolatile memory 22 such as an EEPROM or a flash memory, and a communication IC 23. The CPU 21 writes and reads data to and from the nonvolatile memory 22 and controls the communication IC 23 to perform serial communication with the personal computer 2.

通信IC23は、インバータ装置5の本体に設けられたコネクタ24を介して通信ケーブル16に接続されている。そして、パソコン2が送信したデータを受信するとパラレルに変換してCPU21に出力し、CPU21が書き込んだデータをシリアル変換してパソコン2に送信する。不揮発性メモリ22には、図示しない制御プログラム等と共に、コンフィギュレーションファイルを生成するための情報(生成情報)であるインバータ固有情報25,インバータ装置5の制御に使用されるパラメータ情報26(設定情報)が記憶されている。ここで、インバータ固有情報25は、例えばインバータ装置5の形式や容量,ソフトウェアのバージョンなどの情報である。   The communication IC 23 is connected to the communication cable 16 via a connector 24 provided on the main body of the inverter device 5. When the data transmitted by the personal computer 2 is received, the data is converted into parallel data and output to the CPU 21. The data written by the CPU 21 is serially converted and transmitted to the personal computer 2. The nonvolatile memory 22 includes a control program (not shown) and the like, inverter specific information 25 that is information (generation information) for generating a configuration file, and parameter information 26 (setting information) used for controlling the inverter device 5. Is remembered. Here, the inverter specific information 25 is information such as the type and capacity of the inverter device 5 and the version of software, for example.

尚、一般的なインバータ装置であれば、インバータ固有情報25や、パラメータ情報26を構成する複数のアイテムは、制御プログラムのソースコードやその他のデータ領域に分散して配置されている。本実施形態における情報25及び26は、コンフィギュレーションファイルの生成を容易にするため、予め所定の格納領域にまとめて配置されている。すなわち、上記格納領域が生成情報格納エリアに対応する。また、格納エリア27は、上記の情報25及び26に基づいて生成されるコンフィギュレーションファイルを格納するためのエリアである。   In the case of a general inverter device, a plurality of items constituting the inverter specific information 25 and the parameter information 26 are distributed and arranged in the source code of the control program and other data areas. The information 25 and 26 in this embodiment are arranged in advance in a predetermined storage area in order to facilitate generation of a configuration file. That is, the storage area corresponds to the generation information storage area. The storage area 27 is an area for storing a configuration file generated based on the information 25 and 26 described above.

次に、本実施形態の作用について説明する。図3は、パソコン2とインバータ装置5との間で行われる処理を示すシーケンス図である。インバータ装置5のCPU21は、電源が投入されて起動すると初期設定等を行う(B1)。ユーザがパソコン2を操作することで、パソコン2よりコンフィギュレーションファイルの生成/送信指示(送信要求コマンド,送信要求トリガ)が送信されると(A1)、CPU21は、不揮発性メモリ22よりインバータ固有情報25及びパラメータ情報26を読み出し、コンフィギュレーションファイルを生成する(B2)。生成したファイルは、不揮発性メモリ22の格納エリア27に書き込まれて記憶される。   Next, the operation of this embodiment will be described. FIG. 3 is a sequence diagram showing processing performed between the personal computer 2 and the inverter device 5. The CPU 21 of the inverter device 5 performs initial setting or the like when the power is turned on and started (B1). When a user operates the personal computer 2 and a configuration file generation / transmission instruction (transmission request command, transmission request trigger) is transmitted from the personal computer 2 (A1), the CPU 21 receives the inverter-specific information from the nonvolatile memory 22. 25 and parameter information 26 are read out and a configuration file is generated (B2). The generated file is written and stored in the storage area 27 of the nonvolatile memory 22.

それから、生成されたコンフィギュレーションファイルは、パソコン2側に送信される(B3)。パソコン2は、受信したコンフィギュレーションファイルを、ハードディスクなどの記憶装置に記憶する。その後、ユーザは、パソコン2でコンフィギュレータを起動して、取得したファイルを用いてコンフィギュレーションを行う。尚、図3に示されている端子(1)〜(5)は、対応するイベントが発生した時点で割り込み的に実行される処理に対応するもので、これらについては第2実施形態以降で説明する。   Then, the generated configuration file is transmitted to the personal computer 2 side (B3). The personal computer 2 stores the received configuration file in a storage device such as a hard disk. Thereafter, the user activates the configurator on the personal computer 2 and performs configuration using the acquired file. Note that the terminals (1) to (5) shown in FIG. 3 correspond to processing executed in an interrupted manner when a corresponding event occurs, and these will be described in the second and subsequent embodiments. To do.

図4は、生成されたコンフィギュレーションファイルの一例を示すものである。図4(a)はインバータ固有情報25の一例であり、
ProdCode = 31000;EtherNet
がインバータ装置の形式コードである。図4(b)はパラメータ情報25の一例であり、
2000,3200000,10000
という数値が、それぞれパラメータRPI Rangeの下限値,上限値,初期値に対応している。
また、図5もパラメータ情報26の一例であり、インバータ装置に対応するI/Oスキャン(定期通信)の情報である。例えば、
Assem20 =
は、番号20のアセンブリに対応するものである。
FIG. 4 shows an example of the generated configuration file. FIG. 4A is an example of the inverter specific information 25.
ProdCode = 31000; EtherNet
Is the model code of the inverter device. FIG. 4B is an example of the parameter information 25.
2000,3200000,10000
Respectively correspond to the lower limit value, upper limit value, and initial value of the parameter RPI Range.
FIG. 5 is also an example of the parameter information 26, which is I / O scan (periodic communication) information corresponding to the inverter device. For example,
Assem20 =
Corresponds to the assembly number 20.

以上のように本実施形態によれば、インバータ装置5の不揮発性メモリ22に、各通信ノードを定義するコンフィギュレーションに使用される、コンフィギュレーションファイルを生成するために必要なインバータ固有情報25を記憶する。そして、CPU21は、パソコン2よりコンフィギュレーションファイルの生成/送信指示が与えられると、インバータ固有情報25に基づいてコンフィギュレーションファイルを生成し、当該ファイルをパソコン2に送信する。したがって、ユーザは、パソコン2を操作するだけでインバータ装置5に対応するコンフィギュレーションファイルを、インバータ装置5より容易に取得することができる。   As described above, according to the present embodiment, the inverter-specific information 25 necessary for generating the configuration file used for the configuration defining each communication node is stored in the nonvolatile memory 22 of the inverter device 5. To do. Then, when a configuration file generation / transmission instruction is given from the personal computer 2, the CPU 21 generates a configuration file based on the inverter specific information 25 and transmits the file to the personal computer 2. Therefore, the user can easily obtain the configuration file corresponding to the inverter device 5 from the inverter device 5 only by operating the personal computer 2.

(第2実施形態)
図6及び図7は第2実施形態であり、第1実施形態と同一部分には同一符号を付して説明を省略し、以下異なる部分について説明する。第2実施形態のインバータ装置31(スレーブ機器)は、不揮発性メモリ22とは別に、RAM等の揮発性メモリ32を備えている。そして、不揮発性メモリ22には、制御プログラム等と共にインバータ固有情報25及びパラメータ情報26が記憶され、生成されたコンフィギュレーションファイルの格納エリアは、揮発性メモリ32に設けられている。
(Second Embodiment)
6 and 7 show the second embodiment. The same parts as those in the first embodiment are denoted by the same reference numerals, description thereof is omitted, and different parts will be described below. The inverter device 31 (slave device) of the second embodiment includes a volatile memory 32 such as a RAM, in addition to the nonvolatile memory 22. The nonvolatile memory 22 stores inverter specific information 25 and parameter information 26 together with a control program and the like, and a storage area for the generated configuration file is provided in the volatile memory 32.

次に、第2実施形態の作用について説明する。図7は、インバータ装置31のCPU21により、図3に示す端子(1)において実行される処理を示す。CPU21は、制御プログラムに従い、不揮発性メモリ22よりインバータ固有情報25及びパラメータ情報26を読み出す(C1)。それから、読み出した情報を、揮発性メモリ32の格納領域に、コード(制御プログラム)上で定義されるコンフィギュレーションファイルの形式で書き込む(C2)。   Next, the operation of the second embodiment will be described. FIG. 7 shows processing executed by the CPU 21 of the inverter device 31 at the terminal (1) shown in FIG. The CPU 21 reads the inverter specific information 25 and the parameter information 26 from the nonvolatile memory 22 according to the control program (C1). Then, the read information is written in the storage area of the volatile memory 32 in the configuration file format defined on the code (control program) (C2).

そして、第1実施形態と同様に、図3に示すステップA1において、パソコン2よりコンフィギュレーションファイルの生成/送信指示が送信されると、CPU21は、揮発性メモリ32において上記格納領域に書き込んだインバータ固有情報25及びパラメータ情報26を読み出すと、同メモリ32内にあるコンフィギュレーションファイルの格納領域にファイルを書き込んで生成する(B2)。以降の処理は、第1実施形態と同様である。   As in the first embodiment, when a configuration file generation / transmission instruction is transmitted from the personal computer 2 in step A1 shown in FIG. 3, the CPU 21 writes the inverter written in the storage area in the volatile memory 32. When the unique information 25 and the parameter information 26 are read, the file is written into the configuration file storage area in the memory 32 (B2). The subsequent processing is the same as in the first embodiment.

以上のように第2実施形態によれば、インバータ装置31のCPU21は、不揮発性メモリ22よりインバータ固有情報25及びパラメータ情報26を読み出し、揮発性メモリ32内にあるコンフィギュレーションファイルの格納領域に当該ファイルを書き込んで生成する。したがって、不揮発性メモリ22として必要な容量を削減することができる。   As described above, according to the second embodiment, the CPU 21 of the inverter device 31 reads the inverter specific information 25 and the parameter information 26 from the nonvolatile memory 22, and stores the information in the configuration file storage area in the volatile memory 32. Write and generate a file. Therefore, the capacity required for the nonvolatile memory 22 can be reduced.

(第3実施形態)
図8及び図9は第3実施形態であり、第1実施形態と異なる部分のみ説明する。図8に示すインバータ装置5Aは、本体にヒューマンインターフェイス(以下、HMIと称す)28を備えている。HMI28(入力手段)は、入力用の操作キーや、数字やアルファベット等を表示可能な7セグメントディスプレイ等からなるもので、ユーザが例えばパラメータ情報26の入力設定を行う際に使用する。
(Third embodiment)
8 and 9 show the third embodiment, and only the parts different from the first embodiment will be described. The inverter device 5A shown in FIG. 8 includes a human interface (hereinafter referred to as HMI) 28 in the main body. The HMI 28 (input means) is composed of input operation keys, a 7-segment display that can display numbers, alphabets, and the like, and is used when the user performs input settings for the parameter information 26, for example.

次に、第3実施形態の作用について説明する。図9は、インバータ装置5のCPU21により、図3に示す端子(2)において実行される処理を示す。ユーザがHMI28を操作することで、例えばパラメータ情報26の変更を必要とする、例えばインバータ装置5の制御特性を変更した場合を想定する。この時、パラメータ変更用の関数(プログラムモジュール)が起動されて、対応するエリアのパラメータが変更される(D1)。すると、CPU21は、上記関数がコールされたことをトリガとして、パラメータ情報26を更新する。   Next, the operation of the third embodiment will be described. FIG. 9 shows processing executed by the CPU 21 of the inverter device 5 at the terminal (2) shown in FIG. It is assumed that the user operates the HMI 28 to change, for example, the control characteristics of the inverter device 5 that requires changing the parameter information 26, for example. At this time, a parameter changing function (program module) is activated to change the parameter of the corresponding area (D1). Then, the CPU 21 updates the parameter information 26 with the above function being called as a trigger.

以上のように第3実施形態によれば、CPU21は、ユーザにより不揮発性メモリ22に記憶されているパラメータ情報26の変更を必要とするインバータ装置5の制御特性が更新されると、不揮発性メモリ22に別途格納領域が設けられているパラメータ情報26を更新する。したがって、コンフィギュレーションファイルを生成する際に含まれるパラメータ情報26を、常時最新の状態に維持することができる。   As described above, according to the third embodiment, when the control characteristic of the inverter device 5 that requires the user to change the parameter information 26 stored in the nonvolatile memory 22 is updated by the user, the CPU 21 The parameter information 26 provided with a separate storage area 22 is updated. Therefore, the parameter information 26 included when the configuration file is generated can always be kept up-to-date.

(第4実施形態)
図10は第4実施形態であり、第3実施形態と異なる部分について説明する。図10は、インバータ装置5のCPU21により、図3に示す端子(3)において実行される処理を示す。第4実施形態では、インバータ固有情報25の1つとして、インバータ装置5が接続されるフィールドネットワークの種類(プロトコル)を指定するもの(指定情報に対応)が、不揮発性メモリ22に記憶されている。すなわち、EtherNet/IPやProfibus等に対応したコードがパラメータとして指定されている。
(Fourth embodiment)
FIG. 10 shows the fourth embodiment, and the differences from the third embodiment will be described. FIG. 10 shows processing executed by the CPU 21 of the inverter device 5 at the terminal (3) shown in FIG. In the fourth embodiment, as one of the inverter specific information 25, one that specifies the type (protocol) of the field network to which the inverter device 5 is connected (corresponding to the designation information) is stored in the nonvolatile memory 22. . That is, a code corresponding to EtherNet / IP or Profibus is specified as a parameter.

CPU21は、ステップB1の実行後に上記エリアを参照し、作成するコンフィギュレーションファイルを、指定されたプロトコルのフィールドネットワークに対応させるように決定する(F1)。以降は第1実施形態と同様に、ステップB2,B3を実行する。   The CPU 21 refers to the area after execution of step B1 and determines that the configuration file to be created corresponds to the field network of the designated protocol (F1). Thereafter, steps B2 and B3 are executed as in the first embodiment.

以上のように第4実施形態によれば、CPU21は、不揮発性メモリ22に記憶されているフィールドネットワークの指定情報を取得すると、当該指定情報により指定されたフィールドネットワークの種類に応じてコンフィギュレーションファイルを生成する。したがって、インバータ装置5が実際に接続されるフィールドネットワークの種類に対応したコンフィギュレーションファイルを生成できる。   As described above, according to the fourth embodiment, when the CPU 21 acquires the designation information of the field network stored in the nonvolatile memory 22, the configuration file is set according to the type of the field network designated by the designation information. Is generated. Accordingly, a configuration file corresponding to the type of field network to which the inverter device 5 is actually connected can be generated.

(第5実施形態)
図11は第5実施形態であり、第4実施形態と異なる部分について説明する。図11は(a)は、パソコン2により図3に示す端子(4)において実行される処理,(b)インバータ装置5のCPU21により図3に示す端子(5)において実行される処理を示す。ユーザがパソコン2のソフトウェアを起動し、例えばGUI(Graphic User Interface)を操作することで、インバータ装置5が接続されるフィールドネットワークの種類(プロトコル)を選択する(指定情報に対応,G1)。
(Fifth embodiment)
FIG. 11 shows a fifth embodiment, and the differences from the fourth embodiment will be described. 11A shows a process executed by the personal computer 2 at the terminal (4) shown in FIG. 3, and FIG. 11B shows a process executed by the CPU 21 of the inverter device 5 at the terminal (5) shown in FIG. The user activates the software of the personal computer 2 and operates, for example, a GUI (Graphic User Interface) to select the type (protocol) of the field network to which the inverter device 5 is connected (corresponding to the designation information, G1).

すると、パソコン2は、選択されたプロトコルに対応するコンフィギュレーションファイルの生成を指定する(G2)。すなわち、フィールドネットワークを指定する情報が、ステップG2で送信されるコマンドに含まれることになる。以降は第1実施形態と同様に、ステップA1を実行する。そして、インバータ装置5のCPU21は、受信したコマンド内の指定情報を参照すると、作成するコンフィギュレーションファイルを、指定されたプロトコルのフィールドネットワークに対応させるように決定する(H1)。以降は第1実施形態と同様にステップB2,B3を実行する。   Then, the personal computer 2 designates generation of a configuration file corresponding to the selected protocol (G2). That is, information specifying the field network is included in the command transmitted in step G2. Thereafter, step A1 is executed as in the first embodiment. Then, referring to the designation information in the received command, the CPU 21 of the inverter device 5 determines that the configuration file to be created is associated with the field network of the designated protocol (H1). Thereafter, steps B2 and B3 are executed as in the first embodiment.

以上のように第5実施形態によれば、CPU21は、ユーザにより設定された、フィールドネットワークの種類を指定する指定情報を取得すると、当該指定情報により指定されたフィールドネットワークの種類に応じてコンフィギュレーションファイルを生成する。したがって、インバータ装置5が実際に接続されるフィールドネットワークの種類に対応したコンフィギュレーションファイルを生成できる。   As described above, according to the fifth embodiment, when the CPU 21 acquires the designation information that designates the type of the field network set by the user, the configuration is made according to the type of the field network designated by the designation information. Generate a file. Accordingly, a configuration file corresponding to the type of field network to which the inverter device 5 is actually connected can be generated.

(第6実施形態)
図12及び図13は第6実施形態である。第6実施形態のインバータ装置41は、HMI28を備えていると共に、CPU42(ファイル生成・送信手段)及びUSB(Universal Serial Bus)に対応した通信IC43を備えている。更に、上記本体にはUSBポート45が設けられており、USBポート45には、外部記憶装置であるUSBメモリ46(外部端末)が接続される。
(Sixth embodiment)
12 and 13 show a sixth embodiment. The inverter device 41 of the sixth embodiment includes an HMI 28 and a communication IC 43 corresponding to a CPU 42 (file generation / transmission means) and a USB (Universal Serial Bus). Further, the main body is provided with a USB port 45, and a USB memory 46 (external terminal) as an external storage device is connected to the USB port 45.

次に、第6実施形態の作用について説明する。図3相当図である図13は、インバータ装置41側の処理のみとなる。そして、端子(2),(3)の間には、ステップB4が挿入されている。ステップB4において、ユーザがHMI28を操作することで、コンフィギュレーションファイルの生成/送信を指示する入力(送信要求コマンドの入力,送信要求トリガ)が行われると、CPU42は、ステップB2’,B3’を実行し、コンフィギュレーションファイルの生成,送信を行う。   Next, the operation of the sixth embodiment will be described. 13 corresponding to FIG. 3 is only the processing on the inverter device 41 side. Step B4 is inserted between the terminals (2) and (3). In step B4, when an input (transmission request command input, transmission request trigger) for instructing generation / transmission of the configuration file is performed by the user operating the HMI 28, the CPU 42 performs steps B2 ′ and B3 ′. Execute, generate and send configuration file.

尚、ステップB2’にて生成したコンフィギュレーションファイルは、不揮発性メモリ22に書き込むことなく、ステップB3’においてUSBメモリ46に送信される。すると、USBメモリ46は、送信されたコンフィギュレーションファイルを、自身に書き込んで記憶する。   Note that the configuration file generated in step B2 'is transmitted to the USB memory 46 in step B3' without being written in the nonvolatile memory 22. Then, the USB memory 46 writes and stores the transmitted configuration file in itself.

以上のように第6実施例によれば、インバータ装置41にユーザが入力操作を行うためのHMI28を備え、CPU42は、HMI28を介してコンフィギュレーションファイルの生成/送信を指示する入力があると当該ファイルの生成,送信を行う。したがって、インバータ装置41単体でコンフィギュレーションファイルの生成を行うことができ、生成したファイルをUSBメモリ46に送信して記憶させることができる。そして、不揮発性メモリ22にはコンフィギュレーションファイルの格納エリアを設ける必要がなくなるので、容量を削減できる。   As described above, according to the sixth embodiment, the inverter device 41 is provided with the HMI 28 for the user to perform an input operation, and the CPU 42 receives the input for instructing the generation / transmission of the configuration file via the HMI 28. Generate and send a file. Therefore, the configuration file can be generated by the inverter device 41 alone, and the generated file can be transmitted to the USB memory 46 and stored. Since it is not necessary to provide a configuration file storage area in the nonvolatile memory 22, the capacity can be reduced.

(第7実施形態)
図14は第7実施形態であり、第6実施形態と異なる部分のみ説明する。図13相当図である図14では、ステップB4に替えてステップB5が配置されている。ステップB5において、CPU42(外部端末検出手段)が、USBメモリ46がUSBポート45に接続されたことを検出すると(送信要求トリガ)、ステップB2’,B3’を実行する。したがって、第7実施形態では、コンフィギュレーションファイルを生成するために、HMI28は必ずしも必要ではない。
(Seventh embodiment)
FIG. 14 shows a seventh embodiment, and only the parts different from the sixth embodiment will be described. In FIG. 14 corresponding to FIG. 13, step B5 is arranged instead of step B4. In step B5, when the CPU 42 (external terminal detecting means) detects that the USB memory 46 is connected to the USB port 45 (transmission request trigger), steps B2 ′ and B3 ′ are executed. Therefore, in the seventh embodiment, the HMI 28 is not necessarily required to generate the configuration file.

以上のように第7実施形態によれば、CPU42は、USBメモリ46がUSBポート45に接続されてUSB通信が可能な状態となったことを検出すると当該ファイルの生成,送信を行うようにした。したがって、第6実施形態のようにユーザがHMI28を介して入力操作を行わずとも、コンフィギュレーションファイルの生成・送信を行うことができる。   As described above, according to the seventh embodiment, when the CPU 42 detects that the USB memory 46 is connected to the USB port 45 and can perform USB communication, the CPU 42 generates and transmits the file. . Therefore, the configuration file can be generated and transmitted without the user performing an input operation via the HMI 28 as in the sixth embodiment.

(第8実施形態)
図15は第8実施形態であり、第1実施形態と異なる部分について説明する。第8実施形態では、インバータ装置5Bの不揮発性メモリ22Bには、コンフィギュレーションファイルの格納エリア27のみしか設けられておらず、当該格納エリア27には、インバータ装置5Bが出荷される前の段階で、予め生成されたコンフィギュレーションファイルが記憶されている。そして、CPU21B(ファイル送信手段)は、第1実施形態と同様にパソコン2からの送信要求コマンドを受信すると、格納エリア27よりコンフィギュレーションファイルを読み出してパソコン2側に送信する。すなわち、図3におけるステップB3のみを実行する。
(Eighth embodiment)
FIG. 15 shows an eighth embodiment, and different parts from the first embodiment will be described. In the eighth embodiment, only the configuration file storage area 27 is provided in the nonvolatile memory 22B of the inverter device 5B, and the storage area 27 is in a stage before the inverter device 5B is shipped. A configuration file generated in advance is stored. And CPU21B (file transmission means) will read a configuration file from the storage area 27, and will transmit to the personal computer 2 side, if the transmission request command from the personal computer 2 is received similarly to 1st Embodiment. That is, only step B3 in FIG. 3 is executed.

以上のように第8実施形態によれば、インバータ装置5Bの不揮発性メモリ22Bに予め生成されたコンフィギュレーションを記憶させておき、CPU21Bは、送信要求トリガが与えられると、当該コンフィギュレーションファイルをパソコン2に送信する。したがって、不揮発性メモリ22Bの容量を第1実施形態の不揮発性メモリ22よりも削減できる。   As described above, according to the eighth embodiment, the configuration generated in advance in the non-volatile memory 22B of the inverter device 5B is stored, and when the transmission request trigger is given, the CPU 21B stores the configuration file in the personal computer. 2 to send. Therefore, the capacity of the nonvolatile memory 22B can be reduced as compared with the nonvolatile memory 22 of the first embodiment.

本発明のいくつかの実施形態を説明したが、これらの実施形態は例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
例えば第1実施形態において、パソコン2とインバータ装置5との間の通信を、例えばBluetooth(登録商標)や無線LAN等の無線通信で行っても良い。
RS485の通信ケーブル内に配置される給電線を利用して、パソコン2からインバータ装置5側に、CPU21,不揮発性メモリ22,通信IC23を動作させるための電源を供給しても良い。
Although several embodiments of the present invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
For example, in the first embodiment, communication between the personal computer 2 and the inverter device 5 may be performed by wireless communication such as Bluetooth (registered trademark) or wireless LAN.
A power source for operating the CPU 21, the nonvolatile memory 22, and the communication IC 23 may be supplied from the personal computer 2 to the inverter device 5 side using a power supply line arranged in the RS485 communication cable.

メモリは、インバータ装置5に内蔵されるものに限らず、インバータ装置5に接続されるスマートフォンやタブレット、SDカード等の外部記憶装置であっても良い。第6実施形態におけるUSBメモリについても、その他SDカード等の外部記憶装置であっても良い。
インバータ装置に限ることなく、その他、例えば工作機械6,リモートI/O7,ゲートウェイ8等、フィールドネットワークに接続されてマスタ機器と通信を行うスレーブ機器であれば適用が可能である。
The memory is not limited to the one built in the inverter device 5 but may be an external storage device such as a smartphone, a tablet, or an SD card connected to the inverter device 5. The USB memory in the sixth embodiment may also be an external storage device such as an SD card.
The present invention is not limited to the inverter device, and can be applied to any other slave device that is connected to the field network and communicates with the master device, such as a machine tool 6, a remote I / O 7, and a gateway 8.

図面中、1はコントローラ(マスタ機器)、2はパーソナルコンピュータ(外部端末)、5はインバータ装置(スレーブ機器)、10は下位層ネットワーク(フィールドネットワーク)、21はCPU(ファイル生成・送信手段)、22は不揮発性メモリ、25はインバータ固有情報(生成情報)、26はパラメータ情報(設定情報)、28はHMI(入力手段)、31はインバータ装置(スレーブ機器)、32は揮発性メモリ、41はインバータ装置(スレーブ機器)、42はCPU(ファイル生成・送信手段,外部端末検出手段)、46はUSBメモリ(外部端末)を示す。   In the drawings, 1 is a controller (master device), 2 is a personal computer (external terminal), 5 is an inverter device (slave device), 10 is a lower layer network (field network), 21 is a CPU (file generation / transmission means), 22 is nonvolatile memory, 25 is inverter specific information (generation information), 26 is parameter information (setting information), 28 is HMI (input means), 31 is an inverter device (slave device), 32 is volatile memory, 41 is An inverter device (slave device), 42 is a CPU (file generation / transmission means, external terminal detection means), and 46 is a USB memory (external terminal).

Claims (8)

フィールドネットワークに接続されてマスタ機器と通信を行うスレーブ機器であって、
前記通信を行うために各通信ノードがどのような装置かを定義して識別するコンフィギュレーションに使用されるコンフィギュレーションファイルを生成するために必要な生成情報が記憶されているメモリと、
外部端末と通信を行うための通信手段と、
コンフィギュレーションファイルの送信要求トリガが与えられると、前記生成情報に基づいてコンフィギュレーションファイルを生成し、当該コンフィギュレーションファイルを前記外部端末に送信するファイル生成・送信手段とを備えることを特徴とするスレーブ機器。
A slave device connected to the field network and communicating with the master device,
A memory for generating information required to generate a configuration file used in the configuration to identify defines each communication node any device or in order to perform the communication is stored,
A communication means for communicating with an external terminal;
A slave comprising: a file generation / transmission unit that generates a configuration file based on the generation information when a configuration file transmission request trigger is given, and transmits the configuration file to the external terminal. machine.
前記ファイル生成・送信手段は、前記外部端末より送信された、コンフィギュレーションファイルの送信要求コマンドの受信を、前記送信要求トリガとすることを特徴とする請求項1記載のスレーブ機器。   The slave device according to claim 1, wherein the file generation / transmission unit uses, as the transmission request trigger, reception of a configuration file transmission request command transmitted from the external terminal. 前記外部端末が、前記通信手段を介して通信可能な状態となったことを検出する外部端末検出手段を備え、
前記ファイル生成・送信手段は、前記外部端末が通信可能な状態となったことを、前記送信要求トリガとすることを特徴とする請求項1記載のスレーブ機器。
An external terminal detecting means for detecting that the external terminal is in a communicable state via the communication means;
The slave device according to claim 1, wherein the file generation / transmission unit uses the transmission request trigger when the external terminal is in a communicable state.
ユーザが入力操作を行うための入力手段を備え、
前記ファイル生成・送信手段は、前記入力手段を介して送信要求コマンドの入力があったことを、前記送信要求トリガとすることを特徴とする請求項1記載のスレーブ機器。
Provided with input means for the user to perform input operations,
2. The slave device according to claim 1, wherein the file generation / transmission means uses the transmission request command input through the input means as the transmission request trigger.
前記外部端末が、前記通信手段を介して通信可能な状態となったことを検出する外部端末検出手段と、
ユーザが入力操作を行うための入力手段とを備え、
前記生成情報には、前記送信要求トリガとして何れを選択するか決定するための選択パラメータが含まれており、
前記ファイル生成・送信手段は、前記選択パラメータに基づいて、前記送信要求コマンドの受信,前記外部端末が通信可能な状態となったこと,前記入力手段を介して送信要求コマンドの入力があったことの何れかを、前記送信要求トリガとすることを特徴とする請求項2記載のスレーブ機器。
An external terminal detection means for detecting that the external terminal is in a communicable state via the communication means;
Input means for the user to perform an input operation,
The generation information includes a selection parameter for determining which to select as the transmission request trigger,
The file generation / transmission means receives the transmission request command based on the selection parameter, the external terminal is in a communicable state, and the transmission request command is input via the input means. The slave device according to claim 2, wherein any one of the transmission request triggers is used.
前記メモリには、機器本体の制御に関する設定情報も記憶されており、
前記ファイル生成・送信手段は、前記設定情報も前記生成情報の一部として取り扱い、前記設定情報が更新されたことをトリガとして、前記生成情報を更新することを特徴とする請求項1から5の何れか一項に記載のスレーブ機器。
The memory also stores setting information related to the control of the device body,
6. The file generation / transmission unit handles the setting information as a part of the generation information, and updates the generation information using the update of the setting information as a trigger. The slave device according to any one of the items.
前記ファイル生成・送信手段は、フィールドネットワークの種類を指定する指定情報を取得可能に構成され、前記指定情報により指定されたフィールドネットワークの種類に応じて、前記コンフィギュレーションファイルを生成することを特徴とする請求項1から6の何れか一項に記載のスレーブ機器。   The file generation / transmission means is configured to be able to acquire designation information designating a field network type, and generates the configuration file according to the field network type designated by the designation information. The slave device according to any one of claims 1 to 6. フィールドネットワークに接続されてマスタ機器と通信を行うスレーブ機器であって、
前記通信を行うために各通信ノードがどのような装置かを定義して識別するコンフィギュレーションに使用されるコンフィギュレーションファイルが記憶されているメモリと、
外部端末と通信を行うための通信手段と、
コンフィギュレーションファイルの送信要求トリガが与えられると、当該コンフィギュレーションファイルを前記外部端末に送信するファイル送信手段とを備えることを特徴とするスレーブ機器。
A slave device connected to the field network and communicating with the master device,
A memory storing a configuration file used for a configuration that defines and identifies what device each communication node performs to perform the communication;
A communication means for communicating with an external terminal;
A slave device comprising file transmission means for transmitting a configuration file transmission request trigger to the external terminal when a configuration file transmission request trigger is given.
JP2012275691A 2012-12-18 2012-12-18 Slave device Expired - Fee Related JP6002021B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012275691A JP6002021B2 (en) 2012-12-18 2012-12-18 Slave device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012275691A JP6002021B2 (en) 2012-12-18 2012-12-18 Slave device

Publications (2)

Publication Number Publication Date
JP2014120986A JP2014120986A (en) 2014-06-30
JP6002021B2 true JP6002021B2 (en) 2016-10-05

Family

ID=51175451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012275691A Expired - Fee Related JP6002021B2 (en) 2012-12-18 2012-12-18 Slave device

Country Status (1)

Country Link
JP (1) JP6002021B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2868426B2 (en) * 1995-01-26 1999-03-10 松下電工株式会社 Network management system
JP3386115B2 (en) * 1999-12-20 2003-03-17 日本電気株式会社 Wireless adapter
JP2005094683A (en) * 2003-09-19 2005-04-07 Funai Electric Co Ltd Gateway
JP2009181247A (en) * 2008-01-30 2009-08-13 Yokogawa Electric Corp Field network system

Also Published As

Publication number Publication date
JP2014120986A (en) 2014-06-30

Similar Documents

Publication Publication Date Title
EP1586966B1 (en) Control system configuration device
US7987305B2 (en) Remote virtual placeholder configuration for distributed input/output modules
US9557725B2 (en) Apparatus and method for determining replacement compatibility of field devices in industrial process control systems
EP2889707B1 (en) Control device and communication control method
CN107407922B (en) Programmable logic controller, method of controlling the same, and recording medium
US11165745B2 (en) Control system, controller, and control method
US9618910B2 (en) On-demand device templates for integrating devices in a processing facility
CN107407923B (en) PLC control data generating device and generating method, and recording medium
US20190306250A1 (en) Support apparatus, non-transitory computer-readable recording medium and setting method
JP2011186607A (en) Field device, setting method for the same, field device management method and program
US11199993B2 (en) Control system, development assistance device, and development assistance program
JP6002021B2 (en) Slave device
US20190303319A1 (en) Support apparatus, non-transitory computer-readable recording medium and setting method
JP5858152B2 (en) Machine control system, motion controller and connected equipment
JP6352893B2 (en) Robot control apparatus and communication system having communication function with programmable logic controller
JP2018139162A (en) Controller and communication control method
US11651006B2 (en) Method of visualizing screen content on a data visualization system, and data visualization system for visualizing screen content
JP4379710B2 (en) Node and tool, network system, and shared data communication method
CN108415701B (en) Information processing apparatus and system, user interface creation method, and storage medium
WO2014080491A1 (en) Programmable display device
JP6357769B2 (en) Control device and communication control method
JP2016110393A (en) Programmable controller, test method for programmable controller, and program
CN104813615A (en) Method for operating a field device capable of a field bus protocol
JP2018088277A (en) Control device and communication control method
JP2018010575A (en) Field apparatus, field system, general-purpose module and parameter management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150930

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160704

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: 20160809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160902

R150 Certificate of patent or registration of utility model

Ref document number: 6002021

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees