JP6969298B2 - Communication equipment, restoration method, restoration program and image forming equipment - Google Patents
Communication equipment, restoration method, restoration program and image forming equipment Download PDFInfo
- Publication number
- JP6969298B2 JP6969298B2 JP2017211034A JP2017211034A JP6969298B2 JP 6969298 B2 JP6969298 B2 JP 6969298B2 JP 2017211034 A JP2017211034 A JP 2017211034A JP 2017211034 A JP2017211034 A JP 2017211034A JP 6969298 B2 JP6969298 B2 JP 6969298B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- communication station
- response
- station
- abnormality
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Description
本発明は、通信装置、復旧方法、復旧プログラム及び画像形成装置に関する。 The present invention relates to a communication device, a recovery method, a recovery program, and an image forming device.
従来、大型の商用印刷機等での制御方法として、各モジュールがCPU(Central Processing Unit)を有し、各CPUで処理を実行させることで制御を分散する方法が知られている。各モジュールのCPU同士の通信では、2線式通信ラインを用いた通信構成(ネットワーク通信)が使用される場合がある。かかるネットワーク通信では、複数のモジュールが1つのバスを使用して通信が行なわれ、両端に位置するモジュールは信号の反射を抑制するために終端することが好ましい。商用印刷機は拡張性を持ち、各モジュールの有無や配置構成はオプションの有無によって異なる。このため、各モジュールは終端用の抵抗を有し、CPUは連結されたモジュールの終端接続を制御する。これらにより、商用印刷機等では、配置構成が異なる場合であっても終端することが可能となり、通信環境を実現することができる。 Conventionally, as a control method in a large-scale commercial printing machine or the like, a method is known in which each module has a CPU (Central Processing Unit) and the control is distributed by executing processing by each CPU. In the communication between the CPUs of each module, a communication configuration (network communication) using a two-wire communication line may be used. In such network communication, it is preferable that a plurality of modules communicate using one bus, and the modules located at both ends are terminated in order to suppress signal reflection. Commercial printing machines are expandable, and the presence or absence of each module and the layout configuration differ depending on the presence or absence of options. Therefore, each module has a resistance for termination, and the CPU controls the termination connection of the connected modules. As a result, in a commercial printing machine or the like, it is possible to terminate even if the arrangement configuration is different, and a communication environment can be realized.
但し、モジュール間を接続するバスの断線等の異常が発生した場合は、終端が機能しなくなることで、全てのモジュールの通信環境を維持することが困難になる。そこで、特許文献1(特開2003−304265号公報)では、2線式通信ラインのバスで断線等の異常が発生した場合に、異常箇所の付近に配置されたモジュールの予備抵抗を終端抵抗として接続させるように、端に位置するメインのモジュールが指示を出すことにより、新たに終端したモジュールに対して異常箇所側とは反対側に配置されたモジュールとの間で通信を復旧させる技術が開示されている。 However, if an abnormality such as a disconnection of the bus connecting the modules occurs, the termination will not function and it will be difficult to maintain the communication environment of all the modules. Therefore, in Patent Document 1 (Japanese Unexamined Patent Publication No. 2003-304265), when an abnormality such as a disconnection occurs in the bus of a two-wire communication line, the preliminary resistance of the module arranged near the abnormal portion is used as a terminating resistor. A technology for restoring communication between a newly terminated module and a module located on the opposite side to the abnormal location side by instructing the main module located at the end to connect is disclosed. Has been done.
しかしながら、上述した従来技術は、モジュールの配置構成に制約があるという問題がある。具体的には、従来技術は、端に位置するモジュールをメインのモジュールとしているため、モジュールの配置構成に制約がある。つまり、メインとなるモジュールが端に存在しない商用印刷機等に対しては、上記従来技術の方法を適用することができない。 However, the above-mentioned conventional technique has a problem that there are restrictions on the arrangement and configuration of modules. Specifically, in the prior art, since the module located at the end is the main module, there are restrictions on the arrangement configuration of the modules. That is, the above-mentioned method of the prior art cannot be applied to a commercial printing machine or the like in which the main module does not exist at the end.
本発明は、上記に鑑みてなされたものであって、モジュールの配置構成に制約を設けることなく、異常の検出や通信の復旧を実現することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to realize abnormality detection and communication recovery without limiting the arrangement configuration of modules.
上述した課題を解決し、目的を達成するため、本発明に係る通信装置は、2線式通信ラインを介して複数の通信局が通信可能な通信装置であって、複数の前記通信局の少なくとも一つを示す第1の通信局が、前記2線式通信ラインに接続可能な抵抗と、前記2線式通信ラインに異常が発生したことを検出する検出部と、前記異常の発生が検出された場合に、前記2線式通信ラインへの前記抵抗の接続を制御する接続制御部と、前記第1の通信局とは異なる他の通信局に対する応答要求の個別送信を制御する通信制御部と、を有し、前記検出部は、前記他の通信局を2以上のグループに分け、各グループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所が含まれるグループを特定し、特定したグループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所を特定する。 In order to solve the above-mentioned problems and achieve the object, the communication device according to the present invention is a communication device capable of communicating with a plurality of communication stations via a two-wire communication line, and is at least one of the plurality of communication stations. The first communication station indicating one has a resistor that can be connected to the two-wire communication line, a detection unit that detects that an abnormality has occurred in the two-wire communication line, and a detection unit that detects the occurrence of the abnormality. In this case, a connection control unit that controls the connection of the resistor to the two-wire communication line, and a communication control unit that controls individual transmission of a response request to another communication station different from the first communication station. The detection unit divides the other communication stations into two or more groups, and includes the location where the abnormality occurs based on the response to the response request from the other communication stations belonging to each group. The group is specified, and the location where the abnormality occurs is specified based on the response to the response request from another communication station belonging to the specified group .
本発明によれば、モジュールの配置構成に制約を設けることなく、異常の検出や通信の復旧を実現することができるという効果を奏する。 According to the present invention, there is an effect that abnormality detection and communication recovery can be realized without limiting the arrangement configuration of modules.
以下に添付図面を参照して、本発明に係る通信装置、復旧方法、復旧プログラム及び画像形成装置の実施の形態を説明する。なお、以下の実施の形態により本発明が限定されるものではない。また、各実施の形態は、内容を矛盾させない範囲で適宜組み合わせることができる。 Hereinafter, embodiments of the communication device, the recovery method, the recovery program, and the image forming apparatus according to the present invention will be described with reference to the accompanying drawings. The present invention is not limited to the following embodiments. In addition, the embodiments can be appropriately combined as long as the contents do not contradict each other.
(実施の形態1)
図1を用いて、実施の形態1に係る通信装置10の構成を説明する。図1は、実施の形態1に係る通信装置10の構成例を示す図である。
(Embodiment 1)
The configuration of the
図1に示すように、通信装置10は、通信局31、通信局32、通信局33、通信局34及び通信局35を有する。通信装置10が有する各通信局はモジュールに相当する。図1では5つの通信局を有する通信装置10を例に挙げているが、通信局の数は5に限られるものではなく、3以上であればいくつであっても良い。また、各通信局には、番号が割り当てられている。図1の例では、通信局31を通信局(1)、通信局32を通信局(2)、通信局33を通信局(3)、通信局34を通信局(4)、通信局35を通信局(5)として番号が割り当てられている。以下では、かかる番号を「通信局番号」と呼ぶ場合がある。
As shown in FIG. 1, the
CPUを有する各通信局は、2線で一対のバスラインを共有して通信を行なう。これは、2線式通信ラインと呼ばれる。2線式通信ラインを形成するバスライン1(CAN_L:Controller Area Network_Low)及びバスライン2(CAN_H:Controller Area Network_High)は、差動信号を伝送する。各通信局が有するCPU41、CPU42、CPU43、CPU44及びCPU45は、通信制御や終端接続の制御を行なう。これらのうち、CPU43は、通信装置10に含まれる通信局全体を管理するメインのCPUである。メインのCPU43を有する通信局33は、「第1の通信局」に対応する。各通信局が有する終端回路51、終端回路52、終端回路53、終端回路54及び終端回路55は、抵抗とスイッチとを有し、各CPUからの信号に応じて終端接続を切り替えることができる。通常状態においては、端に配置された通信局31と通信局35とが終端することになり、終端回路51と終端回路55とで終端がオンされている。また、メインとなる通信局33以外の通信局は、通常のデータ送受信とは別に、正常に動作していることを示す信号を通信局33に対して定期的に送信する。以下では、かかる信号をハートビート信号と呼ぶ場合がある。
Each communication station having a CPU shares a pair of bus lines with two lines for communication. This is called a two-wire communication line. The bus line 1 (CAN_L: Controller Area Network_Low) and the bus line 2 (CAN_H: Controller Area Network_High) forming the two-wire communication line transmit a differential signal. The
次に、図2を用いて、実施の形態1に係る断線故障発生時の通信復旧について説明する。図2は、実施の形態1に係る断線故障発生時の通信復旧の例を説明する図である。 Next, with reference to FIG. 2, communication recovery in the event of a disconnection failure according to the first embodiment will be described. FIG. 2 is a diagram illustrating an example of communication recovery when a disconnection failure occurs according to the first embodiment.
図2では、通信局31と、通信局32との間のCAN_Hで断線故障が発生した場合を例に挙げる。このとき、通信局31の終端回路51は終端接続をオンにしているものの、断線故障のために終端抵抗として機能しなくなる。このため、各通信局間の通信ができない状態となる。そこで、通信局33は、通信局31と通信局32との間で異常が発生したことを検出し、自身の終端回路53のスイッチをオンにすることで終端抵抗として機能させる。これにより、2線式通信ラインのうち通信局31を除く、通信局32〜通信局35において通信が行なえる状態となる。
In FIG. 2, a case where a disconnection failure occurs in CAN_H between the
次に、図3を用いて、実施の形態1に係る通信局33の機能構成を説明する。図3は、実施の形態1に係る通信局33の機能構成例を示すブロック図である。なお、メインの通信局である通信局33以外の通信局においても、同様の機能構成を有していても良い。
Next, the functional configuration of the
図3に示すように、通信局33は、通信制御部61と、記憶部62と、検出部63と、接続制御部64と、出力制御部65と、状態管理部66とを有する。
As shown in FIG. 3, the
通信制御部61は、状態管理部66の制御に従い、通信局33と、通信局33とは異なる他の通信局との間の2線式通信ラインを用いた各種通信を制御する。例えば、通信制御部61は、通信装置10に含まれる通信局間でやり取りされる各種データの送受信を制御する。ここで、通信制御部61は、データ送信の際に、記憶部62から取得した送信コマンドを通信方式に則って変換したうえで送信する。また、通信制御部61は、受信したデータを変換したうえで記憶部62に格納する。
The communication control unit 61 controls various communications using a two-wire communication line between the
詳細には、通信制御部61は、他の通信局全てに対してブロードバンド送信(一斉送信)を行ない、ブロードバンド送信に対する応答を要求する。このほか、通信制御部61は、通常のデータ送受信とは別に、他の通信局から定期的に送信されるハートビート信号の受信を制御する。ハートビート信号の受信に際し、通信制御部61は、通信局33に搭載されたタイマをONにし、ハートビート信号の受信までの時間を計測する。ここで、タイムアウトによりハートビート信号が(所定時間内に)受信できない場合は、上述したブロードバンド送信が行なわれる。なお、他の通信局における通信制御部は、ハートビート信号の定期的な送信を制御することになる。
Specifically, the communication control unit 61 performs broadband transmission (broad transmission) to all other communication stations and requests a response to the broadband transmission. In addition, the communication control unit 61 controls reception of a heartbeat signal periodically transmitted from another communication station, in addition to normal data transmission / reception. Upon receiving the heartbeat signal, the communication control unit 61 turns on the timer mounted on the
検出部63は、2線式通信ラインに異常が発生したことを検出する。より具体的には、検出部63は、状態管理部66の制御に従い、記憶部62に記憶された受信データを取得し、2線式通信ラインに異常が発生したことを検出する。詳細には、検出部63は、タイムアウト等によりハートビート信号が所定時間内に受信されない場合に、2線式通信ラインに異常が発生したことを検出する。そして、検出部63は、通信制御部61によってブロードバンド送信が行なわれた後に、何れの通信局からも応答がない場合に、2線式通信ラインにおける断線故障であると検出する。一方、検出部63は、通信局の何れかから応答があれば、断線故障とは別起因による異常であると検出する。 The detection unit 63 detects that an abnormality has occurred in the two-wire communication line. More specifically, the detection unit 63 acquires the received data stored in the storage unit 62 under the control of the state management unit 66, and detects that an abnormality has occurred in the two-wire communication line. Specifically, the detection unit 63 detects that an abnormality has occurred in the two-wire communication line when the heartbeat signal is not received within a predetermined time due to a timeout or the like. Then, the detection unit 63 detects that there is a disconnection failure in the two-wire communication line when there is no response from any communication station after the broadband transmission is performed by the communication control unit 61. On the other hand, if there is a response from any of the communication stations, the detection unit 63 detects that the abnormality is caused by a cause other than the disconnection failure.
例えば、断線故障とは別起因による異常は、端の通信局である通信局31や通信局35においてソフトリセットが行なわれたことによるものである。ソフトリセットが行なわれていることで、終端接続が一時的にOFFになり、全ての通信局間で通信を行なえずに、ハートビート信号を送信できない状況になっていると考えられる。但し、通信局31や通信局35におけるソフトリセットが完了し、終端接続が再度ONにされることで、全ての通信局間で通信を行なえるようになり、ハートビート信号を送信できる状態に戻る。なお、断線故障とは別起因による異常の発生に対する処理は本実施の形態では割愛する。
For example, the abnormality caused by a cause other than the disconnection failure is caused by the soft reset being performed at the
接続制御部64は、状態管理部66の制御に従い、2線式通信ラインへの抵抗の接続を制御する。より具体的には、接続制御部64は、検出部63によって2線式通信ラインに断線故障が発生したことが検出された場合に、通信局33が有する終端回路53の終端接続をONにするための信号を出力する。通信局33の終端回路53の終端接続がONにされた場合は、2線式通信ラインのうち通信局31を除く、通信局32〜通信局35において通信が行なえる状態となる。
The connection control unit 64 controls the connection of the resistor to the two-wire communication line according to the control of the state management unit 66. More specifically, the connection control unit 64 turns on the terminal connection of the
出力制御部65は、状態管理部66の制御に従い、各種情報の出力を制御する。より具体的には、出力制御部65は、2線式通信ラインに異常が発生したこと、より詳細には、2線式通信ラインに断線故障が発生したこと等の情報を表示装置(例えば、操作パネル等)に出力する。状態管理部66は、上述した各部の状態管理を行なう。 The output control unit 65 controls the output of various information according to the control of the state management unit 66. More specifically, the output control unit 65 displays information such as that an abnormality has occurred in the 2-wire communication line, and more specifically, that a disconnection failure has occurred in the 2-wire communication line (for example,). Output to the operation panel, etc.). The state management unit 66 manages the state of each of the above-mentioned units.
次に、図4を用いて、実施の形態1に係る通信異常検知処理の流れを説明する。図4は、実施の形態1に係る通信異常検知処理の流れの例を示すフローチャートである。図4では、通信装置10が有する通信局のうち、端以外に配置された通信局である通信局33が2線式通信ラインにおける異常を検知する場合を例に挙げる。
Next, the flow of the communication abnormality detection process according to the first embodiment will be described with reference to FIG. FIG. 4 is a flowchart showing an example of the flow of the communication abnormality detection process according to the first embodiment. In FIG. 4, among the communication stations included in the
図4に示すように、通信局33は、タイマをONにする(ステップS101)。かかるタイマは、他の通信局から送られてくるハートビート信号を受信できているか否かにより、正常に通信を行なえているかを確認するために使用される。そして、通信局33は、ハートビート信号を受信したか否かを判定する(ステップS102)。このとき、通信局33は、ハートビート信号を受信した場合に(ステップS102:Yes)、タイマをリセットする(ステップS103)。タイマリセット後は、ステップS101の処理が再度実行される。一方、通信局33は、ハートビート信号を受信していない場合に(ステップS102:No)、ONにしたタイマをもとにタイムアウトしたか否かを判定する(ステップS104)。
As shown in FIG. 4, the
このとき、通信局33は、タイムアウトしていないと判定した場合に(ステップS104:No)、ステップS102の処理を再度実行する。一方、通信局33は、タイムアウトしたと判定した場合に(ステップS104:Yes)、ブロードバンド送信し、他の通信局全てに対して応答を要求する(ステップS105)。そして、通信局33は、1以上の応答信号を受信したか否かを判定する(ステップS106)。このとき、通信局33は、他の通信局からの応答信号が一つも受信できない場合に(ステップS106:No)、断線故障が発生したことを検出し、自身の(メインの)終端回路である終端回路53の終端接続をONにする(ステップS107)。一方、通信局33は、1以上の応答信号を受信できた場合に(ステップS106:Yes)、断線故障とは別起因による異常が発生していることから、これに準ずる異常処理を実行する(ステップS108)。
At this time, if it is determined that the time-out has not occurred (step S104: No), the
上述したように、通信局33は、ハートビート信号を受信できたか否かに応じて2線式通信ラインの異常を検出し、ブロードバンド送信に対する応答に応じて2線式通信ラインの断線故障の発生を検出し、自身の終端接続をONにするので、モジュールの配置構成に制約を設けることなく、異常の検出や通信の復旧を実現することができる。
As described above, the
(実施の形態2)
図5を用いて、実施の形態2に係る通信局33の機能構成を説明する。図5は、実施の形態2に係る通信局33の機能構成例を示すブロック図である。なお、図5では、実施の形態1に係る通信局33の機能構成と同様の構成については同一の符号を付し、その詳細な説明を省略する場合がある。
(Embodiment 2)
The functional configuration of the
図5に示すように、通信局33は、通信制御部61と、記憶部62と、検出部63aと、接続制御部64と、出力制御部65aと、状態管理部66と、指示部67aとを有する。
As shown in FIG. 5, the
検出部63aは、2線式通信ラインにおける異常の発生箇所を特定する。より具体的には、検出部63aは、ブロードバンド送信に対して、何れの通信局から応答が受信されたかを確認し、2線式通信ラインにおける異常の発生箇所を特定する。例えば、検出部63aは、通信制御部61によるブロードバンド送信の後、通信局番号が「2」である通信局32から応答が受信されない場合に、通信局番号「2」である通信局32と、通信局番号「3」である通信局33との間で断線故障が発生したと特定する。ここで、検出部63aは、通信局番号が「2」である通信局32から応答が受信され、通信局番号が「1」である通信局31から応答が受信されない場合に、通信局番号「1」である通信局31と、通信局番号「2」である通信局32との間で断線故障が発生したと特定する。
The detection unit 63a identifies a location where an abnormality occurs in the two-wire communication line. More specifically, the detection unit 63a confirms from which communication station the response is received in response to the broadband transmission, and identifies the location where the abnormality occurs in the two-wire communication line. For example, when the detection unit 63a does not receive a response from the
さらに、検出部63aは、通信局番号「1」である通信局31から応答が受信され、通信局番号が「4」である通信局34から応答が受信されない場合に、通信局番号「3」である通信局33と、通信局番号「4」である通信局34との間で断線故障が発生したと特定する。また、検出部63aは、通信局番号「4」である通信局34から応答が受信され、通信局番号が「5」である通信局35から応答が受信されない場合に、通信局番号「4」である通信局34と、通信局番号「5」である通信局35との間で断線故障が発生したと特定する。なお、検出部63aは、他の通信局の全てから応答信号が受信されている場合、断線故障を起因とした異常ではなく、ソフトリセットや終端不安定による異常であると検出する。
Further, the detection unit 63a receives the response from the
例えば、ソフトリセットによる異常は、通信装置10に含まれる端に配置された通信局でリセットが行なわれたために一時的に終端がOFFになっていたことによるものである。また、例えば、終端不安定による異常は、ソフトの暴走やハード的に終端が接続されていない等の不安定な状況であったり、終端抵抗付近の通信線が断線故障していたりすることによるものである。
For example, the abnormality due to the soft reset is due to the fact that the termination is temporarily turned off because the reset is performed by the communication station arranged at the end included in the
上述した断線故障の異常箇所の特定においては、メインの通信局33の通信局番号「3」よりも小さい通信局番号「2」の通信局32からの応答が受信されたか否かをはじめに判定する場合を例に挙げたが、これに限られるものではない。例えば、断線故障の異常箇所の特定では、メインの通信局33の通信局番号「3」よりも大きい通信局番号「4」の通信局34からの応答が受信されたか否かがはじめに判定されても良い。
In the above-mentioned identification of the abnormal location of the disconnection failure, it is first determined whether or not the response from the
指示部67aは、他の通信局に対する終端接続を指示する。より具体的には、指示部67aは、検出部63aによる異常箇所の特定後、異常の発生箇所から通信局33に向かって一つ隣に配置された他の通信局に対して、終端接続を指示する。指示部67aによる終端接続の指示は、通信制御部61によって送信制御される。例えば、指示部67aは、検出部63aによって、通信局31と通信局32との間で断線故障が発生したと検出された場合に、通信局32に対して終端接続を指示する。また、指示部67aは、検出部63aによって、通信局34と通信局35との間で断線故障が発生したと検出された場合に、通信局34に対して終端接続を指示する。なお、通信局33は、終端接続の指示対象が通信局33(自身)である場合、既に終端接続されている状態(終端接続ON)であるため、終端接続を維持したままにする。指示部67aによる指示に応じて、通信局間における通信が復旧する。なお、他の通信局に対する終端接続の指示後、接続制御部64は、通信局33が有する終端回路53の終端接続を、ONからOFFに切り替えるための信号を出力する。
The instruction unit 67a instructs a terminal connection to another communication station. More specifically, after the detection unit 63a identifies the abnormal location, the indicating unit 67a makes a terminal connection to another communication station located next to the
出力制御部65aは、状態管理部66の制御に従い、各種情報の出力を制御する。より具体的には、出力制御部65aは、検出部63aによって特定された断線故障の発生箇所をユーザに知らせるために、断線故障の発生箇所に関する情報を表示装置に出力する。 The output control unit 65a controls the output of various information according to the control of the state management unit 66. More specifically, the output control unit 65a outputs information on the location of the disconnection failure to the display device in order to notify the user of the location of the disconnection failure specified by the detection unit 63a.
次に、図6を用いて、実施の形態2に係る異常箇所検出処理の流れを説明する。図6は、実施の形態2に係る異常箇所検出処理の流れの例を示すフローチャートである。 Next, the flow of the abnormality location detection process according to the second embodiment will be described with reference to FIG. FIG. 6 is a flowchart showing an example of the flow of the abnormal portion detection process according to the second embodiment.
図6に示すように、通信局33は、ブロードバンド送信し、他の通信局全てに対して応答を要求する(ステップS201)。ブロードバンド送信後、通信局33は、他の通信局からの応答の受信待ちの状態となる(ステップS202)。そして、通信局33は、通信局番号が「2」である通信局32から応答を受信したか否かを判定する(ステップS203)。このとき、通信局33は、通信局32から応答が受信されない場合に(ステップS203:No)、断線故障の発生箇所は通信局番号「2」である通信局32と、通信局番号「3」である通信局33との間であると特定する(ステップS204)。ここで、通信局33は、終端接続すべき通信局(終端接続の指示対象となる通信局)を記録するために、変数T_Nodeに「3」を格納し、異常箇所検出処理を終了する。
As shown in FIG. 6, the
一方、通信局33は、通信局32から応答が受信された場合に(ステップS203:Yes)、通信局番号が「1」である通信局31から応答を受信したか否かを判定する(ステップS205)。このとき、通信局33は、通信局31から応答が受信されない場合に(ステップS205:No)、断線故障の発生箇所は通信局番号「1」である通信局31と、通信局番号「2」である通信局32との間であると特定する(ステップS206)。ここで、通信局33は、終端接続すべき通信局を記録するために、変数T_Nodeに「2」を格納し、異常箇所検出処理を終了する。
On the other hand, when the response is received from the communication station 32 (step S203: Yes), the
一方、通信局33は、通信局31から応答が受信された場合に(ステップS205:Yes)、通信局番号が「4」である通信局34から応答を受信したか否かを判定する(ステップS207)。このとき、通信局33は、通信局34から応答が受信されない場合に(ステップS207:No)、断線故障の発生箇所は通信局番号「3」である通信局33と、通信局番号「4」である通信局34との間であると特定する(ステップS208)。ここで、通信局33は、終端接続すべき通信局を記録するために、変数T_Nodeに「3」を格納し、異常箇所検出処理を終了する。
On the other hand, when the response is received from the communication station 31 (step S205: Yes), the
一方、通信局33は、通信局34から応答が受信された場合に(ステップS207:Yes)、通信局番号が「5」である通信局35から応答を受信したか否かを判定する(ステップS209)。このとき、通信局33は、通信局35から応答が受信されない場合に(ステップS209:No)、断線故障の発生箇所は通信局番号「4」である通信局34と、通信局番号「5」である通信局35との間であると特定する(ステップS210)。ここで、通信局33は、終端接続すべき通信局を記録するために、変数T_Nodeに「4」を格納し、異常箇所検出処理を終了する。
On the other hand, when the response is received from the communication station 34 (step S207: Yes), the
一方、通信局33は、通信局35から応答が受信された場合に(ステップS209:Yes)、これまでで他の通信局の全てから応答が受信されたため、断線故障を起因とした異常ではなく、ソフトリセットや終端不安定等による異常であると特定する(ステップS211)。ここで、通信局33は、終端接続すべき通信局が存在しないため、変数T_Nodeに「0」を格納し、異常箇所検出処理を終了する。
On the other hand, when the response is received from the communication station 35 (step S209: Yes), the
次に、図7を用いて、実施の形態2に係る終端接続指示処理の流れを説明する。図7は、実施の形態2に係る終端接続指示処理の流れの例を示すフローチャートである。 Next, the flow of the terminal connection instruction processing according to the second embodiment will be described with reference to FIG. 7. FIG. 7 is a flowchart showing an example of the flow of the terminal connection instruction processing according to the second embodiment.
図7に示すように、通信局33は、変数T_Nodeに格納されている値に応じて処理を切り替える(ステップS301)。変数T_Nodeに値「2」が格納されている場合に、通信局33は、通信局番号が「2」である通信局32に対して終端接続ONを指示する(ステップS302)。そして、通信局33は、一定時間の待機後、自身の終端接続をOFFにする(ステップS303)。一定時間は、通信局33からの指示に応じて通信局32が終端接続ONを実行するために要する時間である。
As shown in FIG. 7, the
また、変数T_Nodeに値「3」が格納されている場合に、通信局33は、自身の終端接続ONを維持したままにする(ステップS304)。
Further, when the value "3" is stored in the variable T_Node, the
また、変数T_Nodeに値「4」が格納されている場合に、通信局33は、通信局番号が「4」である通信局34に対して終端接続ONを指示する(ステップS305)。そして、通信局33は、一定時間の待機後、自身の終端接続をOFFにする(ステップS306)。同様に、一定時間は、通信局33からの指示に応じて通信局34が終端接続ONを実行するために要する時間である。
Further, when the value "4" is stored in the variable T_Node, the
また、変数T_Nodeに値「0」が格納されている場合に、通信局33は、ソフトリセット時又は終端不安定時の処理(異常処理)を実行する(ステップS307)。
Further, when the value "0" is stored in the variable T_Node, the
次に、図8を用いて、2線式通信ラインの断線故障の発生から通信の復旧までのタイムチャートを説明する。図8は、2線式通信ラインの断線故障の発生から通信の復旧までのタイムチャートの例を示す図である。なお、図8では、通信局番号が「1」である通信局31と、通信局番号が「2」である通信局32との間で断線故障が発生する場合を例に挙げて説明する。
Next, with reference to FIG. 8, a time chart from the occurrence of a disconnection failure of the two-wire communication line to the restoration of communication will be described. FIG. 8 is a diagram showing an example of a time chart from the occurrence of a disconnection failure of a two-wire communication line to the restoration of communication. In FIG. 8, a case where a disconnection failure occurs between the
図8に示すように、2線式通信ラインで異常が発生するまでは、通信局番号「1」、「2」、「4」及び「5」の通信局から、メインとなる通信局番号「3」の通信局に対してハートビート信号(図8に示す「HBM」)が送信される。通信局番号が「3」である通信局は、タイマを用いたタイムアウトまでに(返答待機の時間内に)、他の通信局からのハートビート信号を受信することで、2線式通信ラインに異常がなく、通信局間の通信が正常に行なわれていると認識する。 As shown in FIG. 8, until an abnormality occurs in the two-wire communication line, the communication station numbers "1", "2", "4" and "5" are changed to the main communication station number " A heartbeat signal (“HBM” shown in FIG. 8) is transmitted to the communication station of “3”. The communication station whose communication station number is "3" receives a heartbeat signal from another communication station by the time-out using the timer (within the response waiting time), so that the communication station becomes a two-wire communication line. It is recognized that there is no abnormality and communication between communication stations is performed normally.
ここで、通信局番号が「1」である通信局と、通信局番号が「2」である通信局との間で断線故障が発生したとする。これにより、通信局番号が「3」である通信局は、タイマを用いたタイムアウトまでに(返答待機の時間内に)、他の通信局からのハートビート信号を受信できなくなる。タイムアウトした後、通信局番号が「3」である通信局は、2線式通信ラインに異常が発生したことを検出し、自身の終端接続をONにする。これにより、2線式通信ラインのうち通信局番号が「1」である通信局を除く通信局において、不安定ではあるが通信が行なえる状態となる。 Here, it is assumed that a disconnection failure occurs between the communication station whose communication station number is "1" and the communication station whose communication station number is "2". As a result, the communication station whose communication station number is "3" cannot receive the heartbeat signal from another communication station by the time-out using the timer (within the response waiting time). After the time-out occurs, the communication station whose communication station number is "3" detects that an abnormality has occurred in the two-wire communication line and turns on its own terminal connection. As a result, the communication stations other than the communication station whose communication station number is "1" among the two-wire communication lines are in a state where communication can be performed although it is unstable.
通信局番号が「3」である通信局は、自身の終端接続をONにした後、異常の発生箇所を特定するためにブロードバンド送信し、他の通信局の全てに対してハートビート信号の送信要求を行なう。すなわち、ブロードバンド送信後のハートビート信号は、異常が発生する前に定期的に送られるハートビート信号とは異なり、要求に応じた送信となる。この要求に対して、通信可能な通信局は応答する。ここでは、通信局番号が「1」である通信局を除く他の通信局が応答することになる。 A communication station whose communication station number is "3" turns on its terminal connection, then transmits broadband to identify the location of the abnormality, and transmits a heartbeat signal to all other communication stations. Make a request. That is, the heartbeat signal after the broadband transmission is different from the heartbeat signal that is periodically transmitted before the abnormality occurs, and is transmitted according to the request. The communicable communication station responds to this request. Here, other communication stations other than the communication station whose communication station number is "1" will respond.
通信局番号が「3」である通信局は、他の通信局からの応答をもとに、断線故障が発生した箇所について、通信局番号が「1」である通信局と、通信局番号が「2」である通信局との間であると特定する。そして、通信局番号が「3」である通信局は、通信局番号が「2」である通信局に対して、終端接続ONを指示する。また、通信局番号が「3」である通信局は、終端接続ONとしている自身の終端接続をOFFにする。このように、異常箇所を検出し、その異常箇所よりも一つ内側の通信局の終端接続をONにすることにより、通信可能となった通信局間では、安定した通信が行なえるようになる。 Based on the response from other communication stations, the communication station whose communication station number is "3" has the communication station number "1" and the communication station number at the location where the disconnection failure has occurred. It is specified that it is between the communication station and the communication station which is "2". Then, the communication station whose communication station number is "3" instructs the communication station whose communication station number is "2" to turn on the terminal connection. Further, the communication station whose communication station number is "3" turns off its own terminal connection in which the terminal connection is ON. In this way, by detecting the abnormal location and turning on the terminal connection of the communication station one inside the abnormal location, stable communication can be performed between the communication stations that can communicate. ..
上述したように、通信局33は、ブロードバンド送信に対する応答をもとに断線故障の発生箇所を特定し、特定された発生箇所から自身側に一つ隣の通信局に終端接続を指示するので、モジュールの配置構成に制約を設けることなく、異常の検出、異常箇所の特定、通信の復旧を実現することができる。
As described above, the
(変形例1)
図9は、終端回路の変形例を示す図である。図9では、EMC(Electro Magnetic Compatibility)対策として、終端回路にコンデンサを追加した構成を例に挙げる。図9に示すように、CPU40は、終端回路50の終端接続を制御する。また、終端回路50は、スイッチ71と、スイッチ72と、終端抵抗81と、終端抵抗82と、コンデンサ9とを有する。
(Modification 1)
FIG. 9 is a diagram showing a modified example of the terminal circuit. In FIG. 9, as an EMC (Electro Magnetic Compatibility) countermeasure, a configuration in which a capacitor is added to the terminal circuit is taken as an example. As shown in FIG. 9, the
スイッチ71及びスイッチ72は、CPU40から受け付けた信号に応じてONとOFFとが制御される。これにより、終端抵抗81及び終端抵抗82の接続、未接続が切り替えられる。終端抵抗81及び終端抵抗82の抵抗値は、上記実施の形態で説明した終端抵抗の抵抗値の約半分の値をとる。コンデンサ9は、バス上に発生したノイズをグラウンドに逃がす役割を担う。なお、他の構成については、上記実施の形態で説明した構成と同様である。
The
(変形例2)
上記実施の形態では、メインとなる通信局33が、他の通信局から定期的に送信されるハートビート信号を受け付けたり、ブロードバンド送信に対する他の通信局からの応答を受け付けたりして、異常の発生を検出する場合を説明した。異常の発生は、通信局33が、通常のデータ送信を行なっている時にも起こり得る。そこで、通常のデータ送信時における通信異常検知処理を説明する。
(Modification 2)
In the above embodiment, the
図10は、データ送信時における通信異常検知処理の流れの例を示すフローチャートである。図10に示すように、通信局33は、データ送信を行なう(ステップS401)。データ送信によって送信されるデータについては特に制約はない。そして、通信局33は、データ送信が失敗したか否かを判定する(ステップS402)。このとき、通信局33は、データ送信が成功した場合に(ステップS402:No)、2線式通信ラインにおいて異常は発生していないものとして処理を終了する。
FIG. 10 is a flowchart showing an example of the flow of communication abnormality detection processing at the time of data transmission. As shown in FIG. 10, the
一方、通信局33は、データ送信が失敗した場合に(ステップS402:Yes)、データ送信が所定回数連続して失敗したか否かを判定する(ステップS403)。所定回数は、例えば3回等であるが、任意に設定することが可能である。通信局33は、データ送信が所定回数連続で失敗していない場合に(ステップS403:No)、ステップS401における処理を再度実行する。一方、通信局33は、データ送信が所定回数連続で失敗した場合に(ステップS403:Yes)、ブロードバンド送信し、他の通信局の全てに対して応答を要求する(ステップS404)。
On the other hand, when the data transmission fails (step S402: Yes), the
続いて、通信局33は、ブロードバンド送信に対し、1以上の応答信号を受信したか否かを判定する(ステップS405)。このとき、通信局33は、何れの通信局からも応答がない場合に(ステップS405:No)、2線式通信ラインにおける断線故障であることを検出し、通信を一時的に可能な状態にするために、自身の終端抵抗をONにする(ステップS406)。一方、通信局33は、1以上の応答信号を受信した場合に(ステップS405:Yes)、断線故障とは別起因による異常であることを検出し、この異常に準ずる異常処理を実行する(ステップS407)。
Subsequently, the
これらにより、通信局33は、通常のデータ送信時においても、通信異常の検出を行うことができる。
As a result, the
(変形例3)
上記実施の形態では、メインとなる通信局33が、ブロードバンド送信に対して受け取った応答をもとに、断線故障が発生した箇所を特定する場合を説明した。断線故障が発生した箇所は、他の通信局に対する個別送信に対して受け取った応答をもとに特定しても良い。そこで、個別送信に対して受け取った応答をもとに、断線故障が発生した箇所を特定する異常箇所検出処理を説明する。
(Modification 3)
In the above embodiment, the case where the
図11は、個別送信による異常箇所検出処理の流れの例を示すフローチャートである。図11に示すように、通信局番号が「3」であるメインの通信局33は、通信局番号が「2」である通信局32に対して個別送信し、応答を要求する(ステップS501)。そして、通信局33は、所定時間内に通信局32からの応答を受信したか否かを判定する(ステップS502)。このとき、通信局33は、所定時間内に通信局32からの応答を受信できない場合に(ステップS502:No)、通信局番号が「2」である通信局32と、通信局番号が「3」である通信局33との間で断線故障が発生したと特定する(ステップS503)。ここで、通信局33は、終端接続すべき通信局を記録するために、変数T_Nodeに「3」を格納し、異常箇所検出処理を終了する。
FIG. 11 is a flowchart showing an example of the flow of the abnormality location detection process by individual transmission. As shown in FIG. 11, the
一方、通信局33は、所定時間内に通信局32からの応答を受信できた場合に(ステップS502:Yes)、通信局番号が「1」である通信局31に対して個別送信し、応答を要求する(ステップS504)。そして、通信局33は、所定時間内に通信局31からの応答を受信したか否かを判定する(ステップS505)。このとき、通信局33は、所定時間内に通信局31からの応答を受信できない場合に(ステップS505:No)、通信局番号が「1」である通信局31と、通信局番号が「2」である通信局32との間で断線故障が発生したと特定する(ステップS506)。ここで、通信局33は、終端接続すべき通信局を記録するために、変数T_Nodeに「2」を格納し、異常箇所検出処理を終了する。
On the other hand, when the
一方、通信局33は、所定時間内に通信局31からの応答を受信できた場合に(ステップS505:Yes)、通信局番号が「4」である通信局34に対して個別送信し、応答を要求する(ステップS507)。そして、通信局33は、所定時間内に通信局34からの応答を受信したか否かを判定する(ステップS508)。このとき、通信局33は、所定時間内に通信局34からの応答を受信できない場合に(ステップS508:No)、通信局番号が「3」である通信局33と、通信局番号が「4」である通信局34との間で断線故障が発生したと特定する(ステップS509)。ここで、通信局33は、終端接続すべき通信局を記録するために、変数T_Nodeに「3」を格納し、異常箇所検出処理を終了する。
On the other hand, when the
一方、通信局33は、所定時間内に通信局34からの応答を受信できた場合に(ステップS508:Yes)、通信局番号が「5」である通信局35に対して個別送信し、応答を要求する(ステップS510)。そして、通信局33は、所定時間内に通信局35からの応答を受信したか否かを判定する(ステップS511)。このとき、通信局33は、所定時間内に通信局35からの応答を受信できない場合に(ステップS511:No)、通信局番号が「4」である通信局34と、通信局番号が「5」である通信局35との間で断線故障が発生したと特定する(ステップS512)。ここで、通信局33は、終端接続すべき通信局を記録するために、変数T_Nodeに「4」を格納し、異常箇所検出処理を終了する。
On the other hand, when the
一方、通信局33は、所定時間内に通信局35からの応答を受信できた場合に(ステップS511:Yes)、これまでで他の通信局の全てから応答が受信されたため、断線故障を起因とした異常ではなく、ソフトリセットや終端不安定等による異常であると特定する(ステップS513)。ここで、通信局33は、終端接続すべき通信局が存在しないため、変数T_Nodeに「0」を格納し、異常箇所検出処理を終了する。
On the other hand, when the
これらにより、通信局33は、他の通信局の全てからの応答を待機せずに、断線故障の発生箇所を特定することができ、自身により近い場所で断線故障が発生した場合に、より高速に断線箇所を特定することができる。
As a result, the
(変形例4)
上記実施の形態では、通信装置10に含まれる通信局が5つである場合を説明した。また、上述したように、通信局の数は5に限られるものではない。そこで、通信局の数がnである場合を説明する。
(Modification example 4)
In the above embodiment, the case where the
図12は、通信局の数がnである場合の通信装置10aの構成例を示す図である。図12に示すように、通信装置10aは、通信局番号が「1」〜「n」である通信局を有する。これらのうち、通信局31aと、通信局35aとは、端に配置された通信局であるものとする。また、通信局32a、通信局33a、通信局34aは、端以外に配置された通信局であるものとする。さらに、通信局33aは、メインの通信局であるものとする。
FIG. 12 is a diagram showing a configuration example of the
図12の例では、通信局31aを通信局(1)、通信局32aを通信局(n/4)、通信局33aを通信局(n/2)、通信局34を通信局(3n/4)、通信局35を通信局(n)としている。なお、各通信局の通信局番号(通し番号)は、整数でなくてはならないので、以下の説明において割り切れない場合は小数点以下を切り捨てる、又は、小数点以下を切り上げるものとする。
In the example of FIG. 12, the
図13は、通信局の数がnである場合の異常箇所検出処理の流れの例を示すフローチャートである。図13に示すように、通信局33aは、通信局(1)と通信局(n)とに対して個別送信し、応答を要求する(ステップS601)。ここで、通信局33aは、応答の受信パターンに応じて処理を切り替える(ステップS602)。通信局(1)からのみ応答を受信した場合は、通信局(1)〜通信局(n/2)の間で断線故障が発生していることになる。そこで、通信局33aは、通信局(1)からのみ応答を受信した場合に、通信局(n/4)に対し、ハートビート信号の送信を要求して、通信が正常に行なえるかを確認する(ステップS603)。
FIG. 13 is a flowchart showing an example of the flow of the abnormality location detection process when the number of communication stations is n. As shown in FIG. 13, the
そして、通信局33aは、通信局(n/4)からハートビート信号を受信したか否かを判定する(ステップS604)。このとき、通信局33aは、通信局(n/4)からハートビート信号を受信した場合に(ステップS604:Yes)、変数lに「n/4」を格納する(ステップS605)。すなわち、通信局(n/4)〜通信局(n/2)の間では断線故障が発生していないため、通信局(1)〜通信局(n/4)の間で断線故障の発生箇所を探すことになる。
Then, the
一方、通信局33aは、通信局(n/4)からハートビート信号を受信できない場合に(ステップS604:No)、変数lに「n/2」を格納する(ステップS606)。すなわち、通信局(n/4)〜通信局(n/2)の間で断線故障が発生しているため、通信局(n/4)〜通信局(n/2)の間でさらに断線故障の発生箇所を探すことになる。その後、通信局33aは、起点から隣の通信局を調べるための変数書き換え作業を行なう(ステップS607)。
On the other hand, when the
続いて、通信局33aは、通信局(l)に対し、ハートビート信号の送信を要求して、通信が正常に行なえるかを確認する(ステップS608)。そして、通信局33aは、通信局(l)からハートビート信号を受信したか否かを判定する(ステップS609)。このとき、通信局33aは、通信局(l)からハートビート信号を受信した場合に(ステップS609:Yes)、ステップS607の処理を実行し、さらに隣の通信局に対してハートビート信号の送信を要求する。一方、通信局33aは、通信局(l)からハートビート信号を受信できない場合に(ステップS609:No)、通信局(l)と通信局(l+1)との間で断線故障が発生していると特定する(ステップS610)。ここで、通信局33aは、終端接続すべき通信局を記録するために、変数T_Nodeに「l+1」を格納し、異常箇所検出処理を終了する。
Subsequently, the
また、ステップS602において、通信局(n)からのみ応答を受信した場合は、通信局(n/2)〜通信局(n)の間で断線故障が発生していることになる。そこで、通信局33aは、通信局(n)からのみ応答を受信した場合に、通信局(3n/4)に対し、ハートビート信号の送信を要求して、通信が正常に行なえるかを確認する(ステップS611)。
Further, in step S602, when the response is received only from the communication station (n), it means that a disconnection failure has occurred between the communication station (n / 2) and the communication station (n). Therefore, when the
そして、通信局33aは、通信局(3n/4)からハートビート信号を受信したか否かを判定する(ステップS612)。このとき、通信局33aは、通信局(3n/4)からハートビート信号を受信した場合に(ステップS612:Yes)、変数lに「3n/4」を格納する(ステップS613)。すなわち、通信局(n/2)〜通信局(3n/4)の間では断線故障が発生していないため、通信局(3n/4)〜通信局(n)の間で断線故障の発生箇所を探すことになる。
Then, the
一方、通信局33aは、通信局(3n/4)からハートビート信号を受信できない場合に(ステップS612:No)、変数lに「n/2」を格納する(ステップS614)。すなわち、通信局(n/2)〜通信局(3n/4)の間で断線故障が発生しているため、通信局(n/2)〜通信局(3n/4)の間でさらに断線故障の発生箇所を探すことになる。その後、通信局33aは、起点から隣の通信局を調べるための変数書き換え作業を行なう(ステップS615)。
On the other hand, when the
続いて、通信局33aは、通信局(l)に対し、ハートビート信号の送信を要求して、通信が正常に行なえるかを確認する(ステップS616)。そして、通信局33aは、通信局(l)からハートビート信号を受信したか否かを判定する(ステップS617)。このとき、通信局33aは、通信局(l)からハートビート信号を受信した場合に(ステップS617:Yes)、ステップS615の処理を実行し、さらに隣の通信局に対してハートビート信号の送信を要求する。一方、通信局33aは、通信局(l)からハートビート信号を受信できない場合に(ステップS617:No)、通信局(l)と通信局(l+1)との間で断線故障が発生していると特定する(ステップS618)。ここで、通信局33aは、終端接続すべき通信局を記録するために、変数T_Nodeに「l−1」を格納し、異常箇所検出処理を終了する。
Subsequently, the
また、ステップS602において、通信局(1)と通信局(n)との両方から応答を受信した場合は、異常が発生しているにもかかわらず、両端の通信局が通信を行なえる状態にあることになる。そこで、通信局33aは、断線故障を起因とした異常ではなく、ソフトリセットや終端不安定等による異常であると特定する(ステップS619)。ここで、通信局33aは、終端接続すべき通信局が存在しないため、変数T_Nodeに「0」を格納し、異常箇所検出処理を終了する。
Further, in step S602, when a response is received from both the communication station (1) and the communication station (n), the communication stations at both ends can communicate with each other even though an abnormality has occurred. There will be. Therefore, the
また、ステップS602において、通信局(1)と通信局(n)との両方から応答を受信できない場合は、断線故障が同時に複数発生している可能性がある。通信局33aは、両端で断線故障が同時に発生している場合、自力で復旧することは困難であるため、異常箇所検出処理を終了する(ステップS620)。
Further, in step S602, if the response cannot be received from both the communication station (1) and the communication station (n), there is a possibility that a plurality of disconnection failures occur at the same time. When the
つまり、通信局33は、他の通信局を2以上のグループに分け、各グループに属する他の通信局からの応答をもとに、断線故障の発生箇所が含まれるグループを特定し、特定したグループに属する他の通信局からの応答をもとに、断線故障の発生箇所を特定している。これらにより、通信局33は、通信局の数がいくつであっても、好適に異常の検出や異常箇所の特定、通信の復旧を実現することができる。
That is, the
(適用例1)
上記実施の形態で説明した通信装置10(10a)の機能は、様々な機器に適用することが可能である。そこで、以下では、上記実施の形態で説明した通信装置10(10a)の適用例を説明する。
(Application example 1)
The function of the communication device 10 (10a) described in the above embodiment can be applied to various devices. Therefore, an application example of the communication device 10 (10a) described in the above embodiment will be described below.
図14は、印刷機に適用した例を示す構成図である。例えば、図14に示すように、印刷機は、複数のユニットで構成される。具体的には、印刷機は、ユニット101、ユニット102、ユニット103、ユニット104、ユニット105、ユニット106、ユニット107、ユニット108、ユニット109、ユニット1010、ユニット1011で構成される。また、各ユニットには通信局が配置されており、各通信局は通信可能に接続される。
FIG. 14 is a configuration diagram showing an example applied to a printing machine. For example, as shown in FIG. 14, a printing machine is composed of a plurality of units. Specifically, the printing machine is composed of a
ユニット101及びユニット102は、連結排紙ユニットである。複数の排紙ユニットを採用することで、排紙ボリュームを増加させることができる。なお、連結排紙ユニットの何れかが動作すれば、印刷の動作を行なうことが可能である。ユニット101は、通信局111を有する。ユニット102は、通信局112を有する。ユニット103は、冷却ユニットであり、乾燥ユニットで熱された紙を冷却する。ユニット103は、通信局113を有する。ユニット104は、乾燥ユニットであり、用紙に付着したインクを乾燥させ、馴染ませる役割を担う。ユニット104は、通信局114を有する。ユニット105は、作像ユニットであり、用紙にインクを打ち込み、印刷を行なう。ユニット105は、通信局115を有する。ユニット106は、操作パネルであり、印刷機の操作画面の機能、及び、通信異常が発生した時等にユーザに対して通知する機能を担う。ユニット106は、通信局116を有する。
The
ユニット107は、レジストユニットであり、紙の搬送タイミングや位置調整を行なう。ユニット107は、通信局117を有する。ユニット108は、先塗りユニットであり、先塗り液をコートする。これにより、異なる用紙に対してもインクを馴染ませることができる。ユニット108は、通信局118を有する。ユニット109、ユニット1010及びユニット1011は、連結給紙ユニットである。複数の給紙ユニットを採用することで、給紙ボリュームを増加させることができる。なお、連結給紙ユニットの何れかが動作すれば、印刷の動作を行なうことが可能である。ユニット109は、通信局119を有する。ユニット1010は、通信局1110を有する。ユニット1011は、通信局1111を有する。
The
このような印刷機において、一部の機能が断線故障により通信を行なえずに動作できなくなったとしても、全体としては印刷動作が行なえる場合がある。その際、上記実施の形態で説明したような処理によって、一部を通信可能にすることで、印刷動作を行なえる状態にすることができる。 In such a printing machine, even if some functions cannot operate without communication due to a disconnection failure, the printing operation may be performed as a whole. At that time, by making a part of the communication possible by the process as described in the above embodiment, it is possible to make the printing operation possible.
(適用例2)
図15は、画像形成装置に適用した例を示す構成図である。画像形成装置は、一つの筐体に、印刷機能やコピー機能、スキャナ機能、FAX機能、操作パネル等を備える。例えば、図15に示すように、画像形成装置は、ADF(Auto Document Feeder)121と、操作パネル122と、スキャナ123と、FAX124と、作像部125とで構成される。また、各部には通信局が配置されており、各通信局は通信可能に接続される。
(Application example 2)
FIG. 15 is a configuration diagram showing an example applied to the image forming apparatus. The image forming apparatus includes a printing function, a copying function, a scanner function, a fax function, an operation panel, and the like in one housing. For example, as shown in FIG. 15, the image forming apparatus includes an ADF (Auto Document Feeder) 121, an
ADF121は、自動給紙装置であり、用紙反転機能により両面コピーを行なうことができる。ADF121は、通信局131を有する。操作パネル122は、画像形成装置の操作画面の機能、及び、通信異常が発生した時等にユーザに対して通知する機能を担う。操作パネル122は、通信局132を有する。スキャナ123は、用紙の画像取り込みを行なう。スキャナ123は、通信局133を有する。FAX124は、FAXの通信動作を行なう。FAX124は、通信局134を有する。作像部125は、用紙に対して印刷する機能を担う。作像部125は、通信局135を有する。
The
このような画像形成装置において、例えばADF121の通信局131と、操作パネル122の通信局132との間で断線故障が発生した場合に、ADF121をはじめ、全ての機能は通信を行なうことができずに、動作できなくなってしまう。その際、上記実施の形態で説明したような処理によって、ADF121以外の各機能で通信を行なえるように復旧させ、ADF121以外の機能が動作できる状態にすることができる。
In such an image forming apparatus, for example, when a disconnection failure occurs between the
(適用例3)
図16は、冷蔵庫に適用した例を示す構成図である。冷蔵庫(電気冷蔵庫)は、異なる冷却ユニットや液晶パネル等を備える。例えば、図16に示すように、冷蔵庫は、ユニット141と、ユニット142と、ユニット143と、ユニット144と、ユニット145と、ユニット146とを備える。ユニット141〜ユニット146は、それぞれ異なる冷却ユニットや液晶パネルであるものとする。また、各ユニットには通信局が配置されており、各通信局は通信可能に接続される。
(Application example 3)
FIG. 16 is a block diagram showing an example applied to a refrigerator. Refrigerators (electric refrigerators) are equipped with different cooling units, liquid crystal panels, and the like. For example, as shown in FIG. 16, the refrigerator includes a
ユニット141は、通信局151を有する。ユニット142は、通信局152を有する。ユニット143は、通信局153を有する。ユニット144は、通信局154を有する。ユニット145は、通信局155を有する。ユニット146は、通信局156を有する。
The
このような冷蔵庫において、一部の機能が断線故障により通信を行なえず、動作ができなくなったとしても、上記実施の形態で説明したような処理によって、一部を通信可能な状態にすることで、一部の冷却機能やパネル表示機能等を動作できる状態にすることができる。 In such a refrigerator, even if some of the functions cannot communicate due to a disconnection failure and cannot operate, the processing as described in the above embodiment can make a part of the refrigerator communicable. , Some cooling functions, panel display functions, etc. can be put into operation.
また、上記文書中や図面中等で示した処理手順、制御手順、具体的名称、各種のデータやパラメータ等を含む情報は、特記する場合を除いて任意に変更することができる。また、図示した装置の各構成要素は、機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、装置の分散又は統合の具体的形態は、図示のものに限られず、その全部又は一部を各種の負担や使用状況等に応じて、任意の単位で機能的又は物理的に、分散又は統合することができる。 In addition, information including processing procedures, control procedures, specific names, various data, parameters, etc. shown in the above documents and drawings can be arbitrarily changed unless otherwise specified. Further, each component of the illustrated device is a functional concept, and does not necessarily have to be physically configured as shown in the figure. That is, the specific form of dispersion or integration of the devices is not limited to the one shown in the figure, and all or part of the devices may be functionally or physically dispersed or physically distributed in arbitrary units according to various burdens and usage conditions. Can be integrated.
また、通信装置10で実行される復旧プログラムは、一つの様態として、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供される。また、通信装置10で実行される復旧プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、通信装置10で実行される復旧プログラムをインターネット等のネットワーク経由で提供又は配布するように構成しても良い。また、復旧プログラムを、ROM等に予め組み込んで提供するように構成しても良い。
Further, the recovery program executed by the
通信装置10で実行される復旧プログラムは、上述した各部(検出部63、接続制御部64)を少なくとも含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が記憶媒体から復旧プログラムを読み出して実行することにより、上記各部が主記憶装置上にロードされ、検出部63、接続制御部64が主記憶装置上に生成されるようになっている。
The recovery program executed by the
10 通信装置
33 通信局
61 通信制御部
62 記憶部
63 検出部
64 接続制御部
65 出力制御部
66 状態管理部
10
Claims (9)
複数の前記通信局の少なくとも一つを示す第1の通信局が、
前記2線式通信ラインに接続可能な抵抗と、
前記2線式通信ラインに異常が発生したことを検出する検出部と、
前記異常の発生が検出された場合に、前記2線式通信ラインへの前記抵抗の接続を制御する接続制御部と、
前記第1の通信局とは異なる他の通信局に対する応答要求の個別送信を制御する通信制御部と、を有し、
前記検出部は、前記他の通信局を2以上のグループに分け、各グループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所が含まれるグループを特定し、特定したグループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所を特定することを特徴とする通信装置。 A communication device capable of communicating with multiple communication stations via a two-wire communication line.
A first communication station indicating at least one of the plurality of communication stations
A resistor that can be connected to the two-wire communication line,
A detector that detects the occurrence of an abnormality in the two-wire communication line, and
A connection control unit that controls the connection of the resistor to the two-wire communication line when the occurrence of the abnormality is detected .
It has a communication control unit that controls individual transmission of a response request to another communication station different from the first communication station.
The detection unit divides the other communication stations into two or more groups, and identifies the group including the location where the abnormality occurs based on the response to the response request from the other communication stations belonging to each group. A communication device characterized in that a location where an abnormality occurs is specified based on a response to the response request from another communication station belonging to the specified group.
前記第1の通信局に対する定期的な信号の送信を制御する送信制御部を有し、
前記検出部は、前記他の通信局によって定期的に送信される信号が所定時間内に受信されない場合に、前記異常が発生したことを検出することを特徴とする請求項1に記載の通信装置。 Another communication station different from the first communication station
It has a transmission control unit that controls the transmission of periodic signals to the first communication station.
The communication device according to claim 1, wherein the detection unit detects that the abnormality has occurred when a signal periodically transmitted by the other communication station is not received within a predetermined time. ..
前記第1の通信局とは異なる他の通信局に対する応答要求の一斉送信を制御する通信制御部を有し、
前記検出部は、前記応答要求に対する応答に基づいて、前記異常の発生箇所を特定することを特徴とする請求項1に記載の通信装置。 The first communication station
It has a communication control unit that controls simultaneous transmission of response requests to other communication stations different from the first communication station.
The communication device according to claim 1, wherein the detection unit identifies a location where the abnormality occurs based on a response to the response request.
前記第1の通信局とは異なる他の通信局に対する応答要求の個別送信を制御する通信制御部を有し、
前記検出部は、前記応答要求に対する応答に基づいて、前記異常の発生箇所を特定することを特徴とする請求項1に記載の通信装置。 The first communication station
It has a communication control unit that controls individual transmission of response requests to other communication stations different from the first communication station.
The communication device according to claim 1, wherein the detection unit identifies a location where the abnormality occurs based on a response to the response request.
特定された前記異常の発生箇所から前記第1の通信局に向かって一つ隣に配置された前記他の通信局に対して、終端接続を指示する指示部を有することを特徴とする請求項1、4または5に記載の通信装置。 The first communication station
The claim is characterized in that it has an instruction unit for instructing a terminal connection to the other communication station arranged one adjacent to the first communication station from the identified location where the abnormality occurs. The communication device according to 1, 4 or 5.
複数の前記通信局の少なくとも一つを示す第1の通信局が、
前記2線式通信ラインに接続可能な抵抗を有し、
前記2線式通信ラインに異常が発生したことを検出する検出ステップと、
前記異常の発生が検出された場合に、前記2線式通信ラインへの前記抵抗の接続を制御する接続制御ステップと、
前記第1の通信局とは異なる他の通信局に対する応答要求の個別送信を制御する通信制御ステップと、を含み、
前記検出ステップは、前記他の通信局を2以上のグループに分け、各グループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所が含まれるグループを特定し、特定したグループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所を特定することを特徴とする復旧方法。 It is a recovery method executed by a communication device capable of communicating with multiple communication stations via a two-wire communication line.
A first communication station indicating at least one of the plurality of communication stations
It has a resistor that can be connected to the two-wire communication line.
A detection step for detecting that an abnormality has occurred in the two-wire communication line, and
A connection control step that controls the connection of the resistor to the two-wire communication line when the occurrence of the abnormality is detected , and
A communication control step for controlling individual transmission of a response request to another communication station different from the first communication station is included.
In the detection step, the other communication stations are divided into two or more groups, and a group including the location where the abnormality occurs is identified based on the response to the response request from the other communication stations belonging to each group. A recovery method comprising identifying a location where an abnormality has occurred based on a response to the response request from another communication station belonging to the specified group.
前記2線式通信ラインに接続可能な抵抗を有し、
前記第1の通信局に、
前記2線式通信ラインに異常が発生したことを検出する検出ステップと、
前記異常の発生が検出された場合に、前記2線式通信ラインへの前記抵抗の接続を制御する接続制御ステップと、
前記第1の通信局とは異なる他の通信局に対する応答要求の個別送信を制御する通信制御ステップと、を実行させ、
前記検出ステップは、前記他の通信局を2以上のグループに分け、各グループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所が含まれるグループを特定し、特定したグループに属する他の通信局からの前記応答要求に対する応答に基づいて、前記異常の発生箇所を特定する、復旧プログラム。 A first communication station indicating at least one of a plurality of communication stations arranged in a communication device capable of communicating via a two-wire communication line is a first communication station.
It has a resistor that can be connected to the two-wire communication line.
To the first communication station
A detection step for detecting that an abnormality has occurred in the two-wire communication line, and
A connection control step that controls the connection of the resistor to the two-wire communication line when the occurrence of the abnormality is detected , and
A communication control step for controlling individual transmission of a response request to another communication station different from the first communication station is executed.
The detection step divides the other communication stations into two or more groups, and identifies the group including the location where the abnormality occurs based on the response to the response request from the other communication stations belonging to each group. A recovery program that identifies the location of the anomaly based on the response to the response request from another communication station belonging to the specified group.
記録媒体に対する印刷処理の実行を制御する印刷制御部
を有することを特徴とする画像形成装置。 An image forming apparatus provided with the communication device according to any one of claims 1 to 6.
An image forming apparatus having a print control unit that controls execution of printing processing on a recording medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017211034A JP6969298B2 (en) | 2017-10-31 | 2017-10-31 | Communication equipment, restoration method, restoration program and image forming equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017211034A JP6969298B2 (en) | 2017-10-31 | 2017-10-31 | Communication equipment, restoration method, restoration program and image forming equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019083471A JP2019083471A (en) | 2019-05-30 |
JP6969298B2 true JP6969298B2 (en) | 2021-11-24 |
Family
ID=66670655
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017211034A Active JP6969298B2 (en) | 2017-10-31 | 2017-10-31 | Communication equipment, restoration method, restoration program and image forming equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6969298B2 (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000165415A (en) * | 1998-11-30 | 2000-06-16 | Hitachi Ltd | Controller in can communication system |
JP2001237842A (en) * | 2000-02-23 | 2001-08-31 | Nissan Motor Co Ltd | Fault diagnosis method for multiplex communication equipment and multiplex communication equipment adopting the method |
JP3952830B2 (en) * | 2002-04-10 | 2007-08-01 | 株式会社デンソー | Communications system |
US7355438B2 (en) * | 2003-09-26 | 2008-04-08 | Moore Industries-International, Inc. | Electronic circuit |
JP4827645B2 (en) * | 2006-08-02 | 2011-11-30 | キヤノン株式会社 | Image forming apparatus |
JP4844658B2 (en) * | 2009-08-07 | 2011-12-28 | 株式会社デンソー | Diagnostic device and diagnostic system |
JP2013121095A (en) * | 2011-12-08 | 2013-06-17 | Mitsubishi Electric Corp | Communication device |
JP2013168815A (en) * | 2012-02-15 | 2013-08-29 | Nippon Telegr & Teleph Corp <Ntt> | Apparatus and method for identifying transmission source causing congestion |
JP2014187542A (en) * | 2013-03-22 | 2014-10-02 | Toyota Motor Corp | Communication node and fault diagnostic method |
JP6264066B2 (en) * | 2014-02-03 | 2018-01-24 | 株式会社デンソー | Relay system |
-
2017
- 2017-10-31 JP JP2017211034A patent/JP6969298B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019083471A (en) | 2019-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10509611B2 (en) | Print system, server, printer, methods of controlling the print system, the server, and the printer, and storage medium that cancel a print job upon receiving a cancellation instruction and delete print data of the print job if the print job is stored in the printer | |
US9313364B2 (en) | Image processing apparatus and control method for the same | |
US9172834B2 (en) | Image forming system and method for recovering image forming apparatus from three different power saving modes | |
JP5221742B2 (en) | Image forming apparatus | |
US8913280B2 (en) | Communication apparatus, method for controlling the same, storage medium, and printing apparatus | |
CN103583034A (en) | Information processing apparatus offering chance of eliminating hang-up state, control method therefor, and storage medium | |
CN102157172A (en) | Data recording apparatus and control method thereof | |
EP2193635A1 (en) | Method and apparatus for preventing network conflict | |
EP3457677B1 (en) | Information processing apparatus that performs short-range wireless communication, control method therefor, and storage medium | |
JP2010099907A (en) | Display control device, display control system, program, and image printer | |
JP6969298B2 (en) | Communication equipment, restoration method, restoration program and image forming equipment | |
US5941997A (en) | Current-based contention detection and handling system | |
US8427659B2 (en) | Information processing apparatus which can selectively operate as storage device or printer device, method of controlling same, recording medium and printer which can selectively operate as storage device or printer device | |
JP6686736B2 (en) | Information processing device, information processing system, and program | |
JP2019113933A (en) | Electronic device, control method in electronic device, and program | |
JP7263841B2 (en) | Information processing device, control method, and program | |
JP6379932B2 (en) | Image recording apparatus and program | |
JP7118629B2 (en) | ELECTRONIC DEVICE, CONTROL METHOD FOR ELECTRONIC DEVICE, AND PROGRAM | |
JP4337605B2 (en) | Signal transmission system and image forming apparatus | |
JP2016157341A (en) | Program, information processor, output management system, and output management method | |
JP5880905B1 (en) | Connection control device and USB connection device | |
JP6125583B2 (en) | Image forming apparatus | |
JP6641509B2 (en) | Image forming device | |
JP5939878B2 (en) | Display control apparatus and display control method | |
JP2008311778A (en) | Line holding/connecting system and preliminary switching method of line holding apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200819 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210611 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210706 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210906 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210928 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211011 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6969298 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |