JPH0460813A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPH0460813A JPH0460813A JP2172095A JP17209590A JPH0460813A JP H0460813 A JPH0460813 A JP H0460813A JP 2172095 A JP2172095 A JP 2172095A JP 17209590 A JP17209590 A JP 17209590A JP H0460813 A JPH0460813 A JP H0460813A
- Authority
- JP
- Japan
- Prior art keywords
- input
- data
- control
- control device
- output control
- 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
Links
- 238000001514 detection method Methods 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- General Factory Administration (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、制御コマンドを出力する制御装置本体と、
制御装置本体にループ通信網を介して接続されかつ制御
装置本体からの制御コマンドに基つき入出力制御対象を
制御する段数の入出力制御装置と、を備え、制御装置本
体と入出力制御装置との間でデータ通信を行う数値制御
装置に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention includes a control device main body that outputs control commands,
A number of stages of input/output control devices are connected to the control device main body via a loop communication network and control input/output control targets based on control commands from the control device main body, and the control device main body and the input/output control device This invention relates to a numerical control device that performs data communication between devices.
[従来の技術]
今日、機能分散化と制御装置本体と入出力制御対象との
接続の省配線化を目的として1台の親局(制御装置本体
)と複数の子局(入出力制御装置)とによりループ通信
網を形成し、1対複数のブタ通信を行いながら制御を行
うものか数値制御装置等の分野で普及している。[Conventional technology] Today, one master station (control device main body) and multiple slave stations (input/output control devices) are used for the purpose of functional decentralization and wiring-saving connections between the control device main body and input/output control targets. It is popular in the field of numerical control devices, etc., to form a loop communication network and perform control while performing one-to-many pig communication.
数値制御装置は、第6図に示すように、親局としての制
御本体部1を有しており、制御本体部1には通信路2a
、2b、2c、2dを介して入出力制御ユニット3a、
3b、3cが接続されており、入出力制御ユニット3a
、3b、3cにはそれぞれ入出力制御対象4a、4b、
4cか接続されている。As shown in FIG. 6, the numerical control device has a control main unit 1 as a master station, and the control main unit 1 has a communication path 2a.
, 2b, 2c, 2d via the input/output control unit 3a,
3b and 3c are connected, and the input/output control unit 3a
, 3b, 3c have input/output control targets 4a, 4b,
4c is connected.
そして、制御本体部1は、CPU5及び通信部6からな
っており、入出力制御ユニット3a 3El、3cは
通(i部7及び入出力インターフェース8からなってい
る。The control main unit 1 includes a CPU 5 and a communication unit 6, and the input/output control units 3a, 3El, and 3c each include an i unit 7 and an input/output interface 8.
また、制御本体部1または入出力制御ユニット3a、3
b、3cから出力される信号のフレームは第4図に示す
ような、フォーマットとなっている。In addition, the control main unit 1 or the input/output control units 3a, 3
The frames of the signals outputted from the signals b and 3c have a format as shown in FIG.
次に動作について説明する。Next, the operation will be explained.
制御本体部1と入出力制御ユニット3a、3b。Control main unit 1 and input/output control units 3a and 3b.
3Cとの間で通信を行う場合、制御本体部1から第4図
(a)のデータが通信路2aに送出される。3C, the data shown in FIG. 4(a) is sent from the control main unit 1 to the communication path 2a.
そして、入出力制御ユニット3aは、通信路2aに送出
されたデータフレームを受信すると、その内の親局から
子局1宛てのデータを入出力インターフェース8へ書き
込むと共に、入出力インターフェース8から読み出した
入力制御対象の状態を子局1から親局宛てのデータに書
き換え、第4図(1))のデータフレームを通信路2b
に送出する。When the input/output control unit 3a receives the data frame sent to the communication path 2a, the input/output control unit 3a writes the data addressed to the slave station 1 from the master station to the input/output interface 8, and also reads the data from the input/output interface 8. The state of the input control target is rewritten from the slave station 1 to the data addressed to the master station, and the data frame in FIG. 4 (1)) is transferred to the communication path 2b.
Send to.
それから、入出力制御ユニット3bは、通信路2bに送
出されたデータフレームを受信すると、その内の親局か
ら子局2宛てのデータを入出力インターフェース8へ書
き込むと共に、入出力インターフェース8から読み出し
た入力制御対象の状態を子局2から親局宛てのデータに
書き換え、第4図(c)のデータフレームを通信路2c
に送出する。Then, upon receiving the data frame sent to the communication path 2b, the input/output control unit 3b writes the data addressed to the slave station 2 from the master station to the input/output interface 8, and also reads the data from the input/output interface 8. The state of the input control object is rewritten from the slave station 2 to the data addressed to the master station, and the data frame in FIG. 4(c) is transferred to the communication path 2c.
Send to.
更に、入出力制御ユニット3cは、通信路2cに送出さ
れたデータフレームを受信すると、その内の親局から子
局3宛てのデータを入出力インタフェース8へ書き込む
と共に、入出力インターフェース8から読み出した入力
制御対象の状態を子局3から親局宛てのデータに書き換
え、第4図(d)のデータフレームを通信路2dに送出
する。Furthermore, upon receiving the data frame sent to the communication path 2c, the input/output control unit 3c writes the data addressed to the slave station 3 from the master station to the input/output interface 8, and also reads the data from the input/output interface 8. The state of the input control object is rewritten from the slave station 3 to data addressed to the master station, and the data frame shown in FIG. 4(d) is sent to the communication path 2d.
このように、制御本体部1から入出力制御ユニット3a
、3b、3cに接続されている制御対象への出力データ
として出力されたデータフレームは、入出力制御ユニッ
ト3a、3b、3cを通過する際に各入出力制御対象の
状態を示す入力データに書き換えられて制御本体部1へ
戻ってくる。In this way, from the control main unit 1 to the input/output control unit 3a
, 3b, 3c, the data frame output as output data to the controlled objects connected to the input/output control units 3a, 3b, 3c is rewritten into input data indicating the status of each input/output controlled object. and returns to the control main body section 1.
そして、制御本体部1は上述したループ通信網を通じて
入出力制御対象の制御を行い、所望の機械を作動させる
。The control main unit 1 then controls input/output control objects through the loop communication network described above, and operates a desired machine.
また、子局である制御ユニットの通信部7が故障した場
合、親局である制御本体部1からのデータが各入出力制
御ユニット3a、3b、3cへ送信できなくなる。Furthermore, if the communication section 7 of the control unit that is the slave station fails, data from the control main body section 1 that is the master station cannot be transmitted to each input/output control unit 3a, 3b, and 3c.
そして、通信部7が故障した制御ユニットは、動作を開
始することができなくなり、データの受信待ちの状態が
続き、所定時間経過後、第5図に示すようなエラー検出
コマンドを送出する。The control unit in which the communication section 7 has failed is unable to start its operation and remains in a state of waiting to receive data, and after a predetermined period of time has elapsed, sends out an error detection command as shown in FIG.
このエラー検出コマンドは、各入出力制御ユニットを経
由して制御本体部1へ届き、故障が発生したこと及び発
生箇所を知らせる。This error detection command is sent to the control main unit 1 via each input/output control unit, and informs the main body 1 that a failure has occurred and the location where the failure has occurred.
制御本体部1は、エラー検出コマンドを受信すると、制
御対象の作動を停止すると共に故障発生箇所をメツセー
ジとして表示する。When the control main unit 1 receives the error detection command, it stops the operation of the controlled object and displays the location where the failure has occurred as a message.
[発明が解決しようとする課題]
従来の数値制御装置は、以上のように構成されているの
で、入出力制御ユニットの通信部7に故障が発生すると
、メツセージにより故障箇所を特定することはできるが
、故障発生原因が取り除かれるまで全ての制御対象を動
作させることができないため、制御対象の可動率が低下
するという課題があった。また、修復のために必要な機
械操作(例えば、入出力制御ユニットの設置場所をアク
セスするために軸移動が必要な場合)が不可能になり、
デッドロック状態になってしまうという課題があった。[Problems to be Solved by the Invention] Since the conventional numerical control device is configured as described above, when a failure occurs in the communication section 7 of the input/output control unit, the failure location can be identified by a message. However, since it is not possible to operate all the controlled objects until the cause of the failure is removed, there is a problem in that the operating rate of the controlled objects decreases. Additionally, mechanical operations required for repair (e.g., where axis movement is required to access the installation location of the input/output control unit) are no longer possible;
There was a problem that a deadlock situation could occur.
本発明は、上述事情に鑑み成されたものであって、本発
明の目的は、通信網に故障が発生した場合でも、故障が
発生した箇所以外の機能を継続して動作させられる数値
制御装置を提供することにある。The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a numerical control device that can continue to operate functions other than those where the failure has occurred even if a failure occurs in the communication network. Our goal is to provide the following.
[課題を解決するための手段」
この発明に係わる数値制御装置は、CPUを有しかつ制
御コマンドを出力する制御装置本体と、制御装置本体に
ループ通信網を介して接続されかつ制御装置本体からの
制御コマンドに基づき入出力制御対象を制御する複数の
入出力制御装置と、ループ通信網に設けられて入出力制
御装置をバイパスするバイパス手段と、前記制御装置本
体に設けられてバイパス手段によりバイパスされる入出
力制御装置から送信されるべき入力データを予め保持さ
れたデータに置き換える動作データ保持部と、を備えて
いる。従って、前記CPUは、1個のまたは複数の入出
力制御装置で故障か発生した場合、故障した入出力制御
装置をバイパス手段によりバイパスしてデータ通信を行
うことを特徴とするものである。[Means for Solving the Problems] A numerical control device according to the present invention includes a control device main body that has a CPU and outputs control commands, and a control device main body that is connected to the control device main body via a loop communication network and that is connected to the control device main body and that outputs control commands. a plurality of input/output control devices that control input/output control targets based on control commands; bypass means provided in a loop communication network to bypass the input/output control devices; and bypass means provided in the control device main body to bypass the input/output control devices. and an operation data holding unit that replaces input data to be transmitted from the input/output control device with data held in advance. Therefore, the CPU is characterized in that, when a failure occurs in one or more input/output control devices, data communication is performed by bypassing the failed input/output control device using bypass means.
また、前記動作データ保持部か保持するデータを任意に
変更し得る変更手段を備えるとよい。Further, it is preferable to include a changing means that can arbitrarily change the data held by the operation data holding section.
[作用]
この発明における数値制御装置は、制御装置本体から制
御コマンドを出力し、制御装置本体にループ通信網を介
して接続された複数の入出力制御装置により制御装置本
体からの制御コマンドに基づき入出力制御対象を制御し
、CPUは、1個または複数の入出力制御装置で故障か
発生した場合、バイパス手段により故障が発生した入出
力制御装置をループ通信網から切り離し、切り離された
入出力制御装置の人力データを予め動作データ保持部に
保持されたデータに置き換え、故障が発生した入出力、
1ilJ御装置をバイパス手段によりハイパ′スしてデ
ータ通信を行う。[Operation] The numerical control device according to the present invention outputs control commands from the control device main body, and performs control based on the control commands from the control device main body by a plurality of input/output control devices connected to the control device main body via a loop communication network. The CPU controls input/output control targets, and when a failure occurs in one or more input/output control devices, the CPU disconnects the failed input/output control device from the loop communication network using the bypass means, and disconnects the disconnected input/output Replaces the manual data of the control device with data previously stored in the operation data storage unit, and replaces the input/output where the failure occurred
Data communication is performed by hyper-passing the 1ilJ control device using bypass means.
[実施例] 以下、この発明の一実施例を図について説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の数値制御装置の構成を示すブロック図
であり、数値制御装置は、制御装置本体としての制御本
体部]を有しており、制御本体部1は、CPU5及び通
信部6からなっている。FIG. 1 is a block diagram showing the configuration of a numerical control device according to the present invention. It consists of
そして、通信部6には通信路切換部10aが接続されて
おり、通信路切換部10aには通信路2aを介して通信
路切換部1. Obが接続されている。A communication path switching section 10a is connected to the communication section 6, and the communication path switching section 1. Ob is connected.
更に、通信路切換部10bには入出力制御装置としての
入出力制御ユニット3aか接続されており、入出力制御
ユニット3aには入出力制御対象4aか接続されており
、入出力制御ユニッt・3 aは通信部7及び入出力イ
ンターフェース8からなっている。Further, an input/output control unit 3a as an input/output control device is connected to the communication path switching unit 10b, an input/output control target 4a is connected to the input/output control unit 3a, and the input/output control unit t. 3a consists of a communication section 7 and an input/output interface 8.
また、通信路切換部10bには通信路2bを介して通信
路切換部10cが接続されており、通信路切換部10c
には入出力制御ユニット3bか接続されている。Further, a communication path switching unit 10c is connected to the communication path switching unit 10b via a communication path 2b.
The input/output control unit 3b is connected to the input/output control unit 3b.
そして、入出力制御ユニット3bには入出力制御対象4
bが接続されており、入出力制御ユニット3bは通信部
7及び入出力インターフェース8からなっている。The input/output control unit 3b has an input/output control target 4.
b is connected, and the input/output control unit 3b consists of a communication section 7 and an input/output interface 8.
更に、通信路切換部10cには通信路2cを介して通信
路切換部10dか接続されており、通信路切換部10
clには入出力制御ユニット3cが接続されている。Further, a communication path switching unit 10d is connected to the communication path switching unit 10c via a communication path 2c.
An input/output control unit 3c is connected to cl.
そして、入出力制御ユニット3cには入出力制御対象4
cか接続されており、入出力R1!I御ユニット3cは
通信部7及び入出力インターフェース8からなっている
。The input/output control unit 3c has an input/output control target 4.
c is connected, input/output R1! The I control unit 3c consists of a communication section 7 and an input/output interface 8.
また、通信路切換部10dは通信路2dを介して通信路
切換部10aに接続されている。Further, the communication path switching unit 10d is connected to the communication path switching unit 10a via a communication path 2d.
一方、制御本体部1のCPU5には、バイパスする場合
に、入出力制御ユニットから送信される人力データを予
め保持されたデータに置き換える動作データ保持部1]
及び通信路制御部12か接続されており、通信路制御部
12には各通信路切換部10a、]Ob、10c、10
dか接続されている。On the other hand, the CPU 5 of the control main unit 1 includes an operation data holding unit 1 which replaces human power data sent from the input/output control unit with data held in advance when bypassing.
and a communication channel control section 12 are connected to each communication channel switching section 10a, ]Ob, 10c, 10.
d is connected.
そして、動作データ保持部1]には操作パネルインター
フェース13か接続されており、動作ブタ保持部]1、
通信路制御部]2及び操作パネルインターフェース13
により入力データ制御部14か構成されている。An operation panel interface 13 is connected to the operation data holding section 1], and the operation data holding section]1,
Communication path control unit] 2 and operation panel interface 13
The input data control section 14 is configured by the following.
更に、操作パネルインターフェース13には、動作デー
タ保持部11が保持するデータを任意に変更し得る変更
手段としての操作パネル]5が接続されている。Further, an operation panel 5 is connected to the operation panel interface 13 as a changing means that can arbitrarily change the data held by the operation data holding section 11.
また、通信路切換部10a、10b、10c。Further, communication path switching units 10a, 10b, and 10c.
10d(例えば10b)は、第2図に示すように、制御
リレーコ・イル16を有しており、受信側の伝送路2a
及び送信側の伝送路2bにはそれぞれ制御リレーのノー
マルクローズ接点17.18が配置されており、受信側
の伝送路2aと送信側の伝送路2bとの間には制御リレ
ーのノーマルオープン接点1つが配置されている。10d (for example, 10b) has a control relay coil 16 as shown in FIG.
Normally closed contacts 17 and 18 of the control relay are arranged on the transmission line 2b on the receiving side and the transmission line 2b on the transmitting side, respectively, and a normally open contact 1 of the control relay is arranged between the transmission line 2a on the receiving side and the transmission line 2b on the transmitting side. is placed.
ついで、本実施例の作用について説明する。Next, the operation of this embodiment will be explained.
制御本体部1と入出力制御ユニット3a、3b。Control main unit 1 and input/output control units 3a and 3b.
3Cとの間で通信を行う場合、制御本体部1から第4図
(a)のデータが通信路2aに送出される。3C, the data shown in FIG. 4(a) is sent from the control main unit 1 to the communication path 2a.
そして、入出力制御ユニット3aは、通信路2aに送出
されたデータフレームを受信すると、その内の親局から
子局1宛てのデータを入出力インターフェース8へ書き
込むと共に、入出力インターフェース8から読み出した
入力制御対象の状態を子局1から親局宛てのデータに書
き換え、第4図(b)のデータフレームを通信路2bに
送出する。When the input/output control unit 3a receives the data frame sent to the communication path 2a, the input/output control unit 3a writes the data addressed to the slave station 1 from the master station to the input/output interface 8, and also reads the data from the input/output interface 8. The state of the input control object is rewritten from the slave station 1 to data addressed to the master station, and the data frame shown in FIG. 4(b) is sent to the communication path 2b.
それから、入出力制御ユニット3bは、通信路2bに送
出されたデータフレームを受信すると、その内の親局か
ら子局2宛てのデータを入出力インターフェース8へ書
き込むと共に、入出力インターフェース8から読み出し
た入力制御対象の状態を子局2から親局宛てのデータに
書き換え、第4図(c)のデータフレームを通信路2c
に送出する。Then, upon receiving the data frame sent to the communication path 2b, the input/output control unit 3b writes the data addressed to the slave station 2 from the master station to the input/output interface 8, and also reads the data from the input/output interface 8. The state of the input control object is rewritten from the slave station 2 to the data addressed to the master station, and the data frame in FIG. 4(c) is transferred to the communication path 2c.
Send to.
更に、入出力制御ユニット3cは、通信路2cに送出さ
れたデータフレームを受信すると、その内の親局から子
局3宛てのデータを入出力インターフェース8へ書き込
むと共に、入出力インターフェース8から読み出した入
力制御対象の状態を子局3から親局宛てのデータに書き
換え、第4図(d)のデータフレームを通信路2dに送
出する。Furthermore, upon receiving the data frame sent to the communication path 2c, the input/output control unit 3c writes data destined for the slave station 3 from the master station to the input/output interface 8, and also reads the data from the input/output interface 8. The state of the input control object is rewritten from the slave station 3 to data addressed to the master station, and the data frame shown in FIG. 4(d) is sent to the communication path 2d.
このように、制御本体部1から入出力制御ユニット3a
、3b、3cに接続されている制御対象への出力データ
として出力されたデータフレームは、入出力制御ユニッ
ト3a、3b、3cを通過する際に各入出力制御対象の
状態を示す入力データに書き換えられて制御本体部1へ
戻ってくる。In this way, from the control main unit 1 to the input/output control unit 3a
, 3b, 3c, the data frame output as output data to the controlled objects connected to the input/output control units 3a, 3b, 3c is rewritten into input data indicating the status of each input/output controlled object. and returns to the control main body section 1.
そして、制御本体部1は上述したループ通信網を通じて
入出力制御対象の制御を行い、所望の機、械を作動させ
る。The control main unit 1 controls input/output control objects through the loop communication network described above, and operates a desired machine.
次に、故障が発生する場合を第3図のフローチャートに
沿って説明する。Next, a case where a failure occurs will be explained along the flowchart of FIG. 3.
入出力制御ユニット(例えば3b)の通信部7に故障が
発生しくステップS1)、故障が発生した入出力制御ユ
ニット(3b)に接続されている入出力制御対象(4b
)の状態が他の入出力制御ユニット(3a、 3 c
)に接続されている入出力制御対象(4a、4c)と無
関係な場合、入出力制御ユニット(3b)は、制御本体
部1からのデータの受信待ちの状態が続き、所定時間経
過後、故障が発生したと判断して第5図に示すようなエ
ラー検出コマンドを送出する。A failure occurs in the communication unit 7 of the input/output control unit (for example, 3b), and in step S1), the input/output control target (4b) connected to the input/output control unit (3b) in which the failure has occurred
) is the same as other input/output control units (3a, 3c)
) connected to the input/output control target (4a, 4c), the input/output control unit (3b) continues to wait for data reception from the control main unit 1, and after a predetermined period of time, the input/output control unit (3b) fails. It is determined that an error has occurred, and an error detection command as shown in FIG. 5 is sent.
このエラー検出コマンドは、各入出力制御ユニットを経
由して制御本体部1へ届き、故障が発生したこと及び発
生箇所を知らせる(ステップS2) 。This error detection command is sent to the control main body section 1 via each input/output control unit, and informs that a failure has occurred and the location where the failure has occurred (step S2).
制御本体部1は、エラー検出コマンドを受信すると、通
信路制御部12より通信路切換部10cに通信路切換信
号を出力する。When the control body section 1 receives the error detection command, the control main body section 1 outputs a communication channel switching signal from the communication channel control section 12 to the communication channel switching section 10c.
そして、通信路切換信号を受信する通信路切換部10c
は制御リレーコイル16をONL、制御リレーのノーマ
ルクローズ接点17.18を開放して入出力制御ユニッ
ト(3b)を通信網から切り離し、かつ制御リレーのノ
ーマルオープン接点19を閉じてバイパスする(ステッ
プS3)。A communication path switching unit 10c receives the communication path switching signal.
In step S3, the control relay coil 16 is turned ON, the normally closed contacts 17 and 18 of the control relay are opened to disconnect the input/output control unit (3b) from the communication network, and the normally open contact 19 of the control relay is closed to bypass the control relay. ).
それから、制御本体部1のCPU5は、制御本体部1へ
戻ってくるデータフレームの入出力制御対象(4b)の
入力データが送信されていないことを検出し、予め動作
データ保持部11に保持されているデータを入出力制御
ユニット(3b)の入力データとして置き換えると共に
(ステップS4)、操作パネル15に入出力制御ユニッ
ト(3b)が切り離されたことを明示し、他の入出力制
御対象(4a、4c)の制御を継続する(ステップS5
)。Then, the CPU 5 of the control main body section 1 detects that the input data of the input/output control target (4b) of the data frame returning to the control main body section 1 has not been transmitted, and the CPU 5 of the control main body section 1 detects that the input data of the input/output control target (4b) of the data frame returning to the control main body section 1 has not been transmitted. The input/output control unit (3b) is replaced with input data of the input/output control unit (3b) (step S4), and the input/output control unit (3b) is clearly indicated on the operation panel 15 as the input data of the input/output control unit (3b). , 4c) continues (step S5).
).
なお、動作データ保持部1]に保持されているデータは
入出力制御ユニッI−(3b)の入力データか制御を継
続する上で正常となる値に設定されている。It should be noted that the data held in the operation data holding section 1 is input data to the input/output control unit I-(3b), and is set to a value that is normal for continuing control.
また、入出力制御ユニット(例えば3b)の通信部7に
故障が発生し、故障が発生した入出力制御ユニット(3
b)に接続されている入出力制御対象(4b)の状態が
他の入出力制御ユニット(3a 3c)に接続されて
いる入出力制御対象(4a、4c)の制御に関係する場
合、入出力制御ユニット(3b)は、制御本体部1から
のブタの受信待ちの状態か続き、所定時間経過後、故障
か発生したと判断して第5図に示すようなエラー検出コ
マンドを送出する。In addition, a failure occurs in the communication section 7 of the input/output control unit (for example, 3b), and the input/output control unit (3b) in which the failure occurs
If the state of the input/output controlled object (4b) connected to b) is related to the control of the input/output controlled object (4a, 4c) connected to other input/output control units (3a 3c), the input/output The control unit (3b) continues to wait for reception of the pig from the control main unit 1, and after a predetermined period of time has elapsed, determines that a failure has occurred and sends out an error detection command as shown in FIG.
このエラー検出コマンドは、各入出力制御ユニットを経
由して制御本体部1へ届き、故障か発生したこと及び発
生箇所を知らせる。This error detection command is sent to the control main unit 1 via each input/output control unit, and informs the control body 1 that a failure has occurred and the location where the failure has occurred.
制御本体部]は、エラー検出コマンドを受信すると、通
信路制御部12より通信路切換部10cに通信路切換信
号を出力する。Upon receiving the error detection command, the main control unit outputs a communication path switching signal from the communication path control unit 12 to the communication path switching unit 10c.
そして、通信路切換信号を受信する通信路切換部10c
は制御リレーコイル]6をONL、制御リレーのノーマ
ルクロース接点1.7.18を開放して入出力制御ユニ
ッ1−(3b)を通信網から切り離し、かつ制御リレー
のノーマルオーブン接点]9を閉じてバイパスする。A communication path switching unit 10c receives the communication path switching signal.
is the control relay coil] 6 ONL, the control relay's normal close contact 1.7.18 is opened to disconnect the input/output control unit 1-(3b) from the communication network, and the control relay's normal oven contact] 9 is closed. bypass.
それから、制御本体部1のCPU5は、操作パネル15
に異常か発生したことをメツセージ表示して入出力制御
ユニッ)(3b)か通信網から切り離されたことを報知
し、他の入出力制御対象(4a、4c)の作動を停止す
る。Then, the CPU 5 of the control main unit 1 controls the operation panel 15.
A message is displayed indicating that an abnormality has occurred in the input/output control unit (3b), and the operation of the other input/output control objects (4a, 4c) is stopped.
そして、オペレータは、操作パネル15により通信網か
ら切り離された人山力制御ユニット(3b)の入力状態
か、所望の機械操作に関する入出力制御ユニットの制御
を行う上でインターロックにならないようなデータ値を
設定する。Then, the operator uses the operation panel 15 to check the input state of the human power control unit (3b) that is disconnected from the communication network, or the data that will not cause an interlock in controlling the input/output control unit related to the desired machine operation. Set the value.
なお、操作パネル]5により設定されたデータは操作パ
ネルインターフェース]3を介して動作データ保持部]
1に書き込まれる。Note that the data set using the operation panel [5] is transferred to the operation data holding unit via the operation panel interface [3].
Written to 1.
更に、オペレータか所望の機械操作を行う場合、] 6
制御本体部1のCPU5は、通信網から切り離された入
出力制御ユニット(3b)の人力データを操作パネル1
5により設定されて動作データ保持部11に書き込まれ
たデータに置き換える。Furthermore, when the operator performs a desired machine operation, ] 6 The CPU 5 of the control main unit 1 transmits the human power data of the input/output control unit (3b) disconnected from the communication network to the operation panel 1.
5 and is replaced with the data set in the operation data holding section 11.
なお、本発明を入出力制御ユニットの一部か未実装とな
っている組立て途中において使用すると、実装しである
入出力制御ユニットに関する機能調整が可能である。Note that if the present invention is used during assembly when a part of the input/output control unit is not yet mounted, it is possible to adjust the functions of the input/output control unit that is already mounted.
[発明の効果]
以上説明したように、この発明によれば、1個または複
数の入出力制御装置で故障か発生した場合、故障した入
出力制御装置をバイパスしてブタ通信を行うように構成
したので、故障した入出力制御装置以外の入出力制御装
置の動作を継続して、制御対象の可動率が低下すること
を防止できる。[Effects of the Invention] As explained above, according to the present invention, when a failure occurs in one or more input/output control devices, the configuration is configured to bypass the failed input/output control device and perform pig communication. Therefore, it is possible to continue the operation of the input/output control devices other than the failed input/output control device, thereby preventing the operating rate of the controlled objects from decreasing.
また、動作データ保持部か保持するデータを任意に変更
し得る変更手段を設けたので、通信網から切り離された
入出力制御装置の入力データを任意に変更して、修復の
ために必要な機械操作を容品に行うことかできる。In addition, we have provided a change means that can arbitrarily change the data held by the operation data holding unit, so that the input data of the input/output control device that is disconnected from the communication network can be changed arbitrarily and the machine required for repair can be changed. Operations can be performed on the container.
第1図はこの発明の一実施例による数値制御装置の構成
を示すブロック図、
第2図は通信切換部の構成を示す回路図、第3図はこの
発明の作用を示すフローチャー1・図、
第4図及び第5図はデータフレームを示す図、第6図は
従来の数値制御装置の構成を示すブロック図である。
1 ・・・ 制御本体部
3a、3b、3c ・・・ 入出力制御ユニット4a
、4b、4c ・ 入出力制御対象5 ・・・ CP
U
10a、10b、10c、10d
・・・ 通信路切換部
11 ・・ 動作データ保持部
]5 ・・ 操作パネルFIG. 1 is a block diagram showing the configuration of a numerical control device according to an embodiment of the present invention, FIG. 2 is a circuit diagram showing the configuration of a communication switching section, and FIG. 3 is a flowchart 1 diagram showing the operation of the present invention. , FIG. 4 and FIG. 5 are diagrams showing data frames, and FIG. 6 is a block diagram showing the configuration of a conventional numerical control device. 1... Control main body parts 3a, 3b, 3c... Input/output control unit 4a
, 4b, 4c ・I/O control target 5... CP
U 10a, 10b, 10c, 10d... Communication path switching unit 11... Operation data holding unit] 5... Operation panel
Claims (2)
置本体と、制御装置本体にループ通信網を介して接続さ
れかつ制御装置本体からの制御コマンドに基づき入出力
制御対象を制御する複数の入出力制御装置と、を備え、
制御装置本体と入出力制御装置との間でデータ通信を行
う数値制御装置において、前記ループ通信網に設けられ
て入出力制御装置をバイパスするバイパス手段と、前記
制御装置本体に設けられてバイパス手段によりバイパス
される入出力制御装置から送信されるべき入力データを
予め保持されたデータに置き換える動作データ保持部と
、を備え、前記CPUは、1個または複数の入出力制御
装置で故障が発生した場合、故障した入出力制御装置を
バイパス手段によりバイパスしてデータ通信を行うこと
を特徴とする数値制御装置。(1) A control device main body that has a CPU and outputs control commands, and a plurality of inputs that are connected to the control device main body via a loop communication network and control input/output control targets based on control commands from the control device main body. an output control device;
In a numerical control device that performs data communication between a control device main body and an input/output control device, a bypass means provided in the loop communication network to bypass the input/output control device, and a bypass means provided in the control device main body. an operation data holding unit that replaces input data to be transmitted from an input/output control device to be bypassed by data held in advance; In this case, a numerical control device is characterized in that data communication is performed by bypassing a failed input/output control device using bypass means.
変更し得る変更手段を備えた請求項(1)記載の数値制
御装置。(2) The numerical control device according to claim (1), further comprising changing means capable of arbitrarily changing the data held by the operation data holding section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2172095A JPH0460813A (en) | 1990-06-29 | 1990-06-29 | Numerical controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2172095A JPH0460813A (en) | 1990-06-29 | 1990-06-29 | Numerical controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0460813A true JPH0460813A (en) | 1992-02-26 |
Family
ID=15935449
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2172095A Pending JPH0460813A (en) | 1990-06-29 | 1990-06-29 | Numerical controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0460813A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8352661B1 (en) * | 2010-03-24 | 2013-01-08 | Emc Corporation | Data storage systems having seamless software upgrades |
-
1990
- 1990-06-29 JP JP2172095A patent/JPH0460813A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8352661B1 (en) * | 2010-03-24 | 2013-01-08 | Emc Corporation | Data storage systems having seamless software upgrades |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2993337B2 (en) | Double bus control method | |
| JPS5961248A (en) | Loop type data transmission system provided with master station for backup | |
| KR19980021542A (en) | How to prevent loss of PCM data when redundancy changeover in exchange | |
| JP3228299B2 (en) | Switching control method | |
| KR200155563Y1 (en) | Apparatus of error prevention in exchange | |
| JPH0563802A (en) | Duplicate equipment for exchange | |
| JPH1011370A (en) | Multiple system | |
| JPH08123503A (en) | Plant control equipment | |
| JPS62176345A (en) | Duplicated system loop transmission control equipment | |
| JPH0568085A (en) | Station data setting system for automatic exchange | |
| JP3267780B2 (en) | Backup device | |
| JPS6043550B2 (en) | Communication line control device | |
| JPH0254640A (en) | Line switching controller | |
| JPH03101553A (en) | Duplicate switching method of hot standby system | |
| KR19990031948A (en) | Fast Redundancy Method for Asynchronous Transmission Mode Local Area Network System | |
| JPH0997102A (en) | Data transmission system | |
| JPS61129938A (en) | Polling system remote supervisory controller | |
| JPS6325701A (en) | Duplex system for loop control unit | |
| JPH03232397A (en) | Backup switching system | |
| JPS63161740A (en) | Communication controller | |
| JPS63187743A (en) | Line switching equipment | |
| JPH01202046A (en) | Transmitter | |
| JPS58186243A (en) | Redundant constituting device | |
| JPH04238433A (en) | Transmission system for event data | |
| JP2000354340A (en) | Selection control device |