JP2020025155A - Communication system, communication device, and communication method - Google Patents

Communication system, communication device, and communication method Download PDF

Info

Publication number
JP2020025155A
JP2020025155A JP2018147492A JP2018147492A JP2020025155A JP 2020025155 A JP2020025155 A JP 2020025155A JP 2018147492 A JP2018147492 A JP 2018147492A JP 2018147492 A JP2018147492 A JP 2018147492A JP 2020025155 A JP2020025155 A JP 2020025155A
Authority
JP
Japan
Prior art keywords
communication
data
schedule
communication schedule
another
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
JP2018147492A
Other languages
Japanese (ja)
Other versions
JP7014091B2 (en
Inventor
光宏 米田
Mitsuhiro Yoneda
光宏 米田
成憲 澤田
Shigenori Sawada
成憲 澤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2018147492A priority Critical patent/JP7014091B2/en
Priority to PCT/JP2019/030550 priority patent/WO2020031908A1/en
Publication of JP2020025155A publication Critical patent/JP2020025155A/en
Application granted granted Critical
Publication of JP7014091B2 publication Critical patent/JP7014091B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6215Individual queue per QOS, rate or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

To transmit pieces of data different in the type of request level on the same network while satisfying respective requests.SOLUTION: Communication devices (200A to 200H, 100, 400) are each time synchronized with another communication device, and transmits first data used for control of a manufacturing apparatus and periodically transmitted, second data required to be reached to a destination within a designated time, and third data different from the first and second data, according to a communication schedule. When any one of a plurality of conditions is satisfied on the basis of the state of the communication device or the details of communication with the another communication device, the communication device switches the communication schedule to another communication schedule to which the condition is applied, and transfers pieces of data received from the another communication device to a different another device according to the communication schedule.SELECTED DRAWING: Figure 1

Description

本開示は、互いに時刻同期された複数の通信装置がネットワーク接続された通信システム、当該通信システムに向けられた通信装置、および、当該通信システムにおける通信方法に関する。   The present disclosure relates to a communication system in which a plurality of communication devices that are time-synchronized with each other are connected to a network, a communication device directed to the communication system, and a communication method in the communication system.

近年の情報通信技術(ICT:Information and Communication Technology)の進歩に伴って、生産ラインについても、現場の製造機器からPLC(プログラマブルコントローラ)までを一体のネットワーク化するようなシステムが実現されつつある。   2. Description of the Related Art Along with recent advances in information and communication technology (ICT), a system for realizing an integrated network of production equipment from a PLC (programmable controller) to a production line is being realized.

このようなネットワーク化されたシステムにおいて伝送されるデータには、その用途、目的などに応じた要件が課される。例えば、製造装置または生産設備の制御に用いるデータ(制御系データ)は、そのデータサイズはそれほど大きくないものの、リアルタイム性が要求される。これに対して、管理のためのデータ(情報系データ)は、リアルタイム性などは必要ないものの、比較的大きいサイズのデータを伝送しなければならない。   Data transmitted in such a networked system is subject to requirements according to its use, purpose, and the like. For example, data (control system data) used for controlling a manufacturing apparatus or a production facility is not so large, but requires real-time properties. On the other hand, data for management (information-related data) does not need to be real-time or the like, but must transmit data of a relatively large size.

データ伝送に関する先行技術として、米国特許出願公開第2016/0191272号明細書(特許文献1)は、スイッチがTS(Time Sensitive)ネットワークと非TSネットワークとの間でパケットをルーティングする場合に、スイッチは通信スケジュールされた時間にパケットを通信スケジュールして送信することを開示する。   As prior art related to data transmission, US Patent Application Publication No. 2016/0112772 discloses that when a switch routes a packet between a Time Sensitive (TS) network and a non-TS network, the switch uses Disclosed is a method of communication scheduling and transmitting a packet at a communication scheduled time.

米国特許出願公開第2016/0191272号明細書US Patent Application Publication No. 2016/0191272

生産ラインにおいては、上述したような制御系データおよび情報系データに加えて、制御系データのような高速なリアルタイム性は要求されないものの、ある程度の到着時刻の保証が必要なデータ(例えば、機器の設定および管理に関するデータ)も存在する。以下では、説明の便宜上、このようなデータを「制御情報系データ」とも称す。   In a production line, in addition to the control system data and the information system data as described above, although high-speed real-time properties such as control system data are not required, data requiring a certain guarantee of arrival time (for example, equipment Configuration and management data). Hereinafter, such data is also referred to as “control information data” for convenience of description.

制御系データおよび情報系データに加えて、両者の中間的な特性を有する制御情報系データの合計3種類のデータを取り扱う必要性が生じており、これら異なる種類のデータを伝送するための通信スケジュールは、適宜変更したいとの要望がある。   In addition to the control system data and the information system data, there is a need to handle a total of three types of control information system data having intermediate characteristics between them, and a communication schedule for transmitting these different types of data has arisen. Has been requested to be changed as appropriate.

上述の特許文献1は、異なるネットワーク間でのパケット伝送にスケジューリングを開示するのみであり、送信のスケジューリングにおいて3種類のデータを取り扱うことの解決手段を何ら開示するものではない。   The above-mentioned Patent Document 1 only discloses scheduling for packet transmission between different networks, and does not disclose any solution for handling three types of data in transmission scheduling.

制御系データおよび情報系データに加えて制御情報系データなどの要求レベルが異なる種類のデータを、同一のネットワーク上でそれぞれの要求を満たしつつ伝送させるための新たな技術が要望されている。   There is a demand for a new technology for transmitting data of different types, such as control information data and control information data, having different request levels on the same network while satisfying the respective requirements, in addition to the control system data and the information system data.

本開示の一例に係る通信システムは、互いに時刻同期された複数の通信装置がネットワーク接続された通信システムであって、複数の通信装置の各々は、製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、第1のデータおよび第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するための管理手段と、通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリと、当該通信装置の状態または他の通信装置との通信内容に基づき、複数の条件のいずれかが満たされたとき、通信スケジュールを、当該条件に適用する他の通信スケジュールに切替える切替手段と、他の通信装置から受信した各データを通信スケジュールに従って、別の他の装置へ転送する送受信回路と、を備える。   A communication system according to an example of the present disclosure is a communication system in which a plurality of time-synchronized communication devices are connected to a network, and each of the plurality of communication devices is a periodic communication device used for controlling a manufacturing device or a production facility. The first data transmitted to the destination, the second data that needs to arrive at the destination within a specified time, and the third data different from the first data and the second data. A memory for storing a plurality of sets of a communication schedule and a condition to which the communication schedule is applied, and a plurality of conditions based on a state of the communication device or a communication content with another communication device. When either of the conditions is satisfied, the switching means for switching the communication schedule to another communication schedule applied to the condition, and each of the switching means received from another communication device According to the communications schedule over data, and a reception circuit for transferring to another other devices.

上述の開示によれば、通信スケジュールを、通信装置の状態または他の通信装置との通信内容に基づく条件に適用する通信スケジュールに適宜切替えることで、第1〜第3のデータの各データを、条件毎に、当該データに要求される帯域を確保しながら同一ネットワーク上を伝送させることができる。   According to the above disclosure, by appropriately switching the communication schedule to a communication schedule applied to a condition based on the state of the communication device or the content of communication with another communication device, each data of the first to third data is For each condition, the data can be transmitted on the same network while securing the required bandwidth.

また、各通信装置が、当該通信装置の状態または他の通信装置との通信内容に基づくことで、通信スケジュールの切替を自律的に実施することができる。   In addition, each communication device can autonomously switch the communication schedule based on the status of the communication device or the content of communication with another communication device.

上述の開示において、通信スケジュールは、他の通信装置から受信した第1のデータ、第2のデータ、および第3のデータのそれぞれについて、周期内において当該データを他のデータよりも優先して別の他の装置に転送する度合である優先度を規定する。   In the above disclosure, the communication schedule is different for each of the first data, the second data, and the third data received from another communication device in priority in the cycle over the other data. Priority that is a degree of transfer to another device is specified.

上述の開示によれば、通信スケジュールに従い伝送することで、通信スケジュールが規定する優先度に従い、第1〜第3のデータのそれぞれについて、周期内において当該データを他のデータよりも優先して別の他の装置に転送することができる。   According to the above disclosure, by transmitting in accordance with the communication schedule, each of the first to third data is separated from other data in the cycle in a priority order according to the priority defined by the communication schedule. Can be transferred to another device.

上述の開示において、通信スケジュールは、さらに、他の通信装置から受信した第1のデータ、第2のデータ、および第3のデータのそれぞれについて、当該データを別の他の通信装置に転送するレートを含む。   In the above disclosure, the communication schedule further includes, for each of the first data, the second data, and the third data received from another communication device, a rate at which the data is transferred to another communication device. including.

上述の開示によれば、通信スケジュールに従い伝送することで、通信スケジュールが規定する転送レートに従い、第1〜第3のデータのそれぞれを別の他の装置に転送することができる。   According to the above disclosure, by performing transmission according to the communication schedule, each of the first to third data can be transferred to another device according to the transfer rate defined by the communication schedule.

上述の開示において、通信装置は、少なくとも1の入力ポートと、複数の出力ポートを有し、入力ポートで受信した第1のデータ、第2のデータ、および第3のデータを、それぞれ、複数の出力ポートのうち、第1の出力ポート、第2のポートおよび第3のポートから送出し、通信スケジュールが示す優先度は、周期内における各出力ポートが他の出力ポートよりも優先して開いている時間を規定する。   In the above disclosure, the communication device has at least one input port and a plurality of output ports, and converts the first data, the second data, and the third data received at the input port into a plurality of data, respectively. Out of the output ports, the first output port, the second port, and the third port send out, and the priority indicated by the communication schedule is such that each output port in the cycle is opened with priority over other output ports. Specify the time during which

上述の開示によれば、第1〜第3のデータのそれぞれに対応の各出力ポートの開時間を、通信スケジュールが規定する優先度に従い規定することで、第1〜第3のデータのそれぞれについて、周期内において当該データを他のデータよりも優先して別の他の装置に転送することができる。   According to the above disclosure, the opening time of each output port corresponding to each of the first to third data is defined in accordance with the priority defined by the communication schedule, so that the opening time of each output port is determined for each of the first to third data. In the period, the data can be transferred to another device with priority over other data.

上述の開示において、他の装置との通信内容は、当該他の通信装置から受信する通知を含む。   In the above disclosure, the content of communication with another device includes a notification received from the other communication device.

上述の開示によれば、各通信装置は、適用する通信スケジュールを、他の通信装置から受信する通知に基づき切替えることができる。   According to the above disclosure, each communication device can switch a communication schedule to be applied based on a notification received from another communication device.

上述の開示において、他の装置との通信内容は、周期内において第1のデータ、第2のデータおよび第3のデータのうちの1のデータを受信する時期を含む。   In the above disclosure, the content of communication with another device includes a time at which one of the first data, the second data, and the third data is received within a cycle.

上述の開示によれば、各通信装置は、適用する通信スケジュールを、周期内において第1〜第3のデータのうちの1のデータを受信する時期に基づき切替えることができる。   According to the above disclosure, each communication device can switch the communication schedule to be applied based on the timing of receiving one of the first to third data in the cycle.

上述の開示において、他の装置との通信内容は、周期内において第1から第3のデータのうちの1のデータを受信する時期と、通信スケジュールにより指定される周期内において当該1のデータを転送する時期との組合せを含む。   In the above disclosure, the content of communication with another device includes a timing of receiving one of the first to third data in a cycle, and a timing of receiving the one data in a cycle specified by a communication schedule. Includes the combination with the transfer time.

上述の開示によれば、各通信装置は、適用する通信スケジュールを、周期内において第1から第3のデータのうちの1のデータを受信する時期と、通信スケジュールにより指定される周期内において当該1のデータを転送する時期との組合せに基づき切替えることができる。   According to the above disclosure, each communication device sets the communication schedule to be applied to the timing at which one of the first to third data is received in the cycle, and the communication schedule in the cycle specified by the communication schedule. Switching can be performed based on a combination with the timing of transferring one data.

本開示の一例に係る通信装置は、通信システムにネットワーク接続される通信装置であって、他の通信装置との間で互いに時刻同期するための同期手段と、製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、第1のデータおよび第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するための管理手段と、通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリと、当該通信装置の状態または他の通信装置との通信内容に基づき、前記複数の条件のいずれかが満たされたとき、通信スケジュールを、当該条件に適用する他の通信スケジュールに切替える切替手段と、他の通信装置から受信した各データを通信スケジュールに従って、別の他の装置へ転送する送受信回路と、を備える。   A communication device according to an example of the present disclosure is a communication device that is network-connected to a communication system, and is used for controlling a manufacturing device or a production facility, with a synchronization unit for synchronizing time with another communication device. The first data that is transmitted periodically, the second data that needs to arrive at the destination within a designated time, and the third data that is different from the first data and the second data. A management means for transmitting according to the communication schedule, a communication schedule, a memory storing a plurality of sets of conditions for applying the communication schedule, and a state of the communication device or a communication content with another communication device, A switching unit that switches a communication schedule to another communication schedule applied to the condition when any one of the plurality of conditions is satisfied; and a switching unit that receives the communication schedule from another communication device. According to the communications schedule each data, and a reception circuit for transferring to another other devices.

本開示の一例に係る通信装置は、通信方法は、互いに時刻同期された複数の通信装置がネットワーク接続された通信システムにおける通信方法であって、通信システムは、通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリを備え、通信方法は、製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、第1のデータおよび第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するためのステップと、当該通信装置の状態または他の通信装置との通信内容に基づき、複数の条件のいずれかが満たされたとき、通信スケジュールを、当該条件に適用する他の通信スケジュールに切替えるステップと、他の通信装置から受信した各データを通信スケジュールに従って、別の他の装置へ転送するステップと、を備える。   A communication device according to an example of the present disclosure is a communication method in a communication system in which a plurality of communication devices that are time-synchronized with each other are connected to a network, and the communication system applies the communication schedule and the communication schedule. And a memory for storing a plurality of sets of conditions to be transmitted, wherein the communication method needs to arrive at a destination within a designated time period with first data transmitted periodically used for controlling a manufacturing apparatus or a production facility. For transmitting the second data having no data and the third data different from the first data and the second data according to the communication schedule, and the state of the communication device or the communication with another communication device. When any one of a plurality of conditions is satisfied based on the content, a step of switching the communication schedule to another communication schedule applicable to the condition. Comprising the, according to the communications schedule each data received from another communication device, and transferring to another other device.

本開示によれば、通信スケジュールを、通信装置の状態または他の通信装置との通信内容に基づく条件に適用する通信スケジュールに適宜切替えることで、第1〜第3のデータの各データを、条件毎に、当該データに要求される帯域を確保しながら同一ネットワーク上を伝送させることができる。   According to the present disclosure, by appropriately switching the communication schedule to a communication schedule that is applied to a condition based on the state of the communication device or the content of communication with another communication device, each data of the first to third data is set to the condition Each time, it is possible to transmit data on the same network while securing a band required for the data.

本実施の形態にかかる通信システム1のネットワーク構成例を示す模式図である。FIG. 1 is a schematic diagram illustrating a network configuration example of a communication system 1 according to the present embodiment. 図1の通信システム1において伝送されるデータ種別を模式的に示す図である。FIG. 2 is a diagram schematically illustrating data types transmitted in the communication system 1 of FIG. 1. 本発明の実施の形態にかかる通信システムの状態に応じた通信内容の一例を模式的に示す図である。It is a figure which shows typically an example of the communication content according to the state of the communication system concerning embodiment of this invention. 本実施の形態に従う通信装置の典型例である制御装置100のハードウェア構成の一例を示す模式図である。It is a schematic diagram showing an example of a hardware configuration of control device 100 which is a typical example of a communication device according to the present embodiment. 本発明の実施の形態にかかるフレーム20の一例を模式的に示す図である。It is a figure showing typically an example of frame 20 concerning an embodiment of the invention. 図4の送受信コントローラ213の具体的な構成の一例を示す図である。FIG. 5 is a diagram illustrating an example of a specific configuration of a transmission / reception controller 213 in FIG. 4. 本発明の実施の形態にかかる切替部の構成の一例を示す図である。FIG. 3 is a diagram illustrating an example of a configuration of a switching unit according to the embodiment of the present invention. 本発明の実施の形態にかかるメモリ104に格納される通信スケジュールと条件の組の一例を示す図である。FIG. 4 is a diagram showing an example of a set of a communication schedule and a condition stored in a memory 104 according to the embodiment of the present invention. 本発明の実施の形態にかかる通信スケジュールの切替方法(1)を示す図である。FIG. 6 is a diagram illustrating a communication schedule switching method (1) according to the embodiment of the present invention. 本発明の実施の形態にかかる通信スケジュールの切替方法(2)を示す図である。FIG. 6 is a diagram showing a communication schedule switching method (2) according to the embodiment of the present invention. 本発明の実施の形態にかかる通信スケジュールの切替方法(2)のためのフレーム20の内容例を示す図である。It is a figure showing the example of contents of frame 20 for the communication schedule switching method (2) concerning an embodiment of the invention. 本発明の実施の形態にかかる通信スケジュールの切替方法(3)を説明する模式図である。It is a schematic diagram explaining the switching method (3) of the communication schedule concerning embodiment of this invention. 本発明の実施の形態にかかる通信スケジュールの切替処理の概略フローチャートの一例を示す図である。It is a figure showing an example of a schematic flowchart of switching processing of a communication schedule concerning an embodiment of the invention. 本発明の実施の形態にかかる異常発生時の通信スケジュールの切替処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of a communication schedule switching process when an abnormality occurs according to the embodiment of the present invention. 本発明の実施の形態にかかるメンテナンス時の通信スケジュールの切替処理の他の例を示すフローチャートである。11 is a flowchart illustrating another example of a communication schedule switching process during maintenance according to the embodiment of the present invention. 本発明の実施の形態にかかるコンフィグレーションを設定処理の一例を示すフローチャートである。9 is a flowchart illustrating an example of a configuration setting process according to the embodiment of the present invention. 本発明の実施の形態にかかるサポート装置300の構成の一例を示す図である。It is a figure showing an example of composition of support device 300 concerning an embodiment of the invention.

本発明の実施の形態について、図面を参照しながら詳細に説明する。なお、図中の同一または相当部分については、同一符号を付してその説明は繰返さない。   Embodiments of the present invention will be described in detail with reference to the drawings. The same or corresponding parts in the drawings have the same reference characters allotted, and description thereof will not be repeated.

<A.適用例>
まず、図6を参照して、本発明が適用される場面の一例について説明する。図6は、本実施の形態に係る通信システムに通信装置が適用される場面の一例を模式的に示す。本実施の形態に係る通信装置は、制御周期内で時刻同期しながら他の通信装置と同一ネットワーク(伝送路111、112、113)を介して通信する。通信装置は、製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、これらとは異なる第3のデータなどの伝送の要求レベルが異なるデータを、ネットワークを介して伝送する。
<A. Application example>
First, an example of a scene to which the present invention is applied will be described with reference to FIG. FIG. 6 schematically shows an example of a situation where the communication device is applied to the communication system according to the present embodiment. The communication device according to the present embodiment communicates with another communication device via the same network (transmission paths 111, 112, and 113) while synchronizing time within a control cycle. The communication device includes a first periodically transmitted data used for controlling the manufacturing apparatus or the production equipment, a second data that needs to arrive at the destination within a designated time, and a second data that is different from the first data. Data with different transmission request levels, such as data No. 3, is transmitted via the network.

通信装置では、受信回路211を介して他の通信装置または自己の通信装置からのデータであって、他の通信装置に伝送するデータは、キュー31、32および33のそれぞれに一旦格納されて、対応のゲート51,52および53が開いた時間において、送信回路115を介して転送される。本実施の形態では、セレクタ40は、受信回路211からのデータのうち、第1のデータをキュー31に割当て、第2のデータをキュー32に割当て、第3のデータをキュー33に割当てる。したがって、各キューには、同じ要求レベルのデータが格納される。   In the communication device, data from another communication device or its own communication device via the reception circuit 211 and data to be transmitted to the other communication device is temporarily stored in each of the queues 31, 32, and 33, At the time when the corresponding gates 51, 52 and 53 are opened, the data is transferred via the transmission circuit 115. In the present embodiment, the selector 40 allocates the first data to the queue 31, the second data to the queue 32, and the third data to the queue 33 among the data from the receiving circuit 211. Therefore, data of the same request level is stored in each queue.

各キューに格納されたデータの他の通信装置への転送は、通信スケジュール42に従い実施される。通信スケジュール42は、制御周期内の各時間Ti(i=0,1,2・・・)において、いずれのゲートを開けるかを規定する制御指令43を含む。ゲートドライバ41は、通信スケジュール42の各時間Tiにおいて、制御指令43に従いゲート51、52および53のうち開状態にするゲートの選択と、選択されたゲートの開時間を制御する。したがって、通信スケジュール42を用いて、要求レベルが異なる各データのネットワーク上の伝送の帯域を規定することができる。   The transfer of the data stored in each queue to another communication device is performed according to the communication schedule 42. The communication schedule 42 includes a control command 43 that specifies which gate is to be opened at each time Ti (i = 0, 1, 2,...) In the control cycle. The gate driver 41 selects a gate to be opened among the gates 51, 52 and 53 according to the control command 43 at each time Ti of the communication schedule 42, and controls the opening time of the selected gate. Therefore, using the communication schedule 42, it is possible to define the transmission band of each data having different request levels on the network.

通信スケジュール42は、通信スケジュール管理部202が収集する自通信装置または通信システムの稼働状況(自己の通信装置の状態または他の通信装置との通信内容など)に基づき、切替部60が切替える。すなわち、各通信装置の通信スケジュール42の切替えは、互いに同期して実施される。   The switching unit 60 switches the communication schedule 42 based on the operation status of the own communication device or the communication system collected by the communication schedule management unit 202 (the state of the own communication device or the content of communication with another communication device). That is, the switching of the communication schedule 42 of each communication device is performed in synchronization with each other.

本実施の形態では、通信システムの稼働状況のそれぞれに対応して、当該稼働状況に適用する通信スケジュールに切替がなされることで、第1〜第3のデータを伝送するための帯域を、通信システムの稼働状況に応じて必要とされる帯域に切替えることができる。   In the present embodiment, the communication schedule applied to the operation status is switched in response to each of the operation statuses of the communication system, so that the band for transmitting the first to third data is changed. The required bandwidth can be switched according to the operating status of the system.

このような帯域の切替えにおいて、レート調整部34を併用して実施することができる。通信スケジュール管理部202は、例えば、稼働状況に応じた伝送レート341を決定し出力する。レート調整部34は、キュー32からゲート52へ送出されるデータのレート(単位時間当たりのゲート52へ出力データ量)を伝送レート341に基づき変更する。   In such band switching, the rate adjustment unit 34 can be used together. The communication schedule management unit 202 determines and outputs the transmission rate 341 according to the operation status, for example. The rate adjusting unit 34 changes the rate of data transmitted from the queue 32 to the gate 52 (the amount of data output to the gate 52 per unit time) based on the transmission rate 341.

上記に述べた稼働状況における自己の通信装置の状態は、電源起動、異常発生、メンテナンス開始などのイベントが生じた状態を含む。また、他の通信装置との通信内容は、他の通信装置から受信する通知、または他の通信装置からのデータ受信の時期を含む。データ受信の時期とは、制御周期内において第1から第3のデータのうちの1のデータを受信する時期と、現在適用中の通信スケジュール42により指定される制御周期内において当該1のデータを転送する時期との組合せを含む。   The state of its own communication device in the above-mentioned operation state includes a state in which an event such as power activation, occurrence of an abnormality, and start of maintenance has occurred. Further, the content of communication with another communication device includes a notification received from another communication device, or a timing of receiving data from another communication device. The data reception timing is defined as a timing at which one of the first to third data is received in the control cycle, and a timing at which the one data is determined within the control cycle specified by the communication schedule 42 currently applied. Includes the combination with the transfer time.

また、上記に述べた第1〜第3のデータはFA(ファクトリオートメーション)において伝送され得る種類のデータである。第1のデータは、制御系データに相当する。制御系データは、製造装置または生産設備の制御に用いられるデータに相当する。制御系データの一例としては、サーボ指令値、エンコーダ値、センサのON/OFF値などが挙げられる。上記の第2のデータは、制御情報系データに相当する。制御情報系データは、制御系データとは異なるが制御に必要な情報に分類されるものであり、例えば、機器の設定・管理に関するデータを含む。上記の第3のデータは、機器の設定・管理に関するデータである。一例としては、ある期間に亘るセンサでの収集情報といった統計的データや、何らかの条件で撮像された監視画像(静止画像/動画像)などが挙げられる。   Further, the above-described first to third data are types of data that can be transmitted in FA (factory automation). The first data corresponds to control system data. The control system data corresponds to data used for controlling a manufacturing apparatus or a production facility. Examples of the control system data include a servo command value, an encoder value, an ON / OFF value of a sensor, and the like. The second data corresponds to control information data. The control information system data is different from the control system data but is classified into information necessary for control, and includes, for example, data relating to the setting and management of devices. The third data is data relating to setting and management of the device. As an example, there are statistical data such as information collected by a sensor over a certain period, and a monitoring image (still image / moving image) captured under some conditions.

以下、本実施の形態のより具体的な応用例について説明する。
<B.通信システムの全体構成>
次に、本実施の形態に従う通信システム1のネットワーク構成例について説明する。図1は、本実施の形態にかかる通信システム1のネットワーク構成例を示す模式図である。
Hereinafter, more specific application examples of the present embodiment will be described.
<B. Overall configuration of communication system>
Next, a network configuration example of communication system 1 according to the present embodiment will be described. FIG. 1 is a schematic diagram illustrating a network configuration example of a communication system 1 according to the present embodiment.

図1に示す通信システム1は、一例として、少なくとも一部の通信装置がデイジーチェーン接続のネットワークを採用する。具体的には、通信システム1は、PLCなどの制御装置100と、複数のデバイス200A〜200Hと、集線装置として機能する中継装置400とを含む。制御装置100は、ネットワーク内のデータ伝送を管理するマスターとして機能し、デバイス200A〜200Hおよび中継装置400は、マスターからの指令に従ってデータ伝送を行うスレーブとして機能する。   The communication system 1 illustrated in FIG. 1 employs, as an example, a network in which at least some of the communication devices are daisy-chain connected. Specifically, the communication system 1 includes a control device 100 such as a PLC, a plurality of devices 200A to 200H, and a relay device 400 functioning as a concentrator. The control device 100 functions as a master that manages data transmission in the network, and the devices 200A to 200H and the relay device 400 function as slaves that perform data transmission according to instructions from the master.

制御装置100と中継装置400との間は、上位の伝送路111で接続されており、中継装置400にて2つの下位の伝送路112,113に分岐されている。中継装置400に接続される下位伝送路112には、デバイス200A〜200Dがデイジーチェーンで順次接続されており、中継装置400に接続される下位伝送路113には、デバイス200E〜200Hがデイジーチェーンで順次接続されている。   The control device 100 and the relay device 400 are connected by an upper transmission line 111, and are branched by the relay device 400 into two lower transmission lines 112 and 113. Devices 200A to 200D are sequentially connected to the lower transmission line 112 connected to the relay device 400 in a daisy chain, and devices 200E to 200H are connected to the lower transmission line 113 connected to the relay device 400 in a daisy chain. They are connected sequentially.

伝送路111、112および113には、例えばTSN(Time-sensitive networking)規格に従いデータの到達時間が保証される、定周期通信を行なうバスまたはネットワークを採用することが好ましい。例えば、マシンコントロール用ネットワークの一例であるEtherCAT(登録商標)、汎用的なEthernet(登録商標)上に制御用プロトコルを実装した産業用オープンネットワークであるEtherNet/IP(登録商標)などの公知のプロトコルに係るネットワークを採用してもよい。   For the transmission paths 111, 112, and 113, it is preferable to employ a bus or a network that performs fixed-period communication that guarantees the data arrival time according to, for example, the TSN (Time-sensitive networking) standard. For example, known protocols such as EtherCAT (registered trademark), which is an example of a machine control network, and EtherNet / IP (registered trademark), which is an industrial open network in which a control protocol is implemented on general-purpose Ethernet (registered trademark) May be adopted.

通信システム1のネットワーク内においては、制御装置100、デバイス200A〜200H、および中継装置400は、いずれも「データ転送機能を有する通信装置」とみなすことができる。各通信装置は、ネットワークのスイッチング機能を有する。   In the network of the communication system 1, the control device 100, the devices 200A to 200H, and the relay device 400 can all be regarded as “communication devices having a data transfer function”. Each communication device has a network switching function.

図1に示す例においては、制御装置100、デバイス200A〜200H、および中継装置400の各々は、隣接して接続されているある通信装置から、ネットワーク上を転送されるデータ(以下では、1つの転送単位のデータを「フレーム」とも称す。)を受信すると、当該入来したフレームを必要に応じて、隣接して接続されている別の通信装置へ転送する機能を有している。なお、受信されたフレームが自装置宛てである場合には、当該受信したフレームは他の通信装置へ転送されることなく、当該フレームを受信した装置自体で当該フレームが処理される。処理の結果を示すフレームが、また、他の通信装置に伝送される。   In the example illustrated in FIG. 1, each of the control device 100, the devices 200A to 200H, and the relay device 400 transmits data (hereinafter, one data item) transferred on a network from a communication device connected adjacently. When the data of the transfer unit is also referred to as a "frame"), it has a function of transferring the incoming frame to another adjacently connected communication device as necessary. If the received frame is addressed to the own device, the received frame is processed by the device that has received the frame itself without being transferred to another communication device. A frame indicating the result of the processing is transmitted to another communication device.

本実施の形態に従う通信システム1のネットワークは、製造装置や生産設備などを制御する制御装置100を含むものであり、いわゆる産業用ネットワークまたは産業用ネットワークに準拠する要件を充足するように構成される。そのような要件の一つとして、送信元から送出したデータが宛先に到着する時刻が保証される。このために、通信システム1は、予め定められたシステム周期(後述する制御周期T)を維持しつつ、ネットワークが有する帯域において、通信システム1の状態に応じた種類のデータを伝送するための帯域が確保されるように、データ伝送のためのスケジューリングを実施する。より具体的には、通信システム1の状態に応じて、制御系データ、制御情報系データおよび情報系データのうちの1のデータが、他のデータよりも優先的に伝送されるように、データ伝送のためのスケジューリングが実施される。   The network of the communication system 1 according to the present embodiment includes a control device 100 that controls a manufacturing device, a production facility, and the like, and is configured to satisfy a requirement conforming to a so-called industrial network or an industrial network. . One such requirement is to guarantee the time at which the data sent from the source arrives at the destination. For this reason, the communication system 1 maintains a predetermined system cycle (a control cycle T to be described later) while maintaining a predetermined bandwidth for transmitting data of a type according to the state of the communication system 1 in a bandwidth of the network. Scheduling for data transmission is performed so that More specifically, according to the state of the communication system 1, the control system data, the control information system data, and the data system such that one of the information system data is transmitted with priority over the other data. Scheduling for transmission is performed.

この「優先」の概念は、当該1のデータのみを伝送し、他のデータの送信を禁止するケースも含み得る。例えば、通信システム1では、スケジューリングに従う制御系データを送信する時間帯においては、仮に伝送するべき制御系データがないとしても、他のデータの送信は禁止するとの概念を含み得る。   The concept of “priority” may include a case where only the one data is transmitted and transmission of other data is prohibited. For example, the communication system 1 may include a concept that transmission of other data is prohibited even if there is no control data to be transmitted in a time zone for transmitting control data according to scheduling.

このような宛先への到着時刻を保証するために、通信システム1は、図1に示すように、互いに時刻同期された複数の通信装置がネットワーク接続される。つまり、通信システム1のネットワークを構成する通信装置の間では送受信タイミングが時刻同期の手段により時刻同期されている。より具体的には、ネットワークを構成する通信装置の各々は、時刻同期手段の一部として、互いに時刻同期されたタイマ(あるいは、同期してインクリメントまたはデクリメントされるカウンタ)を有しており、それらの時刻同期されたタイマまたはカウンタに従って、各通信装置がデータの送信または受信のタイミングを決定する。   In order to guarantee the arrival time at such a destination, in the communication system 1, as shown in FIG. 1, a plurality of communication devices synchronized in time with each other are network-connected. That is, the transmission / reception timing is synchronized between the communication devices configuring the network of the communication system 1 by the time synchronization unit. More specifically, each of the communication devices constituting the network has a timer (or a counter that is synchronously incremented or decremented) as a part of the time synchronizing means. Each communication device determines data transmission or reception timing according to the time-synchronized timer or counter.

図1に示す例においては、制御装置100はタイマ101を有しており、中継装置400はタイマ401を有しており、デバイス200A〜200Hはタイマ201A〜201Hをそれぞれ有している。例えば、制御装置100のタイマ101がグランドマスタとして機能し、中継装置400およびデバイス200A〜200Hのタイマがこのグランドマスタを基準としてタイミングを同期させる。このようなタイマ間の同期によって、通信システム1において、フレームの伝送タイミング等を互いに一致させることができる。   In the example shown in FIG. 1, the control device 100 has a timer 101, the relay device 400 has a timer 401, and the devices 200A to 200H have timers 201A to 201H, respectively. For example, the timer 101 of the control device 100 functions as a grand master, and the timers of the relay device 400 and the devices 200A to 200H synchronize timing with reference to the grand master. The synchronization between the timers allows the communication system 1 to match the frame transmission timing and the like.

制御装置100には、センサ、アクチュエータといった制御対象となるフィールド機器が直接に接続され得るまたはネットワーク2を介して接続され得るが、本実施の形態では、図1に示すように、これら制御対象はデバイス200およびネットワーク2を介して制御装置100に接続され得る。   Field devices to be controlled, such as sensors and actuators, can be directly connected to the control device 100 or can be connected to the control device 100 via the network 2. In the present embodiment, as shown in FIG. It can be connected to the control device 100 via the device 200 and the network 2.

制御装置100において実行される制御演算は、デバイス200がネットワーク2を介してフィールド機器から収集したデータまたは生成したデータの処理、デバイス200に対する指令等のデータを生成する処理(演算処理)、生成した出力データを対象のデバイス200へ送信する処理(出力処理)等を含む。   The control calculation executed by the control device 100 is processing of data collected or generated by the device 200 from the field device via the network 2, processing of generating data such as an instruction to the device 200 (calculation processing), and generation of data. A process (output process) for transmitting output data to the target device 200 is included.

また、制御装置100に、サポート装置300が接続され得る。サポート装置300は、制御装置100がネットワーク2を管理するための必要な準備および制御対象を制御するために必要な準備等を支援する装置である。サポート装置300は、ネットワークの管理に関連して、例えば制御装置100に接続されるデバイス200のパラメータ(コンフィギュレーション)を設定するための設定環境等を提供する。サポート装置300は、設定環境等を提供する設定ツールがインストールされたPC(パーソナルコンピュータ)等を含み得る。   Further, the support device 300 can be connected to the control device 100. The support device 300 is a device that supports the preparation necessary for the control device 100 to manage the network 2 and the preparation necessary for controlling the control target. The support apparatus 300 provides, for example, a setting environment for setting parameters (configuration) of the device 200 connected to the control apparatus 100 in connection with network management. The support device 300 may include a PC (personal computer) on which a setting tool for providing a setting environment and the like is installed.

なお、図1に示す通信システム1においては、サポート装置300は、制御装置100とは別体として備えられるが、サポート装置300は、制御装置100に一体的に備えられてもよい。すなわち、サポート装置300が有する機能は、制御装置100に内蔵され得る。   In the communication system 1 shown in FIG. 1, the support device 300 is provided separately from the control device 100, but the support device 300 may be provided integrally with the control device 100. That is, the functions of the support device 300 can be built in the control device 100.

<C.要求される通信性能>
図1に示す通信システム1においては、制御系データのような高速なリアルタイム性は要求されないものの、ある程度の到着時刻の保証が必要なデータ(例えば、機器の設定および管理に関するデータ)も存在する。以下では、説明の便宜上、このようなデータを「制御情報系データ」とも称す。
<C. Required Communication Performance>
In the communication system 1 shown in FIG. 1, although high-speed real-time property such as control system data is not required, there is also data (for example, data related to device setting and management) that needs to guarantee a certain arrival time. Hereinafter, such data is also referred to as “control information data” for convenience of description.

図2は、図1の通信システム1において伝送されるデータ種別を模式的に示す図である。図2を参照して、通信システム1においては、主として、(1)制御系データ、(2)制御情報系データ、(3)情報系データ、が伝送される。なお、これらのいずれにも分類されないデータが伝送されることを排除するものではなく、さらに別の種別のデータを伝送するようにしてもよい。   FIG. 2 is a diagram schematically showing the types of data transmitted in the communication system 1 of FIG. Referring to FIG. 2, in communication system 1, (1) control system data, (2) control information system data, and (3) information system data are mainly transmitted. Note that transmission of data that is not classified into any of these types is not excluded, and data of another type may be transmitted.

(1)制御系データは、その主旨として、機器を現実に制御するためのデータを含む。すなわち、制御系データは、製造装置または生産設備の制御に用いられるデータに相当する。制御系データの一例としては、サーボ指令値、エンコーダ値、センサのON/OFF値等が挙げられる。制御系データは、基本的には、周期的に伝送される。このような制御系データの通信周期は例えば10msec以下に設定されることが好ましい。   (1) The control system data includes, as its gist, data for actually controlling the device. That is, the control system data corresponds to data used for controlling a manufacturing apparatus or a production facility. Examples of the control system data include a servo command value, an encoder value, an ON / OFF value of a sensor, and the like. The control system data is basically transmitted periodically. The communication cycle of such control system data is preferably set to, for example, 10 msec or less.

(2)制御情報系データは、情報系通信において用いられるデータのうち、制御に必要な情報に分類されるものであり、その主旨として、機器の設定・管理に関するデータを含む。すなわち、制御情報系データは、指定された時間内に宛先へ到着させる必要のあるデータに相当する。制御情報系データの一例としては、センサデバイスに対するしきい値といった各種パラメータの設定、各機器に格納されている異常情報(ログ)の収集、各機器に対する更新用のファームウェア等が挙げられる。このようなネットワーク上で伝送される制御情報系データの内容は多種多様であるが、基本的には、機器の設定・管理に関するデータであるので、データサイズとしては、数kbyte程度が想定される。そのため、制御情報系データの通信周期は例えば100msec未満に設定されることが好ましい。   (2) Control information data is classified into information necessary for control among data used in information communication, and includes data relating to device setting and management as its gist. That is, the control information data corresponds to data that needs to arrive at the destination within the designated time. Examples of the control information data include setting of various parameters such as a threshold value for the sensor device, collection of abnormality information (log) stored in each device, and firmware for updating each device. Although the contents of the control information data transmitted on such a network are various, basically, the data is related to the setting and management of the device. Therefore, the data size is assumed to be about several kbytes. . Therefore, the communication cycle of the control information data is preferably set to, for example, less than 100 msec.

(3)情報系データは、情報系通信において用いられるデータのうち、管理に必要な情報に分類されるものである。情報系データの一例としては、ある期間に亘るセンサでの収集情報といった統計的データや、何らかの条件で撮像された監視画像(静止画像/動画像)等が挙げられる。このようなネットワーク上で伝送される制御系データの内容は多種多様であり、データサイズとしても多種多様である。典型的には、情報系データのデータサイズは、制御情報系データのデータサイズより大きいことが想定される。また、機器の制御には直接関係しないので、情報系データはベストエフォート方式で伝送されることが想定される。この場合、リアルタイム性(すなわち、指定された時間にデータが到着すること)ではなく、スループットの高さが重視される。   (3) Information-based data is classified into information necessary for management among data used in information-based communication. Examples of the information system data include statistical data such as information collected by a sensor over a certain period, a monitoring image (still image / moving image) captured under some conditions, and the like. The contents of control system data transmitted on such a network are various, and the data size is also various. Typically, it is assumed that the data size of the information system data is larger than the data size of the control information system data. Further, since it is not directly related to the control of the device, it is assumed that the information system data is transmitted by the best effort method. In this case, high throughput is emphasized rather than real-time property (that is, data arrival at a designated time).

なお、データ毎に、制御系、制御情報系、情報系のいずれに分類されるのかを一意に決定するようにしてもよいし、同じデータであっても、その用途に応じて、制御系、制御情報系、情報系のいずれに分類されるのかが変化するようにしてもよい。   It should be noted that, for each data, a control system, a control information system, or an information system may be uniquely determined, and even if the same data is used, a control system, Which of the control information system and the information system is classified may be changed.

このように、制御系データについては高速高精度の通信が要求され、情報系データについては大容量の通信が要求される。そして、制御情報系データについては、制御系データと情報系データとの間の中間的な特性が要求される。   As described above, high-speed and high-precision communication is required for control data, and large-capacity communication is required for information data. The control information data requires an intermediate characteristic between the control data and the information data.

<D.通信システムの状態に応じた通信内容の例示>
図3は、本発明の実施の形態にかかる通信システムの状態に応じた通信内容の一例を模式的に示す図である。図3では、通信システム1が取り得る状況、すなわち各通信装置が取り得る状況のそれぞれに対応して、各通信装置がとる通信スケジュールが模式的に示される。
<D. Example of communication content according to state of communication system>
FIG. 3 is a diagram schematically illustrating an example of communication contents according to a state of the communication system according to the embodiment of the present invention. FIG. 3 schematically shows a communication schedule taken by each communication device corresponding to a situation that the communication system 1 can take, that is, a situation that each communication device can take.

本実施の形態では、通信システム1の状況は、例えば通信システム1の各部に異常はなくフィールド機器を制御する正常稼働時のケース(A)、通信システム1の各部を起動または初期化する場合のケース(B)、通信システム1に何らかの異常が発生しているケース(C)および通信システム1をメンテナンスするためのメンテナンス時のケース(D)を含む。なお、通信システム1が取り得る状況は、ケース(A)〜(D)の4種類に限定されない。   In the present embodiment, the situation of the communication system 1 includes, for example, a case (A) during normal operation in which each unit of the communication system 1 has no abnormality and controls a field device, and a case where each unit of the communication system 1 is activated or initialized. A case (B), a case (C) in which some abnormality has occurred in the communication system 1, and a case (D) at the time of maintenance for maintaining the communication system 1 are included. The situations that the communication system 1 can take are not limited to the four cases (A) to (D).

各状況において、通信されるべきデータの種類と通信スケジュールは異なる。具体的には、正常稼働時のケース(A)では、制御系データは例えば制御の指令値または現在値を含み、制御情報系データは、時刻同期の情報または制御のための設定値(しきい値またはモード設定値)等を含み、情報系データは、モニタリング監視に関するデータを含む。正常稼働時のケース(A)の通信スケジュールでは、各通信装置は、制御周期T内において、制御周期の開始から制御系データを送信し、制御系データを送信完了後の残り時間内で制御情報系データを送信し、続いて情報系データを送信する。これにより、制御周期Tにおいて、制御系データを伝送するための帯域を確実に確保することができる。   In each situation, the type of data to be communicated and the communication schedule are different. Specifically, in case (A) during normal operation, the control system data includes, for example, a control command value or a current value, and the control information system data includes time synchronization information or a set value for control (threshold). Value or mode setting value), and the information system data includes data related to monitoring and monitoring. In the communication schedule of the case (A) during normal operation, each communication device transmits control system data from the start of the control cycle within the control cycle T, and controls the control information within the remaining time after the transmission of the control system data is completed. The system data is transmitted, and then the information system data is transmitted. Thereby, in the control cycle T, a band for transmitting control system data can be reliably secured.

起動または初期化時のケース(B)では、制御情報系データ(例えば、時刻同期の情報、NW(ネットワーク)構成を取得するための情報、制御の設定値等)のみが伝送される。したがって、起動または初期化時のケース(B)の通信スケジュールでは、各通信装置は、制御周期T内において制御情報系データのみを送信する。これにより、制御周期Tにおいて、制御情報系データを伝送するための帯域を確保することができる。   In the case (B) at the time of activation or initialization, only control information data (for example, time synchronization information, information for acquiring an NW (network) configuration, control setting values, and the like) are transmitted. Therefore, in the communication schedule of the case (B) at the time of activation or initialization, each communication device transmits only control information data within the control cycle T. Thereby, in the control cycle T, a band for transmitting control information data can be secured.

異常発生時のケース(C)では、フィールド機器の現在値等を含む制御系データ、制御情報系データ(例えば、時刻同期の情報、NW(ネットワーク)構成を取得するための情報、異常情報取得等)および異常解析のためのロギングデータを取得するための情報系データが伝送される。また、異常発生時のケース(C)の通信スケジュールでは、制御周期T内において、マスターからスレーブへの通信スケジュールは、制御情報系データを送信後に情報系データが送信され、スレーブからマスターへの通信スケジュールは、制御情報系データを送信後に、制御情報系データおよび情報系データが送信される。これにより、制御周期T内において、例えば、マスターがスレーブからの異常データを収集するための帯域を確保することが可能となる。   In case (C) when an abnormality occurs, control system data including the current value of the field device and the like, control information system data (for example, information of time synchronization, information for acquiring an NW (network) configuration, acquisition of abnormality information, etc. ) And information data for acquiring logging data for abnormality analysis are transmitted. Further, in the communication schedule of the case (C) at the time of occurrence of an abnormality, the communication schedule from the master to the slave in the control cycle T is such that the information data is transmitted after transmitting the control information data, and the communication from the slave to the master is performed. In the schedule, after transmitting the control information data, the control information data and the information data are transmitted. Thereby, for example, in the control cycle T, it is possible to secure a band for the master to collect abnormal data from the slave.

メンテナンス時のケース(D)では、通信装置にバックアップリストアを実施するためのデータを含む制御情報系データおよび通信装置からロギングデータの取得を実施するためのデータを含む情報系データが伝送される。また、起動または初期化時のケース(B)の通信スケジュールでは、各通信装置は、制御周期T内において制御情報系データを送信し、その後に情報系データが送信する。これにより、制御周期Tにおいて、メンテナンスに必要な制御情報系データと情報系データを伝送するための帯域を確保することができる。   In the case (D) at the time of maintenance, control information data including data for performing backup / restoration and information data including data for acquiring logging data from the communication device are transmitted to the communication device. In the communication schedule of the case (B) at the time of activation or initialization, each communication device transmits control information data within the control cycle T, and thereafter transmits information data. Thereby, in the control period T, it is possible to secure control information data necessary for maintenance and a band for transmitting the information data.

<E.通信装置の装置構成>
図4は、本実施の形態に従う通信装置の典型例である制御装置100のハードウェア構成の一例を示す模式図である。本実施の形態にかかる通信システム1を構成する通信装置としては、制御装置100、デバイス200A〜200H、および中継装置400を含み得る。以下では、典型例として、図4に示す制御装置100の装置構成について例示するが、デバイス200A〜200Hおよび中継装置400についても同様の装置構成を有しするので、説明を繰返さない。
<E. Device Configuration of Communication Device>
FIG. 4 is a schematic diagram showing an example of a hardware configuration of control device 100 which is a typical example of a communication device according to the present embodiment. Communication devices that constitute communication system 1 according to the present embodiment may include control device 100, devices 200A to 200H, and relay device 400. In the following, the device configuration of control device 100 shown in FIG. 4 will be exemplified as a typical example, but devices 200A to 200H and relay device 400 have the same device configuration, and therefore, description thereof will not be repeated.

図4を参照して、制御装置100は、PLCをベースとして構成され得る。図4を参照して、制御装置100は、主たるコンポーネントとして、プロセッサ102と、メモリ104と、ストレージ106と、通信制御回路110とを含む。これらのコンポーネントはバス109を介して接続されている。   Referring to FIG. 4, control device 100 can be configured based on a PLC. Referring to FIG. 4, control device 100 includes a processor 102, a memory 104, a storage 106, and a communication control circuit 110 as main components. These components are connected via a bus 109.

プロセッサ102は、ストレージ106に格納されているシステムプログラム107およびユーザアプリケーションプログラム108をメモリ104に読み出して実行することで、各種処理を実現する。メモリ104は、DRAM(Dynamic Random Access Memory)またはSRAM(Static Random Access Memory)等の揮発性記憶装置からなる。ストレージ106は、ハードディスクやフラッシュメモリ等の不揮発性記憶装置からなる。ストレージ106には、制御装置100の各部を制御するためのシステムプログラム107に加えて、制御対象などに応じて設計されるユーザアプリケーションプログラム108が格納される。   The processor 102 implements various processes by reading the system program 107 and the user application program 108 stored in the storage 106 into the memory 104 and executing them. The memory 104 includes a volatile storage device such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory). The storage 106 includes a nonvolatile storage device such as a hard disk or a flash memory. The storage 106 stores a user application program 108 designed in accordance with a control target or the like, in addition to a system program 107 for controlling each unit of the control device 100.

通信制御回路110は、制御装置100がネットワークを介して中継装置400または各デバイス200との間でデータを遣り取りするためのインターフェイスを提供する。通信制御回路110は、入来するフレームを処理し、処理後のフレームを送出する。具体的には、通信制御回路110は、主たるコンポーネントとして、少なくとも1の入力ポートに相当する受信回路(Rx)211と、受信バッファ212と、送受信コントローラ213と、送信バッファ114と、送信回路(Tx)115と、タイマ101とを含む。   The communication control circuit 110 provides an interface for the control device 100 to exchange data with the relay device 400 or each device 200 via the network. The communication control circuit 110 processes an incoming frame and sends out the processed frame. Specifically, the communication control circuit 110 includes, as main components, a reception circuit (Rx) 211 corresponding to at least one input port, a reception buffer 212, a transmission / reception controller 213, a transmission buffer 114, and a transmission circuit (Tx ) 115 and a timer 101.

受信回路211は、通信制御回路110上を定周期で伝送されるフレームを受信して、その受信したフレームに格納されているデータを受信バッファ212に書込む。送受信コントローラ213は、受信バッファ212に書込まれた受信フレームを順次読出す。送受信コントローラ213は、当該読出されたフレームから、制御装置100での処理に必要なデータのみを抽出し、プロセッサ102へ出力する。送受信コントローラ213は、プロセッサ102からの指令に従って、デバイス200へ送信すべきデータあるいはフレームを送信バッファ114へ順次書込む。送信回路115は、通信制御回路110上をフレームが伝送される周期に同期して、送信バッファ114に格納されているデータを順次ネットワーク2へ送出する。タイマ101は、送受信コントローラ213から通信フレームの送信などを指示するタイミングの基準となるパルスを発生するグランドマスタでもあり得る。   The receiving circuit 211 receives a frame transmitted on the communication control circuit 110 at a fixed period, and writes data stored in the received frame into the receiving buffer 212. The transmission / reception controller 213 sequentially reads out the reception frames written in the reception buffer 212. The transmission / reception controller 213 extracts only data necessary for processing in the control device 100 from the read frame and outputs the data to the processor 102. The transmission / reception controller 213 sequentially writes data or frames to be transmitted to the device 200 to the transmission buffer 114 in accordance with a command from the processor 102. The transmission circuit 115 sequentially sends out the data stored in the transmission buffer 114 to the network 2 in synchronization with the cycle in which the frame is transmitted on the communication control circuit 110. The timer 101 may be a grand master that generates a pulse that is used as a reference of timing for instructing transmission and the like of a communication frame from the transmission / reception controller 213.

図4の構成が中継装置400に適用される場合、通信制御回路110は、伝送路111、112および113が接続され得る。図4の構成がデバイス200に適用される場合、通信制御回路110は、伝送路112および113が接続される。   When the configuration in FIG. 4 is applied to relay device 400, transmission lines 111, 112, and 113 may be connected to communication control circuit 110. When the configuration in FIG. 4 is applied to the device 200, the communication control circuit 110 is connected to the transmission lines 112 and 113.

<F.フレームの構成>
図5は、本発明の実施の形態にかかるフレーム20の一例を模式的に示す図である。フレーム20は、例えば、IEEE802.1Qbvのプロトコルに対応したフォーマットを有するが、フレーム20のフォーマットは図5に示すものに限定されない。
<F. Frame Configuration>
FIG. 5 is a diagram schematically illustrating an example of the frame 20 according to the embodiment of the present invention. The frame 20 has, for example, a format corresponding to the protocol of IEEE 802.1Qbv, but the format of the frame 20 is not limited to the format shown in FIG.

図5を参照して通信装置間で遣り取りされるフレーム20は、データ伝送を管理するために参照されるフィールドとして、プリアンブルを格納するフィールド21、フレームの宛先を格納するフィールド22、フレームの送信元を格納するフィールド23、フィールド24、ネットワークのタイプを格納するフィールド25、誤り訂正のためのフィールド27およびフレーム間ギャップを格納するフィールド28を含み、さらに、伝送されるべきデータ本体であるペイロードを格納するフィールド26を含む。フィールド26のペイロードとしては、上述した制御系データ、または制御情報系データ、または情報系データが含まれる。   Referring to FIG. 5, a frame 20 exchanged between communication devices includes a field 21 for storing a preamble, a field 22 for storing a destination of the frame, and a source of the frame as fields referred to for managing data transmission. 23, a field 24 for storing a network type, a field 27 for error correction, and a field 28 for storing an inter-frame gap, and further stores a payload which is a data body to be transmitted. Field 26. The payload of the field 26 includes the above-described control data, control information data, or information data.

本実施の形態では、フレーム20のフィールド24には、当該フレーム20のデータを後述する複数のキューのいずれに割当てるかを指示する割付データ241が格納される。なお、割付データ241が格納されるフィールドは、フィールド24に限定されない。   In the present embodiment, the field 24 of the frame 20 stores allocation data 241 that indicates to which of a plurality of queues the data of the frame 20 will be assigned, which will be described later. The field in which the allocation data 241 is stored is not limited to the field 24.

<G.通信制御回路110の構成>
図6は、図4の送受信コントローラ213の具体的な構成の一例を示す図である。図6を参照して、送受信コントローラ213は、セレクタ40、複数のキュー、レート調整部34、複数の出力ポートに相当する複数のゲート、複数のゲート51,52,53の開閉を制御するゲートドライバ41、フレーム20を伝送するための通信スケジュールを示す通信スケジュール42、通信スケジュール管理部202、および通信スケジュール42を切替える切替部60を備える。通信スケジュール管理部202および切替部60は、ASIC(application specific integrated circuit)やFPGA(field-programmable gate array)などのハードワイヤードな構成(ハードウェア実装)としてもよいし、プロセッサがプログラムを実行することで必要な機能を提供するように構成(ソフトウェア実装)としてもよい。さらに、ハードウェア実装とソフトウェア実装とを組み合わせた実装形態を採用してもよい。通信装置の用途や要求されるスペックなどに応じて、適宜最適な実装形態が採用される。
<G. Configuration of Communication Control Circuit 110>
FIG. 6 is a diagram showing an example of a specific configuration of the transmission / reception controller 213 in FIG. Referring to FIG. 6, a transmission / reception controller 213 includes a selector 40, a plurality of queues, a rate adjusting unit 34, a plurality of gates corresponding to a plurality of output ports, and a gate driver for controlling opening and closing of a plurality of gates 51, 52, 53. 41, a communication schedule 42 indicating a communication schedule for transmitting the frame 20, a communication schedule management unit 202, and a switching unit 60 for switching the communication schedule 42. The communication schedule management unit 202 and the switching unit 60 may have a hard-wired configuration (hardware implementation) such as an application specific integrated circuit (ASIC) or a field-programmable gate array (FPGA), or the processor may execute a program. May be configured (software implementation) to provide the necessary functions. Further, an implementation mode in which hardware implementation and software implementation are combined may be adopted. An optimal mounting form is appropriately adopted according to the use of the communication device and the required specifications.

通信スケジュール管理部202は、送受信コントローラ213によるフレーム20の通信(伝送)の通信スケジュールを管理する。通信スケジュール管理部202は、切替部60による通信スケジュール42の切替えが制御周期Tに同期して実施されるように、切替部60を制御する。   The communication schedule management unit 202 manages a communication schedule of communication (transmission) of the frame 20 by the transmission / reception controller 213. The communication schedule management unit 202 controls the switching unit 60 such that the switching of the communication schedule 42 by the switching unit 60 is performed in synchronization with the control cycle T.

セレクタ40は、受信回路211から入来するフレーム20の割付データ241を従い、複数のキューのうちの1つを選択し、選択したキューに当該フレーム20を格納する。複数のキューは、例えば制御系データのフレーム20を格納するためのキュー31、制御情報系データのフレーム20を格納するためのキュー32、および情報系データのフレーム20を格納するための複数のキュー33を含む。セレクタ40は、入来フレーム20の割付データ241に従い割付けられたキューに、当該入来フレーム20を格納する。本実施の形態では、制御系データのフレーム20の割付データ241は、キュー31への割付を指示し、制御情報系データのフレーム20の割付データ241は、キュー32への割付を指示し、情報系データのフレーム20の割付データ241は、キュー33への割付を指示する。これにより、キュー31には制御系データのフレーム20のみが格納されて、キュー32には制御情報系データのフレーム20のみが格納されて、キュー33には情報系データのフレーム20のみが格納される。   The selector 40 selects one of a plurality of queues according to the allocation data 241 of the frame 20 coming from the receiving circuit 211, and stores the frame 20 in the selected queue. The plurality of queues include, for example, a queue 31 for storing the control data frame 20, a queue 32 for storing the control information data frame 20, and a plurality of queues for storing the information data frame 20. 33. The selector 40 stores the incoming frame 20 in the queue allocated according to the allocation data 241 of the incoming frame 20. In the present embodiment, the allocation data 241 of the control system data frame 20 indicates the allocation to the queue 31, and the allocation data 241 of the control information system frame 20 indicates the allocation to the queue 32. The allocation data 241 of the frame 20 of the system data instructs the allocation to the queue 33. As a result, only the control data frame 20 is stored in the queue 31, only the control information data frame 20 is stored in the queue 32, and only the information frame 20 is stored in the queue 33. You.

キュー31,32および33は、例えばFIFO(First In First Out)に従いフレーム20の書込みおよび読出しがなされる。キュー31、32および33の出力側は、それぞれ、ゲート51、52および53が接続される。図6では、キュー32は、キュー32からゲート52へフレーム20を送出するレートを調整するレート調整部34が接続される。レート調整部34は、通信スケジュール管理部202から出力される伝送レート341に基づき、キュー32からゲート52へ送出されるフレーム20のレートを調整する。   In the queues 31, 32, and 33, the frame 20 is written and read according to, for example, a FIFO (First In First Out). Gates 51, 52 and 53 are connected to the output sides of the queues 31, 32 and 33, respectively. In FIG. 6, the queue 32 is connected to a rate adjusting unit 34 that adjusts the rate at which frames 20 are transmitted from the queue 32 to the gate 52. The rate adjusting unit 34 adjusts the rate of the frame 20 transmitted from the queue 32 to the gate 52 based on the transmission rate 341 output from the communication schedule management unit 202.

なお、レート調整部34が接続されるキューは、キュー32に限定されず、例えばキュー33またはキュー31に接続されてもよい。   Note that the queue to which the rate adjusting unit 34 is connected is not limited to the queue 32, and may be connected to, for example, the queue 33 or the queue 31.

ゲート51、52および53は、それぞれ、送受信コントローラ213に接続される。各ゲートは、ゲートドライバ41からの制御指令43に従い、制御周期T内において、開いている時間(または閉じている時間)を変更する。ゲート51、52および53は、それぞれ、開いている間は、対応のキューから読出されるフレーム20を、送受信コントローラ213を介して、伝送路111,112,113に送出するが、閉じている間は、対応のキューからのフレーム20を、送受信コントローラ213へ送出しない。   Gates 51, 52 and 53 are each connected to transmission / reception controller 213. Each gate changes the open time (or the closed time) within the control cycle T according to the control command 43 from the gate driver 41. The gates 51, 52 and 53 send the frames 20 read from the corresponding queues to the transmission lines 111, 112 and 113 via the transmission / reception controller 213 while the gates are open. Does not send the frame 20 from the corresponding queue to the transmission / reception controller 213.

ゲートドライバ41は、通信スケジュール42に従い、制御周期T内において、ゲート51、52および53のそれぞれに制御周期Tに同期した間隔で制御指令43を出力する。   The gate driver 41 outputs a control command 43 to each of the gates 51, 52 and 53 at intervals synchronized with the control cycle T within the control cycle T according to the communication schedule.

(g1.通信スケジュール)
図6を参照して、通信スケジュール42の一例を説明する。通信スケジュール42は、例えば制御周期T内を複数に区分して得られた時間Ti(例えばi=1,2,3,・・・126)のそれぞれに関連付けて、制御指令43を含む。制御指令43は、キューの個数に対応した個数のビット値からなるビット列として示される。各ビット値は、「0」の場合はゲートの「開」を指示し、「1」の場合はゲートの「閉」を指示する。
(G1. Communication schedule)
An example of the communication schedule 42 will be described with reference to FIG. The communication schedule 42 includes a control command 43 in association with, for example, each of the times Ti (for example, i = 1, 2, 3,... 126) obtained by dividing the control cycle T into a plurality. The control command 43 is shown as a bit string composed of bit values of a number corresponding to the number of queues. When each bit value is “0”, it indicates “open” of the gate, and when “1”, it indicates “close” of the gate.

例えば、キュー31,32および33の総数が8個である場合、図6の通信スケジュール42によれば、時間T1の制御指令43は「01111111」で示される。したがって、制御周期Tの開始から時間T1においては、キュー31のゲート51は「開」くように制御されて、他のキュー32および33のゲート52および53は「閉」じるように制御される。   For example, when the total number of the queues 31, 32, and 33 is 8, according to the communication schedule 42 of FIG. 6, the control command 43 at the time T1 is indicated by “01111111”. Therefore, at time T1 from the start of the control cycle T, the gate 51 of the queue 31 is controlled to open, and the gates 52 and 53 of the other queues 32 and 33 are controlled to close. You.

このように、複数の出力ポート(ゲート51,52、53)のうち開けるべき出力ポートの選択と、開ける時間(タイミング、長さ)は、通信スケジュール42により決定される。通信スケジュール42では、より特定的には、伝送路111、112、113に適用される通信プロトコルに規定するフレーム20のサイズ(データサイズ)に従い開閉時間が設定される。したがって、各通信装置から送出されて伝送路111、112および113上を伝送される制御系データ、制御情報系データおよび情報系データの伝送の帯域を、通信スケジュール42により設定することができる。これにより、伝送路111、112および113において制御系データ、制御情報系データおよび情報系データを伝送するための各帯域を通信スケジュール42により規定することが可能となる。   As described above, the selection of the output port to be opened among the plurality of output ports (gates 51, 52, 53) and the time (timing, length) to be opened are determined by the communication schedule 42. In the communication schedule 42, more specifically, the opening / closing time is set according to the size (data size) of the frame 20 specified in the communication protocol applied to the transmission paths 111, 112, and 113. Therefore, the transmission schedule of the control system data, the control information system data, and the transmission band of the information system data transmitted from each communication device and transmitted on the transmission paths 111, 112, and 113 can be set by the communication schedule. As a result, it is possible to define the respective bands for transmitting the control system data, the control information system data, and the information system data in the transmission paths 111, 112, and 113 by the communication schedule 42.

このように、通信スケジュール42は、時間Tiごとに、当該時間Tiに対応の制御指令43が示す値(各ビットの値)を異ならせることで、ゲート51、ゲート52およびゲート53の各々が開いている時間を変化させることができる。したがって、通信スケジュール42(より特定的には、時間Tiの制御指令43)は、制御周期T内で制御系データ、制御情報系データおよび情報系データのいずれを、他のデータよりも優先して転送するか、すなわち他のデータよりも優先的に大きな帯域を割当て他の通信装置に転送するかの度合を示す優先度を規定している。すなわち、通信スケジュール42が示す当該優先度により、制御周期T内における各出力ポート(ゲート51、52および53のそれぞれ)が他の出力ポートよりも優先して開いている時間が規定される。   In this manner, the communication schedule 42 changes the value (the value of each bit) indicated by the control command 43 corresponding to the time Ti for each time Ti, so that each of the gates 51, 52, and 53 is opened. Time can be changed. Therefore, the communication schedule 42 (more specifically, the control command 43 for the time Ti) gives priority to any of the control system data, the control information system data, and the information system data over the other data within the control cycle T. A priority is defined which indicates the degree to which data is to be transferred, that is, whether a higher bandwidth is allocated to other data than other data. That is, the priority indicated by the communication schedule 42 defines the time during which each output port (each of the gates 51, 52, and 53) is open in preference to the other output ports in the control cycle T.

また、本実施の形態では、伝送路112、113、111に各キューから送出されるフレーム20のレートを、すなわち制御系データ、制御情報系データおよび情報系データを転送するレートを、レート調整部34により調整することができる。したがって、伝送路111、112および113において制御系データ、制御情報系データおよび情報系データを伝送するための各帯域幅と、当該帯域におけるデータの転送レートを、通信スケジュール42およびレート調整部34の両者を用いて調整することが可能になる。   In the present embodiment, the rate of the frame 20 transmitted from each queue to the transmission paths 112, 113, 111, that is, the rate at which control-system data, control-information-system data, and information-system data are transferred is determined by the rate adjustment unit. 34 can be adjusted. Therefore, the respective bandwidths for transmitting the control system data, the control information system data, and the information system data in the transmission paths 111, 112, and 113, and the transfer rate of the data in the corresponding band are determined by the communication schedule 42 and the rate adjustment unit 34. Adjustment can be performed using both.

<H.切替部の構成>
図7は、本発明の実施の形態にかかる切替部の構成の一例を示す図である。図7を参照して、本発明の実施の形態では、メモリ104に、通信スケジュール65と、当該通信スケジュール65を適用する条件64とからなる組が複数格納されている。切替部60は、セレクタ61と、条件判断部62とを含む。条件判断部62は、通信装置の稼働状況を示す状況情報63に基づき、複数の条件64のうちいずれの条件64が満たされるかを判断する。状況情報63は、例えば当該通信装置の状態631および他の通信装置との通信内容(受信フレーム20による通知632およびフレーム20の受信のタイミング633)を含む。
<H. Configuration of Switching Unit>
FIG. 7 is a diagram illustrating an example of a configuration of the switching unit according to the embodiment of the present invention. Referring to FIG. 7, in the embodiment of the present invention, a plurality of sets each including a communication schedule 65 and a condition 64 to which the communication schedule 65 is applied are stored in the memory 104. The switching unit 60 includes a selector 61 and a condition determination unit 62. The condition determining unit 62 determines which of the plurality of conditions 64 is satisfied based on the status information 63 indicating the operating status of the communication device. The status information 63 includes, for example, the status 631 of the communication device and the content of communication with another communication device (notification 632 by the received frame 20 and timing 633 of receiving the frame 20).

セレクタ61は、満たされると判断された条件64に適用される通信スケジュール65を選択する。セレクタ61は、選択された通信スケジュール65をメモリ104から読出し、ゲートドライバ41が参照する通信スケジュール42を、読出された通信スケジュール65に切替える。なお、通信スケジュール管理部202は、ゲートドライバ41が参照する通信スケジュール42の切替えが、制御周期Tに同期して実施されるよう切替部60を制御する。   The selector 61 selects a communication schedule 65 applied to the condition 64 determined to be satisfied. The selector 61 reads the selected communication schedule 65 from the memory 104, and switches the communication schedule 42 referred to by the gate driver 41 to the read communication schedule 65. Note that the communication schedule management unit 202 controls the switching unit 60 such that the switching of the communication schedule 42 referred to by the gate driver 41 is performed in synchronization with the control cycle T.

<I.条件と通信スケジュール>
図8は、本発明の実施の形態にかかるメモリ104に格納される通信スケジュールと条件の組の一例を示す図である。図8を参照して、条件64は、例えば、正常稼働時のケース(A)、各部を起動または初期化する場合のケース(B)、何らかの異常が発生した時のケース(C)およびメンテナンス時のケース(D)を含む。条件64は、状況情報63の状態631、通知632、またはタイミング633が満たすべき条件を示す。本実施の形態では、状態631は、通信装置にイベントが生じた場合に自律的に判断する自装置の状態を示す。通知632は、通信装置が他の通信装置などの外部からから受信する通知を示す。タイミング633は、制御周期T内において制御系データ、制御情報系データまたは情報系データのうちの1のデータを受信する時期を示す。より特定的には、タイミング633は、制御周期T内において当該1のデータを受信する時期と、現在適用されている通信スケジュール42により指定される制御周期T内において当該1のデータを転送する時期との組合せを含む。
<I. Conditions and communication schedule>
FIG. 8 is a diagram illustrating an example of a set of a communication schedule and a condition stored in the memory 104 according to the embodiment of the present invention. Referring to FIG. 8, condition 64 includes, for example, a case (A) at the time of normal operation, a case (B) at the time of starting or initializing each unit, a case (C) at the time of occurrence of some abnormality, and a time of maintenance. Case (D). The condition 64 indicates a condition to be satisfied by the state 631, the notification 632, or the timing 633 of the status information 63. In the present embodiment, the state 631 indicates a state of the own apparatus which autonomously determines when an event occurs in the communication apparatus. The notification 632 indicates a notification that the communication device receives from outside such as another communication device. The timing 633 indicates a time when the control system data, the control information system data, or one of the information system data is received in the control cycle T. More specifically, the timing 633 determines the timing of receiving the one data in the control cycle T and the timing of transferring the one data in the control cycle T specified by the currently applied communication schedule 42. Including combinations with

なお、本実施の形態では、メモリ104に、通信装置に現在適用されている通信スケジュール42の種類(正常稼働時、起動初期化時、異常発生時、メンテナンス時など)を識別するデータが格納される。   In the present embodiment, the memory 104 stores data for identifying the type of the communication schedule 42 currently applied to the communication device (normal operation, startup initialization, abnormality occurrence, maintenance, etc.). You.

図8を参照して、各ケースの条件64を説明する。まず、正常稼働時のケース(A)の条件64は、状態631が、初期処理完了後またはメンテナンス処理完了後または異常処理完了後などを示し、通知632が、正常稼働開始指示を受信した時を示し、タイミング633が制御系データを受信した時期が、正常稼働時の通信スケジュール42が規定する“制御系データ”を転送する時期(帯域)で受信したとの組合せを示す。   The condition 64 of each case will be described with reference to FIG. First, the condition 64 of the case (A) at the time of normal operation indicates that the state 631 indicates, for example, after the completion of the initial processing, after the completion of the maintenance processing, or after the completion of the abnormal processing, and when the notification 632 receives the normal operation start instruction. The timing 633 indicates a combination of the timing at which the control system data is received and the timing at which the control system data is received at the timing (band) at which the “control system data” specified by the communication schedule 42 during normal operation is transferred.

起動または初期化のケース(B)の条件64は、状態631が電源起動後を示し、通知632がリセット指示を受信した時を示し、タイミング633が初期設定データを受信した時期が、正常稼働時の通信スケジュール42が規定する“制御系データ”を転送する時期(帯域)で受信したとの組合せを示す。   The condition 64 of the activation or initialization case (B) is that the state 631 indicates after power activation, the notification 632 indicates when a reset instruction is received, and the timing 633 indicates when the initialization data is received indicates that the normal operation is performed. And "Received at the time (band) to transfer" control system data "specified by the communication schedule 42".

異常発生のケース(C)の条件64は、状態631が異常発生時を示し、通知632が異常発生通知を受信した時を示し、タイミング633が異常情報収集のデータを受信した時期が、正常稼働時の通信スケジュール42が規定する“制御系データ”を転送する時期(帯域)で受信したとの組合せを示す。   The condition 64 of the case (C) of the occurrence of the abnormality indicates that the state 631 indicates the occurrence of the abnormality, the notification 632 indicates the reception of the notification of the occurrence of the abnormality, and the timing 633 indicates that the data of the collection of the abnormality information is received. The combination with the time when the “control system data” specified by the communication schedule 42 is transferred (band) is shown.

メンテナンス時のケース(D)の条件64は、通知632がメンテナンス開始通知を受信した時を示し、タイミング633がバックアップ/リストアのデータを受信した時期が、正常稼働時の通信スケジュール42が規定する“制御系データ”または“制御情報系データ”を転送する時期(帯域)で受信したとの組合せを示す。   The condition 64 of the maintenance case (D) indicates that the notification 632 has received the maintenance start notification, and the timing 633 indicates that the backup / restore data has been received is defined by the communication schedule 42 during normal operation. This indicates a combination with "control system data" or "control information system data" received at the time of transfer (band).

図8を参照して、正常稼働時のケース(A)、起動初期化時のケース(B)、異常発生時のケース(C)およびメンテナンス時のケース(D)の各条件64に適用する通信スケジュール65は、図3で説明したものと同様であるので説明は繰返さない。図8の各通信スケジュール65は、図8で示されるような帯域が示す優先度に従い制御系データ、制御情報系データおよび情報系データの各データが伝送されるように、制御周期T内の各時間Tiに関連付けて、制御指令43のビット値が設定されている。   Referring to FIG. 8, communication applied to each condition 64 of case (A) at the time of normal operation, case (B) at the time of startup initialization, case (C) at the time of abnormality occurrence, and case (D) at the time of maintenance. Schedule 65 is the same as that described with reference to FIG. 3, and thus description thereof will not be repeated. Each of the communication schedules 65 in FIG. 8 includes the data in the control cycle T such that the control system data, the control information system data, and the information system data are transmitted in accordance with the priority indicated by the band as shown in FIG. The bit value of the control command 43 is set in association with the time Ti.

(i1.通信スケジュール切替方法(1))
図9は、本発明の実施の形態にかかる通信スケジュールの切替方法(1)を示す図である。図9を参照して、通知632を用いた通信スケジュールの切替方法の一例を説明する。具体的には、特定のキュー33Aにフレーム20Aが格納されたとことを示す通知632を用いて通信スケジュール切替を実施する。
(I1. Communication schedule switching method (1))
FIG. 9 is a diagram illustrating a communication schedule switching method (1) according to the embodiment of the present invention. An example of a communication schedule switching method using the notification 632 will be described with reference to FIG. Specifically, the communication schedule is switched using the notification 632 indicating that the frame 20A is stored in the specific queue 33A.

図9には、通信スケジュール切替方法(1)を実現するための送受信コントローラ213Aの一部が模式的に示される。図9を参照して送受信コントローラ213Aは、特定フレーム20Aを格納するための特定キュー33Aと、受信フレーム20のうち特定フレーム20Aを選択して特定キュー33Aに格納するための特定フレーム振分部44を有したセレクタ40Aを有する。特定フレーム振分部44は、受信するフレーム20のうち、割付データ241が特定キュー33Aへの割付を指示するフレーム20(特定フレーム20A)のみを特定キュー33Aに格納する。特定キュー33Aは、例えば正常稼働時は使用されないキューである。特定フレーム20Aは、初期起動時、異常処理時、メンテナンス時などのイベント発生時に伝送される。   FIG. 9 schematically shows a part of the transmission / reception controller 213A for realizing the communication schedule switching method (1). Referring to FIG. 9, transmission / reception controller 213A includes a specific queue 33A for storing specific frame 20A and a specific frame distribution unit 44 for selecting specific frame 20A from received frames 20 and storing the selected frame in specific queue 33A. Is provided. The specific frame distribution unit 44 stores only the frame 20 (specific frame 20A) in which the allocation data 241 instructs the allocation to the specific queue 33A among the received frames 20 in the specific queue 33A. The specific queue 33A is, for example, a queue that is not used during normal operation. The specific frame 20A is transmitted when an event occurs, such as at the time of initial startup, at the time of abnormality processing, or at the time of maintenance.

通信スケジュール管理部202は、特定のキュー33Aにフレーム20Aが格納されたとことを検知すると、通知632を切替部60に出力する。図7の条件判断部62は、通信スケジュール管理部202から、特定のキュー33Aに特定フレーム20Aが格納されたと旨の通知632を受付けると、通信スケジュール切替を実施する。具体的には、条件判断部62は、他の通信装置との通信内容(すなわち、特定フレーム20を受信した旨の通知632)に基づき、初期起動時、または異常処理時、またはメンテナンス時のいずれかの条件64が満たされたと判断する。セレクタ61は、満たされたと判断された条件64に適用される他の通信スケジュール65を選択する。切替部60は、通信スケジュール42を選択された他の通信スケジュール65に切替える。   When detecting that the frame 20A has been stored in the specific queue 33A, the communication schedule management unit 202 outputs a notification 632 to the switching unit 60. When receiving a notification 632 from the communication schedule management unit 202 indicating that the specific frame 20A is stored in the specific queue 33A, the condition determination unit 62 in FIG. 7 switches the communication schedule. Specifically, the condition determination unit 62 determines whether to perform the initial startup, the abnormal processing, or the maintenance based on the communication content with another communication device (that is, the notification 632 that the specific frame 20 has been received). It is determined that the condition 64 is satisfied. The selector 61 selects another communication schedule 65 applied to the condition 64 determined to be satisfied. The switching unit 60 switches the communication schedule 42 to another selected communication schedule 65.

(i2.通信スケジュール切替方法(2))
図10は、本発明の実施の形態にかかる通信スケジュールの切替方法(2)を示す図である。図11は、本発明の実施の形態にかかる通信スケジュールの切替方法(2)のためのフレーム20の内容例を示す図である。図10を参照して、通知632を用いた通信スケジュールの切替方法の他の例を説明する。具体的には、通信スケジュール変更を促すラベルを含むフレーム20の受信を検知したことを示す通知632を用いて通信スケジュール切替を実施する。このラベルは、図11に示すように、フレーム20の所定フィールド(例えば、宛先のフィールド22またはヘッダのフィールド24)に、初期起動時/異常発生時/メンテナンス時を示すラベル29として格納される。
(I2. Communication schedule switching method (2))
FIG. 10 is a diagram illustrating a communication schedule switching method (2) according to the embodiment of the present invention. FIG. 11 is a diagram showing an example of the content of the frame 20 for the communication schedule switching method (2) according to the embodiment of the present invention. Another example of the communication schedule switching method using the notification 632 will be described with reference to FIG. Specifically, the communication schedule is switched using the notification 632 indicating that the reception of the frame 20 including the label urging the communication schedule change is detected. As shown in FIG. 11, this label is stored in a predetermined field of the frame 20 (for example, the destination field 22 or the header field 24) as a label 29 indicating at the time of initial startup / at the time of occurrence of abnormality / at the time of maintenance.

図10には、通信スケジュール切替方法(2)を実現するための送受信コントローラ213Bの一部が模式的に示される。図10を参照して送受信コントローラ213Bは、受信フレーム20の所定フィールドに上記のラベル29が格納されていることを検知し、その旨の通知632を出力するラベル検出部45を有したセレクタ40Bを有する。ラベルが格納される図11のフレーム20は、初期起動時、異常処理時、メンテナンス時などに伝送される。   FIG. 10 schematically shows a part of the transmission / reception controller 213B for realizing the communication schedule switching method (2). Referring to FIG. 10, transmission / reception controller 213B detects that label 29 is stored in a predetermined field of received frame 20, and switches selector 40B having label detection unit 45 that outputs notification 632 to that effect. Have. The frame 20 in FIG. 11 in which the label is stored is transmitted at the time of initial startup, at the time of abnormality processing, at the time of maintenance, and the like.

切替部60は、ラベル検出部45から通知632を受付けると、通信スケジュール切替を実施する。具体的には、図7の条件判断部62は、他の通信装置との通信内容(すなわち、ラベル29を格納したフレーム20を受信した旨の通知632)に基づき、初期起動時、または異常処理時、またはメンテナンス時のいずれかの条件64が満たされたと判断する。セレクタ61は、満たされたと判断された条件64に適用される他の通信スケジュール65を選択する。切替部60は、通信スケジュール42を選択された他の通信スケジュール65に切替える。   Upon receiving the notification 632 from the label detection unit 45, the switching unit 60 performs communication schedule switching. Specifically, the condition determination unit 62 in FIG. 7 performs the initial startup or the abnormal processing based on the communication content with another communication device (that is, the notification 632 that the frame 20 storing the label 29 has been received). It is determined that one of the conditions 64 at the time of maintenance or at the time of maintenance is satisfied. The selector 61 selects another communication schedule 65 applied to the condition 64 determined to be satisfied. The switching unit 60 switches the communication schedule 42 to another selected communication schedule 65.

(i3.通信スケジュール切替方法(3))
図12は、本発明の実施の形態にかかる通信スケジュールの切替方法(3)を説明する模式図である。切替方法(3)では、切替部60は、当該通信装置の状態631または他の通信装置との通信内容(すなわちタイミング633)に基づき、複数の条件64のいずれかが満たされたとき、通信スケジュール42を、当該条件64に適用する他の通信スケジュール65に切替える。
(I3. Communication schedule switching method (3))
FIG. 12 is a schematic diagram illustrating a communication schedule switching method (3) according to the embodiment of the present invention. In the switching method (3), when one of the plurality of conditions 64 is satisfied based on the state 631 of the communication device or the content of communication with another communication device (that is, timing 633), the switching unit 60 sets the communication schedule. 42 is switched to another communication schedule 65 applied to the condition 64.

より具体的には、通信スケジュール切替方法(3)は例えば次のようなケースで適用され得る。つまり、本発明の実施の形態では、通信スケジュール42が示す優先度に従うことで、例えば、制御系データを伝送する時間帯においては、仮に伝送するべき制御系データがなくても情報系データは送信されない(情報系データの送信は禁止される)。したがって、この時間帯に、ある通信装置は情報系データの伝送を開始することで、各通信装置に通信スケジュール切替を促す、すなわち通信スケジュール切替方法(3)を実施させることができる。   More specifically, the communication schedule switching method (3) can be applied, for example, in the following case. In other words, according to the embodiment of the present invention, by following the priority indicated by the communication schedule 42, for example, in the time zone in which the control system data is transmitted, even if there is no control system data to be transmitted, the information system data is transmitted. No (transmission of information-related data is prohibited). Therefore, in this time zone, a certain communication device starts transmission of information-related data, thereby prompting each communication device to switch the communication schedule, that is, the communication device can execute the communication schedule switching method (3).

本発明の実施の形態では、通信装置は互いに時刻同期されたタイマに従って、各通信装置がデータの送信または受信のタイミングを決定するから、受信側の通信装置は、送信側の通信装置から時間T1で送信されたフレーム20を受信する時間T2を算出(推定)することができる(図12参照)。通信スケジュール管理部202は、通信スケジュール42、制御周期Tの開始からの経過時間、および上記の推定時間に基づき、当該制御周期T内において制御系データを受信する時間、または制御情報系データを受信する時間、または情報系データを受信する時間を算出(推定)することができる。   In the embodiment of the present invention, the communication devices determine the timing of data transmission or reception in accordance with the timers synchronized with each other, so that the communication device on the receiving side receives the time T1 from the communication device on the transmitting side. Can calculate (estimate) the time T2 for receiving the frame 20 transmitted in (1) (see FIG. 12). The communication schedule management unit 202 receives the control data or the control information data within the control cycle T based on the communication schedule 42, the elapsed time from the start of the control cycle T, and the estimated time. It is possible to calculate (estimate) the time to perform or the time to receive the information data.

通信スケジュール管理部202は、通信装置がフレーム20を受信したとき、フレーム20のフィールド24のヘッダが示すデータタイプ(制御系データ、または制御情報系データ、または情報系データ)が、当該フレーム20を受信した時間で受信が推定されるデータのタイプと一致するか否かを判断する。不一致であるときは、通信スケジュール管理部202は、受信したデータタイプを含むタイミング633を切替部60に出力し、一致するときは、タイミング633を出力しない。   When the communication device receives the frame 20, the communication schedule management unit 202 changes the data type (control system data, control information system data, or information system data) indicated by the header of the field 24 of the frame 20 to the frame 20. It is determined whether or not the reception time matches the type of data whose reception is estimated. If they do not match, the communication schedule management unit 202 outputs the timing 633 including the received data type to the switching unit 60, and does not output the timing 633 if they match.

切替部60の条件判断部62は、当該通信装置の稼働状態とタイミング633に基づき、複数の条件64のいずれかが満たされたとき、通信スケジュール42を、当該条件64に適用する他の通信スケジュール65に切替える。   When any one of the plurality of conditions 64 is satisfied based on the operation state and the timing 633 of the communication device, the condition determination unit 62 of the switching unit 60 converts the communication schedule 42 into another communication schedule that applies the communication schedule 42 to the condition 64. Switch to 65.

例えば、図12を参照して、正常稼働状態の送信側の通信装置が異常発生(R9)を検出した場合、通信スケジュール42を異常発生時のケース(C)の通信スケジュール65に切替える。これにより、送信側の通信装置からは、異常発生時の制御情報系データが送信される。   For example, referring to FIG. 12, when the transmission-side communication device in the normal operation state detects the occurrence of an abnormality (R9), the communication schedule 42 is switched to the communication schedule 65 of the case (C) when the abnormality occurs. As a result, the transmission-side communication device transmits the control information data at the time of occurrence of the abnormality.

受信側の通信装置は、正常稼働状態の通信スケジュール42に従い通信中であるから、通信スケジュール管理部202は、制御系データが受信される帯域(時間)に、送信側の通信装置からの制御情報系が受信されたことを検知し、タイミング633を出力する。受信側の通信装置の条件判断部62は、タイミング633が“制御系データ”の帯域で異常発生の制御情報系データを受信したことを示すことに基き、図8の異常発生時のケース(C)の条件64が満たされたことを判断する。セレクタ61は、判断に基づき異常発生時のケース(C)の条件64に適合した通信スケジュール65を選択する。切替部60は、通信スケジュール42を選択された他の通信スケジュール65に切替える(R11)。   Since the communication device on the receiving side is communicating according to the communication schedule 42 in the normal operation state, the communication schedule management unit 202 sets the control information from the communication device on the transmitting side to the band (time) in which the control system data is received. It detects that the system has been received and outputs the timing 633. Based on the fact that the timing 633 indicates that the control information system data of the occurrence of the abnormality has been received in the band of the “control system data”, the condition determining unit 62 of the communication device on the receiving side determines the case (C ) Is determined to be satisfied. The selector 61 selects a communication schedule 65 that meets the condition 64 of the case (C) when an abnormality occurs based on the determination. The switching unit 60 switches the communication schedule 42 to another selected communication schedule 65 (R11).

<J.処理フローチャート>
図13は、本発明の実施の形態にかかる通信スケジュールの切替処理の概略フローチャートの一例を示す図である。図13を参照して、通信スケジュール管理部202は、条件64を判断するための情報(状態631、通知632、タイミング633)を収集し(ステップS1)、条件判断部62は、収集した情報に基づき正常稼働時のケース(A)、起動初期化時のケース(B)、異常発生時のケース(C)およびメンテナンス時のケース(D)の各条件64のうち、いずれかの条件が満たされるかを判断する(ステップS3、S4)。条件判断部62は、いずれの条件64も満たされないと判断すると(ステップS5でNO)、処理はステップS1に戻るが、いずれかの条件64が満たされると判断すると(ステップS5でYES)、切替部60は通信スケジュール42の切替を実施する(ステップS7)。具体的には、セレクタ61は、満たされた条件64に適用する通信スケジュール65を選択し、切替部60は通信スケジュール42を選択された他の通信スケジュール65に切替える。
<J. Processing flowchart>
FIG. 13 is a diagram illustrating an example of a schematic flowchart of a communication schedule switching process according to the embodiment of the present invention. Referring to FIG. 13, communication schedule management section 202 collects information (state 631, notification 632, timing 633) for determining condition 64 (step S1). Any one of the conditions 64 of the normal operation case (A), the startup initialization case (B), the abnormality occurrence case (C), and the maintenance case (D) is satisfied. Is determined (steps S3, S4). If the condition determination unit 62 determines that none of the conditions 64 is satisfied (NO in step S5), the process returns to step S1, but if it determines that any of the conditions 64 is satisfied (YES in step S5), the switching is performed. The unit 60 switches the communication schedule 42 (Step S7). Specifically, the selector 61 selects a communication schedule 65 to be applied to the satisfied condition 64, and the switching unit 60 switches the communication schedule 42 to another selected communication schedule 65.

その後、送受信コントローラ213は、他の通信装置から受信した各フレーム20を通信スケジュール42に従って、別の他の通信装置へ転送する(ステップS9)。プロセッサ102は、処理を終了するかを判断し(ステップS11)、処理を終了すると判断すると(ステップS11でYES)、通信スケジュールの切替処理は終了するが(ステップS11でYES)、終了しないと判断すると(ステップS11でNO)、ステップS1に戻る。   Thereafter, the transmission / reception controller 213 transfers each frame 20 received from another communication device to another communication device according to the communication schedule 42 (step S9). The processor 102 determines whether or not to end the processing (step S11), and when determining to end the processing (YES in step S11), ends the communication schedule switching processing (YES in step S11), but determines not to end. Then (NO in step S11), the process returns to step S1.

(j1.異常発生時の通信スケジュール切替処理の一例)
図14は、本発明の実施の形態にかかる異常発生時の通信スケジュールの切替処理の一例を示すフローチャートである。図14では、送信側の通信装置で実施される処理と、受信側の通信装置で実施される処理とが関連付けて示される。図14の送信側の通信装置および受信側の通信装置のいずれの処理フローチャートも、図13に示した処理に基いている。
(J1. An example of communication schedule switching processing when an abnormality occurs)
FIG. 14 is a flowchart illustrating an example of a communication schedule switching process when an abnormality occurs according to the embodiment of the present invention. FIG. 14 shows processing performed by the communication device on the transmission side and processing performed by the communication device on the reception side in association with each other. The processing flowchart of each of the communication device on the transmitting side and the communication device on the receiving side in FIG. 14 is based on the processing shown in FIG.

図14を参照して、図12に示した通信スケジュールの切替方法(3)を実現するための具体的な処理の一例を説明する。図14の処理では、いずれの通信装置も予め正常稼働時の通信スケジュール(A)が適用されている。図14の処理を説明するに際して、制御装置100における通信スケジュールの切替え処理を説明する。   An example of a specific process for realizing the communication schedule switching method (3) shown in FIG. 12 will be described with reference to FIG. In the processing of FIG. 14, the communication schedule (A) at the time of normal operation is applied to all the communication devices in advance. In describing the processing of FIG. 14, a communication schedule switching processing in the control device 100 will be described.

制御装置100の通信スケジュール管理部202は、後述する診断系フレーム20を受信すると、受信した診断系フレーム20の内容から異常発生の通知632を受信したことを検知する。条件判断部62は、当該通知632に基づき異常発生時のケース(C)の条件64が満たされると判断する。当該判断に基づき、切替部60は、通信スケジュール42を、異常発生時のケース(C)の条件64に適用される通信スケジュール65に切替える。また、異常発生の通知を受信したとき、制御装置100のプロセッサ102はユーザアプリケーションプログラム108が有する監視ツールを起動する。監視ツールは、受信する診断系フレーム20の内容に基づき異常診断処理を実施する。監視ツールは、異常診断処理により、異常発生箇所(例えば、フィールド機器)を特定すると、異常発生箇所を特定した旨の特定通知を送信する。   Upon receiving a diagnostic frame 20 described later, the communication schedule management unit 202 of the control device 100 detects that an abnormality occurrence notification 632 has been received from the content of the received diagnostic frame 20. The condition determining unit 62 determines that the condition 64 of the case (C) at the time of occurrence of the abnormality is satisfied based on the notification 632. Based on the determination, the switching unit 60 switches the communication schedule 42 to the communication schedule 65 applied to the condition 64 of the case (C) when an abnormality occurs. Further, when receiving the notification of the occurrence of the abnormality, the processor 102 of the control device 100 activates a monitoring tool included in the user application program 108. The monitoring tool performs an abnormality diagnosis process based on the contents of the diagnostic frame 20 received. When the monitoring tool specifies the location where the abnormality has occurred (for example, a field device) by the abnormality diagnosis processing, the monitoring tool transmits a specific notification indicating that the location where the abnormality has occurred is specified.

次に、図14を参照して、送信側および受信側の通信装置の通信スケジュールの切替処理を説明する。送信側の通信装置で例えば、フィールド機器の異常発生を検出すると、通信スケジュール管理部202は異常発生を示す状態631を出力する(ステップS1a)。条件判断部62は通信スケジュール管理部202からの状態631に基づき、複数の条件64のいずれが満たされるかを判断する(ステップS3a、S5a)。いずれの条件64も満たされないと判断されると(ステップS5aでNO)、ステップS1aに戻る。ここでは、異常発生時のケース(C)の条件64が満たされると判断され(ステップS5aでYES)、判断に基づき、切替部60は、セレクタ61を用いて、通信スケジュール42を、異常発生時のケース(C)の条件64に適用する通信スケジュール65に切替える(ステップS7a)。   Next, with reference to FIG. 14, a description will be given of a process of switching the communication schedule of the communication devices on the transmission side and the reception side. When the communication device on the transmission side detects, for example, the occurrence of an abnormality in the field device, the communication schedule management unit 202 outputs a state 631 indicating the occurrence of the abnormality (step S1a). The condition determination unit 62 determines which of the plurality of conditions 64 is satisfied based on the state 631 from the communication schedule management unit 202 (steps S3a and S5a). If it is determined that none of the conditions 64 is satisfied (NO in step S5a), the process returns to step S1a. Here, it is determined that the condition 64 of case (C) at the time of occurrence of an abnormality is satisfied (YES in step S5a), and based on the determination, the switching unit 60 uses the selector 61 to change the communication schedule 42 at the time of occurrence of the abnormality. It switches to the communication schedule 65 applied to the condition 64 of the case (C) (step S7a).

送受信コントローラ213は、切替後の通信スケジュール42に従い、異常情報を取得するために制御情報系データのフレーム20(診断系フレーム20ともいう)を伝送する(ステップS9a)。   The transmission / reception controller 213 transmits the control information data frame 20 (also referred to as the diagnostic frame 20) in accordance with the switched communication schedule 42 in order to acquire abnormality information (step S9a).

通信スケジュール管理部202は、異常発生箇所を特定した旨の特定通知を受信するか否かにより診断系フレーム20の送信を終了するか否かを判断する(ステップS11a)。通信スケジュール管理部202は、送信を終了すると判断すると(ステップS11aでYES)、診断系フレーム20の送信を終了する。一方、通信スケジュール管理部202は、送信を終了しないと判断する間は(ステップS11aでNO)、診断系フレーム20の送信を継続する。   The communication schedule management unit 202 determines whether or not to end the transmission of the diagnostic frame 20 based on whether or not to receive a specific notification indicating that the location of the abnormality has been specified (step S11a). When determining that the transmission is to be ended (YES in step S11a), the communication schedule management unit 202 ends the transmission of the diagnostic frame 20. On the other hand, while determining that the transmission is not to be ended (NO in step S11a), the communication schedule management unit 202 continues transmitting the diagnostic frame 20.

次に、受信側の通信装置において、通信スケジュール管理部202は、正常稼働時の通信スケジュール42に従い通信中に、制御系データが受信される帯域(時間)において制御情報系データ(診断系フレーム20)が受信されたことを検知し、タイミング633を出力する(ステップS1b)。   Next, in the communication device on the receiving side, the communication schedule management unit 202 performs control information data (diagnosis frame 20) in a band (time) in which control data is received during communication according to the communication schedule 42 during normal operation. ) Is detected, and a timing 633 is output (step S1b).

受信側の通信装置の条件判断部62は、現在は正常稼働時のケース(A)の通信スケジュール42が適用されていること、およびタイミング633が“制御系データ”の帯域で異常発生の制御情報系データ(診断系フレーム20)の受信を示すことに基き、条件64のいずれが満たされるかを判断する(ステップS3b、S5b)。いずれの条件64も満たされないと判断されるときは(ステップS5bでNO)、ステップS1bに戻る。   The condition determination unit 62 of the communication device on the receiving side determines that the communication schedule 42 of the case (A) in normal operation is currently applied, and that the timing 633 indicates that the control information indicating that an abnormality has occurred in the band of “control system data”. Based on the reception of the system data (diagnosis system frame 20), it is determined which of the conditions 64 is satisfied (steps S3b and S5b). When it is determined that none of the conditions 64 is satisfied (NO in step S5b), the process returns to step S1b.

ここでは、図8の異常発生時のケース(C)の条件64が満たされると判断される(ステップS5bでYES)。当該判断に基づき、切替部60は、セレクタ61を介して、通信スケジュール42を、異常発生時のケース(C)の条件64に適合した通信スケジュール65に切替える(ステップS7b)。   Here, it is determined that condition 64 of case (C) at the time of occurrence of abnormality in FIG. 8 is satisfied (YES in step S5b). Based on the determination, the switching unit 60 switches the communication schedule 42 to the communication schedule 65 that meets the condition 64 of the case (C) at the time of occurrence of the abnormality via the selector 61 (step S7b).

送受信コントローラ213は、切替後の通信スケジュール42に従い、送信側の通信装置から受信する診断系フレーム20を他の通信装置に伝送する(ステップS9b)。   The transmission / reception controller 213 transmits the diagnostic frame 20 received from the transmission-side communication device to another communication device according to the switched communication schedule 42 (Step S9b).

通信スケジュール管理部202は、上記の特定通知を受信するか否かにより診断系フレーム20の送信を終了するか否かを判断する(ステップS11b)。通信スケジュール管理部202は、送信を終了すると判断すると(ステップS11bでYES)、診断系フレーム20の送信を終了する。一方、通信スケジュール管理部202は、送信を終了しないと判断する間は(ステップS11bでNO)、診断系フレーム20の送信を継続する。   The communication schedule management unit 202 determines whether to end the transmission of the diagnostic frame 20 based on whether or not to receive the specific notification (step S11b). When determining that the transmission is to be ended (YES in step S11b), the communication schedule management unit 202 ends the transmission of the diagnostic frame 20. On the other hand, while determining that the transmission is not to be ended (NO in step S11b), the communication schedule management unit 202 continues transmitting the diagnostic frame 20.

本実施の形態では、診断系フレーム20を伝送する制御情報系データの通信は、予め定められたプロトコル(LLDP(Link Layer Discovery Protocol)またはSNMP(Simple Network Management Protocol)など)を用いて実施されてもよい。   In the present embodiment, communication of control information data transmitted through the diagnostic frame 20 is performed using a predetermined protocol (such as LLDP (Link Layer Discovery Protocol) or SNMP (Simple Network Management Protocol)). Is also good.

上記に述べたように、異常発生時は、各通信装置では元の通信スケジュール42は、異常発生時のケース(C)に対応の通信スケジュール65に切替えられることにより、元の通信スケジュール42による制御系データの帯域は削除されて、診断系フレーム20を伝送する制御情報系データの帯域を確保することができる。   As described above, when an abnormality occurs, the original communication schedule 42 in each communication device is switched to the communication schedule 65 corresponding to the case (C) at the time of occurrence of the abnormality, whereby control by the original communication schedule 42 is performed. The band of the system data is deleted, and the band of the control information system data for transmitting the diagnostic frame 20 can be secured.

(j2.メンテナンス時の通信スケジュール切替処理の例)
上記に述べた監視ツールが、異常発生箇所の機器を特定すると、特定された機器のメンテナンスを開始するために、通信システム1においては、ユーザが指定する機器のロギングデータ、当該機器およびその周辺機器のバックアップデータに関するデータ通信が、情報系データを伝送する帯域で実施される。
(J2. Example of communication schedule switching processing at the time of maintenance)
When the monitoring tool described above specifies the device at the location where the abnormality has occurred, the communication system 1 starts logging data of the device specified by the user, the device and its peripheral devices in order to start maintenance of the specified device. Is performed in a band for transmitting information data.

図15は、本発明の実施の形態にかかるメンテナンス時の通信スケジュールの切替処理の他の例を示すフローチャートである。図15では、制御装置100のユーザアプリケーションプログラム108が有する監視ツールの処理、ロギングデータの収集対象となる対象通信装置で実施される処理、および他の通信装置で実施される処理が関連付けて示される。図15の対象通信装置および他の通信装置のいずれの処理フローチャートも、図13に示した処理に基いている。なお、図15の処理では、いずれの通信装置も予め正常稼働時の通信スケジュール(A)が適用されている。   FIG. 15 is a flowchart illustrating another example of the communication schedule switching process during maintenance according to the embodiment of the present invention. In FIG. 15, the processing of the monitoring tool included in the user application program 108 of the control device 100, the processing performed by the target communication device from which the logging data is collected, and the processing performed by another communication device are shown in association with each other. . The processing flowchart of each of the target communication device and the other communication devices in FIG. 15 is based on the process shown in FIG. In the process of FIG. 15, the communication schedule (A) at the time of normal operation is applied to each communication device in advance.

まず、制御装置100の通信スケジュール管理部202は、ユーザからメンテナンス開始の通知632を受信する(ステップT1)。条件判断部62は当該通知に基づきメンテナンス時のケース(D)の条件64が満たされると判断する。切替部60は、当該判断に基づき、元の通信スケジュール42をメンテナンス時のケース(D)の条件64に適用する通信スケジュール65に切替える(ステップT2)。   First, the communication schedule management unit 202 of the control device 100 receives a maintenance start notification 632 from the user (step T1). The condition determination unit 62 determines that the condition 64 of the case (D) at the time of maintenance is satisfied based on the notification. Based on the determination, the switching unit 60 switches the original communication schedule 42 to the communication schedule 65 applied to the condition 64 of the maintenance case (D) (step T2).

制御装置100のプロセッサ102は、ユーザからのメンテナンス開始の通知632に従い、対象通信装置宛に所定データ(例えば、ロギングデータまたはバックアップデータ)を制御装置100に送信するよう要求するメンテナンス開始の通知を送信する(ステップT3)。   The processor 102 of the control device 100 transmits a maintenance start notification requesting the control device 100 to transmit predetermined data (for example, logging data or backup data) to the target communication device in accordance with the maintenance start notification 632 from the user. (Step T3).

対象通信装置では、通信スケジュール管理部202は、制御装置100からメンテナンス開始の通知632を受信し、切替部60に出力する(ステップS1c)。条件判断部62は通信スケジュール管理部202からの通知632に基づき、複数の条件64のいずれが満たされるかを判断する(ステップS3c、S5c)。いずれの条件64も満たされないと判断されると(ステップS5cでNO)、ステップS1cに戻る。ここでは、メンテナンス時のケース(C)の条件64が満たされると判断され(ステップS5cでYES)、判断に基づき、切替部60は、セレクタ61を用いて、元の通信スケジュール42を、メンテナンス時のケース(C)の条件64に適用する通信スケジュール65に切替える(ステップS7c)。   In the target communication device, the communication schedule management unit 202 receives the maintenance start notification 632 from the control device 100 and outputs it to the switching unit 60 (Step S1c). The condition determination unit 62 determines which of the plurality of conditions 64 is satisfied based on the notification 632 from the communication schedule management unit 202 (Steps S3c and S5c). If it is determined that none of the conditions 64 is satisfied (NO in step S5c), the process returns to step S1c. Here, it is determined that the condition 64 of case (C) at the time of maintenance is satisfied (YES in step S5c), and based on the determination, the switching unit 60 uses the selector 61 to change the original communication schedule 42 at the time of maintenance. It switches to the communication schedule 65 applied to the condition 64 of the case (C) (step S7c).

送受信コントローラ213は、切替後の通信スケジュール42に従い、要求された例えばロギングデータを送信する情報系データのフレーム20(以下、メンテナンス系フレーム20ともいう)を伝送する(ステップS9c)。   The transmission / reception controller 213 transmits a frame 20 of information-related data (hereinafter, also referred to as a maintenance-related frame 20) for transmitting, for example, the requested logging data according to the communication schedule 42 after the switching (step S9c).

通信スケジュール管理部202は、予め定められた通知を受信するか否かによりメンテナンス系フレーム20の送信を終了するか否かを判断する(ステップS11c)。この予め定められた通知は、例えば、監視ツールによるデータ収集が終了したことを示す正常稼働開始指示の通知などを含む。   The communication schedule management unit 202 determines whether to end the transmission of the maintenance frame 20 based on whether or not to receive a predetermined notification (step S11c). The predetermined notification includes, for example, a notification of a normal operation start instruction indicating that data collection by the monitoring tool has been completed.

通信スケジュール管理部202は、送信を終了すると判断すると(ステップS11cでYES)、メンテナンス系フレーム20の送信を終了する。一方、通信スケジュール管理部202は、送信を終了しないと判断する間は(ステップS11cでNO)、メンテナンス系フレーム20の送信を継続する(ステップS9c)。   When determining that the transmission is to be ended (YES in step S11c), the communication schedule management unit 202 ends the transmission of the maintenance frame 20. On the other hand, while determining that the transmission is not to be ended (NO in step S11c), the communication schedule management unit 202 continues transmission of the maintenance frame 20 (step S9c).

次に、他の通信装置の処理を説明する。他の通信装置は、対象通信装置からのメンテナンス系フレーム20が監視ツール(制御装置100)に到達するまでに経由する通信装置である。他の通信装置において、通信スケジュール管理部202は、正常稼働状態の通信スケジュール42に従い通信中に、制御系データが受信される帯域(時間)において情報系データ(メンテナンス系フレーム20)が受信されたことを検知し、タイミング633を出力する(ステップS1d)。   Next, processing of another communication device will be described. The other communication device is a communication device through which the maintenance system frame 20 from the target communication device reaches the monitoring tool (control device 100). In another communication device, the communication schedule management unit 202 receives information data (maintenance frame 20) in a band (time) in which control data is received during communication according to the communication schedule 42 in the normal operation state. Is detected, and the timing 633 is output (step S1d).

他の通信装置の条件判断部62は、現在は正常稼働時のケース(A)の通信スケジュール42が適用されていること、およびタイミング633が“制御系データ”の帯域でメンテナンス系フレーム20の受信を示すことに基き、条件64のいずれが満たされるかを判断する(ステップS3d、S5d)。いずれの条件64も満たされないと判断されるときは(ステップS5dでNO)、ステップS1dに戻る。   The condition determination unit 62 of the other communication device determines that the communication schedule 42 of the normal operation case (A) is currently applied, and that the timing 633 indicates that the maintenance system frame 20 is received in the band of “control system data”. Is determined, which of the conditions 64 is satisfied (steps S3d, S5d). When it is determined that none of the conditions 64 is satisfied (NO in step S5d), the process returns to step S1d.

ここでは、図8のメンテナンス時のケース(D)の条件64が満たされると判断される(ステップS5dでYES)。当該判断に基づき、切替部60は、セレクタ61を介して、通信スケジュール42を、メンテナンス時のケース(D)の条件64に適合した通信スケジュール65に切替える(ステップS7d)。   Here, it is determined that condition 64 of case (D) at the time of maintenance in FIG. 8 is satisfied (YES in step S5d). Based on the determination, the switching unit 60 switches the communication schedule 42 to the communication schedule 65 that meets the condition 64 of case (D) during maintenance via the selector 61 (step S7d).

送受信コントローラ213は、切替後の通信スケジュール42に従い、受信するメンテナンス系フレーム20を他の通信装置に伝送する(ステップS9d)。   The transmission / reception controller 213 transmits the maintenance frame 20 to be received to another communication device according to the switched communication schedule 42 (step S9d).

通信スケジュール管理部202は、予め定められた通知(例えば、正常稼働開始指示の通知など)を受信するか否かによりメンテナンス系フレーム20の送信を終了するか否かを判断する(ステップS11d)。通信スケジュール管理部202は、送信を終了すると判断すると(ステップS11dでYES)、メンテナンス系フレーム20の送信を終了する。一方、通信スケジュール管理部202は、送信を終了しないと判断する間は(ステップS11dでNO)、メンテナンス系フレーム20の送信を継続する(ステップS9d)。   The communication schedule management unit 202 determines whether or not to end the transmission of the maintenance system frame 20 based on whether or not to receive a predetermined notification (for example, a notification of a normal operation start instruction) (step S11d). When determining that the transmission is to be ended (YES in step S11d), the communication schedule management unit 202 ends the transmission of the maintenance frame 20. On the other hand, while determining that the transmission is not to be ended (NO in step S11d), the communication schedule management unit 202 continues transmission of the maintenance frame 20 (step S9d).

上記に述べたように、メンテナンス時は、各通信装置では元の通信スケジュール42は、メンテナンス時のケース(D)に対応の通信スケジュール65に切替えられることにより、元の通信スケジュール42による制御系データの帯域は削除されて、メンテナンス系フレーム20を伝送する情報系データの帯域を確保することができる。   As described above, at the time of maintenance, the original communication schedule 42 in each communication device is switched to the communication schedule 65 corresponding to the maintenance case (D), so that the control system data based on the original communication schedule 42 is changed. Is deleted, and the band of the information system data for transmitting the maintenance system frame 20 can be secured.

<K.サポート装置によるコンフィグレーションの設定>
本実施の形態では、各通信装置に、コンフィグレーションを設定するユーザ操作をサポートする環境がサポート装置300による提供され得る。このコンフィグレーションの設定処理により、ユーザは、サポート装置300を操作して、通信スケジュール65と、当該通信スケジュールを適用する条件64との組を各通信装置に設定することができる。図16は、本発明の実施の形態にかかるコンフィグレーションを設定処理の一例を示すフローチャートである。図17は、本発明の実施の形態にかかるサポート装置300の構成の一例を示す図である。
<K. Configuration settings using supported devices>
In the present embodiment, an environment that supports a user operation for setting a configuration can be provided by the support device 300 to each communication device. Through the configuration setting process, the user can operate the support device 300 to set a set of the communication schedule 65 and the condition 64 to which the communication schedule is applied to each communication device. FIG. 16 is a flowchart illustrating an example of a configuration setting process according to the embodiment of the present invention. FIG. 17 is a diagram illustrating an example of a configuration of the support device 300 according to the embodiment of the present invention.

図17を参照して、サポート装置300は、一例として、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコン)を用いてプログラムを実行することで実現される。   Referring to FIG. 17, support device 300 is implemented, for example, by executing a program using hardware (for example, a general-purpose personal computer) according to a general-purpose architecture.

図17を参照して、サポート装置300は、CPUやMPUなどのプロセッサ302と、ドライブ304と、主記憶装置306と、二次記憶装置308と、USBコントローラ312と、ローカルネットワークコントローラ314と、入力部316と、表示部318とを含む。これらのコンポーネントはバス320を介して接続される。   Referring to FIG. 17, the support device 300 includes a processor 302 such as a CPU or an MPU, a drive 304, a main storage device 306, a secondary storage device 308, a USB controller 312, a local network controller 314, A unit 316 and a display unit 318 are included. These components are connected via a bus 320.

プロセッサ302は、二次記憶装置308に格納された各種プログラムを読み出して、主記憶装置306に展開して実行することで、後述するような各種処理を実現する。   The processor 302 reads out various programs stored in the secondary storage device 308, develops them in the main storage device 306, and executes the programs, thereby implementing various processes described below.

二次記憶装置308は、例えば、HDD(Hard Disk Drive)やSSD(Flash Solid State Drive)などで構成される。二次記憶装置308には、典型的には、サポート装置300において実行されるコンフィグレーションツール226を含む各種プログラムが格納される。ドライブ304は、メモリカード116または記憶媒体305を着脱可能に構成される。   The secondary storage device 308 is configured by, for example, a hard disk drive (HDD) or a flash solid state drive (SSD). The secondary storage device 308 typically stores various programs including a configuration tool 226 executed in the support device 300. The drive 304 is configured so that the memory card 116 or the storage medium 305 can be attached and detached.

USBコントローラ312は、USB接続を介して制御装置100との間のデータの遣り取りを制御する。ローカルネットワークコントローラ314は、任意ネットワークを介した他の装置との間のデータの遣り取りを制御する。   The USB controller 312 controls data exchange with the control device 100 via the USB connection. The local network controller 314 controls exchange of data with another device via an arbitrary network.

入力部316は、キーボードやマウスなどで構成され、ユーザ操作を受付ける。表示部318は、ディスプレイ、各種インジケータなどで構成され、プロセッサ302からの処理結果などを出力する。   The input unit 316 includes a keyboard, a mouse, and the like, and receives a user operation. The display unit 318 includes a display, various indicators, and the like, and outputs processing results from the processor 302 and the like.

図17には、プロセッサ302がプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASICまたはFPGAなど)を用いて実装してもよい。   FIG. 17 illustrates a configuration example in which the processor 302 provides necessary functions by executing a program. However, some or all of the provided functions may be replaced by a dedicated hardware circuit (for example, an ASIC). Or an FPGA or the like).

サポート装置300においてコンフィグレーションツール226のプログラムが実行されることにより、通信スケジュール65と、当該通信スケジュール65を適用する条件64との組を生成し各通信装置に設定するための環境が提供される。   When the program of the configuration tool 226 is executed in the support device 300, an environment for generating a set of the communication schedule 65 and the condition 64 to which the communication schedule 65 is applied and setting the set for each communication device is provided. .

図16を参照して、プロセッサ302は、入力部316を介してユーザから条件64を指定する操作を受付け(ステップT11)、また、当該条件64に適用する通信スケジュール65を指定する操作を受付け(ステップT13)、また、両者を紐付ける操作を受付ける(ステップT15)。プロセッサ302は、条件64と通信スケジュール65との指定操作が終了したか否かを判断する(ステップT17)。終了したと判断しない間(ステップT17でNO)、ステップT11〜T15が繰返される。   Referring to FIG. 16, processor 302 accepts an operation of designating condition 64 from the user via input unit 316 (step T11), and accepts an operation of designating communication schedule 65 applied to condition 64 (step T11). Step T13) Also, an operation of linking both is received (step T15). The processor 302 determines whether or not the operation of designating the condition 64 and the communication schedule 65 has been completed (step T17). Steps T11 to T15 are repeated while it is not determined that the processing has been completed (NO in step T17).

プロセッサ302は、条件64と通信スケジュール65との指定操作が終了したことを判断すると(ステップT17でYES)、ステップT15で紐付けられた条件64と通信スケジュール65の組を生成し(ステップT19)、各組を制御装置100のメモリ104に格納し(ステップT21)、また他のデバイス200のメモリ104に格納する(ステップT23)。   When determining that the operation of designating the condition 64 and the communication schedule 65 has been completed (YES in step T17), the processor 302 generates a set of the condition 64 and the communication schedule 65 linked in step T15 (step T19). Are stored in the memory 104 of the control device 100 (step T21), and are stored in the memory 104 of another device 200 (step T23).

これにより、各通信装置に、条件64と通信スケジュール65の組を設定するコンフィグレーションの設定処理は終了する。   This completes the configuration setting processing for setting a set of the condition 64 and the communication schedule 65 in each communication device.

<L.プログラム>
各通信装置(制御装置100、デバイス200)のプロセッサ102は、上記に述べた通信スケジュール切替の処理に応じて装置内の各構成要素の制御を行う。ストレージ106は、例えば、ハードディスクドライブ、ソリッドステートドライブなどの補助記憶装置であり、ユーザアプリケーションプログラム108の一部に、実行されることにより通信スケジュール切替の処理を実施するプログラムおよびデータなどを記憶し得る。通信スケジュール切替の処理は、上記に述べた各フローチャートに従う処理を含む。
<L. Program>
The processor 102 of each communication device (control device 100, device 200) controls each component in the device according to the above-described communication schedule switching process. The storage 106 is, for example, an auxiliary storage device such as a hard disk drive or a solid state drive, and may store a program, data, and the like, which are executed as part of the user application program 108 to execute a process of switching communication schedules. . The communication schedule switching process includes a process according to each of the flowcharts described above.

サポート装置300により、通信スケジュール切替の処理のプログラムが各通信装置のストレージ106にロードされる場合は、当該プログラムは、メモリカード116または記憶媒体205を介してロードされる。また、記憶媒体305は、コンピュータを含むその他装置、機械などにより、そこに記録されたプログラムなどの情報を読み取り可能なように、当該プログラムなどの情報を、電気的、磁気的、光学的、機械的または化学的作用によって蓄積する媒体である。各通信装置は、この記憶媒体305から、通信スケジュール切替の処理のプログラムを読出しストレージ106に格納する。なお、通信スケジュール切替の処理のプログラムは、ネットワークを含む各種通信回線を介して、各通信装置にダウンロードされるとしてもよい。   When the support device 300 loads a communication schedule switching processing program into the storage 106 of each communication device, the program is loaded via the memory card 116 or the storage medium 205. In addition, the storage medium 305 stores information such as a program stored therein in an electrical, magnetic, optical, or mechanical manner so that information such as a program recorded on the storage medium 305 can be read by another device or machine including a computer. It is a medium that accumulates by chemical or chemical action. Each communication device reads a communication schedule switching processing program from the storage medium 305 and stores it in the storage 106. Note that the communication schedule switching processing program may be downloaded to each communication device via various communication lines including a network.

<M.変形例>
上記に述べたように、通信スケジュール42により各キュー(すなわち制御系データ、制御情報系データおよび情報系データのそれぞれ)について伝送路111、112および113における伝送のための帯域幅を切替えたが、帯域幅の切替に当該キューのデータを転送するためのレートの切替を併用してもよい。具体的には、変形例において、通信スケジュール42は、各時間Tiに対応して制御指令43と伝送レート341を含む。このような通信スケジュール42によれば、制御周期Tの各時間Tiで、制御指令43によって各ゲートの開時間、すなわち帯域幅を調整でき、さらに、調整された帯域幅において、伝送レート341によりデータを転送するレートを調整することができる。これにより、制御系データ、制御情報系データおよび情報系データそれぞれを伝送するための帯域において当該データを転送するレートを調整することが可能となる。
<M. Modification>
As described above, the bandwidth for transmission on the transmission lines 111, 112, and 113 is switched for each queue (that is, control data, control information data, and information data) by the communication schedule 42. The switching of the bandwidth may be combined with the switching of the rate for transferring the data of the queue. Specifically, in the modified example, the communication schedule 42 includes a control command 43 and a transmission rate 341 corresponding to each time Ti. According to such a communication schedule 42, the opening time of each gate, that is, the bandwidth can be adjusted by the control command 43 at each time Ti of the control cycle T, and the data rate is adjusted by the transmission rate 341 in the adjusted bandwidth. The transfer rate can be adjusted. This makes it possible to adjust the rate at which the control data, the control information data, and the information data are transferred in a band for transmitting the data.

<N.利点>
本実施の形態では、通信システム1の各通信装装置は、状況情報63に基づく判断をし、判断結果に基き通信スケジュール42を切替えることで、自律的に通信スケジュール42の切替を実現する。これにより、通信スケジュール切替えを指令する特別なフレームの伝送を必要とせずに、すなわち伝送路のトラフィクに影響と与えることなく、通信スケジュールの自動的な切替えが可能となる。また、各通信装置では、通信スケジュール42は、状況情報63に基づく判断に従った各ケースに対応した条件64に適用されるべき通信スケジュール65に切替えられる。これにより、各ケースにおいて、制御系データ、情報系データおよび制御情報系データを、それぞれ、当該ケースで要求されている帯域を確保しつつ同一のネットワーク上で伝送することができる。
<N. Advantages>
In the present embodiment, each communication device of the communication system 1 makes a determination based on the status information 63 and switches the communication schedule 42 based on the determination result, thereby autonomously realizing the switching of the communication schedule 42. As a result, the communication schedule can be automatically switched without requiring transmission of a special frame for instructing communication schedule switching, that is, without affecting traffic on the transmission path. In each communication device, the communication schedule 42 is switched to the communication schedule 65 to be applied to the condition 64 corresponding to each case according to the determination based on the status information 63. Thus, in each case, the control system data, the information system data, and the control information system data can be transmitted on the same network while securing the bandwidth required in the case.

<O.付記>
上述したような本実施の形態は、以下のような技術思想を含む。
[構成1]
互いに時刻同期された複数の通信装置(100、200、400)がネットワーク接続された通信システム(1)であって、
前記複数の通信装置の各々は、
製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータ(制御系データ)と、指定された時間内に宛先へ到着させる必要のある第2のデータ(制御情報系データ)と、前記第1のデータおよび前記第2のデータとは異なる第3のデータ(情報系データ)とを、通信スケジュール(42)に従って伝送するための管理手段(202)と、
通信スケジュール(65)と、当該通信スケジュールを適用する条件(64)との組を複数格納するメモリ(104)と、
当該通信装置の状態(631)または他の通信装置との通信内容(632、633)に基づき、複数の前記条件のいずれかが満たされたとき、前記通信スケジュールを、当該条件に適用する他の通信スケジュールに切替える切替手段(60)と、
他の通信装置から受信した各データを前記通信スケジュールに従って、別の他の装置へ転送する送受信回路(213)と、を備える、通信システム。
<O. Appendix>
The present embodiment as described above includes the following technical ideas.
[Configuration 1]
A communication system (1) in which a plurality of communication devices (100, 200, 400) synchronized in time with each other are connected to a network,
Each of the plurality of communication devices,
First data (control system data) that is periodically transmitted and used for controlling a manufacturing apparatus or a production facility, and second data (control information system data) that needs to arrive at a destination within a designated time. And management means (202) for transmitting third data (information-related data) different from the first data and the second data according to a communication schedule (42);
A memory (104) for storing a plurality of pairs of a communication schedule (65) and a condition (64) for applying the communication schedule;
Based on the state of the communication device (631) or the content of communication with another communication device (632, 633), when any one of the plurality of conditions is satisfied, the communication schedule is applied to the other condition. Switching means (60) for switching to a communication schedule;
A transmission / reception circuit (213) for transferring each data received from another communication device to another device according to the communication schedule.

[構成2]
前記通信スケジュールは、
前記他の通信装置から受信した前記第1のデータ、前記第2のデータ、および前記第3のデータのそれぞれについて、前記周期内において当該データを他のデータよりも優先して前記別の他の装置に転送する度合である優先度(43)を規定する、構成1に記載の通信システム。
[Configuration 2]
The communication schedule is
For each of the first data, the second data, and the third data received from the other communication device, the other data is given priority over other data within the cycle. The communication system according to configuration 1, wherein the priority (43) that is a degree of transfer to the device is defined.

[構成3]
前記通信スケジュールは、さらに、
前記他の通信装置から受信した前記第1のデータ、前記第2のデータ、および前記第3のデータのそれぞれについて、当該データを別の他の通信装置に転送するレート(341)を含む、構成2に記載の通信システム。
[Configuration 3]
The communication schedule further includes:
A configuration including, for each of the first data, the second data, and the third data received from the other communication device, a rate (341) at which the data is transferred to another communication device. 3. The communication system according to 2.

[構成4]
前記通信装置は、少なくとも1の入力ポート(211)と、複数の出力ポート(51、52、53)を有し、
前記入力ポートで受信した前記第1のデータ、前記第2のデータ、および前記第3のデータを、それぞれ、複数の出力ポートのうち、第1の出力ポート(51)、第2のポート(52)および第3のポート(53)から送出し、
前記通信スケジュールが示す前記優先度は、前記周期内における各出力ポートが他の出力ポートよりも優先して開いている時間を規定する、構成2または3に記載の通信システム。
[Configuration 4]
The communication device has at least one input port (211) and a plurality of output ports (51, 52, 53),
The first data, the second data, and the third data received at the input port are respectively transmitted to a first output port (51) and a second port (52) of the plurality of output ports. ) And a third port (53),
The communication system according to configuration 2 or 3, wherein the priority indicated by the communication schedule defines a time during which each output port is open in preference to other output ports in the cycle.

[構成5]
前記他の装置との通信内容は、当該他の通信装置から受信する通知(632)を含む、構成1から4のいずれか1に記載の通信システム。
[Configuration 5]
The communication system according to any one of Configurations 1 to 4, wherein the content of communication with the other device includes a notification (632) received from the other communication device.

[構成6]
前記他の装置との通信内容は、前記周期内において前記第1のデータ、前記第2のデータおよび前記第3のデータのうちの1のデータを受信する時期(633)を含む、構成1から5のいずれか1に記載の通信システム。
[Configuration 6]
The content of communication with the other device includes a timing (633) of receiving one of the first data, the second data, and the third data within the cycle, from the configuration 1, 6. The communication system according to any one of 5.

[構成7]
前記他の装置との通信内容は、前記周期内において前記第1から前記第3のデータのうちの1のデータを受信する時期と、前記通信スケジュールにより指定される前記周期内において当該1のデータを転送する時期との組合せ(633)を含む、構成1から6のいずれか1に記載の通信システム。
[Configuration 7]
The content of communication with the other device includes a timing at which one of the first to third data is received in the cycle, and a timing of receiving the one data in the cycle specified by the communication schedule. The communication system according to any one of Configurations 1 to 6, including a combination (633) with a timing of transferring the data.

[構成8]
通信システムにネットワーク接続される通信装置であって、
他の通信装置との間で互いに時刻同期するための同期手段と、
製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、前記第1のデータおよび前記第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するための管理手段と、
通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリと、
当該通信装置の状態または他の通信装置との通信内容に基づき、複数の前記条件のいずれかが満たされたとき、前記通信スケジュールを、当該条件に適用する他の通信スケジュールに切替える切替手段と、
他の通信装置から受信した各データを前記通信スケジュールに従って、別の他の装置へ転送する送受信回路と、を備える、通信装置。
[Configuration 8]
A communication device network-connected to a communication system,
Synchronization means for time synchronization with other communication devices,
First data transmitted periodically used for controlling a manufacturing apparatus or a production facility, second data that needs to arrive at a destination within a designated time, the first data and the second data, Management means for transmitting third data different from the data according to the communication schedule,
A memory for storing a plurality of sets of a communication schedule and a condition to which the communication schedule is applied;
A switching unit that switches the communication schedule to another communication schedule applied to the condition, when any one of the plurality of conditions is satisfied, based on a state of the communication device or communication content with another communication device.
A transmission / reception circuit for transferring each data received from another communication device to another device according to the communication schedule.

[構成9]
互いに時刻同期された複数の通信装置がネットワーク接続された通信システムにおける通信方法であって、
前記通信システムは、通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリを備え、
前記通信方法は、
製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、前記第1のデータおよび前記第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するためのステップと、
当該通信装置の状態または他の通信装置との通信内容に基づき、複数の前記条件のいずれかが満たされたとき、前記通信スケジュールを、当該条件に適用する他の通信スケジュールに切替えるステップと、
他の通信装置から受信した各データを前記通信スケジュールに従って、別の他の装置へ転送するステップと、を備える、通信方法。
[Configuration 9]
A communication method in a communication system in which a plurality of communication devices that are time-synchronized with each other are connected to a network,
The communication system includes a communication schedule and a memory that stores a plurality of sets of conditions for applying the communication schedule,
The communication method includes:
First data transmitted periodically used for controlling a manufacturing apparatus or a production facility, second data that needs to arrive at a destination within a designated time, the first data and the second data, Transmitting third data different from the data according to the communication schedule;
Based on the state of the communication device or communication content with another communication device, when any one of the plurality of conditions is satisfied, switching the communication schedule to another communication schedule applied to the condition,
Transferring each data received from another communication device to another device according to the communication schedule.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiments disclosed this time are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 通信システム、20 フレーム、29 ラベル、31,32,33,33A キュー、34 レート調整部、40,40A,40B,61 セレクタ、41 ゲートドライバ、42,65 通信スケジュール、43 制御指令、44 特定フレーム振分部、45 ラベル検出部、51,52,53 ゲート、60 切替部、62 条件判断部、63 状況情報、64 条件、100 制御装置、111,112,113 伝送路、200,200A,200D,200E,200H デバイス、202 通信スケジュール管理部、213,213A,213B 送受信コントローラ、226 コンフィグレーションツール、241 割付データ、300 サポート装置、341 伝送レート、400 中継装置、631 状態、632 通知、633 タイミング、T 制御周期。 1 communication system, 20 frames, 29 labels, 31, 32, 33, 33A queue, 34 rate adjuster, 40, 40A, 40B, 61 selector, 41 gate driver, 42, 65 communication schedule, 43 control command, 44 specific frame Distribution unit, 45 label detection unit, 51, 52, 53 gate, 60 switching unit, 62 condition judgment unit, 63 status information, 64 conditions, 100 control devices, 111, 112, 113 transmission path, 200, 200A, 200D, 200E, 200H device, 202 communication schedule management unit, 213, 213A, 213B transmission / reception controller, 226 configuration tool, 241 allocation data, 300 support device, 341 transmission rate, 400 relay device, 631 status, 632 notification, 633 time , T control cycle.

Claims (9)

互いに時刻同期された複数の通信装置がネットワーク接続された通信システムであって、
前記複数の通信装置の各々は、
製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、前記第1のデータおよび前記第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するための管理手段と、
通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリと、
当該通信装置の状態または他の通信装置との通信内容に基づき、複数の前記条件のいずれかが満たされたとき、前記通信スケジュールを、当該条件に適用する他の通信スケジュールに切替える切替手段と、
他の通信装置から受信した各データを前記通信スケジュールに従って、別の他の装置へ転送する送受信回路と、を備える、通信システム。
A communication system in which a plurality of communication devices that are time-synchronized with each other are connected to a network,
Each of the plurality of communication devices,
First data transmitted periodically used for controlling a manufacturing apparatus or a production facility, second data that needs to arrive at a destination within a designated time, the first data and the second data, Management means for transmitting third data different from the data according to the communication schedule,
A memory for storing a plurality of sets of a communication schedule and a condition to which the communication schedule is applied;
A switching unit that switches the communication schedule to another communication schedule applied to the condition, when any one of the plurality of conditions is satisfied, based on a state of the communication device or communication content with another communication device.
A transmission / reception circuit for transferring each data received from another communication device to another device according to the communication schedule.
前記通信スケジュールは、
前記他の通信装置から受信した前記第1のデータ、前記第2のデータ、および前記第3のデータのそれぞれについて、周期内において当該データを他のデータよりも優先して前記別の他の装置に転送する度合である優先度を規定する、請求項1に記載の通信システム。
The communication schedule is
For each of the first data, the second data, and the third data received from the other communication device, the other device is given priority over other data within a cycle. The communication system according to claim 1, wherein the priority is defined as a degree of transfer to the communication system.
前記通信スケジュールは、さらに、
前記他の通信装置から受信した前記第1のデータ、前記第2のデータ、および前記第3のデータのそれぞれについて、当該データを別の他の通信装置に転送するレートを含む、請求項2に記載の通信システム。
The communication schedule further includes:
3. The method according to claim 2, further comprising, for each of the first data, the second data, and the third data received from the another communication device, a rate at which the data is transferred to another communication device. A communication system as described.
前記通信装置は、少なくとも1の入力ポートと、複数の出力ポートを有し、
前記入力ポートで受信した前記第1のデータ、前記第2のデータ、および前記第3のデータを、それぞれ、複数の出力ポートのうち、第1の出力ポート、第2のポートおよび第3のポートから送出し、
前記通信スケジュールが示す前記優先度は、前記周期内における各出力ポートが他の出力ポートよりも優先して開いている時間を規定する、請求項2または3に記載の通信システム。
The communication device has at least one input port and a plurality of output ports,
The first data, the second data, and the third data received at the input port are respectively output to a first output port, a second port, and a third port of the plurality of output ports. Sent from
4. The communication system according to claim 2, wherein the priority indicated by the communication schedule defines a time during which each output port is opened prior to other output ports in the cycle. 5.
前記他の装置との通信内容は、当該他の通信装置から受信する通知を含む、請求項1から4のいずれか1項に記載の通信システム。   The communication system according to claim 1, wherein the content of communication with the another device includes a notification received from the other communication device. 前記他の装置との通信内容は、前記周期内において前記第1のデータ、前記第2のデータおよび前記第3のデータのうちの1のデータを受信する時期を含む、請求項1から5のいずれか1項に記載の通信システム。   The content of communication with the other device includes a timing of receiving one of the first data, the second data, and the third data within the period, wherein The communication system according to claim 1. 前記他の装置との通信内容は、前記周期内において前記第1から前記第3のデータのうちの1のデータを受信する時期と、前記通信スケジュールにより指定される前記周期内において当該1のデータを転送する時期との組合せを含む、請求項1から6のいずれか1項に記載の通信システム。   The content of communication with the other device includes a timing at which one of the first to third data is received in the cycle, and a timing of receiving the one data in the cycle specified by the communication schedule. The communication system according to any one of claims 1 to 6, wherein the communication system includes a combination with a time at which the data is transmitted. 通信システムにネットワーク接続される通信装置であって、
他の通信装置との間で互いに時刻同期するための同期手段と、
製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、前記第1のデータおよび前記第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するための管理手段と、
通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリと、
当該通信装置の状態または他の通信装置との通信内容に基づき、複数の前記条件のいずれかが満たされたとき、前記通信スケジュールを、当該条件に適用する他の通信スケジュールに切替える切替手段と、
他の通信装置から受信した各データを前記通信スケジュールに従って、別の他の装置へ転送する送受信回路と、を備える、通信装置。
A communication device network-connected to a communication system,
Synchronization means for time synchronization with other communication devices,
First data transmitted periodically used for controlling a manufacturing apparatus or a production facility, second data that needs to arrive at a destination within a designated time, the first data and the second data, Management means for transmitting third data different from the data according to the communication schedule,
A memory for storing a plurality of sets of a communication schedule and a condition to which the communication schedule is applied;
A switching unit that switches the communication schedule to another communication schedule applied to the condition, when any one of the plurality of conditions is satisfied, based on a state of the communication device or communication content with another communication device.
A transmission / reception circuit for transferring each data received from another communication device to another device according to the communication schedule.
互いに時刻同期された複数の通信装置がネットワーク接続された通信システムにおける通信方法であって、
前記通信システムは、通信スケジュールと、当該通信スケジュールを適用する条件との組を複数格納するメモリを備え、
前記通信方法は、
製造装置または生産設備の制御に用いられる周期的に伝送される第1のデータと、指定された時間内に宛先へ到着させる必要のある第2のデータと、前記第1のデータおよび前記第2のデータとは異なる第3のデータとを、通信スケジュールに従って伝送するためのステップと、
当該通信装置の状態または他の通信装置との通信内容に基づき、複数の前記条件のいずれかが満たされたとき、前記通信スケジュールを、当該条件に適用する他の通信スケジュールに切替えるステップと、
他の通信装置から受信した各データを前記通信スケジュールに従って、別の他の装置へ転送するステップと、を備える、通信方法。
A communication method in a communication system in which a plurality of communication devices that are time-synchronized with each other are network-connected,
The communication system includes a communication schedule and a memory that stores a plurality of sets of conditions for applying the communication schedule,
The communication method includes:
First data transmitted periodically used for controlling a manufacturing apparatus or a production facility, second data that needs to arrive at a destination within a designated time, the first data and the second data, Transmitting third data different from the data according to the communication schedule;
Based on the state of the communication device or communication content with another communication device, when any one of the plurality of conditions is satisfied, switching the communication schedule to another communication schedule applied to the condition,
Transferring each data received from another communication device to another device according to the communication schedule.
JP2018147492A 2018-08-06 2018-08-06 Communication systems, communication devices and communication methods Active JP7014091B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018147492A JP7014091B2 (en) 2018-08-06 2018-08-06 Communication systems, communication devices and communication methods
PCT/JP2019/030550 WO2020031908A1 (en) 2018-08-06 2019-08-02 Communication system, communication device, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018147492A JP7014091B2 (en) 2018-08-06 2018-08-06 Communication systems, communication devices and communication methods

Publications (2)

Publication Number Publication Date
JP2020025155A true JP2020025155A (en) 2020-02-13
JP7014091B2 JP7014091B2 (en) 2022-02-01

Family

ID=69415027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018147492A Active JP7014091B2 (en) 2018-08-06 2018-08-06 Communication systems, communication devices and communication methods

Country Status (2)

Country Link
JP (1) JP7014091B2 (en)
WO (1) WO2020031908A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2022264230A1 (en) * 2021-06-14 2022-12-22

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008213718A (en) * 2007-03-06 2008-09-18 Auto Network Gijutsu Kenkyusho:Kk Controller for vehicle
JP2015115864A (en) * 2013-12-13 2015-06-22 株式会社日立製作所 Data transfer system and control method for data transfer system
JP2017532870A (en) * 2015-02-13 2017-11-02 ミツビシ・エレクトリック・アールアンドディー・センター・ヨーロッパ・ビーヴィMitsubishi Electric R&D Centre Europe B.V. Data frame traffic shaping method in network, device and computer program product
JP2018064245A (en) * 2016-10-14 2018-04-19 オムロン株式会社 Communication device, control device, and communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008213718A (en) * 2007-03-06 2008-09-18 Auto Network Gijutsu Kenkyusho:Kk Controller for vehicle
JP2015115864A (en) * 2013-12-13 2015-06-22 株式会社日立製作所 Data transfer system and control method for data transfer system
JP2017532870A (en) * 2015-02-13 2017-11-02 ミツビシ・エレクトリック・アールアンドディー・センター・ヨーロッパ・ビーヴィMitsubishi Electric R&D Centre Europe B.V. Data frame traffic shaping method in network, device and computer program product
JP2018064245A (en) * 2016-10-14 2018-04-19 オムロン株式会社 Communication device, control device, and communication method

Also Published As

Publication number Publication date
WO2020031908A1 (en) 2020-02-13
JP7014091B2 (en) 2022-02-01

Similar Documents

Publication Publication Date Title
CN112073388B (en) Time-sensitive heterogeneous network system of industrial control system and management method
EP3691193B1 (en) Control system and communication method
US9654416B2 (en) Switch for scheduled time-sensitive data egress
JP6376229B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
EP3058683B1 (en) System and method for interoperability between multiple networks
KR102181158B1 (en) Communication device, control device and communication method
US9967209B2 (en) Switch for scheduled data egress
US20150373055A1 (en) Systems and Methods for Network Interoperability
US11316654B2 (en) Communication device and method for operating a communication system for transmitting time critical data
JP7396393B2 (en) Control system, device and control method
US11467566B2 (en) Communication device, communication terminal, communication device and method for operating a communication system for transmitting time-critical data
JP2022032955A (en) Planning node
WO2020031908A1 (en) Communication system, communication device, and communication method
EP3471353B1 (en) Method and apparatus for communication in a motor drive application
US20210382462A1 (en) Technique for providing status information relating to a wireless data transmission for industrial process control
WO2022185586A1 (en) Communication method, communication system, and network controller
CN116819943B (en) Control system and method capable of realizing task migration flexible function reconstruction
EP4239959A1 (en) Converged avionics data network
US20230062090A1 (en) System and method for acquisition and storage of data from a bacnet standard hvac system
US20150103849A1 (en) System and Method for Synchronizing a Master Clock Between Networks
Ethernet IEEE TSN (Time-Sensitive Networking): A Deterministic Ethernet Standard

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211110

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220103