JP7063222B2 - Control systems, support devices and programs - Google Patents

Control systems, support devices and programs Download PDF

Info

Publication number
JP7063222B2
JP7063222B2 JP2018187586A JP2018187586A JP7063222B2 JP 7063222 B2 JP7063222 B2 JP 7063222B2 JP 2018187586 A JP2018187586 A JP 2018187586A JP 2018187586 A JP2018187586 A JP 2018187586A JP 7063222 B2 JP7063222 B2 JP 7063222B2
Authority
JP
Japan
Prior art keywords
controller
parameter group
safety
storage area
support device
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.)
Active
Application number
JP2018187586A
Other languages
Japanese (ja)
Other versions
JP2020057210A (en
Inventor
亮輔 藤村
文明 佐藤
悠司 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP2018187586A priority Critical patent/JP7063222B2/en
Publication of JP2020057210A publication Critical patent/JP2020057210A/en
Application granted granted Critical
Publication of JP7063222B2 publication Critical patent/JP7063222B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Description

この開示は、製造現場等に設けられるFA(Factory Automation)システムに適用される制御システム、サポート装置およびプログラムに関する。 This disclosure relates to a control system, a support device, and a program applied to an FA (Factory Automation) system provided at a manufacturing site or the like.

多くの製造現場のFAシステムにおいて、設備や機械を安全に使用するために、セーフティシステムの導入が進みつつある。セーフティシステムは、国際規格に従うセーフティ機能を提供するためのものであり、セーフティコントローラ、セーフティセンサ、セーフティスイッチ、およびセーフティリレーといったセーフティコンポーネントで構成される。 In many FA systems at manufacturing sites, the introduction of safety systems is progressing in order to use equipment and machines safely. The safety system is intended to provide safety functions in accordance with international standards, and is composed of safety components such as a safety controller, a safety sensor, a safety switch, and a safety relay.

セーフティシステムは、設備や機械を駆動するサーボモータなどのドライブ装置に対してもセーフティ機能を提供することが要求される。このセーフティ機能を実現するために、ドライブ装置を制御するサーボドライバはセーフティプログラムを実行する。実行時に、セーフティプログラムはパラメータ群を参照する。このようなパラメータ群は、ドライバ装置に対してダウンロードされることにより提供される。 Safety systems are also required to provide safety functions for drive devices such as servomotors that drive equipment and machines. In order to realize this safety function, the servo driver that controls the drive device executes a safety program. At run time, the safety program refers to a set of parameters. Such a set of parameters is provided by being downloaded to the driver device.

例えば、非特許文献1は、EtherCAT(登録商標:Ethernet for Control Automation Technology、イーサキャット)通信経路上のデータにセーフティシステムに関する安全制御データを混在させる仕組みであるFSoE(Safety over EtherCAT)を提案する。 For example, Non-Patent Document 1 proposes FSoE (Safety over EtherCAT), which is a mechanism for mixing safety control data related to a safety system with data on an EtherCAT (registered trademark: EtherCAT for Automation Technology, EtherCAT) communication path.

“EtherCAT Protocol Enhancements,Amendments to ETG.5100 FSoE Specification,Document:ETG.5120 S(R)V1.1.0”,EtherCAT Technology Group,2017-07-14"EtherCAT Protocol Enhancements, Amends to ETG.5100 FSoE Specification, Document: ETG.5120 S (R) V1.1.0", EtherCAT Technology Group, 2017-0

非特許文献1では、Configuration Toolが、サーボドライバであるFSoEスレーブに対して、セーフティプログラムが実行時に参照するSRA(Safty-Related Application Parameter Set)のパラメータを転送(ダウンロード)する仕組みを開示する。セーフティシステムの開発者またはユーザは、FSoEスレーブからパラメータをConfiguration Toolへ転送(アップロード)させて、転送されているパラメータを取得したいとの要望がある。しかし、非特許文献1は、このようなSRAのパラメータのアップロードの仕組みを提供しない。 Non-Patent Document 1 discloses a mechanism in which the Configuration Tool transfers (downloads) the parameters of the SRA (Safety-Related Application Parameter Set) referred to by the safety program at the time of execution to the FSoE slave which is the servo driver. The developer or user of the safety system wants to transfer (upload) the parameters from the FSoE slave to the Configuration Tool and acquire the transferred parameters. However, Non-Patent Document 1 does not provide such a mechanism for uploading SRA parameters.

本開示の1つの目的は、セーフティプログラムが参照するパラメータを転送するための環境を提供する制御システム、サポート装置およびプログラムを提供することである。 One object of the present disclosure is to provide control systems, support devices and programs that provide an environment for transferring the parameters referenced by the safety program.

本開示の一例に係る制御システムは、第1のコントローラと、第1のコントローラからの第1の指令に従ってモータを駆動するドライブ装置と、ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラと、第1のコントローラに接続可能なサポート装置と、を備え、ドライブ装置は、パラメータ群を参照しながら、第2の指令に従いセーフティプログラムを実行し、第1のコントローラは、パラメータ群を格納するための第1の格納領域を含み、サポート装置から受信する要求に従い、第1の格納領域のパラメータ群をサポート装置へ転送し、第2のコントローラは、サポート装置から受信する要求を従い、サポート装置へ転送されるパラメータ群を格納するための第2の格納領域を含む。 The control system according to an example of the present disclosure includes a first controller, a drive device for driving a motor according to a first command from the first controller, and a second command for operating a safety function for the drive device. The drive device executes the safety program according to the second command while referring to the parameter group, and includes the second controller and the support device that can be connected to the first controller. Contains a first storage area for storing the parameter group, transfers the parameter group of the first storage area to the support device according to a request received from the support device, and the second controller receives from the support device. A second storage area for storing the parameters to be transferred to the support device according to the request to be made is included.

この開示によれば、サポート装置は、第1のコントローラと第2のコントローラに要求を送信することにより、第1のコントローラ側の経路と第2のコントローラ側の経路との複数の経路からパラメータ群を受信することができる。 According to this disclosure, the support device sends a request to the first controller and the second controller to set parameters from a plurality of routes of the first controller side route and the second controller side route. Can be received.

上述の開示において、第2のコントローラは、第2の格納領域にサポート装置で復元可能に低サイズ化されたパラメータ群を格納する。 In the above disclosure, the second controller stores a group of parameters that have been reduced in size so that they can be restored by the support device in the second storage area.

この開示によれば、第2の格納領域の容量は、低サイズ化されたパラメータ群を格納可能なサイズでよく、第2のコントローラにおけるメモリの消費量を抑制できる。 According to this disclosure, the capacity of the second storage area may be a size capable of storing a reduced size parameter group, and the memory consumption in the second controller can be suppressed.

上述の開示において、サポート装置は、第1のコントローラからの第1の格納領域のパラメータ群と、第2のコントローラからの第2の格納領域のパラメータ群を照合する照合部を含み、照合の結果に従い、第1の格納領域のパラメータ群および第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元する。 In the above disclosure, the support device includes a collating unit that collates the parameter group of the first storage area from the first controller and the parameter group of the second storage area from the second controller, and the result of the collation. Therefore, one of the parameter group of the first storage area and the parameter group of the second storage area is selected, and the selected parameter group is restored.

この開示によれば、サポート装置は受信パラメータ群同士を照合し、一方を選択的に復元することができる。 According to this disclosure, the support device can collate the received parameter groups with each other and selectively restore one of them.

上述の開示において、第2のコントローラは、さらに、第2の格納領域のパラメータ群から、所定式に従い算出される当該パラメータ群の正当性を示す第2のデータを格納する領域を、含み、照合部は、第1の格納領域のパラメータ群から、所定式に従い算出される当該パラメータ群の正当性を示す第1のデータを、第2のコントローラから受信する第2のデータと照合する。 In the above disclosure, the second controller further includes, from the parameter group of the second storage area, an area for storing the second data indicating the validity of the parameter group calculated according to a predetermined formula, and collates. The unit collates the first data indicating the validity of the parameter group calculated according to the predetermined formula from the parameter group of the first storage area with the second data received from the second controller.

この開示によれば、照合部は両パラメータ群それぞれが有する正当性を示すデータ同士を照合することで、一方のパラメータ群を選択することができる。 According to this disclosure, the collating unit can select one of the parameter groups by collating the data showing the validity of each of the two parameter groups.

上述の開示において、制御システムは、第1のコントローラ、ドライブ装置および第2のコントローラの間で、データを互いに共有するためのネットワークを、さらに備え、第2の指令は、第2のコントローラとドライブ装置との間にネットワークを利用して形成されるコネクションを介して送信され、ドライブ装置は、第1のデータが、第2のコントローラから受信する第2のデータと一致するとき、当該ドライブ装置と第2のコントローラとの間のコネクションを確立する。 In the above disclosure, the control system further comprises a network for sharing data between the first controller, the drive device and the second controller, and the second command is a second controller and drive. It is transmitted over a connection formed with the device using a network, and the drive device is connected to the drive device when the first data matches the second data received from the second controller. Establish a connection with the second controller.

この開示によれば、パラメータ群が有する正当性を示すデータを、コネクションの確立とパラメータ群の照合との両方に用いることができる。 According to this disclosure, the legitimate data of the parameter group can be used for both the establishment of the connection and the collation of the parameter group.

本開示に係るサポート装置は、制御システムに接続されるサポート装置であって、制御システムは、第1のコントローラと、第1のコントローラからの第1の指令に従ってモータを駆動するドライブ装置と、ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラと、を備え、ドライブ装置は、パラメータ群を参照しながら、第2の指令に従いセーフティプログラムを実行し、第1のコントローラは、パラメータ群を格納するための第1の格納領域を含み、サポート装置から受信する要求に従い、第1の格納領域のパラメータ群をサポート装置へ転送し、第2のコントローラは、サポート装置から受信する要求を従い、サポート装置へ転送されるパラメータ群を格納するための第2の格納領域を含み、サポート装置は、第1のコントローラからの第1の格納領域のパラメータ群と、第2のコントローラからの第2の格納領域のパラメータ群を照合する照合部を含み、照合の結果に従い、第1の格納領域のパラメータ群および第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元する。 The support device according to the present disclosure is a support device connected to a control system, and the control system includes a first controller, a drive device for driving a motor according to a first command from the first controller, and a drive. A second controller for transmitting a second command relating to the operation of the safety function to the device is provided, and the drive device executes the safety program according to the second command while referring to the parameter group, and the first. The controller of the first storage area includes the first storage area for storing the parameter group, and according to the request received from the support device, the parameter group of the first storage area is transferred to the support device, and the second controller is the support device. A second storage area for storing the parameter group transferred to the support device according to the request received from the support device is included, and the support device includes the parameter group of the first storage area from the first controller and the second storage area. A collating unit that collates the parameters of the second storage area from the controller of the above is included, and one of the parameters of the first storage area and the parameters of the second storage area is selected according to the result of the collation. Restore the selected parameters.

この開示によれば、サポート装置は、第1のコントローラと第2のコントローラに要求を送信することにより、第1のコントローラ側の経路と第2のコントローラ側の経路との複数の経路からパラメータ群を受信することができる。また、サポート装置は複数経路から受信するパラメータ群同士を照合することにより、一のパラメータ群を選択して復元することができる。 According to this disclosure, the support device sends a request to the first controller and the second controller to set parameters from a plurality of routes of the first controller side route and the second controller side route. Can be received. Further, the support device can select and restore one parameter group by collating the parameter groups received from a plurality of routes.

本開示に係るプログラムは、制御システムに接続される情報処理装置で実行されるプログラムであって、制御システムは、第1のコントローラと、第1のコントローラからの第1の指令に従ってモータを駆動するドライブ装置と、ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラと、を備え、ドライブ装置は、パラメータ群を参照しながら、第2の指令に従いセーフティプログラムを実行し、第1のコントローラは、パラメータ群を格納するための第1の格納領域を含み、情報処理装置から受信する要求に従い、第1の格納領域のパラメータ群を情報処理装置へ転送し、第2のコントローラは、サポート装置から受信する要求を従い、情報処理装置へ転送されるパラメータ群を格納するための第2の格納領域を含み、プログラムは、情報処理装置のプロセッサに、第1のコントローラからの第1の格納領域のパラメータ群と、第2のコントローラからの第2の格納領域のパラメータ群を照合するステップと、照合の結果に従い、第1の格納領域のパラメータ群および第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元するステップと、を実行させる。 The program according to the present disclosure is a program executed by an information processing device connected to a control system, and the control system drives a motor according to a first controller and a first command from the first controller. A drive device and a second controller for transmitting a second command relating to the operation of the safety function to the drive device are provided, and the drive device performs a safety program according to the second command while referring to a parameter group. Execution, the first controller includes the first storage area for storing the parameter group, transfers the parameter group of the first storage area to the information processing apparatus according to the request received from the information processing apparatus, and is the first. The second controller includes a second storage area for storing a set of parameters transferred to the information processing device according to a request received from the support device, and the program is stored in the processor of the information processing device as the first controller. The step of collating the parameter group of the first storage area from the second controller with the parameter group of the second storage area from the second controller, and the parameter group of the first storage area and the second storage according to the result of the collation. Select one of the parameters in the region and execute the step of restoring the selected parameter group.

この開示によれば、情報処理装置のプロセッサによりプログラムが実行されると、情報処理装置は、第1のコントローラと第2のコントローラに要求を送信することにより、第1のコントローラ側の経路と第2のコントローラ側の経路との複数の経路からパラメータ群を受信することができる。また、情報処理装置は、複数経路から受信するパラメータ群同士を照合することにより、一のパラメータ群を選択して復元することができる。 According to this disclosure, when the program is executed by the processor of the information processing device, the information processing device sends a request to the first controller and the second controller, so that the path on the first controller side and the first controller can be executed. The parameter group can be received from a plurality of routes with the route on the controller side of 2. Further, the information processing apparatus can select and restore one parameter group by collating the parameter groups received from the plurality of routes.

本開示によれば、セーフティプログラムが参照するパラメータを転送するための改善された環境を提供することができる。 According to the present disclosure, it is possible to provide an improved environment for transferring the parameters referenced by the safety program.

本実施の形態に係る制御システム1の適用場面の一例を示す模式図である。It is a schematic diagram which shows an example of the application situation of the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1の構成例を示す模式図である。It is a schematic diagram which shows the structural example of the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1を構成する標準コントローラ100のハードウェア構成例を示す模式図である。It is a schematic diagram which shows the hardware configuration example of the standard controller 100 which constitutes the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1を構成するセーフティコントローラ200のハードウェア構成例を示す模式図である。It is a schematic diagram which shows the hardware configuration example of the safety controller 200 which constitutes the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1を構成するセーフティドライバ300およびサーボモータ400のハードウェア構成例を示す模式図である。It is a schematic diagram which shows the hardware configuration example of the safety driver 300 and the servomotor 400 which constitute the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1を構成するサポート装置500のハードウェア構成例を示す模式図である。It is a schematic diagram which shows the hardware configuration example of the support apparatus 500 which constitutes the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1における通信フレームの伝送形態を説明するための図である。It is a figure for demonstrating the transmission form of the communication frame in the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1の稼働時の機能分担の一例を示す模式図である。It is a schematic diagram which shows an example of the function division at the time of operation of the control system 1 which concerns on this embodiment. 本実施の形態に係るサポート装置500によるアップロードとダウンロードを実行する環境を示す模式図である。It is a schematic diagram which shows the environment which executes the upload and download by the support device 500 which concerns on this embodiment. 本実施の形態に係るサポート装置500にアップロードされるデータを例示する模式図である。It is a schematic diagram which illustrates the data uploaded to the support apparatus 500 which concerns on this embodiment. 本発明の実施の形態に係るサポート装置500のアップロード処理の概要を示すフローチャートである。It is a flowchart which shows the outline of the upload process of the support apparatus 500 which concerns on embodiment of this invention. 本発明の実施の形態に係るプロジェクトのデータの一覧の表示例の模式図である。It is a schematic diagram of the display example of the list of the data of the project which concerns on embodiment of this invention. 本発明の実施の形態に係るアップロード処理におけるデータの流れを示す模式図である。It is a schematic diagram which shows the flow of data in the upload process which concerns on embodiment of this invention. 本実施の形態に係る制御システム1におけるパラメータ群のダウンロードのフローの一例を示す模式図である。It is a schematic diagram which shows an example of the download flow of the parameter group in the control system 1 which concerns on this embodiment. 本実施の形態に係る制御システム1におけるパラメータ群のダウンロードのシーケンスの一例を示す模式図である。It is a schematic diagram which shows an example of the download sequence of the parameter group in the control system 1 which concerns on this embodiment.

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

<A.適用例>
まず、本発明が適用される場面の一例について説明する。
<A. Application example>
First, an example of a situation in which the present invention is applied will be described.

図1は、本実施の形態に係る制御システム1の適用場面の一例を示す模式図である。本実施の形態に係る制御システム1は、例えば、ドライブ装置に対するセーフティ機能および上述の非特許文献1に規定されたETG規格で定義されたSRAのパラメータであって、制御システム1のコントローラが備えるパラメータを、制御システム1に接続されるサポート装置500で処理可能な形式のデータに変更(以下、復元ともいう)する機能を提供する。 FIG. 1 is a schematic diagram showing an example of an application scene of the control system 1 according to the present embodiment. The control system 1 according to the present embodiment is, for example, a safety function for a drive device and SRA parameters defined by the ETG standard defined in Non-Patent Document 1 described above, and is a parameter included in the controller of the control system 1. Is provided with a function of changing (hereinafter, also referred to as restoration) data in a format that can be processed by the support device 500 connected to the control system 1.

以下では「SRAのパラメータ」を単に「パラメータ」とも称し、また、「パラメータ群」は1つ以上のパラメータを含む。 Hereinafter, the "parameters of SRA" are also simply referred to as "parameters", and the "parameter group" includes one or more parameters.

図1を参照して、制御システム1は、主として、「第1のコントローラ」に相当する標準コントローラ100、ならびに、標準コントローラ100とフィールドネットワークを介して接続される「第2のコントローラ」に相当するセーフティコントローラ200および1または複数の「ドライバ装置」に相当するセーフティドライバ300を含む。セーフティドライバ300の各々は、電気的に接続されたサーボモータ400を駆動する。なお、サーボモータ400に限らず、任意の種類のモータを採用できる。例えば任意の種類のアクチュエータ(例えば、三相交流モータ、直流モータ、単相交流モータ、多相交流モータ、リニアサーボなど)を採用できる。また、セーフティドライバ300の実体は、サーボドライバであってもよいし、汎用的なインバータ装置であってもよい。以下の説明においては、セーフティドライバ300をドライブ装置の一例として説明する。 With reference to FIG. 1, the control system 1 mainly corresponds to a standard controller 100 corresponding to a "first controller" and a "second controller" connected to the standard controller 100 via a field network. Includes a safety controller 200 and a safety driver 300 corresponding to one or more "driver devices". Each of the safety drivers 300 drives an electrically connected servomotor 400. Not limited to the servo motor 400, any kind of motor can be adopted. For example, any kind of actuator (for example, a three-phase AC motor, a DC motor, a single-phase AC motor, a multi-phase AC motor, a linear servo, etc.) can be adopted. Further, the substance of the safety driver 300 may be a servo driver or a general-purpose inverter device. In the following description, the safety driver 300 will be described as an example of the drive device.

標準コントローラ100は、予め作成された標準制御プログラムに従って、サーボモータ400を含む制御対象に対する標準制御を実行する。典型的には、標準コントローラ100は、1または複数のセンサ(図示していない)などからの入力信号に応じた制御演算をサイクリック実行することで、サーボモータ400などのアクチュエータに対する指令(第1の指令)を周期的に算出する。 The standard controller 100 executes standard control for a controlled object including the servomotor 400 according to a standard control program created in advance. Typically, the standard controller 100 cyclically executes a control operation according to an input signal from one or a plurality of sensors (not shown) to give a command (first) to an actuator such as a servomotor 400. Command) is calculated periodically.

セーフティコントローラ200は、セーフティドライバ300に対してセーフティ機能の動作に係るセーフティ指令(第2の指令)を送信する。より具体的には、セーフティコントローラ200は、標準コントローラ100とは独立して、制御対象に対するセーフティ機能を実現するための監視および制御演算をサイクリック実行する。セーフティコントローラ200は、任意のセーフティデバイス240からの入力信号の受付、および/または、任意のセーフティデバイス240への指令の出力が可能になっている。 The safety controller 200 transmits a safety command (second command) related to the operation of the safety function to the safety driver 300. More specifically, the safety controller 200 cyclically executes monitoring and control operations for realizing a safety function for a controlled object independently of the standard controller 100. The safety controller 200 is capable of receiving an input signal from any safety device 240 and / or outputting a command to any safety device 240.

本明細書において、主に標準コントローラ100が担う「標準制御」およびセーフティコントローラ200またはセーフティドライバ300が担う「セーフティ制御」の用語を対比的に用いる。「標準制御」は、予め定められた要求仕様に沿って、制御対象を制御するための処理の総称である。一方、「セーフティ制御」は、設備や機械などによって人の安全が脅かされることを防止するための処理を総称する。「セーフティ制御」は、IEC 61508などに規定されたセーフティ機能を実現するための要件を満たすように設計される。 In the present specification, the terms "standard control" mainly carried by the standard controller 100 and "safety control" carried by the safety controller 200 or the safety driver 300 are used in contrast. "Standard control" is a general term for processes for controlling a controlled object in accordance with predetermined requirement specifications. On the other hand, "safety control" is a general term for processes for preventing human safety from being threatened by equipment or machines. The "safety control" is designed to meet the requirements for realizing the safety function specified in IEC 61508 and the like.

セーフティドライバ300は、標準コントローラ100からの指令(第1の指令)に従って、サーボモータ400に電力を供給することで、サーボモータ400を駆動する。セーフティドライバ300は、サーボモータ400からのフィードバック信号などに基づいて、サーボモータ400の回転位置、回転速度、回転加速度および発生するトルクなどを周期的に算出する。 The safety driver 300 drives the servomotor 400 by supplying electric power to the servomotor 400 in accordance with a command (first command) from the standard controller 100. The safety driver 300 periodically calculates the rotational position, rotational speed, rotational acceleration, generated torque, and the like of the servomotor 400 based on the feedback signal from the servomotor 400 and the like.

さらに、セーフティドライバ300は、セーフティ機能に必要な状態情報をセーフティコントローラ200へ提供するとともに、要求されるセーフティ機能に応じたモーションセーフティプログラム3202を実行することによりサーボモータ400に供給する電力を調整または遮断し、また、サーボモータ400の制御軸の位置,速度を監視または調整する。実行時にモーションセーフティプログラム3202は、標準コントローラ100から提供されるパラメータ群を参照して、当該電力の調整または遮断を実施し、また当該監視,調整を実施する。パラメータ群は、モーションセーフティのための値(位置、速度、範囲など)を示す1つ以上のSRAのパラメータを含む。 Further, the safety driver 300 provides the safety controller 200 with state information necessary for the safety function, and adjusts or adjusts the electric power supplied to the servomotor 400 by executing the motion safety program 3202 according to the required safety function. It shuts off and monitors or adjusts the position and speed of the control axis of the servomotor 400. At the time of execution, the motion safety program 3202 performs adjustment or cutoff of the power, and also performs monitoring and adjustment with reference to the parameter group provided by the standard controller 100. The set of parameters includes one or more SRA parameters indicating values (position, speed, range, etc.) for motion safety.

サーボモータ400は、セーフティドライバ300からの電力を受けて回転するモータを有するとともに、モータの回転軸に結合されたエンコーダからの検出信号をフィードバック信号としてセーフティドライバ300へ出力する。 The servomotor 400 has a motor that rotates by receiving electric power from the safety driver 300, and outputs a detection signal from an encoder coupled to the rotation shaft of the motor as a feedback signal to the safety driver 300.

セーフティドライバ300は、モーションセーフティプログラム3202を実行することにより、パラメータ群の値とサーボモータ400のエンコーダからのフィードバックとを比較することにより、サーボモータ400が正常に制御されていることを監視する。セーフティドライバ300が正常に制御を行なっている限りは、通常の動作を継続することができる。セーフティドライバ300が、サーボモータ400の制御が正しくないと判断した場合には、セーフティドライバ300からサーボモータ400への停止信号を出力する。 The safety driver 300 monitors that the servomotor 400 is normally controlled by executing the motion safety program 3202 and comparing the value of the parameter group with the feedback from the encoder of the servomotor 400. As long as the safety driver 300 normally controls, the normal operation can be continued. When the safety driver 300 determines that the control of the servomotor 400 is incorrect, the safety driver 300 outputs a stop signal to the servomotor 400.

サポート装置500は、限定されないが、例えば標準コントローラ100またはセーフティコントローラ200に格納されているプロジェクトを生成するツールを備える。プロジェクトの生成は、実機である標準コントローラ100またはセーフティコントローラ200に既存の(インストールされている)プロジェクトを編集すること、および新規にプロジェクトを生成することの両方の概念を含み得る。プロジェクトの生成には、パラメータ群の生成(編集を含む)が含まれる。 The support device 500 includes, but is not limited to, a tool for generating a project stored in, for example, the standard controller 100 or the safety controller 200. Project generation can include both the concept of editing an existing (installed) project on the actual standard controller 100 or safety controller 200, and creating a new project. The generation of a project includes the generation (including editing) of a set of parameters.

制御システム1は、サポート装置500に対して、パラメータ群を転送するための複数の経路(図1のフローS1,S4)を提供する。具体的には、標準コントローラ100は、パラメータ群を格納するための「第1の格納領域」に相当する領域E1を備える。標準コントローラ100は、サポート装置500から受信するアップロードの要求に従い、領域E1のパラメータ群をサポート装置500へ転送する(フローS1)。また、セーフティコントローラ200はパラメータ群を格納するための「第2の格納領域」に相当する領域E2を備える。セーフティコントローラ200は、サポート装置500から受信するアップロードの要求を従い、領域E2のパラメータ群をサポート装置500へ転送する(フローS2,S4)。 The control system 1 provides the support device 500 with a plurality of routes (flows S1 and S4 in FIG. 1) for transferring the parameter group. Specifically, the standard controller 100 includes an area E1 corresponding to a "first storage area" for storing a parameter group. The standard controller 100 transfers the parameter group of the area E1 to the support device 500 according to the upload request received from the support device 500 (flow S1). Further, the safety controller 200 includes an area E2 corresponding to a "second storage area" for storing the parameter group. The safety controller 200 follows the upload request received from the support device 500 and transfers the parameter group of the area E2 to the support device 500 (flows S2 and S4).

したがって、制御システム1では、サポート装置500に対し、複数の経路からパラメータ群をアップロードすることができるから、サポート装置500は、1の経路が使用できないとしても、他の経路からパラメータ群を受信することができる。 Therefore, in the control system 1, the parameter group can be uploaded to the support device 500 from a plurality of routes, so that the support device 500 receives the parameter group from another route even if one route cannot be used. be able to.

また、セーフティコントローラ200の領域E2には、領域E1のパラメータ群と同サイズのパラメータ群が格納されてもよく、または、サポート装置500で復元可能に低サイズ化されたパラメータ群が格納されてもよい。領域E2は、モーションセーフティプログラム3202により参照されないパラメータ群であって、上記の複数経路のうちの1つを提供するためのパラメータ群を格納するための領域であるが、領域E2に、サポート装置500で復元可能な程度に低サイズ化されたパラメータ群が格納されることで、セーフティコントローラ200において領域E2係るメモリ消費量を抑制でき、また、フローS2,S4によるパラメータ群転送のための通信負荷を低くすることができる。 Further, the area E2 of the safety controller 200 may store a parameter group having the same size as the parameter group of the area E1, or may store a parameter group that has been reduced in size so that it can be restored by the support device 500. good. The area E2 is a parameter group not referred to by the motion safety program 3202 and is an area for storing a parameter group for providing one of the above-mentioned plurality of routes. In the area E2, the support device 500 is used. By storing the parameter group reduced in size to the extent that it can be restored in, the memory consumption related to the area E2 can be suppressed in the safety controller 200, and the communication load for transferring the parameter group by the flows S2 and S4 can be reduced. Can be lowered.

また、サポート装置500は、複数経路から受信したパラメータ群の正当性を検出する。具体的には、サポート装置500は、セーフティコントローラ200からパラメータ群とともに、当該パラメータ群の正当性を示すCRC(Cyclic Redundancy Check)データを受信する(フローS3)。サポート装置500は、フローS1で受信したパラメータ群からCRCデータを算出し、算出したCRCデータをフローS3で受信したCRCデータと照合する。サポート装置500は、照合の結果、算出したCRCデータが、フローS3でセーフティコントローラ200から受信したCRCデータに一致しないと判断したとき、標準コントローラ100からのパラメータ群ではなく、セーフティコントローラ200からのパラメータ群の方が正当であると決定する。つまり、制御システム1では、セーフティ機能を実現するために、セーフティコントローラ200の操作が許可される者は制限されているので、領域E2のパラメータ群が改ざんされる可能性は低く、したがって、正当である可能性が高い。 Further, the support device 500 detects the validity of the parameter group received from the plurality of routes. Specifically, the support device 500 receives CRC (Cyclic Redundancy Check) data indicating the validity of the parameter group together with the parameter group from the safety controller 200 (flow S3). The support device 500 calculates CRC data from the parameter group received in flow S1, and collates the calculated CRC data with the CRC data received in flow S3. When the support device 500 determines that the calculated CRC data does not match the CRC data received from the safety controller 200 in the flow S3 as a result of the collation, the parameter group from the safety controller 200 is not the parameter group from the standard controller 100. Determine that the group is more legitimate. That is, in the control system 1, since the number of persons permitted to operate the safety controller 200 is limited in order to realize the safety function, it is unlikely that the parameter group in the region E2 is tampered with, and therefore it is legitimate. There is a high possibility.

このように図1の制御システム1では、標準コントローラ100およびセーフティコントローラ200において、パラメータ群を格納するための領域E1およびE2をそれぞれ備えることにより、サポート装置500に対しパラメータ群を提供するための複数の経路を提供することができる。 As described above, in the control system 1 of FIG. 1, in the standard controller 100 and the safety controller 200, a plurality of areas E1 and E2 for storing the parameter group are provided to provide the parameter group to the support device 500, respectively. Can provide a route for.

以下、本発明のより具体的な応用例として、本実施の形態に係る制御システム1のより詳細な構成および処理について説明する。 Hereinafter, as a more specific application example of the present invention, a more detailed configuration and processing of the control system 1 according to the present embodiment will be described.

<B.制御システム1の構成例>
まず、制御システム1の構成例について説明する。図2は、本実施の形態に係る制御システム1の構成例を示す模式図である。
<B. Configuration example of control system 1>
First, a configuration example of the control system 1 will be described. FIG. 2 is a schematic diagram showing a configuration example of the control system 1 according to the present embodiment.

(b1:全体構成)
図2を参照して、制御システム1は、主として、標準コントローラ100、ならびに、標準コントローラ100とフィールドネットワーク2を介して接続されるセーフティコントローラ200および1または複数のセーフティドライバ300を含む。セーフティドライバ300の各々は、電気的に接続されたサーボモータ400を駆動する。なお、サーボモータ400に限らず、任意の種類のモータを採用できる。
(B1: Overall configuration)
With reference to FIG. 2, the control system 1 mainly includes a standard controller 100 and a safety controller 200 and one or a plurality of safety drivers 300 connected to the standard controller 100 via the field network 2. Each of the safety drivers 300 drives an electrically connected servomotor 400. Not limited to the servo motor 400, any kind of motor can be adopted.

標準コントローラ100は、予め作成された標準制御プログラムに従って、サーボモータ400を含む制御対象に対する標準制御を実行する。典型的には、標準コントローラ100は、1または複数のセンサ(図示していない)などからの入力信号に応じた制御演算をサイクリック実行することで、サーボモータ400などのアクチュエータに対する指令を周期的に算出する。 The standard controller 100 executes standard control for a controlled object including the servomotor 400 according to a standard control program created in advance. Typically, the standard controller 100 periodically issues commands to an actuator such as a servomotor 400 by cyclically executing control operations according to input signals from one or more sensors (not shown). Calculate to.

セーフティコントローラ200は、標準コントローラ100とは独立して、制御対象に対するセーフティ機能を実現するための監視および制御演算をサイクリック実行する。セーフティコントローラ200は、任意のセーフティデバイス240からの入力信号の受付、および/または、任意のセーフティデバイス240への指令の出力が可能になっている。 The safety controller 200 cyclically executes monitoring and control operations for realizing a safety function for a controlled object independently of the standard controller 100. The safety controller 200 is capable of receiving an input signal from any safety device 240 and / or outputting a command to any safety device 240.

セーフティドライバ300は、標準コントローラ100からの指令に従って、サーボモータ400に電力を供給することで、サーボモータ400を駆動する。セーフティドライバ300は、サーボモータ400からのフィードバック信号などに基づいて、サーボモータ400の回転位置、回転速度、回転加速度および発生するトルクなどを周期的に算出する。 The safety driver 300 drives the servomotor 400 by supplying electric power to the servomotor 400 in accordance with a command from the standard controller 100. The safety driver 300 periodically calculates the rotational position, rotational speed, rotational acceleration, generated torque, and the like of the servomotor 400 based on the feedback signal from the servomotor 400 and the like.

セーフティドライバ300は、セーフティ機能に必要な状態情報をセーフティコントローラ200へ提供するとともに、要求されるセーフティ機能に応じて、サーボモータ400に供給する電力を調整または遮断する。 The safety driver 300 provides state information necessary for the safety function to the safety controller 200, and adjusts or cuts off the electric power supplied to the servomotor 400 according to the required safety function.

サーボモータ400は、セーフティドライバ300からの電力を受けて回転するモータを有するとともに、モータの回転軸に結合されたエンコーダからの検出信号をフィードバック信号としてセーフティドライバ300へ出力する。 The servomotor 400 has a motor that rotates by receiving electric power from the safety driver 300, and outputs a detection signal from an encoder coupled to the rotation shaft of the motor as a feedback signal to the safety driver 300.

(b2:標準コントローラ100)
図3は、本実施の形態に係る制御システム1を構成する標準コントローラ100のハードウェア構成例を示す模式図である。図3を参照して、標準コントローラ100は、プロセッサ102と、メインメモリ104と、ストレージ110と、上位ネットワークコントローラ106と、フィールドネットワークコントローラ108と、USB(Universal Serial Bus)コントローラ120と、メモリカードインターフェイス112と、ローカルバスコントローラ116とを含む。これらのコンポーネントは、プロセッサバス118を介して接続されている。
(B2: Standard controller 100)
FIG. 3 is a schematic diagram showing a hardware configuration example of the standard controller 100 constituting the control system 1 according to the present embodiment. With reference to FIG. 3, the standard controller 100 includes a processor 102, a main memory 104, a storage 110, an upper network controller 106, a field network controller 108, a USB (Universal Serial Bus) controller 120, and a memory card interface. The 112 and the local bus controller 116 are included. These components are connected via the processor bus 118.

プロセッサ102は、主として、標準制御に係る制御演算を実行する演算処理部に相当し、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)などで構成される。具体的には、プロセッサ102は、ストレージ110に格納されたプログラム(一例として、システムプログラム1102および標準制御プログラム1104)を読出して、メインメモリ104に展開して実行することで、制御対象に応じた制御演算、および、後述するような各種処理を実現する。 The processor 102 mainly corresponds to an arithmetic processing unit that executes a control operation related to standard control, and is composed of a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and the like. Specifically, the processor 102 reads out the programs (as an example, the system program 1102 and the standard control program 1104) stored in the storage 110, expands them into the main memory 104, and executes the programs, thereby corresponding to the control target. It realizes control calculation and various processes as described later.

メインメモリ104は、DRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)などの揮発性記憶装置などで構成される。ストレージ110は、例えば、SSD(Solid State Drive)やHDD(Hard Disk Drive)などの不揮発性記憶装置などで構成される。 The main memory 104 is composed of a volatile storage device such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory). The storage 110 is composed of, for example, a non-volatile storage device such as an SSD (Solid State Drive) or an HDD (Hard Disk Drive).

ストレージ110には、基本的な機能を実現するためのシステムプログラム1102に加えて、制御対象に応じて作成された標準制御プログラム1104が格納される。また、ストレージ110には、各種の変数を設定するための設定情報1106、および設定プログラム1101が格納される。設定情報1106は、セーフティドライバ300に送信されるべきパラメータ群130を有する。パラメータ群130は、ストレージ110の領域E1に格納される。 In the storage 110, in addition to the system program 1102 for realizing the basic functions, the standard control program 1104 created according to the control target is stored. Further, the storage 110 stores the setting information 1106 for setting various variables and the setting program 1101. The setting information 1106 has a parameter group 130 to be transmitted to the safety driver 300. The parameter group 130 is stored in the area E1 of the storage 110.

設定プログラム1101は、実行されると、ローディング機能を実現する。ローディング機能は、サポート装置500から転送(ダウンロード)される標準制御プログラム1104およびパラメータ群130を含む設定情報1106の内容を、ストレージ110の対応する領域に格納する機能を含む。これにより、ストレージ110の元の標準制御プログラム1104およびパラメータ群130を含む設定情報1106の内容は変更(書換え,更新)される。また、ローディング機能は、サポート装置500からの要求に従い、ストレージ110の標準制御プログラム1104およびパラメータ群130を含む設定情報1106の内容を読出し、サポート装置500に転送(アップロード)する機能を含む。 When executed, the setting program 1101 realizes a loading function. The loading function includes a function of storing the contents of the setting information 1106 including the standard control program 1104 transferred (downloaded) from the support device 500 and the parameter group 130 in the corresponding area of the storage 110. As a result, the contents of the setting information 1106 including the original standard control program 1104 of the storage 110 and the parameter group 130 are changed (rewritten or updated). Further, the loading function includes a function of reading the contents of the setting information 1106 including the standard control program 1104 of the storage 110 and the parameter group 130 and transferring (uploading) the contents to the support device 500 in accordance with the request from the support device 500.

上位ネットワークコントローラ106は、上位ネットワークを介して、任意の情報処理装置との間でデータを遣り取りする。 The host network controller 106 exchanges data with and from an arbitrary information processing device via the host network.

フィールドネットワークコントローラ108は、フィールドネットワーク2を介して、セーフティコントローラ200およびセーフティドライバ300を含む任意のデバイスとの間でデータを遣り取りする。 The field network controller 108 exchanges data with and from any device including the safety controller 200 and the safety driver 300 via the field network 2.

USBコントローラ120は、USB接続を介して、サポート装置500などとの間でデータを遣り取りする。 The USB controller 120 exchanges data with the support device 500 and the like via the USB connection.

メモリカードインターフェイス112は、着脱可能な記録媒体の一例であるメモリカード114を受付ける。メモリカードインターフェイス112は、メモリカード114に対してデータを書込み、メモリカード114から各種データ(ログやトレースデータなど)を読出すことが可能になっている。 The memory card interface 112 receives a memory card 114, which is an example of a removable recording medium. The memory card interface 112 can write data to the memory card 114 and read various data (logs, trace data, etc.) from the memory card 114.

ローカルバスコントローラ116は、ローカルバスを介して、標準コントローラ100に接続される任意のユニットとの間でデータを遣り取りする。 The local bus controller 116 exchanges data with and from any unit connected to the standard controller 100 via the local bus.

図2では、サポート装置500は、標準コントローラ100とは独立して備えられるが、標準コントローラ100に表示装置やサポート装置500などの機能を統合した構成を採用してもよい。図3には、プロセッサ102がプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASIC(Application Specific Integrated Circuit)またはFPGA(Field-Programmable Gate Array)など)を用いて実装してもよい。あるいは、標準コントローラ100の主要部を、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコンをベースとした産業用パソコン)を用いて実現してもよい。この場合には、仮想化技術を用いて、用途の異なる複数のOS(Operating System)を並列的に実行させるとともに、各OS上で必要なアプリケーションを実行させるようにしてもよい。さらに、標準コントローラ100に表示装置やサポート装置などの機能を統合した構成を採用してもよい。 In FIG. 2, the support device 500 is provided independently of the standard controller 100, but a configuration in which functions such as a display device and the support device 500 are integrated into the standard controller 100 may be adopted. FIG. 3 shows a configuration example in which the necessary functions are provided by the processor 102 executing a program, and some or all of these provided functions are provided by a dedicated hardware circuit (for example, ASIC). (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array), etc.) may be used for implementation. Alternatively, the main part of the standard controller 100 may be realized by using hardware that follows a general-purpose architecture (for example, an industrial personal computer based on a general-purpose personal computer). In this case, a virtualization technique may be used to execute a plurality of OSs (Operating Systems) having different uses in parallel, and to execute necessary applications on each OS. Further, a configuration in which functions such as a display device and a support device are integrated into the standard controller 100 may be adopted.

(b3:セーフティコントローラ200)
図4は、本実施の形態に係る制御システム1を構成するセーフティコントローラ200のハードウェア構成例を示す模式図である。図4を参照して、セーフティコントローラ200は、プロセッサ202と、メインメモリ204と、ストレージ210と、フィールドネットワークコントローラ208と、USBコントローラ220と、セーフティローカルバスコントローラ216とを含む。これらのコンポーネントは、プロセッサバス218を介して接続されている。
(B3: Safety controller 200)
FIG. 4 is a schematic diagram showing a hardware configuration example of the safety controller 200 constituting the control system 1 according to the present embodiment. With reference to FIG. 4, the safety controller 200 includes a processor 202, a main memory 204, a storage 210, a field network controller 208, a USB controller 220, and a safety local bus controller 216. These components are connected via the processor bus 218.

プロセッサ202は、主として、セーフティ制御に係る制御演算を実行する演算処理部に相当し、CPUやGPUなどで構成される。具体的には、プロセッサ202は、ストレージ210に格納されたプログラム(一例として、システムプログラム2102およびセーフティプログラム2104)を読出して、メインメモリ204に展開して実行することで、必要なセーフティ機能を提供するための制御演算、および、後述するような各種処理を実現する。 The processor 202 mainly corresponds to a calculation processing unit that executes a control calculation related to safety control, and is composed of a CPU, a GPU, and the like. Specifically, the processor 202 provides the necessary safety function by reading out the programs (as an example, the system program 2102 and the safety program 2104) stored in the storage 210, expanding them into the main memory 204, and executing the programs. It realizes control calculation for performing and various processes as described later.

メインメモリ204は、DRAMやSRAMなどの揮発性記憶装置などで構成される。ストレージ210は、例えば、SSDやHDDなどの不揮発性記憶装置などで構成される。 The main memory 204 is composed of a volatile storage device such as DRAM or SRAM. The storage 210 is composed of, for example, a non-volatile storage device such as an SSD or an HDD.

ストレージ210には、基本的な機能を実現するためのシステムプログラム2102に加えて、要求されるセーフティ機能に応じて作成されたセーフティプログラム2104が格納される。さらに、ストレージ210には、変数などを設定するための設定情報2106が格納される。 In the storage 210, in addition to the system program 2102 for realizing the basic function, the safety program 2104 created according to the required safety function is stored. Further, the storage 210 stores setting information 2106 for setting variables and the like.

設定情報2106は、低サイズ化パラメータ群2109およびCRCデータ2108を有する。低サイズ化パラメータ群2109は、ストレージ210の領域E2に格納される。具体的には、領域E2は、サポート装置500からのアップロード時の要求を従い、サポート装置500へ転送されるべきパラメータ群(すなわち低サイズ化パラメータ群2109)を格納するための領域である。また、CRCデータ2108は、ストレージ210の領域E3に格納される。CRCデータ2108は、サポート装置500から受信されるデータであって、低サイズ化パラメータ群2109の低サイズ化される前のパラメータ群から、所定式に従い算出される当該パラメータ群の正当性を示す。 The setting information 2106 has a size reduction parameter group 2109 and CRC data 2108. The size reduction parameter group 2109 is stored in the area E2 of the storage 210. Specifically, the area E2 is an area for storing a parameter group (that is, a size reduction parameter group 2109) to be transferred to the support device 500 according to a request at the time of upload from the support device 500. Further, the CRC data 2108 is stored in the area E3 of the storage 210. The CRC data 2108 is data received from the support device 500, and shows the validity of the parameter group calculated according to a predetermined formula from the parameter group before the size reduction of the size reduction parameter group 2109.

本実施の形態では、低サイズ化パラメータ群2109は、セーフティドライバ300に対するセーフティ機能の動作に係るデータとしては用いられず、主に、サポート装置500に対してアップロードされるべきパラメータ群として用いられる。 In the present embodiment, the size reduction parameter group 2109 is not used as data related to the operation of the safety function for the safety driver 300, but is mainly used as a parameter group to be uploaded to the support device 500.

設定プログラム2101は、実行されると、ローディング機能を実現する。ローディング機能は、サポート装置500から転送(ダウンロード)されるセーフティプログラム2104、低サイズ化パラメータ群2109およびCRCデータ2108を含む設定情報2106の内容を、ストレージ210の対応する領域に格納する機能を含む。これにより、ストレージ210の元のセーフティプログラム2104、低サイズ化パラメータ群2109およびCRCデータ2108を含む設定情報2106の内容は変更(書換え,更新)される。また、ローディング機能は、サポート装置500からの要求に従い、ストレージ210のセーフティプログラム2104、低サイズ化パラメータ群2109およびCRCデータ2108を含む設定情報2106の内容を読出し、サポート装置500に転送(アップロード)する機能を含む。 When executed, the setting program 2101 realizes a loading function. The loading function includes a function of storing the contents of the setting information 2106 including the safety program 2104 transferred (downloaded) from the support device 500, the size reduction parameter group 2109, and the CRC data 2108 in the corresponding area of the storage 210. As a result, the contents of the setting information 2106 including the original safety program 2104 of the storage 210, the size reduction parameter group 2109, and the CRC data 2108 are changed (rewritten or updated). Further, the loading function reads the contents of the setting information 2106 including the safety program 2104 of the storage 210, the size reduction parameter group 2109, and the CRC data 2108 according to the request from the support device 500, and transfers (uploads) the contents to the support device 500. Including functions.

フィールドネットワークコントローラ208は、フィールドネットワーク2を介して、標準コントローラ100およびセーフティドライバ300を含む任意のデバイスとの間でデータを遣り取りする。制御システム1においては、セーフティコントローラ200のフィールドネットワークコントローラ208は、フィールドネットワーク2の通信スレーブとして機能する。 The field network controller 208 exchanges data with and from any device including the standard controller 100 and the safety driver 300 via the field network 2. In the control system 1, the field network controller 208 of the safety controller 200 functions as a communication slave of the field network 2.

USBコントローラ220は、USB接続を介して、サポート装置500などの情報処理装置との間でデータを遣り取りする。 The USB controller 220 exchanges data with an information processing device such as a support device 500 via a USB connection.

セーフティローカルバスコントローラ216は、セーフティローカルバスを介して、セーフティコントローラ200に接続される任意のセーフティユニットとの間でデータを遣り取りする。図4には、セーフティユニットの一例として、セーフティユニットIOユニット230を示す。 The safety local bus controller 216 exchanges data with any safety unit connected to the safety controller 200 via the safety local bus. FIG. 4 shows a safety unit IO unit 230 as an example of a safety unit.

セーフティユニットIOユニット230は、任意のセーフティデバイス240との間で入出力信号を遣り取りする。より具体的には、セーフティユニットIOユニット230は、セーフティセンサやセーフティスイッチなどのセーフティデバイス240からの入力信号を受付ける。あるいは、セーフティユニットIOユニット230は、セーフティリレーなどのセーフティデバイス240へ指令を出力する。 The safety unit IO unit 230 exchanges input / output signals with and from any safety device 240. More specifically, the safety unit IO unit 230 receives an input signal from a safety device 240 such as a safety sensor or a safety switch. Alternatively, the safety unit IO unit 230 outputs a command to a safety device 240 such as a safety relay.

図4には、プロセッサ202がプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASICまたはFPGAなど)を用いて実装してもよい。あるいは、セーフティコントローラ200の主要部を、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコンをベースとした産業用パソコン)を用いて実現してもよい。 FIG. 4 shows a configuration example in which the necessary functions are provided by the processor 202 executing the program, and some or all of these provided functions are provided by a dedicated hardware circuit (for example, ASIC). Alternatively, it may be implemented using FPGA or the like). Alternatively, the main part of the safety controller 200 may be realized by using hardware that follows a general-purpose architecture (for example, an industrial personal computer based on a general-purpose personal computer).

(b4:セーフティドライバ300およびサーボモータ400)
図5は、本実施の形態に係る制御システム1を構成するセーフティドライバ300およびサーボモータ400のハードウェア構成例を示す模式図である。図5を参照して、セーフティドライバ300は、フィールドネットワークコントローラ302と、制御部310と、ドライブ回路330と、フィードバック受信回路332とを含む。
(B4: Safety driver 300 and servo motor 400)
FIG. 5 is a schematic diagram showing a hardware configuration example of the safety driver 300 and the servomotor 400 constituting the control system 1 according to the present embodiment. With reference to FIG. 5, the safety driver 300 includes a field network controller 302, a control unit 310, a drive circuit 330, and a feedback receiving circuit 332.

フィールドネットワークコントローラ302は、フィールドネットワーク2を介して、標準コントローラ100およびセーフティコントローラ200を含む任意のデバイスとの間でデータを遣り取りする。図5に示す制御システム1においては、セーフティドライバ300のフィールドネットワークコントローラ302は、フィールドネットワーク2の通信スレーブとして機能する。 The field network controller 302 exchanges data with and from any device including the standard controller 100 and the safety controller 200 via the field network 2. In the control system 1 shown in FIG. 5, the field network controller 302 of the safety driver 300 functions as a communication slave of the field network 2.

制御部310は、セーフティドライバ300を動作させるために必要な演算処理を実行する。一例として、制御部310は、プロセッサ312,314と、メインメモリ316と、ストレージ320とを含む。 The control unit 310 executes arithmetic processing necessary for operating the safety driver 300. As an example, the control unit 310 includes a processor 312, 314, a main memory 316, and a storage 320.

プロセッサ312は、サーボモータ400を駆動するための制御演算を主として実行する演算処理部に相当する。プロセッサ314は、サーボモータ400に係るセーフティ機能を提供するための制御演算を主として実行する演算処理部に相当する。プロセッサ312,314は、いずれもCPUなどで構成される。 The processor 312 corresponds to an arithmetic processing unit that mainly executes a control arithmetic for driving the servomotor 400. The processor 314 corresponds to a calculation processing unit that mainly executes a control calculation for providing a safety function related to the servomotor 400. Each of the processors 312 and 314 is composed of a CPU or the like.

メインメモリ316は、DRAMやSRAMなどの揮発性記憶装置などで構成される。ストレージ320は、例えば、SSDやHDDなどの不揮発性記憶装置などで構成される。 The main memory 316 is composed of a volatile storage device such as DRAM or SRAM. The storage 320 is composed of, for example, a non-volatile storage device such as an SSD or an HDD.

ストレージ320には、サーボモータ400に係るサーボ制御を実現するためのサーボ制御プログラム3201と、サーボモータ400に係るモーションセーフティ機能を実現するためのモーションセーフティプログラム3202と、変数などを設定するための設定情報3203と、パラメータ群130が格納される。パラメータ群130は、標準コントローラ100から転送されてストレージ320の領域E4に格納される。 The storage 320 has a servo control program 3201 for realizing servo control related to the servo motor 400, a motion safety program 3202 for realizing the motion safety function related to the servo motor 400, and settings for setting variables and the like. Information 3203 and parameter group 130 are stored. The parameter group 130 is transferred from the standard controller 100 and stored in the area E4 of the storage 320.

設定情報3203は、プロセッサ314により実行されるCRC(Cyclic Redundancy Check)データを算出するCRC算出プログラム3204および照合プログラム3205を含む。CRC算出プログラム3204は、領域E4のパラメータ群130から、所定の演算式に従い、誤り検出のためのCRCデータ(値)を算出する。このCRCデータは「第1のデータ」に相当し、パラメータ群130に誤り(または改ざん)がない等のパラメータ群130の正当性を検出するための値であって、例えばパラメータ群130のバイナリデータから算出されるチェックサム等を含み得る。なお、CRCデータはチェックサムに限定されない。 The setting information 3203 includes a CRC calculation program 3204 and a collation program 3205 that calculate CRC (Cyclic Redundancy Check) data executed by the processor 314. The CRC calculation program 3204 calculates CRC data (value) for error detection from the parameter group 130 in the region E4 according to a predetermined arithmetic expression. This CRC data corresponds to the "first data" and is a value for detecting the validity of the parameter group 130 such that the parameter group 130 has no error (or tampering), and is, for example, binary data of the parameter group 130. It may include a checksum calculated from. The CRC data is not limited to the checksum.

照合プログラム3205は、CRC算出プログラム3204により算出されたCRCデータと、セーフティコントローラ200から受信する「第2のデータ」に相当するCRCデータ2108とを照合する。照合結果が、算出されたCRCデータはCRCデータ2108に一致することを示すとき、セーフティドライバ300は、セーフティコントローラ200との間で論理コネクション4を確立させる。つまり、セーフティドライバ300は、セーフティコントローラ200に対してコネクション確立の通知を送信する。 The collation program 3205 collates the CRC data calculated by the CRC calculation program 3204 with the CRC data 2108 corresponding to the "second data" received from the safety controller 200. When the collation result indicates that the calculated CRC data matches the CRC data 2108, the safety driver 300 establishes a logical connection 4 with the safety controller 200. That is, the safety driver 300 transmits a notification of connection establishment to the safety controller 200.

図5には、2つのプロセッサ312,314がそれぞれ異なる目的の制御演算を実行することで信頼性を高める構成を例示するが、これに限らず、要求されるセーフティ機能を実現できればどのような構成を採用してもよい。例えば、単一のプロセッサに複数のコアが含まれるような場合には、プロセッサ312,314にそれぞれ対応する制御演算を実行するようにしてもよい。また、図5には、プロセッサ312,314がプログラムを実行することで必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASICまたはFPGAなど)を用いて実装してもよい。 FIG. 5 exemplifies a configuration in which two processors 312 and 314 execute control operations for different purposes to improve reliability, but the present invention is not limited to this, and any configuration can be realized as long as the required safety function can be realized. May be adopted. For example, when a single processor includes a plurality of cores, control operations corresponding to the processors 312 and 314 may be executed. Further, FIG. 5 shows a configuration example in which the necessary functions are provided by the processors 312 and 314 executing the program, and some or all of these provided functions are provided by a dedicated hardware circuit. It may be implemented using (eg, ASIC or FPGA).

ドライブ回路330は、コンバータ回路およびインバータ回路などを含み、制御部310からの指令に従って、指定された電圧・電流・位相の電力を生成して、サーボモータ400へ供給する。 The drive circuit 330 includes a converter circuit, an inverter circuit, and the like, and generates electric power having a specified voltage, current, and phase according to a command from the control unit 310, and supplies the electric power to the servomotor 400.

フィードバック受信回路332は、サーボモータ400からのフィードバック信号を受信して、その受信結果を制御部310へ出力する。 The feedback reception circuit 332 receives the feedback signal from the servomotor 400 and outputs the reception result to the control unit 310.

サーボモータ400は、典型的には、三相交流モータ402および三相交流モータ402の回転軸に取付けられたエンコーダ404を含む。 The servomotor 400 typically includes a three-phase AC motor 402 and an encoder 404 mounted on the rotating shaft of the three-phase AC motor 402.

三相交流モータ402は、セーフティドライバ300から供給される電力を受けて回転力を発生するアクチュエータである。図5には、一例として、三相交流モータを例示するが、これに限らず、直流モータであってもよいし、単相交流モータあるいは多相交流モータであってもよい。さらに、リニアサーボのような直線に沿って駆動力を発生するアクチュエータを採用してもよい。 The three-phase AC motor 402 is an actuator that receives electric power supplied from the safety driver 300 to generate rotational force. FIG. 5 exemplifies a three-phase AC motor as an example, but the present invention is not limited to this, and a DC motor, a single-phase AC motor, or a multi-phase AC motor may be used. Further, an actuator that generates a driving force along a straight line such as a linear servo may be adopted.

エンコーダ404は、三相交流モータ402の回転数に応じたフィードバック信号(典型的には、回転数に応じた数のパルス信号)を出力する。 The encoder 404 outputs a feedback signal (typically, a number of pulse signals corresponding to the rotation speed) corresponding to the rotation speed of the three-phase AC motor 402.

(b5:サポート装置500)
図6は、本実施の形態に係る制御システム1を構成するサポート装置500のハードウェア構成例を示す模式図である。サポート装置500は、一例として、汎用的なアーキテクチャに従うハードウェア(例えば、汎用パソコン)を用いて実現される。
(B5: Support device 500)
FIG. 6 is a schematic diagram showing a hardware configuration example of the support device 500 constituting the control system 1 according to the present embodiment. As an example, the support device 500 is realized by using hardware (for example, a general-purpose personal computer) that follows a general-purpose architecture.

図6を参照して、サポート装置500は、プロセッサ502と、メインメモリ504と、入力部506と、出力部508と、ストレージ510と、光学ドライブ512と、通信インターフェィスの一実施例であるUSBコントローラ520とを含む。これらのコンポーネントは、プロセッサバス518を介して接続されている。 With reference to FIG. 6, the support device 500 includes a processor 502, a main memory 504, an input unit 506, an output unit 508, a storage 510, an optical drive 512, and a USB controller, which is an embodiment of a communication interface. Includes 520 and. These components are connected via the processor bus 518.

プロセッサ502は、CPUやGPUなどで構成され、ストレージ510に格納されたプログラムを読出して、メインメモリ504に展開して実行することで、後述するような各種処理を実現する。 The processor 502 is composed of a CPU, a GPU, or the like, reads out a program stored in the storage 510, expands the program in the main memory 504, and executes the program to realize various processes as described later.

メインメモリ504は、DRAMやSRAMなどの揮発性記憶装置などで構成される。ストレージ510は、例えば、HDDやSSDなどの不揮発性記憶装置などで構成される。 The main memory 504 is composed of a volatile storage device such as DRAM or SRAM. The storage 510 is composed of, for example, a non-volatile storage device such as an HDD or SSD.

ストレージ510には、基本的な機能を実現するためのOS5102に加えて、サポート装置500としての機能を提供するためのサポートプログラム5104が格納される。すなわち、サポートプログラム5104は、制御システム1に接続される情報処理装置のプロセッサにより実行されることで、本実施の形態に係るサポート装置500を実現する。 In the storage 510, in addition to the OS 5102 for realizing the basic functions, the support program 5104 for providing the functions as the support device 500 is stored. That is, the support program 5104 is executed by the processor of the information processing device connected to the control system 1 to realize the support device 500 according to the present embodiment.

ストレージ510は、後述するプロジェクト530を格納する領域E5、初期パラメータ群60を保持(格納)するための領域E6、および変更パラメータ群65を格納するための領域E7を含む。 The storage 510 includes an area E5 for storing the project 530 described later, an area E6 for holding (storing) the initial parameter group 60, and an area E7 for storing the change parameter group 65.

サポートプログラム5104は、実行されることにより、各種の開発環境(ツール等)を提供する。サポートプログラム5104は、パラメータ群を生成するツールを提供するパラメータ生成プログラム5105、低サイズ化プログラム5106、CRC算出プログラム5107、照合プログラム5108、プログラムおよびデータのダウンロードまたはアップロードを実施するためのロードプログラム5109、およびプロジェクト管理プログラム5110を含む。プロジェクト管理プログラム5110は、プロジェクト530を生成するためのプログラムも含む。 The support program 5104 provides various development environments (tools, etc.) by being executed. The support program 5104 includes a parameter generation program 5105 that provides a tool for generating a parameter group, a size reduction program 5106, a CRC calculation program 5107, a collation program 5108, and a load program 5109 for downloading or uploading programs and data. And the project management program 5110. The project management program 5110 also includes a program for generating the project 530.

ここで「プロジェクト」は、1つのアプリケーションプログラムを構成するための情報である。本実施の形態では、プロジェクト530は、標準制御プログラム1104、セーフティプログラム2104および関連する設定情報を含む。この設定情報は、パラメータ群130、低サイズ化パラメータ群2109およびCRCデータ2108などを含む。 Here, the "project" is information for constructing one application program. In this embodiment, project 530 includes standard control program 1104, safety program 2104 and related configuration information. This setting information includes the parameter group 130, the size reduction parameter group 2109, the CRC data 2108, and the like.

ロードプログラム5109は、ダウンロードのプログラムとアップロードのプログラムとを含む。ダウンロードのプログラムは、実行されると、プロジェクト530を、標準コントローラ100およびセーフティコントローラ200に転送する(これを、ダウンロード処理という)。これにより、標準制御プログラム1104およびパラメータ群130は、標準コントローラ100に転送されてストレージ110に格納され、セーフティプログラム2104、低サイズ化パラメータ群2109およびCRCデータ2108は、セーフティコントローラ200に転送されてストレージ210に格納される。また、アップロードのプログラムは、実行されると、標準コントローラ100およびセーフティコントローラ200にアップロードの要求を送信し、要求に応じて標準コントローラ100およびセーフティコントローラ200から受信したデータを、ストレージ110および210のそれぞれに格納する(これを、アップロード処理という)。標準コントローラ100は、サポート装置500からの要求に従い、ストレージ110の標準制御プログラム1104およびパラメータ群130を含む設定情報1106の内容を、サポート装置500に転送する。また、セーフティコントローラ200は、サポート装置500からの要求に従い、ストレージ210のセーフティプログラム2104、および低サイズ化パラメータ群2109とCRCデータ2108を含む設定情報の内容を、サポート装置500に転送する。 The load program 5109 includes a download program and an upload program. When the download program is executed, it transfers the project 530 to the standard controller 100 and the safety controller 200 (this is called a download process). As a result, the standard control program 1104 and the parameter group 130 are transferred to the standard controller 100 and stored in the storage 110, and the safety program 2104, the size reduction parameter group 2109 and the CRC data 2108 are transferred to the safety controller 200 for storage. It is stored in 210. Further, when the upload program is executed, the upload request is sent to the standard controller 100 and the safety controller 200, and the data received from the standard controller 100 and the safety controller 200 in response to the request is sent to the storages 110 and 210, respectively. Store in (this is called the upload process). The standard controller 100 transfers the contents of the setting information 1106 including the standard control program 1104 of the storage 110 and the parameter group 130 to the support device 500 in accordance with the request from the support device 500. Further, the safety controller 200 transfers the contents of the setting information including the safety program 2104 of the storage 210, the size reduction parameter group 2109 and the CRC data 2108 to the support device 500 in accordance with the request from the support device 500.

パラメータ生成プログラム5105は、実行されると、入力部506を介して受付けるユーザ操作に従い、領域E6から読出した初期パラメータ群60の内容を変更することにより、変更パラメータ群65を生成する。生成された変更パラメータ群65は、領域E7に格納される。 When the parameter generation program 5105 is executed, the parameter generation program 5105 generates the change parameter group 65 by changing the contents of the initial parameter group 60 read from the area E6 according to the user operation received via the input unit 506. The generated change parameter group 65 is stored in the area E7.

低サイズ化プログラム5106は、実行されると、領域E7の変更パラメータ群65から、当該変更パラメータ群65のデータサイズよりも小さいサイズを有したパラメータ群を生成するツールを提供する。具体的には、このツールは、変更パラメータ群65と初期パラメータ群60を比較し、その相違である差分を検出し、検出した差分をZIP等の方式で圧縮することにより、低サイズ化を実現する。なお、低サイズ化の方法は、このような差分と圧縮の組合せに限定されず、例えば、差分のみによる低サイズ化、または、変更パラメータ群65の圧縮による低サイズ化であってもよい。 When executed, the reduction program 5106 provides a tool for generating a parameter group having a size smaller than the data size of the change parameter group 65 from the change parameter group 65 of the region E7. Specifically, this tool realizes a reduction in size by comparing the change parameter group 65 and the initial parameter group 60, detecting the difference that is the difference, and compressing the detected difference by a method such as ZIP. do. The method of reducing the size is not limited to such a combination of difference and compression, and may be, for example, reduction in size by only the difference or reduction in size by compression of the change parameter group 65.

サポートプログラム5104は、実行されると、セーフティコントローラ200からアップロードされた低サイズ化パラメータ群2109を伸張(解凍または展開)する。伸張されたパラメータ群は、すなわち上記に述べた差分に相当する。サポートプログラム5104は、差分を用いて領域E6から読出した初期パラメータ群60を変更する。これにより、低サイズ化される前のパラメータ群が復元(以下、復元パラメータ群ともいう)される。 When executed, the support program 5104 decompresses (decompresses or expands) the size reduction parameter group 2109 uploaded from the safety controller 200. The expanded parameter group corresponds to the difference described above. The support program 5104 changes the initial parameter group 60 read from the area E6 by using the difference. As a result, the parameter group before the size reduction is restored (hereinafter, also referred to as a restoration parameter group).

CRC算出プログラム5107は、領域E7の変更パラメータ群65から、所定の演算式に従い、誤り検出のためのCRCデータ(値)を算出するとともに、標準コントローラ100からアップロードされたパラメータ群130から、所定の演算式に従い、誤り検出のためのCRCデータ(値)を算出する。このように算出されるCRCデータは、変更パラメータ群65(またはパラメータ群130)に誤りまたは改ざんがない等の当該パラメータ群の正当性を検出するための値である。なお、CRC算出プログラム5107に適用される所定の演算式は、セーフティドライバ300のCRC算出プログラム3204に適用される演算式と一致している。 The CRC calculation program 5107 calculates CRC data (value) for error detection from the change parameter group 65 in the area E7 according to a predetermined calculation formula, and also calculates a predetermined CRC data (value) from the parameter group 130 uploaded from the standard controller 100. CRC data (value) for error detection is calculated according to the calculation formula. The CRC data calculated in this way is a value for detecting the validity of the parameter group such that the change parameter group 65 (or the parameter group 130) is not erroneous or tampered with. The predetermined calculation formula applied to the CRC calculation program 5107 is the same as the calculation formula applied to the CRC calculation program 3204 of the safety driver 300.

照合プログラム5108は、上記のCRC算出プログラム5107により算出されたパラメータ群130のCRCデータを、セーフティコントローラ200からアップロードされたCRCデータ2108と照合する。サポート装置500は、照合の結果に従い、標準コントローラ100からアップロードされたパラメータ群130およびセーフティコントローラ200からアップロードされたパラメータ群、すなわち上記の復元パラメータ群のうちの一方を選択し、所定処理に用いる。この所定処理は、パラメータ群の復元またはプロジェクト530の生成を含む。 The collation program 5108 collates the CRC data of the parameter group 130 calculated by the CRC calculation program 5107 with the CRC data 2108 uploaded from the safety controller 200. The support device 500 selects one of the parameter group 130 uploaded from the standard controller 100 and the parameter group uploaded from the safety controller 200, that is, the above-mentioned restoration parameter group, according to the collation result, and uses it for a predetermined process. This predetermined process includes restoration of a set of parameters or generation of project 530.

入力部506は、キーボードやマウスなどで構成され、サポート装置500に対するユーザ操作を受付ける。出力部508は、ディスプレイ509、各種インジケータ、プリンタなどで構成され、プロセッサ502からの処理結果などを出力する。 The input unit 506 is composed of a keyboard, a mouse, and the like, and receives user operations on the support device 500. The output unit 508 is composed of a display 509, various indicators, a printer, and the like, and outputs a processing result from the processor 502 and the like.

USBコントローラ520は、USB接続を介して、標準コントローラ100などとの間のデータを遣り取りする。 The USB controller 520 exchanges data with and from the standard controller 100 and the like via the USB connection.

サポート装置500は、光学ドライブ512を有しており、コンピュータ読取可能なプログラムを非一過的に格納する記録媒体514(例えば、DVD(Digital Versatile Disc)などの光学記録媒体)から、その中に格納されたプログラムが読取られてストレージ510などにインストールされる。 The support device 500 includes an optical drive 512 from a recording medium 514 (for example, an optical recording medium such as a DVD (Digital Versatile Disc)) that non-transiently stores a computer-readable program. The stored program is read and installed in the storage 510 or the like.

サポート装置500で実行されるサポートプログラム5104などは、コンピュータ読取可能な記録媒体514を介してインストールされてもよいが、ネットワーク上のサーバ装置などからダウンロードする形でインストールするようにしてもよい。また、本実施の形態に係るサポート装置500が提供する機能は、OSが提供するモジュールの一部を利用する形で実現される場合もある。 The support program 5104 or the like executed by the support device 500 may be installed via a computer-readable recording medium 514, or may be installed by downloading from a server device or the like on the network. Further, the function provided by the support device 500 according to the present embodiment may be realized by using a part of the module provided by the OS.

図6には、プロセッサ502がプログラムを実行することで、サポート装置500として必要な機能が提供される構成例を示したが、これらの提供される機能の一部または全部を、専用のハードウェア回路(例えば、ASICまたはFPGAなど)を用いて実装してもよい。 FIG. 6 shows a configuration example in which the processor 502 executes a program to provide the functions required as the support device 500, and some or all of these provided functions are provided by dedicated hardware. It may be implemented using a circuit (eg, ASIC or FPGA).

なお、制御システム1が稼動中において、サポート装置500は、標準コントローラ100から取り外されていてもよい。 The support device 500 may be removed from the standard controller 100 while the control system 1 is in operation.

<C.制御システム1のデータ通信>
次に、制御システム1におけるデータ通信の一例について説明する。
<C. Data communication of control system 1>
Next, an example of data communication in the control system 1 will be described.

図7は、本実施の形態に係る制御システム1における通信フレームの伝送形態を説明するための図である。図7を参照して、制御システム1のフィールドネットワーク2においては、データ通信が行われており、標準コントローラ100を通信マスタとして、通信フレーム600がサイクリック(例えば、数~10数msec)にデバイス間を一巡する。通信フレーム600が伝送する周期をプロセスデータ通信周期とも称する。 FIG. 7 is a diagram for explaining a transmission mode of a communication frame in the control system 1 according to the present embodiment. With reference to FIG. 7, data communication is performed in the field network 2 of the control system 1, and the communication frame 600 is cyclically (for example, several to ten and several msec) with the standard controller 100 as the communication master. Make a round in between. The cycle transmitted by the communication frame 600 is also referred to as a process data communication cycle.

本実施の形態においては、このような通信フレーム600をサイクリックに伝送するフィールドネットワーク2のプロトコルの一例として、EtherCAT(登録商標)を採用する。 In the present embodiment, EtherCAT (registered trademark) is adopted as an example of the protocol of the field network 2 that cyclically transmits such a communication frame 600.

通信フレーム600には、デバイス毎にデータ領域が割り当てられている。各デバイスは、通信フレーム600を受信すると、当該受信した通信フレーム600内の自デバイスに割り当てられたデータ領域に予め設定されたデータの現在値を書込む。そして、現在値の書込み後の通信フレーム600を次段のデバイスに送出する。各デバイスにより書込まれたデータの現在値は他のデバイスから参照可能になっている。 A data area is allocated to the communication frame 600 for each device. When each device receives the communication frame 600, each device writes the current value of the preset data in the data area allocated to the own device in the received communication frame 600. Then, the communication frame 600 after writing the current value is sent to the next device. The current value of the data written by each device can be referred to by other devices.

各デバイスが通信フレーム600に予め設定されたデータの現在値を書込むことで、フィールドネットワーク2を一巡して通信マスタ(標準コントローラ100)に戻る通信フレーム600には、各デバイスにより収集された最新の値が含まれることになる。 By writing the current value of the data preset in the communication frame 600 to each device, the communication frame 600 that goes around the field network 2 and returns to the communication master (standard controller 100) is the latest collected by each device. Will contain the value of.

本実施の形態においては、さらに、このようなデータ通信を利用して、セーフティコントローラ200とセーフティドライバ300の各々との間で論理コネクション4が形成される(図7参照)。この論理コネクション4は、セーフティ機能を実現するためのデータの遣り取りに用いられる。 In the present embodiment, further, such data communication is used to form a logical connection 4 between each of the safety controller 200 and the safety driver 300 (see FIG. 7). This logical connection 4 is used for exchanging data for realizing the safety function.

上述したように、フィールドネットワーク2のプロトコルとしてEtherCATを採用する場合には、FSoEのプロトコルを用いて論理コネクション4を形成できる。 As described above, when EtherCAT is adopted as the protocol of the field network 2, the logical connection 4 can be formed by using the protocol of FSoE.

<D.制御システム1の機能分担>
次に、制御システム1における稼働時の機能分担の一例について説明する。図8は、本実施の形態に係る制御システム1の稼働時の機能分担の一例を示す模式図である。
<D. Division of functions of control system 1>
Next, an example of the division of functions during operation in the control system 1 will be described. FIG. 8 is a schematic diagram showing an example of the division of functions during operation of the control system 1 according to the present embodiment.

図8を参照して、標準コントローラ100が実行する標準制御150に関して、セーフティドライバ300はサーボ制御350を実行する。標準制御150は、制御対象に予め設定されたユーザプログラムに従って、サーボモータ400を駆動するための指令を周期的に算出する処理を含む。また、サーボ制御350は、標準制御150により周期的に算出される指令に従ってサーボモータ400を駆動するための制御、および、サーボモータ400の動作状態を示す状態値を取得して出力する処理を含む。サーボ制御350は、セーフティドライバ300のプロセッサ312(図5参照)が担当する。 With reference to FIG. 8, the safety driver 300 executes the servo control 350 with respect to the standard control 150 executed by the standard controller 100. The standard control 150 includes a process of periodically calculating a command for driving the servomotor 400 according to a user program preset for the control target. Further, the servo control 350 includes a control for driving the servomotor 400 according to a command periodically calculated by the standard control 150, and a process of acquiring and outputting a state value indicating an operating state of the servomotor 400. .. The servo control 350 is handled by the processor 312 (see FIG. 5) of the safety driver 300.

一方、セーフティコントローラ200が提供するセーフティ機能250に対応して、セーフティドライバ300はモーションセーフティ機能360を提供する。モーションセーフティ機能360は、セーフティドライバ300のプロセッサ314(図5参照)が担当する。 On the other hand, the safety driver 300 provides the motion safety function 360 in response to the safety function 250 provided by the safety controller 200. The motion safety function 360 is handled by the processor 314 (see FIG. 5) of the safety driver 300.

セーフティ機能250は、標準コントローラ100が実行する標準制御150が保持する状態値、セーフティデバイス240からの信号によって示される状態値、および、セーフティドライバ300が保持する状態値などに基づいて、予め定められた条件が成立すると、予め指定されているセーフティ機能を有効化する。 The safety function 250 is predetermined based on a state value held by the standard control 150 executed by the standard controller 100, a state value indicated by a signal from the safety device 240, a state value held by the safety driver 300, and the like. When the above conditions are met, the safety function specified in advance is activated.

予め指定されているセーフティ機能を有効化する処理は、例えば、セーフティドライバ300に対するセーフティ指令の出力、あるいは、セーフティデバイス240に対してセーフティ指令の出力(例えば、特定の装置への電力供給に係るセーフティリレーを遮断する)などを含む。 The process of enabling the safety function specified in advance is, for example, the output of a safety command to the safety driver 300 or the output of a safety command to the safety device 240 (for example, safety related to power supply to a specific device). (Break off the relay) and so on.

セーフティドライバ300では、モーションセーフティプログラム3202が実行されると、セーフティコントローラ200からのセーフティ指令に応答して、指定されたモーションセーフティ機能360を提供する。指定されたモーションセーフティ機能360の種類に応じて、サーボ制御プログラム3201が実施するサーボ制御350によるサーボモータ400の制御に介入して、サーボモータ400への電力供給を遮断する処理、あるいは、サーボ制御350によるサーボモータ400の制御の状態値が予め定められた制限範囲内に収まっているか否かを監視する処理などが実行される。モーションセーフティプログラム3202は、領域E4のパラメータ群130が示すSRAのパラメータを参照して、上記の電力の供給を遮断または上記の監視の処理を実施する。 When the motion safety program 3202 is executed, the safety driver 300 provides the designated motion safety function 360 in response to the safety command from the safety controller 200. Depending on the type of the designated motion safety function 360, the process of intervening in the control of the servomotor 400 by the servo control 350 performed by the servo control program 3201 to cut off the power supply to the servomotor 400, or the servo control. A process of monitoring whether or not the state value of the control of the servomotor 400 by the 350 is within a predetermined limit range is executed. The motion safety program 3202 refers to the parameters of the SRA indicated by the parameter group 130 of the region E4 to cut off the power supply or perform the monitoring process.

<E.サポート装置500のアップロードとダウンロード>
サポート装置500のアップロードとダウンロードの以下の説明では、説明を簡単にするために、制御システム1に備えられる1台のセーフティドライバ300をターゲットにしているが、当該1台のセーフティドライバ300に対する処理は、他の各セーフティドライバ300についても同様に適用することができる。
<E. Upload and download support device 500>
In the following description of uploading and downloading the support device 500, for the sake of simplicity, one safety driver 300 provided in the control system 1 is targeted, but the processing for the one safety driver 300 is performed. , The same can be applied to each of the other safety drivers 300.

図9は、本実施の形態に係るサポート装置500によるアップロードとダウンロードを実行する環境を示す模式図である。図9では、領域E5のプロジェクト530が当該環境に関連付けて示されている。図10は、本実施の形態に係るサポート装置500にアップロードされるデータを例示する模式図である。 FIG. 9 is a schematic diagram showing an environment for executing upload and download by the support device 500 according to the present embodiment. In FIG. 9, project 530 in region E5 is shown in association with the environment. FIG. 10 is a schematic diagram illustrating data uploaded to the support device 500 according to the present embodiment.

図9を参照して、この環境では、プロセッサ502がサポートプログラム5104のロードプログラム5109を実行することにより、ロードツール5111が提供される。また、プロセッサ502が、プロジェクト管理プログラム5110を実行することにより、プロジェクトマネージャ5114のツールが提供される。ロードツール5111は、さらに、ダウンロードツール5112とアップロードツール5113を提供する。プロジェクトマネージャ5114は、照合プログラム5108を実行することによる照合部5115のツールを提供する。プロジェクト530は、標準コントローラ100に適用するプロジェクト531およびセーフティコントローラ200に適用するプロジェクト532を含む。 With reference to FIG. 9, in this environment, the load tool 5111 is provided by the processor 502 executing the load program 5109 of the support program 5104. Further, the processor 502 executes the project management program 5110 to provide the tool of the project manager 5114. The load tool 5111 also provides a download tool 5112 and an upload tool 5113. The project manager 5114 provides a tool for collation unit 5115 by executing collation program 5108. Project 530 includes project 531 applied to the standard controller 100 and project 532 applied to the safety controller 200.

ダウンロードツール5112は、プロジェクト530の標準コントローラのプロジェクト531を標準コントローラ100へ転送することにより、上記のダウンロード処理を実施する。また、アップロードツール5113は、上記のアップロード処理を実施することにより、領域E5に標準コントローラ100からアップロードされたデータに基づく標準コントローラのプロジェクト531を格納し、セーフティコントローラ200からアップロードされたデータに基づくセーフティコントローラのプロジェクト532を格納する。これにより、領域E5においてプロジェクト530が格納される。 The download tool 5112 carries out the above download process by transferring the project 531 of the standard controller of the project 530 to the standard controller 100. Further, the upload tool 5113 stores the project 531 of the standard controller based on the data uploaded from the standard controller 100 in the area E5 by performing the above upload process, and the safety based on the data uploaded from the safety controller 200. Stores the controller project 532. As a result, the project 530 is stored in the area E5.

図10を参照して、サポート装置500へアップロードされるデータは、標準コントローラ100からのデータ160と、セーフティコントローラ200からのデータ260を含む。データ160は、標準制御プログラム1104および設定情報1106の内容を含む。設定情報1106の内容は、限定されないが、標準制御プログラム1104が実行時に参照する軸設定、I/Oマップ設定、変数テーブルおよびEtherCAT設定を含む。設定情報1106の内容は、さらに、標準コントローラ100からセーフティドライバ300に転送されるパラメータ群130を含む。 With reference to FIG. 10, the data uploaded to the support device 500 includes data 160 from the standard controller 100 and data 260 from the safety controller 200. The data 160 includes the contents of the standard control program 1104 and the setting information 1106. The content of the setting information 1106 includes, but is not limited to, the axis setting, the I / O map setting, the variable table, and the EtherCAT setting referred to by the standard control program 1104 at the time of execution. The content of the setting information 1106 further includes a parameter group 130 transferred from the standard controller 100 to the safety driver 300.

また、データ260は、セーフティプログラム2104および設定情報2106の内容を含む。設定情報2106の内容は、限定されないが、セーフティプログラム2104が実行時に参照するFSoEコネクション設定、I/Oマップ設定および変数テーブルを含む。設定情報2106の内容は、さらに、低サイズ化パラメータ群2109およびCRCデータ2108を含む。 The data 260 also includes the contents of the safety program 2104 and the setting information 2106. The content of the setting information 2106 includes, but is not limited to, the FSoE connection setting, the I / O map setting, and the variable table referred to by the safety program 2104 at the time of execution. The contents of the setting information 2106 further include a size reduction parameter group 2109 and CRC data 2108.

(e1:アップロード処理とプロジェクトの生成)
図11は、本発明の実施の形態に係るサポート装置500のアップロード処理の概要を示すフローチャートである。図11を参照して、プロジェクト530の生成処理を実施するケースを例示して、アップロード時の処理を説明する。図11を参照して、プロジェクトマネージャ5114は、生成を予定するプロジェクト530の機種が、サポート装置500に接続される標準コントローラ100およびセーフティコントローラ200の機種と一致するかを判定する(ステップU1)。例えば、プロジェクトマネージャ5114は、入力部506を介して受付けるユーザ操作が示す機種と、サポート装置500が標準コントローラ100,セーフティコントローラ200から受信する機種を照合することにより判定する。プロジェクトマネージャ5114は、照合の結果に基き、一致しないと判定すると(ステップU1でNO)、アップロードに失敗の通知を出力するなどの処理を実施し(ステップU11)、処理を終了する。
(E1: Upload process and project generation)
FIG. 11 is a flowchart showing an outline of the upload process of the support device 500 according to the embodiment of the present invention. With reference to FIG. 11, a case where the generation process of the project 530 is performed will be illustrated, and the process at the time of upload will be described. With reference to FIG. 11, the project manager 5114 determines whether the model of the project 530 to be generated matches the model of the standard controller 100 and the safety controller 200 connected to the support device 500 (step U1). For example, the project manager 5114 determines by collating the model indicated by the user operation received via the input unit 506 with the model received from the standard controller 100 and the safety controller 200 by the support device 500. If the project manager 5114 determines that they do not match based on the collation result (NO in step U1), the project manager 5114 executes a process such as outputting a notification of upload failure (step U11), and ends the process.

一方、プロジェクトマネージャ5114は、照合の結果に基き、一致すると判定すると(ステップU1でYES)、プロジェクトマネージャ5114は、アップロードツール5113を起動する。 On the other hand, when the project manager 5114 determines that they match based on the collation result (YES in step U1), the project manager 5114 activates the upload tool 5113.

アップロードツール5113は、標準コントローラ100およびセーフティコントローラ200にアップロード要求を送信することにより、アップロード処理を開始する(ステップU3)。ステップU3のアップロード処理では、アップロードツール5113は、標準コントローラ100から標準コントローラのデータ160を受信するとともに、セーフティコントローラ200からセーフティコントローラのデータ260を受信する。プロジェクトマネージャ5114は、データ260の低サイズ化パラメータ群2109から復元パラメータ群を取得する。 The upload tool 5113 starts the upload process by sending an upload request to the standard controller 100 and the safety controller 200 (step U3). In the upload process of step U3, the upload tool 5113 receives the data 160 of the standard controller from the standard controller 100 and the data 260 of the safety controller from the safety controller 200. The project manager 5114 acquires the restoration parameter group from the reduction parameter group 2109 of the data 260.

さらにステップU3では、プロジェクトマネージャ5114は、データ160から要素毎にデータを読出し、読出されたデータの型に基づき領域E5のプロジェクト531を検索し、検索の結果に基き、当該要素のデータの型と同じデータの型が、プロジェクト531内に存在するかを判定する(ステップU5)。 Further, in step U3, the project manager 5114 reads the data for each element from the data 160, searches the project 531 in the area E5 based on the type of the read data, and based on the search result, sets the data type of the element. Determine if the same data type exists in project 531 (step U5).

上記に述べたデータの型とは、そのデータがどんな要素を持つのかを一意に決めることができる情報であって、例えば、ラダープログラム、変数テーブル等の型を含む。この型は、ユニークな識別子(ID:AAAA-BBBB-CCCC-DDDD)や、文字列(Type:LadderProgram)などを用いて表現され得る。プロジェクトマネージャ5114は、TypeとSubTypeという文字列情報でデータ管理している。例えば、ラダープログラムの場合、Type:Program, SubType:Ladderで管理される。 The data type described above is information that can uniquely determine what kind of element the data has, and includes, for example, a type of a ladder program, a variable table, or the like. This type can be expressed by using a unique identifier (ID: AAAA-BBBB-CCCC-DDDD), a character string (Type: LadderProgram), or the like. The project manager 5114 manages data with character string information of Type and SubType. For example, in the case of a ladder program, it is managed by Type: Program and SubType: Ladder.

ステップU3では、プロジェクトマネージャ5114は、データ260についても同様に、要素毎にデータを読出し、読出されたデータの型に基づき領域E5のプロジェクト532を検索し、検索の結果に基き、当該要素のデータの型と同じデータの型が、プロジェクト532内に存在するかを判定する(ステップU5)。 In step U3, the project manager 5114 similarly reads the data for each element of the data 260, searches the project 532 of the area E5 based on the type of the read data, and based on the search result, the data of the element. It is determined whether the same data type as the type of is present in the project 532 (step U5).

プロジェクトマネージャ5114は、同じデータの型がプロジェクト531またはプロジェクト532に存在すると判定すると(ステップU5でYES)、プロジェクトマネージャ5114は、領域E5のプロジェクト531またはプロジェクト532の対応するデータを、読出されたデータで上書きする(ステップU7)。一方、プロジェクトマネージャ5114は、同じデータの型がプロジェクト531またはプロジェクト532に存在しないと判定すると(ステップU5でNO)、プロジェクトマネージャ5114は、データ160またはデータ260から読出されたデータを、プロジェクト531またはプロジェクト532に作成する(ステップU9)。ステップU7およびステップU9の処理により、プロジェクトの生成処理がなされる。 When the project manager 5114 determines that the same data type exists in the project 531 or the project 532 (YES in step U5), the project manager 5114 reads the corresponding data of the project 531 or the project 532 in the area E5. Overwrite with (step U7). On the other hand, when the project manager 5114 determines that the same data type does not exist in the project 531 or the project 532 (NO in step U5), the project manager 5114 reads the data read from the data 160 or the data 260 into the project 531 or the project 531. Created in project 532 (step U9). The project generation process is performed by the processes of steps U7 and U9.

プロジェクトマネージャ5114は、受信したデータ160およびデータ260の各データを用いたプロジェクト531およびプロジェクト532を含むプロジェクト530の生成処理が終了したか否かを判定する(ステップU11)。処理が終了したと判定すると(ステップU11でYES)、プロジェクトの生成処理は終了する。終了していないと判定されると(ステップU11でNO)、ステップU3に戻り、データ160およびデータ260に含まれる次のデータについて、ステップU5以降のプロジェクトの生成処理が上述と同様に実施される。 The project manager 5114 determines whether or not the generation process of the project 530 including the project 531 and the project 532 using the received data 160 and the data 260 is completed (step U11). When it is determined that the process is completed (YES in step U11), the project generation process ends. If it is determined that the process has not been completed (NO in step U11), the process returns to step U3, and the project generation process after step U5 is performed for the next data included in the data 160 and the data 260 in the same manner as described above. ..

図12は、本発明の実施の形態に係るプロジェクトのデータの一覧の表示例の模式図である。図12を参照して、プロジェクトマネージャ5114は、領域E5に格納された標準コントローラのプロジェクト531およびセーフティコントローラのプロジェクト532を構成するデータを視認可能なように、ディスプレイ509に一覧で表示させる。 FIG. 12 is a schematic diagram of a display example of a list of data of the project according to the embodiment of the present invention. With reference to FIG. 12, the project manager 5114 displays a list of data constituting the standard controller project 531 and the safety controller project 532 stored in the area E5 on the display 509 so as to be visible.

(e2:パラメータ群のアップロードの手順)
図13は、本発明の実施の形態に係るアップロード処理におけるデータの流れを示す模式図である。図11にステップU3において、パラメータ群130、低サイズ化パラメータ群2109、CRCデータ2108およびセーフティプログラム2104のアップロードの流れの具体例を、図13を参照して説明する。
(E2: Procedure for uploading parameter group)
FIG. 13 is a schematic diagram showing a data flow in the upload process according to the embodiment of the present invention. A specific example of the upload flow of the parameter group 130, the size reduction parameter group 2109, the CRC data 2108, and the safety program 2104 in step U3 will be described with reference to FIG.

図13を参照して、アップロードツール5113は、標準コントローラ100からパラメータ群130をアップロードする(フローS1)。また、アップロードツール5113は、セーフティコントローラ200から低サイズ化パラメータ群2109をアップロードする(フローS2)。また、アップロードツール5113は、セーフティコントローラ200からセーフティプログラム2104とCRCデータ2108をアップロードする(フローS3)。 With reference to FIG. 13, the upload tool 5113 uploads the parameter group 130 from the standard controller 100 (flow S1). Further, the upload tool 5113 uploads the size reduction parameter group 2109 from the safety controller 200 (flow S2). Further, the upload tool 5113 uploads the safety program 2104 and the CRC data 2108 from the safety controller 200 (flow S3).

プロジェクトマネージャ5114は、フローS2で受信した低サイズ化パラメータ群2109から復元パラメータ群を生成し(ステップU13)、所定条件が満たされたとき、生成された復元パラメータ群で、フローS1で転送されたパラメータ群130を上書きする(ステップU12)。 The project manager 5114 generated a restoration parameter group from the reduction parameter group 2109 received in the flow S2 (step U13), and when a predetermined condition was satisfied, the generated restoration parameter group was transferred in the flow S1. Overwrite the parameter group 130 (step U12).

照合部5115が、フローS1で標準コントローラ100から受信したパラメータ群130から算出されたCRCデータと、フローS3でセーフティコントローラ200から受信したCRCデータ2108を照合する(ステップU13)。上記の所定条件は、照合の結果が、算出されたCRCデータがCRCデータ2108に一致しないことを示す。 The collation unit 5115 collates the CRC data calculated from the parameter group 130 received from the standard controller 100 in the flow S1 with the CRC data 2108 received from the safety controller 200 in the flow S3 (step U13). The above predetermined condition indicates that the result of the collation does not match the calculated CRC data with the CRC data 2108.

ここで、制御システム1に適用されるセーフティシステムでは、セーフティコントローラ200の操作は、限られた操作者に対してのみ許可されている。したがって、セーフティコントローラ200に格納された低サイズ化パラメータ群2109およびCRCデータ2108が意図せずに変更(改ざん等)される可能性は低い。このような状況から、上記の所定条件が満たされたときは、標準コントローラ100からのパラメータ群130よりも、低サイズ化パラメータ群2109から復元された復元パラメータ群の方が高い正当性を有する。 Here, in the safety system applied to the control system 1, the operation of the safety controller 200 is permitted only to a limited number of operators. Therefore, it is unlikely that the size reduction parameter group 2109 and the CRC data 2108 stored in the safety controller 200 are unintentionally changed (tampered with, etc.). Under such circumstances, when the above predetermined conditions are satisfied, the restored parameter group restored from the reduced size parameter group 2109 has higher validity than the parameter group 130 from the standard controller 100.

これにより、上記の所定条件が満たされたときは、上記のプロジェクト生成処理により生成される標準コントローラのプロジェクト531のパラメータ群130を、セーフティコントローラ200からアップロードされた低サイズ化パラメータ群2109の復元パラメータ群と同じ内容を示すように変更(上書き)することで、サポート装置500において、より確かなパラメータ群の復元とプロジェクト530の復元が可能となる。 As a result, when the above-mentioned predetermined conditions are satisfied, the parameter group 130 of the project 531 of the standard controller generated by the above-mentioned project generation process is restored to the restoration parameters of the low-size parameter group 2109 uploaded from the safety controller 200. By changing (overwriting) so as to show the same contents as the group, it is possible to restore the parameter group more reliably and the project 530 in the support device 500.

(e3:ダウンロード処理とコネクション確立)
図14は、本実施の形態に係る制御システム1におけるパラメータ群のダウンロードのフローの一例を示す模式図である。図15は、本実施の形態に係る制御システム1におけるパラメータ群のダウンロードのシーケンスの一例を示す模式図である。図14中のフローS11~S15は、図10中のフローS11~S15に対応する。本実施の形態では、例えば制御システム1の起動時などにダウンロード処理が実施される。ダウンロード処理におけるパラメータ群の転送では、サポート装置500は各セーフティドライバ300に対し、標準コントローラ100を経てSRAのパラメータ群の転送を実施し、また、サポート装置500は、セーフティコントローラ200に対し、低サイズ化パラメータ群2109とCRCデータ2108を転送する。
(E3: Download processing and connection establishment)
FIG. 14 is a schematic diagram showing an example of the flow of downloading the parameter group in the control system 1 according to the present embodiment. FIG. 15 is a schematic diagram showing an example of a sequence of downloading a parameter group in the control system 1 according to the present embodiment. The flows S11 to S15 in FIG. 14 correspond to the flows S11 to S15 in FIG. In this embodiment, the download process is performed, for example, when the control system 1 is started. In the transfer of the parameter group in the download process, the support device 500 transfers the parameter group of the SRA to each safety driver 300 via the standard controller 100, and the support device 500 transfers the parameter group of the SRA to the safety controller 200 in a low size. The conversion parameter group 2109 and the CRC data 2108 are transferred.

図14および図15を参照して、パラメータ群130を各セーフティドライバ300に転送するシーケンスを説明する。まず、サポート装置500では、ダウンロードツール5112は、パラメータ群130を標準コントローラ100に転送する(ステップD1、フローS11)。パラメータ群130は、領域E7から読出された変更パラメータ群65に相当する。具体的には、パラメータ生成プログラム5105は、入力部506から受付けたユーザ操作に従い、初期パラメータ群60を変更する。これにより、変更パラメータ群65(パラメータ群130)が生成される。 A sequence of transferring the parameter group 130 to each safety driver 300 will be described with reference to FIGS. 14 and 15. First, in the support device 500, the download tool 5112 transfers the parameter group 130 to the standard controller 100 (step D1, flow S11). The parameter group 130 corresponds to the change parameter group 65 read from the area E7. Specifically, the parameter generation program 5105 changes the initial parameter group 60 according to the user operation received from the input unit 506. As a result, the change parameter group 65 (parameter group 130) is generated.

また、プロジェクトマネージャ5114は、領域E7の変更パラメータ群65に対し低サイズ化プログラム5106を実行することにより、低サイズ化パラメータ群2109を生成する(ステップD2)。また、プロジェクトマネージャ5114は、領域E7の変更パラメータ群65に対しCRC算出プログラム5107を起動することにより、CRCデータ2108を算出する(ステップD2)。 Further, the project manager 5114 generates the size reduction parameter group 2109 by executing the size reduction program 5106 for the change parameter group 65 in the area E7 (step D2). Further, the project manager 5114 calculates the CRC data 2108 by invoking the CRC calculation program 5107 for the change parameter group 65 in the area E7 (step D2).

ダウンロードツール5112は、低サイズ化パラメータ群2109とCRCデータ2108を、セーフティコントローラ200に転送する(ステップD3、フローS12)。 The download tool 5112 transfers the low size parameter group 2109 and the CRC data 2108 to the safety controller 200 (step D3, flow S12).

標準コントローラ100は、サポート装置500からパラメータ群130を受信し(ステップD5)、EtherCATの初期化コマンドとともにパラメータ群130をセーフティドライバ300に転送する(ステップD7、フローS13)。また、セーフティドライバ300は、標準コントローラ100からパラメータ群130を受信し、受信したパラメータ群130を領域E4に格納する(ステップD15)。 The standard controller 100 receives the parameter group 130 from the support device 500 (step D5), and transfers the parameter group 130 to the safety driver 300 together with the EtherCAT initialization command (step D7, flow S13). Further, the safety driver 300 receives the parameter group 130 from the standard controller 100, and stores the received parameter group 130 in the area E4 (step D15).

これにより、セーフティコントローラ200に、サポート装置500がプロジェクト530を復元するために用いるパラメータ群を転送して記憶させておくことができる。したがって、アップロードツール5113が制御システム1からパラメータ群を取得するための経路として、図13のフローS1およびS4などの複数の経路を提供することができる。また、ダウンロード時には、低サイズ化パラメータ群2109が転送されることで、フィールドネットワーク2に係る通信負荷を抑制することが可能になる。 As a result, the safety controller 200 can transfer and store the parameter group used by the support device 500 for restoring the project 530. Therefore, the upload tool 5113 can provide a plurality of routes such as the flows S1 and S4 in FIG. 13 as a route for acquiring the parameter group from the control system 1. Further, at the time of download, the reduction parameter group 2109 is transferred, so that the communication load related to the field network 2 can be suppressed.

セーフティドライバ300は、領域E4のパラメータ群130から、CRC算出プログラム3204により、CRCデータを生成(算出)する(ステップD17)。また、セーフティコントローラ200は、低サイズ化パラメータ群2109およびCRCデータ2108を、サポート装置500から受信し、領域E2および領域E3にそれぞれ格納する(ステップD9)。 The safety driver 300 generates (calculates) CRC data from the parameter group 130 in the region E4 by the CRC calculation program 3204 (step D17). Further, the safety controller 200 receives the reduction parameter group 2109 and the CRC data 2108 from the support device 500 and stores them in the area E2 and the area E3, respectively (step D9).

セーフティコントローラ200は、セーフティドライバ300と論理コネクション4を確立する場合に、FSoEのコネクション確立要求をセーフティドライバ300に送信する(ステップD11、フローS14)。セーフティコントローラ200は、コネクション確立要求が備えるパラメータに、領域E3から読出したCRCデータ2108を設定する。 When the safety controller 200 establishes the logical connection 4 with the safety driver 300, the safety controller 200 transmits an FSoE connection establishment request to the safety driver 300 (step D11, flow S14). The safety controller 200 sets the CRC data 2108 read from the area E3 in the parameter included in the connection establishment request.

セーフティドライバ300は、セーフティコントローラ200からコネクション確立要求とともにCRCデータ2108を受信する(ステップD19)。セーフティドライバ300は、照合プログラム3205により、ステップD17で生成されたCRCデータ(すなわちパラメータ群130から生成されたCRCデータ)を、ステップD19で受信されたCRCデータ2108と照合する(ステップD21)。 The safety driver 300 receives the CRC data 2108 from the safety controller 200 together with the connection establishment request (step D19). The safety driver 300 collates the CRC data generated in step D17 (that is, the CRC data generated from the parameter group 130) with the CRC data 2108 received in step D19 by the collation program 3205 (step D21).

セーフティドライバ300は、照合の結果に基き、ステップD17で生成されたCRCデータはCRCデータ2108に一致するか否かを判断する(ステップD23)。セーフティドライバ300は、一致を示すと判断すると(ステップD23でYES)、確立要求を受入れて「OK」の応答を生成しセーフティコントローラ200に送信する(ステップD25)。その後、セーフティコントローラ200との間で論理コネクション4を確立させる。また、セーフティドライバ300は、照合の結果が、ステップD17で生成されたCRCデータはCRCデータ2108に一致しないことを示すと判断すると(ステップD23でNO)、確立要求を拒否する「NG」の応答を生成しセーフティコントローラ200に送信する(ステップD27、フローS15)。セーフティコントローラ200は、確立要求の応答として、セーフティドライバ300からOKまたはNGの応答を受信する(ステップD13、フローS15)。 The safety driver 300 determines whether or not the CRC data generated in step D17 matches the CRC data 2108 based on the collation result (step D23). When the safety driver 300 determines that the match is shown (YES in step D23), the safety driver 300 accepts the establishment request, generates an "OK" response, and transmits the response to the safety controller 200 (step D25). After that, the logical connection 4 is established with the safety controller 200. Further, when the safety driver 300 determines that the collation result indicates that the CRC data generated in step D17 does not match the CRC data 2108 (NO in step D23), the response of "NG" rejecting the establishment request. Is generated and transmitted to the safety controller 200 (step D27, flow S15). The safety controller 200 receives an OK or NG response from the safety driver 300 as a response to the establishment request (step D13, flow S15).

このように、セーフティコントローラ200が保持するCRCデータ2108は、セーフティドライバ300とセーフティコントローラ200との間のコネクション確立の可否の判定と、サポート装置500がアップロード処理において複数経路から受信したパラメータ群の正当性の判定との両方に用いることができる。 As described above, the CRC data 2108 held by the safety controller 200 determines whether or not a connection can be established between the safety driver 300 and the safety controller 200, and the validity of the parameter group received from the plurality of routes by the support device 500 in the upload process. It can be used for both sex determination.

(e4:変形例)
セーフティコントローラ200の領域E2には、低サイズ化されたパラメータ群が格納されたが、低サイズ化されず元のサイズのまま、すなわちパラメータ群130と同様のパラメータ群が格納されてもよい。また、サポート装置500は、アップロードされたパラメータ群130(または低サイズ化パラメータ群2109)をプロジェクト530の生成処理に用いたが、適用する処理はプロジェクト530の生成に限定されない。
(E4: Modification example)
The reduced size parameter group is stored in the area E2 of the safety controller 200, but the original size may be stored without being reduced in size, that is, the same parameter group as the parameter group 130 may be stored. Further, the support device 500 uses the uploaded parameter group 130 (or the size reduction parameter group 2109) for the generation process of the project 530, but the process to be applied is not limited to the generation of the project 530.

本実施の形態では、パラメータ群130(または低サイズ化パラメータ群2109)は標準コントローラ100を経てセーフティドライバ300に転送され(図11)、またCRCデータ2108は標準コントローラ100を経てセーフティドライバ300に転送されるが(図11)、転送ルートはこれに限定されない。例えば、パラメータ群130(または低サイズ化パラメータ群2109)またはCRCデータ2108は、標準コントローラ100を経ないで、サポート装置500からセーフティドライバ300に転送されてもよい。 In this embodiment, the parameter group 130 (or the size reduction parameter group 2109) is transferred to the safety driver 300 via the standard controller 100 (FIG. 11), and the CRC data 2108 is transferred to the safety driver 300 via the standard controller 100. However, the forwarding route is not limited to this (FIG. 11). For example, the parameter group 130 (or the size reduction parameter group 2109) or the CRC data 2108 may be transferred from the support device 500 to the safety driver 300 without going through the standard controller 100.

また、本実施の形態では、標準コントローラ100はセーフティドライバ300へ転送される(フローS13)パラメータ群130の格納領域と、サポート装置500へ転送される(フローS1)パラメータ群130の格納領域とを同一の領域E1にしたが、格納領域は独立していてもよい。例えば、標準コントローラ100は、セーフティドライバ300へ転送されるパラメータ群130を格納する領域と、この領域とは独立して、サポート装置500へ転送されるパラメータ群130を格納する領域を備えてもよい。 Further, in the present embodiment, the standard controller 100 has a storage area of the parameter group 130 transferred to the safety driver 300 (flow S13) and a storage area of the parameter group 130 transferred to the support device 500 (flow S1). Although the same area E1 is used, the storage areas may be independent. For example, the standard controller 100 may include an area for storing the parameter group 130 transferred to the safety driver 300 and an area for storing the parameter group 130 transferred to the support device 500 independently of this area. ..

<F.付記>
上述したような本実施の形態は、以下のような技術思想を含む。
<F. Addendum>
The present embodiment as described above includes the following technical ideas.

[構成1]
第1のコントローラ(100)と、
前記第1のコントローラからの第1の指令に従ってモータ(400)を駆動するドライブ装置(300)と、
前記ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラ(200)と、
前記第1のコントローラに接続可能なサポート装置(500)と、を備え、
前記ドライブ装置は、パラメータ群(130)を参照しながら、前記第2の指令に従いセーフティプログラム(3202)を実行し、
前記第1のコントローラは、
前記パラメータ群を格納するための第1の格納領域(E1)を含み、前記サポート装置から受信する要求に従い、前記第1の格納領域の前記パラメータ群を前記サポート装置へ転送し、
前記第2のコントローラは、
前記サポート装置から受信する前記要求を従い、前記サポート装置へ転送される前記パラメータ群を格納するための第2の格納領域(E2)を含む、制御システム(1)。
[Structure 1]
The first controller (100) and
A drive device (300) for driving a motor (400) according to a first command from the first controller.
A second controller (200) that transmits a second command relating to the operation of the safety function to the drive device, and
A support device (500) that can be connected to the first controller is provided.
The drive device executes the safety program (3202) in accordance with the second command with reference to the parameter group (130).
The first controller is
A first storage area (E1) for storing the parameter group is included, and the parameter group of the first storage area is transferred to the support device according to a request received from the support device.
The second controller is
A control system (1) including a second storage area (E2) for storing the parameter group transferred to the support device according to the request received from the support device.

[構成2]
前記第2のコントローラは、
前記第2の格納領域に前記サポート装置で復元可能に低サイズ化された前記パラメータ群(2109)を格納する、構成1に記載の制御システム。
[Structure 2]
The second controller is
The control system according to configuration 1, wherein the parameter group (2109) that has been reduced in size so that it can be restored by the support device is stored in the second storage area.

[構成3]
前記サポート装置は、
前記第1のコントローラからの前記第1の格納領域のパラメータ群と、前記第2のコントローラからの前記第2の格納領域のパラメータ群を照合する照合部(5115)を含み、
前記照合の結果に従い、前記第1の格納領域のパラメータ群および前記第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元する、構成1または2に記載の制御システム。
[Structure 3]
The support device is
A collating unit (5115) for collating the parameter group of the first storage area from the first controller and the parameter group of the second storage area from the second controller is included.
The control according to configuration 1 or 2, wherein one of the parameter group of the first storage area and the parameter group of the second storage area is selected according to the result of the collation, and the selected parameter group is restored. system.

[構成4]
前記第2のコントローラは、さらに、
前記第2の格納領域のパラメータ群から、所定式に従い算出される当該パラメータ群の正当性を示す第2のデータ(2108)を格納する領域(E3)を、含み、
前記照合部は、
前記第1の格納領域のパラメータ群から、前記所定式に従い算出される当該パラメータ群の正当性を示す第1のデータを、前記第2のコントローラから受信する前記第2のデータと照合する、構成3に記載の制御システム。
[Structure 4]
The second controller further
From the parameter group of the second storage area, the area (E3) for storing the second data (2108) indicating the validity of the parameter group calculated according to a predetermined formula is included.
The collation unit
A configuration in which the first data indicating the validity of the parameter group calculated according to the predetermined formula from the parameter group of the first storage area is collated with the second data received from the second controller. 3. The control system according to 3.

[構成5]
前記第1のコントローラ、前記ドライブ装置および前記第2のコントローラの間で、データを互いに共有するためのネットワーク(2)を、さらに備え、
前記第2の指令は、前記第2のコントローラと前記ドライブ装置との間に前記ネットワークを利用して形成されるコネクション(4)を介して送信され、
前記ドライブ装置は、
前記第1のデータが、前記第2のコントローラから受信する前記第2のデータと一致するとき、当該ドライブ装置と前記第2のコントローラとの間の前記コネクションを確立する、構成4に記載の制御システム。
[Structure 5]
A network (2) for sharing data with each other between the first controller, the drive device, and the second controller is further provided.
The second command is transmitted via a connection (4) formed between the second controller and the drive device using the network.
The drive device is
The control according to configuration 4, which establishes the connection between the drive device and the second controller when the first data matches the second data received from the second controller. system.

[構成6]
制御システム(1)に接続されるサポート装置(500)であって、
前記制御システムは、
第1のコントローラ(100)と、
前記第1のコントローラからの第1の指令に従ってモータ(400)を駆動するドライブ装置(300)と、
前記ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラ(200)と、を備え、
前記ドライブ装置は、パラメータ群(130)を参照しながら、前記第2の指令に従いセーフティプログラム(3202)を実行し、
前記第1のコントローラは、
前記パラメータ群を格納するための第1の格納領域(E1)を含み、前記サポート装置から受信する要求に従い、前記第1の格納領域の前記パラメータ群を前記サポート装置へ転送し、
前記第2のコントローラは、
前記サポート装置から受信する前記要求を従い、前記サポート装置へ転送される前記パラメータ群を格納するための第2の格納領域(E2)を含み、
前記サポート装置は、
前記第1のコントローラからの前記第1の格納領域のパラメータ群と、前記第2のコントローラからの前記第2の格納領域のパラメータ群を照合する照合部を含み、
前記照合の結果に従い、前記第1の格納領域のパラメータ群および前記第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元する、サポート装置。
[Structure 6]
A support device (500) connected to the control system (1).
The control system is
The first controller (100) and
A drive device (300) for driving a motor (400) according to a first command from the first controller.
A second controller (200) for transmitting a second command relating to the operation of the safety function to the drive device is provided.
The drive device executes the safety program (3202) in accordance with the second command with reference to the parameter group (130).
The first controller is
A first storage area (E1) for storing the parameter group is included, and the parameter group of the first storage area is transferred to the support device according to a request received from the support device.
The second controller is
A second storage area (E2) for storing the parameter group transferred to the support device according to the request received from the support device is included.
The support device is
A collating unit for collating the parameter group of the first storage area from the first controller with the parameter group of the second storage area from the second controller is included.
A support device that selects one of the parameter group of the first storage area and the parameter group of the second storage area according to the result of the collation, and restores the selected parameter group.

[構成7]
制御システム(1)に接続される情報処理装置(500)で実行されるプログラムであって、
前記制御システムは、
第1のコントローラ(100)と、
前記第1のコントローラからの第1の指令に従ってモータ(400)を駆動するドライブ装置(300)と、
前記ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラ(200)と、を備え、
前記ドライブ装置は、パラメータ群を参照しながら、前記第2の指令に従いセーフティプログラム(3202)を実行し、
前記第1のコントローラは、
前記パラメータ群を格納するための第1の格納領域(E1)を含み、前記情報処理装置から受信する要求に従い、前記第1の格納領域の前記パラメータ群を前記情報処理装置へ転送し、
前記第2のコントローラは、
前記情報処理装置から受信する前記要求を従い、前記情報処理装置へ転送される前記パラメータ群を格納するための第2の格納領域(E2)を含み、
前記プログラムは、前記情報処理装置のプロセッサ(502)に、
前記第1のコントローラからの前記第1の格納領域のパラメータ群と、前記第2のコントローラからの前記第2の格納領域のパラメータ群を照合するステップ(U12)と、
前記照合の結果に従い、前記第1の格納領域のパラメータ群および前記第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元するステップ(U13)と、を実行させる、プログラム。
[Structure 7]
A program executed by an information processing device (500) connected to a control system (1).
The control system is
The first controller (100) and
A drive device (300) for driving a motor (400) according to a first command from the first controller.
A second controller (200) for transmitting a second command relating to the operation of the safety function to the drive device is provided.
The drive device executes the safety program (3202) in accordance with the second command while referring to the parameter group.
The first controller is
A first storage area (E1) for storing the parameter group is included, and the parameter group of the first storage area is transferred to the information processing device according to a request received from the information processing device.
The second controller is
A second storage area (E2) for storing the parameter group transferred to the information processing device according to the request received from the information processing device is included.
The program is applied to the processor (502) of the information processing apparatus.
A step (U12) of collating the parameter group of the first storage area from the first controller with the parameter group of the second storage area from the second controller.
According to the result of the collation, one of the parameter group of the first storage area and the parameter group of the second storage area is selected, and the step (U13) of restoring the selected parameter group is executed. ,program.

<G.利点>
サポート装置500が、プロジェクト530を復元するには従来、以下の3つのケースがある。
<G. Advantages>
Conventionally, there are the following three cases for the support device 500 to restore the project 530.

(i)標準コントローラ100とセーフティコントローラ200から、同時に、プログラムおよびデータをアップロードすることにより、プロジェクト530全体を復元する、または、サポート装置500に既存のプロジェクト530のパラメータ群130のみを更新するケース。 (I) A case where the entire project 530 is restored by uploading programs and data from the standard controller 100 and the safety controller 200 at the same time, or only the parameter group 130 of the existing project 530 is updated in the support device 500.

(ii)標準コントローラ100のみからプログラムおよびデータをアップロードすることにより、プロジェクト531を復元する、または、既存のプロジェクト531のパラメータ群130を更新するケース。 (Ii) A case where the project 531 is restored or the parameter group 130 of the existing project 531 is updated by uploading the program and data only from the standard controller 100.

(iii)セーフティコントローラ200のみからプログラムおよびデータをアップロードすることにより、プロジェクト532を復元する、もしくは、既存のプロジェクト532のパラネータ群を更新するケース。 (Iii) A case where the project 532 is restored or the paranetor group of the existing project 532 is updated by uploading the program and data only from the safety controller 200.

ケース(i)と(ii)は、本実施の形態に係るプロジェクトマネージャ5114を適用しなくてもプロジェクトを復元可能である。これに対して、従来は、セーフティコントローラ200はSRAのパラメータ群を備えないために、ケース(iii)では、サポート装置500にパラメータ群130をアップロードすることができず、サポート装置500は、制御システム1からパラメータ群130を取得することができない。この点、本実施の形態では、セーフティコントローラ200は、パラメータ群130を復元可能な低サイズ化パラメータ群2109を格納するための領域E2を備えることにより、上記のケース(iii)であっても、サポート装置500は、制御システム1のパラメータ群130および当該パラメータ群130を含むプロジェクト530を復元することが可能となる。 In cases (i) and (ii), the project can be restored without applying the project manager 5114 according to the present embodiment. On the other hand, conventionally, since the safety controller 200 does not have the parameter group of SRA, in the case (iii), the parameter group 130 cannot be uploaded to the support device 500, and the support device 500 is a control system. The parameter group 130 cannot be obtained from 1. In this regard, in the present embodiment, the safety controller 200 includes the area E2 for storing the low-sized parameter group 2109 that can restore the parameter group 130, so that even in the above case (iii), the safety controller 200 is provided. The support device 500 can restore the parameter group 130 of the control system 1 and the project 530 including the parameter group 130.

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

1 制御システム、2 フィールドネットワーク、4 論理コネクション、60 初期パラメータ群、65 変更パラメータ群、100 標準コントローラ、130 パラメータ群、200 セーフティコントローラ、300 セーフティドライバ、500 サポート装置、530,531,532 プロジェクト、2109 低サイズ化パラメータ群、3202 モーションセーフティプログラム、3204,5107 CRC算出プログラム、3205,5108 照合プログラム、5104 サポートプログラム、5105 パラメータ生成プログラム、5106 低サイズ化プログラム、5109 ロードプログラム、5110 プロジェクト管理プログラム、5111 ロードツール、5112 ダウンロードツール、5113 アップロードツール、5114 プロジェクトマネージャ、5115 照合部、E1,E2,E3,E4,E5,E6,E7 領域、S1,S2,S3,S4,S5,S11,S12,S13,S14,S15 フロー。 1 Control system, 2 Field network, 4 Logical connection, 60 Initial parameter group, 65 Change parameter group, 100 Standard controller, 130 Parameter group, 200 Safety controller, 300 Safety driver, 500 Support device, 530, 531, 532 project, 2109 Reducing parameters, 3202 motion safety program, 3204,5107 CRC calculation program, 3205, 5108 collation program, 5104 support program, 5105 parameter generation program, 5106 miniaturization program, 5109 load program, 5110 project management program, 5111 load. Tools, 5112 Download Tools, 5113 Upload Tools, 5114 Project Manager, 5115 Collation Units, E1, E2, E3, E4, E5, E6, E7 Areas, S1, S2, S3, S4, S5, S11, S12, S13, S14 , S15 flow.

Claims (6)

第1のコントローラと、
前記第1のコントローラからの第1の指令に従ってモータを駆動するドライブ装置と、
前記ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラと、
前記第1のコントローラに接続可能なサポート装置と、を備え、
前記ドライブ装置は、パラメータ群を参照しながら、前記第2の指令に従いセーフティプログラムを実行し、
前記第1のコントローラは、
前記パラメータ群を格納するための第1の格納領域を含み、前記サポート装置から受信する要求に従い、前記第1の格納領域の前記パラメータ群を前記サポート装置へ転送し、
前記第2のコントローラは、
前記サポート装置から受信する前記要求従い、前記サポート装置へ転送される前記パラメータ群を格納するための第2の格納領域を含み、
前記サポート装置は、
前記第1のコントローラからの前記第1の格納領域のパラメータ群と、前記第2のコントローラからの前記第2の格納領域のパラメータ群を照合する照合部を含み、
前記照合の結果に従い、前記第1の格納領域のパラメータ群および前記第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元する、制御システム。
With the first controller
A drive device that drives the motor according to the first command from the first controller, and
A second controller that transmits a second command related to the operation of the safety function to the drive device, and
A support device that can be connected to the first controller is provided.
The drive device executes the safety program in accordance with the second command while referring to the parameter group.
The first controller is
A first storage area for storing the parameter group is included, and the parameter group of the first storage area is transferred to the support device according to a request received from the support device.
The second controller is
A second storage area for storing the parameter group transferred to the support device according to the request received from the support device is included.
The support device is
A collating unit for collating the parameter group of the first storage area from the first controller with the parameter group of the second storage area from the second controller is included.
A control system that selects one of the parameter group of the first storage area and the parameter group of the second storage area according to the result of the collation, and restores the selected parameter group .
前記第2のコントローラは、
前記第2の格納領域に前記サポート装置で復元可能に低サイズ化された前記パラメータ群を格納する、請求項1に記載の制御システム。
The second controller is
The control system according to claim 1, wherein the parameter group that has been reduced in size so that it can be restored by the support device is stored in the second storage area.
前記第2のコントローラは、さらに、
前記第2の格納領域のパラメータ群から、所定式に従い算出される当該パラメータ群の正当性を示す第2のデータを格納する領域を、含み、
前記照合部は、
前記第1の格納領域のパラメータ群から、前記所定式に従い算出される当該パラメータ群の正当性を示す第1のデータを、前記第2のコントローラから受信する前記第2のデータと照合する、請求項1または2に記載の制御システム。
The second controller further
A region for storing a second data indicating the validity of the parameter group calculated according to a predetermined formula from the parameter group of the second storage area is included.
The collation unit
A claim for collating the first data indicating the validity of the parameter group calculated according to the predetermined formula from the parameter group of the first storage area with the second data received from the second controller. Item 2. The control system according to Item 1 or 2 .
前記第1のコントローラ、前記ドライブ装置および前記第2のコントローラの間で、データを互いに共有するためのネットワークを、さらに備え、
前記第2の指令は、前記第2のコントローラと前記ドライブ装置との間に前記ネットワークを利用して形成されるコネクションを介して送信され、
前記ドライブ装置は、
前記第1のデータが、前記第2のコントローラから受信する前記第2のデータと一致するとき、当該ドライブ装置と前記第2のコントローラとの間の前記コネクションを確立する、請求項に記載の制御システム。
Further comprising a network for sharing data with each other between the first controller, the drive device and the second controller.
The second command is transmitted via a connection formed between the second controller and the drive device using the network.
The drive device is
3. The third aspect of the present invention, wherein when the first data matches the second data received from the second controller, the connection between the drive device and the second controller is established. Control system.
制御システムに接続されるサポート装置であって、
前記制御システムは、
第1のコントローラと、
前記第1のコントローラからの第1の指令に従ってモータを駆動するドライブ装置と、
前記ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラと、を備え、
前記ドライブ装置は、パラメータ群を参照しながら、前記第2の指令に従いセーフティプログラムを実行し、
前記第1のコントローラは、
前記パラメータ群を格納するための第1の格納領域を含み、前記サポート装置から受信する要求に従い、前記第1の格納領域の前記パラメータ群を前記サポート装置へ転送し、
前記第2のコントローラは、
前記サポート装置から受信する前記要求従い、前記サポート装置へ転送される前記パラメータ群を格納するための第2の格納領域を含み、
前記サポート装置は、
前記第1のコントローラからの前記第1の格納領域のパラメータ群と、前記第2のコントローラからの前記第2の格納領域のパラメータ群を照合する照合部を含み、
前記照合の結果に従い、前記第1の格納領域のパラメータ群および前記第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元する、サポート装置。
A support device connected to the control system
The control system is
With the first controller
A drive device that drives the motor according to the first command from the first controller, and
A second controller for transmitting a second command relating to the operation of the safety function to the drive device is provided.
The drive device executes the safety program in accordance with the second command while referring to the parameter group.
The first controller is
A first storage area for storing the parameter group is included, and the parameter group of the first storage area is transferred to the support device according to a request received from the support device.
The second controller is
A second storage area for storing the parameter group transferred to the support device according to the request received from the support device is included.
The support device is
A collating unit for collating the parameter group of the first storage area from the first controller with the parameter group of the second storage area from the second controller is included.
A support device that selects one of the parameter group of the first storage area and the parameter group of the second storage area according to the result of the collation, and restores the selected parameter group.
制御システムに接続される情報処理装置で実行されるプログラムであって、
前記制御システムは、
第1のコントローラと、
前記第1のコントローラからの第1の指令に従ってモータを駆動するドライブ装置と、
前記ドライブ装置に対してセーフティ機能の動作に係る第2の指令を送信する第2のコントローラと、を備え、
前記ドライブ装置は、パラメータ群を参照しながら、前記第2の指令に従いセーフティプログラムを実行し、
前記第1のコントローラは、
前記パラメータ群を格納するための第1の格納領域を含み、前記情報処理装置から受信する要求に従い、前記第1の格納領域の前記パラメータ群を前記情報処理装置へ転送し、
前記第2のコントローラは、
前記情報処理装置から受信する前記要求従い、前記情報処理装置へ転送される前記パラメータ群を格納するための第2の格納領域を含み、
前記プログラムは、前記情報処理装置のプロセッサに、
前記第1のコントローラからの前記第1の格納領域のパラメータ群と、前記第2のコントローラからの前記第2の格納領域のパラメータ群を照合するステップと、
前記照合の結果に従い、前記第1の格納領域のパラメータ群および前記第2の格納領域のパラメータ群のうちの一方を選択し、選択されたパラメータ群を復元するステップと、を実行させる、プログラム。
A program executed by an information processing device connected to a control system.
The control system is
With the first controller
A drive device that drives the motor according to the first command from the first controller, and
A second controller for transmitting a second command relating to the operation of the safety function to the drive device is provided.
The drive device executes the safety program in accordance with the second command while referring to the parameter group.
The first controller is
A first storage area for storing the parameter group is included, and the parameter group of the first storage area is transferred to the information processing device according to a request received from the information processing device.
The second controller is
A second storage area for storing the parameter group transferred to the information processing device according to the request received from the information processing device is included.
The program is applied to the processor of the information processing device.
A step of collating the parameter group of the first storage area from the first controller with the parameter group of the second storage area from the second controller.
A program that selects one of the parameter group of the first storage area and the parameter group of the second storage area according to the result of the collation, and executes a step of restoring the selected parameter group.
JP2018187586A 2018-10-02 2018-10-02 Control systems, support devices and programs Active JP7063222B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018187586A JP7063222B2 (en) 2018-10-02 2018-10-02 Control systems, support devices and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018187586A JP7063222B2 (en) 2018-10-02 2018-10-02 Control systems, support devices and programs

Publications (2)

Publication Number Publication Date
JP2020057210A JP2020057210A (en) 2020-04-09
JP7063222B2 true JP7063222B2 (en) 2022-05-09

Family

ID=70107358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018187586A Active JP7063222B2 (en) 2018-10-02 2018-10-02 Control systems, support devices and programs

Country Status (1)

Country Link
JP (1) JP7063222B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325010A (en) 2000-05-12 2001-11-22 Omron Corp Programmable controller system
JP2006268485A (en) 2005-03-24 2006-10-05 Fuji Electric Fa Components & Systems Co Ltd Programmable controller, program preparation support device for programmable controller and program preparation support method
JP2006343845A (en) 2005-06-07 2006-12-21 Mitsubishi Electric Corp Programmable controller
JP2007041761A (en) 2005-08-02 2007-02-15 Jtekt Corp Plc for distributed control and distributed control system
JP2018136715A (en) 2017-02-21 2018-08-30 オムロン株式会社 Control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325010A (en) 2000-05-12 2001-11-22 Omron Corp Programmable controller system
JP2006268485A (en) 2005-03-24 2006-10-05 Fuji Electric Fa Components & Systems Co Ltd Programmable controller, program preparation support device for programmable controller and program preparation support method
JP2006343845A (en) 2005-06-07 2006-12-21 Mitsubishi Electric Corp Programmable controller
JP2007041761A (en) 2005-08-02 2007-02-15 Jtekt Corp Plc for distributed control and distributed control system
JP2018136715A (en) 2017-02-21 2018-08-30 オムロン株式会社 Control system

Also Published As

Publication number Publication date
JP2020057210A (en) 2020-04-09

Similar Documents

Publication Publication Date Title
Wijnen et al. Free and open-source control software for 3-D motion and processing
CN112784328B (en) System and method for developing an automated system model
CN110456707B (en) Control device
JP6409557B2 (en) Control device, controller system, output control method, and program
EP3419793B1 (en) Robot controller system, robot arrangement, computer program and method therefor
JP6163748B2 (en) Communication coupler, communication system, control method, and program
Reeser et al. Maintaining HMI and SCADA systems through computer virtualization
WO2013145940A1 (en) Information processing device, information processing method, and program
JP6136228B2 (en) Communication coupler, communication system, control method, and program
JP7063222B2 (en) Control systems, support devices and programs
JP7024677B2 (en) Control system, support device, support program
WO2020105372A1 (en) Control system, control method, and drive device
JP7172397B2 (en) Control systems, support equipment and programs
WO2020179581A1 (en) Control device and software deployment method
JP7040389B2 (en) Control systems, support devices, and support programs
JP7115195B2 (en) Control system, support equipment, support program
JP7200580B2 (en) Control system, support equipment, support program
JP7024678B2 (en) Control system, support device, support program
WO2020105373A1 (en) Control system, support device, and support program
JP6762452B1 (en) Information processing equipment, backup method, restore method and program
Programmer’s Guide

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210831

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220404

R150 Certificate of patent or registration of utility model

Ref document number: 7063222

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150