JP2014191724A - Input/output control device - Google Patents

Input/output control device Download PDF

Info

Publication number
JP2014191724A
JP2014191724A JP2013068555A JP2013068555A JP2014191724A JP 2014191724 A JP2014191724 A JP 2014191724A JP 2013068555 A JP2013068555 A JP 2013068555A JP 2013068555 A JP2013068555 A JP 2013068555A JP 2014191724 A JP2014191724 A JP 2014191724A
Authority
JP
Japan
Prior art keywords
communication interval
monitoring unit
data
abnormality
data communication
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
JP2013068555A
Other languages
Japanese (ja)
Inventor
Kenta Fujimoto
堅太 藤本
Osamu Nakajima
督 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2013068555A priority Critical patent/JP2014191724A/en
Publication of JP2014191724A publication Critical patent/JP2014191724A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an input/output control device capable of stopping the signal output of a machine tool to a component when any communication abnormality occurs between a numerical control device and itself under an environment in which communication quality is unsatisfactory.SOLUTION: The input/output control device includes: an identical data communication interval monitoring part 5 for detecting abnormality on the basis of the reception intervals of data whose sequence numbers are the same; a sequence data communication interval monitoring part 4 for detecting abnormality on the basis of the reception intervals of the data whose sequence numbers are different by a set number. The input/output control device is configured to, when at least one of the identical data communication interval monitoring part 5 and the sequence data communication interval monitoring part 4 detects abnormality, notify a numerical control device 1 of abnormality detection, and to stop the signal output of a machine tool to a component 2.

Description

本発明は、工作機械の数値制御処理等を行う数値制御装置とデータ通信し、工作機械内の機器との信号の入出力を行う入出力制御装置に関する。   The present invention relates to an input / output control device that performs data communication with a numerical control device that performs numerical control processing or the like of a machine tool and performs input / output of signals to / from equipment in the machine tool.

従来、複数のアクチュエータとセンサとが接続されたノードとホストコントローラとを直列に接続したシステムにおいて、各ノードはメインコントローラからのデータフレーム信号の受信間隔が所定時間を超えると、アクチュエータへの出力データを強制的にオフする直列制御装置がある(特許文献1参照)。   Conventionally, in a system in which a host controller and a node to which a plurality of actuators and sensors are connected are connected in series, each node outputs data to the actuator when the reception interval of the data frame signal from the main controller exceeds a predetermined time. There is a serial control device that forcibly turns off (see Patent Document 1).

送信側の端末は更新期間ごとにカウントアップする更新周期シーケンス番号を付与した制御情報フレームを送信し、受信側の端末はフレームの受信間隔を計測して、あらかじめ設定された更新周期を超えた場合にエラーを通知するサイクリック通信における監視装置及び監視方法がある(特許文献2参照)。   When the sending terminal transmits a control information frame with an update cycle sequence number that counts up every update period, and the receiving terminal measures the frame reception interval and exceeds the preset update cycle There is a monitoring device and a monitoring method in cyclic communication for notifying an error (see Patent Document 2).

通信装置及び通信装置における故障判定方法に関するもので、複数のノードがバスを介して接続された車載ネットワークシステムにおいて、受信メッセージの受信間隔を揮発性メモリに記憶された閾値と比較し、閾値よりも短いとき、そのフレームを送信したノードを故障と判定する方法がある(特許文献3参照)。   The present invention relates to a communication device and a failure determination method in the communication device. In an in-vehicle network system in which a plurality of nodes are connected via a bus, the reception interval of a received message is compared with a threshold value stored in a volatile memory. When it is short, there is a method of determining that the node that transmitted the frame is a failure (see Patent Document 3).

従来の通信装置ではデータリンク層のリンク状態を迅速に判定することを目的とし、ある間隔内で順次到着するフラグの受信状態を監視し、フラグをある周機内で受信できなくなればリンク切れと判定する監視機能を送信/受信側で設定する方式がある(特許文献4参照)。   The purpose of the conventional communication equipment is to quickly determine the link status of the data link layer. The reception status of the flags that arrive sequentially within a certain interval is monitored, and if the flag cannot be received within a certain aircraft, it is determined that the link is broken. There is a method of setting a monitoring function to be performed on the transmission / reception side (see Patent Document 4).

二重ループ構成における環状光通信網において、一つの局がダウンと復旧とを繰り返した時のシステム再構成動作を安定化するため、コントローラから構成保持信号を出力してループバック構成をすぐに解除しないようにし、構成保持信号の削除により正常構成に戻している(特許文献5参照)。   In a loop optical communication network in a double loop configuration, to stabilize the system reconfiguration operation when one station repeatedly goes down and recovers, a configuration hold signal is output from the controller to immediately cancel the loopback configuration. The normal configuration is restored by deleting the configuration holding signal (see Patent Document 5).

特許第2512832号公報Japanese Patent No. 2512832 特開2009−141473号公報JP 2009-141473 A 特開2009−171310号公報JP 2009-171310 A 特開2004−207878号公報JP 2004-207878 A 特開昭61−15444号公報Japanese Patent Laid-Open No. 61-15444

数値制御装置から入出力制御装置への出力は、通信ラインが不安定な可能性があるため、同一データを複数回送信するケースがある。   As for the output from the numerical controller to the input / output controller, there is a case where the same data is transmitted a plurality of times because the communication line may be unstable.

特許文献1、2では、データの受信間隔が所定時間を超えたことのチェック及び更新周期ごとにデータシーケンス番号が連続であることをチェックしているが、複数のシーケンスデータの受信間隔及び同一データについて、それぞれ別の受信間隔を用いてデータの正常/異常を判断することができず、同一データを複数回送信して通信を保証するシステムにおいては、異常を誤検出するケースがあった。   Patent Documents 1 and 2 check that the data reception interval exceeds a predetermined time and check that the data sequence number is continuous for each update period. In a system that cannot determine normality / abnormality of data by using different reception intervals, and in a system that guarantees communication by transmitting the same data a plurality of times, there are cases where the abnormality is erroneously detected.

特許文献1、3では、データの受信間隔が所定時間を超えたことのチェック及び受信間隔が所定値よりも短い時に異常を判定することはできるが、データのシーケンス番号や同一データ受信といったデータに着目した受信間隔の正常/異常を判定することはできない。   In Patent Documents 1 and 3, it is possible to check that the data reception interval has exceeded a predetermined time and to determine abnormality when the reception interval is shorter than a predetermined value. It is not possible to determine whether the focused reception interval is normal or abnormal.

特許文献4では、装置内部の状態に応じて有効/無効フラグの受信状態を監視してリンク状態を判定しているが、回路誤動作又はソフトエラーによる装置内部のレジスタのビット化けにより、誤動作が発生することを防止できない。   In Patent Document 4, the link state is determined by monitoring the reception state of the valid / invalid flag according to the internal state of the device. However, a malfunction occurs due to a circuit error or a bit error of a register in the device due to a software error. I can't prevent you from doing it.

特許文献5では、異常発生時にシステム制御部から構成保持信号を送出して自動的に正常状態へ遷移することを防止できるが、異常発生局以外の局への異常通知手段や、異常を検出した全ての装置の異常原因を正常にクリアする手段がなく、入出力制御装置が誤動作することを防止できない。   In Patent Document 5, it is possible to prevent a system control unit from sending a configuration holding signal and automatically transition to a normal state when an abnormality occurs, but an abnormality notification means to a station other than the abnormality generating station or an abnormality is detected. There is no means for normally clearing the cause of abnormality of all devices, and it is impossible to prevent the input / output control device from malfunctioning.

本発明は、上記に鑑みてなされたものであって、通信品質が悪い環境下において、数値制御装置との間で通信異常が発生したときに、工作機械の構成機器への信号出力を停止できる入出力制御装置を得ることを目的とする。   The present invention has been made in view of the above, and can stop signal output to machine tool components when a communication error occurs with a numerical control device in an environment with poor communication quality. An object is to obtain an input / output control device.

上述した課題を解決し、目的を達成するために、本発明は、シーケンス番号が同一のデータを複数回出力することをシーケンス番号を変えながら繰り返す数値制御装置に接続され、工作機械の構成機器から入力した信号を数値制御装置へ出力し、該数値制御装置から入力されたデータに基づいて工作機械の構成機器へ信号を出力する入出力制御装置であって、シーケンス番号が同一のデータの受信間隔に基づいて異常を検出する同一データ通信間隔監視部と、シーケンス番号が設定数異なるデータの受信間隔に基づいて異常を検出するシーケンスデータ通信間隔監視部と、を備え、同一データ通信間隔監視部及びシーケンスデータの通信間隔監視部の少なくとも一方が異常を検出した場合に、数値制御装置に異常検出を通知するとともに、工作機械の構成機器への信号出力を停止することを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention is connected to a numerical control device that repeatedly outputs data having the same sequence number a plurality of times while changing the sequence number. An input / output control device that outputs an input signal to a numerical control device, and outputs a signal to a component of a machine tool based on data input from the numerical control device, and receiving intervals of data having the same sequence number The same data communication interval monitoring unit that detects an abnormality based on the sequence data communication interval monitoring unit that detects an abnormality based on the reception interval of data having a different number of sequence numbers, and the same data communication interval monitoring unit, When at least one of the sequence data communication interval monitoring units detects an abnormality, it notifies the numerical control device of the abnormality detection and Wherein the stop signal output to the machine configuration device.

本発明によれば、同一のデータの受信間隔が適正でない場合やシーケンスデータの受信間隔が適正でない場合に工作機械内の異常を検出できるという効果を奏する。   According to the present invention, it is possible to detect an abnormality in the machine tool when the reception interval of the same data is not appropriate or when the reception interval of sequence data is not appropriate.

図1は、本発明にかかる入出力制御装置の実施の形態1の構成を示す図である。FIG. 1 is a diagram showing a configuration of a first embodiment of an input / output control apparatus according to the present invention. 図2は、通信間隔管理テーブルの構成を示す図である。FIG. 2 is a diagram showing the configuration of the communication interval management table. 図3は、データ異常検出の監視期間を説明するための図である。FIG. 3 is a diagram for explaining a monitoring period of data abnormality detection. 図4は、同一データ通信間隔監視部の動作の流れを示すフローチャートである。FIG. 4 is a flowchart showing an operation flow of the same data communication interval monitoring unit. 図5は、シーケンスデータ通信間隔監視部の動作の流れを示す図である。FIG. 5 is a diagram showing a flow of operations of the sequence data communication interval monitoring unit. 図6は、本発明にかかる入出力制御装置の実施の形態2の構成を示す図である。FIG. 6 is a diagram showing a configuration of the input / output control apparatus according to the second embodiment of the present invention. 図7は、実施の形態2にかかる入出力制御装置の動作の流れを示す図である。FIG. 7 is a diagram illustrating an operation flow of the input / output control apparatus according to the second embodiment. 図8は、本発明にかかる入出力制御装置の実施の形態3の構成を示す図である。FIG. 8 is a diagram showing the configuration of the third embodiment of the input / output control apparatus according to the present invention. 図9は、数値制御装置向けの通信動作モードを管理する処理の流れを示す図である。FIG. 9 is a diagram showing a flow of processing for managing the communication operation mode for the numerical control device. 図10は、通信間隔状態を確認する処理の詳細を示す図である。FIG. 10 is a diagram showing details of processing for confirming the communication interval state. 図11は、ステータスの遷移処理の詳細を示す図である。FIG. 11 is a diagram showing details of status transition processing. 図12は、実施の形態3にかかる入出力制御装置を用いたシステムにおける異常検出から異常要因クリアまでの動作シーケンスの一例を示す図である。FIG. 12 is a diagram illustrating an example of an operation sequence from abnormality detection to abnormality factor clearing in a system using the input / output control device according to the third embodiment.

以下に、本発明にかかる入出力制御装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of an input / output control device according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、本発明にかかる入出力制御装置の実施の形態1の構成を示す図である。入出力制御装置3(3,3,3)は、数値制御装置1の出力するデジタルデータをアナログ信号に変換して工作機械の構成機器2へ出力したり、工作機械の構成機器2から入力されるアナログ信号をデジタルデータに変換して数値制御装置1へ出力する。入出力制御装置3(3,3,3)は、シーケンスデータ通信間隔監視部4(4,4,4)と、同一データ通信間隔監視部5(5,5,5)と、通信間隔管理テーブル6(6,6,6)とを有する。シーケンスデータ通信間隔監視部4は、フリーランカウンタ41を有する。図示は省略しているが、シーケンスデータ通信間隔監視部4,4も、シーケンスデータ通信間隔監視部4と同様にフリーランカウンタを有している。同一データ通信間隔監視部5は、フリーランカウンタ51とデータ比較バッファ52とを有する。図示は省略しているが、同一データ通信間隔監視部5,5も、同一データ通信間隔監視部5と同様にフリーランカウンタを有している。なお、以下の説明では、入出力制御装置3,3,3に共通する事項を説明し、区別する必要が無い場合には、入出力制御装置3と表記する。入出力制御装置3内の各機能部についても同様である。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a configuration of a first embodiment of an input / output control apparatus according to the present invention. The input / output control device 3 (3 1 , 3 2 , 3 3 ) converts the digital data output from the numerical control device 1 into an analog signal and outputs the analog signal to the machine tool component 2 or the machine tool component 2 Is converted into digital data and output to the numerical controller 1. The input / output control device 3 (3 1 , 3 2 , 3 3 ) includes a sequence data communication interval monitoring unit 4 (4 1 , 4 2 , 4 3 ) and an identical data communication interval monitoring unit 5 (5 1 , 5 2 , 5 3 ) and a communication interval management table 6 (6 1 , 6 2 , 6 3 ). Sequence data communication interval monitor section 4 1 has a free running counter 41 1. Although not shown, also the sequence data communication interval monitor section 4 2, 4 3, has the same free running counter and sequence data communication interval monitor section 4 1. Same data communication interval monitor section 5 1 includes a free run counter 51 1 and the data comparison buffer 52 1. Although not shown, the same data communication interval monitor section 5 2, 5 3 also has the same free running counter to the same data communication interval monitor section 5 1. In the following description, items common to the input / output control devices 3 1 , 3 2 , 3 3 will be described, and will be referred to as the input / output control device 3 when it is not necessary to distinguish them. The same applies to each functional unit in the input / output control device 3.

入出力制御装置3は、直列に複数台接続され、各局には工作機械の構成機器2が接続されている。直列に接続された複数台の入出力制御装置3の一端側に位置する入出力制御装置3には、数値入力装置1が接続されている。 A plurality of input / output control devices 3 are connected in series, and a machine tool component 2 is connected to each station. The output control unit 3 1 located at one end of the plurality of input-output control unit 3 connected in series, the numerical value input device 1 is connected.

図2は、通信間隔管理テーブルの構成を示す図である。通信間隔管理テーブル6は、局番号12、最短通信間隔13、最長通信間隔14、シーケンス番号15、チェックフレーム数17、最短通信間隔18及び最長通信間隔19を含む。局番号12は、自局に設定された局番号である。最短通信間隔13は、シーケンス番号が所定数異なるデータを設定された値よりも短い間隔で受信した場合に異常を検出したと判断するための閾値(第2最短通信間隔)である。最長通信間隔14は、シーケンス番号が所定数異なるデータを設定された値よりも長い間隔で受信した場合に異常を検出したと判断するための閾値(第2最長通信間隔)である。シーケンス番号15は、シーケンス番号が所定数異なるデータの受信間隔を監視している時の監視開始時の受信データのシーケンス番号である。チェックフレーム数17は、何フレーム分のデータの受信間隔を監視するか(シーケンス番号がいくつ違うデータの受信間隔を監視するか)を示す値である。例えば、チェックフレーム数17に「2」が設定されている場合、シーケンスデータ通信間隔監視部4は、シーケンス番号「1」のデータからシーケンスデータの受信間隔の監視を開始したならば、シーケンス番号15の値とチェックフレーム数17の値との和であるシーケンス番号「3」のデータを受信するまでの間隔を基に異常の有無を判断する。   FIG. 2 is a diagram showing the configuration of the communication interval management table. The communication interval management table 6 includes a station number 12, a shortest communication interval 13, a longest communication interval 14, a sequence number 15, a check frame number 17, a shortest communication interval 18, and a longest communication interval 19. The station number 12 is a station number set for the own station. The shortest communication interval 13 is a threshold value (second shortest communication interval) for determining that an abnormality has been detected when data having a predetermined number of sequence numbers is received at intervals shorter than a set value. The longest communication interval 14 is a threshold value (second longest communication interval) for determining that an abnormality has been detected when data having a predetermined number of different sequence numbers is received at an interval longer than a set value. The sequence number 15 is a sequence number of received data at the start of monitoring when monitoring the reception interval of data having a predetermined number of different sequence numbers. The number 17 of check frames is a value indicating how many frames of data reception intervals are monitored (how many data reception intervals with different sequence numbers are monitored). For example, when “2” is set in the number 17 of check frames, the sequence data communication interval monitoring unit 4 starts monitoring the sequence data reception interval from the data of the sequence number “1”. Whether or not there is an abnormality is determined based on an interval until data having a sequence number “3”, which is the sum of the value of the check frame number 17 and the value of the check frame number 17, is received.

最短通信間隔18は、設定された値よりも短い間隔で同一データを受信した場合に異常を検出したと判断するための閾値(第1最短通信間隔)である。最長通信間隔19は、設定された値よりも長い間隔で同一データを受信した場合に異常を検出したと判断するための閾値(第1最長通信間隔)である。   The shortest communication interval 18 is a threshold value (first shortest communication interval) for determining that an abnormality has been detected when the same data is received at an interval shorter than a set value. The longest communication interval 19 is a threshold value (first longest communication interval) for determining that an abnormality has been detected when the same data is received at an interval longer than a set value.

図3は、データ異常検出の監視期間を説明するための図である。ここでは、局番号として「1」が設定されている入出力制御装置3での動作を例とする。データのアドレスは、宛先の入出力制御装置3の局番号を表している。なお、チェックフレーム数17には「2」が設定されているものとする。数値制御装置1は、シーケンス番号が同一のデータを複数回出力することを、シーケンス番号を変えながら繰り返している。シーケンス番号及びアドレスが同じデータ(例えばデータ111aとデータ111b)は同一のデータであり、数値制御装置1から一定の間隔で出力されている。また、アドレスが同一でシーケンス番号が異なるデータは、数値制御装置1から一定の間隔で出力されている。一例としてシーケンス番号が「2」異なるデータ(例えば、データ111aとデータ113a)は数値制御装置1から一定の間隔で出力されている。なお、アドレスが同一でシーケンス番号が異なるデータが数値制御装置1から出力される間隔は、シーケンス番号の差分が大きくなるにつれて長くなる。   FIG. 3 is a diagram for explaining a monitoring period of data abnormality detection. Here, the operation in the input / output control device 3 in which “1” is set as the station number is taken as an example. The data address represents the station number of the destination input / output control device 3. It is assumed that “2” is set in the check frame number 17. The numerical control apparatus 1 repeats outputting data having the same sequence number a plurality of times while changing the sequence number. Data having the same sequence number and address (for example, data 111a and data 111b) are the same data, and are output from the numerical control device 1 at regular intervals. Further, data having the same address but different sequence numbers are output from the numerical controller 1 at regular intervals. As an example, data with different sequence numbers “2” (for example, data 111 a and data 113 a) are output from the numerical control device 1 at regular intervals. Note that the interval at which data having the same address but different sequence numbers is output from the numerical controller 1 becomes longer as the difference between the sequence numbers increases.

入出力制御装置3は、データ111aを受信した段階で監視動作を開始する。この際、シーケンスデータ通信間隔監視部4は、通信間隔管理テーブル6のシーケンス番号15に「1」をセットする。また、同一データ通信間隔監視部5は、データ111aをデータ比較バッファ52に保持する。   The input / output control device 3 starts the monitoring operation when the data 111a is received. At this time, the sequence data communication interval monitoring unit 4 sets “1” to the sequence number 15 in the communication interval management table 6. Further, the same data communication interval monitoring unit 5 holds the data 111 a in the data comparison buffer 52.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ211a,311aを受信した際に、ヘッダに記載されているアドレスを確認する。データ211aのアドレスは「2」、データ311aのアドレスは「3」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致しないため、同一データ通信間隔及びシーケンスデータ通信間隔の監視を継続する。   The same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 confirm the address described in the header when receiving the data 211a and 311a. Since the address of the data 211a is “2” and the address of the data 311a is “3” and does not match “1” set in the station number 12 of the communication interval management table 6, the same data communication interval and sequence data communication Continue monitoring the interval.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ111bを受信した際に、ヘッダに記載されているアドレスを確認する。データ111bのアドレスは「1」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致し、かつ、データ111bはデータ比較バッファ52に保持されているデータ111aと同一である。このため、同一データ通信間隔監視部5は、データ111aを受信してからデータ111bを受信するまでの間隔を同一データ通信間隔として、最短通信間隔18及び最長通信間隔19との比較により異常の有無を判断する。同一データ通信間隔監視部5は、データ111bをデータ比較バッファ52に保持し、新たに同一データ通信間隔の監視を開始する。一方、データ111bのシーケンス番号「1」は、シーケンス番号15の値「1」とチェックフレーム数17の値「2」との和と一致しないため、シーケンスデータ通信間隔監視部4はシーケンスデータ通信間隔の監視を継続する。   The same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 confirm the address described in the header when receiving the data 111b. The address of the data 111b is “1”, which matches “1” set in the station number 12 of the communication interval management table 6, and the data 111b is the same as the data 111a held in the data comparison buffer 52. It is. For this reason, the same data communication interval monitoring unit 5 sets the interval from the reception of the data 111a to the reception of the data 111b as the same data communication interval, and the presence or absence of abnormality is compared with the shortest communication interval 18 and the longest communication interval 19. Judging. The same data communication interval monitoring unit 5 holds the data 111b in the data comparison buffer 52 and newly starts monitoring the same data communication interval. On the other hand, since the sequence number “1” of the data 111b does not match the sum of the value “1” of the sequence number 15 and the value “2” of the check frame number 17, the sequence data communication interval monitoring unit 4 Continue monitoring.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ211b,311bを受信した際に、ヘッダに記載されているアドレスを確認する。データ211bのアドレスは「2」、データ311bのアドレスは「3」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致しないため、同一データ通信間隔及びシーケンスデータ通信間隔の監視を継続する。   The same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 confirm the address described in the header when receiving the data 211b and 311b. Since the address of the data 211b is “2” and the address of the data 311b is “3” and does not match “1” set in the station number 12 of the communication interval management table 6, the same data communication interval and sequence data communication Continue monitoring the interval.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ112aを受信した際に、ヘッダに記載されているアドレスを確認する。データ112aのアドレスは「1」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致するが、データ比較バッファ52に保持されているデータ111bと同一ではない。このため同一データ通信間隔監視部5は、データ112aをデータ比較バッファ52に保持した上で、同一データ通信間隔の監視を継続する。また、データ112aのシーケンス番号「2」は、シーケンス番号15の値「1」とチェックフレーム数17の値「2」との和と一致しないため、シーケンスデータ通信間隔監視部4はシーケンスデータ通信間隔の監視を継続する。   The same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 confirm the address described in the header when receiving the data 112a. The address of the data 112 a is “1”, which matches “1” set in the station number 12 of the communication interval management table 6, but is not the same as the data 111 b held in the data comparison buffer 52. Therefore, the same data communication interval monitoring unit 5 holds the data 112a in the data comparison buffer 52 and continues monitoring the same data communication interval. Further, since the sequence number “2” of the data 112a does not match the sum of the value “1” of the sequence number 15 and the value “2” of the check frame number 17, the sequence data communication interval monitoring unit 4 Continue monitoring.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ212a,312aを受信した際に、ヘッダに記載されているアドレスを確認する。データ212aのアドレスは「2」、データ312aのアドレスは「3」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致しないため、同一データ通信間隔及びシーケンスデータ通信間隔の監視を継続する。   When the same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 receive the data 212a and 312a, they check the address described in the header. Since the address of the data 212a is “2” and the address of the data 312a is “3” and does not match “1” set in the station number 12 of the communication interval management table 6, the same data communication interval and sequence data communication Continue monitoring the interval.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ112bを受信した際に、ヘッダに記載されているアドレスを確認する。データ112bのアドレスは「1」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致し、かつ、データ比較バッファ52に保持されているデータ112aと同一である。このため、同一データ通信間隔監視部5は、データ112aを受信してからデータ112bを受信するまでの間隔を同一データ通信間隔として、最短通信間隔18及び最長通信間隔19との比較により異常の有無を判断する。同一データ通信間隔監視部5は、データ112bをデータ比較バッファ52に保持し、新たに同一データ通信間隔の監視を開始する。一方、データ112bのシーケンス番号「2」は、シーケンス番号15の値「1」とチェックフレーム数17の値「2」との和と一致しないため、シーケンスデータ通信間隔監視部4はシーケンスデータ通信間隔の監視を継続する。   When the same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 receive the data 112b, they check the address described in the header. The address of the data 112 b is “1”, matches the “1” set in the station number 12 of the communication interval management table 6, and is the same as the data 112 a held in the data comparison buffer 52. For this reason, the same data communication interval monitoring unit 5 sets the interval from the reception of the data 112a to the reception of the data 112b as the same data communication interval, and whether there is an abnormality by comparing the shortest communication interval 18 and the longest communication interval 19. Judging. The same data communication interval monitoring unit 5 holds the data 112b in the data comparison buffer 52 and newly starts monitoring the same data communication interval. On the other hand, since the sequence number “2” of the data 112b does not match the sum of the value “1” of the sequence number 15 and the value “2” of the check frame number 17, the sequence data communication interval monitoring unit 4 Continue monitoring.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ212b,312bを受信した際に、ヘッダに記載されているアドレスを確認する。データ212bのアドレスは「2」、データ312bのアドレスは「3」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致しないため、同一データ通信間隔及びシーケンスデータ通信間隔の監視を継続する。   When the same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 receive the data 212b and 312b, they confirm the address described in the header. Since the address of the data 212b is “2” and the address of the data 312b is “3” and does not match “1” set in the station number 12 of the communication interval management table 6, the same data communication interval and sequence data communication Continue monitoring the interval.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4は、データ113aを受信した際に、ヘッダに記載されているアドレスを確認する。データ113aのアドレスは「1」であり、通信間隔管理テーブル6の局番号12に設定されている「1」と一致するが、データ比較バッファ52に保持されているデータ112bと同一ではない。このため同一データ通信間隔監視部5は、データ113aをデータ比較バッファ52に保持した上で、同一データ通信間隔の監視を継続する。一方、データ113aのシーケンス番号「3」は、シーケンス番号15の値「1」とチェックフレーム数17の値「2」との和と一致するため、シーケンスデータ通信間隔監視部4は、データ111aを受信してからデータ113aを受信するまでの間隔をシーケンスデータ通信間隔として、最短通信間隔13及び最長通信間隔14との比較により異常の有無を判断する。シーケンスデータ通信間隔監視部4は、通信間隔管理テーブル6のシーケンス番号15に「1」をセットし、新たにシーケンスデータ通信間隔の監視を開始する。   The same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 confirm the address described in the header when receiving the data 113a. The address of the data 113 a is “1”, which matches “1” set in the station number 12 of the communication interval management table 6, but is not the same as the data 112 b held in the data comparison buffer 52. Therefore, the same data communication interval monitoring unit 5 holds the data 113a in the data comparison buffer 52 and continues monitoring the same data communication interval. On the other hand, since the sequence number “3” of the data 113a matches the sum of the value “1” of the sequence number 15 and the value “2” of the check frame number 17, the sequence data communication interval monitoring unit 4 stores the data 111a. The interval from reception to reception of data 113a is defined as the sequence data communication interval, and the presence or absence of abnormality is determined by comparison with the shortest communication interval 13 and the longest communication interval 14. The sequence data communication interval monitoring unit 4 sets “1” to the sequence number 15 in the communication interval management table 6 and newly starts monitoring the sequence data communication interval.

以降、上記同様にして、同一データ通信間隔及びシーケンスデータ通信間隔の判断が行われる。   Thereafter, the same data communication interval and sequence data communication interval are determined in the same manner as described above.

次に、同一データ通信間隔監視部5の動作について説明する。図4は、同一データ通信間隔監視部の動作の流れを示すフローチャートである。初期化処理として、最短通信間隔18及び最長通信間隔19に、数値制御装置1から入力された値をセットする(ステップS21)。   Next, the operation of the same data communication interval monitoring unit 5 will be described. FIG. 4 is a flowchart showing an operation flow of the same data communication interval monitoring unit. As initialization processing, values input from the numerical controller 1 are set in the shortest communication interval 18 and the longest communication interval 19 (step S21).

初期化処理の終了後、同一データ通信間隔監視部5の動作を開始するために、同一データ通信間隔監視部5は、フリーランカウンタ51をクリアする(ステップS22)。   After the initialization process is completed, the same data communication interval monitoring unit 5 clears the free-run counter 51 in order to start the operation of the same data communication interval monitoring unit 5 (step S22).

動作開始後、同一データ通信間隔監視部5は、フリーランカウンタ51の値が最長通信間隔19にセットされた値を超過しているか否かを判断する(ステップS23)。超過している場合には(ステップS23/Yes)、同一データ通信間隔監視部5は、最長通信間隔異常を検出し、最長通信間隔異常の発生を数値制御装置1へ通知するとともに、工作機械の構成機器2への信号出力を停止して(ステップS24)、ステップS21へ進む。   After the operation starts, the same data communication interval monitoring unit 5 determines whether or not the value of the free-run counter 51 exceeds the value set in the longest communication interval 19 (step S23). When it exceeds (Yes in step S23), the same data communication interval monitoring unit 5 detects the longest communication interval abnormality, notifies the numerical control device 1 of the occurrence of the longest communication interval abnormality, and the machine tool. The signal output to the component device 2 is stopped (step S24), and the process proceeds to step S21.

フリーランカウンタ51の値が最長通信間隔19にセットされた値を超過していない場合(ステップS23/No)、同一データ通信間隔監視部5は、データ比較バッファ52に保持されているデータと同一のデータを受信したか否かを判断する(ステップS25)。受信していなければ(ステップS25/No)、同一データ通信間隔監視部5は、データ比較バッファ52に保持されているデータと異なるデータを受信したか否かを判断する(ステップS2a)。受信した場合は(ステップS2a/Yes)、同一データ通信間隔監視部5は、受信したデータをデータ比較バッファ52に保存する(ステップS2b)。そして、同一データ通信間隔監視部5は、フリーランカウンタ51をカウントアップし(ステップS29)、ステップS23へ戻る。   When the value of the free run counter 51 does not exceed the value set in the longest communication interval 19 (step S23 / No), the same data communication interval monitoring unit 5 is the same as the data held in the data comparison buffer 52. It is determined whether or not the data has been received (step S25). If not received (step S25 / No), the same data communication interval monitoring unit 5 determines whether data different from the data held in the data comparison buffer 52 has been received (step S2a). If received (step S2a / Yes), the same data communication interval monitoring unit 5 stores the received data in the data comparison buffer 52 (step S2b). Then, the same data communication interval monitoring unit 5 counts up the free-run counter 51 (step S29) and returns to step S23.

データ比較バッファ52に保持されているデータと同一のデータを受信していない場合は(ステップS2a/No)、同一データ通信間隔監視部5は、フリーランカウンタ51をカウントアップし(ステップS29)、ステップS23に戻る。   When the same data as the data held in the data comparison buffer 52 is not received (step S2a / No), the same data communication interval monitoring unit 5 counts up the free-run counter 51 (step S29). The process returns to step S23.

データ比較バッファ52に保持されているデータと同一のデータを受信した場合は(ステップS25/Yes)、同一データ通信間隔監視部5は、フリーランカウンタ51の値が最短通信間隔18にセットされた値よりも小さいかを判断する(ステップS26)。フリーランカウンタ51の値が最短通信間隔18にセットされた値よりも小さい場合(ステップS26/Yes)、同一データ通信間隔監視部5は、最短通信間隔異常を検出し、最短通信間隔異常の発生を数値制御装置1へ通知するとともに、工作機械の構成機器2へ信号出力を停止して(ステップS27)、ステップS21へ進む。   When the same data as the data held in the data comparison buffer 52 is received (step S25 / Yes), the same data communication interval monitoring unit 5 sets the value of the free-run counter 51 to the shortest communication interval 18. It is determined whether it is smaller than the value (step S26). When the value of the free run counter 51 is smaller than the value set in the shortest communication interval 18 (step S26 / Yes), the same data communication interval monitoring unit 5 detects the shortest communication interval abnormality and the occurrence of the shortest communication interval abnormality occurs. Is sent to the numerical controller 1 and signal output to the machine tool component 2 is stopped (step S27), and the process proceeds to step S21.

フリーランカウンタ51の値が最短通信間隔18にセットされた値以上である場合(ステップS26/No)、同一データ通信間隔監視部5は、フリーランカウンタ51をクリアする(ステップS28)。同一データ通信間隔監視部5は、フリーランカウンタ51をカウントアップし(ステップS29)、ステップS23へ戻る。   When the value of the free-run counter 51 is equal to or greater than the value set in the shortest communication interval 18 (step S26 / No), the same data communication interval monitoring unit 5 clears the free-run counter 51 (step S28). The same data communication interval monitoring unit 5 counts up the free-run counter 51 (step S29) and returns to step S23.

次に、シーケンスデータ通信間隔監視部4の動作について説明する。図5は、シーケンスデータ通信間隔監視部の動作の流れを示す図である。初期化処理として、シーケンスデータ通信間隔監視部4は、最短通信間隔13、最長通信間隔14及びチェックフレーム数17に、数値制御装置1から入力された値をセットする(ステップS31)。   Next, the operation of the sequence data communication interval monitoring unit 4 will be described. FIG. 5 is a diagram showing a flow of operations of the sequence data communication interval monitoring unit. As an initialization process, the sequence data communication interval monitoring unit 4 sets the values input from the numerical controller 1 to the shortest communication interval 13, the longest communication interval 14, and the check frame number 17 (step S31).

初期化処理の終了後、シーケンスデータ通信間隔監視部4は、動作を開始するために、フリーランカウンタ41をクリアする(ステップS32)。   After completion of the initialization process, the sequence data communication interval monitoring unit 4 clears the free-run counter 41 in order to start the operation (step S32).

動作開始後、シーケンスデータ通信間隔監視部4は、フリーランカウンタ41の値が最長通信間隔14にセットされた値を超過しているか否かを判断する(ステップS33)。超過している場合には(ステップS33/Yes)、シーケンスデータ通信間隔監視部4は、最長通信間隔異常を検出し、最長通信間隔異常の発生を数値制御装置1へ通知するとともに、工作機械の構成機器2への信号出力を停止して(ステップS34)、ステップS31へ進む。   After starting the operation, the sequence data communication interval monitoring unit 4 determines whether or not the value of the free-run counter 41 exceeds the value set in the longest communication interval 14 (step S33). If it has exceeded (step S33 / Yes), the sequence data communication interval monitoring unit 4 detects the longest communication interval abnormality, notifies the numerical controller 1 of the occurrence of the longest communication interval abnormality, and The signal output to the component device 2 is stopped (step S34), and the process proceeds to step S31.

フリーランカウンタ41の値が最長通信間隔14にセットされた値を超過していない場合(ステップS33/No)、シーケンスデータ通信間隔監視部4は、正常なシーケンス番号を持つデータを受信しているか否かを判断する(ステップS35)。正常なシーケンス番号を持つデータを受信していない場合(ステップS35/No)、シーケンスデータ通信間隔監視部4は、フリーランカウンタ41をカウントアップし(ステップS39)、ステップS33に戻る。   If the value of the free run counter 41 does not exceed the value set in the longest communication interval 14 (step S33 / No), is the sequence data communication interval monitoring unit 4 receiving data having a normal sequence number? It is determined whether or not (step S35). When data having a normal sequence number has not been received (step S35 / No), the sequence data communication interval monitoring unit 4 counts up the free-run counter 41 (step S39) and returns to step S33.

正常なシーケンス番号を持つデータを受信した場合(ステップS35/Yes)、シーケンスデータ通信間隔監視部4は、フリーランカウンタ41の値が最短通信間隔13にセットされた値よりも小さいかを判断する(ステップS36)。フリーランカウンタ41の値が最短通信間隔13にセットされた値よりも小さい場合(ステップS36/Yes)、シーケンスデータ通信間隔監視部4は、最短通信間隔異常を検出し、最短通信間隔異常の発生を数値制御装置1へ通知するとともに、工作機械の構成機器2への信号出力を停止して(ステップS37)、ステップS31へ進む。   When data having a normal sequence number is received (step S35 / Yes), the sequence data communication interval monitoring unit 4 determines whether the value of the free run counter 41 is smaller than the value set in the shortest communication interval 13. (Step S36). When the value of the free-run counter 41 is smaller than the value set in the shortest communication interval 13 (step S36 / Yes), the sequence data communication interval monitoring unit 4 detects the shortest communication interval abnormality and the shortest communication interval abnormality occurs. Is sent to the numerical controller 1 and signal output to the machine tool component 2 is stopped (step S37), and the process proceeds to step S31.

フリーランカウンタ41の値が最短通信間隔13にセットされた値以上である場合(ステップS36/No)、シーケンスデータ通信間隔監視部4は、フリーランカウンタ41をクリアする(ステップS38)。シーケンスデータ通信間隔監視部4は、フリーランカウンタ41をカウントアップし(ステップS39)、ステップS33に戻る。   When the value of the free-run counter 41 is equal to or larger than the value set in the shortest communication interval 13 (step S36 / No), the sequence data communication interval monitoring unit 4 clears the free-run counter 41 (step S38). The sequence data communication interval monitoring unit 4 counts up the free run counter 41 (step S39), and returns to step S33.

同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4が上記の動作を行うことにより、最短通信間隔以内に不正データ通信を検出した場合や、最長通信間隔を超えて同一又は正常な順序のデータを送受信できないときに、入出力制御装置3が異常を検出できる。   When the same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4 perform the above-described operation, when the illegal data communication is detected within the shortest communication interval, or when the same or normal order exceeds the longest communication interval. When data cannot be transmitted / received, the input / output control device 3 can detect an abnormality.

本実施の形態によれば、モータ及び他の工作機械といったノイズ源となる機器が動作する通信品質が悪い環境下において、数値制御装置が複数回送信する同一データ及び正しいシーケンス番号が付与されたデータそれぞれの通信間隔を監視することで、シーケンス番号が付与された複数のデータの通信間隔に異常があるときに、工作機械の構成機器へ出力する信号を停止できる。   According to the present embodiment, the same data transmitted by the numerical control device a plurality of times and the data assigned with the correct sequence number in an environment with poor communication quality in which a device that becomes a noise source such as a motor and other machine tools operates. By monitoring each communication interval, when there is an abnormality in the communication intervals of a plurality of data to which sequence numbers are assigned, it is possible to stop the signal output to the machine tool component.

本実施の形態によれば、同一データ及び正しいシーケンス番号が付与されたデータのそれぞれについて通信間隔をチェックして異常時に工作機械の構成機器への信号出力を停止することができる。   According to the present embodiment, it is possible to check the communication interval for each of the same data and data to which the correct sequence number is assigned, and to stop signal output to the machine tool component when an abnormality occurs.

実施の形態2.
図6は、本発明にかかる入出力制御装置の実施の形態2の構成を示す図である。実施の形態2にかかる入出力制御装置3は、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5の有効/無効を決定する信号を入力するための入力端子42を備えており、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5は、有効/無効の設定内容を不揮発に記憶可能に構成されている。シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5は、有効とする設定が入力端子42を介してなされている場合にはシーケンスデータ通信間隔及び同一データ通信間隔の監視を行う。一方、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5は、無効とする設定が入力端子42を介してなされている場合にはシーケンスデータ通信間隔及び同一データ通信間隔の監視を行わない。
Embodiment 2. FIG.
FIG. 6 is a diagram showing a configuration of the input / output control apparatus according to the second embodiment of the present invention. The input / output control device 3 according to the second embodiment includes an input terminal 42 for inputting a signal for determining validity / invalidity of the sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5. The data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 are configured to be able to store valid / invalid setting contents in a nonvolatile manner. The sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 monitor the sequence data communication interval and the same data communication interval when the valid setting is made through the input terminal 42. On the other hand, the sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 do not monitor the sequence data communication interval and the same data communication interval when the invalid setting is made via the input terminal 42. .

図7は、実施の形態2にかかる入出力制御装置の動作の流れを示す図である。入出力制御装置3は、データを受信したかを監視する(ステップS51)。データを受信していない場合(ステップS51/No)、データを受信するまで監視を継続する。   FIG. 7 is a diagram illustrating an operation flow of the input / output control apparatus according to the second embodiment. The input / output control device 3 monitors whether data has been received (step S51). When data is not received (step S51 / No), monitoring is continued until data is received.

データを受信した場合(ステップS51/Yes)、入出力制御装置3は、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5が有効になっているかを確認する(ステップS52)。シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5が無効になっていれば(ステップS52/No)、入出力制御装置3は、シーケンスデータの通信間隔を監視する処理及び同一データの通信間隔を監視する処理を行わない。   When the data is received (step S51 / Yes), the input / output control device 3 checks whether the sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 are enabled (step S52). If the sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 are disabled (step S52 / No), the input / output control device 3 performs processing for monitoring the communication interval of sequence data and communication of the same data. Do not perform processing to monitor the interval.

シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5が有効になっていれば(ステップS52/Yes)、入出力制御装置3は、シーケンスデータ通信間隔監視部4にシーケンスデータ通信間隔監視処理を行わせ(ステップS53)、同一データ通信間隔監視部5に同一データ通信間隔監視処理(ステップS54)を行わせる。   If the sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 are enabled (step S52 / Yes), the input / output control device 3 causes the sequence data communication interval monitoring unit 4 to execute sequence data communication interval monitoring processing. (Step S53), the same data communication interval monitoring unit 5 is caused to perform the same data communication interval monitoring process (Step S54).

本実施の形態によれば、ハードウェア端子により固定的に有効/無効を判定するための機能を有することで、装置内部のレジスタ状態に依存せず、有効なデータのみを受理できる。これにより、入出力制御装置3の内部状態に依存せずに受信データの有効/無効を判定することができ、無効なデータを工作機械の構成機器2へ出力しないことで、工作機械の異常動作を防止できる。   According to the present embodiment, by having a function for determining valid / invalid fixedly by hardware terminals, only valid data can be accepted without depending on the register state in the apparatus. As a result, it is possible to determine whether the received data is valid / invalid without depending on the internal state of the input / output control device 3, and by not outputting invalid data to the machine tool component 2, abnormal operation of the machine tool can be performed. Can be prevented.

実施の形態3.
図8は、本発明にかかる入出力制御装置の実施の形態3の構成を示す図である。実施の形態3にかかる入出力制御装置は、通信間隔監視部通知モード管理部7を有する。
Embodiment 3 FIG.
FIG. 8 is a diagram showing the configuration of the third embodiment of the input / output control apparatus according to the present invention. The input / output control apparatus according to the third embodiment includes a communication interval monitoring unit notification mode management unit 7.

通信間隔監視部通知モード管理部7は、同一データ通信間隔監視部5及びシーケンスデータ通信間隔監視部4の通知モードを変更するための機能部である。   The communication interval monitoring unit notification mode management unit 7 is a functional unit for changing the notification mode of the same data communication interval monitoring unit 5 and the sequence data communication interval monitoring unit 4.

本実施の形態では、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5は、通常通知モードと異常通知モードとの二つの通知モードを有する。通常通知モードとは、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5が異常を検出した場合に数値制御装置1に異常情報を通知するモードである。異常通知モードとは、入出力制御装置3から数値制御装置1へ強制的に異常情報を通知する(異常発生時に異常情報を優先的に数値制御装置1へ通知する)モードであり、数値制御装置1から異常状態を制御するデータ以外のデータを受信した際に、入出力制御装置3は、異常情報を通知する。   In the present embodiment, the sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 have two notification modes, a normal notification mode and an abnormality notification mode. The normal notification mode is a mode for notifying the numerical controller 1 of abnormality information when the sequence data communication interval monitoring unit 4 and the same data communication interval monitoring unit 5 detect an abnormality. The abnormality notification mode is a mode for forcibly reporting abnormality information from the input / output control device 3 to the numerical control device 1 (notifying abnormality information preferentially to the numerical control device 1 when an abnormality occurs). When the data other than the data for controlling the abnormal state is received from 1, the input / output control device 3 notifies the abnormality information.

図9は、数値制御装置向けの通信動作モードを管理する処理の流れを示す図である。入出力制御装置3で異常が発生している場合、通信間隔監視部通知モード管理部7は、異常検知状態をステータスの初期状態として起動する(ステップS61)。   FIG. 9 is a diagram showing a flow of processing for managing the communication operation mode for the numerical control device. When an abnormality has occurred in the input / output control device 3, the communication interval monitoring unit notification mode management unit 7 starts up with the abnormality detection state as the initial state of the status (step S61).

通信間隔監視部通知モード管理部7は、通信間隔状態を確認する(ステップS62)。図10は、通信間隔状態を確認する処理(ステップS62の処理)の詳細を示す図である。通信間隔監視部通知モード管理部7は、異常要因クリアデータを受信したかを確認する(ステップS81)。異常要因クリアデータを受信した場合(ステップS81/Yes)、通信間隔監視部通知モード管理部7は、通信間隔状態を「正常」とする(ステップS85)。異常要因クリアデータを受信していない場合(ステップS81/No)、通信間隔監視部通知モード管理部7は、通信間隔状態に異常があるか否かを判断する(ステップS82)。同一データやシーケンスデータの通信間隔に異常がある場合(ステップS82/Yes)、通信間隔監視部通知モード管理部7は、通信間隔状態を「異常」とし、工作機械の構成機器2への出力を停止する(ステップS83)。同一データやシーケンスデータの通信間隔に異常がない場合(ステップS82/No)、通信間隔監視部通知モード管理部7は、数値制御装置1から異常通知データを受信したかを確認する(ステップS84)。異常通知データを受信した場合(ステップS84/Yes)、通信間隔監視部通知モード管理部7は、通信間隔状態を「異常」とし、工作機械の構成機器2への出力を停止する(ステップS83)。異常通知データを受信しない場合(ステップS84/No)、通信間隔監視部通知モード管理部7は、通信間隔状態を「正常」とする(ステップS85)。   The communication interval monitoring unit notification mode management unit 7 confirms the communication interval state (step S62). FIG. 10 is a diagram illustrating details of the process for confirming the communication interval state (the process in step S62). The communication interval monitoring unit notification mode management unit 7 checks whether or not the abnormality factor clear data has been received (step S81). When the abnormality factor clear data is received (step S81 / Yes), the communication interval monitoring unit notification mode management unit 7 sets the communication interval state to “normal” (step S85). When the abnormality factor clear data has not been received (step S81 / No), the communication interval monitoring unit notification mode management unit 7 determines whether or not there is an abnormality in the communication interval state (step S82). If there is an abnormality in the communication interval of the same data or sequence data (step S82 / Yes), the communication interval monitoring unit notification mode management unit 7 sets the communication interval state to "abnormal" and outputs the output to the component 2 of the machine tool. Stop (step S83). If there is no abnormality in the communication interval of the same data or sequence data (step S82 / No), the communication interval monitoring unit notification mode management unit 7 confirms whether abnormality notification data has been received from the numerical controller 1 (step S84). . When the abnormality notification data is received (step S84 / Yes), the communication interval monitoring unit notification mode management unit 7 sets the communication interval state to “abnormal” and stops the output to the machine tool component 2 (step S83). . When the abnormality notification data is not received (step S84 / No), the communication interval monitoring unit notification mode management unit 7 sets the communication interval state to “normal” (step S85).

通信間隔状態の確認が終わったら、通信間隔監視部通知モード管理部7は、ステータスの遷移処理を行う(ステップS63)。図11は、ステータスの遷移処理(ステップS63の処理)の詳細を示す図である。通信間隔監視部通知モード管理部7は、受信データが通常通知モードへの移行データであるか否かを確認する(ステップS71)。通常通知モードへの移行データである場合(ステップS71/Yes)、通信間隔監視部通知モード管理部7は、ステータスを異常非検知状態に遷移し(ステップS74)、ステータスの遷移処理を終了する。通常通知モードへの移行データでない場合(ステップS71/No)、通信間隔監視部通知モード管理部7は、受信データが異常通知モードへの移行データであるか否かを確認する(ステップS72)。異常通知モードへの移行データでない場合(ステップS72/No)、通信間隔監視部通知モード管理部7は、ステータスの遷移処理を終了する。異常通知モードへの移行データである場合(ステップS72/Yes)、通信間隔監視部通知モード管理部7は、ステータスを異常検知状態に遷移し(ステップS73)、ステータスの遷移処理を終了する。   When the communication interval state is confirmed, the communication interval monitoring unit notification mode management unit 7 performs a status transition process (step S63). FIG. 11 is a diagram illustrating details of status transition processing (processing in step S63). The communication interval monitoring unit notification mode management unit 7 checks whether or not the received data is data for shifting to the normal notification mode (step S71). When the data is the transition data to the normal notification mode (step S71 / Yes), the communication interval monitoring unit notification mode management unit 7 changes the status to an abnormal non-detection state (step S74), and ends the status transition processing. If the data is not the transition data to the normal notification mode (step S71 / No), the communication interval monitoring unit notification mode management unit 7 checks whether or not the received data is the transition data to the abnormality notification mode (step S72). When the data is not the transition data to the abnormality notification mode (step S72 / No), the communication interval monitoring unit notification mode management unit 7 ends the status transition process. When the data is the transition data to the abnormality notification mode (step S72 / Yes), the communication interval monitoring unit notification mode management unit 7 changes the status to the abnormality detection state (step S73), and ends the status transition process.

ステータスの遷移処理が終わったら、通信間隔監視部通知モード管理部7は、ステータスを確認する(ステップS64)。ステータスが異常非検知状態であれば(ステップS64/異常非検知状態)、通信間隔監視部通知モード管理部7は、動作モードを通常通知モードに設定する(ステップS66)。ステータスが異常検知状態であれば(ステップS64/異常検知状態)、通信間隔監視部通知モード管理部7は、動作モードを異常通知モードに設定する(ステップS65)。   When the status transition process is completed, the communication interval monitoring unit notification mode management unit 7 checks the status (step S64). If the status is an abnormal non-detection state (step S64 / abnormal non-detection state), the communication interval monitoring unit notification mode management unit 7 sets the operation mode to the normal notification mode (step S66). If the status is the abnormality detection state (step S64 / abnormality detection state), the communication interval monitoring unit notification mode management unit 7 sets the operation mode to the abnormality notification mode (step S65).

図12は、実施の形態3にかかる入出力制御装置を用いたシステムにおける異常検出から異常要因クリアまでの動作シーケンスの一例を示す図である。   FIG. 12 is a diagram illustrating an example of an operation sequence from abnormality detection to abnormality factor clearing in a system using the input / output control device according to the third embodiment.

入出力制御装置3は数値制御装置1から送信されたデータを受信する(A1)。数値制御装置1から入出力制御装置3宛にデータが送信されたとき、入出力制御装置3には障害が発生していないため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS82、S83、S84はいずれもNoとなるため、通信間隔状態は「正常」となる。このため、入出力制御装置3は、正常応答を数値制御装置1へ返送する(A2)。また、図11のステップS71、S72はいずれもNoとなり、ステータスの初期状態が異常検知状態であるため、動作モードは異常通知モードとなる。 Output control unit 3 1 receives the data transmitted from the numerical control apparatus 1 (A1). When data from the numerical control device 1 to the output control unit 3 1 addressed is transmitted, the input-output control unit 3 for the 1 failure has not occurred, the sequence data communication interval monitor section 4 and the same data communication interval monitor section None of 5 detects an abnormality. Output control unit 3 1 performs the processing of the communication interval monitor section notification mode management unit 7. At this time, since steps S82, S83, and S84 in FIG. 10 are all No, the communication interval state is “normal”. Therefore, output control unit 3 1, returns a normal response to the numerical controller 1 (A2). In addition, since steps S71 and S72 in FIG. 11 are both No and the initial status is the abnormality detection state, the operation mode is the abnormality notification mode.

入出力制御装置3は数値制御装置1から送信されたデータを受信する(A3)。数値制御装置1から入出力制御装置3宛にデータが送信されるよりも前に、入出力制御装置3には障害が発生しているため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5の少なくともいずれかで異常が検出される。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS82はNo、S84はYesとなるため、通信間隔状態は「異常」となる。このため、入出力制御装置3は、数値制御装置1へ異常を通知する(A4)。また、図11のステップS71、S72はいずれもNoとなり、ステータスの初期状態は異常検知モードであるため、動作モードは異常通知モードとなる。 Output control unit 3 2 receives the data transmitted from the numerical control apparatus 1 (A3). Before the data from the numerical control apparatus 1 to the input-output control unit 3 2 destined than being transmitted to the output control unit 3 2 because a failure has occurred, the sequence data communication interval monitor section 4 and the same data communication An abnormality is detected in at least one of the interval monitoring units 5. Output control unit 3 2 performs processing of communication interval monitor section notification mode management unit 7. At this time, since step S82 in FIG. 10 is No and S84 is Yes, the communication interval state is “abnormal”. Therefore, the input-output control unit 3 2 notifies the abnormality to the numerical controller 1 (A4). Further, since steps S71 and S72 in FIG. 11 are both No and the initial status is the abnormality detection mode, the operation mode is the abnormality notification mode.

数値制御装置1は、入出力制御装置3から異常を通知されると、異常の通知元を除く全ての入出力制御装置(この例では入出力制御装置3)に異常通知を送信する(A5)。数値制御装置1から入出力制御装置3宛に異常通知が送信されたとき、入出力制御装置3には障害が発生していないため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS81、S82はNo、S84はYesとなるため、通信間隔状態は「異常」となる。このため、入出力制御装置3は、数値制御装置1へ異常を通知する(A6)。また、図11のステップS71、S72はいずれもNoとなるため、動作モードは前回と同じ異常通知モードとなる。 Numerical controller 1 is notified of the abnormality from the output control unit 3 2, (in this example output control unit 3 1) All input-output control unit except for the abnormality notification source transmits to the abnormality notification ( A5). When abnormality notification to the output control unit 3 1 destined from the numerical control apparatus 1 is transmitted, the input-output control unit 3 for the 1 failure has not occurred, the sequence data communication interval monitor section 4 and the same data communication interval monitor None of the parts 5 detect an abnormality. Output control unit 3 1 performs the processing of the communication interval monitor section notification mode management unit 7. At this time, Steps S81 and S82 in FIG. 10 are No, and S84 is Yes, so the communication interval state is “abnormal”. Therefore, output control unit 3 1 notifies the abnormality to the numerical controller 1 (A6). Further, since both Steps S71 and S72 of FIG. 11 are No, the operation mode is the same abnormality notification mode as the previous time.

数値制御装置1又は数値制御装置1のユーザは、異常通知後、異常原因を分析し、復帰可能と判断した場合は、入出力制御装置3の異常原因をクリアする処理を行う(A7)。 The user of the numerical controller 1 or the numerical controller 1, after the abnormality notification to analyze the abnormality cause, if it is determined that the returnable performs a process of clearing the cause of the abnormality output control unit 3 2 (A7).

数値制御装置1は、全ての入出力制御装置(この例では入出力制御装置3,3)に通常通知モード移行データを送る(A8,A10)。数値制御装置1から通常通知モード移行データが送信されたとき、入出力制御装置3には障害が発生していないため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS81、S82、S84はいずれもNoとなるため、通信間隔状態は「正常」となる。このため、入出力制御装置3は、数値制御装置1へ正常応答として移行完了を通知する(A9)。また、図11のステップS71はYesとなるため、動作モードは通常通知モードに遷移する。 The numerical controller 1 sends normal notification mode transition data to all the input / output control devices (in this example, the input / output control devices 3 1 and 3 2 ) (A8, A10). When the numerical controller 1 is the normal notification mode transition data is transmitted, since a failure in the output control unit 3 1 has not occurred, any sequence data communication interval monitor section 4 and the same data communication interval monitor section 5 Abnormality is not detected. Output control unit 3 1 performs the processing of the communication interval monitor section notification mode management unit 7. At this time, since steps S81, S82, and S84 in FIG. 10 are all No, the communication interval state is “normal”. Therefore, output control unit 3 1 notifies the transition completion as a normal response to the numerical controller 1 (A9). Moreover, since step S71 of FIG. 11 becomes Yes, an operation mode changes to normal notification mode.

数値制御装置1から通常通知モード移行データが送信されたとき、入出力制御装置3に発生した障害は解消されているため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS81、S82、S84はいずれもNoとなるため、通信間隔状態は「正常」となる。このため、入出力制御装置3は、数値制御装置1へ正常応答として移行完了を通知する(A11)。また、図11のステップS71はYesとなるため、動作モードは通常通知モードに遷移する。 When the numerical controller 1 is the normal notification mode transition data is transmitted, because the fault occurring in the input-output control unit 3 2 are eliminated, any sequence data communication interval monitor section 4 and the same data communication interval monitor section 5 Does not detect any abnormalities. Output control unit 3 2 performs processing of communication interval monitor section notification mode management unit 7. At this time, since steps S81, S82, and S84 in FIG. 10 are all No, the communication interval state is “normal”. Therefore, the input-output control unit 3 2 notifies the transition completion as a normal response to the numerical controller 1 (A11). Moreover, since step S71 of FIG. 11 becomes Yes, an operation mode changes to normal notification mode.

数値制御装置1は、全ての入出力制御装置3,3から通常検知モードへの移行完了が通知されると、全ての入出力制御装置3,3へ異常要因クリアデータを送る(A12、A14)。数値制御装置1から異常要因クリアデータが送信されたとき、入出力制御装置3には障害が発生していないため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS82がYesとなるため、通信間隔状態は「正常」となる。このため、入出力制御装置3は、数値制御装置1へ正常応答を返信する(A13)。また、図11のステップS71、S72はいずれもNoとなるため、動作モードは前回と同じ通常通知モードとなる。 Numerical controller 1, when all the input-output control unit 3 1, 3 completion of the transition from the 2 to the normal detection mode is notified and sends an abnormal source clear data to all input and output control unit 3 1, 3 2 ( A12, A14). When numerical abnormalities factor clear data from the control apparatus 1 is transmitted, since a failure in the output control unit 3 1 has not occurred, any sequence data communication interval monitor section 4 and the same data communication interval monitor section 5 abnormal Is not detected. Output control unit 3 1 performs the processing of the communication interval monitor section notification mode management unit 7. At this time, since step S82 of FIG. 10 is Yes, the communication interval state is “normal”. Therefore, output control unit 3 1 returns a normal response to the numerical controller 1 (A13). Also, since steps S71 and S72 in FIG. 11 are both No, the operation mode is the same normal notification mode as the previous time.

数値制御装置1から異常要因クリアデータが送信されたとき、入出力制御装置3には障害が発生していないため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS82はYesとなるため、通信間隔状態は「正常」となる。このため、入出力制御装置3は、数値制御装置1へ正常応答を返信する(A15)。また、図11のステップS71、S72はいずれもNoとなるため、動作モードは前回と同じ通常通知モードとなる。 When abnormal factor clear data from the numerical control apparatus 1 is transmitted, for the input-output control unit 3 2 no failure occurs, none of the sequence data communication interval monitor section 4 and the same data communication interval monitor section 5 abnormal Is not detected. Output control unit 3 2 performs processing of communication interval monitor section notification mode management unit 7. At this time, since step S82 in FIG. 10 is Yes, the communication interval state is “normal”. Therefore, the input-output control unit 3 2 returns a normal response to the numerical controller 1 (A15). Also, since steps S71 and S72 in FIG. 11 are both No, the operation mode is the same normal notification mode as the previous time.

数値制御装置1は、異常要因クリアデータに対する正常応答を全ての入出力制御装置3,3から受信すると、全ての入出力制御装置3,3へ異常通知モード移行データを送る(A16,A18)。数値制御装置1から通常通知モード移行データが送信されたとき、入出力制御装置3には障害が発生していないため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS81、S82、S84はいずれもNoとなるため、通信間隔状態は「正常」となる。このため、入出力制御装置3は、数値制御装置1へ正常応答として移行完了を通知する(A17)。また、図11のステップS71はNo、S72はYesとなるため、動作モードは異常通知モードに遷移する。 When the numerical controller 1 receives a normal response to the abnormality factor clear data from all the input / output control devices 3 1 and 3 2 , the numerical control device 1 sends the abnormality notification mode transition data to all the input / output control devices 3 1 and 3 2 (A16). , A18). When the numerical controller 1 is the normal notification mode transition data is transmitted, since a failure in the output control unit 3 1 has not occurred, any sequence data communication interval monitor section 4 and the same data communication interval monitor section 5 Abnormality is not detected. Output control unit 3 1 performs the processing of the communication interval monitor section notification mode management unit 7. At this time, since steps S81, S82, and S84 in FIG. 10 are all No, the communication interval state is “normal”. Therefore, output control unit 3 1 notifies the transition completion as a normal response to the numerical controller 1 (A17). Moreover, since step S71 of FIG. 11 becomes No and S72 becomes Yes, an operation mode changes to abnormality notification mode.

数値制御装置1から異常通知モード移行データが送信されたとき、入出力制御装置3には障害が発生していないため、シーケンスデータ通信間隔監視部4及び同一データ通信間隔監視部5のいずれも異常は検出しない。入出力制御装置3は、通信間隔監視部通知モード管理部7の処理を行う。この際、図10のステップS81、S82、S84はいずれもNoとなるため、通信間隔状態は「正常」となる。このため、入出力制御装置3は、数値制御装置1へ正常応答として移行完了を通知する(A19)。また、図11のステップS71はNo、S72はYesとなるため、動作モードは異常通知モードに遷移する。 When the transmitted numerical controller abnormality notification mode transition data from 1, since the input-output control unit 3 to 2 is not failed, any of the sequence data communication interval monitor section 4 and the same data communication interval monitor section 5 Abnormality is not detected. Output control unit 3 2 performs processing of communication interval monitor section notification mode management unit 7. At this time, since steps S81, S82, and S84 in FIG. 10 are all No, the communication interval state is “normal”. Therefore, the input-output control unit 3 2 notifies the transition completion as a normal response to the numerical controller 1 (A19). Moreover, since step S71 of FIG. 11 becomes No and S72 becomes Yes, an operation mode changes to abnormality notification mode.

数値制御装置1は、異常通知モードへの移行完了通知を全ての入出力制御装置3,3から受信すると、正常動作モードへ移行し、工作機械の構成機器2への出力データを入出力制御装置3,3へ送信する(A20,A22)。入出力制御装置3,3は、工作機械からの入力データを数値制御装置1へ送信する(A21,A23)。 When the numerical control device 1 receives the notification of completion of the transition to the abnormality notification mode from all the input / output control devices 3 1 and 3 2 , the numerical control device 1 shifts to the normal operation mode and inputs / outputs output data to the machine tool component 2. The data is transmitted to the control devices 3 1 and 3 2 (A20, A22). The input / output control devices 3 1 and 3 2 transmit input data from the machine tool to the numerical control device 1 (A21, A23).

以上の動作により、任意の入出力制御装置で異常検出した際に、全ての入出力制御装置へ異常を通知して工作機械の構成機器への出力を停止し、数値制御装置から異常要因をクリアするときに入出力制御装置が異常を誤検出することなく復帰できる。   With the above operation, when an error is detected by any I / O controller, the error is notified to all I / O controllers and output to machine tool components is stopped, and the cause of the error is cleared from the numerical controller. The input / output control device can be restored without erroneously detecting the abnormality.

本実施の形態によれば、数値制御装置から入出力制御装置へ異常要因クリアを通知したときに、通信遅延により、再度異常検出する可能性がある環境下において、異常の誤検出を防止するため、数値制御装置は異常検出を行わない動作モードへ移行するデータを予め送信、異常クリア、動作モード解除の手順で実行することにより、工作機械の構成機器への信号出力を再開できる。   According to the present embodiment, in order to prevent erroneous detection of an abnormality in an environment where an abnormality may be detected again due to a communication delay when an abnormality factor clear is notified from the numerical control device to the input / output control device. The numerical control device can resume the signal output to the machine tool component by executing in advance the data for shifting to the operation mode in which the abnormality detection is not performed, in the procedure of transmitting, clearing the abnormality, and canceling the operation mode.

以上のように、本発明にかかる入出力制御装置は、最短通信間隔以内に不正データを検出したとき及び最長通信間隔を超えて同一又は正常な順序のデータを送受信できないときに入出力制御装置が異常を検出できる点で有用である。   As described above, the input / output control device according to the present invention is configured so that when the illegal data is detected within the shortest communication interval and when the same or normal order data cannot be transmitted / received beyond the longest communication interval, This is useful in that it can detect abnormalities.

1 数値制御装置、2 工作機械の構成機器、3 入出力制御装置、4 シーケンスデータ通信間隔監視部、5 同一データ通信間隔監視部、6 通信間隔管理テーブル、7 通信間隔監視部通知モード管理部、12 局番号、13,18 最短通信間隔、14,19 最長通信間隔、15 シーケンス番号、17 チェックフレーム数、41,51 フリーランカウンタ、42 入力端子、52 データ比較バッファ。   DESCRIPTION OF SYMBOLS 1 Numerical control apparatus, 2 Machine tool component apparatus, 3 Input / output control apparatus, 4 Sequence data communication interval monitoring part, 5 Same data communication interval monitoring part, 6 Communication interval management table, 7 Communication interval monitoring part Notification mode management part, 12 station number, 13, 18 shortest communication interval, 14, 19 longest communication interval, 15 sequence number, 17 number of check frames, 41, 51 free run counter, 42 input terminal, 52 data comparison buffer.

Claims (5)

シーケンス番号が同一のデータを複数回出力することを前記シーケンス番号を変えながら繰り返す数値制御装置に接続され、
工作機械の構成機器から入力した信号を前記数値制御装置へ出力し、該数値制御装置から入力されたデータに基づいて前記工作機械の構成機器へ信号を出力する入出力制御装置であって、
前記シーケンス番号が同一のデータの受信間隔に基づいて異常を検出する同一データ通信間隔監視部と、
前記シーケンス番号が設定数異なるデータの受信間隔に基づいて異常を検出するシーケンスデータ通信間隔監視部と、
を備え、
前記同一データ通信間隔監視部及び前記シーケンスデータ通信間隔監視部の少なくとも一方が異常を検出した場合に、前記数値制御装置に異常検出を通知するとともに、前記工作機械の構成機器への信号出力を停止することを特徴とする入出力制御装置。
Connected to a numerical controller that repeats outputting the same sequence number multiple times while changing the sequence number,
An input / output control device that outputs a signal input from a machine tool component to the numerical controller, and outputs a signal to the machine tool component based on data input from the numerical controller;
The same data communication interval monitoring unit for detecting an abnormality based on the reception interval of the data with the same sequence number;
A sequence data communication interval monitoring unit for detecting an abnormality based on a reception interval of data in which the sequence number is different from a set number;
With
When at least one of the same data communication interval monitoring unit and the sequence data communication interval monitoring unit detects an abnormality, the numerical control device is notified of the abnormality detection and the signal output to the machine tool constituent device is stopped. An input / output control device.
前記同一データ通信間隔監視部は、シーケンス番号が同一のデータを、第1最短通信間隔よりも短い間隔で受信するか、または、第1最長通信間隔の間に受信できない場合に異常を検出することを特徴とする請求項1に記載の入出力制御装置。   The same data communication interval monitoring unit receives data having the same sequence number at an interval shorter than the first shortest communication interval or detects an abnormality when it cannot be received during the first longest communication interval. The input / output control apparatus according to claim 1. 前記シーケンスデータ通信間隔監視部は、シーケンス番号が2以上異なるデータを第2最短通信間隔よりも短い間隔で受信するか、または、第2最長通信間隔の間に受信できない場合に異常を検出することを特徴とする請求項1又は2に記載の入出力制御装置。   The sequence data communication interval monitoring unit receives data having a sequence number different by 2 or more at an interval shorter than the second shortest communication interval or detects an abnormality when it cannot be received during the second longest communication interval. The input / output control apparatus according to claim 1 or 2. 前記同一データ通信間隔監視部及び前記シーケンスデータ通信間隔監視部の有効/無効を切り替える入力端子を備えることを特徴とする請求項1から3のいずれか1項に記載の入出力制御装置。   4. The input / output control apparatus according to claim 1, further comprising an input terminal that switches between valid / invalid of the same data communication interval monitoring unit and the sequence data communication interval monitoring unit. 5. 前記数値制御装置に対して複数台接続される請求項1から4のいずれか1項に記載の入出力制御装置であって、
自装置又は他の入出力装置で異常が発生した際に、前記同一データ通信間隔監視部及び前記シーケンスデータ通信間隔監視部を、新規に異常を検出しない動作モードへ移行させ、
前記数値制御装置から異常の解消が通知された際に、前記同一データ通信間隔監視部及び前記シーケンスデータ通信間隔監視部を、異常を検出する動作モードへ移行させるとともに、前記工作機械の構成機器への信号出力を再開する通信間隔監視部通知モード管理部を備えることを特徴とする入出力制御装置。
The input / output control apparatus according to any one of claims 1 to 4, wherein a plurality of units are connected to the numerical control apparatus.
When an abnormality occurs in its own device or another input / output device, the same data communication interval monitoring unit and the sequence data communication interval monitoring unit are newly shifted to an operation mode in which no abnormality is detected,
When the cancellation of the abnormality is notified from the numerical control device, the same data communication interval monitoring unit and the sequence data communication interval monitoring unit are shifted to the operation mode for detecting the abnormality, and to the component device of the machine tool An input / output control device comprising a communication interval monitoring unit notification mode management unit for resuming signal output.
JP2013068555A 2013-03-28 2013-03-28 Input/output control device Pending JP2014191724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013068555A JP2014191724A (en) 2013-03-28 2013-03-28 Input/output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013068555A JP2014191724A (en) 2013-03-28 2013-03-28 Input/output control device

Publications (1)

Publication Number Publication Date
JP2014191724A true JP2014191724A (en) 2014-10-06

Family

ID=51837876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013068555A Pending JP2014191724A (en) 2013-03-28 2013-03-28 Input/output control device

Country Status (1)

Country Link
JP (1) JP2014191724A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807722A (en) * 2015-01-16 2016-07-27 发那科株式会社 Numerical control system including internal register self-reset function with serial communication signal monitoring
WO2018135604A1 (en) * 2017-01-19 2018-07-26 日本電気株式会社 Extracting device, extracting method and storage medium, and abnormality detecting device and abnormality detecting method
JP2020149566A (en) * 2019-03-15 2020-09-17 ファナック株式会社 Control system and display method for operation screen
WO2022264336A1 (en) * 2021-06-16 2022-12-22 ファナック株式会社 Control device and control system
WO2024024212A1 (en) * 2022-07-28 2024-02-01 株式会社 東芝 Transmission/reception device and control system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807722A (en) * 2015-01-16 2016-07-27 发那科株式会社 Numerical control system including internal register self-reset function with serial communication signal monitoring
CN105807722B (en) * 2015-01-16 2018-01-09 发那科株式会社 Possesses the numerical control system of internal register runback bit function
US10012975B2 (en) 2015-01-16 2018-07-03 Fanuc Corporation Numerical control system including internal register self-reset function with serial communication signal monitoring
WO2018135604A1 (en) * 2017-01-19 2018-07-26 日本電気株式会社 Extracting device, extracting method and storage medium, and abnormality detecting device and abnormality detecting method
JPWO2018135604A1 (en) * 2017-01-19 2019-11-07 日本電気株式会社 Extraction device, extraction method and storage medium, abnormality detection device, abnormality detection method
JP7006622B2 (en) 2017-01-19 2022-01-24 日本電気株式会社 Extraction device, extraction method and extraction program, as well as anomaly detection device, anomaly detection method
JP2020149566A (en) * 2019-03-15 2020-09-17 ファナック株式会社 Control system and display method for operation screen
JP7048530B2 (en) 2019-03-15 2022-04-05 ファナック株式会社 How to display the control system and operation screen
US11543797B2 (en) 2019-03-15 2023-01-03 Fanuc Corporation Control system and display method of operation screen image
WO2022264336A1 (en) * 2021-06-16 2022-12-22 ファナック株式会社 Control device and control system
WO2024024212A1 (en) * 2022-07-28 2024-02-01 株式会社 東芝 Transmission/reception device and control system

Similar Documents

Publication Publication Date Title
EP2632081B1 (en) Path switch-back method and apparatus in transport network
US9009523B2 (en) Method and apparatus for isolating a fault in a controller area network
KR101314994B1 (en) Communication system and communication apparatus status determining method
JP4308297B2 (en) Communication device and switch processing device
JP2014191724A (en) Input/output control device
US11016463B2 (en) Control and data-transfer system, gateway module, I/O module, and method for process control
CN110808873B (en) Method and device for detecting link failure
CN111373700B (en) Communication system, controlled device, and control method of communication system
JP2009111911A (en) Communication apparatus, communication system, and communication method
JP4541241B2 (en) Plant control system
EP3355530A1 (en) Method, apparatus and device for processing service failure
WO2019187202A1 (en) Control device, in-vehicle communication system, monitoring method, and program
US10574514B2 (en) Duplex control device and duplex system
JP4856968B2 (en) Transmission apparatus and failure recovery method
JP6728981B2 (en) Node device and communication system
JP5396812B2 (en) Transmission control apparatus and transmission control method
JP6591828B2 (en) Relay device and relay system
JP5884918B2 (en) Network management apparatus, system, and method
JP5407382B2 (en) Output module error output prevention method
JP2010028185A (en) Network node, network system and congestion detection method
JP3933135B2 (en) Switching hub device and network failure avoidance circuit and method
JPH10262098A (en) Line protection system
JP2021034907A (en) Communication apparatus, abnormality detection method and program
JP2007271533A (en) Test system for digital processing device
US20090245273A1 (en) Frame transmission device and control method for the same