JP2020071593A - Control apparatus and control method - Google Patents

Control apparatus and control method Download PDF

Info

Publication number
JP2020071593A
JP2020071593A JP2018204062A JP2018204062A JP2020071593A JP 2020071593 A JP2020071593 A JP 2020071593A JP 2018204062 A JP2018204062 A JP 2018204062A JP 2018204062 A JP2018204062 A JP 2018204062A JP 2020071593 A JP2020071593 A JP 2020071593A
Authority
JP
Japan
Prior art keywords
command
processing system
unit
machine tool
motor
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.)
Pending
Application number
JP2018204062A
Other languages
Japanese (ja)
Inventor
多佳彦 松島
Takahiko Matsushima
多佳彦 松島
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2018204062A priority Critical patent/JP2020071593A/en
Publication of JP2020071593A publication Critical patent/JP2020071593A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a control apparatus and a control method capable of reducing a communication time even if a plurality of processing systems are provided outside a communication controller.SOLUTION: A communication controller 20 includes: a first transmitting unit 34 that transmits, to corresponding processing systems 26A and 26B, each of a plurality of signals stored in a storing unit 32 using a common path 22; a substitute inspecting unit 50 that becomes a substitute for an inspecting unit 42 of the first processing system 26A to perform inspection on an error in a signal corresponding to the first processing system 26A when information contained in the plurality of signals stored in the storing unit 32 is specific information; and a second transmitting unit that transmits, to a command creating unit 44 of the first processing system 26A, a signal to be output by the substitute inspecting unit 50 as a correct signal using an exclusive line 24.SELECTED DRAWING: Figure 1

Description

本発明は、工作機械を制御する制御装置および制御方法に関する。   The present invention relates to a control device and a control method for controlling a machine tool.

システムの一部に何らかの障害が発生した場合に備えて、障害発生後でもシステム全体の機能を維持し続けられるように、安全規格が定められている。この安全規格の一環として、工作機械を制御する制御装置の内部における処理系を2重化するなどの安全対策が講じられる場合がある。   In case of some failure in a part of the system, safety standards are set so that the function of the entire system can be maintained even after the failure. As part of this safety standard, there are cases where safety measures are taken such as duplication of the processing system inside the control device that controls the machine tool.

下記の特許文献1には、制御装置と複数の入出力ユニットとが通信路を介して接続されたシステムが開示されている。このシステムの制御装置では、2重化された処理系(CPUおよびメモリ)と、2重化された処理系に接続される通信コントローラとが備えられる。通信コントローラは、入出力ユニットから転送される2重化信号の一方を、2重化された処理系の一方に送り、当該2重化信号の他方を2重化された処理系の他方に送ることで、2重化信号を振り分けている。   The following Patent Document 1 discloses a system in which a control device and a plurality of input / output units are connected via a communication path. The control device of this system includes a dual processing system (CPU and memory) and a communication controller connected to the dual processing system. The communication controller sends one of the duplicated signals transferred from the input / output unit to one of the duplicated processing systems, and sends the other of the duplicated signals to the other of the duplicated processing systems. Therefore, the duplicated signal is distributed.

特開2013−235300号公報JP, 2013-235300, A

ところで、2重化された処理系を通信コントローラの内部に設けたいという要請がある。しかし、安全性向上の目的で2重化された処理系を物理的に分離し、かつ通信コントローラによって振り分けられる信号を処理する時間のずれが生じないように、2つの処理系の配置位置を対称にした状態で、通信コントローラの内部に2つの処理系を設置できない場合がある。   By the way, there is a demand to provide a dual processing system inside the communication controller. However, for the purpose of improving safety, the redundant processing systems are physically separated, and the arrangement positions of the two processing systems are symmetrical so that there is no time lag in processing the signals distributed by the communication controller. In some cases, the two processing systems cannot be installed inside the communication controller.

この場合、2重化された処理系を通信コントローラの外部に設けることになるが、当該通信コントローラと処理系との間をバスで接続すると、バスでの競合や占有率の増加に起因するロスが生じて通信時間が長くなる傾向にある。   In this case, the duplicated processing system is provided outside the communication controller. However, if the communication controller and the processing system are connected by a bus, a loss due to competition on the bus and an increase in occupancy rate will occur. Occurs and the communication time tends to be long.

そこで、本発明は、複数の処理系を通信コントローラの外部に設けても、通信時間を低減し得る制御装置および制御方法を提供することを目的とする。   Therefore, an object of the present invention is to provide a control device and a control method that can reduce the communication time even if a plurality of processing systems are provided outside the communication controller.

本発明の第1の態様は、工作機械を制御する制御装置であって、所定の通信路を介して入出力ユニットと接続され、前記入出力ユニットとの間で、互いに同一の情報を含む複数の信号を授受する通信コントローラと、複数の前記信号の各々に対応して複数設けられ、前記信号の誤りを検査する検査部と、前記検査部から正しいものとして出力される前記信号に基づく指令を生成する指令生成部とを有する処理系と、複数の前記処理系の各々に対して共通で前記通信コントローラと接続する共通路と、複数の前記処理系のいずれか1つの処理系の前記指令生成部に対して専用で前記通信コントローラと接続する専用線と、を備え、前記通信コントローラは、前記入出力ユニットから転送される複数の前記信号が記憶される記憶部と、前記共通路を用いて、前記記憶部に記憶された複数の前記信号の各々を、対応する前記処理系に送出する第1の送出部と、前記記憶部に記憶された複数の前記信号に含まれる前記情報が特定の前記情報である場合には、前記1つの処理系に対応する前記信号の誤りを、前記1つの処理系の前記検査部に代理して検査する代理検査部と、前記専用線を用いて、前記代理検査部から正しいものとして出力される前記信号を前記1つの処理系の前記指令生成部に送出する第2の送出部と、を有する。   A first aspect of the present invention is a control device for controlling a machine tool, wherein a plurality of control devices connected to an input / output unit via a predetermined communication path include the same information as each other. Communication controller for transmitting and receiving the signal, a plurality of inspection units provided corresponding to each of the plurality of signals, for inspecting the error of the signal, and an instruction based on the signal output as correct from the inspection unit. A processing system having a command generation unit for generating, a common path common to each of the plurality of processing systems and connected to the communication controller, and the command generation of any one of the plurality of processing systems. A dedicated line for connecting to the communication controller, the storage unit storing a plurality of the signals transferred from the input / output unit, and the common path. By using each of the plurality of signals stored in the storage unit, a first sending unit that sends out to the corresponding processing system, and the information included in the plurality of signals stored in the storage unit. In the case of the specific information, a proxy inspection unit that inspects the error of the signal corresponding to the one processing system on behalf of the inspection unit of the one processing system, and the dedicated line are used. A second sending unit that sends the signal output as a correct signal from the proxy checking unit to the command generating unit of the one processing system.

本発明の第2の態様は、工作機械を制御する制御装置の制御方法であって、前記制御装置は、所定の通信路を介して入出力ユニットと接続され、前記入出力ユニットとの間で、互いに同一の情報を含む複数の信号を授受する通信コントローラと、複数の前記信号の各々に対応して複数設けられ、前記信号の誤りを検査する検査部と、前記検査部から正しいものとして出力される前記信号に基づく指令を生成する指令生成部とを有する処理系と、複数の前記処理系の各々に対して共通で前記通信コントローラと接続する共通路と、複数の前記処理系のいずれか1つの処理系の前記指令生成部に対して専用で前記通信コントローラと接続する専用線と、を備え、前記入出力ユニットから転送される複数の前記信号を前記通信コントローラの記憶部に記憶する記憶ステップと、前記記憶部に記憶された複数の前記信号に含まれる前記情報が特定の前記情報である場合には、前記1つの処理系に対応する前記信号の誤りを、前記1つの処理系の前記検査部に代理して検査する代理検査ステップと、前記専用線を用いて、前記代理検査ステップを経た正しい前記信号を前記1つの処理系の前記指令生成部に送出する送出ステップと、を含む。   A second aspect of the present invention is a control method of a control device for controlling a machine tool, wherein the control device is connected to an input / output unit via a predetermined communication path, and is connected to the input / output unit. , A communication controller that transmits and receives a plurality of signals containing the same information, a plurality of inspection units provided corresponding to each of the plurality of signals, and an inspection unit for inspecting an error of the signals, and output as a correct one from the inspection unit Any one of a plurality of processing systems, a processing system having a command generation unit that generates a command based on the signal, a common path commonly connected to the communication controller for each of the plurality of processing systems, and a plurality of the processing systems. A dedicated line for connecting to the communication controller, which is dedicated to the command generation unit of one processing system, and stores a plurality of the signals transferred from the input / output unit in the storage unit of the communication controller. If the information included in the storage step of storing and the plurality of the signals stored in the storage unit is the specific information, the error of the signal corresponding to the one processing system is determined by the one A proxy inspecting step for inspecting on behalf of the inspecting section of the processing system; and a sending step for sending out the correct signal after the proxy inspecting step to the command generating section of the one processing system by using the dedicated line. ,including.

これにより、特定の情報を含む信号については、共通路や1つの処理系の内部バスでの競合や占有率の増加に起因するロスを避けることができる。したがって、複数の処理系を通信コントローラの外部に設けても、特定の情報を含む信号の通信時間を低減することができる。   As a result, with respect to the signal including the specific information, it is possible to avoid the loss due to the competition on the common path or the internal bus of one processing system and the increase in the occupation rate. Therefore, even if a plurality of processing systems are provided outside the communication controller, the communication time of a signal including specific information can be reduced.

実施の形態における安全システムを示す模式図である。It is a schematic diagram which shows the safety system in embodiment. 多重化信号の構造を示す模式図である。It is a schematic diagram which shows the structure of a multiplexed signal. 制御装置における第1の信号に対する信号処理の流れを示すフローチャートである。It is a flow chart which shows the flow of signal processing to the 1st signal in a control device.

本発明について、好適な実施の形態を掲げ、添付の図面を参照しながら以下、詳細に説明する。   BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described below in detail with reference to the accompanying drawings with reference to the preferred embodiments.

〔実施の形態〕
図1は、実施の形態における安全システム10を示す模式図である。安全システム10は、工作機械12、複数の入出力ユニット14および制御装置16を備える。
[Embodiment]
FIG. 1 is a schematic diagram showing a safety system 10 according to an embodiment. The safety system 10 includes a machine tool 12, a plurality of input / output units 14, and a control device 16.

工作機械12は、加工領域を囲う保護カバーおよび駆動系を有する。駆動系は、モータMと、そのモータMの駆動力(回転力)により駆動する駆動対象物と、モータMの駆動力(回転力)を駆動対象物に伝達する駆動力伝達機構とを有する。駆動対象物は、テーブル、工具、あるいは、保護カバーに設けられる扉などである。なお、モータMは、工具およびテーブルを相対移動させるためのモータ、および、保護カバーの扉を開閉させるためのモータを少なくとも含むものとする。   The machine tool 12 has a protective cover and a drive system that surround the machining area. The drive system includes a motor M, a drive object driven by the drive force (rotational force) of the motor M, and a drive force transmission mechanism that transmits the drive force (rotational force) of the motor M to the drive object. The drive target is a table, a tool, a door provided on a protective cover, or the like. The motor M includes at least a motor for relatively moving the tool and the table, and a motor for opening and closing the door of the protective cover.

複数の入出力ユニット14は、デイジーチェーンにより相互に接続されており、例えばシリアル伝送方式などを用いて各種の信号を授受する。入出力ユニット14には、例えば、工作機械12を非常停止させるための非常停止ボタンを有する教示操作盤などが設けられる。   The plurality of input / output units 14 are connected to each other by a daisy chain, and exchange various signals by using, for example, a serial transmission system. The input / output unit 14 is provided with, for example, a teaching operation panel having an emergency stop button for stopping the machine tool 12 in an emergency.

制御装置16は、工作機械12を制御するものであり、通信コントローラ20と、共通路(バス)22と、専用線24と、2重化された第1の処理系26Aおよび第2の処理系26Bと、制御部28と、を有する。   The control device 16 controls the machine tool 12, and includes a communication controller 20, a common path (bus) 22, a dedicated line 24, a duplicated first processing system 26A and second processing system 26A. 26B and the control part 28.

通信コントローラ20は、デイジーチェーンにより接続される複数の入出力ユニット14において端部となる1つの入出力ユニット14と接続される。   The communication controller 20 is connected to one input / output unit 14 which is an end of the plurality of input / output units 14 connected by a daisy chain.

共通路22は、複数の処理系26A、26Bの各々に対して共通で通信コントローラ20と接続するものであり、専用線24は、第1の処理系26Aに対して専用で通信コントローラ20と接続するものである。   The common path 22 is commonly connected to each of the plurality of processing systems 26A and 26B and connected to the communication controller 20, and the dedicated line 24 is exclusively connected to the first processing system 26A and connected to the communication controller 20. To do.

第1の処理系26Aは、通信コントローラ20に対して専用線24を介して接続される処理系であり、第2の処理系26Bは、専用線24に非接続の処理系である。第2の処理系26Bは、本実施の形態では1つであるが、複数であってもよい。   The first processing system 26A is a processing system connected to the communication controller 20 via a dedicated line 24, and the second processing system 26B is a processing system not connected to the dedicated line 24. The number of the second processing system 26B is one in this embodiment, but it may be two or more.

制御部28は、2重化された第1の処理系26Aおよび第2の処理系26Bから出力される指令に基づいて、工作機械12を制御する。   The control unit 28 controls the machine tool 12 based on the commands output from the duplicated first processing system 26A and second processing system 26B.

次に、入出力ユニット14から制御装置16に転送される多重化信号について説明する。多重化信号は、第1の処理系26Aに対応する第1の信号および第2の処理系26Bに対応する第2の信号である。なお、第2の処理系26Bが2以上である場合、2以上の第2の処理系26Bの各々に対応して第2の信号が複数となる。   Next, the multiplexed signal transferred from the input / output unit 14 to the control device 16 will be described. The multiplexed signal is a first signal corresponding to the first processing system 26A and a second signal corresponding to the second processing system 26B. When the number of the second processing systems 26B is 2 or more, the number of the second signals is plural corresponding to each of the 2 or more second processing systems 26B.

多重化信号(第1の信号および第2の信号)の各々は、図2に示すように、メイン情報MIと、メイン情報MIに付属するサブ情報SIとを含む構造を有する。メイン情報MIは、制御装置16に対して本質的に伝えるべき正味の情報(ペイロード)であり、第1の信号に含まれるメイン情報MIと第2の信号に含まれるメイン情報MIとは同一である。具体的には、例えば、工作機械12の非常停止を要求する情報、あるいは、工作機械12の保護カバーに設けられた扉の開放を要求する情報などがメイン情報MIとして挙げられる。   As shown in FIG. 2, each of the multiplexed signals (first signal and second signal) has a structure including main information MI and sub information SI attached to the main information MI. The main information MI is the net information (payload) to be essentially transmitted to the control device 16, and the main information MI included in the first signal and the main information MI included in the second signal are the same. is there. Specifically, for example, information requesting an emergency stop of the machine tool 12 or information requesting to open a door provided on the protective cover of the machine tool 12 can be given as the main information MI.

サブ情報SIは、メイン情報MI以外の情報であり、具体的にはCRC値S1などが含まれる。CRC値S1は、信号の誤りを検出し、必要に応じてその誤りを訂正するための値である。なお、識別子S2については後述する。   The sub information SI is information other than the main information MI, and specifically includes a CRC value S1 and the like. The CRC value S1 is a value for detecting a signal error and correcting the error as necessary. The identifier S2 will be described later.

次に、通信コントローラ20、第1の処理系26A、第2の処理系26Bおよび制御部28を具体的に説明する。図1に示すように、通信コントローラ20は、送受信部30、記憶部32および第1の送出部34を有する。   Next, the communication controller 20, the first processing system 26A, the second processing system 26B, and the control unit 28 will be specifically described. As shown in FIG. 1, the communication controller 20 includes a transmitting / receiving unit 30, a storage unit 32, and a first sending unit 34.

送受信部30は、入出力ユニット14との間で各種の信号を授受するものである。送受信部30は、複数の入出力ユニット14のいずれか1つの入出力ユニット14で生成され、その1つの入出力ユニット14から通信路を介して転送される多重化信号(第1の信号および第2の信号)を受信した場合、その多重化信号を記憶部32に出力する。記憶部32は、送受信部30から出力された多重化信号を記憶する。   The transmitter / receiver 30 transmits / receives various signals to / from the input / output unit 14. The transmission / reception unit 30 is a multiplexed signal (first signal and first signal) generated by any one of the plurality of input / output units 14 and transferred from the one input / output unit 14 via a communication path. 2 signal), the multiplexed signal is output to the storage unit 32. The storage unit 32 stores the multiplexed signal output from the transmission / reception unit 30.

第1の送出部34は、共通路22を用いて、記憶部32に記憶された多重化信号の各々を、対応する処理系26A、26Bに送出する。すなわち、第1の送出部34は、記憶部32に記憶された多重化信号の第1の信号を第1の処理系26Aに送出し、当該多重化信号の第2の信号を第2の処理系26Bに送出する。   The first transmission unit 34 uses the common path 22 to transmit each of the multiplexed signals stored in the storage unit 32 to the corresponding processing system 26A, 26B. That is, the first sending unit 34 sends the first signal of the multiplexed signal stored in the storage unit 32 to the first processing system 26A, and the second signal of the multiplexed signal is subjected to the second processing. It is sent to the system 26B.

第1の処理系26Aは第1の信号を処理する処理系であり、第2の処理系26Bは第2の信号を処理する処理系である。第1の信号を処理する第1の処理系26Aの構成と、第2の信号を処理する第2の処理系26Bの構成とは同一である。したがって、構成の説明は、第1の処理系26Aのみとする。   The first processing system 26A is a processing system that processes the first signal, and the second processing system 26B is a processing system that processes the second signal. The configuration of the first processing system 26A that processes the first signal and the configuration of the second processing system 26B that processes the second signal are the same. Therefore, the description of the configuration will be given only for the first processing system 26A.

第1の処理系26Aは、記憶部40、検査部42および指令生成部44を有する。記憶部40、検査部42および指令生成部44は、内部バス46を介して相互に接続される。記憶部40には、通信コントローラ20から共通路22を介して送出される第1の信号が記憶される。   The first processing system 26A has a storage unit 40, an inspection unit 42, and a command generation unit 44. The storage unit 40, the inspection unit 42, and the command generation unit 44 are connected to each other via an internal bus 46. The storage unit 40 stores the first signal transmitted from the communication controller 20 via the common path 22.

検査部42は、記憶部40に記憶された第1の信号の誤りを検査するものである。すなわち、検査部42は、第1の信号に含まれるCRC値S1(図2参照)を用いて第1の信号の誤りの有無を検査し、第1の信号の誤りがない場合には、第1の信号を指令生成部44に出力する。なお、検査部42は、第1の信号のメイン情報MIだけを指令生成部44に出力してもよい。   The inspection unit 42 inspects the error of the first signal stored in the storage unit 40. That is, the checking unit 42 checks the presence or absence of an error in the first signal using the CRC value S1 (see FIG. 2) included in the first signal, and if there is no error in the first signal, The signal 1 is output to the command generation unit 44. The inspection unit 42 may output only the main information MI of the first signal to the command generation unit 44.

一方、検査部42は、第1の信号の誤りがある場合には、その第1の信号を破棄し、指令生成部44に対して第1の信号を出力しない。なお、検査部42は、第1の信号の誤りを訂正可能な場合には、第1の信号を破棄することなくその第1の信号の誤りを訂正し、誤りを訂正した第1の信号を指令生成部44に出力する。   On the other hand, when there is an error in the first signal, the inspection unit 42 discards the first signal and does not output the first signal to the command generation unit 44. If the error of the first signal can be corrected, the inspection unit 42 corrects the error of the first signal without discarding the first signal, and corrects the error-corrected first signal. Output to the command generation unit 44.

指令生成部44は、検査部42から出力される第1の信号に基づいて指令を生成し、生成した指令を制御部28に出力する。例えば、第1の信号のメイン情報MIが工作機械12の非常停止を要求する情報である場合、指令生成部44は、モータMの停止指令を生成し、生成したモータMの停止指令を制御部28に出力する。   The command generation unit 44 generates a command based on the first signal output from the inspection unit 42, and outputs the generated command to the control unit 28. For example, when the main information MI of the first signal is information requesting an emergency stop of the machine tool 12, the command generation unit 44 generates a stop command of the motor M and the generated stop command of the motor M is controlled by the control unit. To 28.

第2の処理系26Bは、第1の処理系26Aと同様に、検査部42で第2の信号を検査し、検査部42から出力される第2の信号に基づいて指令生成部44で指令を生成し、生成した指令を制御部28に出力する。   Similarly to the first processing system 26A, the second processing system 26B inspects the second signal by the inspection unit 42, and instructs the command generation unit 44 based on the second signal output from the inspection unit 42. Is generated and the generated command is output to the control unit 28.

制御部28は、第1の処理系26Aから出力される指令と、第2の処理系26Bから出力される指令とが一致するか否か判断する。ここで、第1の処理系26Aから出力される指令と第2の処理系26Bから出力される指令とが一致する場合、制御部28は、当該指令に基づいて工作機械12を制御する。これに対し、第1の処理系26Aから出力される指令と第2の処理系26Bから出力される指令とが一致しない場合、制御部28は、当該指令に基づいて工作機械12を制御しない。   The control unit 28 determines whether the command output from the first processing system 26A and the command output from the second processing system 26B match. Here, when the command output from the first processing system 26A and the command output from the second processing system 26B match, the control unit 28 controls the machine tool 12 based on the command. On the other hand, when the command output from the first processing system 26A and the command output from the second processing system 26B do not match, the control unit 28 does not control the machine tool 12 based on the command.

ところで、多重化される第1の信号および第2の信号の一方だけを用いて処理を続行しても安全性が確保されるのであれば、当該信号に含まれるメイン情報MIに基づく指令を特に迅速に処理したいという要請がある。そこで、本実施の形態では、メイン情報MIが特定の情報である場合には、そのメイン情報MIを迅速に処理する対策が講じられている。   By the way, if the safety is ensured even if the processing is continued by using only one of the first signal and the second signal to be multiplexed, the command based on the main information MI included in the signal is particularly required. There is a demand for quick processing. Therefore, in the present embodiment, when the main information MI is specific information, a measure is taken to quickly process the main information MI.

具体的には、図2に示すように、メイン情報MIが特定の情報であることを示す識別子S2が第1の信号に付加される。この識別子S2は、メイン情報MIが特定の情報であっても第2の信号には付加されない。図2に示す例では、識別子S2は、ヘッダの一部とされる。なお、多重化された信号(第1の信号および第2の信号)の各々にフラグが設けられ、メイン情報MIが特定の情報である場合には、第1の信号のフラグだけが立ち上げられるようにしてもよい。   Specifically, as shown in FIG. 2, an identifier S2 indicating that the main information MI is specific information is added to the first signal. This identifier S2 is not added to the second signal even if the main information MI is specific information. In the example shown in FIG. 2, the identifier S2 is a part of the header. A flag is provided in each of the multiplexed signals (first signal and second signal), and when the main information MI is specific information, only the flag of the first signal is raised. You may do it.

特定の情報は、各種のメイン情報MIのなかで特に迅速に処理する対象となるものであり、多重化される複数の信号のうちの1つの信号(第1の信号)だけを用いて処理を続行しても安全性が確保されるかを基準に判断され、オペレータの入力操作により予め設定される。本実施の形態では、特定の情報は、工作機械12の非常停止を要求する情報であるものとする。   The specific information is an object to be processed particularly quickly among various main information MI, and is processed using only one signal (first signal) of the multiple signals to be multiplexed. The determination is made based on whether or not the safety is ensured even if the operation is continued, and is set in advance by the operator's input operation. In the present embodiment, it is assumed that the specific information is information requesting an emergency stop of machine tool 12.

図1に示すように、通信コントローラ20では、識別子S2を含む第1の信号と、識別子S2を含まない第2の信号とが記憶部32に記憶された場合、代理検査部50は、第1の処理系26Aの検査部42に代理して第1の信号を検査する。   As shown in FIG. 1, in the communication controller 20, when the first signal including the identifier S2 and the second signal not including the identifier S2 are stored in the storage unit 32, the proxy inspection unit 50 determines that the first signal The first signal is inspected on behalf of the inspection unit 42 of the processing system 26A.

具体的には、代理検査部50は、記憶部32に記憶された第1の信号に識別子S2が含まれている場合には、その第1の信号を取得し、取得した第1の信号に対して、上述した第1の処理系26Aの検査部42と同じ処理を実行する。第1の信号に誤りがない場合、あるいは、誤りがあった第1の信号を訂正した場合、代理検査部50は、第1の信号を第2の送出部52に出力する。   Specifically, when the first signal stored in the storage unit 32 includes the identifier S2, the proxy inspecting unit 50 acquires the first signal and adds the first signal to the acquired first signal. On the other hand, the same processing as the inspection unit 42 of the first processing system 26A described above is executed. When there is no error in the first signal, or when the erroneous first signal is corrected, the proxy inspection unit 50 outputs the first signal to the second transmission unit 52.

第2の送出部52は、専用線24を用いて、代理検査部50から出力される第1の信号を第1の処理系26Aの指令生成部44に出力する。指令生成部44は、上記のように、第1の信号に基づいてモータMの停止指令を生成し、生成したモータMの停止指令を制御部28に出力する。   The second sending unit 52 outputs the first signal output from the proxy inspection unit 50 to the command generation unit 44 of the first processing system 26A using the dedicated line 24. The command generation unit 44 generates the stop command for the motor M based on the first signal as described above, and outputs the generated stop command for the motor M to the control unit 28.

このように通信コントローラ20は、特定のメイン情報MIを含む第1の信号を代理検査部50で優先的に検査し、誤りのない第1の信号を、専用線24を介して第1の処理系26Aの指令生成部44へ直接的に送出する。これにより、共通路22を介して第1の処理系26Aに送出した第1の信号を検査部42で検査する場合に比べて、当該共通路22および第1の処理系26Aの内部バス46での競合や占有率の増加に起因するロスを避けることができる。この結果、特定の第1の信号を迅速に処理することができる。   As described above, the communication controller 20 preferentially inspects the first signal including the specific main information MI by the proxy inspection unit 50, and the error-free first signal is subjected to the first processing via the dedicated line 24. It is sent directly to the command generation unit 44 of the system 26A. As a result, in comparison with the case where the first signal sent to the first processing system 26A via the common path 22 is inspected by the inspection unit 42, the common path 22 and the internal bus 46 of the first processing system 26A are compared. It is possible to avoid the loss caused by the competition of the above and the increase of the occupation rate. As a result, the specific first signal can be processed quickly.

なお、第1の信号に含まれる特定のメイン情報MIと同一のメイン情報MIを含む第2の信号は、第1の送出部34によって共通路22を介して第2の処理系26Bに送出され、第2の処理系26Bの検査部42での検査を経て指令生成部44に出力される。   The second signal including the same main information MI as the specific main information MI included in the first signal is sent to the second processing system 26B by the first sending unit 34 via the common path 22. , And is output to the command generation unit 44 after being inspected by the inspection unit 42 of the second processing system 26B.

したがって、第2の処理系26Bにおいて第2の信号に基づいて生成されたモータMの停止指令の出力タイミングは、第1の処理系26Aにおいて第1の信号に基づいて生成されたモータMの停止指令の出力タイミングよりも遅れる。つまり、メイン情報MIが工作機械12の非常停止を要求する情報である場合には、第2の処理系26Bから出力されるモータMの停止指令は、第1の処理系26Aから出力されるモータMの停止指令よりも遅く制御部28に出力される。   Therefore, the output timing of the stop command of the motor M generated based on the second signal in the second processing system 26B is the stop timing of the motor M generated based on the first signal in the first processing system 26A. It is later than the command output timing. That is, when the main information MI is information requesting an emergency stop of the machine tool 12, the stop command for the motor M output from the second processing system 26B is a motor output from the first processing system 26A. It is output to the control unit 28 later than the M stop command.

制御部28は、第1の処理系26Aから出力される指令を取得すると、取得した指令が予め設定された特定の指令であるか否か判断する。特定の指令は、特定の情報として設定されたメイン情報MI(図2参照)に基づいて生成される指令である。   When the control unit 28 acquires the command output from the first processing system 26A, the control unit 28 determines whether the acquired command is a preset specific command. The specific command is a command generated based on the main information MI (see FIG. 2) set as the specific information.

つまり、メイン情報MIを迅速に処理すべきであることを示す識別子S2が設定されれば、その迅速に処理すべきメイン情報MIに基づいて生成される指令が、特定の指令として設定される。本実施の形態では、特定の情報として設定されたメイン情報MIが工作機械12の非常停止を要求する情報であるため、特定の指令はモータMの停止指令である。   That is, if the identifier S2 indicating that the main information MI should be processed promptly is set, the command generated based on the main information MI that should be processed promptly is set as the specific command. In the present embodiment, since the main information MI set as the specific information is the information requesting the emergency stop of the machine tool 12, the specific command is the stop command of the motor M.

ここで、第1の処理系26Aから出力される指令がモータMの停止指令でない場合、制御部28は、第1の処理系26Aから出力される指令と、第2の処理系26Bから出力される指令とが一致するときに、当該指令に基づいて工作機械12を制御する。   Here, when the command output from the first processing system 26A is not the stop command for the motor M, the control unit 28 outputs the command output from the first processing system 26A and the second processing system 26B. When the specified command matches, the machine tool 12 is controlled based on the command.

これに対し、第1の処理系26Aから出力される指令がモータMの停止指令である場合、上記のように、その停止指令よりも第2の処理系26BからのモータMの停止指令が遅れる。しかし、モータMの停止指令は、第1の処理系26Aと第2の処理系26Bとの一致性を考慮せずに実行されたとしても、安全性は確保される。   On the other hand, when the command output from the first processing system 26A is the stop command for the motor M, as described above, the stop command for the motor M from the second processing system 26B lags behind the stop command. .. However, even if the stop command for the motor M is executed without considering the matching between the first processing system 26A and the second processing system 26B, the safety is ensured.

そこで、制御部28は、第2の処理系26Bの指令生成部44で生成されるモータMの停止指令が未取得であっても、第1の処理系26Aから出力されるモータMの停止指令に基づいてモータMを停止させる。これにより、安全性を確保しながらも、迅速にモータMを停止制御することができる。   Therefore, even if the stop command for the motor M generated by the command generation unit 44 of the second processing system 26B has not been acquired, the control unit 28 outputs the stop command for the motor M output from the first processing system 26A. The motor M is stopped based on As a result, the motor M can be quickly stopped and controlled while ensuring safety.

次に、制御装置16の制御方法について説明する。ただし、ここでは、入出力ユニット14から転送される多重化信号の第1の信号に識別子S2が含まれていた場合における第1の信号に対する処理の流れについて説明する。図3は、制御装置16における第1の信号に対する信号処理の流れを示すフローチャートである。   Next, a control method of the control device 16 will be described. However, here, the flow of processing for the first signal when the identifier S2 is included in the first signal of the multiplexed signal transferred from the input / output unit 14 will be described. FIG. 3 is a flowchart showing the flow of signal processing on the first signal in the control device 16.

ステップS1において、送受信部30は、入出力ユニット14から転送される多重化信号を受けると、その多重化信号を記憶部32に記憶し、ステップS2に進む。ステップS2において、代理検査部50は、第1の処理系26Aの検査部42に代理して、第1の処理系26Aに対応する第1の信号の誤りを検査し、ステップS3に進む。ステップS3において、第2の送出部52は、専用線24を用いて、代理検査部50で検査された第1の信号を、第1の処理系26Aの指令生成部44に送出し、ステップS4に進む。   In step S1, when the transmitter / receiver 30 receives the multiplexed signal transferred from the input / output unit 14, the transmitter / receiver 30 stores the multiplexed signal in the memory 32, and proceeds to step S2. In step S2, the proxy inspection unit 50 inspects the inspection unit 42 of the first processing system 26A for an error in the first signal corresponding to the first processing system 26A, and proceeds to step S3. In step S3, the second sending unit 52 sends the first signal inspected by the proxy inspection unit 50 to the command generation unit 44 of the first processing system 26A using the leased line 24, and in step S4. Proceed to.

ステップS4において、指令生成部44は、第1の信号に基づくモータMの停止指令を生成して制御部28に送出し、ステップS5に進む。ステップS5において、制御部28は、第2の処理系26Bから出力されるモータMの停止指令が未取得であっても、第1の処理系26Aから出力されるモータMの停止指令に基づいてモータMを停止させる。   In step S4, the command generation unit 44 generates a stop command for the motor M based on the first signal and sends it to the control unit 28, and proceeds to step S5. In step S5, the control unit 28, based on the stop command of the motor M output from the first processing system 26A, even if the stop command of the motor M output from the second processing system 26B has not been acquired. The motor M is stopped.

〔変形例〕
以上、本発明の一例として上記の実施の形態が説明されたが、上記の実施の形態に、多様な変更または改良を加えることが可能であることはもちろんである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。
[Modification]
Although the above embodiment has been described as an example of the present invention, it goes without saying that various modifications and improvements can be added to the above embodiment. It is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.

(変形例1)
変形例1では、工作機械12を保護する保護カバーに設けられた扉の開閉状態を示す情報が特定の情報として設定される。
(Modification 1)
In the first modification, information indicating the open / closed state of the door provided on the protective cover that protects the machine tool 12 is set as the specific information.

すなわち、メイン情報MIが工作機械12を保護する保護カバーに設けられた扉の開閉状態を示す情報である場合に、そのメイン情報MIを迅速に処理すべきであることを示す識別子S2が生成される。   That is, when the main information MI is information indicating the open / closed state of the door provided on the protective cover that protects the machine tool 12, the identifier S2 indicating that the main information MI should be processed quickly is generated. It

このようなメイン情報MIおよび識別子S2を含む多重化信号(第1の信号および第2の信号)が入出力ユニット14で生成され、制御装置16に転送された場合、制御装置16では、上記の実施の形態と同様にして多重化信号が処理される。   When the multiplexed signal (first signal and second signal) including such main information MI and the identifier S2 is generated by the input / output unit 14 and transferred to the control device 16, the control device 16 operates as described above. The multiplexed signal is processed in the same manner as in the embodiment.

具体的に制御装置16の通信コントローラ20では、多重化信号の第1の信号については代理検査部50で優先的に検査され、誤りのない第1の信号が、専用線24を介して第1の処理系26Aの指令生成部44へ直接的に送出される。   Specifically, in the communication controller 20 of the control device 16, the proxy inspection unit 50 preferentially inspects the first signal of the multiplexed signal, and the error-free first signal is transmitted via the leased line 24 to the first line. Is directly sent to the command generation unit 44 of the processing system 26A.

第1の処理系26Aの指令生成部44は、この第1の信号に基づいて、工作機械12(扉)のモータMの状態を監視する監視指令を生成し、生成した監視指令を制御部28に出力する。この場合、制御部28は、第2の処理系26Bから出力される監視指令が未取得であっても、モータMの状態を検出する検出器として例えばモータMに設けられるエンコーダEから出力される検出値を監視する。制御部28は、この検出値が所定の閾値を超えた場合にはモータMを停止させる。   The command generation unit 44 of the first processing system 26A generates a monitoring command for monitoring the state of the motor M of the machine tool 12 (door) based on this first signal, and the generated monitoring command is the control unit 28. Output to. In this case, the control unit 28 outputs, as a detector for detecting the state of the motor M, for example, an encoder E provided in the motor M, even if the monitoring command output from the second processing system 26B has not been acquired. Monitor the detection value. The control unit 28 stops the motor M when the detected value exceeds a predetermined threshold value.

(変形例2)
変形例2では、入出力ユニット14から転送される検出器の検出値を示す情報が特定の情報として設定される。すなわち、入出力ユニット14から転送される検出器の検出値を示す情報である場合に、そのメイン情報MIを迅速に処理すべきであることを示す識別子S2が生成される。
(Modification 2)
In the second modification, the information indicating the detection value of the detector transferred from the input / output unit 14 is set as the specific information. That is, when the information is the information indicating the detection value of the detector transferred from the input / output unit 14, the identifier S2 indicating that the main information MI should be processed quickly is generated.

なお、検出値は、入出力ユニット14に設けられた検出器の検出値であってもよく、工作機械12に設けられた検出器から入出力ユニット14に与えられる検出値であってもよい。なお、検出器としては、具体的には、温度センサや振動センサなどが挙げられる。   The detection value may be a detection value of a detector provided in the input / output unit 14, or may be a detection value given to the input / output unit 14 from a detector provided in the machine tool 12. Specific examples of the detector include a temperature sensor and a vibration sensor.

このようなメイン情報MIおよび識別子S2を含む多重化信号(第1の信号および第2の信号)が入出力ユニット14で生成され、制御装置16に転送された場合、制御装置16では、上記の実施の形態と同様にして多重化信号が処理される。   When the multiplexed signal (first signal and second signal) including such main information MI and the identifier S2 is generated by the input / output unit 14 and transferred to the control device 16, the control device 16 operates as described above. The multiplexed signal is processed in the same manner as in the embodiment.

具体的に制御装置16の通信コントローラ20では、多重化信号の第1の信号については代理検査部50で優先的に検査され、誤りのない第1の信号が、専用線24を介して第1の処理系26Aの指令生成部44へ直接的に送出される。   Specifically, in the communication controller 20 of the control device 16, the proxy inspection unit 50 preferentially inspects the first signal of the multiplexed signal, and the error-free first signal is transmitted via the leased line 24 to the first line. Is directly sent to the command generation unit 44 of the processing system 26A.

第1の処理系26Aの指令生成部44は、この第1の信号の指令値が所定の閾値を超えた場合には、モータMの停止指令を生成し、生成したモータMの停止指令を制御部28に出力する。この場合、制御部28は、第2の処理系26Bから出力されるモータMの停止指令が未取得であっても、モータMを停止させる。   When the command value of this first signal exceeds a predetermined threshold value, the command generation unit 44 of the first processing system 26A generates a stop command for the motor M and controls the generated stop command for the motor M. Output to the unit 28. In this case, the control unit 28 stops the motor M even if the stop command for the motor M output from the second processing system 26B has not been acquired.

(変形例3)
上記の実施の形態、変形例1および変形例2は、矛盾の生じない範囲で任意に組み合わされてもよい。
(Modification 3)
The above-described embodiment, the modified example 1 and the modified example 2 may be arbitrarily combined as long as no contradiction occurs.

〔実施の形態から得られる発明〕
上記の実施の形態および変形例から把握し得る発明について、以下に記載する。
[Invention Obtained from Embodiment]
Inventions that can be understood from the above-described embodiments and modifications will be described below.

(第1の発明)
第1の発明は、工作機械(12)を制御する制御装置(16)である。制御装置(16)は、所定の通信路を介して入出力ユニット(14)と接続され、入出力ユニット(14)との間で、互いに同一の情報を含む複数の信号を授受する通信コントローラ(20)、複数の信号の各々に対応して複数設けられ、信号の誤りを検査する検査部(42)と、検査部(42)から正しいものとして出力される信号に基づく指令を生成する指令生成部(44)とを有する処理系(26A、26B)、複数の処理系(26A、26B)の各々に対して共通で通信コントローラ(20)と接続する共通路(22)、および、複数の処理系(26A、26B)のいずれか1つの処理系(26A)の指令生成部(44)に対して専用で通信コントローラ(20)と接続する専用線(24)を備える。
(First invention)
A first invention is a control device (16) for controlling a machine tool (12). The control device (16) is connected to the input / output unit (14) via a predetermined communication path, and transmits / receives to / from the input / output unit (14) a plurality of signals containing the same information. 20), a plurality of inspection units (42) provided corresponding to each of the plurality of signals, for inspecting an error of the signals, and an instruction generation for generating an instruction based on the signal output as correct from the inspection unit (42) A processing system (26A, 26B) having a unit (44), a common path (22) commonly connected to each of the plurality of processing systems (26A, 26B) and the communication controller (20), and a plurality of processings. A dedicated line (24) dedicated to the command generation unit (44) of one of the processing systems (26A) of the systems (26A, 26B) and connected to the communication controller (20) is provided.

通信コントローラ(20)は、入出力ユニット(14)から転送される複数の信号が記憶される記憶部(32)と、共通路(22)を用いて、記憶部(32)に記憶された複数の信号の各々を、対応する処理系(26A、26B)に送出する第1の送出部(34)と、記憶部(32)に記憶された複数の信号に含まれる情報が特定の情報である場合には、1つの処理系(26A)に対応する信号の誤りを、1つの処理系(26A)の検査部(42)に代理して検査する代理検査部(50)と、専用線(24)を用いて、代理検査部(50)から正しいものとして出力される信号を1つの処理系(26A)の指令生成部(44)に送出する第2の送出部(52)と、を有する。   The communication controller (20) stores a plurality of signals transferred from the input / output unit (14) and a plurality of signals stored in the storage unit (32) using a common path (22). The information included in the plurality of signals stored in the first sending unit (34) and the storage unit (32) that sends each of the signals of (1) to the corresponding processing system (26A, 26B) is the specific information. In this case, a surrogate inspection unit (50) that inspects an error in a signal corresponding to one processing system (26A) on behalf of the inspection unit (42) of one processing system (26A) and a dedicated line (24). ) Is used to send a signal output as a correct signal from the proxy inspection unit (50) to the command generation unit (44) of one processing system (26A), and a second transmission unit (52).

これにより、特定の情報を含む信号については、共通路(22)や1つの処理系(26A)の内部バス(46)での競合や占有率の増加に起因するロスを避けることができる。したがって、複数の処理系(26A、26B)を通信コントローラ(20)の外部に設けても、特定の情報を含む信号の通信時間を低減することができる。   As a result, with respect to the signal including the specific information, it is possible to avoid the loss due to the competition or the increase in the occupation rate on the common path (22) or the internal bus (46) of one processing system (26A). Therefore, even if a plurality of processing systems (26A, 26B) are provided outside the communication controller (20), the communication time of a signal containing specific information can be reduced.

制御装置(16)は、複数の処理系(26A、26B)の各々の指令生成部(44)で生成された指令を取得し、取得した指令が一致するときに、指令に基づいて工作機械(12)を制御する制御部(28)を備え、制御部(28)は、1つの処理系(26A)の指令生成部(44)で生成された指令が特定の情報に基づく指令である場合には、1つの処理系(26A)以外の他の処理系(26B)の指令生成部(44)で生成された指令が未取得であっても、指令に基づいて工作機械(12)を制御してもよい。これにより、迅速性が要求される指令の応答性を高めることができる。   The control device (16) acquires the command generated by the command generation unit (44) of each of the plurality of processing systems (26A, 26B), and when the acquired commands match, the machine tool (based on the command) 12) is provided with a control unit (28) for controlling the control unit (28) when the command generated by the command generation unit (44) of one processing system (26A) is a command based on specific information. Controls the machine tool (12) based on the command even if the command generated by the command generation unit (44) of the other processing system (26B) other than the one processing system (26A) is not acquired. May be. As a result, it is possible to enhance the responsiveness of the command that requires promptness.

上記の情報は、工作機械(12)の非常停止を要求するものであり、1つの処理系(26A)の指令生成部(44)は、工作機械(12)のモータ(M)の停止指令を指令として生成し、制御部(28)は、モータ(M)を停止させてもよい。これにより、1つの処理系(26A)で生成された停止指令を、他の処理系(26B)で生成された指令との一致性を確認しないで制御しても安全性を確保しつつ、非常停止の応答性を高めることができる。   The above information requests an emergency stop of the machine tool (12), and the command generation unit (44) of one processing system (26A) issues a stop command of the motor (M) of the machine tool (12). It may be generated as a command, and the control unit (28) may stop the motor (M). As a result, even if the stop command generated by one processing system (26A) is controlled without confirming the consistency with the command generated by the other processing system (26B), safety is ensured and The responsiveness of the stop can be improved.

上記の情報は、工作機械(12)を保護する保護カバーに設けられた扉の開状態を示すものであり、1つの処理系(26A)の指令生成部(44)は、工作機械(12)のモータ(M)の状態を監視する監視指令を指令として生成し、制御部(28)は、モータ(M)の状態を検出する検出器(E)から出力される検出値が所定の閾値を超えた場合に、モータ(M)を停止させてもよい。これにより、1つの処理系(26A)で生成された停止指令を、他の処理系(26B)で生成された指令との一致性を確認しないで制御しても安全性を確保しつつ、非常停止の応答性を高めることができる。   The above information indicates the open state of the door provided on the protective cover that protects the machine tool (12), and the command generation unit (44) of one processing system (26A) is the machine tool (12). Of the motor (M) is generated as a command, and the control unit (28) determines that the detection value output from the detector (E) that detects the state of the motor (M) has a predetermined threshold value. When it exceeds, you may stop a motor (M). As a result, even if the stop command generated by one processing system (26A) is controlled without confirming the consistency with the command generated by the other processing system (26B), safety is ensured and The responsiveness of the stop can be improved.

上記の情報は、入出力ユニット(14)から転送される検出器の検出値を示すものであり、1つの処理系(26A)の指令生成部(44)は、検出値が所定の閾値を超えた場合に、工作機械(12)のモータ(M)の停止指令を指令として生成し、制御部(28)は、モータ(M)を停止させてもよい。これにより、1つの処理系(26A)で生成された停止指令を、他の処理系(26B)で生成された指令との一致性を確認しないで制御しても安全性を確保しつつ、非常停止の応答性を高めることができる。   The above information indicates the detection value of the detector transferred from the input / output unit (14), and the command generation unit (44) of one processing system (26A) has a detection value exceeding a predetermined threshold value. In this case, the control unit (28) may stop the motor (M) by generating a stop command for the motor (M) of the machine tool (12) as a command. As a result, even if the stop command generated by one processing system (26A) is controlled without confirming the consistency with the command generated by the other processing system (26B), safety is ensured and The responsiveness of the stop can be improved.

(第2の発明)
第2の発明は、工作機械(12)を制御する制御装置(16)の制御方法である。制御装置(16)は、所定の通信路を介して入出力ユニット(14)と接続され、入出力ユニット(14)との間で、互いに同一の情報を含む複数の信号を授受する通信コントローラ(20)、複数の信号の各々に対応して複数設けられ、信号の誤りを検査する検査部(42)と、検査部(42)から正しいものとして出力される信号に基づく指令を生成する指令生成部(44)とを有する処理系(26A、26B)、複数の処理系(26A、26B)の各々に対して共通で通信コントローラ(20)と接続する共通路(22)、および、複数の処理系(26A、26B)のいずれか1つの処理系(26A)の指令生成部(44)に対して専用で通信コントローラ(20)と接続する専用線(24)を備える。
(Second invention)
A second invention is a control method of a control device (16) for controlling a machine tool (12). The control device (16) is connected to the input / output unit (14) via a predetermined communication path, and transmits / receives to / from the input / output unit (14) a plurality of signals containing the same information. 20), a plurality of inspection units (42) provided corresponding to each of the plurality of signals, for inspecting an error of the signals, and an instruction generation for generating an instruction based on the signal output as correct from the inspection unit (42) A processing system (26A, 26B) having a unit (44), a common path (22) commonly connected to each of the plurality of processing systems (26A, 26B) and the communication controller (20), and a plurality of processings. A dedicated line (24) dedicated to the command generation unit (44) of one of the processing systems (26A) of the systems (26A, 26B) and connected to the communication controller (20) is provided.

制御方法は、入出力ユニット(14)から転送される複数の信号を通信コントローラ(20)の記憶部(32)に記憶する記憶ステップ(S1)と、記憶部(32)に記憶された複数の信号に含まれる情報が特定の情報である場合には、1つの処理系(26A)に対応する信号の誤りを、1つの処理系(26A)の検査部(42)に代理して検査する代理検査ステップ(S2)と、専用線(24)を用いて、代理検査ステップ(S2)を経た正しい信号を1つの処理系(26A)の指令生成部(44)に送出する送出ステップ(S3)と、を含む。   The control method includes a storage step (S1) of storing a plurality of signals transferred from the input / output unit (14) in the storage unit (32) of the communication controller (20) and a plurality of storage steps stored in the storage unit (32). If the information included in the signal is specific information, a proxy that inspects the error of the signal corresponding to one processing system (26A) on behalf of the inspection unit (42) of the one processing system (26A). An inspection step (S2) and a transmission step (S3) for transmitting a correct signal that has passed the proxy inspection step (S2) to the command generation unit (44) of one processing system (26A) using the dedicated line (24). ,including.

これにより、特定の情報を含む信号については、共通路(22)や1つの処理系(26A)の内部バス(46)での競合や占有率の増加に起因するロスを避けることができる。したがって、複数の処理系(26A、26B)を通信コントローラ(20)の外部に設けても、特定の情報を含む信号の通信時間を低減することができる。   As a result, with respect to the signal including the specific information, it is possible to avoid the loss due to the competition or the increase in the occupation rate on the common path (22) or the internal bus (46) of one processing system (26A). Therefore, even if a plurality of processing systems (26A, 26B) are provided outside the communication controller (20), the communication time of a signal containing specific information can be reduced.

制御方法は、1つの処理系(26A)の指令生成部(44)で生成された指令が特定の情報に基づく指令である場合には、1つの処理系(26A)以外の他の処理系(26B)の指令生成部(44)で生成された指令が未取得であっても、指令に基づいて工作機械(12)を制御する制御ステップ(S5)を含んでもよい。これにより、迅速性が要求される指令の応答性を高めることができる。   When the command generated by the command generation unit (44) of one processing system (26A) is a command based on specific information, the control method is one other than one processing system (26A). 26B), even if the command generated by the command generation unit (44) is not acquired, a control step (S5) for controlling the machine tool (12) based on the command may be included. As a result, it is possible to enhance the responsiveness of the command that requires promptness.

上記の情報は、工作機械(12)の非常停止を要求するものであり、1つの処理系(26A)の指令生成部(44)では、工作機械(12)のモータ(M)の停止指令が指令として生成され、制御ステップ(S5)は、モータ(M)を停止させてもよい。これにより、1つの処理系(26A)で生成された停止指令を、他の処理系(26B)で生成された指令との一致性を確認しないで制御しても安全性を確保しつつ、非常停止の応答性を高めることができる。   The above information requests an emergency stop of the machine tool (12), and in the command generation unit (44) of one processing system (26A), a stop command for the motor (M) of the machine tool (12) is issued. Generated as a command, the control step (S5) may stop the motor (M). As a result, even if the stop command generated by one processing system (26A) is controlled without confirming the consistency with the command generated by the other processing system (26B), safety is ensured and The responsiveness of the stop can be improved.

上記の情報は、工作機械(12)を保護する保護カバーに設けられた扉の開状態を示すものであり、1つの処理系(26A)の指令生成部(44)では、工作機械(12)のモータ(M)の状態を監視する監視指令が指令として生成され、制御ステップ(S5)は、モータ(M)の状態を検出する検出器(E)から出力される検出値が所定の閾値を超えた場合に、モータ(M)を停止させてもよい。これにより、1つの処理系(26A)で生成された停止指令を、他の処理系(26B)で生成された指令との一致性を確認しないで制御しても安全性を確保しつつ、非常停止の応答性を高めることができる。   The above information indicates the open state of the door provided on the protective cover that protects the machine tool (12). In the command generation unit (44) of one processing system (26A), the machine tool (12) is used. A monitoring command for monitoring the state of the motor (M) is generated as a command, and in the control step (S5), the detection value output from the detector (E) that detects the state of the motor (M) has a predetermined threshold value. When it exceeds, you may stop a motor (M). As a result, even if the stop command generated by one processing system (26A) is controlled without confirming the consistency with the command generated by the other processing system (26B), safety is ensured and The responsiveness of the stop can be improved.

上記の情報は、入出力ユニット(14)から転送される検出器の検出値を示すものであり、1つの処理系(26A)の指令生成部(44)では、検出値が所定の閾値を超えた場合に、工作機械(12)のモータ(M)の停止指令が指令として生成され、制御ステップ(S5)は、モータ(M)を停止させてもよい。これにより、1つの処理系(26A)で生成された停止指令を、他の処理系(26B)で生成された指令との一致性を確認しないで制御しても安全性を確保しつつ、非常停止の応答性を高めることができる。   The above information indicates the detection value of the detector transferred from the input / output unit (14), and the detection value exceeds the predetermined threshold in the command generation unit (44) of one processing system (26A). In this case, a stop command for the motor (M) of the machine tool (12) may be generated as a command, and the control step (S5) may stop the motor (M). As a result, even if the stop command generated by one processing system (26A) is controlled without confirming the consistency with the command generated by the other processing system (26B), safety is ensured and The responsiveness of the stop can be improved.

10…安全システム 12…工作機械
14…入出力ユニット 16…制御装置
20…通信コントローラ 22…共通路
24…専用線 26A…第1の処理系
26B…第2の処理系 28…制御部
30…送受信部 32、40…記憶部
34…第1の送出部 42…検査部
44…指令生成部 46…内部バス
50…代理検査部 52…第2の送出部
10 ... Safety system 12 ... Machine tool 14 ... Input / output unit 16 ... Control device 20 ... Communication controller 22 ... Common path 24 ... Exclusive line 26A ... First processing system 26B ... Second processing system 28 ... Control unit 30 ... Transmission / reception Units 32, 40 ... Storage unit 34 ... First sending unit 42 ... Checking unit 44 ... Command generating unit 46 ... Internal bus 50 ... Proxy checking unit 52 ... Second sending unit

Claims (10)

工作機械を制御する制御装置であって、
所定の通信路を介して入出力ユニットと接続され、前記入出力ユニットとの間で、互いに同一の情報を含む複数の信号を授受する通信コントローラと、
複数の前記信号の各々に対応して複数設けられ、前記信号の誤りを検査する検査部と、前記検査部から正しいものとして出力される前記信号に基づく指令を生成する指令生成部とを有する処理系と、
複数の前記処理系の各々に対して共通で前記通信コントローラと接続する共通路と、
複数の前記処理系のいずれか1つの処理系の前記指令生成部に対して専用で前記通信コントローラと接続する専用線と、
を備え、
前記通信コントローラは、
前記入出力ユニットから転送される複数の前記信号が記憶される記憶部と、
前記共通路を用いて、前記記憶部に記憶された複数の前記信号の各々を、対応する前記処理系に送出する第1の送出部と、
前記記憶部に記憶された複数の前記信号に含まれる前記情報が特定の情報である場合には、前記1つの処理系に対応する前記信号の誤りを、前記1つの処理系の前記検査部に代理して検査する代理検査部と、
前記専用線を用いて、前記代理検査部から正しいものとして出力される前記信号を前記1つの処理系の前記指令生成部に送出する第2の送出部と、
を有する、制御装置。
A control device for controlling a machine tool,
A communication controller that is connected to the input / output unit via a predetermined communication path, and exchanges a plurality of signals including the same information with the input / output unit,
A process that includes a plurality of check units that are provided for each of the plurality of signals and that checks an error in the signals, and a command generation unit that generates a command based on the signals output as correct from the check unit. System,
A common path connected to the communication controller common to each of the plurality of processing systems;
A dedicated line dedicated to the command generation unit of any one of the plurality of processing systems and connected to the communication controller;
Equipped with
The communication controller is
A storage unit for storing the plurality of signals transferred from the input / output unit;
A first sending unit that sends each of the plurality of signals stored in the storage unit to the corresponding processing system using the common path;
When the information included in the plurality of signals stored in the storage unit is specific information, an error of the signal corresponding to the one processing system is detected in the inspection unit of the one processing system. A proxy inspection department that inspects on behalf of
A second sending unit that sends the signal output as a correct signal from the proxy inspection unit to the command generation unit of the one processing system using the dedicated line;
And a controller.
請求項1に記載の制御装置であって、
複数の前記処理系の各々の前記指令生成部で生成された前記指令を取得し、取得した前記指令が一致するときに、前記指令に基づいて前記工作機械を制御する制御部を備え、
前記制御部は、前記1つの処理系の前記指令生成部で生成された前記指令が前記特定の情報に基づく指令である場合には、前記1つの処理系以外の他の前記処理系の前記指令生成部で生成された前記指令が未取得であっても、前記指令に基づいて前記工作機械を制御する、制御装置。
The control device according to claim 1, wherein
Acquiring the command generated by the command generation unit of each of the plurality of processing systems, when the acquired command matches, a control unit for controlling the machine tool based on the command,
When the command generated by the command generation unit of the one processing system is a command based on the specific information, the control unit is a command of the processing system other than the one processing system. A control device that controls the machine tool based on the command even if the command generated by the generation unit is not acquired.
請求項2に記載の制御装置であって、
前記情報は、前記工作機械の非常停止を要求するものであり、
前記1つの処理系の前記指令生成部は、前記工作機械のモータの停止指令を前記指令として生成し、
前記制御部は、前記モータを停止させる、制御装置。
The control device according to claim 2, wherein
The information is for requesting an emergency stop of the machine tool,
The command generator of the one processing system generates a command to stop the motor of the machine tool as the command,
The said control part is a control apparatus which stops the said motor.
請求項2に記載の制御装置であって、
前記情報は、前記工作機械を保護する保護カバーに設けられた扉の開状態を示すものであり、
前記1つの処理系の前記指令生成部は、前記工作機械のモータの状態を監視する監視指令を前記指令として生成し、
前記制御部は、前記モータの状態を検出する検出器から出力される検出値が所定の閾値を超えた場合に、前記モータを停止させる、制御装置。
The control device according to claim 2, wherein
The information indicates an open state of a door provided in a protective cover that protects the machine tool,
The command generation unit of the one processing system generates a monitoring command for monitoring the state of the motor of the machine tool as the command,
The said control part is a control apparatus which stops the said motor, when the detection value output from the detector which detects the state of the said motor exceeds a predetermined threshold value.
請求項2に記載の制御装置であって、
前記情報は、前記入出力ユニットから転送される検出器の検出値を示すものであり、
前記1つの処理系の前記指令生成部は、前記検出値が所定の閾値を超えた場合に、前記工作機械のモータの停止指令を前記指令として生成し、
前記制御部は、前記モータを停止させる、制御装置。
The control device according to claim 2, wherein
The information indicates a detection value of the detector transferred from the input / output unit,
The command generator of the one processing system generates a command to stop the motor of the machine tool as the command when the detected value exceeds a predetermined threshold,
The said control part is a control apparatus which stops the said motor.
工作機械を制御する制御装置の制御方法であって、
前記制御装置は、
所定の通信路を介して入出力ユニットと接続され、前記入出力ユニットとの間で、互いに同一の情報を含む複数の信号を授受する通信コントローラと、
複数の前記信号の各々に対応して複数設けられ、前記信号の誤りを検査する検査部と、前記検査部から正しいものとして出力される前記信号に基づく指令を生成する指令生成部とを有する処理系と、
複数の前記処理系の各々に対して共通で前記通信コントローラと接続する共通路と、
複数の前記処理系のいずれか1つの処理系の前記指令生成部に対して専用で前記通信コントローラと接続する専用線と、
を備え、
前記入出力ユニットから転送される複数の前記信号を前記通信コントローラの記憶部に記憶する記憶ステップと、
前記記憶部に記憶された複数の前記信号に含まれる前記情報が特定の情報である場合には、前記1つの処理系に対応する前記信号の誤りを、前記1つの処理系の前記検査部に代理して検査する代理検査ステップと、
前記専用線を用いて、前記代理検査ステップを経た正しい前記信号を前記1つの処理系の前記指令生成部に送出する送出ステップと、
を含む、制御方法。
A control method for a control device for controlling a machine tool, comprising:
The control device is
A communication controller that is connected to the input / output unit via a predetermined communication path, and exchanges a plurality of signals including the same information with the input / output unit,
A process that includes a plurality of check units that are provided for each of the plurality of signals and that checks an error in the signals, and a command generation unit that generates a command based on the signals output as correct from the check unit. System,
A common path connected to the communication controller common to each of the plurality of processing systems,
A dedicated line dedicated to the command generation unit of any one of the plurality of processing systems and connected to the communication controller;
Equipped with
A storage step of storing the plurality of signals transferred from the input / output unit in a storage unit of the communication controller;
When the information included in the plurality of signals stored in the storage unit is specific information, an error of the signal corresponding to the one processing system is detected in the inspection unit of the one processing system. A proxy inspection step to inspect on behalf of,
A sending step of sending the correct signal, which has passed through the proxy inspection step, to the command generating section of the one processing system by using the dedicated line;
Including a control method.
請求項6に記載の制御方法であって、
前記1つの処理系の前記指令生成部で生成された前記指令が前記特定の情報に基づく指令である場合には、前記1つの処理系以外の他の前記処理系の前記指令生成部で生成された前記指令が未取得であっても、前記指令に基づいて前記工作機械を制御する制御ステップを含む、制御方法。
The control method according to claim 6, wherein
When the command generated by the command generation unit of the one processing system is a command based on the specific information, it is generated by the command generation unit of the other processing system other than the one processing system. A control method including a control step of controlling the machine tool based on the command even if the command is not acquired.
請求項7に記載の制御方法であって、
前記情報は、前記工作機械の非常停止を要求するものであり、
前記1つの処理系の前記指令生成部では、前記工作機械のモータの停止指令が前記指令として生成され、
前記制御ステップは、前記モータを停止させる、制御方法。
The control method according to claim 7, wherein
The information is for requesting an emergency stop of the machine tool,
In the command generating unit of the one processing system, a command to stop the motor of the machine tool is generated as the command,
The said control step is a control method which stops the said motor.
請求項7に記載の制御方法であって、
前記情報は、前記工作機械を保護する保護カバーに設けられた扉の開状態を示すものであり、
前記1つの処理系の前記指令生成部では、前記工作機械のモータの状態を監視する監視指令が前記指令として生成され、
前記制御ステップは、前記モータの状態を検出する検出器から出力される検出値が所定の閾値を超えた場合に、前記モータを停止させる、制御方法。
The control method according to claim 7, wherein
The information indicates an open state of a door provided in a protective cover that protects the machine tool,
In the command generation unit of the one processing system, a monitoring command for monitoring the state of the motor of the machine tool is generated as the command,
The said control step is a control method which stops the said motor, when the detection value output from the detector which detects the state of the said motor exceeds a predetermined threshold value.
請求項7に記載の制御方法であって、
前記情報は、前記入出力ユニットから転送される検出器の検出値を示すものであり、
前記1つの処理系の前記指令生成部では、前記検出値が所定の閾値を超えた場合に、前記工作機械のモータの停止指令が前記指令として生成され、
前記制御ステップは、前記モータを停止させる、制御方法。
The control method according to claim 7, wherein
The information indicates a detection value of the detector transferred from the input / output unit,
In the command generation unit of the one processing system, when the detected value exceeds a predetermined threshold value, a stop command of the motor of the machine tool is generated as the command,
The said control step is a control method which stops the said motor.
JP2018204062A 2018-10-30 2018-10-30 Control apparatus and control method Pending JP2020071593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018204062A JP2020071593A (en) 2018-10-30 2018-10-30 Control apparatus and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018204062A JP2020071593A (en) 2018-10-30 2018-10-30 Control apparatus and control method

Publications (1)

Publication Number Publication Date
JP2020071593A true JP2020071593A (en) 2020-05-07

Family

ID=70547802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018204062A Pending JP2020071593A (en) 2018-10-30 2018-10-30 Control apparatus and control method

Country Status (1)

Country Link
JP (1) JP2020071593A (en)

Similar Documents

Publication Publication Date Title
KR101250729B1 (en) Signal transmission device
US20170134358A1 (en) Communication system, communication control device, and fraudulent information-transmission preventing method
JP3912379B2 (en) Safety network system, safety slave and communication method
US20070124115A1 (en) Safety-oriented control system
WO2006011578A1 (en) Safety control device, safety control system, and method for detecting communication error
JP2006209565A (en) Information processor and information processing method
US6934874B2 (en) Method and apparatus for ensuring integrity of transmitted data in a distributed control system
JP2007026010A (en) Radio communication method of safety related signal processing system
JP7206410B2 (en) Safety systems and methods of operating safety systems
JP2013201664A (en) Redundant communication device
JP4475593B2 (en) Elevator control device
US7689301B2 (en) Safety control device, safety control system, and method for detecting communication error
JP2020071593A (en) Control apparatus and control method
US11290881B2 (en) Method for functionally secure connection identification
US11165602B2 (en) Communication system, controlled device, and control method for communication system
US8516169B2 (en) Method for transmitting telegrams between a control device and a peripheral element via an intermediate device
US20200301389A1 (en) Output control apparatus
US20070174735A1 (en) Method and control system for recognizing a fault when processing data in a processing system
US7831897B2 (en) Data transmission path including a device for checking the data integrity
JP2017098801A (en) Network relay system
US6813727B2 (en) Control unit having a main microprocessor and having a processor interface to a bus transceiver unit
JP6059652B2 (en) Signal security control device
US11855942B2 (en) Activation system, control module, and method for operating
JP5083069B2 (en) Transmission abnormality detection device for communication device
JP2007043679A (en) Sending device, receiving device, and communication system