JP7222115B2 - Multiplex communication device and work machine - Google Patents

Multiplex communication device and work machine Download PDF

Info

Publication number
JP7222115B2
JP7222115B2 JP2021555627A JP2021555627A JP7222115B2 JP 7222115 B2 JP7222115 B2 JP 7222115B2 JP 2021555627 A JP2021555627 A JP 2021555627A JP 2021555627 A JP2021555627 A JP 2021555627A JP 7222115 B2 JP7222115 B2 JP 7222115B2
Authority
JP
Japan
Prior art keywords
communication
user mode
multiplex communication
mode
program
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
JP2021555627A
Other languages
Japanese (ja)
Other versions
JPWO2021095088A1 (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Publication of JPWO2021095088A1 publication Critical patent/JPWO2021095088A1/ja
Application granted granted Critical
Publication of JP7222115B2 publication Critical patent/JP7222115B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Description

本開示は、2つのユーザモードを備える多重通信装置、及びその多重通信装置を備える作業機に関するものである。 TECHNICAL FIELD The present disclosure relates to a multiplex communication device with two user modes and a work machine with the multiplex communication device.

従来、装置本体部と、可動部の間の通信を、有線ケーブルの多重通信で実行する作業用ロボットがある(例えば、特許文献1など)。特許文献1に記載された作業用ロボットは、装置本体部に設けられた多重通信装置と、可動部に設けられた多重通信装置とをGigabit Etherenet(登録商標)の通信規格に準拠したLANケーブルで接続している。作業用ロボットは、可動部に設けられたリニアスケールやエンコーダの位置信号を多重化して装置本体部へ送信する。 2. Description of the Related Art Conventionally, there is a work robot that executes communication between an apparatus main body and a movable part by multiplex communication of a wired cable (for example, Patent Document 1, etc.). The working robot described in Patent Document 1 connects a multiplex communication device provided in the main body of the device and a multiplex communication device provided in the movable part with a LAN cable conforming to the Gigabit Ethernet (registered trademark) communication standard. Connected. The working robot multiplexes the position signals of the linear scale and the encoder provided on the movable portion and transmits the multiplexed signals to the main body of the device.

国際公開第WO2018/150544号(図4)International Publication No. WO2018/150544 (Fig. 4)

上記した作業用ロボットは、装置を非稼動状態とし可動部の交換が行なわれる。ここで、技術の進歩にともなって可動部は、新しいものが開発される。可動部が備える多重通信装置も、機能の改善や新しい機能の追加が行なわれる。古い多重通信装置と新しい多重通信装置とでは、サポートしている機能、例えば、通信速度が異なる虞がある。また、装置本体部側の多重通信装置も同様に、サポートしている機能が、可動部の多重通信装置と異なる可能性がある。その結果、可動部を交換しても新旧の多重通信装置が混在することで、多重通信装置間の通信のうまく実行できない可能性がある。 In the working robot described above, the movable parts are replaced while the device is put into a non-operating state. Here, as technology advances, new movable parts are developed. The functions of the multiplex communication device included in the movable part are also improved and new functions are added. Old multiplex communication devices and new multiplex communication devices may support different functions, such as communication speeds. Similarly, the functions supported by the multiplex communication device on the apparatus main body side may be different from those of the multiplex communication device on the movable part. As a result, even if the movable part is replaced, there is a possibility that new and old multiplex communication devices will coexist and communication between the multiplex communication devices will not be carried out successfully.

本開示は、上記の課題に鑑みてなされたものであり、通信先の装置の種類に応じてシステムを起動できる多重通信装置、及び作業機を提供することを目的とする。 The present disclosure has been made in view of the above problems, and aims to provide a multiplex communication device and a working machine that can activate a system according to the type of communication destination device.

上記課題を解決するために、本明細書は、通信先の装置との間で多重通信を実行する多重通信インタフェースと、セーフモード、第1ユーザモード、前記第1ユーザモードとは異なる第2ユーザモードの3つのモードのプログラムを記憶する記憶装置と、前記セーフモードのプログラムを前記記憶装置から読み出して実行し、前記セーフモードにおいて前記多重通信インタフェースを介して前記通信先の装置から前記通信先の装置に係わる機種情報を受信し、前記機種情報に基づいて前記第1ユーザモード又は前記第2ユーザモードのプログラムを選択して前記記憶装置から読み出して実行し前記多重通信インタフェースを介した多重通信を、読み出して実行した前記第1ユーザモード又は前記第2ユーザモードの前記プログラムに基づいて前記通信先の装置との間で実行する処理部と、を備え、前記第1ユーザモードは、第1通信速度で多重通信を実行するモードであり、前記第2ユーザモードは、前記第1通信速度に比べて高速な第2通信速度で多重通信を実行するモードである、多重通信装置を開示する。
In order to solve the above problems, the present specification provides a multiplex communication interface that performs multiplex communication with a communication destination device, a safe mode, a first user mode, and a second user mode different from the first user mode. and the safe mode program is read from the storage device and executed, and in the safe mode, the communication destination device is related to the communication destination device via the multiplex communication interface. Receiving model information, selecting a program for the first user mode or the second user mode based on the model information, reading and executing the program from the storage device, and reading multiplex communication via the multiplex communication interface. a processing unit that executes with the communication destination device based on the executed program of the first user mode or the second user mode , wherein the first user mode is at a first communication speed Disclosed is a multiplex communication device, wherein the second user mode is a mode for executing multiplex communication at a second communication speed higher than the first communication speed.

また、本開示の内容は、多重通信装置の実施に限定されることなく、多重通信装置を備える作業機として実施しても有益である。 Further, the content of the present disclosure is not limited to the implementation of multiplex communication devices, and may be beneficially implemented as a work machine equipped with multiplex communication devices.

本開示の多重通信装置は、第1ユーザモードと第2ユーザモードとの2つのユーザモードで起動が可能となっている。多重通信装置は、セーフモードにおいて通信先の装置から機種情報を受信し、受信した機種情報に基づいて第1ユーザモード又は第2ユーザモードを起動し多重通信を実行する。これにより、通信先の装置に合ったユーザモードを機種情報に基づいて選択して起動できる。 The multiplex communication device of the present disclosure can be activated in two user modes, a first user mode and a second user mode. The multiplex communication device receives model information from a communication destination device in the safe mode, activates the first user mode or the second user mode based on the received model information, and executes multiplex communication. As a result, a user mode suitable for the communication destination device can be selected and activated based on the model information.

本実施形態の部品装着システムの概略構成を示す平面図である。It is a top view showing a schematic structure of a component mounting system of this embodiment. 部品装着機及びローダの概略構成を示す斜視図である。It is a perspective view which shows schematic structure of a component mounting machine and a loader. 多重通信システムのブロック図である。1 is a block diagram of a multiplex communication system; FIG. 記憶装置に記憶されたコンフィグレーション情報を示す図である。FIG. 3 is a diagram showing configuration information stored in a storage device; FIG. 旧型のFPGAの起動時の処理手順を示すフローチャートである。10 is a flow chart showing a processing procedure when an old-type FPGA is started. FPGAの起動時の処理手順を示すフローチャートである。10 is a flow chart showing a processing procedure when starting up the FPGA; 機種情報の一例を示す図である。It is a figure which shows an example of model information. 新旧装置用基板のモード種を示す図である。It is a figure which shows the mode type of the board|substrate for new and old devices. 固定部基板を旧型とした場合の各組み合わせと、組み合わせた場合のモード及び通信速度を示す図である。FIG. 10 is a diagram showing each combination when the fixed part substrate is an old model, and the mode and communication speed when combined. 固定部基板を新型とした場合の各組み合わせと、組み合わせた場合のモード及び通信速度を示す図である。FIG. 10 is a diagram showing each combination when the fixed part board is a new model, and the modes and communication speeds when combined.

以下、本開示の一実施形態について図面を参照しながら説明する。図1は、本実施形態の部品装着システム10の概略構成を示す平面図である。図2は、部品装着機20及びローダ13の概略構成を示す斜視図である。なお、以下の説明では、図1の左右方向をX方向と称し、図1の上下方向を前後方向(Y方向)と称し、X方向及びY方向に垂直な方向をZ方向(上下方向)と称して説明する。 An embodiment of the present disclosure will be described below with reference to the drawings. FIG. 1 is a plan view showing a schematic configuration of a component mounting system 10 of this embodiment. FIG. 2 is a perspective view showing a schematic configuration of the component mounting machine 20 and the loader 13. As shown in FIG. In the following description, the left-right direction in FIG. 1 is called the X direction, the up-down direction in FIG. will be named and explained.

図1に示すように、部品装着システム10は、生産ライン11と、ローダ13と、ホストコンピュータ15とを備えている。生産ライン11は、X方向に並べられた複数の部品装着機20を有し、基板17に対する電子部品(図視略)の装着等を行う。基板17は、例えば、図1に示す左側の部品装着機20から右側の部品装着機20へと搬出され、搬送中に電子部品の装着等を実行される。 As shown in FIG. 1, the component mounting system 10 includes a production line 11, a loader 13, and a host computer 15. The production line 11 has a plurality of component mounters 20 arranged in the X direction, and mounts electronic components (not shown) on the substrate 17 . The board 17 is, for example, transported from the component mounting machine 20 on the left side shown in FIG.

図2に示すように、部品装着機20は、ベース21と、モジュール22とを備えている。ベース21は、Y方向に略直方体形状をなし、部品装着機20を設置する工場の床等に載置される。ベース21は、例えば、隣り合うモジュール22同士の基板搬送装置23の位置を合わせるように、上下方向の位置を調整される。ベース21は、隣の部品装着機20のベース21と互いに固定されている。モジュール22は、基板17に対する電子部品の装着等を行う装置であり、ベース21の上に載置されている。モジュール22は、ベース21に対して前後方向の前方側へ引き出し可能となっており、他のモジュール22と交換可能となっている。 As shown in FIG. 2, the component mounting machine 20 has a base 21 and a module 22 . The base 21 has a substantially rectangular parallelepiped shape in the Y direction and is placed on the floor of a factory where the component mounting machine 20 is installed. The vertical position of the base 21 is adjusted, for example, so that the positions of the board transfer devices 23 of the adjacent modules 22 are aligned. The base 21 and the base 21 of the adjacent component mounting machine 20 are fixed to each other. The module 22 is a device for mounting electronic components on the substrate 17 and is placed on the base 21 . The module 22 can be pulled forward in the front-rear direction with respect to the base 21 and can be replaced with another module 22 .

モジュール22は、基板搬送装置23と、フィーダ台24と、装着ヘッド25と、ヘッド移動機構27とを備える。基板搬送装置23は、モジュール22内に設けられ、基板17をX方向に搬送する。フィーダ台24は、モジュール22の前面に設けられ、側面視がL字状の台である。フィーダ台24は、X方向に複数配列されたスロット(図示略)を備える。フィーダ台24の各スロットには、電子部品を供給するフィーダ29が装着される。フィーダ29は、例えば、電子部品を所定のピッチで収容するテープから電子部品を供給するテープフィーダである。なお、図1に示すように、モジュール22の上部カバーの上には、部品装着機20に対する操作入力を行うタッチパネル26が設けられている。図2は、上部カバーやタッチパネル26を取り外した状態を示している。 The module 22 includes a substrate transfer device 23 , a feeder table 24 , a mounting head 25 and a head moving mechanism 27 . The substrate transfer device 23 is provided inside the module 22 and transfers the substrate 17 in the X direction. The feeder table 24 is provided on the front surface of the module 22 and is an L-shaped table when viewed from the side. The feeder table 24 has a plurality of slots (not shown) arranged in the X direction. A feeder 29 for supplying electronic components is attached to each slot of the feeder table 24 . The feeder 29 is, for example, a tape feeder that supplies electronic components from a tape containing electronic components at a predetermined pitch. Note that, as shown in FIG. 1, a touch panel 26 is provided on the upper cover of the module 22 for inputting operations to the component mounting machine 20 . FIG. 2 shows a state in which the upper cover and the touch panel 26 are removed.

装着ヘッド25は、フィーダ29から供給された電子部品を保持する保持部材(図示略)を有する。保持部材としては、例えば、負圧を供給されて電子部品を保持する吸着ノズルや、電子部品を把持して保持するチャックなどを採用できる。装着ヘッド25は、例えば、複数の保持部材の全体の位置や、個々の保持部材の位置を変更する駆動源として複数のサーボモータ75(図3参照)を有する。保持部材は、例えば、サーボモータ75の駆動に基づいて、Z方向に沿った軸を中心に回転する。装着ヘッド25は、保持部材で保持した電子部品を基板17に装着する。 The mounting head 25 has a holding member (not shown) that holds electronic components supplied from the feeder 29 . As the holding member, for example, a suction nozzle that receives negative pressure to hold the electronic component, a chuck that grips and holds the electronic component, or the like can be employed. The mounting head 25 has, for example, a plurality of servomotors 75 (see FIG. 3) as drive sources for changing the overall position of the plurality of holding members and the positions of individual holding members. The holding member rotates around an axis extending in the Z direction, for example, when driven by a servomotor 75 . The mounting head 25 mounts the electronic component held by the holding member on the board 17 .

また、ヘッド移動機構27は、モジュール22の上部部分において、X方向及びY方向の任意の位置に装着ヘッド25を移動させる。詳述すると、ヘッド移動機構27は、装着ヘッド25をX方向に移動させるX軸スライド機構27Aと、装着ヘッド25をY方向に移動させるY軸スライド機構27Bとを備える。X軸スライド機構27Aは、Y軸スライド機構27Bに取り付けられている。 Also, the head moving mechanism 27 moves the mounting head 25 to any position in the X direction and the Y direction in the upper portion of the module 22 . Specifically, the head moving mechanism 27 includes an X-axis slide mechanism 27A that moves the mounting head 25 in the X direction, and a Y-axis slide mechanism 27B that moves the mounting head 25 in the Y direction. The X-axis slide mechanism 27A is attached to the Y-axis slide mechanism 27B.

また、X軸スライド機構27Aは、例えば、産業用ネットワークに接続されるスレーブ61(図3参照)を備える。ここでいう産業用ネットワークとは、例えば、EtherCAT(登録商標)である。なお、本開示の産業用ネットワークとしては、EtherCAT(登録商標)に限らず、例えば、MECHATROLINK(登録商標)-IIIやProfinet(登録商標)等の他のネットワーク(通信規格)を採用できる。スレーブ61は、X軸スライド機構27Aに設けられたリレーやセンサなどの各種素子と接続され、装置本体部41(図3参照)から受信した制御データに基づいて、各種素子の入出力する信号を処理する。 The X-axis slide mechanism 27A also includes, for example, a slave 61 (see FIG. 3) connected to an industrial network. The industrial network here is, for example, EtherCAT (registered trademark). The industrial network of the present disclosure is not limited to EtherCAT (registered trademark), and other networks (communication standards) such as MECHATROLINK (registered trademark)-III and Profinet (registered trademark) can be employed. The slave 61 is connected to various elements such as relays and sensors provided in the X-axis slide mechanism 27A, and receives signals input/output from the various elements based on control data received from the apparatus main body 41 (see FIG. 3). process.

Y軸スライド機構27Bは、駆動源としてリニアモータ(図示略)を有している。X軸スライド機構27Aは、Y軸スライド機構27Bのリニアモータの駆動に基づいてY方向の任意の位置に移動する。また、X軸スライド機構27Aは、駆動源としてリニアモータ77(図3参照)を有している。装着ヘッド25は、X軸スライド機構27Aに取り付けられ、X軸スライド機構27Aのリニアモータ77の駆動に基づいてX方向の任意の位置に移動する。従って、装着ヘッド25は、X軸スライド機構27A及びY軸スライド機構27Bの駆動にともなってモジュール22内でX方向及びY方向の任意の位置に移動する。 The Y-axis slide mechanism 27B has a linear motor (not shown) as a drive source. The X-axis slide mechanism 27A moves to any position in the Y direction based on the drive of the linear motor of the Y-axis slide mechanism 27B. The X-axis slide mechanism 27A also has a linear motor 77 (see FIG. 3) as a drive source. The mounting head 25 is attached to the X-axis slide mechanism 27A and moves to any position in the X direction based on the drive of the linear motor 77 of the X-axis slide mechanism 27A. Accordingly, the mounting head 25 moves to any position in the X and Y directions within the module 22 as the X-axis slide mechanism 27A and the Y-axis slide mechanism 27B are driven.

また、装着ヘッド25は、X軸スライド機構27Aにコネクタを介して取り付けられ、ワンタッチで着脱可能であり、性能や機能の異なる装着ヘッド25に変更できる。従って、本実施形態の装着ヘッド25は、部品装着機20(作業機の一例)に対して着脱可能となっている。また、X軸スライド機構27Aには、基板17を撮影するためのマークカメラ69(図3参照)が下方を向いた状態で固定されている。マークカメラ69は、ヘッド移動機構27の移動に伴って、基板17の任意の位置を上方から撮像可能となっている。マークカメラ69が撮像した画像データは、後述する多重通信によってX軸スライド機構27Aから装置本体部41へ送信され、装置本体部41の画像処理基板87(図3参照)において画像処理される。画像処理基板87は、画像処理によって、基板17に関する情報(マークなど)、装着位置の誤差等を取得する。 Further, the mounting head 25 is attached to the X-axis slide mechanism 27A via a connector, and can be attached and detached with one touch, and can be changed to a mounting head 25 having different performance and functions. Therefore, the mounting head 25 of this embodiment can be attached to and detached from the component mounting machine 20 (an example of a work machine). A mark camera 69 (see FIG. 3) for photographing the substrate 17 is fixed to the X-axis slide mechanism 27A while facing downward. The mark camera 69 can take an image of an arbitrary position on the substrate 17 from above as the head moving mechanism 27 moves. The image data captured by the mark camera 69 is transmitted from the X-axis slide mechanism 27A to the device main body 41 by multiplex communication, which will be described later, and image-processed in the image processing board 87 (see FIG. 3) of the device main body 41. FIG. The image processing board 87 acquires information (marks, etc.) on the board 17, mounting position errors, etc. by image processing.

また、装着ヘッド25は、上記した産業用ネットワークに接続されるスレーブ62(図3参照)を備える。スレーブ62には、装着ヘッド25に設けられたリレーやセンサなどの各種素子が接続されている。スレーブ62は、装置本体部41(図3参照)から受信した制御データに基づいて、各種素子の入出力する信号を処理する。また、装着ヘッド25には、保持部材に保持された電子部品を撮像するパーツカメラ71が設けられている。パーツカメラ71が撮像した画像データは、多重通信によって装着ヘッド25から装置本体部41へ送信され、装置本体部41の画像処理基板87(図3参照)において画像処理される。画像処理基板87は、画像処理によって、保持部材における電子部品の保持位置の誤差等を取得する。 The mounting head 25 also includes a slave 62 (see FIG. 3) connected to the industrial network described above. Various elements such as relays and sensors provided in the mounting head 25 are connected to the slave 62 . The slave 62 processes signals input and output from various elements based on control data received from the device main body 41 (see FIG. 3). Also, the mounting head 25 is provided with a parts camera 71 that captures an image of the electronic component held by the holding member. Image data captured by the parts camera 71 is transmitted from the mounting head 25 to the device main body 41 by multiplex communication, and image-processed in the image processing board 87 (see FIG. 3) of the device main body 41 . The image processing board 87 acquires the error of the holding position of the electronic component in the holding member by image processing.

また、図2に示すように、ベース21の前面には、上部ガイドレール31と、下部ガイドレール33と、ラックギヤ35と、非接触給電コイル37とが設けられている。上部ガイドレール31は、X方向に延びる断面U字状のレールであり、開口部が下を向いている。下部ガイドレール33は、X方向に延びる断面L字状のレールであり、垂直面がベース21の前面に取り付けられ、水平面が前方に伸び出している。ラックギヤ35は、下部ガイドレール33の下部に設けられ、X方向に延び、前面に複数の縦溝が刻まれたギヤである。ベース21の上部ガイドレール31、下部ガイドレール33及びラックギヤ35は、隣接するベース21の上部ガイドレール31、下部ガイドレール33及びラックギヤ35と着脱可能に連結することができる。このため、部品装着システム10は、生産ライン11に並んだ部品装着機20の数を増減することができる。非接触給電コイル37は、上部ガイドレール31の上部に設けられ、X方向に沿って配置されたコイルであり、ローダ13への電力の供給を行う。 Further, as shown in FIG. 2 , an upper guide rail 31 , a lower guide rail 33 , a rack gear 35 and a non-contact feeding coil 37 are provided on the front surface of the base 21 . The upper guide rail 31 is a rail with a U-shaped cross section extending in the X direction, and the opening faces downward. The lower guide rail 33 is a rail extending in the X direction and having an L-shaped cross section, and has a vertical surface attached to the front surface of the base 21 and a horizontal surface extending forward. The rack gear 35 is provided at the lower portion of the lower guide rail 33, extends in the X direction, and has a front surface with a plurality of vertical grooves. The upper guide rail 31 , lower guide rail 33 and rack gear 35 of the base 21 can be detachably connected to the upper guide rail 31 , lower guide rail 33 and rack gear 35 of the adjacent base 21 . Therefore, the component mounting system 10 can increase or decrease the number of component mounting machines 20 arranged in the production line 11 . The contactless power feeding coil 37 is a coil provided on the upper portion of the upper guide rail 31 and arranged along the X direction, and supplies power to the loader 13 .

ローダ13は、部品装着機20に対するフィーダ29の補充及び回収を自動で行う装置であり、フィーダ29をクランプする把持部(図示略)を備える。ローダ13には、上部ガイドレール31に挿入される上部ローラ(図示略)と、下部ガイドレール33に挿入される下部ローラ(図示略)とが設けられている。また、ローダ13には、駆動源としてモータが設けられている。モータの出力軸には、ラックギヤ35と噛み合うギヤが取り付けられている。ローダ13は、部品装着機20の非接触給電コイル37から電力の供給を受ける受電コイルを備えている。ローダ13は、非接触給電コイル37から受電した電力をモータに供給する。これにより、ローダ13は、モータによってギヤを回転させることで、X方向(左右方向)へ移動することができる。また、ローダ13は、上部ガイドレール31及び下部ガイドレール33内でローラを回転させ、上下方向や前後方向の位置を保持しながらX方向へ移動することができる。 The loader 13 is a device that automatically replenishes and collects the feeder 29 for the component mounting machine 20 , and has a gripper (not shown) that clamps the feeder 29 . The loader 13 is provided with upper rollers (not shown) inserted into the upper guide rails 31 and lower rollers (not shown) inserted into the lower guide rails 33 . Moreover, the loader 13 is provided with a motor as a drive source. A gear meshing with the rack gear 35 is attached to the output shaft of the motor. The loader 13 includes a power receiving coil that receives power from the contactless power feeding coil 37 of the component mounter 20 . The loader 13 supplies the electric power received from the contactless power feeding coil 37 to the motor. Thus, the loader 13 can move in the X direction (horizontal direction) by rotating the gear with the motor. Moreover, the loader 13 can rotate the rollers in the upper guide rail 31 and the lower guide rail 33 and move in the X direction while maintaining the position in the vertical direction and the front-rear direction.

図1に示すホストコンピュータ15は、部品装着システム10を統括的に管理する装置である。例えば、生産ライン11の部品装着機20は、ホストコンピュータ15の管理に基づいて、電子部品の装着作業を開始する。部品装着機20は、基板17を搬送しながら装着ヘッド25によって電子部品の装着作業を行う。また、ホストコンピュータ15は、フィーダ29の残りの電子部品の数を監視する。ホストコンピュータ15は、例えば、フィーダ29の補給が必要であると判断すると、補給が必要な部品種を収容したフィーダ29をローダ13にセットする指示を画面に表示する。ユーザは、画面を確認して、フィーダ29をローダ13にセットする。ホストコンピュータ15は、所望のフィーダ29がローダ13にセットされたことを検出すると、ローダ13に対して補給作業の開始を指示する。ローダ13は、指示を受けた部品装着機20の前方まで移動し、ユーザによってセットされたフィーダ29を把持部で挟持してフィーダ台24のスロットに装着する。これにより、新たなフィーダ29が部品装着機20に補給される。また、ローダ13は、部品切れになったフィーダ29を把持部で挟持してフィーダ台24から引き出して回収する。このようにして、新たなフィーダ29の補給及び部品切れとなったフィーダ29の回収を、ローダ13によって自動的行うことができる。 The host computer 15 shown in FIG. 1 is a device for centrally managing the component mounting system 10 . For example, the component mounting machine 20 of the production line 11 starts the electronic component mounting operation based on the management of the host computer 15 . The component mounting machine 20 mounts electronic components using a mounting head 25 while conveying the board 17 . Host computer 15 also monitors the number of electronic components remaining in feeder 29 . For example, when the host computer 15 determines that the feeder 29 needs to be replenished, it displays on the screen an instruction to set the feeder 29 containing the part type requiring replenishment to the loader 13 . The user confirms the screen and sets the feeder 29 to the loader 13 . When the host computer 15 detects that the desired feeder 29 has been set in the loader 13, it instructs the loader 13 to start replenishment work. The loader 13 moves to the front of the component mounter 20 that has received the instruction, and mounts the feeder 29 set by the user in the slot of the feeder table 24 by gripping the feeder 29 with the grip portion. Thereby, a new feeder 29 is supplied to the component mounting machine 20 . In addition, the loader 13 holds the feeder 29 that has run out of components with the gripping portions, pulls it out from the feeder table 24, and collects it. In this way, the loader 13 can automatically supply a new feeder 29 and recover a feeder 29 that has run out of parts.

次に、部品装着機20が備える多重通信システムについて説明する。図3は、部品装着機20に適用される多重通信システムの構成を示すブロック図である。図2に示すように、部品装着機20は、装置本体部41と、固定部基板45をモジュール22内に備えている。装置本体部41及び固定部基板45は、基板搬送装置23の下方におけるモジュール22内に設けられている。図3に示すように、本実施形態の部品装着機20では、モジュール22内に固定された固定部基板45と、モジュール22内で移動する可動部(X軸スライド機構27A及び装着ヘッド25)との間のデータ伝送を、光ファイバケーブル81,82を介した光通信(多重通信)により行う。 Next, a multiplex communication system provided in the component mounting machine 20 will be described. FIG. 3 is a block diagram showing the configuration of a multiplex communication system applied to the component mounting machine 20. As shown in FIG. As shown in FIG. 2, the component mounting machine 20 includes an apparatus main body 41 and a fixing board 45 inside the module 22 . The device main body 41 and the fixed substrate 45 are provided inside the module 22 below the substrate transfer device 23 . As shown in FIG. 3, in the component mounting machine 20 of the present embodiment, a fixed part substrate 45 fixed inside the module 22 and a movable part (the X-axis slide mechanism 27A and the mounting head 25) that moves inside the module 22 are arranged. Data transmission between is performed by optical communication (multiplex communication) via optical fiber cables 81 and 82 .

装置本体部41は、サーボアンプ83、装置制御メイン基板85、及び画像処理基板87を有している。また、固定部基板45は、FPGA(Field Programmable Gate Array)91、記憶装置92、送信側光電変換器93A,94A、受信側光電変換器93B,94Bを有している。また、X軸スライド機構27Aは、X軸基板95、スレーブ61、マークカメラ69、リニアモータ77、リニアスケール78を有している。また、装着ヘッド25は、ヘッド基板97、スレーブ62、パーツカメラ71、サーボモータ75、エンコーダ76を有している。 The device main body 41 has a servo amplifier 83 , a device control main board 85 and an image processing board 87 . Further, the fixed part board 45 has an FPGA (Field Programmable Gate Array) 91, a storage device 92, transmission-side photoelectric converters 93A and 94A, and reception-side photoelectric converters 93B and 94B. The X-axis slide mechanism 27A also has an X-axis substrate 95, a slave 61, a mark camera 69, a linear motor 77, and a linear scale 78. The mounting head 25 also has a head substrate 97 , a slave 62 , a parts camera 71 , a servomotor 75 and an encoder 76 .

本実施形態の部品装着機20では、装着ヘッド25やX軸スライド機構27Aが有する装置の各種データを多重の光通信により送受信する。ここでいう各種データとは、例えば、X軸スライド機構27Aが有するリニアスケール78のリニアスケール信号、装着ヘッド25が有するエンコーダ76のエンコーダ信号である。また、各種データとは、例えば、マークカメラ69やパーツカメラ71の画像データである。また、各種データとは、X軸スライド機構27Aのスレーブ61や装着ヘッド25のスレーブ62の制御データである。なお、多重化するデータについては、これらのデータに限らず、部品装着機20で送受信される様々なデータを採用できる。 In the component mounting machine 20 of the present embodiment, various data of devices possessed by the mounting head 25 and the X-axis slide mechanism 27A are transmitted and received by multiplex optical communication. The various data referred to here are, for example, linear scale signals of the linear scale 78 of the X-axis slide mechanism 27A and encoder signals of the encoder 76 of the mounting head 25 . Various data are image data of the mark camera 69 and the parts camera 71, for example. The various data are control data for the slave 61 of the X-axis slide mechanism 27A and the slave 62 of the mounting head 25. FIG. The data to be multiplexed is not limited to these data, and various data transmitted and received by the component mounting machine 20 can be used.

固定部基板45のFPGA91は、装置本体部41のサーボアンプ83、装置制御メイン基板85、画像処理基板87から入力したデータを多重化する。FPGA91は、例えば、起動時において、記憶装置92からコンフィグレーション情報を読み込んで多重化処理を行う論理回路を構築する。FPGA91は、例えば、時分割多重化方式(TDM:Time Division Multiplexing)により、入力したデータの多重化を行う。FPGA91は、例えば、サーボアンプ83等から入力した各種データを、入力ポートに対して割り当てた一定時間(タイムスロット)に応じて多重化し、多重化した多重化データを送信側光電変換器93A,94Aを介して、X軸スライド機構27Aや装着ヘッド25へ送信する。 The FPGA 91 of the fixed part board 45 multiplexes the data input from the servo amplifier 83 of the device body part 41, the device control main board 85, and the image processing board 87. FIG. The FPGA 91 constructs a logic circuit that reads configuration information from the storage device 92 and performs multiplexing processing, for example, at startup. The FPGA 91 multiplexes input data by, for example, time division multiplexing (TDM). The FPGA 91, for example, multiplexes various data input from the servo amplifier 83 or the like according to a certain time (time slot) assigned to the input port, and transmits the multiplexed data to the transmission side photoelectric converters 93A and 94A. to the X-axis slide mechanism 27A and the mounting head 25 via.

図4に示すように、記憶装置92には、コンフィグレーション情報として、セーフモードプログラムSPと、第1ユーザモードプログラムUP1と、及び第2ユーザモードプログラムUP2が記憶されている。後述するように、X軸スライド機構27Aの記憶装置105と、装着ヘッド25の記憶装置115にも同様に、セーフモードプログラムSP、第1ユーザモードプログラムUP1、及び第2ユーザモードプログラムUP2が記憶されている。このため、以下の説明では、各装置のコンフィグレーション情報を区別して説明する場合は、図3に示すように、セーフモードプログラムSPa(固定部基板45)、SPb(X軸スライド機構27A)、SPc(装着ヘッド25)と、小文字のアルファベットを付して区別して説明する。また、各コンフィグレーション情報を総称する場合は、セーフモードプログラムSPと、最後の小文字のアルファベットを省略して記載する。 As shown in FIG. 4, the storage device 92 stores a safe mode program SP, a first user mode program UP1, and a second user mode program UP2 as configuration information. As will be described later, the storage device 105 of the X-axis slide mechanism 27A and the storage device 115 of the mounting head 25 similarly store the safe mode program SP, the first user mode program UP1, and the second user mode program UP2. there is For this reason, in the following explanation, when the configuration information of each device is distinguished and explained, as shown in FIG. The mounting head 25) will be distinguished from each other by attaching lower-case letters. Also, when referring to each configuration information generically, the safe mode program SP and the last lowercase alphabet are omitted.

FPGA91は、記憶装置92からセーフモードプログラムSPaを読み込んで、論理回路を構築するセーフモードと、第1ユーザモードプログラムUP1a又は第2ユーザモードプログラムUP2aを読み込んで論理回路を構築するユーザモードとを備えている。FPGA91は、例えば、部品装着機20の電源を投入され起動した後の初期段階ではセーフモードに移行する。次に、FPGA91は、セーフモードからユーザモードへと移行し、ユーザモードにおいて各装置(サーボアンプ83など)から入力したデータの多重化や、X軸スライド機構27A等から受信した多重化データの分離等を実行する。また、本実施形態のFPGA91は、セーフモードにおいて、対向する通信先の装置(例えば、X軸スライド機構27AのX軸基板95)から機種情報を受信し、受信した機種情報に基づいて第1ユーザモードプログラムUP1a又は第2ユーザモードプログラムUP2aの実行を選択する。尚、機種情報の受信等の処理の詳細については、後述する。 The FPGA 91 has a safe mode in which the safe mode program SPa is read from the storage device 92 and constructs a logic circuit, and a user mode in which a logic circuit is constructed by reading the first user mode program UP1a or the second user mode program UP2a. . For example, the FPGA 91 transitions to the safe mode in the initial stage after the component mounting machine 20 is powered on and activated. Next, the FPGA 91 shifts from the safe mode to the user mode, multiplexes data input from each device (servo amplifier 83, etc.) in the user mode, separates multiplexed data received from the X-axis slide mechanism 27A, etc. to run. In addition, in the safe mode, the FPGA 91 of the present embodiment receives model information from an opposing communication destination device (for example, the X-axis board 95 of the X-axis slide mechanism 27A), and based on the received model information, performs the first user mode. Execution of the program UP1a or the second user mode program UP2a is selected. Details of processing such as reception of model information will be described later.

また、X軸スライド機構27AのX軸基板95は、送信側光電変換器101A、受信側光電変換器101B、FPGA103、記憶装置105を有している。図3に示すように、X軸スライド機構27AのX軸基板95及び装着ヘッド25のヘッド基板97は、固定部基板45と同様の構成となっている。このため、X軸基板95及びヘッド基板97の説明において、固定部基板45と同様の構成については、その説明を適宜省略する。固定部基板45の送信側光電変換器93A及び受信側光電変換器93Bは、光ファイバケーブル81を介してX軸スライド機構27Aの送信側光電変換器101A及び受信側光電変換器101Bに接続されている。FPGA103は、マークカメラ69の画像データ、リニアスケール78のリニアスケール信号、スレーブ61の制御データなどを多重化する。X軸基板95の記憶装置105には、上記した固定部基板45の記憶装置92と同様に、セーフモードプログラムSPb、第1ユーザモードプログラムUP1b、及び第2ユーザモードプログラムUP2bが記憶されている。FPGA103は、記憶装置92に記憶されたコンフィグレーション情報に基づいて論理回路を構築する。 Also, the X-axis substrate 95 of the X-axis slide mechanism 27A has a transmission-side photoelectric converter 101A, a reception-side photoelectric converter 101B, an FPGA 103, and a storage device 105. FIG. As shown in FIG. 3, the X-axis substrate 95 of the X-axis slide mechanism 27A and the head substrate 97 of the mounting head 25 have the same configuration as the fixing portion substrate 45. As shown in FIG. Therefore, in the description of the X-axis substrate 95 and the head substrate 97, the description of the same configuration as that of the fixed portion substrate 45 will be omitted as appropriate. The transmission-side photoelectric converter 93A and the reception-side photoelectric converter 93B of the fixed part substrate 45 are connected to the transmission-side photoelectric converter 101A and the reception-side photoelectric converter 101B of the X-axis slide mechanism 27A via an optical fiber cable 81. there is The FPGA 103 multiplexes image data from the mark camera 69, linear scale signals from the linear scale 78, control data from the slave 61, and the like. The storage device 105 of the X-axis board 95 stores a safe mode program SPb, a first user mode program UP1b, and a second user mode program UP2b, like the storage device 92 of the fixed part board 45 described above. FPGA 103 constructs a logic circuit based on the configuration information stored in storage device 92 .

同様に、装着ヘッド25のヘッド基板97は、送信側光電変換器111A、受信側光電変換器111B、FPGA113、記憶装置115を有している。固定部基板45の送信側光電変換器94A及び受信側光電変換器94Bは、光ファイバケーブル82を介して装着ヘッド25の送信側光電変換器111A及び受信側光電変換器111Bに接続されている。FPGA113は、装着ヘッド25のパーツカメラ71の画像データ、エンコーダ76のエンコーダ信号、スレーブ62の制御データなどを多重化する。装着ヘッド25の記憶装置115には、上記した固定部基板45の記憶装置92と同様に、セーフモードプログラムSPc、第1ユーザモードプログラムUP1c、及び第2ユーザモードプログラムUP2cが記憶されている。FPGA113は、記憶装置115に記憶されたコンフィグレーション情報に基づいて論理回路を構築する。 Similarly, the head substrate 97 of the mounting head 25 has a transmission-side photoelectric converter 111A, a reception-side photoelectric converter 111B, an FPGA 113, and a storage device 115. FIG. The transmitting side photoelectric converter 94A and the receiving side photoelectric converter 94B of the fixed part board 45 are connected to the transmitting side photoelectric converter 111A and the receiving side photoelectric converter 111B of the mounting head 25 via the optical fiber cable 82 . The FPGA 113 multiplexes image data from the parts camera 71 of the mounting head 25, encoder signals from the encoder 76, control data from the slave 62, and the like. The storage device 115 of the mounting head 25 stores a safe mode program SPc, a first user mode program UP1c, and a second user mode program UP2c, similarly to the storage device 92 of the fixed part substrate 45 described above. FPGA 113 constructs a logic circuit based on the configuration information stored in storage device 115 .

尚、FPGA91,103,113は、本開示の処理部の一例である。本開示の処理部は、FPGAに限らず、例えば、プログラマブルロジックデバイス(PLD)、複合プログラマブルロジックデバイス(CPLD)といった他のプログラマブル論理デバイスでも良い。また、処理部は、プログラマブル論理デバイスに限らず、例えば、通信データの処理に特化した特定用途向け集積回路(ASIC)でも良い。また、処理部は、CPUでプログラムを実行しソフトウェア処理により多重化処理等を実行しても良い。また、処理部は、プログラマブル論理デバイス、ASIC、ソフトウェア処理を組み合わせた構成でもよい。 Note that the FPGAs 91, 103, and 113 are examples of processing units of the present disclosure. The processing units of the present disclosure are not limited to FPGAs, and may be other programmable logic devices such as programmable logic devices (PLDs) and composite programmable logic devices (CPLDs). Moreover, the processing unit is not limited to a programmable logic device, and may be, for example, an application specific integrated circuit (ASIC) specialized for processing communication data. Further, the processing unit may execute the multiplexing process or the like by executing a program on the CPU and performing software processing. Also, the processing unit may have a configuration in which a programmable logic device, an ASIC, and software processing are combined.

また、記憶装置92,105,115は、例えば、EEPROMなどの不揮発性メモリである。尚、記憶装置92,105,115は、不揮発性メモリに限らず、SRAMなどの揮発性メモリでもよい。また、本開示における記憶装置は、メモリに限らず、ハードディスクなどの他の記憶装置、あるいは、RAM、ROM、ハードディスクを組み合わせたものでも良い。 Storage devices 92, 105, and 115 are non-volatile memories such as EEPROMs, for example. Note that the storage devices 92, 105, and 115 are not limited to non-volatile memories, and may be volatile memories such as SRAMs. Further, the storage device in the present disclosure is not limited to memory, and may be other storage device such as hard disk, or a combination of RAM, ROM, and hard disk.

光ファイバケーブル81,82は、例えば、ケーブル内の光ファイバ線の配置や太さを調整して、耐屈曲性を高めたものである。これにより、装着ヘッド25やX軸スライド機構27Aの移動にともなって光ファイバケーブル81,82が屈曲した場合であっても、光ファイバ線を損傷させることなく、安定してデータを伝送できる。なお、固定部基板45、装着ヘッド25、X軸スライド機構27Aを接続する通信は、光ファイバケーブル81,82を用いた光通信に限らず、例えば、Gigabit Etherenet(登録商標)の通信規格に準拠したLANケーブルを用いた通信でも良い。また、固定部基板45、装着ヘッド25等を接続する通信は、有線通信に限らず、レーザ等を用いた光無線通信でも良い。 The optical fiber cables 81 and 82 have enhanced flexibility by adjusting the arrangement and thickness of the optical fiber lines in the cables, for example. As a result, even when the optical fiber cables 81 and 82 are bent due to the movement of the mounting head 25 and the X-axis slide mechanism 27A, data can be transmitted stably without damaging the optical fiber lines. Note that the communication connecting the fixed part board 45, the mounting head 25, and the X-axis slide mechanism 27A is not limited to optical communication using the optical fiber cables 81 and 82, and conforms to the Gigabit Ethernet (registered trademark) communication standard, for example. Communication using a LAN cable may also be used. Further, the communication for connecting the fixed part substrate 45, the mounting head 25 and the like is not limited to wired communication, and may be optical wireless communication using a laser or the like.

固定部基板45の送信側光電変換器93Aは、FPGA91によって多重化された多重化データを光信号に変換し、光ファイバケーブル81を介してX軸基板95の受信側光電変換器101Bへ送信する。受信側光電変換器101Bは、送信側光電変換器93Aから受信した光信号を電気信号の光電流に変換してFPGA103へ出力する。本実施形態のFPGA103は、AD変換回路等を有し、アナログの光電流をデジタル信号に変換して処理する。 The transmission-side photoelectric converter 93A of the fixed part board 45 converts the multiplexed data multiplexed by the FPGA 91 into an optical signal, and transmits the optical signal to the reception-side photoelectric converter 101B of the X-axis board 95 via the optical fiber cable 81. . The reception-side photoelectric converter 101B converts the optical signal received from the transmission-side photoelectric converter 93A into a photocurrent of an electric signal, and outputs the electric signal to the FPGA 103 . The FPGA 103 of this embodiment has an AD conversion circuit and the like, and converts analog photocurrent into a digital signal for processing.

また、FPGA103は、変換したデジタル信号、即ち、多重化データの非多重化を実行し、多重化データに多重化されたデータを分離する。FPGA103は、分離した各種のデータを、対応する装置へ出力する。これにより、固定部基板45とX軸スライド機構27Aとの間において、各種のデータを多重化した多重通信(光通信)が実行される。同様に、FPGA103は、マークカメラ69の画像データ等を多重化して送信側光電変換器101Aを介して固定部基板45の受信側光電変換器93Bへ送信する。FPGA91は、多重化データの非多重化を行い、分離した各種データを、装置本体部41の画像処理基板87などへ出力する。 The FPGA 103 also performs demultiplexing of the converted digital signal, ie, multiplexed data, and separates the data multiplexed into the multiplexed data. The FPGA 103 outputs various separated data to corresponding devices. As a result, multiplex communication (optical communication) in which various data are multiplexed is performed between the fixed part substrate 45 and the X-axis slide mechanism 27A. Similarly, the FPGA 103 multiplexes the image data of the mark camera 69 and the like, and transmits the multiplexed data to the reception side photoelectric converter 93B of the fixed part substrate 45 via the transmission side photoelectric converter 101A. The FPGA 91 demultiplexes the multiplexed data and outputs the separated various data to the image processing board 87 of the apparatus main body 41 or the like.

また、固定部基板45は、X軸スライド機構27Aと同様に、装着ヘッド25との間でも多重の光通信を行う。固定部基板45の送信側光電変換器94A及び受信側光電変換器94Bは、光ファイバケーブル82を介してヘッド基板97の送信側光電変換器111A及び受信側光電変換器111Bと接続されている。固定部基板45のFPGA91は、光ファイバケーブル82を介して、ヘッド基板97のFPGA113と多重通信を行う。光ファイバケーブル81,82の多重通信回線は、例えば、5Gbpsや10Gbpsの全2重通信である。 Further, the fixed part substrate 45 performs multiplex optical communication with the mounting head 25 in the same manner as the X-axis slide mechanism 27A. The transmitting side photoelectric converter 94A and the receiving side photoelectric converter 94B of the fixed part board 45 are connected to the transmitting side photoelectric converter 111A and the receiving side photoelectric converter 111B of the head board 97 via the optical fiber cable 82 . The FPGA 91 of the fixed part board 45 performs multiplex communication with the FPGA 113 of the head board 97 via the optical fiber cable 82 . The multiplex communication lines of the optical fiber cables 81 and 82 are, for example, 5 Gbps or 10 Gbps full-duplex communication.

本実施形態の装置本体部41は、上記した多重の光通信により、X軸スライド機構27Aと装着ヘッド25に対する制御を実行する。装置本体部41のサーボアンプ83は、X軸スライド機構27Aのリニアスケール78に対する初期化処理、リニアスケール信号の取得処理などを実行する。リニアスケール78は、X軸スライド機構27Aのスライド位置を示すリニアスケール信号を、多重通信を介してサーボアンプ83へ送信する。サーボアンプ83は、X軸スライド機構27Aのリニアモータ77と電源線(図示略)を介して接続されており、リニアスケール78のリニアスケール信号に基づいてリニアモータ77へ供給する電力を変更することで、リニアモータ77に対するフィードバック制御を実行する。装置制御メイン基板85は、ホストコンピュータ15から受信した生産プログラムなどに基づいてサーボアンプ83を制御する。これにより、X軸スライド機構27Aは、生産プログラムに基づいたX方向の位置へ移動する。 The device main body 41 of this embodiment controls the X-axis slide mechanism 27A and the mounting head 25 by the multiple optical communication described above. The servo amplifier 83 of the apparatus main body 41 executes initialization processing for the linear scale 78 of the X-axis slide mechanism 27A, linear scale signal acquisition processing, and the like. The linear scale 78 transmits a linear scale signal indicating the slide position of the X-axis slide mechanism 27A to the servo amplifier 83 via multiplex communication. The servo amplifier 83 is connected to the linear motor 77 of the X-axis slide mechanism 27A via a power line (not shown), and changes the power supplied to the linear motor 77 based on the linear scale signal of the linear scale 78. , the feedback control for the linear motor 77 is executed. The device control main board 85 controls the servo amplifier 83 based on the production program and the like received from the host computer 15 . As a result, the X-axis slide mechanism 27A moves to the X-direction position based on the production program.

同様に、サーボアンプ83は、装着ヘッド25のエンコーダ76に対する初期化処理、エンコーダ信号の取得処理などを実行する。エンコーダ76は、サーボモータ75の回転位置などを示すエンコーダ信号を、多重通信を介してサーボアンプ83へ送信する。このサーボモータ75は、上記したように、装着ヘッド25が有する保持部材を駆動する駆動源等として機能する。サーボアンプ83は、装着ヘッド25のサーボモータ75と電源線(図示略)を介して接続されており、エンコーダ76のエンコーダ信号に基づいて、サーボモータ75に対するフィードバック制御を実行する。これにより、装着ヘッド25は、生産プログラムに基づいて、保持部材を回転や上下動させる。 Similarly, the servo amplifier 83 performs initialization processing for the encoder 76 of the mounting head 25, acquisition processing of encoder signals, and the like. The encoder 76 transmits an encoder signal indicating the rotational position of the servo motor 75 to the servo amplifier 83 via multiplex communication. The servomotor 75 functions as a drive source or the like for driving the holding member of the mounting head 25, as described above. The servo amplifier 83 is connected to the servo motor 75 of the mounting head 25 via a power line (not shown), and performs feedback control of the servo motor 75 based on the encoder signal of the encoder 76 . Thereby, the mounting head 25 rotates and moves the holding member up and down based on the production program.

また、装置本体部41の装置制御メイン基板85は、上記した産業用ネットワークを介してX軸スライド機構27Aや装着ヘッド25が備えるリレーやセンサ等を制御可能となっている。装置制御メイン基板85は、産業用ネットワークにおけるマスターとして機能し、多重通信を介してX軸スライド機構27Aのスレーブ61や装着ヘッド25のスレーブ62へ制御データを送信する。スレーブ61,62は、装置制御メイン基板85から受信した制御データに基づいて、リレーやセンサを駆動する。また、スレーブ61,62は、リレーやセンサから取得した信号の値を制御データに書き込んで、多重通信を介して装置制御メイン基板85へ送信する。これにより、装置制御メイン基板85は、各装置のリレー等を制御することができる。 Further, the device control main board 85 of the device main body 41 can control the X-axis slide mechanism 27A and the relays, sensors, etc. provided in the mounting head 25 via the industrial network described above. The device control main board 85 functions as a master in the industrial network, and transmits control data to the slave 61 of the X-axis slide mechanism 27A and the slave 62 of the mounting head 25 via multiplex communication. The slaves 61 and 62 drive relays and sensors based on control data received from the device control main board 85 . Further, the slaves 61 and 62 write the values of signals obtained from relays and sensors in control data, and transmit the data to the device control main substrate 85 via multiplex communication. As a result, the device control main board 85 can control the relays and the like of each device.

尚、図3に示す多重通信システムの構成は、一例であり適宜変更可能である。例えば、Y軸スライド機構27B(図2参照)のリニアモータ(図示略)に取り付けたリニアスケール信号を、多重通信により伝送しても良い。また、Y軸スライド機構27Bのリレー等の信号を、多重通信により伝送しても良い。また、ホストコンピュータ15とローダ13との間で送受信するデータを多重通信により伝送しても良い。また、固定部基板45は、装置制御メイン基板85によって制御されるスレーブを備えても良い。また、スレーブ61は、FPGA103の回路ブロック(IPコアなど)、即ち、FPGA103の一部でも良い。また、部品装着機20は、産業用ネットワークに関わる機器(装置制御メイン基板85のマスターとして機能する回路、スレーブ61,62など)を備えなくとも良い。 Note that the configuration of the multiplex communication system shown in FIG. 3 is an example and can be changed as appropriate. For example, a linear scale signal attached to a linear motor (not shown) of the Y-axis slide mechanism 27B (see FIG. 2) may be transmitted by multiplex communication. Also, the signals of the relays of the Y-axis slide mechanism 27B may be transmitted by multiplex communication. Also, the data transmitted and received between the host computer 15 and the loader 13 may be transmitted by multiplex communication. Also, the fixed part board 45 may include slaves controlled by the device control main board 85 . Also, the slave 61 may be a circuit block (IP core, etc.) of the FPGA 103 , that is, a part of the FPGA 103 . Further, the component mounting machine 20 does not have to be equipped with equipment related to the industrial network (a circuit functioning as a master of the device control main board 85, the slaves 61 and 62, etc.).

上記した構成により、装置制御メイン基板85は、ホストコンピュータ15から受信した生産プログラムに基づいて部品装着機20を制御する。装置制御メイン基板85は、例えば、CPUを主体として構成される処理回路であり、生産プログラムに基づいた処理を実行する。装置制御メイン基板85は、産業用ネットワークによって収集したデータ、リニアスケール78のリニアスケール信号、エンコーダ76のエンコーダ信号等を、多重通信を介して受信する。また、装置制御メイン基板85は、マークカメラ69やパーツカメラ71で撮像した画像データを画像処理基板87で処理した結果(保持位置の誤差など)を入力する。装置制御メイン基板85は、これらのデータ等に基づいて、次の制御内容(装着する電子部品の種類や装着位置など)を決定する。装置制御メイン基板85は、決定した制御内容に応じて各種装置を制御する。 With the configuration described above, the device control main board 85 controls the component mounting machine 20 based on the production program received from the host computer 15 . The device control main board 85 is, for example, a processing circuit mainly composed of a CPU, and executes processing based on a production program. The device control main board 85 receives the data collected by the industrial network, the linear scale signal of the linear scale 78, the encoder signal of the encoder 76, etc. via multiplex communication. Further, the device control main board 85 inputs the result (error of holding position, etc.) of processing the image data captured by the mark camera 69 or the parts camera 71 by the image processing board 87 . The device control main board 85 determines the next control contents (the type of electronic component to be mounted, the mounting position, etc.) based on these data. The device control main board 85 controls various devices according to the determined control contents.

(起動時の処理)
次に、FPGA91,103,113の起動時の処理内容について説明する。ここで、本実施形態の部品装着機20は、固定部基板45、X軸基板95、及びヘッド基板97のそれぞれに多重化を行うFPGA91,103,113を備えている。このような多重通信を行う装置では、通信の高速化、送受信するデータ量の増加などの様々な理由から通信速度がより速い装置が開発される。
(Processing at startup)
Next, the contents of processing when the FPGAs 91, 103, and 113 are activated will be described. Here, the component mounting machine 20 of this embodiment includes FPGAs 91, 103, and 113 for multiplexing on the fixed part board 45, the X-axis board 95, and the head board 97, respectively. For such multiplex communication devices, devices with faster communication speeds are being developed for various reasons, such as speeding up communication and increasing the amount of data to be transmitted and received.

例えば、図8に示すように、一つの製造現場に、新旧の基板(FPGA)が混在した場合を想定する。図8に示す例では、旧型(低速:low)と新型(高速:high)の2種類の基板が存在する場合を想定している。図8に示すように、例えば、新型の固定部基板45、X軸基板95、及びヘッド基板97(以下、新型の基板という場合がある)は、本実施形態の部品装着機20が備える各基板に相当する。図8のNO4~6に示すように、新型の基板は、セーフモード(図8の起動モード1)において、5Gbpsの多重通信が可能となっている。また、新型の基板は、第1ユーザモード(図8の起動モード2a)において、5Gbpsの多重通信が可能となっている。また、新型の基板は、第2ユーザモード(図8の起動モード2b)において、第1ユーザモードに比べて高速な10Gbpsの多重通信が可能となっている。 For example, as shown in FIG. 8, it is assumed that old and new boards (FPGA) are mixed in one manufacturing site. In the example shown in FIG. 8, it is assumed that there are two types of boards, an old type (low speed: low) and a new type (high speed: high). As shown in FIG. 8, for example, the new type fixed part board 45, the X-axis board 95, and the head board 97 (hereinafter sometimes referred to as the new type board) are the respective boards provided in the component mounting machine 20 of the present embodiment. corresponds to As shown by NOs 4 to 6 in FIG. 8, the new board is capable of multiplex communication at 5 Gbps in the safe mode (startup mode 1 in FIG. 8). Also, the new board is capable of multiplex communication at 5 Gbps in the first user mode (activation mode 2a in FIG. 8). In addition, the new board is capable of high-speed multiplex communication at 10 Gbps in the second user mode (startup mode 2b in FIG. 8) compared to the first user mode.

一方で、図8のNO1~3に示すように、例えば、旧型の固定部基板45、X軸基板95、及びヘッド基板97(以下、旧型の基板という場合がある)は、セーフモード(図8の起動モード1)において、5Gbpsの多重通信が可能となっている。また、旧型の基板は、例えば、1つのユーザモード(以下、旧ユーザモードという場合がある)しか備えておらず、旧ユーザモードにおいて、5Gbspの多重通信が可能となっている。旧ユーザモードは、第1ユーザモードに相当するモードである。例えば、旧型の基板の記憶装置(記憶装置92に想到する装置)には、セーフモードプログラムSP及び第1ユーザモードプログラムUP1に相当するコンフィグレーション情報のみが記憶され、第2ユーザモードプログラムUP2が記憶されていない。旧型の基板は、起動時にセーフモードプログラムSPを実行してセーフモードに移行した後、第1ユーザモードプログラムUP1でリコンフィグを実行して旧ユーザモードに移行する。換言すれば、本実施形態の新型の基板は、旧型の基板でサポートされている旧ユーザモード(第1ユーザモード)に加え、より高速な第2ユーザモードを備えている。従って、図8のNO1~3の起動モード2aに示すように、旧型の基板は、第2ユーザモードに想到するモードを備えていない。 On the other hand, as shown in NOs. 1 to 3 in FIG. 8, for example, the old type fixed part board 45, the X axis board 95, and the head board 97 (hereinafter sometimes referred to as the old type board) are in safe mode ( In activation mode 1), 5 Gbps multiplex communication is possible. Further, the old-type board has, for example, only one user mode (hereinafter sometimes referred to as old user mode), and in the old user mode, 5 Gbps multiplex communication is possible. The old user mode is a mode corresponding to the first user mode. For example, the storage device of the old board (the device corresponding to the storage device 92) stores only configuration information corresponding to the safe mode program SP and the first user mode program UP1, and stores the second user mode program UP2. not The old-type board executes the safe mode program SP at startup to shift to the safe mode, and then executes reconfiguration with the first user mode program UP1 to shift to the old user mode. In other words, the new board of the present embodiment has a faster second user mode in addition to the old user mode (first user mode) supported by the old board. Therefore, as shown in start-up mode 2a of Nos. 1 to 3 in FIG. 8, the old board does not have a mode leading to the second user mode.

例えば、ユーザは、装着ヘッド25のような、部品装着機20に対して着脱可能な装置がある場合、通信速度の遅い旧型の装着ヘッド25や通信速度の早い新型の装着ヘッド25を、旧型の部品装着機20と新型の部品装着機20との両方で使用したい場合がある。新旧の装着ヘッド25を、新旧の部品装着機20で使用することで、互いの通信先の装置(例えば、装着ヘッド25に対する固定部基板45)が、旧型の基板となる、あるいは新型の基板となる。そこで、本実施形態のFPGA91,103,113は、起動時のセーフモードにおいて、通信先の装置の新旧を機種情報で判定して、第1ユーザモード(低速モード)又は第2ユーザモード(高速モード)の切り替えを実行する。 For example, if there is a device such as the mounting head 25 that can be attached to and detached from the component mounting machine 20, the user can replace the old type mounting head 25 with a slow communication speed or the new type mounting head 25 with a fast communication speed with the old type. There are cases where it is desired to use both the component mounting machine 20 and the new component mounting machine 20 . By using the old and new mounting heads 25 with the old and new component mounting machines 20, the communication destination device (for example, the fixed part board 45 for the mounting head 25) becomes the old type board or the new type board. Become. Therefore, the FPGAs 91, 103, and 113 of the present embodiment determine whether the communication destination device is new or old based on the model information in the safe mode at startup, and select the first user mode (low speed mode) or the second user mode (high speed mode). switch.

尚、部品装着機20は、装着ヘッド25の他に、X軸基板95、固定部基板45、あるいはそれらを備える装置(X軸スライド機構27A、モジュール22)が着脱可能(交換可能)な構成でも良い。即ち、ヘッド基板97の他に、X軸基板95や固定部基板45の新旧が入れ替わる構成でも良い。また、部品装着機20は、固定部基板45、X軸基板95、ヘッド基板97を、他の部品装着機20の固定部基板45、X軸基板95、ヘッド基板97と接続可能な構成でも良い。即ち、新型の部品装着機20と旧型の部品装着機20を接続することで、通信先の基板の新旧が入れ替わる構成でも良い。また、部品装着機20は、モジュール22(固定部基板45)、X軸基板95(X軸スライド機構27A)、及び装着ヘッド25(ヘッド基板97)のうち、少なくとも一つの装置だけが着脱可能な構成でも良く、全ての装置が着脱できない構成でも良い。全ての装置がユーザレベルで着脱できない構成であっても、部品装着機20の製造時や修理時に新旧の装置を組み付ける場合がある。後述するユーザモードの切り替えが実行できれば、組み立ての際に新旧を気にせずに組み立てることができる。即ち、組み立て作業が容易となる。また、FPGA91,103,113は、3以上のユーザモードを備えても良い。例えば、FPGA91,103,113は、通信の高速化に合わせて、低速(5Gbps)、中速(10Gbps)、高速(20Gbps)の3つのモードを備えても良い。 In addition to the mounting head 25, the component mounting machine 20 may have a configuration in which the X-axis substrate 95, the fixing portion substrate 45, or the devices (X-axis slide mechanism 27A, module 22) having them are detachable (exchangeable). good. That is, in addition to the head substrate 97, the X-axis substrate 95 and the fixed portion substrate 45 may be replaced with new and old. Further, the component mounting machine 20 may have a configuration in which the fixing part board 45, the X-axis board 95, and the head board 97 can be connected to the fixing part board 45, the X-axis board 95, and the head board 97 of another component mounting machine 20. . That is, by connecting the new type component mounting machine 20 and the old type component mounting machine 20, the new and old boards of communication destinations may be interchanged. Further, in the component mounting machine 20, at least one device among the module 22 (fixing part board 45), the X-axis board 95 (X-axis slide mechanism 27A), and the mounting head 25 (head board 97) is detachable. A configuration may be used, and a configuration in which not all the devices are detachable may be used. Even if all devices cannot be attached or detached at the user level, old and new devices may be assembled when the component mounting machine 20 is manufactured or repaired. If it is possible to switch the user mode, which will be described later, it is possible to assemble without worrying about whether the device is new or old. That is, assembly work becomes easier. Also, the FPGAs 91, 103, 113 may have three or more user modes. For example, the FPGAs 91, 103, and 113 may have three modes of low speed (5 Gbps), medium speed (10 Gbps), and high speed (20 Gbps) in accordance with speeding up of communication.

図5は、旧型の基板のFPGA91,103,113、即ち、5Gbpsの低速なユーザモードのみを備えるFPGA91,103,113が起動時に実行する処理の内容を示している。旧型のFPGA91,103,113の起動時の処理内容は、同様の処理となっている。このため、以下の説明では、一例として固定部基板45のFPGA91について主に説明し、他のFPGA103,113についての説明を省略する。 FIG. 5 shows the details of processing executed by the FPGAs 91, 103, and 113 of the old board, that is, the FPGAs 91, 103, and 113 provided only with a low-speed user mode of 5 Gbps when started. The contents of the processing when the old-type FPGAs 91, 103, and 113 are activated are the same processing. Therefore, in the following description, the FPGA 91 of the fixed part substrate 45 will be mainly described as an example, and the description of the other FPGAs 103 and 113 will be omitted.

まず、図5のS11において、旧型のFPGA91は、例えば、部品装着機20の電源が投入され、固定部基板45に電力を供給されると、記憶装置92からセーフモードプログラムSPaを読み込んで実行し、論理回路を構築してセーフモードを起動する。FPGA91は、セーフモードプログラムSPaに基づいて、多重処理の論理回路等を構築する。FPGA91は、通信先の装置との間で、5Gbpsの多重通信を実行する。 First, in S11 of FIG. 5, for example, when the component mounting machine 20 is powered on and power is supplied to the fixed board 45, the old FPGA 91 reads the safe mode program SPa from the storage device 92 and executes it. Build a logic circuit and boot into safe mode. The FPGA 91 constructs a multiprocessing logic circuit and the like based on the safe mode program SPa. The FPGA 91 executes 5 Gbps multiplex communication with a communication destination device.

次に、FPGA91は、通信先の装置との間で、多重通信を介して機種情報の交換を実行する(S13)。図7は、機種情報の一例を示している。図8に示す例では、固定部基板45に対する通信先の装置として、旧型のX軸基板95、新型のX軸基板95、旧型のヘッド基板97、新型のヘッド基板97の4種類が存在する。このため、図7に示すように、例えば、4種類の基板を識別するため、機種情報として2ビットの情報を設定することができる。 Next, the FPGA 91 exchanges model information with the communication destination device via multiplex communication (S13). FIG. 7 shows an example of model information. In the example shown in FIG. 8 , there are four types of communication destination devices for the fixed part board 45 : an old type X-axis board 95 , a new type X-axis board 95 , an old type head board 97 , and a new type head board 97 . Therefore, as shown in FIG. 7, for example, 2-bit information can be set as model information in order to identify four types of substrates.

また、旧型のFPGA91は、後述する新型のFPGA91とは異なり、1つのユーザモード(旧ユーザモード)のみしか備えていない。換言すれば、機種情報に基づいてユーザモードを選択する必要がなく、機種情報が不要である。このため、旧型のFPGA91は、S13において、自身の機種情報を通信先の装置に送信する一方、通信先の装置から機種情報を受信しなくとも良い。 Also, the old type FPGA 91 has only one user mode (old user mode), unlike the new type FPGA 91 to be described later. In other words, there is no need to select a user mode based on model information, and model information is unnecessary. Therefore, in S13, the old-type FPGA 91 does not need to receive the model information from the communication destination device while transmitting its own model information to the communication destination device.

また、FPGA91は、S13において、機種情報を受信して、機種情報に基づく制御を実行しても良い。図3に示すように、固定部基板45は、X軸スライド機構27Aの光ファイバケーブル81を接続する送信側光電変換器93A及び受信側光電変換器93Bと、装着ヘッド25の光ファイバケーブル82を接続する送信側光電変換器94A及び受信側光電変換器94Bを備えている。このため、ユーザは、固定部基板45に光ファイバケーブル81,82を接続する際に、接続する光電変換器を間違える可能性がある。 Moreover, in S13, the FPGA 91 may receive model information and execute control based on the model information. As shown in FIG. 3, the fixed part board 45 connects the transmission side photoelectric converter 93A and the reception side photoelectric converter 93B that connect the optical fiber cable 81 of the X-axis slide mechanism 27A, and the optical fiber cable 82 of the mounting head 25. It has a transmitting side photoelectric converter 94A and a receiving side photoelectric converter 94B to be connected. Therefore, when the user connects the optical fiber cables 81 and 82 to the fixed part substrate 45, there is a possibility that the photoelectric converter to be connected is mistaken.

そこで、FPGA91は、S13において、通信先の装置から機種情報を受信し、受信した機種情報と、受信したインタフェース(光電変換器)との関係が正しいか判定しても良い。例えば、FPGA91は、送信側光電変換器93Aに光ファイバケーブル82(装着ヘッド25)が接続された場合、S13において警告を報知しても良い。これにより、接続の誤りをユーザに報知することができる。 Therefore, in S13, the FPGA 91 may receive model information from the communication destination device and determine whether the relationship between the received model information and the received interface (photoelectric converter) is correct. For example, the FPGA 91 may issue a warning in S13 when the optical fiber cable 82 (mounting head 25) is connected to the transmission-side photoelectric converter 93A. This makes it possible to notify the user of the connection error.

尚、FPGA91は、セーフモードにおいて、多重通信を実行せずに、光ファイバケーブル81,82を介した非多重通信により機種情報を交換しても良く、光ファイバケーブル81,82とは別回線で機種情報を交換しても良い。 In the safe mode, the FPGA 91 may exchange model information by non-multiplex communication via the optical fiber cables 81 and 82 without executing multiplex communication. You can exchange information.

FPGA91は、S13で機種情報を交換すると、旧ユーザモードを起動する処理を実行する(S15)。FPGA91は、例えば、記憶装置92から第1ユーザモードプログラムUP1aを読み出して、論理回路の再構築(リコンフィグ)を実行し、旧ユーザモードの起動を行う。FPGA91は、通信先の装置との間で、5Gbpsの多重通信を実行する。 After exchanging the model information in S13, the FPGA 91 executes a process of activating the old user mode (S15). The FPGA 91, for example, reads out the first user mode program UP1a from the storage device 92, executes reconfiguration of the logic circuit, and activates the old user mode. The FPGA 91 executes 5 Gbps multiplex communication with a communication destination device.

次に、FPGA91は、通信先の装置との間で、機種情報の交換を再度実行する(S17)。これにより、セーフモードだけでなく、ユーザモードにおいても再度、機種情報を確認することができる。FPGA91は、S13と同様に、機種情報の送信のみをS17で実行しても良く、機種情報を受信して光ファイバケーブル81,82の接続を判定しても良い。尚、FPGA91は、S13又はS15の一方のみを実行しても良く、S13又はS15の一方のみで接続の判定を実行しても良い。 Next, the FPGA 91 exchanges model information again with the communication destination device (S17). As a result, the model information can be checked again not only in the safe mode but also in the user mode. As in S13, the FPGA 91 may transmit only the model information in S17, or may receive the model information and determine whether the optical fiber cables 81 and 82 are connected. Note that the FPGA 91 may execute only one of S13 or S15, or may execute connection determination in only one of S13 or S15.

FPGA91は、S17を実行すると、図5に示す処理を終了する。これにより、FPGA91は、旧ユーザモードを起動し、5Gpsによる多重通信を実行し、装着作業に係わるデータを送受信することができる。 FPGA91 will complete|finish the process shown in FIG. 5, if S17 is performed. Thereby, the FPGA 91 can activate the old user mode, execute multiplex communication by 5 Gps, and transmit/receive data related to the mounting work.

尚、FPGA91は、セーフモードにおいて、ユーザモードのコンフィグレーション情報の検証を行っても良い。例えば、旧型の記憶装置92には、ユーザモードのコンフィグレーション情報として第1ユーザモードプログラムUP1aのみが記憶されている。FPGA91は、S11において、セーフモードプログラムSPaを実行して論理回路等を構築した後、第1ユーザモードプログラムUP1aに基づいて旧ユーザモードの論理回路(多重処理の論理回路など)を構築した場合に、論理回路の構築を正常に行えるか否かを判定しても良い。FPGA91は、第1ユーザモードプログラムUP1aのデータに誤りがないか、第1ユーザモードプログラムUP1aで構築された場合の論理回路の接続や処理結果に誤りがないかなどを検査し、論理回路の構築を正常に行えるか否かを判定する。FPGA91は、正常に構築できると判断した場合、S13以降を実行し、セーフモードから旧ユーザモードへ移行しても良い。また、FPGA91は、検証でエラー等を見つけた場合に、警告を報知しても良い。これにより、第1ユーザモードプログラムUP1aの確認をユーザに促すことができる。また、後述する新型のFPGA91が実行するセーフモード(図6のS21)において、第1ユーザモードプログラムUP1aや第2ユーザモードプログラムUP2aの検証を実行しても良い。 Note that the FPGA 91 may verify the configuration information of the user mode in the safe mode. For example, the old storage device 92 stores only the first user mode program UP1a as user mode configuration information. In S11, the FPGA 91 executes the safe mode program SPa to build a logic circuit and the like, and then builds an old user mode logic circuit (such as a multiprocessing logic circuit) based on the first user mode program UP1a. It may be determined whether or not the logic circuit can be constructed normally. The FPGA 91 checks whether there are any errors in the data of the first user mode program UP1a, and whether there are any errors in the connection and processing results of the logic circuit constructed by the first user mode program UP1a, and constructs the logic circuit. It is determined whether or not the process can be performed normally. If the FPGA 91 determines that it can be constructed normally, it may execute S13 and subsequent steps, and shift from the safe mode to the old user mode. Moreover, FPGA91 may notify a warning, when an error etc. are found by verification. As a result, the user can be prompted to confirm the first user mode program UP1a. Further, verification of the first user mode program UP1a and the second user mode program UP2a may be executed in the safe mode (S21 in FIG. 6) executed by the later-described new type FPGA 91. FIG.

また、FPGA91は、セーフモードから第1ユーザモードへ移行する場合に、論理回路を全て再構築しなくとも良い。FPGA91は、例えば、リニアスケール信号やエンコーダ信号等を処理する論理回路(ユーザモードで必要となる論理回路)に係わる部分のみをリコンフィグしても良い。 Moreover, the FPGA 91 does not have to reconstruct all the logic circuits when shifting from the safe mode to the first user mode. For example, the FPGA 91 may reconfigure only a portion related to logic circuits (logic circuits required in user mode) that process linear scale signals, encoder signals, and the like.

次に、新型の基板のFPGA、即ち、本実施形態のFPGA91,103,113について説明する。新型のFPGA91,103,113の起動時の処理内容は、同様の処理となっている。このため、以下の説明では、一例としてFPGA91について説明する。また、図5で説明した内容は、適宜省略する。図6は、新型のFPGA91の起動時の処理内容を示している。 Next, the FPGAs of the new board, that is, the FPGAs 91, 103, and 113 of this embodiment will be described. The contents of processing at the time of activation of the new type FPGAs 91, 103, and 113 are the same processing. Therefore, in the following description, the FPGA 91 will be described as an example. Further, the contents described with reference to FIG. 5 are omitted as appropriate. FIG. 6 shows the contents of processing when the new type FPGA 91 is activated.

まず、図6のS21において、新型のFPGA91は、固定部基板45に電力を供給されると、記憶装置92からセーフモードプログラムSPaを読み込んで実行し、論理回路を構築してセーフモードに移行する。FPGA91は、通信先の装置との間で、5Gbpsの多重通信を実行する。 First, in S21 of FIG. 6, when power is supplied to the fixed part board 45, the new type FPGA 91 reads the safe mode program SPa from the storage device 92, executes it, constructs a logic circuit, and shifts to the safe mode. The FPGA 91 executes 5 Gbps multiplex communication with a communication destination device.

次に、FPGA91は、通信先の装置との間で機種情報の交換を実行する(S23)。尚、FPGA91は、S23において、図5のS13と同様に、受信した機種情報に基づいて、光ファイバケーブル81,82の接続を判定しても良い。また、FPGA91は、通信先の装置から機種情報を要求されない場合、S23において機種情報を送信しなくとも良い。例えば、FPGA91は、通信先の装置が旧型であるため、機種情報を要求してこない場合、機種情報を送信しなくとも良い。 Next, the FPGA 91 exchanges model information with the communication destination device (S23). In S23, the FPGA 91 may determine connection of the optical fiber cables 81 and 82 based on the received model information, as in S13 of FIG. In addition, when the model information is not requested from the communication destination device, the FPGA 91 does not have to transmit the model information in S23. For example, the FPGA 91 does not need to transmit the model information when the model information is not requested because the device to be communicated with is an old model.

次に、FPGA91は、S23で受信した機種情報に基づいて、通信先の装置が旧型であるか否かを判定する(S25)。図7に示すように、例えば、FPGA91は、受信した機種情報が旧型の装置であることを示すビット値(00や10)であった場合、S25において肯定判定し(S25:YES)、S27を実行する。一方で、FPGA91は、受信した機種情報が新型の装置であることを示すビット値(01や11)であった場合、S25において否定判定し(S25:NO)、S29を実行する。 Next, the FPGA 91 determines whether or not the communication destination device is an old model based on the model information received in S23 (S25). As shown in FIG. 7, for example, when the received model information is a bit value (00 or 10) indicating that the device is an old model, the FPGA 91 makes an affirmative determination in S25 (S25: YES), and proceeds to S27. Execute. On the other hand, when the received model information is a bit value (01 or 11) indicating a new model device, the FPGA 91 makes a negative determination in S25 (S25: NO), and executes S29.

S27において、FPGA91は、第1ユーザモードを起動する処理を実行する。FPGA91は、記憶装置92から第1ユーザモードプログラムUP1aを読み出して、論理回路の再構築を実行し、第1ユーザモードの起動を行う。FPGA91は、通信先の装置との間で、5Gbpsの多重通信を実行する。 In S27, the FPGA 91 executes processing for activating the first user mode. The FPGA 91 reads the first user mode program UP1a from the storage device 92, reconstructs the logic circuit, and activates the first user mode. The FPGA 91 executes 5 Gbps multiplex communication with a communication destination device.

一方で、S29において、FPGA91は、第2ユーザモードを起動する処理を実行する。FPGA91は、記憶装置92から第2ユーザモードプログラムUP2aを読み出して、論理回路の再構築を実行し、第2ユーザモードの起動を行う。この場合、通信先の装置(例えば、装着ヘッド25のヘッド基板97)は、新型であり、FPGA91から受信した機種情報に基づいて、第2ユーザモードへ移行する。そして、FPGA91は、通信先の装置との間で、10Gbpsの多重通信を実行する。これにより、通信先の装置に応じて(装置の新旧に応じて)ユーザモードを選択し、新旧に応じた通信速度の多重通信を実行できる。 On the other hand, in S29, the FPGA 91 executes processing for activating the second user mode. The FPGA 91 reads the second user mode program UP2a from the storage device 92, reconstructs the logic circuit, and activates the second user mode. In this case, the communication destination device (for example, the head substrate 97 of the mounting head 25 ) is a new model, and based on the model information received from the FPGA 91 , the mode is shifted to the second user mode. The FPGA 91 then performs 10 Gbps multiplex communication with the communication destination device. As a result, it is possible to select a user mode according to the communication destination device (according to whether the device is new or old) and execute multiplex communication at a communication speed corresponding to the new or old device.

従って、本実施形態のFPGA91は、部品装着機20のシステムの起動時において、セーフモードプログラムSPaを実行してセーフモードへ移行する(S21)。FPGA91は、セーフモードにおいて第1ユーザモードプログラムUP1a又は第2ユーザモードプログラムUP2aを選択して実行することでセーフモードから選択したユーザモードへ移行する(S27,S29)。これによれば、部品装着機20の一部(装着ヘッド25など)が交換され、新しいFPGA113(ヘッド基板97)が接続された場合、FPGA91,113が、通信先の装置に合ったユーザモードで起動できる。 Therefore, the FPGA 91 of the present embodiment executes the safe mode program SPa and shifts to the safe mode when the system of the component mounting machine 20 is started (S21). The FPGA 91 selects and executes the first user mode program UP1a or the second user mode program UP2a in the safe mode, thereby shifting from the safe mode to the selected user mode (S27, S29). According to this, when a part of the component mounting machine 20 (such as the mounting head 25) is replaced and a new FPGA 113 (head board 97) is connected, the FPGAs 91 and 113 are set in the user mode suitable for the communication destination device. can start.

FPGA91は、S27又はS29を実行した後、通信先の装置との間で、機種情報の交換を再度実行する(S31)。これにより、セーフモードだけでなく、ユーザモードにおいても再度、機種情報を確認することができる。FPGA91は、S23と同様に、受信した機種情報に基づいて光ファイバケーブル81,82の接続を判定しても良い。尚、FPGA91は、S23又はS25の一方のみを実行しても良く、S23又はS25の一方のみで接続の判定を実行しても良い。 After executing S27 or S29, the FPGA 91 exchanges model information again with the communication destination device (S31). As a result, the model information can be checked again not only in the safe mode but also in the user mode. The FPGA 91 may determine connection of the optical fiber cables 81 and 82 based on the received model information, as in S23. Note that the FPGA 91 may execute only one of S23 or S25, or may execute connection determination in only one of S23 or S25.

FPGA91は、S31を実行すると、図6に示す処理を終了する。これにより、FPGA91は、低速(5Gps)又は高速(10Gbps)の多重通信を実行し、装着作業に係わるデータを送受信することができる。 FPGA91 will complete|finish the process shown in FIG. 6, if S31 is performed. Thereby, the FPGA 91 can perform low-speed (5 Gbps) or high-speed (10 Gbps) multiplex communication to transmit and receive data related to the mounting work.

図9は、固定部基板45を旧型とした場合の各組み合わせと、組み合わせた場合のモード及び通信速度を示している。図9のNO1~4は、セーフモードにおける各組み合わせを示している。この場合、旧型の基板は、図5のS11,S13を実行し、セーフモードで起動する。新型の基板は、図6のS21,S23を実行し、セーフモードで起動する。セーフモードにおいては、新型及び旧型ともに5Gbpsの多重通信を実行する。 FIG. 9 shows each combination when the fixed part board 45 is of the old type, and the modes and communication speeds of the combinations. NO1 to NO4 in FIG. 9 indicate each combination in the safe mode. In this case, the old board executes S11 and S13 in FIG. 5 and starts up in the safe mode. The new board executes S21 and S23 in FIG. 6 and starts up in the safe mode. In safe mode, both the new model and the old model perform 5 Gbps multiplex communication.

また、図9のNO5,6は、旧型の固定部基板45(図中の固定部)に、可動部として旧型のX軸基板95やヘッド基板97を接続した場合を示している。この場合、固定部及び可動部は、図5のS15を実行し、旧ユーザモードで起動する。固定部及び可動部は、ともに旧ユーザモードとなり、5Gbpsの多重通信を実行する。 NOs 5 and 6 in FIG. 9 show the case where the old type X-axis substrate 95 and the head substrate 97 are connected as the movable portion to the old type fixed portion substrate 45 (fixed portion in the drawing). In this case, the fixed part and the movable part execute S15 of FIG. 5 and start up in the old user mode. Both the fixed part and the movable part are in the old user mode and perform 5 Gbps multiplex communication.

また、図9のNO7,8は、旧型の固定部基板45に、可動部として新型のX軸基板95やヘッド基板97を接続した場合を示している。この場合も、固定部基板45は、図5のS15を実行し、旧ユーザモードで起動する。一方、可動部は、図6のS25において、固定部基板45から受信した機種情報に基づいて、通信先の装置が旧型であると判定し(S25:YES)、S27を実行する。可動部は、第1ユーザモードプログラムUP1をFPGA103,113で実行し、第1ユーザモードで起動する。このため、ユーザモード(旧ユーザモード及び第1ユーザモード)において、5Gbpsの多重通信が実行される。 NOs 7 and 8 in FIG. 9 show the case where the new type X-axis substrate 95 and the head substrate 97 are connected to the old type fixed portion substrate 45 as movable portions. Also in this case, the fixed part board 45 executes S15 of FIG. 5 and starts up in the old user mode. On the other hand, in S25 of FIG. 6, the movable part determines that the communication destination device is an old model based on the model information received from the fixed part substrate 45 (S25: YES), and executes S27. The movable part executes the first user mode program UP1 on the FPGAs 103 and 113 and starts up in the first user mode. Therefore, 5 Gbps multiplex communication is performed in user modes (old user mode and first user mode).

図10は、固定部基板45を新型とした場合の各組み合わせと、組み合わせた場合のモード及び通信速度を示している。図10のNO1~4は、セーフモードにおける各組み合わせを示しており、図9の場合と同様に、セーフモードにおいては、新型及び旧型ともに5Gbpsの多重通信を実行する。 FIG. 10 shows each combination when the fixed part board 45 is a new type, and the modes and communication speeds when combined. NO1 to NO4 in FIG. 10 indicate respective combinations in the safe mode, and as in the case of FIG. 9, in the safe mode, both the new model and the old model execute multiplex communication at 5 Gbps.

また、図10のNO5,6は、新型の固定部基板45に、可動部として旧型のX軸基板95やヘッド基板97を接続した場合を示している。この場合、可動部の旧型のX軸基板95及びヘッド基板97は、図5のS15を実行し、旧ユーザモードで起動する。一方、固定部の固定部基板45は、図6のS25において、可動部(この場合はX軸基板95又はヘッド基板97)から受信した機種情報に基づいて、通信先の装置が旧型であると判定し(S25:YES)、S27を実行する。固定部基板45は、第1ユーザモードプログラムUP1aをFPGA91で実行し、第1ユーザモードで起動する。このため、ユーザモードにおいて、5Gbpsの多重通信が実行される。 NO 5 and 6 in FIG. 10 show the case where the old type X-axis substrate 95 and the head substrate 97 are connected to the new type fixed portion substrate 45 as the movable portion. In this case, the old X-axis board 95 and the head board 97 of the moving part execute S15 of FIG. 5 and start up in the old user mode. On the other hand, in S25 of FIG. 6, the fixed part board 45 of the fixed part determines that the communication destination device is an old model based on the model information received from the movable part (in this case, the X-axis board 95 or the head board 97). A determination is made (S25: YES), and S27 is executed. The fixed part board 45 executes the first user mode program UP1a on the FPGA 91 and starts up in the first user mode. Therefore, 5 Gbps multiplex communication is performed in the user mode.

また、図10のNO7,8は、新型の固定部基板45に、新型の可動部を接続した場合を示している。この場合、固定部基板45は、図6のS25において通信先の装置(X軸基板95又はヘッド基板97)から受信した機種情報に基づいて、通信先の装置が新型であると判定し(S25:NO)、S29を実行する。同様に、可動部のX軸基板95及びヘッド基板97は、固定部基板45から受信した機種情報に基づいて図6のS25で否定判定し(S25:NO)、S29を実行する。固定部及び可動部は、ともに、第2ユーザモードプログラムUP2をFPGA91,103,113で実行し、第2ユーザモードで起動する。このため、固定部及び可動部がともに第2ユーザモードとなり、高速な10Gbpsの多重通信が実行される。このようにして、新旧の装置を組み合わせて接続した場合でも、機種情報に基づいて最適な通信速度で多重通信が実行できる。 NO 7 and 8 in FIG. 10 show the case where the new type movable portion is connected to the new type fixed portion substrate 45 . In this case, the stationary part board 45 determines that the communication destination device is a new model based on the model information received from the communication destination device (X-axis board 95 or head substrate 97) in S25 of FIG. : NO), S29 is executed. Similarly, the X-axis substrate 95 and the head substrate 97 of the movable portion make a negative determination in S25 of FIG. 6 (S25: NO) based on the model information received from the fixed portion substrate 45, and execute S29. Both the fixed part and the movable part execute the second user mode program UP2 in the FPGAs 91, 103, 113 and start up in the second user mode. Therefore, both the fixed part and the movable part are in the second user mode, and high-speed 10 Gbps multiplex communication is performed. In this way, even when new and old devices are combined and connected, multiplex communication can be executed at the optimum communication speed based on the model information.

尚、図8及び図9の画像出力規格に示すように、新型の装置と、旧型の装置では、データの出力形式が異なる場合が想定される。例えば、図9に示すように、旧型の固定部基板45は、カメラリンク(登録商標)のBase構成のケーブルでマークカメラ69やパーツカメラ71(図3参照)の画像データを、画像処理基板87へ出力する。また、図10に示すように、新型の固定部基板45は、例えば、USB3.0-VISION(登録商標)規格の通信によりUSBケーブルでマークカメラ69やパーツカメラ71(図3参照)の画像データを、画像処理基板87へ出力する。 Incidentally, as shown in the image output standards of FIGS. 8 and 9, it is assumed that the data output format differs between the new model device and the old model device. For example, as shown in FIG. 9, the old fixed part board 45 transmits image data of the mark camera 69 and the part camera 71 (see FIG. 3) to the image processing board 87 via a camera link (registered trademark) base configuration cable. Output to Further, as shown in FIG. 10, the new fixed part board 45 can, for example, transmit image data of the mark camera 69 and the parts camera 71 (see FIG. 3) through a USB cable through USB 3.0-VISION (registered trademark) standard communication. is output to the image processing board 87 .

例えば、図9のBase構成のカメラリンク(登録商標)規格の通信に比べ、図10のUSB3.0-VISION(登録商標)規格の通信が高速となる。これは、例えば、多重通信の高速化にともなって、より大容量の画像データの伝送が可能になったことを想定している。このように、画像データに限らず、多重通信の高速化によって、伝送するデータのデータ量やデータ形式が変更される可能性がある。そこで、例えば、固定部基板45のFPGA91は、通信プロトコルの変換を行なう処理部を備えても良い。 For example, the speed of the USB 3.0-VISION (registered trademark) standard communication shown in FIG. 10 is higher than that of the Camera Link (registered trademark) standard communication of the Base configuration shown in FIG. This assumes, for example, that transmission of a larger amount of image data has become possible with the speeding up of multiplex communication. As described above, not only image data but also data amount and data format of data to be transmitted may be changed due to speeding up of multiplex communication. Therefore, for example, the FPGA 91 of the fixed part board 45 may include a processing part that converts the communication protocol.

具体的には、例えば、新型の記憶装置92に記憶された第1ユーザモードプログラムUP1aは、旧型の基板(X軸基板95やヘッド基板97)から多重通信を介して受信したカメラリンク(登録商標)規格の通信データを、USB3.0-VISION(登録商標)規格の通信データに変換するプロトコル変換処理部のコンフィグレーション情報を備えても良い。また、新型の記憶装置105,115に記憶された第1ユーザモードプログラムUP1b,UP1cは、マークカメラ69やパーツカメラ71から入力したUSB3.0-VISION(登録商標)規格の通信データを、カメラリンク(登録商標)規格の通信データに変換するプロトコル変換処理部のコンフィグレーション情報を備えても良い。 Specifically, for example, the first user mode program UP1a stored in the new-model storage device 92 receives Camera Link (registered trademark) from the old-model substrate (X-axis substrate 95 and head substrate 97) via multiplex communication. ) configuration information of a protocol conversion processing unit that converts standard communication data into USB 3.0-VISION (registered trademark) standard communication data. In addition, the first user mode programs UP1b and UP1c stored in the new storage devices 105 and 115 use the USB 3.0-VISION (registered trademark) standard communication data input from the mark camera 69 and parts camera 71 as camera link data. It may also include configuration information of a protocol conversion processing unit that converts to (registered trademark) standard communication data.

これにより、新型のFPGA91,103,113は、旧型の装置に合わせて第1ユーザモードで起動した場合に、旧型の装置の通信規格(カメラリンク(登録商標)規格)に応じてプロトコル変換し、適切な送信処理や受信処理が可能となる。例えば、FPGA91は、プロトコル変換処理部により、旧型の基板から受信したカメラリンク(登録商標)規格のデータをUSB3.0-VISION(登録商標)規格のデータに変換し、USBケーブルで画像処理基板87に出力できる。 As a result, when the new-model FPGAs 91, 103, and 113 are activated in the first user mode to match the old-model device, protocol conversion is performed according to the communication standard (Camera Link (registered trademark) standard) of the old-model device, Appropriate transmission processing and reception processing can be performed. For example, the FPGA 91 converts the camera link (registered trademark) standard data received from the old board into data of the USB 3.0-VISION (registered trademark) standard by the protocol conversion processing unit, and transfers the data to the image processing board 87 via the USB cable. can be output to

尚、上記した例では、画像データの通信プロトコルが変更される場合について説明したが、他のデータの場合にも同様に、プロトコル変換処理部を構築しても良い。例えば、リニアスケール78のリニアスケール信号やエンコーダ76のエンコーダ信号などの通信規格が新旧で異なる場合、FPGA91は、プロトコル変換処理部を構築してプログラム変換してからサーボアンプ83等に出力しても良い。 In the above example, the case where the communication protocol of image data is changed has been described, but the protocol conversion processing section may be similarly constructed in the case of other data. For example, if communication standards such as the linear scale signal of the linear scale 78 and the encoder signal of the encoder 76 are different between old and new, the FPGA 91 may construct a protocol conversion processing unit, convert the program, and then output it to the servo amplifier 83 or the like. good.

ここで、上記したように、本実施形態の第1ユーザモードは、5Gbps(第1通信速度の一例)で多重通信を実行するモードである。また、第2ユーザモードは、第1通信速度に比べて高速な10Gbps(第2通信速度の一例)で多重通信を実行するモードである。これによれば、通信速度が異なる2種類の装置が混在する場合に、通信先の装置に合せてユーザモードを切り替え、最適な通信速度で通信を実行できる。 Here, as described above, the first user mode of this embodiment is a mode in which multiplex communication is performed at 5 Gbps (an example of the first communication speed). The second user mode is a mode in which multiplex communication is performed at 10 Gbps (an example of a second communication speed), which is faster than the first communication speed. According to this, when two types of devices with different communication speeds coexist, the user mode can be switched according to the communication destination device, and communication can be executed at the optimum communication speed.

また、FPGA91,103,113は、コンフィグレーション情報に基づいて論理回路を構築するプログラマブル論理デバイスである。記憶装置92,105,115は、セーフモード、第1ユーザモード、及び第2ユーザモードの各々に対応するコンフィグレーション情報(セーフモードプログラムSP、第1ユーザモードプログラムUP1、第2ユーザモードプログラムUP2)を記憶している。固定部基板45等は、コンフィグレーション情報に基づいて、セーフモード、第1ユーザモード、及び第2ユーザモードの異なる3つのモードを切り替える。ここで、ユーザモードまで起動した後に通信先の装置に合ったモードの切り替えを実行する場合、1つのユーザモードのプログラム中に、切り替え用プログラム、第1ユーザモードのプログラム、第2ユーザモードのプログラムが含まれる可能性がある。その結果、第2ユーザモード(新しいコンフィグレーション情報など)のプログラムだけをアップデートしたい場合(古い第1ユーザモードのプログラムはそのままにしたい場合)でも、ユーザモードのプログラム全体をアップデートする必要が生じる。また、2つのモードを含むことでユーザモードのプログラムのデータ容量が増加する可能性がある。データ容量の増加により、プログラムの開発・検証工程の長期化、プログラマブル論理デバイスの容量の増加、製造コストの増加を招く虞がある。プログラマブル論理デバイスの容量の増加は、論理回路間を接続する接続線を長くし、信号の入出力におけるタイミングエラーの発生頻度を上昇させる虞がある。 FPGAs 91, 103, and 113 are programmable logic devices that construct logic circuits based on configuration information. Storage devices 92, 105, and 115 store configuration information (safe mode program SP, first user mode program UP1, second user mode program UP2) corresponding to each of safe mode, first user mode, and second user mode. are doing. The fixed part board 45 and the like switch between three different modes, a safe mode, a first user mode, and a second user mode, based on the configuration information. Here, when executing mode switching suitable for the device of the communication destination after starting up to the user mode, one user mode program includes a switching program, a first user mode program, and a second user mode program. may be included. As a result, even if it is desired to update only the program of the second user mode (such as new configuration information) (and to leave the old program of the first user mode unchanged), it is necessary to update the entire user mode program. Also, including two modes may increase the data capacity of the user mode program. An increase in data capacity may lead to a prolonged program development/verification process, an increase in the capacity of programmable logic devices, and an increase in manufacturing costs. An increase in the capacity of a programmable logic device may increase the length of connection lines connecting logic circuits and increase the frequency of occurrence of timing errors in signal input/output.

これに対し、記憶装置92,105,115の中に、図4に示すように、3つのプログラムを分けて記憶することで、プログラムを切り分けてアップデートできる。例えば、新しい第2ユーザモードプログラムUP2だけを個別にアップデートできる。また、プログラム全体のデータ容量を低減でき、プログラマブル論理デバイスの容量を低減してコストの低減を図ることができる。さらに、論理回路間の接続線を短くでき、タイミングエラーの発生を抑えることができる。 On the other hand, by separately storing the three programs in the storage devices 92, 105 and 115 as shown in FIG. 4, the programs can be updated separately. For example, only the new second user mode program UP2 can be updated separately. Also, the data capacity of the entire program can be reduced, and the capacity of the programmable logic device can be reduced to reduce costs. Furthermore, the connection lines between the logic circuits can be shortened, and the occurrence of timing errors can be suppressed.

また、部品装着機20は、固定部基板45を備えるモジュール22と、ヘッド基板97を備え、モジュール22に対して相対的に移動し、多重通信により送受信されるデータに基づいて作業を実行する装着ヘッド25等と、を備える。これによれば、固定部と可動部との間で多重通信によりデータを送受信する部品装着機20において、固定部が、可動部に合ったユーザモードで起動できる。部品装着機20のシステムを安定的に起動でき、装着ヘッド25やX軸スライド機構27A(可動部の一例)による作業を適切に実行できる。 Also, the component mounting machine 20 includes a module 22 having a fixed part board 45 and a head board 97, moves relative to the module 22, and carries out work based on data transmitted and received by multiplex communication. head 25 and the like. According to this, in the component mounting machine 20 that transmits and receives data between the fixed part and the movable part by multiplex communication, the fixed part can be activated in a user mode suitable for the movable part. The system of the component mounting machine 20 can be stably activated, and the work by the mounting head 25 and the X-axis slide mechanism 27A (an example of the movable part) can be properly executed.

また、装着ヘッド25は、モジュール22に対して着脱可能に構成される。組み立て作業や装着作業を行なう装着ヘッド25は、作業対象のワーク(基板17など)に応じて変更される。このような装着ヘッド25は、高価な装置であるため、固定部側が新しくなっても使い回される可能性が高い。結果として、サポートしている機能の異なる装着ヘッド25が混在することとなる。このため、装着ヘッド25が着脱可能な部品装着機20に、機種情報に基づいてユーザモードを選択するFPGA113を設けることは極めて有効である。 Also, the mounting head 25 is configured to be detachable from the module 22 . The mounting head 25 that performs the assembly work and the mounting work is changed according to the work (substrate 17, etc.) to be worked. Since such a mounting head 25 is an expensive device, there is a high possibility that it will be reused even if the fixed portion side becomes new. As a result, the mounting heads 25 supporting different functions coexist. Therefore, it is extremely effective to provide the FPGA 113 for selecting the user mode based on the model information in the component mounting machine 20 to which the mounting head 25 is detachable.

因みに、部品装着機20は、作業機の一例である。モジュール22は、固定部の一例である。装着ヘッド25、X軸スライド機構27Aは、可動部の一例である。固定部基板45、X軸基板95、ヘッド基板97は、多重通信装置、及び通信先の装置の一例である。送信側光電変換器93A,94A,101A,111A及び受信側光電変換器93B,94B,101B,111Bは、多重通信インタフェースの一例である。FPGA91,103,113は、処理部の一例である。 Incidentally, the component mounting machine 20 is an example of a work machine. Module 22 is an example of a fixed part. The mounting head 25 and the X-axis slide mechanism 27A are examples of movable parts. The fixed part board 45, the X-axis board 95, and the head board 97 are examples of a multiplex communication device and a communication destination device. Transmitting photoelectric converters 93A, 94A, 101A, 111A and receiving photoelectric converters 93B, 94B, 101B, 111B are an example of a multiplex communication interface. The FPGAs 91, 103, 113 are examples of processing units.

以上、上記した本実施例によれば以下の効果を奏する。
本実施例の一態様では、記憶装置92,105,115には、セーフモード、第1ユーザモード、第2ユーザモードの3つのモードのコンフィグレーション情報が記憶されている。FPGA91,103,113は、セーフモードプログラムSPを実行し、セーフモードにおいて通信先の装置から機種情報を受信し、機種情報に基づいて第1ユーザモード又は第2ユーザモードの実行を判定する(図6のS25)。FPGA91,103,113は、ユーザモードの論理回路を構築し、送信側光電変換器93A等を介した多重通信を実行する。
As described above, the present embodiment described above has the following effects.
In one aspect of the present embodiment, storage devices 92, 105, and 115 store configuration information for three modes: safe mode, first user mode, and second user mode. The FPGAs 91, 103, and 113 execute the safe mode program SP, receive model information from the communication destination device in the safe mode, and determine execution of the first user mode or the second user mode based on the model information (see FIG. 6). S25). The FPGAs 91, 103, and 113 construct user-mode logic circuits and perform multiplex communication via the transmission-side photoelectric converter 93A and the like.

これによれば、固定部基板45等は、第1ユーザモードと第2ユーザモードとの2つのユーザモードで起動が可能となっている。固定部基板45等は、セーフモードにおいて通信先の装置から機種情報を受信し、受信した機種情報に基づいて第1ユーザモード又は第2ユーザモードを起動する。これにより、固定部基板45等は、通信先の装置に合ったユーザモードを機種情報に基づいて選択して起動できる。 According to this, the fixed part board 45 and the like can be activated in two user modes, ie, the first user mode and the second user mode. The fixed part board 45 and the like receive the model information from the communication destination device in the safe mode, and activate the first user mode or the second user mode based on the received model information. As a result, the fixed part board 45 and the like can select and activate a user mode suitable for the communication destination device based on the model information.

ここで、仮に、ユーザモードまで起動してから通信先の装置の機種情報を判定すると、ユーザモードまで起動した後で、通信先の装置に合ったユーザモードに切り替える処理が必要となり、起動時間が長くなる。これに対し、本実施形態の固定部基板45等では、セーフモードにおいて機種情報を受信しユーザモードを選択して実行することで、起動時間を短縮できる。 Here, if the model information of the communication destination device is determined after starting up to the user mode, processing to switch to the user mode suitable for the communication destination device is required after starting up to the user mode, and the startup time is increased. become longer. On the other hand, in the fixed part board 45 and the like of the present embodiment, the startup time can be shortened by receiving the model information in the safe mode and selecting and executing the user mode.

尚、本開示は上記の実施例に限定されるものではなく、本開示の趣旨を逸脱しない範囲内での種々の改良、変更が可能であることは言うまでもない。
例えば、上記実施形態では、第1ユーザモードと第2ユーザモードが、多重通信の速度が異なるモードである場合について説明したが、これに限らない。例えば、第1及び第2ユーザモードは、パーツカメラ71やマークカメラ69の通信規格が異なるユーザモード(図9及び図10参照)でも良い。この場合にも、機種情報に基づいて、カメラの通信規格に応じたユーザモードで起動できる。同様に、第1及び第2ユーザモードは、リニアスケール78のリニアスケール信号やエンコーダ76のエンコーダ信号の通信規格が異なるユーザモードや、各種のセンサなどのデータ形式、センサ数が異なるユーザモードでも良い。
It goes without saying that the present disclosure is not limited to the above embodiments, and that various improvements and modifications are possible without departing from the scope of the present disclosure.
For example, in the above embodiment, the case where the first user mode and the second user mode are modes with different multiplex communication speeds has been described, but the present invention is not limited to this. For example, the first and second user modes may be user modes in which the parts camera 71 and the mark camera 69 have different communication standards (see FIGS. 9 and 10). Also in this case, the camera can be activated in a user mode corresponding to the communication standard of the camera based on the model information. Similarly, the first and second user modes may be user modes with different communication standards for linear scale signals from the linear scale 78 and encoder signals from the encoder 76, or user modes with different data formats and numbers of sensors for various sensors. .

本開示の処理部は、FPGAなどの論理回路に限らず、CPUでプログラムを実行してソフトウェア処理によって多重処理を行なう構成でも良い。この場合にも、CPUで実行するプログラムを変更することで、ユーザモードを切り替えても良い。
FPGA91,103,113は、3以上のユーザモードを備えても良い。
装着ヘッド25は、部品装着機20に対して着脱できない構成でも良い。
また、多重通信の通信線路は、光ファイバケーブル81,82に限らず、例えば、Gigabit Etherenet(登録商標)の通信規格に準拠したLANケーブルでも良い。この場合、例えば、第1ユーザモードにおいて、2.5Gbpsの多重通信を実行し、第2ユーザモードにおいて5Gbpsの多重通信を実行し、さらに第3ユーザモードにおいて10Gbpsの多重通信を実行しても良い。
The processing unit of the present disclosure is not limited to a logic circuit such as an FPGA, and may be configured to perform multiple processing by software processing by executing a program with a CPU. Also in this case, the user mode may be switched by changing the program executed by the CPU.
FPGAs 91, 103, 113 may have three or more user modes.
The mounting head 25 may be configured so as not to be detachable from the component mounting machine 20 .
Further, the communication lines for multiplex communication are not limited to the optical fiber cables 81 and 82, and may be, for example, LAN cables conforming to the Gigabit Ethernet (registered trademark) communication standard. In this case, for example, 2.5 Gbps multiplex communication may be performed in the first user mode, 5 Gbps multiplex communication may be performed in the second user mode, and 10 Gbps multiplex communication may be performed in the third user mode. .

上記実施形態では、部品装着機20内の多重通信システムにおいて、本開示の技術を適用したが、これに限らない。例えば、ホストコンピュータ15がローダ13を制御する通信を多重通信で行い、その多重通信を処理する処理部(FPGAなど)において、セーフモードで受信した機種情報に基づくユーザモードの切り替えを実行しても良い。これにより、例えば、ローダ13自体やローダ13の一部を入れ替えた場合に、機種情報に応じたユーザモードで起動できる。
また、上記実施形態では、本開示の作業機として、基板17に電子部品を装着する部品装着機20を採用したが、これに限らない。例えば、作業機としては、基板17にはんだを塗布するはんだ塗布装置、工作機械、介護用ロボットなど様々な作業機を採用することができる。
In the above embodiment, the technique of the present disclosure is applied to the multiplex communication system in the component mounting machine 20, but the invention is not limited to this. For example, the host computer 15 may perform communication for controlling the loader 13 by multiplex communication, and a processing unit (such as an FPGA) that processes the multiplex communication may switch the user mode based on the model information received in the safe mode. . As a result, for example, when the loader 13 itself or part of the loader 13 is replaced, it can be started in the user mode according to the model information.
Further, in the above-described embodiment, the component mounting machine 20 that mounts electronic components on the substrate 17 is used as the working machine of the present disclosure, but the present invention is not limited to this. For example, as the work machine, various work machines such as a solder application device that applies solder to the substrate 17, a machine tool, and a care robot can be employed.

20 部品装着機(作業機)、22 モジュール(固定部)、25 装着ヘッド(可動部)、27A X軸スライド機構(可動部)、45 固定部基板(多重通信装置)91,103,113 FPGA(処理部)、92,105,115 記憶装置、93A,94A,101A,111A 送信側光電変換器(多重通信インタフェース)、93B,94B,101B,111B 受信側光電変換器(多重通信インタフェース)、95 X軸基板(多重通信装置)、97 ヘッド基板(多重通信装置)、SP セーフモードプログラム、UP1 第1ユーザモードプログラム、UP2 第2ユーザモードプログラム。 20 component mounting machine (working machine), 22 module (fixed part), 25 mounting head (movable part), 27A X-axis slide mechanism (movable part), 45 fixed part substrate (multiplex communication device) 91, 103, 113 FPGA ( processing unit), 92, 105, 115 storage device, 93A, 94A, 101A, 111A transmission-side photoelectric converter (multiplex communication interface), 93B, 94B, 101B, 111B reception-side photoelectric converter (multiplex communication interface), 95 X Axis substrate (multiplex communication device), 97 Head substrate (multiplex communication device), SP Safe mode program, UP1 First user mode program, UP2 Second user mode program.

Claims (7)

通信先の装置との間で多重通信を実行する多重通信インタフェースと、
セーフモード、第1ユーザモード、前記第1ユーザモードとは異なる第2ユーザモードの3つのモードのプログラムを記憶する記憶装置と、
前記セーフモードのプログラムを前記記憶装置から読み出して実行し、前記セーフモードにおいて前記多重通信インタフェースを介して前記通信先の装置から前記通信先の装置に係わる機種情報を受信し、前記機種情報に基づいて前記第1ユーザモード又は前記第2ユーザモードのプログラムを選択して前記記憶装置から読み出して実行し前記多重通信インタフェースを介した多重通信を、読み出して実行した前記第1ユーザモード又は前記第2ユーザモードの前記プログラムに基づいて前記通信先の装置との間で実行する処理部と、
を備え、
前記第1ユーザモードは、
第1通信速度で多重通信を実行するモードであり、
前記第2ユーザモードは、
前記第1通信速度に比べて高速な第2通信速度で多重通信を実行するモードである、多重通信装置。
a multiplex communication interface that performs multiplex communication with a communication destination device;
a storage device for storing programs in three modes: a safe mode, a first user mode, and a second user mode different from the first user mode;
reading out the safe mode program from the storage device and executing it, receiving model information related to the communication destination device from the communication destination device via the multiplex communication interface in the safe mode, and based on the model information; The first user mode or the second user mode in which a program of the first user mode or the second user mode is selected, read out from the storage device and executed, and multiplex communication via the multiplex communication interface is read out and executed. a processing unit that executes between the communication destination device based on the program of
with
The first user mode is
A mode for executing multiplex communication at a first communication speed,
The second user mode is
A multiplex communication device in a mode for executing multiplex communication at a second communication speed higher than the first communication speed .
前記処理部は、The processing unit is
前記第1ユーザモード又は前記第2ユーザモードのプログラムを前記記憶装置から読み出して実行し前記多重通信インタフェースを介した多重通信を実行し、前記通信先の装置から前記機種情報を再度受信し、前記セーフモードにおいて受信した前記機種情報と一致するか確認する、請求項1に記載の多重通信装置。 read the program of the first user mode or the second user mode from the storage device and execute it, execute multiplex communication via the multiplex communication interface, receive the model information again from the communication destination device, and 2. The multiplex communication device according to claim 1, wherein confirmation is made to see if the model information matches the received model information in safe mode.
前記処理部は、
コンフィグレーション情報に基づいて論理回路を構築するプログラマブル論理デバイスであり、
前記記憶装置は、
前記セーフモード、前記第1ユーザモード、及び前記第2ユーザモードの各々に対応する前記コンフィグレーション情報を、前記プログラムとして記憶し、
前記処理部は、
前記通信先の装置から前記機種情報を受信した後、前記機種情報に基づいて前記第1ユーザモード又は前記第2ユーザモードのプログラムを前記記憶装置から読み出して実行し、前記論理回路の再構築を実行し、前記多重通信インタフェースを介した多重通信の確立を実行する、請求項1又は請求項2に記載の多重通信装置。
The processing unit is
A programmable logic device that builds a logic circuit based on configuration information,
The storage device
storing the configuration information corresponding to each of the safe mode, the first user mode, and the second user mode as the program ;
The processing unit is
After receiving the model information from the communication destination device, the program for the first user mode or the second user mode is read from the storage device based on the model information and executed to reconstruct the logic circuit. 3. A multiplex communication device according to claim 1 or claim 2, wherein said multiplex communication interface performs establishment of multiplex communication via said multiplex communication interface.
前記通信先の装置は、The communication destination device includes:
データ出力装置及び前記データ出力装置の出力データを処理するデータ処理装置のうち一方の装置が接続され、前記一方の装置との間で第1通信プロトコルにより前記出力データを伝送し、 one of a data output device and a data processing device that processes output data from the data output device is connected, and the output data is transmitted to and from the one device using a first communication protocol;
前記多重通信装置は、 The multiplex communication device
前記データ出力装置及び前記データ処理装置のうち他方の装置が接続され、前記他方の装置との間で前記第1通信プロトコルより高速の第2通信プロトコルで前記出力データを伝送し、 the other of the data output device and the data processing device is connected, and the output data is transmitted between the other device and the other device using a second communication protocol that is faster than the first communication protocol;
前記処理部は、 The processing unit is
前記第1ユーザモードのプログラムを前記記憶装置から読み出して実行し前記第1通信速度の多重通信を実行する場合、前記第1通信速度の多重通信で前記一方の装置から受信した前記出力データについて、前記第1通信プロトコルから前記第2通信プロトコルに変換して前記他方の装置へ出力するプロトコル変換処理部を備える、請求項1乃至請求項3の何れか1項に記載の多重通信装置。 When the program of the first user mode is read from the storage device and executed to execute the multiplex communication at the first communication speed, the output data received from the one device in the multiplex communication at the first communication speed is: 4. The multiplex communication device according to claim 1, further comprising a protocol conversion processing unit that converts the first communication protocol into the second communication protocol and outputs the converted protocol to the other device.
請求項1乃至請求項4の何れか1項に記載の多重通信装置を備え、前記多重通信装置により作業に係わるデータを伝送する作業機。 A work machine comprising the multiplex communication device according to any one of claims 1 to 4 , wherein the multiplex communication device transmits data related to work. 前記多重通信装置を備える固定部と、
前記通信先の装置を備え、前記固定部に対して相対的に移動し、前記多重通信により送受信されるデータに基づいて作業を実行する可動部と、
を備える、請求項5に記載の作業機。
a fixed part comprising the multiplex communication device;
a movable part that includes the communication destination device, moves relative to the fixed part, and performs work based on the data transmitted and received by the multiplex communication;
The work machine according to claim 5 , comprising:
前記可動部は、
前記固定部に対して着脱可能に構成され、
前記処理部は、
前記可動部が交換された後の前記作業機のシステムの起動時において、前記セーフモードの前記プログラムを実行して前記セーフモードへ移行し、前記セーフモードにおいて前記第1ユーザモード又は前記第2ユーザモードの前記プログラムを選択して実行することで前記セーフモードから選択したユーザモードへ移行する、請求項6に記載の作業機。
The movable part is
configured to be detachable from the fixed portion ,
The processing unit is
When the system of the working machine is started after the movable part is replaced, the program of the safe mode is executed to shift to the safe mode, and in the safe mode, the first user mode or the second user mode is activated. 7. The work machine according to claim 6 , wherein the safe mode is shifted to a selected user mode by selecting and executing a program .
JP2021555627A 2019-11-11 2019-11-11 Multiplex communication device and work machine Active JP7222115B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/044096 WO2021095088A1 (en) 2019-11-11 2019-11-11 Multiplex communication device and working machine

Publications (2)

Publication Number Publication Date
JPWO2021095088A1 JPWO2021095088A1 (en) 2021-05-20
JP7222115B2 true JP7222115B2 (en) 2023-02-14

Family

ID=75911521

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021555627A Active JP7222115B2 (en) 2019-11-11 2019-11-11 Multiplex communication device and work machine

Country Status (2)

Country Link
JP (1) JP7222115B2 (en)
WO (1) WO2021095088A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016152585A (en) 2015-02-19 2016-08-22 株式会社東芝 Control device
WO2019082334A1 (en) 2017-10-26 2019-05-02 株式会社Fuji Multiplex device, robot, and method for switching connection of multiplex device
WO2019186635A1 (en) 2018-03-26 2019-10-03 株式会社Fuji Slave, work machine, and log information storage method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016152585A (en) 2015-02-19 2016-08-22 株式会社東芝 Control device
WO2019082334A1 (en) 2017-10-26 2019-05-02 株式会社Fuji Multiplex device, robot, and method for switching connection of multiplex device
WO2019186635A1 (en) 2018-03-26 2019-10-03 株式会社Fuji Slave, work machine, and log information storage method

Also Published As

Publication number Publication date
WO2021095088A1 (en) 2021-05-20
JPWO2021095088A1 (en) 2021-05-20

Similar Documents

Publication Publication Date Title
JP6866532B2 (en) How to store slave, work equipment, and log information
JP6461998B2 (en) Working machine
WO2020039544A1 (en) Moving work management device, moving work device, mounting system, and moving work management method
JP7222115B2 (en) Multiplex communication device and work machine
JP6400831B2 (en) Multiplexed communication system and work machine
JP2018042128A (en) Multiplex communication device and work machine
JP7209014B2 (en) work machine
JP6615018B2 (en) Multiplexed communication system and work machine
JPWO2018173279A1 (en) Data creation apparatus and data creation method
EP3742676B1 (en) Multiplexing device, working machine, and communication disconnection method
JP7199566B2 (en) Mounting device and work machine
JP7149342B2 (en) Optical communication device and work machine
WO2020100254A1 (en) Work machine and work system
WO2022259456A1 (en) Optical multiplex communication device, work machine, and communication method
KR20070095278A (en) Holder identifying apparatus, component supplying method and mounter
WO2021171549A1 (en) Work machine
JP2017045744A (en) Substrate production method
JP2021141444A (en) Work machine and work system
JP7111892B2 (en) Information processing device and work machine
JP6267709B2 (en) Multiplexing communication system for mounting machine and mounting machine
JP7279182B2 (en) work machine
CN105580324B (en) Control device
CN118176679A (en) Optical communication device, working machine, and communication method
JP2014036327A (en) Component mounting machine and component mounting machine control method
JP2006101130A (en) Manufacturing facilities

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221101

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230202

R150 Certificate of patent or registration of utility model

Ref document number: 7222115

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150