JP6897443B2 - Control system, sub-control device and control method - Google Patents

Control system, sub-control device and control method Download PDF

Info

Publication number
JP6897443B2
JP6897443B2 JP2017176122A JP2017176122A JP6897443B2 JP 6897443 B2 JP6897443 B2 JP 6897443B2 JP 2017176122 A JP2017176122 A JP 2017176122A JP 2017176122 A JP2017176122 A JP 2017176122A JP 6897443 B2 JP6897443 B2 JP 6897443B2
Authority
JP
Japan
Prior art keywords
control device
instruction
data
sub
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.)
Active
Application number
JP2017176122A
Other languages
Japanese (ja)
Other versions
JP2019053439A (en
Inventor
文俊 奥田
文俊 奥田
大輔 芳賀
大輔 芳賀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017176122A priority Critical patent/JP6897443B2/en
Priority to CN201811056693.0A priority patent/CN109491331B/en
Publication of JP2019053439A publication Critical patent/JP2019053439A/en
Application granted granted Critical
Publication of JP6897443B2 publication Critical patent/JP6897443B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4142Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by the use of a microprocessor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35026Design of machine tool, of cnc machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Description

本発明は、軸が移動する動作を行う機械に係る第1制御装置及び第2制御装置を備える制御システムと、前記制御システムにて前記機械を制御する副制御装置と、該副制御装置を用いる制御方法に関する。 The present invention uses a control system including a first control device and a second control device related to a machine that moves an axis, a sub-control device that controls the machine with the control system, and the sub-control device. Regarding the control method.

近年、加工に用いる工作機械、ロボットを制御装置によって制御する加工システムが広く普及している。 In recent years, machining systems that control machine tools and robots used for machining with control devices have become widespread.

例えば、特許文献1のロボット制御装置は、前記ロボット制御装置の操作を行うための教示操作盤を備え、ネットワークケーブルによって2つの工作機械制御装置と接続している。教示操作盤は表示器を有し、前記2つの工作機械制御装置からネットワークケーブルを介して取得した工作機械に関する情報を教示操作盤の表示器に表示する。 For example, the robot control device of Patent Document 1 includes a teaching operation panel for operating the robot control device, and is connected to two machine tool control devices by a network cable. The teaching operation panel has a display, and displays information about the machine tool acquired from the two machine tool control devices via a network cable on the display of the teaching operation panel.

特開2010−277425号公報Japanese Unexamined Patent Publication No. 2010-277425

しかしながら、上述した特許文献1のロボット制御装置においては、複数の工作機械同士が直列に接続しているうえに、複数の工作機械の全体と教示操作盤が一本のネットワークケーブルにて直列に接続する。従って、斯かるネットワークケーブルに断線等のトラブルが生じた場合、複数の工作機械のすべてに対して教示操作盤は情報表示、制御ができなくなるという問題がある。 However, in the robot control device of Patent Document 1 described above, a plurality of machine tools are connected in series, and the entire plurality of machine tools and the teaching operation panel are connected in series by a single network cable. To do. Therefore, when a trouble such as disconnection occurs in such a network cable, there is a problem that the teaching operation panel cannot display and control information for all of a plurality of machine tools.

本発明は、斯かる事情に鑑みてなされたものであり、その目的とするところは、副制御装置と、複数の制御装置のうち何れかの制御装置との間に生じた断線等の影響が、他の制御装置に及ぼすことを防止できる、制御システム、副制御装置及び制御方法を提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is the influence of disconnection or the like that occurs between the sub-control device and any of the plurality of control devices. , To provide a control system, sub-control device and control method that can be prevented from affecting other control devices.

本発明に係る制御システムは、軸が移動する動作を行う第1機械及び第2機械を夫々制御する第1制御装置及び第2制御装置を備える制御システムにおいて、前記第1機械及び第2機械を制御する副制御装置と、前記副制御装置と、前記第1制御装置及び前記第2制御装置とを接続する中継装置とを備えることを特徴とする。 The control system according to the present invention is a control system including a first control device and a second control device that control a first machine and a second machine that perform an operation in which an axis moves, respectively. It is characterized by including a sub-control device to be controlled, the sub-control device, and a relay device for connecting the first control device and the second control device.

本発明にあっては、前記副制御装置と、前記第1制御装置及び前記第2制御装置との間に前記中継装置が介在する。前記副制御装置は、前記中継装置にて前記第1制御装置及び前記第2制御装置と夫々並列接続する。従って、前記第1制御装置及び前記第2制御装置の何れかとの間の断線などにより、他方に対して前記副制御装置の制御などができなくなることを防ぐ。 In the present invention, the relay device is interposed between the sub-control device and the first control device and the second control device. The sub-control device is connected in parallel to the first control device and the second control device by the relay device, respectively. Therefore, it is possible to prevent the sub-control device from being unable to be controlled by the other due to a disconnection between the first control device and one of the second control devices.

本発明に係る制御システムは、前記副制御装置は、前記第1制御装置又は前記第2制御装置から受信したデータを表示する表示部を備えることを特徴とする。 The control system according to the present invention is characterized in that the sub-control device includes a display unit that displays data received from the first control device or the second control device.

本発明にあっては、前記表示部は、前記第1制御装置又は前記第2制御装置から受信したデータを表示する。前記第1制御装置及び前記第2制御装置の何れかとの間の断線などがあった場合でも、前記副制御装置は他方からデータを受信して表示できる。 In the present invention, the display unit displays data received from the first control device or the second control device. Even if there is a disconnection between the first control device and either of the second control devices, the sub-control device can receive data from the other and display the data.

本発明に係る制御システムは、前記中継装置に接続してあり、前記第1制御装置又は前記第2制御装置とのデータ送受信を行うデータ処理装置を備えることを特徴とする。 The control system according to the present invention is characterized by including a data processing device that is connected to the relay device and that transmits / receives data to / from the first control device or the second control device.

本発明にあっては、前記データ処理装置は、前記中継装置を介して、前記第1制御装置及び前記第2制御装置を制御できる。 In the present invention, the data processing device can control the first control device and the second control device via the relay device.

本発明に係る制御システムは、前記副制御装置は、軸移動の動作指示を前記第1制御装置又は前記第2制御装置に送信する動作指示部と、他装置から受信するデータを破棄する破棄指示を、前記動作指示の送信の際、前記第1制御装置又は前記第2制御装置に送信する破棄指示部とを備えることを特徴とする。 In the control system according to the present invention, the sub-control device has an operation instruction unit that transmits an operation instruction of axis movement to the first control device or the second control device, and a discard instruction that discards data received from another device. Is provided with a discard instruction unit to be transmitted to the first control device or the second control device when the operation instruction is transmitted.

本発明にあっては、前記動作指示の送信の例えば直前、前記破棄指示部が前記第1制御装置又は前記第2制御装置に前記破棄指示を送信する。従って、他装置からのデータが前記動作指示の送信の妨げにならない。 In the present invention, for example, immediately before the transmission of the operation instruction, the discard instruction unit transmits the discard instruction to the first control device or the second control device. Therefore, the data from the other device does not interfere with the transmission of the operation instruction.

本発明に係る制御システムは、前記第1制御装置及び前記第2制御装置は、軸移動の動作指示を前記副制御装置から受信した場合、前記データ処理装置に、データ送信を制限する制限指示を送信する制限指示部を備えることを特徴とする。 In the control system according to the present invention, when the first control device and the second control device receive an operation instruction for axis movement from the sub-control device, the data processing device is instructed to limit data transmission. It is characterized by including a restriction indicator for transmission.

本発明にあっては、前記副制御装置から軸移動の動作指示を受信した場合、前記制限指示部は前記制限指示を前記データ処理装置に送信する。前記データ処理装置は前記制限指示に応じてデータ送信を制限する。従って、前記データ処理装置からのデータ送信が前記動作指示の送信の妨げにならない。 In the present invention, when the operation instruction of the axis movement is received from the sub-control device, the restriction instruction unit transmits the restriction instruction to the data processing device. The data processing device restricts data transmission in response to the restriction instruction. Therefore, the data transmission from the data processing device does not interfere with the transmission of the operation instruction.

本発明に係る制御システムは、前記制限指示部はデータ送信の中断を指示する前記制限指示を前記データ処理装置に送信することを特徴とする。 The control system according to the present invention is characterized in that the restriction instruction unit transmits the restriction instruction instructing the interruption of data transmission to the data processing device.

本発明にあっては、前記データ処理装置は前記制限指示に応じてデータ送信を一時的に中断する。従って、前記データ処理装置からのデータ送信が前記動作指示の送信の妨げにならない。 In the present invention, the data processing device temporarily suspends data transmission in response to the restriction instruction. Therefore, the data transmission from the data processing device does not interfere with the transmission of the operation instruction.

本発明に係る制御システムは、前記制限指示部は送信するデータ量の低減を指示する前記制限指示を前記データ処理装置に送信することを特徴とする。 The control system according to the present invention is characterized in that the restriction instruction unit transmits the restriction instruction for instructing a reduction in the amount of data to be transmitted to the data processing device.

本発明にあっては、前記データ処理装置は前記制限指示に応じて送信するデータ量を減らす。従って、前記データ処理装置からのデータ送信が前記動作指示の送信の妨げにならない。 In the present invention, the data processing apparatus reduces the amount of data transmitted in response to the restriction instruction. Therefore, the data transmission from the data processing device does not interfere with the transmission of the operation instruction.

本発明に係る制御システムは、前記データ処理装置は、前記制限指示を受信した場合、送信すべきデータを分割して所定間隔にて送信する分割部を備えることを特徴とする。 The control system according to the present invention is characterized in that the data processing device includes a dividing unit that divides data to be transmitted and transmits the data at predetermined intervals when the restriction instruction is received.

本発明にあっては、前記データ処理装置が前記制限指示を受信した場合、前記分割部は送信すべきデータを分割して所定間隔にて送信する。従って、前記データ処理装置からのデータ送信が前記動作指示の送信の妨げにならない。 In the present invention, when the data processing device receives the restriction instruction, the dividing unit divides the data to be transmitted and transmits the data at predetermined intervals. Therefore, the data transmission from the data processing device does not interfere with the transmission of the operation instruction.

本発明に係る制御システムは、前記第2機械はアームロボットであり、前記副制御装置は前記アームロボットの動作に係る位置決めを行い、前記動作指示は前記位置決めにおける停止指示を含むことを特徴とする。 The control system according to the present invention is characterized in that the second machine is an arm robot, the sub-control device performs positioning related to the operation of the arm robot, and the operation instruction includes a stop instruction in the positioning. ..

本発明にあっては、前記副制御装置から前記位置決めにおける停止指示を受信した場合、前記制限指示部は前記制限指示を前記データ処理装置に送信する。前記データ処理装置は前記制限指示に応じてデータ送信を制限する。従って、前記アームロボットは前記停止指示を優先的に受信して実行できる。 In the present invention, when a stop instruction for positioning is received from the sub-control device, the restriction instruction unit transmits the restriction instruction to the data processing device. The data processing device restricts data transmission in response to the restriction instruction. Therefore, the arm robot can preferentially receive and execute the stop instruction.

本発明に係る制御システムは、前記第1機械は工作機械であり、前記副制御装置は前記工作機械での加工作業に係る指示を行い、前記動作指示は前記加工作業における中止指示を含むことを特徴とする。 In the control system according to the present invention, the first machine is a machine tool, the sub-control device gives an instruction related to the machining work in the machine tool, and the operation instruction includes a stop instruction in the machining work. It is a feature.

本発明にあっては、前記副制御装置から前記加工作業における中止指示を受信した場合、前記制限指示部は前記制限指示を前記データ処理装置に送信する。前記データ処理装置は前記制限指示に応じてデータ送信を制限する。従って、前記工作機械は前記中止指示を優先的に受信して実行できる。 In the present invention, when a stop instruction in the processing work is received from the sub-control device, the restriction instruction unit transmits the restriction instruction to the data processing device. The data processing device restricts data transmission in response to the restriction instruction. Therefore, the machine tool can preferentially receive and execute the stop instruction.

本発明に係る副制御装置は、軸が移動する動作を行う第1機械の第1制御装置又は軸が移動する動作を行う第2機械の第2制御装置に接続して前記第1機械又は第2機械を制御する副制御装置において、中継装置を介して前記第1制御装置及び第2制御装置と接続する通信部を備えることを特徴とする。 The sub-control device according to the present invention is connected to the first control device of the first machine that performs the operation of moving the shaft or the second control device of the second machine that performs the operation of moving the shaft, and is connected to the first machine or the first machine. 2. The sub-control device that controls the machine is characterized by including a communication unit that connects to the first control device and the second control device via a relay device.

本発明にあっては、前記副制御装置は、前記中継装置にて前記第1制御装置及び前記第2制御装置と夫々並列接続する。従って、前記第1制御装置及び前記第2制御装置の何れかとの間の断線などにより、他方に対する前記副制御装置の制御などができなくなることを防ぐ。 In the present invention, the sub-control device is connected in parallel to the first control device and the second control device by the relay device, respectively. Therefore, it is possible to prevent the sub-control device from being unable to be controlled by the other due to a disconnection between the first control device and one of the second control devices.

本発明に係る副制御装置は、前記第1制御装置又は前記第2制御装置から受信したデータを表示する表示部を備えることを特徴とする。 The sub-control device according to the present invention is characterized by including a display unit that displays data received from the first control device or the second control device.

本発明にあっては、前記表示部は、前記第1制御装置又は前記第2制御装置から受信したデータを表示する。前記第1制御装置及び前記第2制御装置の何れかとの間の断線などがあった場合でも、前記副制御装置は他方からデータを受信して表示できる。 In the present invention, the display unit displays data received from the first control device or the second control device. Even if there is a disconnection between the first control device and either of the second control devices, the sub-control device can receive data from the other and display the data.

本発明に係る副制御装置は、軸移動の動作指示を前記第1制御装置又は前記第2制御装置に送信する動作指示部と、前記動作指示の送信の際、他装置から受信するデータを破棄する破棄指示を前記第1制御装置又は前記第2制御装置に送信する破棄指示部とを備えることを特徴とする。 The sub-control device according to the present invention discards an operation instruction unit that transmits an axis movement operation instruction to the first control device or the second control device, and data received from another device when the operation instruction is transmitted. It is characterized by including a discard instruction unit for transmitting a discard instruction to be sent to the first control device or the second control device.

本発明にあっては、前記動作指示の送信の例えば直前、前記破棄指示部が前記第1制御装置又は前記第2制御装置に前記破棄指示を送信する。従って、他装置からのデータが前記動作指示の送信の妨げにならない。 In the present invention, for example, immediately before the transmission of the operation instruction, the discard instruction unit transmits the discard instruction to the first control device or the second control device. Therefore, the data from the other device does not interfere with the transmission of the operation instruction.

本発明に係る副制御装置は、前記第機械はアームロボットであり、前記アームロボットの動作に係る位置決めを行い、前記動作指示は前記位置決めにおける停止指示を含むことを特徴とする。 The sub-control device according to the present invention is characterized in that the second machine is an arm robot, positioning is performed according to the operation of the arm robot, and the operation instruction includes a stop instruction in the positioning.

本発明にあっては、例えば、前記位置決めにおける停止指示を送信する直前、前記破棄指示部が前記第1制御装置又は前記第2制御装置に前記破棄指示を送信する。従って、他装置からのデータが前記停止指示の送信の妨げにならない。 In the present invention, for example, immediately before transmitting the stop instruction in the positioning, the discard instruction unit transmits the discard instruction to the first control device or the second control device. Therefore, the data from the other device does not interfere with the transmission of the stop instruction.

本発明に係る副制御装置は、前記第機械は工作機械であり、前記工作機械での加工作業に係る指示を行い、前記動作指示は前記加工作業における中止指示を含むことを特徴とする The sub-control device according to the present invention is characterized in that the first machine is a machine tool and gives an instruction related to a machining work in the machine tool, and the operation instruction includes a stop instruction in the machining work.

本発明にあっては、例えば、前記加工作業における中止指示を送信する直前、前記破棄指示部が前記第1制御装置又は前記第2制御装置に前記破棄指示を送信する。従って、他装置からのデータが前記中止指示の送信の妨げにならない。 In the present invention, for example, immediately before transmitting a stop instruction in the processing work, the discard instruction unit transmits the discard instruction to the first control device or the second control device. Therefore, the data from the other device does not interfere with the transmission of the stop instruction.

本発明に係る制御方法は、軸が移動する動作を行う第1機械の第1制御装置又は軸が移動する動作を行う第2機械の第2制御装置と中継装置を介して接続する副制御装置にて、前記第1機械又は第2機械を制御する制御方法において、軸移動の動作指示を前記第1制御装置又は前記第2制御装置に送信するステップと、前記動作指示の送信の際、他装置から受信するデータを破棄する破棄指示を前記第1制御装置又は前記第2制御装置に送信するステップとを含むことを特徴とする。 The control method according to the present invention is a sub-control device that connects to the first control device of the first machine that moves the shaft or the second control device of the second machine that moves the shaft via a relay device. In the control method for controlling the first machine or the second machine, the step of transmitting the operation instruction of the axis movement to the first control device or the second control device, and the transmission of the operation instruction, etc. It is characterized by including a step of transmitting a discard instruction for discarding data received from the device to the first control device or the second control device.

本発明にあっては、例えば、前記動作指示を送信する直前、前記第1制御装置又は前記第2制御装置に前記破棄指示を送信する。従って、他装置からのデータが前記動作指示の送信の妨げにならない。 In the present invention, for example, immediately before transmitting the operation instruction, the discard instruction is transmitted to the first control device or the second control device. Therefore, the data from the other device does not interfere with the transmission of the operation instruction.

本発明によれば、副制御装置と、複数の制御装置のうち何れかの制御装置との間に生じた断線等によって、他の制御装置に対する副制御装置の制御等ができなくなることを防止できる。 According to the present invention, it is possible to prevent the sub-control device from being unable to be controlled by another control device due to a disconnection or the like occurring between the sub-control device and any of the plurality of control devices. ..

本実施の形態に係る制御システムの要部構成を示す構成図である。It is a block diagram which shows the main part structure of the control system which concerns on this embodiment. 本実施の形態に係る、第1制御装置、第2制御装置、ロボット、副制御装置の要部構成を示すブロック図である。It is a block diagram which shows the main part structure of the 1st control device, the 2nd control device, the robot, and the auxiliary control device which concerns on this Embodiment. 本実施の形態に係る制御システムの要部構成を示す構成図である。It is a block diagram which shows the main part structure of the control system which concerns on this embodiment. 本実施の形態に係る、第1制御装置、第2制御装置、ロボット、副制御装置、データ処理装置の要部構成を示すブロック図である。It is a block diagram which shows the main part structure of the 1st control device, the 2nd control device, the robot, the auxiliary control device, and the data processing device which concerns on this Embodiment. 本実施の形態に係る制御システムにおける、副制御装置のTP制御部の要部構成を示す機能ブロック図である。It is a functional block diagram which shows the main part structure of the TP control part of the sub-control device in the control system which concerns on this embodiment. 本実施の形態に係る制御システムにおいて副制御装置の処理を説明するフローチャートである。It is a flowchart explaining the process of a sub-control device in the control system which concerns on this embodiment. 本実施の形態に係る制御システムにおける、第1制御装置のロボット制御装置の要部構成を示す機能ブロック図である。It is a functional block diagram which shows the main part structure of the robot control device of the 1st control device in the control system which concerns on this embodiment. 本実施の形態に係る制御システムにおいてロボット制御装置及びデータ処理装置の間の処理を説明するフローチャートである。It is a flowchart explaining the process between a robot control device and a data processing device in the control system which concerns on this embodiment. 本実施の形態に係る制御システムにおける、第1制御装置の第1制御部の要部構成を示す機能ブロック図である。It is a functional block diagram which shows the composition of the main part of the 1st control part of the 1st control device in the control system which concerns on this embodiment. 本実施の形態に係る制御システムにおける、データ処理装置のPC制御部の要部構成を示す機能ブロック図である。It is a functional block diagram which shows the main part structure of the PC control part of the data processing apparatus in the control system which concerns on this embodiment. 本実施の形態に係る制御システムにおいて第1制御装置及びデータ処理装置の間の処理を説明するフローチャートである。It is a flowchart explaining the process between the 1st control apparatus and the data processing apparatus in the control system which concerns on this embodiment.

以下、本実施の形態に係る制御システム、副制御装置、制御方法を図面に基づいて説明する。 Hereinafter, the control system, the sub-control device, and the control method according to the present embodiment will be described with reference to the drawings.

(実施の形態1)
図1は本実施の形態に係る制御システム100の要部構成を示す構成図である。
本実施の形態に係る制御システム100は、ロボット40と、第1工作機械30(第1機械)と、第1工作機械30を制御する第1制御装置31と、第2工作機械50と、第2工作機械50を制御する第2制御装置51と、中継装置20と、ロボット40(第2機械)、第1工作機械30、第2工作機械50を遠隔制御する副制御装置10とを備える。
(Embodiment 1)
FIG. 1 is a configuration diagram showing a configuration of a main part of the control system 100 according to the present embodiment.
The control system 100 according to the present embodiment includes a robot 40, a first machine tool 30 (first machine), a first control device 31 for controlling the first machine tool 30, a second machine tool 50, and a first machine tool. 2. A second control device 51 for controlling the machine tool 50, a relay device 20, and a sub-control device 10 for remotely controlling the robot 40 (second machine), the first machine tool 30, and the second machine tool 50 are provided.

ロボット40は、例えば、第1工作機械30と接続する。第1制御装置31、第2制御装置51は中継装置20のポートに夫々接続する。副制御装置10は中継装置20の他のポートに接続し、中継装置20を介して副制御装置10は第1制御装置31及び第2制御装置51と接続する。ロボット40は、例えば、複数の軸を有する多関節アームロボットであり、前記複数の軸が移動し、ワークの搬送等を行う。 The robot 40 is connected to, for example, the first machine tool 30. The first control device 31 and the second control device 51 are connected to the ports of the relay device 20, respectively. The sub-control device 10 is connected to another port of the relay device 20, and the sub-control device 10 is connected to the first control device 31 and the second control device 51 via the relay device 20. The robot 40 is, for example, an articulated arm robot having a plurality of axes, and the plurality of axes move to transport a work or the like.

第1工作機械30、第2工作機械50は、複数の軸、マガジン、ワークを載置するテーブル等を備える。第1工作機械30、第2工作機械50の正面側の壁に扉が設けてある。ロボット40は扉を通してワークを前記テーブル上に搬送する。前記複数の軸は適宜移動し、前記テーブル上のワークの加工を行う。第1工作機械30は後方に第1制御装置31を備える。第2工作機械50は後方に第2制御装置51を備える。第1制御装置31、第2制御装置51は前記加工に係る制御を行う。 The first machine tool 30 and the second machine tool 50 include a plurality of shafts, a magazine, a table on which a work is placed, and the like. Doors are provided on the front wall of the first machine tool 30 and the second machine tool 50. The robot 40 conveys the work onto the table through the door. The plurality of axes move appropriately to process the work on the table. The first machine tool 30 is provided with a first control device 31 at the rear. The second machine tool 50 is provided with a second control device 51 at the rear. The first control device 31 and the second control device 51 perform control related to the processing.

本実施の形態においては、制御システム100が2つの工作機械(第1工作機械30、第2工作機械50)を備える場合を例に挙げて説明するが、これに限るものでなく、3つ以上の工作機械を備える構成であっても良い。また、ロボット40は、第1工作機械30などと接続しない独立した構成であっても良い。 In the present embodiment, a case where the control system 100 includes two machine tools (first machine tool 30 and second machine tool 50) will be described as an example, but the present invention is not limited to this, and three or more are described. It may be configured to include the machine tool of. Further, the robot 40 may have an independent configuration that is not connected to the first machine tool 30 or the like.

中継装置20は、例えば、スイッチングハブ、ルータ等であり、第1制御装置31、第2制御装置51、後述するロボット制御装置35(第2制御装置)に接続する。詳しくは、中継装置20の一方側にて、第1制御装置31、ロボット制御装置35及び第2制御装置51が互いに接続する。また、中継装置20の他方側には副制御装置10が接続しており、中継装置20は、第1制御装置31、第2制御装置51及びロボット制御装置35と、副制御装置10とを接続する。 The relay device 20 is, for example, a switching hub, a router, or the like, and is connected to the first control device 31, the second control device 51, and the robot control device 35 (second control device) described later. Specifically, on one side of the relay device 20, the first control device 31, the robot control device 35, and the second control device 51 are connected to each other. Further, a sub-control device 10 is connected to the other side of the relay device 20, and the relay device 20 connects the first control device 31, the second control device 51, the robot control device 35, and the sub-control device 10. To do.

副制御装置10は、例えば、ティーチングペンダントである。副制御装置10は、中継装置20を介して第1工作機械30、第2工作機械50を制御する指示データを第1工作機械30、第2工作機械50に送信して第1制御装置31、第2制御装置51の制御を行う。これによって、副制御装置10は、第1工作機械30、第2工作機械50におけるワークの加工作業を遠隔操作することができる。ユーザは副制御装置10を適宜操作することによって、第1工作機械30、第2工作機械50におけるパラメータを設定・変更し、ワークの加工作業を開始させ、又は中止させる。 The sub-control device 10 is, for example, a teaching pendant. The sub-control device 10 transmits instruction data for controlling the first machine tool 30 and the second machine tool 50 to the first machine tool 30 and the second machine tool 50 via the relay device 20, and the first control device 31 The second control device 51 is controlled. As a result, the sub-control device 10 can remotely control the machining work of the workpieces in the first machine tool 30 and the second machine tool 50. By appropriately operating the sub-control device 10, the user sets and changes the parameters in the first machine tool 30 and the second machine tool 50, and starts or stops the machining work of the work.

また、副制御装置10は、中継装置20を介してロボット制御装置35を制御し、ロボット40の動作を遠隔操作できる。
副制御装置10は、ロボット40が実行すべき作業に係る一連の動作を、ロボット40(ロボット制御装置35)に入力設定する。斯かる入力設定は、例えば、前記一連の動作に係る位置決めを含む。具体的には、前記位置決めは、前記一連の動作を所定の区分に分け、ユーザが副制御装置10を適宜操作してロボット40に各関節の回転、移動、停止等を教示し、ロボット40(ロボット制御装置35)が斯かる教示を記憶するものである。
Further, the sub-control device 10 can control the robot control device 35 via the relay device 20 to remotely control the operation of the robot 40.
The sub-control device 10 inputs and sets a series of operations related to the work to be executed by the robot 40 to the robot 40 (robot control device 35). Such input settings include, for example, positioning related to the series of operations. Specifically, in the positioning, the series of operations is divided into predetermined categories, and the user appropriately operates the sub-control device 10 to teach the robot 40 to rotate, move, stop, etc. of each joint, and the robot 40 ( The robot control device 35) stores such teachings.

図2は、本実施の形態に係る、第1制御装置31、第2制御装置51、ロボット40、副制御装置10の要部構成を示すブロック図である。第1制御装置31と、第2制御装置51とは、同様の構成であるので、以下においては、第1制御装置31の構成についてのみ説明する。 FIG. 2 is a block diagram showing a main configuration of the first control device 31, the second control device 51, the robot 40, and the sub control device 10 according to the present embodiment. Since the first control device 31 and the second control device 51 have the same configuration, only the configuration of the first control device 31 will be described below.

第1制御装置31は、駆動機構32、第1制御部33、通信部34を備える。
駆動機構32は、前記複数の軸、前記マガジン等を駆動する為の各種モータ等を含み、前記複数の軸を適宜移動させてワークの加工を行い、前記マガジンを用いて工具を交換する。
第1制御部33は、前記各種モータ等を適宜制御して、前記ワークの加工、前記工具の交換などの制御を行う。
通信部34は、例えば、副制御装置10とLAN通信を行う。通信部34は、中継装置20を介して副制御装置10とデータの送受信を行う。
The first control device 31 includes a drive mechanism 32, a first control unit 33, and a communication unit 34.
The drive mechanism 32 includes the plurality of shafts, various motors for driving the magazine, and the like, and the plurality of shafts are appropriately moved to process the work, and the magazine is used to replace the tool.
The first control unit 33 appropriately controls the various motors and the like to control the machining of the work, the replacement of the tools, and the like.
The communication unit 34 performs LAN communication with, for example, the sub-control device 10. The communication unit 34 transmits / receives data to / from the sub-control device 10 via the relay device 20.

更に、第1制御装置31はロボット制御装置35を備える。ロボット制御装置35はロボット40を制御する。詳しくは、ロボット制御装置35は、ロボット40の動作を制御する指示データをロボット40に送信し、ロボット40は斯かる指示データに従って上述したようにワークの搬送等を行う。
また、ロボット制御装置35は、例えば、副制御装置10とLAN通信を行う。ロボット制御装置35は、中継装置20を介して副制御装置10とデータの送受信を行う。
Further, the first control device 31 includes a robot control device 35. The robot control device 35 controls the robot 40. Specifically, the robot control device 35 transmits instruction data for controlling the operation of the robot 40 to the robot 40, and the robot 40 transfers the work or the like as described above according to the instruction data.
Further, the robot control device 35 performs LAN communication with the sub control device 10, for example. The robot control device 35 transmits / receives data to / from the sub control device 10 via the relay device 20.

ロボット40は、駆動機構41、通信部42を備える。
通信部42は、ロボット制御装置35とLAN通信を行う。通信部42は、ロボット制御装置35から前記指示データを受信する。
駆動機構41は、前記複数の軸(関節)等を駆動する為の各種モータ等を含む。通信部42はロボット制御装置35から指示データを受信する。受信した指示データに従って、駆動機構41は前記複数の軸を制御し、ワークの搬送を行う。
The robot 40 includes a drive mechanism 41 and a communication unit 42.
The communication unit 42 performs LAN communication with the robot control device 35. The communication unit 42 receives the instruction data from the robot control device 35.
The drive mechanism 41 includes various motors and the like for driving the plurality of shafts (joints) and the like. The communication unit 42 receives instruction data from the robot control device 35. The drive mechanism 41 controls the plurality of axes according to the received instruction data to convey the work.

副制御装置10は、表示部11、受付部12、TP制御部13、通信部14を備える。
表示部11は、LCD又はEL(Electroluminescence)パネル等からなる。表示部11は、中継装置20を介して第1制御装置31、第2制御装置51、ロボット制御装置35から受信した各種データ(例えば、運転状況、設定内容等)を表示する。
The sub control device 10 includes a display unit 11, a reception unit 12, a TP control unit 13, and a communication unit 14.
The display unit 11 includes an LCD, an EL (Electroluminescence) panel, or the like. The display unit 11 displays various data (for example, operating status, setting contents, etc.) received from the first control device 31, the second control device 51, and the robot control device 35 via the relay device 20.

受付部12は、副制御装置10に設けてあるハンドル、操作パネル等を介してユーザから指示を受け付ける。詳しくは、第1工作機械30、第2工作機械50、ロボット40を遠隔操作する為に、ユーザは副制御装置10のハンドル、操作パネル等を操作して指示を行う。受付部12は、前記ハンドル、操作パネル等を介してユーザから指示を受け付ける。 The reception unit 12 receives an instruction from the user via a handle, an operation panel, or the like provided on the sub-control device 10. Specifically, in order to remotely control the first machine tool 30, the second machine tool 50, and the robot 40, the user operates the handle, the operation panel, and the like of the sub-control device 10 to give instructions. The reception unit 12 receives instructions from the user via the handle, the operation panel, and the like.

通信部14は、有線通信のLAN等である。通信部14は、受付部12がユーザから受け付けた指示をコマンドデータ(指示データ)として、中継装置20を介して、第1工作機械30、第2工作機械50、ロボット制御装置35に送信する。また、通信部14は、第1工作機械30、第2工作機械50、ロボット制御装置35から各種データを受信する。通信部14が受信したデータを、表示部11が表示する。 The communication unit 14 is a LAN or the like for wired communication. The communication unit 14 transmits the instruction received from the user by the reception unit 12 as command data (instruction data) to the first machine tool 30, the second machine tool 50, and the robot control device 35 via the relay device 20. Further, the communication unit 14 receives various data from the first machine tool 30, the second machine tool 50, and the robot control device 35. The display unit 11 displays the data received by the communication unit 14.

本実施の形態に係る制御システム100は上述したように、第1工作機械30が第1制御装置31と共にロボット制御装置35を備える。中継装置20にて、第1制御装置31及びロボット制御装置35は互いに接続する。また、第1制御装置31、ロボット制御装置35が共に中継装置20を介して副制御装置10に接続する。即ち、第1制御装置31、ロボット制御装置35は中継装置20にて副制御装置10と並列に接続する。
制御システム100においては、中継装置20と、第1制御装置31又はロボット制御装置35との間に何らかの原因によって一方に断線等が発生した場合であっても、他方に係る情報を副制御装置10(表示部11)に表示し、副制御装置10の操作ができる。
As described above, in the control system 100 according to the present embodiment, the first machine tool 30 includes the robot control device 35 together with the first control device 31. In the relay device 20, the first control device 31 and the robot control device 35 are connected to each other. Further, both the first control device 31 and the robot control device 35 are connected to the sub control device 10 via the relay device 20. That is, the first control device 31 and the robot control device 35 are connected in parallel with the sub control device 10 by the relay device 20.
In the control system 100, even if one of the relay device 20 and the first control device 31 or the robot control device 35 is disconnected for some reason, the information related to the other is transmitted to the sub control device 10. It is displayed on (display unit 11), and the sub-control device 10 can be operated.

(実施の形態2)
実施の形態2に係る制御システム100は、実施の形態1と略同様であるが、データ処理装置を更に備える。
図3は、本実施の形態に係る制御システム100の要部構成を示す構成図である。
本実施の形態に係る制御システム100は、ロボット40と、第1工作機械30と、第1制御装置31と、第2工作機械50と、第2制御装置51と、中継装置20と、副制御装置10とを備えており、更にデータ処理装置60を備える。ロボット40、第1工作機械30、第1制御装置31、第2工作機械50、第2制御装置51、中継装置20、副制御装置10における要部構成については既に説明しており、詳しい説明を省略する。
(Embodiment 2)
The control system 100 according to the second embodiment is substantially the same as the first embodiment, but further includes a data processing device.
FIG. 3 is a configuration diagram showing a configuration of a main part of the control system 100 according to the present embodiment.
The control system 100 according to the present embodiment includes a robot 40, a first machine tool 30, a first control device 31, a second machine tool 50, a second control device 51, a relay device 20, and sub-control. A device 10 is provided, and a data processing device 60 is further provided. The main components of the robot 40, the first machine tool 30, the first control device 31, the second machine tool 50, the second control device 51, the relay device 20, and the sub-control device 10 have already been described, and detailed explanations will be given. Omit.

データ処理装置60は、例えば、パーソナルコンピューター(PC)であり、中継装置20に接続する。データ処理装置60は中継装置20を介して第1工作機械30、第2工作機械50に接続する。 The data processing device 60 is, for example, a personal computer (PC) and is connected to the relay device 20. The data processing device 60 is connected to the first machine tool 30 and the second machine tool 50 via the relay device 20.

図4は、本実施の形態に係る、第1制御装置31、第2制御装置51、ロボット40、副制御装置10、データ処理装置60の要部構成を示すブロック図である。第1制御装置31、第2制御装置51、ロボット40、副制御装置10については、既に説明したので、以下においては、データ処理装置60の構成についてのみ説明する。 FIG. 4 is a block diagram showing a main configuration of the first control device 31, the second control device 51, the robot 40, the sub control device 10, and the data processing device 60 according to the present embodiment. Since the first control device 31, the second control device 51, the robot 40, and the sub control device 10 have already been described, only the configuration of the data processing device 60 will be described below.

データ処理装置60は、受付部61、PC制御部62、通信部63を備える。データ処理装置60は、第1制御装置31、第2制御装置51、ロボット制御装置35へのパラメータの設定、第1制御装置31、第2制御装置51、ロボット制御装置35から各種データ(例えば、運転状況、設定内容等)の受信等を行う。 The data processing device 60 includes a reception unit 61, a PC control unit 62, and a communication unit 63. The data processing device 60 sets parameters to the first control device 31, the second control device 51, and the robot control device 35, and various data (for example, from the first control device 31, the second control device 51, and the robot control device 35). Receives operation status, settings, etc.).

受付部61は、例えば、キーボード、タッチパネル等(図示略)を介して、ユーザから入力を受け付ける。例えば、ユーザはデータ処理装置60のキーボードを適宜操作することによって、第1工作機械30、第2工作機械50、ロボット40に対するパラメータの入力を行う。受付部61はキーボードを介して前記入力を受け付ける。 The reception unit 61 receives input from the user via, for example, a keyboard, a touch panel, or the like (not shown). For example, the user inputs parameters to the first machine tool 30, the second machine tool 50, and the robot 40 by appropriately operating the keyboard of the data processing device 60. The reception unit 61 receives the input via the keyboard.

PC制御部62は、ユーザからの入力の受け付け、中継装置20を介した第1制御装置31、第2制御装置51、ロボット制御装置35とのデータの送受信、受信したデータの表示部(図示略)への表示等を制御する。
通信部63は、ユーザから受け付けた入力をコマンドデータとして、中継装置20を介して、第1工作機械30、第2工作機械50、ロボット制御装置35に送信する。また、通信部63は、第1制御装置31、第2制御装置51、ロボット制御装置35から各種データを受信する。表示部は各種データを表示する。
The PC control unit 62 receives input from the user, transmits / receives data to / from the first control device 31, the second control device 51, and the robot control device 35 via the relay device 20, and displays the received data (not shown). ) Is controlled.
The communication unit 63 transmits the input received from the user as command data to the first machine tool 30, the second machine tool 50, and the robot control device 35 via the relay device 20. Further, the communication unit 63 receives various data from the first control device 31, the second control device 51, and the robot control device 35. The display unit displays various data.

図5は、本実施の形態に係る制御システム100における、副制御装置10のTP制御部13の要部構成を示す機能ブロック図である。
TP制御部13は、CPU131、記憶部132、判定部133、動作指示部134、破棄指示部135を有する。
FIG. 5 is a functional block diagram showing a main configuration of the TP control unit 13 of the sub-control device 10 in the control system 100 according to the present embodiment.
The TP control unit 13 includes a CPU 131, a storage unit 132, a determination unit 133, an operation instruction unit 134, and a discard instruction unit 135.

CPU131は、予め格納した制御プログラムを実行し、第1工作機械30及び第2工作機械50でのワークの加工作業の遠隔操作、ロボット40の動作の遠隔操作、ロボット40の前記位置決め等を行う。 The CPU 131 executes a control program stored in advance to remotely control the machining work of the workpieces on the first machine tool 30 and the second machine tool 50, remotely control the operation of the robot 40, and perform the positioning of the robot 40 and the like.

記憶部132は、例えば、フラッシュメモリ、EEPROM(登録商標)、HDD、MRAM(磁気抵抗メモリ)、FeRAM(強誘電体メモリ)、又は、OUM等の不揮発性の記憶媒体である。記憶部132は、例えば、第1工作機械30及び第2工作機械50でのワークの加工作業の遠隔操作、ロボット40の動作の遠隔操作、ロボット40の前記位置決め等の為の制御プログラムを記憶する。 The storage unit 132 is, for example, a non-volatile storage medium such as a flash memory, EEPROM (registered trademark), HDD, MRAM (magnetoresistive memory), FeRAM (ferroelectric memory), or OUM. The storage unit 132 stores, for example, a control program for remote control of the machining work of the work in the first machine tool 30 and the second machine tool 50, remote control of the operation of the robot 40, the positioning of the robot 40, and the like. ..

判定部133は、受付部12がユーザから指示を受け付けた場合、受け付けた指示が、第1工作機械30、第2工作機械50、ロボット40における軸の移動に係る指示であるか否かを判定する。
特に、判定部133は、受付部12で受け付けた指示が、第1工作機械30及び第2工作機械50でのワークの加工作業の遠隔操作、ロボット40の動作の遠隔操作、ロボット40の前記位置決めにおいて、軸の移動に係る動作を指示する動作指示であるか否かを判定する。斯かる動作指示は、少なくとも、第1工作機械30及び第2工作機械50でのワークの加工作業を中止する動作指示(以下、中止動作指示ともいう)、ロボット40の前記位置決めにおいて動きを停止する動作指示(以下、停止動作指示ともいう)を含む。
以下においては、前記動作指示が中止動作指示又は停止動作指示である場合を例に挙げて説明する。
When the reception unit 12 receives an instruction from the user, the determination unit 133 determines whether or not the received instruction is an instruction related to the movement of the axes in the first machine tool 30, the second machine tool 50, and the robot 40. To do.
In particular, in the determination unit 133, the instructions received by the reception unit 12 are remote control of the machining work of the work in the first machine tool 30 and the second machine tool 50, remote control of the operation of the robot 40, and the positioning of the robot 40. In the above, it is determined whether or not the operation instruction indicates the operation related to the movement of the axis. Such an operation instruction is at least an operation instruction for stopping the machining work of the work in the first machine tool 30 and the second machine tool 50 (hereinafter, also referred to as a stop operation instruction), and the movement is stopped at the positioning of the robot 40. Includes operation instructions (hereinafter, also referred to as stop operation instructions).
In the following, a case where the operation instruction is a stop operation instruction or a stop operation instruction will be described as an example.

判定部133が軸の移動に係る動作を指示する動作指示(中止動作指示又は停止動作指示)を受け付けたと判定した場合、動作指示部134は、通信部14を介して、受け付けた動作指示を表す動作指示データを第1工作機械30、第2工作機械50又はロボット制御装置35に送信する。 When the determination unit 133 determines that the operation instruction (stop operation instruction or stop operation instruction) instructing the operation related to the movement of the axis has been received, the operation instruction unit 134 represents the received operation instruction via the communication unit 14. The operation instruction data is transmitted to the first machine tool 30, the second machine tool 50, or the robot control device 35.

動作指示部134が動作指示データを送信する際、破棄指示部135は、他装置から受信するデータを破棄する破棄指示を表す破棄指示データを、通信部14を介して、動作指示データの送信先に送信する。好ましくは、破棄指示部135は、動作指示部134が動作指示データを送信する直前に、動作指示データの送信先に前記破棄指示データを送信する。
後述するように、破棄指示データを受信した第1工作機械30、第2工作機械50又はロボット制御装置35は、破棄指示データの受信の後、副制御装置10を除く他の装置(データ処理装置60)から受信するデータを全て破棄する。
When the operation instruction unit 134 transmits the operation instruction data, the discard instruction unit 135 transmits the discard instruction data indicating the discard instruction for discarding the data received from another device to the transmission destination of the operation instruction data via the communication unit 14. Send to. Preferably, the discard instruction unit 135 transmits the discard instruction data to the destination of the operation instruction data immediately before the operation instruction unit 134 transmits the operation instruction data.
As will be described later, the first machine tool 30, the second machine tool 50, or the robot control device 35 that has received the discard instruction data is another device (data processing device) other than the sub-control device 10 after receiving the discard instruction data. All the data received from 60) is discarded.

図6は、本実施の形態に係る制御システム100において副制御装置10の処理を説明するフローチャートである。以下においては、説明の便宜上、副制御装置10が動作指示データを送信する場合を例として説明する。動作指示データは第1工作機械30でのワークの加工作業を中止する中止動作指示を表す。 FIG. 6 is a flowchart illustrating the processing of the sub-control device 10 in the control system 100 according to the present embodiment. In the following, for convenience of explanation, a case where the sub-control device 10 transmits operation instruction data will be described as an example. The operation instruction data represents a stop operation instruction for stopping the machining work of the work in the first machine tool 30.

先ず、受付部12はハンドル又は操作パネル等を介してユーザから指示を受け付ける(ステップS101)。この際、判定部133は、受付部12が受け付けた指示が動作指示であるか否かを判定する(ステップS102)。 First, the reception unit 12 receives an instruction from the user via the handle, the operation panel, or the like (step S101). At this time, the determination unit 133 determines whether or not the instruction received by the reception unit 12 is an operation instruction (step S102).

判定部133が受け付けた指示を動作指示でないと判定した場合(ステップS102:NO)、処理はステップS107に進み、CPU131は受付部12が受け付けた指示を実行する(ステップS107)。 When the determination unit 133 determines that the instruction received is not an operation instruction (step S102: NO), the process proceeds to step S107, and the CPU 131 executes the instruction received by the reception unit 12 (step S107).

一方、上述した前提に示す如く、副制御装置10は第1工作機械30に前記中止動作指示を表す動作指示データを送信するので、判定部133は受け付けた指示を動作指示であると判定する(ステップS102:YES)。 On the other hand, as shown in the above-mentioned premise, since the sub-control device 10 transmits the operation instruction data indicating the stop operation instruction to the first machine tool 30, the determination unit 133 determines that the received instruction is an operation instruction ( Step S102: YES).

次いで、破棄指示部135は、通信部14を介して、他装置から受信するデータを破棄する破棄指示を表す破棄指示データを第1工作機械30に送信する(ステップS103)。また、動作指示部134はステップS101にて受け付けた動作指示(中止動作指示)を表す動作指示データを、通信部14を介して、第1工作機械30に送信する(ステップS104)。 Next, the discard instruction unit 135 transmits the discard instruction data representing the discard instruction for discarding the data received from the other device to the first machine tool 30 via the communication unit 14 (step S103). Further, the operation instruction unit 134 transmits the operation instruction data representing the operation instruction (stop operation instruction) received in step S101 to the first machine tool 30 via the communication unit 14 (step S104).

この際、第1工作機械30においては、前記破棄指示データの受信の後、副制御装置10を除く他の装置(例えば、データ処理装置60)から受信するデータを全て破棄又は遮断し、副制御装置10からの動作指示データのみを受信して、斯かる動作指示データに応じた処理を実行する。 At this time, in the first machine tool 30, after receiving the discard instruction data, all the data received from other devices (for example, the data processing device 60) other than the sub control device 10 is discarded or blocked, and the sub control is performed. Only the operation instruction data from the device 10 is received, and the process corresponding to the operation instruction data is executed.

CPU131は、動作指示の受け付けが終了したか否かを判定する(ステップS105)。例えば、所定の時間の間、ユーザによる副制御装置10のハンドル、操作パネルの操作がない場合、CPU131は動作指示の受け付けが終了したと判定する。 The CPU 131 determines whether or not the reception of the operation instruction has been completed (step S105). For example, if the user does not operate the handle of the sub-control device 10 or the operation panel for a predetermined time, the CPU 131 determines that the acceptance of the operation instruction has been completed.

CPU131は、動作指示の受け付けが終了したと判定した場合(ステップS105:YES)、通信部14を介して、動作指示の受け付けが終了したことを表す終了指示データを第1工作機械30に送信する(ステップS106)。CPU131は、動作指示の受け付けが終了していないと判定した場合(ステップS105:NO)、動作指示の受け付けが終了したと判定するまで斯かる判定を繰り返す。 When the CPU 131 determines that the reception of the operation instruction has been completed (step S105: YES), the CPU 131 transmits the end instruction data indicating that the reception of the operation instruction has been completed to the first machine tool 30 via the communication unit 14. (Step S106). When the CPU 131 determines that the reception of the operation instruction has not been completed (step S105: NO), the CPU 131 repeats such a determination until it determines that the reception of the operation instruction has been completed.

終了指示データの受信後、第1工作機械30は、副制御装置10を除く他の装置(例えば、データ処理装置60)からのデータも受信する。 After receiving the end instruction data, the first machine tool 30 also receives data from other devices (for example, the data processing device 60) other than the sub-control device 10.

本実施の形態に係る制御システム100においては、以上の構成を有することから、ワークの加工作業を緊急中止する中止動作指示のように速反応性を要する指示をユーザ(副制御装置10)が行う場合、指示相手(第1工作機械30)が他の装置(データ処理装置
60)から受信するデータを破棄・遮断するので、中止動作指示が優先的に受信できる。従って、緊急又は速反応性を要する指示に迅速に対応することができる。
Since the control system 100 according to the present embodiment has the above configuration, the user (sub-control device 10) gives an instruction requiring quick reaction, such as a stop operation instruction for urgently stopping the machining work of the work. In this case, since the instruction partner (first machine tool 30) discards / blocks the data received from the other device (data processing device 60), the stop operation instruction can be preferentially received. Therefore, it is possible to quickly respond to an instruction that requires urgent or quick response.

実施の形態1と同様の部分については、同一の符号を付して詳細な説明を省略する。 The same parts as those in the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.

(実施の形態3)
実施の形態3に係る制御システム100は、実施の形態2と同様の構成を有するので、重複する部分については詳しい説明を省略する。
図7は、本実施の形態に係る制御システム100における、第1制御装置31のロボット制御装置35の要部構成を示す機能ブロック図である。
(Embodiment 3)
Since the control system 100 according to the third embodiment has the same configuration as that of the second embodiment, detailed description of the overlapping portion will be omitted.
FIG. 7 is a functional block diagram showing a main configuration of the robot control device 35 of the first control device 31 in the control system 100 according to the present embodiment.

ロボット制御装置35は、CPU351、記憶部352、停止指示判定部353、制限指示部354を備える。 The robot control device 35 includes a CPU 351, a storage unit 352, a stop instruction determination unit 353, and a restriction instruction unit 354.

CPU351は、予め格納した制御プログラムを実行し、ロボット40の動作、ロボット40の前記位置決め等を行う。 The CPU 351 executes a control program stored in advance to operate the robot 40, position the robot 40, and the like.

記憶部352は、例えば、フラッシュメモリ、EEPROM(登録商標)、HDD、MRAM(磁気抵抗メモリ)、FeRAM(強誘電体メモリ)、又は、OUM等の不揮発性の記憶媒体である。記憶部352は、例えば、ロボット40の動作、ロボット40の前記位置決め等の為の制御プログラムを記憶する。 The storage unit 352 is a non-volatile storage medium such as a flash memory, EEPROM (registered trademark), HDD, MRAM (magnetoresistive memory), FeRAM (ferroelectric memory), or OUM. The storage unit 352 stores, for example, a control program for the operation of the robot 40, the positioning of the robot 40, and the like.

停止指示判定部353は、ロボット40の動作、ロボット40の前記位置決めに係る動作指示を表す動作指示データを、副制御装置10から受信したか否かを判定する。例えば、停止指示判定部353は、ロボット40の前記位置決めにおいて動きを停止する停止動作指示を表す停止動作指示データを受信したか否かを判定する。
詳しくは、副制御装置10がロボット制御装置35に送る停止動作指示データ(データフレーム)のプリアンブル又はヘッダに、送信データが停止動作指示データであることを表す情報を付する。停止指示判定部353は、副制御装置10からのデータフレームのプリアンブル、ヘッダを監視して、前記判定を行う。
The stop instruction determination unit 353 determines whether or not the operation instruction data representing the operation of the robot 40 and the operation instruction related to the positioning of the robot 40 has been received from the sub-control device 10. For example, the stop instruction determination unit 353 determines whether or not the stop operation instruction data representing the stop operation instruction to stop the movement has been received in the positioning of the robot 40.
Specifically, information indicating that the transmitted data is the stop operation instruction data is added to the preamble or header of the stop operation instruction data (data frame) sent by the sub control device 10 to the robot control device 35. The stop instruction determination unit 353 monitors the preamble and header of the data frame from the sub-control device 10 and makes the determination.

制限指示部354は、停止指示判定部353が副制御装置10から前記停止動作指示データを受信したと判定した場合、自装置と接続する、副制御装置10を除く他の装置に、データ送信を一時的に中断する旨の制限指示を送信する。即ち、副制御装置10から前記停止動作指示データを受信した場合、制限指示部354は、前記制限指示を表す制限指示データを副制御装置10以外の他の装置(データ処理装置60)に送信する。
データ処理装置60は、前記制限指示データを受信した場合、ロボット制御装置35へのデータ送信を一的に中断する。
When the limit instruction unit 354 determines that the stop instruction determination unit 353 has received the stop operation instruction data from the sub control device 10, the limit instruction unit 354 transmits the data to other devices other than the sub control device 10 connected to the own device. Send a restriction instruction to temporarily suspend. That is, when the stop operation instruction data is received from the sub control device 10, the restriction instruction unit 354 transmits the restriction instruction data representing the restriction instruction to another device (data processing device 60) other than the sub control device 10. ..
The data processing unit 60, when receiving the restriction instruction data, temporarily suspend data transmission to the robot controller 35.

図8は、本実施の形態に係る制御システム100においてロボット制御装置35及びデータ処理装置60の間の処理を説明するフローチャートである。 FIG. 8 is a flowchart illustrating processing between the robot control device 35 and the data processing device 60 in the control system 100 according to the present embodiment.

例えば、データ処理装置60(PC制御部62)がロボット制御装置35に、ファームウェアのバージョンアップに係るデータを送信し(ステップS301)、ロボット制御装置35が受信する。 For example, the data processing device 60 (PC control unit 62) transmits data related to the firmware version upgrade to the robot control device 35 (step S301), and the robot control device 35 receives the data.

この際、停止指示判定部353は受信したデータのプリアンブル、ヘッダを監視することによって、受信したデータが動作指示データであるか否かを判定する(ステップS201)。ロボット制御装置35が受信したデータはファームウェアのバージョンアップに係るデータであるので、停止指示判定部353は受信したデータを動作指示データでないと判定し(ステップS201:NO)、処理はステップS205に進む。 At this time, the stop instruction determination unit 353 determines whether or not the received data is operation instruction data by monitoring the preamble and header of the received data (step S201). Since the data received by the robot control device 35 is the data related to the firmware version upgrade, the stop instruction determination unit 353 determines that the received data is not the operation instruction data (step S201: NO), and the process proceeds to step S205. ..

一方、副制御装置10から前記停止動作指示データを受信した場合、停止指示判定部353は受信したデータを動作指示データであると判定し(ステップS201:YES)、制限指示部354は、前記制限指示データをデータ処理装置60に送信する(ステップS202)。斯かる制限指示データは、データ送信を一時的に中断する旨の制限指示を表すデータである。 On the other hand, when the stop operation instruction data is received from the sub-control device 10, the stop instruction determination unit 353 determines that the received data is the operation instruction data (step S201: YES), and the restriction instruction unit 354 determines the restriction. The instruction data is transmitted to the data processing device 60 (step S202). Such restriction instruction data is data representing a restriction instruction to temporarily suspend data transmission.

通信部63を介して、ロボット制御装置35から制限指示データを受信したPC制御部62は、斯かる制限指示データに従って、ファームウェアのバージョンアップに係るデータの送信を一時的に中断する(ステップS302)。 The PC control unit 62, which has received the restriction instruction data from the robot control device 35 via the communication unit 63, temporarily suspends the transmission of the data related to the firmware version upgrade according to the restriction instruction data (step S302). ..

以降、ロボット制御装置35においては、CPU351が副制御装置10から終了指示データを受信したか否かを判定する(ステップS203)。終了指示データについては既に説明しており、詳しい説明を省略する。 After that, in the robot control device 35, it is determined whether or not the CPU 351 has received the end instruction data from the sub control device 10 (step S203). The end instruction data has already been described, and detailed description thereof will be omitted.

CPU351は終了指示データを受信していないと判定した場合(ステップS203:NO)、終了指示データを受信したと判定するまで斯かる判定を繰り返す。また、副制御装置10が終了指示データをロボット制御装置35に送信した場合、CPU351は終了指示データを受信したと判定する(ステップS203:YES)。この際、ロボット制御装置35は、データ送信の一時的中断を解除する解除指示をデータ処理装置60に送信する。即ち、ロボット制御装置35は、前記解除指示を表す解除指示データをデータ処理装置60に送信する(ステップS204)。 When the CPU 351 determines that the end instruction data has not been received (step S203: NO), the CPU 351 repeats such determination until it determines that the end instruction data has been received. Further, when the sub-control device 10 transmits the end instruction data to the robot control device 35, the CPU 351 determines that the end instruction data has been received (step S203: YES). At this time, the robot control device 35 transmits a release instruction for canceling the temporary interruption of data transmission to the data processing device 60. That is, the robot control device 35 transmits the release instruction data representing the release instruction to the data processing device 60 (step S204).

一方、PC制御部62においては、データ送信の中断後、後述するCPU621が、ロボット制御装置35から前記解除指示を受信したか否かを判定する(ステップS303)。即ち、CPU621が通信部63を監視して、前記解除指示を表す解除指示データを受信したか否かを判定する。On the other hand, in the PC control unit 62, after the data transmission is interrupted, the CPU 621, which will be described later, determines whether or not the release instruction has been received from the robot control device 35 (step S303). That is, the CPU 621 monitors the communication unit 63 to determine whether or not the release instruction data representing the release instruction has been received.

CPU621は前記解除指示を受信していないと判定した場合(ステップS303:NO)、解除指示を受信したと判定するまで斯かる判定を繰り返す。また、ロボット制御装置35が解除指示データをデータ処理装置60に送信した場合、CPU621は解除指示を受信したと判定する(ステップS303:YES)。この際、PC制御部62は、一時的に中断していた、ファームウェアのバージョンアップに係るデータ送信を再開する(ステップS304)。When the CPU 621 determines that the release instruction has not been received (step S303: NO), the CPU 621 repeats such a determination until it determines that the release instruction has been received. Further, when the robot control device 35 transmits the release instruction data to the data processing device 60, the CPU 621 determines that the release instruction has been received (step S303: YES). At this time, the PC control unit 62 restarts the data transmission related to the firmware version upgrade, which has been temporarily suspended (step S304).

ステップS204での解除指示データ送信後、又は、ステップS201にて受信したデータが動作指示データでない場合、斯かる指示データの受信が完了後、CPU351は受信した指示データに対応する処理を実行する(ステップS205)。After the release instruction data is transmitted in step S204, or when the data received in step S201 is not the operation instruction data, the CPU 351 executes the process corresponding to the received instruction data after the reception of such instruction data is completed. Step S205).

本実施の形態に係る制御システム100においては、以上の構成を有することから、ロボット40の前記位置決めにおいて動きを停止する停止動作指示のように速反応性を要する指示をユーザ(副制御装置10)が行う場合、他の装置(データ処理装置60)がデータの送信を中断するので、ロボット制御装置35からの停止動作指示を優先的に受信できる。従って、緊急又は速反応性を要する指示に迅速に対応することができる。 Since the control system 100 according to the present embodiment has the above configuration, the user (sub-control device 10) gives an instruction requiring quick responsiveness such as a stop operation instruction for stopping the movement in the positioning of the robot 40. In this case, another device (data processing device 60) interrupts the transmission of data, so that the stop operation instruction from the robot control device 35 can be preferentially received. Therefore, it is possible to quickly respond to an instruction that requires urgent or quick response.

以上においては、副制御装置10から前記停止動作指示データを受信した場合、ロボット制御装置35が前記制限指示データをデータ処理装置60に送信することについて説明したが、本実施の形態はこれに限るものでない。第1制御装置31、第2制御装置51が、副制御装置10から前記停止動作指示データを受信した場合、前記制限指示データをデータ処理装置60に送信する構成を有しても良い。 In the above, it has been described that when the stop operation instruction data is received from the sub control device 10, the robot control device 35 transmits the restriction instruction data to the data processing device 60, but the present embodiment is limited to this. Not a thing. When the first control device 31 and the second control device 51 receive the stop operation instruction data from the sub control device 10, the first control device 31 and the second control device 51 may have a configuration in which the restriction instruction data is transmitted to the data processing device 60.

実施の形態1、2と同様の部分については、同一の符号を付して詳細な説明を省略する。 The same parts as those in the first and second embodiments are designated by the same reference numerals, and detailed description thereof will be omitted.

(実施の形態4)
実施の形態4に係る制御システム100は、実施の形態2と同様の構成を有するので、重複する部分については詳しい説明を省略する。
図9は、本実施の形態に係る制御システム100における、第1制御装置31の第1制御部33の要部構成を示す機能ブロック図である。
(Embodiment 4)
Since the control system 100 according to the fourth embodiment has the same configuration as that of the second embodiment, detailed description of the overlapping portion will be omitted.
FIG. 9 is a functional block diagram showing a main configuration of a first control unit 33 of the first control device 31 in the control system 100 according to the present embodiment.

第1制御部33は、CPU331、記憶部332、中止指示判定部333、制限指示部334を備える。 The first control unit 33 includes a CPU 331, a storage unit 332, a stop instruction determination unit 333, and a restriction instruction unit 334.

CPU331は、予め格納した制御プログラムを実行し、第1工作機械30でのワークの加工作業等において、前記各種ハードウェアの制御を行う。 The CPU 331 executes a control program stored in advance, and controls the various hardware in the machining work of the work in the first machine tool 30 and the like.

記憶部332は、例えば、フラッシュメモリ、EEPROM(登録商標)、HDD、MRAM(磁気抵抗メモリ)、FeRAM(強誘電体メモリ)、又は、OUM等の不揮発性の記憶媒体である。記憶部332は、例えば、第1工作機械30でのワークの加工作業等の為の制御プログラムを記憶する。 The storage unit 332 is, for example, a non-volatile storage medium such as a flash memory, EEPROM (registered trademark), HDD, MRAM (magnetoresistive memory), FeRAM (ferroelectric memory), or OUM. The storage unit 332 stores, for example, a control program for machining a work in the first machine tool 30.

中止指示判定部333は、第1工作機械30のワークの加工作業等に係る動作指示を表す動作指示データを、副制御装置10から受信したか否かを判定する。例えば、中止指示判定部333は、第1工作機械30でのワークの加工作業において作業を中止する中止動作指示を表す中止動作指示データを受信したか否かを判定する。
詳しくは、副制御装置10が第1制御装置31に送る中止動作指示データ(データフレーム)のプリアンブル又はヘッダに、送信データが中止動作指示データであることを表す情報を付する。中止指示判定部333は、副制御装置10からのデータフレームのプリアンブル、ヘッダを監視して、前記判定を行う。
The stop instruction determination unit 333 determines whether or not the operation instruction data representing the operation instruction related to the machining work of the work of the first machine tool 30 has been received from the sub-control device 10. For example, the stop instruction determination unit 333 determines whether or not the stop operation instruction data indicating the stop operation instruction for stopping the work has been received in the machining work of the work in the first machine tool 30.
Specifically, information indicating that the transmission data is the stop operation instruction data is added to the preamble or header of the stop operation instruction data (data frame) sent by the sub control device 10 to the first control device 31. The stop instruction determination unit 333 monitors the preamble and header of the data frame from the sub-control device 10 and makes the determination.

制限指示部334は、中止指示判定部333が副制御装置10から前記中止動作指示データを受信したと判定した場合、自装置と接続する、副制御装置10を除く他の装置に、自装置を送信先とする送信データ量を低減する旨の制限指示を送信する。即ち、副制御装置10から前記中止動作指示データを受信した場合、制限指示部334は、前記制限指示を表す制限指示データをデータ処理装置60に送信する。
データ処理装置60は、斯かる制限指示データを受信した場合、第1制御装置31に送信するデータ量を低減して分割し、所定の間隔をおいて送信する。
When the limit instruction unit 334 determines that the stop instruction determination unit 333 has received the stop operation instruction data from the sub control device 10, the limit instruction unit 334 attaches the own device to another device other than the sub control device 10 which is connected to the own device. A restriction instruction to reduce the amount of transmission data to be transmitted is transmitted. That is, when the stop operation instruction data is received from the sub-control device 10, the restriction instruction unit 334 transmits the restriction instruction data representing the restriction instruction to the data processing device 60.
When the data processing device 60 receives such restriction instruction data, the data processing device 60 reduces the amount of data to be transmitted to the first control device 31, divides the data, and transmits the data at predetermined intervals.

図10は、本実施の形態に係る制御システム100における、データ処理装置60のPC制御部62の要部構成を示す機能ブロック図である。 FIG. 10 is a functional block diagram showing a main configuration of a PC control unit 62 of the data processing device 60 in the control system 100 according to the present embodiment.

PC制御部62は、CPU621、ROM622、RAM623、制限指示判定部624、分割部625を備える。 The PC control unit 62 includes a CPU 621, a ROM 622, a RAM 623, a restriction instruction determination unit 624, and a division unit 625.

ROM622は各種の制御プログラム、演算用のパラメータのうちの基本的に固定のデータ等を予め格納しており、RAM623はデータを一時的に記憶し、記憶順、記憶位置等に関係なく読み出すことが可能である。また、RAM623は、例えば、ROM622から読み出したプログラム、該プログラムを実行することにより発生する各種データ、該実行の際適宜変化するパラメータ等を記憶する。 The ROM 622 stores basically fixed data among various control programs and parameters for calculation in advance, and the RAM 623 temporarily stores the data and can read it regardless of the storage order, storage position, etc. It is possible. Further, the RAM 623 stores, for example, a program read from the ROM 622, various data generated by executing the program, parameters that change appropriately during the execution, and the like.

CPU621は、ROM622が予め格納した制御プログラムをRAM623上にロードして実行することによって、上述した各種ハードウェアの制御を行ない、装置全体を本実施の形態に係るPC制御部62として動作させる。 The CPU 621 controls the various hardware described above by loading and executing the control program stored in advance in the ROM 622 on the RAM 623, and operates the entire device as the PC control unit 62 according to the present embodiment.

制限指示判定部624は、第1制御装置31、第2制御装置51又はロボット制御装置35から前記制限指示データを受信したか否かを判定する。斯かる判定は、制限指示判定部624が通信部63を監視することによって行う。 The restriction instruction determination unit 624 determines whether or not the restriction instruction data has been received from the first control device 31, the second control device 51, or the robot control device 35. Such a determination is performed by the restriction instruction determination unit 624 monitoring the communication unit 63.

分割部625は、前記制限指示データを受信したと制限指示判定部624が判定した場合、以後、斯かる制限指示データの送信元に送信するデータを制限する。例えば、第1制御装置31から前記制限指示データを受信した場合、分割部625は、前記制限指示データを受信する前より、第1制御装置31に送信するデータ量を小さくして複数の部分に分割する。所定の閾値を設け、斯かる閾値以下に分割しても良い。以下、このように分割したデータを分割データと言う。更に、分割部625は前記分割データを所定の間隔おきに第1制御装置31に送信する。 When the restriction instruction determination unit 624 determines that the restriction instruction data has been received, the division unit 625 limits the data to be transmitted to the transmission source of the restriction instruction data thereafter. For example, when the restriction instruction data is received from the first control device 31, the division unit 625 reduces the amount of data transmitted to the first control device 31 to a plurality of portions than before receiving the restriction instruction data. To divide. A predetermined threshold value may be set and divided into less than or equal to such a threshold value. Hereinafter, the data divided in this way is referred to as divided data. Further, the division unit 625 transmits the division data to the first control device 31 at predetermined intervals.

図11は、本実施の形態に係る制御システム100において第1制御装置31及びデータ処理装置60の間の処理を説明するフローチャートである。 FIG. 11 is a flowchart illustrating processing between the first control device 31 and the data processing device 60 in the control system 100 according to the present embodiment.

例えば、データ処理装置60(PC制御部62)が第1制御装置31に、設定のパラメータ変更に係るデータを送信し(ステップS501)、第1制御部33は通信部34を介して受信する。 For example, the data processing device 60 (PC control unit 62) transmits data related to the parameter change of the setting to the first control device 31 (step S501), and the first control unit 33 receives the data via the communication unit 34.

この際、中止指示判定部333は受信したデータが動作指示データであるか否かを判定する(ステップS401)。中止指示判定部333が受信したデータを動作指示データでないと判定した場合(ステップS401:NO)、処理はステップS405に進む。 At this time, the stop instruction determination unit 333 determines whether or not the received data is the operation instruction data (step S401). When the stop instruction determination unit 333 determines that the received data is not the operation instruction data (step S401: NO), the process proceeds to step S405.

一方、副制御装置10から前記中止動作指示データを受信した場合、中止指示判定部333は受信したデータを動作指示データであると判定し(ステップS401:YES)、制限指示部334は、前記制限指示データをデータ処理装置60に送信する(ステップS402)。斯かる制限指示データは、送信すべきデータを分割し、データ量を低減させた分割データを所定の間隔にて送信する旨の制限指示を表す。 On the other hand, when the stop operation instruction data is received from the sub-control device 10, the stop instruction determination unit 333 determines that the received data is the operation instruction data (step S401: YES), and the restriction instruction unit 334 limits the data. The instruction data is transmitted to the data processing device 60 (step S402). Such restriction instruction data represents a restriction instruction to divide the data to be transmitted and transmit the divided data in which the amount of data is reduced at predetermined intervals.

PC制御部62は、通信部63を介して、第1制御装置31から制限指示データを受信し、分割部625が、第1制御装置31に送信すべきデータを、斯かる制限指示データの受信前より小さい複数の部分に分割する(ステップS502)。そして、分割部625は斯かる分割データを所定の間隔をおいて第1制御装置31に送信する(ステップS503)。 The PC control unit 62 receives the restriction instruction data from the first control device 31 via the communication unit 63, and the division unit 625 receives the data to be transmitted to the first control device 31 such restriction instruction data. It is divided into a plurality of parts smaller than the previous one (step S502). Then, the division unit 625 transmits such division data to the first control device 31 at predetermined intervals (step S503).

以降、第1制御装置31においては、CPU331は通信部34を監視することによって、副制御装置10から終了指示データを受信したか否かを判定する(ステップS403)。 After that, in the first control device 31, the CPU 331 monitors the communication unit 34 to determine whether or not the end instruction data has been received from the sub control device 10 (step S403).

CPU331は終了指示データを受信していないと判定した場合(ステップS403:NO)、終了指示データを受信したと判定するまで斯かる判定を繰り返す。また、副制御装置10が終了指示データを第1制御装置31に送信した場合、CPU331は終了指示データを受信したと判定する(ステップS403:YES)。この際、CPU331は、所定の間隔にて分割データを送信することを解除する解除指示をデータ処理装置60に送信する。即ち、CPU331は、前記解除指示を表す解除指示データを、通信部34を介してデータ処理装置60に送信する(ステップS404)。 When the CPU 331 determines that the end instruction data has not been received (step S403: NO), the CPU 331 repeats such determination until it determines that the end instruction data has been received. Further, when the sub-control device 10 transmits the end instruction data to the first control device 31, the CPU 331 determines that the end instruction data has been received (step S403: YES). At this time, the CPU 331 transmits to the data processing device 60 a release instruction for canceling the transmission of the divided data at predetermined intervals. That is, the CPU 331 transmits the release instruction data representing the release instruction to the data processing device 60 via the communication unit 34 (step S404).

一方、PC制御部62においては、所定の間隔にて分割データを送信し始めた後、第1制御装置31から前記解除指示を受信したか否かをCPU621が判定する(ステップS504)。On the other hand, in the PC control unit 62, after starting to transmit the divided data at predetermined intervals, the CPU 621 determines whether or not the release instruction is received from the first control device 31 (step S504).

CPU621は前記解除指示を受信していないと判定した場合(ステップS504:NO)、解除指示を受信したと判定するまで斯かる判定を繰り返す。また、第1制御装置31が解除指示データをデータ処理装置60に送信した場合、CPU621は解除指示を受信したと判定する(ステップS504:YES)。この際、CPU621は、斯かる制限指示データの受信前と同様に正常のデータ送信を行う(ステップS505)。即ち、ステップS502にて制限指示データを受信する前と同じデータ量を、連続して第1制御装置31に送信する。When the CPU 621 determines that the release instruction has not been received (step S504: NO), the CPU 621 repeats such a determination until it determines that the release instruction has been received. Further, when the first control device 31 transmits the release instruction data to the data processing device 60, the CPU 621 determines that the release instruction has been received (step S504: YES). At this time, the CPU 621 performs normal data transmission in the same manner as before the reception of such restriction instruction data (step S505). That is, the same amount of data as before the restriction instruction data was received in step S502 is continuously transmitted to the first control device 31.

ステップS404での解除指示データ送信後、又は、ステップS401にて受信したデータが動作指示データでない場合、斯かる指示データの受信が完了後、CPU331は受信した指示データに対応する処理を実行する(ステップS405)。After the release instruction data is transmitted in step S404, or when the data received in step S401 is not the operation instruction data, the CPU 331 executes the process corresponding to the received instruction data after the reception of such instruction data is completed. Step S405).

実施の形態4に係る制御システム100においては、以上の構成を有することから、ワークの加工作業を緊急中止する中止動作指示のように速反応性を要する指示をユーザ(副制御装置10)が行う場合、中継装置20における副制御装置10と第1工作機械30との通信帯域を広げて確保することが出来る。また、この際、PC制御部62は所定の間隔をおいて前記分割データを送信するので、斯かる間隔の間、副制御装置10が第1工作機械30に緊急又は速反応性を要する指示を行うこともできる。従って、緊急又は速反応性を要する指示に迅速に対応することができる。 Since the control system 100 according to the fourth embodiment has the above configuration, the user (sub-control device 10) gives an instruction requiring quick reactivity such as a stop operation instruction for urgently stopping the machining work of the work. In this case, the communication band between the sub-control device 10 and the first machine tool 30 in the relay device 20 can be widened and secured. Further, at this time, since the PC control unit 62 transmits the divided data at a predetermined interval, the sub-control device 10 gives an instruction to the first machine tool 30 for urgent or quick reactivity during such an interval. You can also do it. Therefore, it is possible to quickly respond to an instruction that requires urgent or quick response.

以上においては、第1制御装置31(第1制御部33)を例に挙げて、PC制御部62との間における処理について説明したが、本実施の形態はこれに限るものでない。第2制御装置51(第2制御部53)においても同様であることは言うまでもない。また、ロボット制御装置35が、第1制御装置31(第1制御部33)と同様の構成を有するように構成しても良い。 In the above, the process with and from the PC control unit 62 has been described by taking the first control device 31 (first control unit 33) as an example, but the present embodiment is not limited to this. Needless to say, the same applies to the second control device 51 (second control unit 53). Further, the robot control device 35 may be configured to have the same configuration as the first control device 31 (first control unit 33).

実施の形態1〜3と同様の部分については、同一の符号を付して詳細な説明を省略する。 The same parts as those in the first to third embodiments are designated by the same reference numerals, and detailed description thereof will be omitted.

以上においては、第1工作機械30に、第1制御装置31及びロボット制御装置35が共に設けてある場合を例に挙げて説明したが、本実施の形態はこれに限る物でない。第1工作機械30に、第1制御装置31及び第2制御装置51を共に設けても良い。 In the above, the case where the first machine tool 30 is provided with both the first control device 31 and the robot control device 35 has been described as an example, but the present embodiment is not limited to this. The first machine tool 30 may be provided with both the first control device 31 and the second control device 51.

なお、上述した判定部133、動作指示部134、破棄指示部135、停止指示判定部353、制限指示部354、中止指示判定部333、制限指示部334、制限指示判定部624、分割部625は、ハードウェアロジックによって構成してもよいし、CPU131,351,331,621が所定のプログラムを実行することにより、ソフトウェア的に構築してもよい。 The above-mentioned determination unit 133, operation instruction unit 134, discard instruction unit 135, stop instruction determination unit 353, restriction instruction unit 354, stop instruction determination unit 333, restriction instruction unit 334, restriction instruction determination unit 624, and division unit 625 , It may be configured by hardware logic, or it may be constructed by software by the CPU 131, 351, 331, 621 executing a predetermined program.

10 副制御装置
11 表示部
20 中継装置
30 第1工作機械
31 第1制御装置
35 ロボット制御装置
40 ロボット
50 第2工作機械
51 第2制御装置
100 制御システム
134 動作指示部
135 破棄指示部
334 制限指示部
625 分割部
10 Sub-control device 11 Display unit 20 Relay device 30 1st machine tool 31 1st control device 35 Robot control device 40 Robot 50 2nd machine tool 51 2nd control device 100 Control system 134 Operation instruction unit 135 Discard instruction unit 334 Restriction instruction Part 625 Divided part

Claims (13)

軸が移動する動作を行う第1機械及び第2機械を夫々制御する第1制御装置及び第2制御装置を備える制御システムにおいて、
前記第1機械及び第2機械を制御する副制御装置と、
前記副制御装置と、前記第1制御装置及び前記第2制御装置とを接続する中継装置と
を備え
前記副制御装置は、
軸移動の動作指示を前記第1制御装置又は前記第2制御装置に送信する動作指示部と、
他装置から受信するデータを破棄する破棄指示を、前記動作指示の送信の際、前記第1制御装置又は前記第2制御装置に送信する破棄指示部と
を備えることを特徴とする制御システム。
In a control system including a first control device and a second control device that control a first machine and a second machine that perform an operation in which an axis moves, respectively.
The sub-control device that controls the first machine and the second machine,
The sub-control device is provided with a relay device for connecting the first control device and the second control device .
The sub-control device
An operation instruction unit that transmits an operation instruction for axis movement to the first control device or the second control device, and
When the operation instruction is transmitted, the discard instruction unit for transmitting the discard instruction for discarding the data received from the other device to the first control device or the second control device is used.
Control system according to claim Rukoto equipped with.
軸が移動する動作を行う第1機械及び第2機械を夫々制御する第1制御装置及び第2制御装置を備える制御システムにおいて、In a control system including a first control device and a second control device that control a first machine and a second machine that perform an operation in which an axis moves, respectively.
前記第1機械及び第2機械を制御する副制御装置と、The sub-control device that controls the first machine and the second machine,
前記副制御装置と、前記第1制御装置及び前記第2制御装置とを接続する中継装置と、A relay device that connects the sub-control device, the first control device, and the second control device,
前記中継装置に接続してあり、前記第1制御装置又は前記第2制御装置とのデータ送受信を行うデータ処理装置とを備え、It is connected to the relay device and includes a data processing device that transmits / receives data to / from the first control device or the second control device.
前記第1制御装置及び前記第2制御装置は、The first control device and the second control device
軸移動の動作指示を前記副制御装置から受信した場合、前記データ処理装置に、データ送信を制限する制限指示を送信する制限指示部を備えることを特徴とする制御システム。A control system characterized in that, when an operation instruction for axis movement is received from the sub-control device, the data processing device includes a restriction instruction unit for transmitting a restriction instruction for restricting data transmission.
前記副制御装置は、前記第1制御装置又は前記第2制御装置から受信したデータを表示する表示部を備えることを特徴とする請求項1又は2に記載の制御システム。 The control system according to claim 1 or 2 , wherein the sub-control device includes a display unit that displays data received from the first control device or the second control device. 前記制限指示部はデータ送信の中断を指示する前記制限指示を前記データ処理装置に送信することを特徴とする請求項に記載の制御システム。 The control system according to claim 2 , wherein the restriction instruction unit transmits the restriction instruction instructing the interruption of data transmission to the data processing device. 前記制限指示部は送信するデータ量の低減を指示する前記制限指示を前記データ処理装置に送信することを特徴とする請求項に記載の制御システム。 The control system according to claim 2 , wherein the restriction instruction unit transmits the restriction instruction for instructing a reduction in the amount of data to be transmitted to the data processing device. 前記データ処理装置は、
前記制限指示を受信した場合、
送信すべきデータを分割して所定間隔にて送信する分割部を備えることを特徴とする請求項に記載の制御システム。
The data processing device is
When the restriction instruction is received
The control system according to claim 5 , further comprising a dividing unit that divides data to be transmitted and transmits the data at predetermined intervals.
前記第2機械はアームロボットであり、
前記副制御装置は前記アームロボットの動作に係る位置決めを行い、
前記動作指示は前記位置決めにおける停止指示を含むことを特徴とする請求項からの何れか一つに記載の制御システム。
The second machine is an arm robot.
The sub-control device performs positioning related to the operation of the arm robot, and performs positioning.
The control system according to any one of claims 1 to 6 , wherein the operation instruction includes a stop instruction in the positioning.
前記第1機械は工作機械であり、
前記副制御装置は前記工作機械での加工作業に係る指示を行い、
前記動作指示は前記加工作業における中止指示を含むことを特徴とする請求項からの何れか一つに記載の制御システム。
The first machine is a machine tool and
The sub-control device gives an instruction related to the machining work with the machine tool, and
The control system according to any one of claims 1 to 6 , wherein the operation instruction includes a stop instruction in the processing work.
軸が移動する動作を行う第1機械の第1制御装置又は軸が移動する動作を行う第2機械の第2制御装置に接続して前記第1機械又は第2機械を制御する副制御装置において、
中継装置を介して前記第1制御装置及び第2制御装置と接続する通信部と、
軸移動の動作指示を前記第1制御装置又は前記第2制御装置に送信する動作指示部と、
前記動作指示の送信の際、他装置から受信するデータを破棄する破棄指示を前記第1制御装置又は前記第2制御装置に送信する破棄指示部とを備えることを特徴とする副制御装置。
In the first control device of the first machine that moves the shaft or the sub-control device that controls the first machine or the second machine by connecting to the second control device of the second machine that moves the shaft. ,
A communication unit connected to the first control device and the second control device via a relay device ,
An operation instruction unit that transmits an operation instruction for axis movement to the first control device or the second control device, and
A sub-control device including a discard instruction unit that transmits a discard instruction for discarding data received from another device to the first control device or the second control device when transmitting the operation instruction.
前記第1制御装置又は前記第2制御装置から受信したデータを表示する表示部を備えることを特徴とする請求項に記載の副制御装置。 The sub-control device according to claim 9 , further comprising a display unit that displays data received from the first control device or the second control device. 前記第機械はアームロボットであり、
前記アームロボットの動作に係る位置決めを行い、
前記動作指示は前記位置決めにおける停止指示を含むことを特徴とする請求項9又は10に記載の副制御装置。
The second machine is an arm robot.
Positioning related to the operation of the arm robot is performed.
The sub-control device according to claim 9 or 10 , wherein the operation instruction includes a stop instruction in the positioning.
前記第機械は工作機械であり、
前記工作機械での加工作業に係る指示を行い、
前記動作指示は前記加工作業における中止指示を含むことを特徴とする請求項9又は10に記載の副制御装置。
The first machine is a machine tool and
Give instructions related to the processing work with the machine tool,
The sub-control device according to claim 9 or 10 , wherein the operation instruction includes a stop instruction in the processing operation.
軸が移動する動作を行う第1機械の第1制御装置又は軸が移動する動作を行う第2機械の第2制御装置と中継装置を介して接続する副制御装置にて、前記第1機械又は第2機械を制御する制御方法において、
軸移動の動作指示を前記第1制御装置又は前記第2制御装置に送信するステップと、
前記動作指示の送信の際、他装置から受信するデータを破棄する破棄指示を前記第1制御装置又は前記第2制御装置に送信するステップと
を含むことを特徴とする制御方法。
The first control device of the first machine that moves the shaft or the second control device of the second machine that moves the shaft and the sub-control device connected via the relay device, the first machine or In the control method for controlling the second machine,
A step of transmitting an operation instruction of axis movement to the first control device or the second control device, and
A control method comprising a step of transmitting a discard instruction for discarding data received from another device to the first control device or the second control device when transmitting the operation instruction.
JP2017176122A 2017-09-13 2017-09-13 Control system, sub-control device and control method Active JP6897443B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017176122A JP6897443B2 (en) 2017-09-13 2017-09-13 Control system, sub-control device and control method
CN201811056693.0A CN109491331B (en) 2017-09-13 2018-09-11 Control system, sub-control device, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017176122A JP6897443B2 (en) 2017-09-13 2017-09-13 Control system, sub-control device and control method

Publications (2)

Publication Number Publication Date
JP2019053439A JP2019053439A (en) 2019-04-04
JP6897443B2 true JP6897443B2 (en) 2021-06-30

Family

ID=65689858

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017176122A Active JP6897443B2 (en) 2017-09-13 2017-09-13 Control system, sub-control device and control method

Country Status (2)

Country Link
JP (1) JP6897443B2 (en)
CN (1) CN109491331B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7188407B2 (en) * 2020-03-25 2022-12-13 ブラザー工業株式会社 Machine tools and machine tool control methods
JP2022114021A (en) * 2021-01-26 2022-08-05 日本電産サンキョー株式会社 Information processing device and industrial robot
JP7332822B1 (en) * 2022-08-25 2023-08-23 ファナック株式会社 Numerical controller and numerical control system

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3541906A (en) * 1968-10-16 1970-11-24 Cincinnati Milacron Inc Method and system for controlling sharpening and replacement of a cutting blade of a material cutting machine
JPS6394734A (en) * 1986-10-08 1988-04-25 Nec Corp Data link control system
FI98772C (en) * 1994-02-28 1997-08-11 Nokia Telecommunications Oy Procedure for route switching on a packet data connection
US5931915A (en) * 1997-05-13 1999-08-03 International Business Machines Corporation Method for processing early arrival messages within a multinode asynchronous data communications system
US6718388B1 (en) * 1999-05-18 2004-04-06 Jp Morgan Chase Bank Secured session sequencing proxy system and method therefor
US6768949B2 (en) * 2002-05-13 2004-07-27 Entek Ird International Corporation Modular equipment dynamic condition monitoring system with multiple processors
JP2004230508A (en) * 2003-01-30 2004-08-19 Nachi Fujikoshi Corp Robot system
CN1571380A (en) * 2003-07-14 2005-01-26 孙勇 A two-way network communication system and implementing method thereof
DE602005004439T2 (en) * 2004-03-04 2009-01-15 Yamaha Corp., Hamamatsu Device and method for transmitting and outputting data, for example for music lessons
JP4379347B2 (en) * 2005-02-09 2009-12-09 富士電機システムズ株式会社 Network transmission type sequence control system
JP5057546B2 (en) * 2006-03-24 2012-10-24 キヤノン株式会社 Document search apparatus and document search method
CN101102605B (en) * 2007-08-15 2011-12-07 中兴通讯股份有限公司 random access method of cellular wireless communication system
JP5204214B2 (en) * 2008-03-28 2013-06-05 株式会社ダイヘン Mobile machine control system
JP5000624B2 (en) * 2008-10-30 2012-08-15 株式会社デジタル Control system and portable programmable display
JP4676544B2 (en) * 2009-05-29 2011-04-27 ファナック株式会社 Robot control device for controlling a robot for supplying and taking out workpieces from a machine tool
CN102136897B (en) * 2011-03-04 2015-12-16 深圳市中兴微电子技术有限公司 Adopt the method and system of HARQ mode transmitting time advance command
KR101382043B1 (en) * 2012-02-29 2014-04-04 주식회사 팬택 Control method of mobile communication terminal for reducing voice call delay and mobile communication terminal of using it
CN103365287A (en) * 2013-07-30 2013-10-23 桂林电子科技大学 Parts manufacturing process information acquisition system
JP6503654B2 (en) * 2013-09-30 2019-04-24 株式会社リコー Communication management system, communication system, and communication method
CN104898572B (en) * 2014-03-07 2017-10-31 兄弟工业株式会社 Control device
WO2015162734A1 (en) * 2014-04-23 2015-10-29 三菱電機株式会社 Relay device and data transfer method
JP6657600B2 (en) * 2015-06-01 2020-03-04 セイコーエプソン株式会社 Robot system and emergency stop processing device
JP6333790B2 (en) * 2015-10-21 2018-05-30 ファナック株式会社 Robot system having a plurality of control devices connected via a network

Also Published As

Publication number Publication date
JP2019053439A (en) 2019-04-04
CN109491331A (en) 2019-03-19
CN109491331B (en) 2021-10-22

Similar Documents

Publication Publication Date Title
JP6897443B2 (en) Control system, sub-control device and control method
TWI625207B (en) Robot system and its operation method
JP4122652B2 (en) Robot control device
US11565414B2 (en) Machining control system and machining system
JP6333790B2 (en) Robot system having a plurality of control devices connected via a network
US20160091889A1 (en) Numerical control system
JP5892132B2 (en) Control device and robot system
TW201729963A (en) Robot system and operation method therefor
CN110505947B (en) Robot system and method for operating the same
JP7108103B2 (en) Machine teaching terminal used for machine teaching, teaching system, program and safety confirmation method
JP2011206886A (en) Device and method for controlling robot
JP2004181564A (en) Industrial robot
JP2007042061A (en) Automatic machine system
WO2013150596A1 (en) Robot system and work facility
JP7448345B2 (en) Communication control device
JP2022068919A (en) Numerical control arithmetic system
JP2009028811A (en) Robot controller
JP4951783B2 (en) Robot control apparatus and robot control method
JP7460663B2 (en) control system
JP2005335000A (en) Control device for human intervention type robot
JP2010214503A (en) Robot, unit controller and cooperative control method between control units
CN111629869A (en) Robot control device and robot system provided with same
WO2023162137A1 (en) Robot control device and robot system
US20240142954A1 (en) Communication system with ordered command data sets
WO2022138546A1 (en) Control device, safety shutdown program of same, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210412

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210524

R150 Certificate of patent or registration of utility model

Ref document number: 6897443

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150