JPH10209700A - Method and machine for mounting electronic part - Google Patents

Method and machine for mounting electronic part

Info

Publication number
JPH10209700A
JPH10209700A JP9012609A JP1260997A JPH10209700A JP H10209700 A JPH10209700 A JP H10209700A JP 9012609 A JP9012609 A JP 9012609A JP 1260997 A JP1260997 A JP 1260997A JP H10209700 A JPH10209700 A JP H10209700A
Authority
JP
Japan
Prior art keywords
program
error
electronic component
data
mounting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9012609A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Hattori
芳幸 服部
Yasuhiro Azuma
恭寛 東
Hiroaki Kurata
浩明 倉田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP9012609A priority Critical patent/JPH10209700A/en
Publication of JPH10209700A publication Critical patent/JPH10209700A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Assembly (AREA)
  • Supply And Installment Of Electrical Components (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide means for correcting error of a data being used in the control of an electronic part mounting machine appropriately. SOLUTION: The electronic part mounting machine comprises a data editing section 2 for editing a program or a library being used in an electronic part mounting machine, a data converting section 3 for converting the operation of the machine into a controlling data, and an error notifying section 4 having means for evaluating the validity of a parameter value and a format belonging to a program or a library, indicating the content and the occurring position of error at a screen display section 1 when an error is determined and actuating the data editing section 2 in order to eliminate the cause of the error. Since the machine actuating the data editing section 2 directly, reliability is enhanced in the correction results of data and the operating rate of the machine is enhanced through simplification of the operation and shortening of the data correction time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電子部品実装方法
とその方法を用いた電子部品実装装置に関するものであ
り、特に電子部品実装装置における回路基板を生産する
ためのデータを与える各種プログラムの文法的内容およ
び整合性に起因するエラーの内容を通知することに関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic component mounting method and an electronic component mounting apparatus using the method, and more particularly to a grammar of various programs for providing data for producing a circuit board in the electronic component mounting apparatus. It is concerned with notifying the contents of an error caused by target content and consistency.

【0002】[0002]

【従来の技術】電子部品実装装置における従来の構成例
について、図4から図6に基づいて説明する。
2. Description of the Related Art A conventional configuration example of an electronic component mounting apparatus will be described with reference to FIGS.

【0003】図4は従来例の電子部品実装装置の外観を
示す斜視図である。図4において、20は装置の状態,プ
ログラムの内容を表示するための表示装置、21はデータ
を入力するためのキーボードなどを備えた入力装置、22
は電子部品を供給するためのテーブルであり、電子部品
を供給する治具(以下、カセットと記載する)の位置を識
別するための一意な番号(以下、Z番号と記載する)を持
つ。
FIG. 4 is a perspective view showing the appearance of a conventional electronic component mounting apparatus. In FIG. 4, reference numeral 20 denotes a display device for displaying the status of the apparatus and the contents of a program, 21 denotes an input device having a keyboard or the like for inputting data, 22
Is a table for supplying electronic components, and has a unique number (hereinafter, referred to as a Z number) for identifying the position of a jig (hereinafter, referred to as a cassette) for supplying the electronic components.

【0004】図5は回路基板を生産するために必要なプ
ログラムの種類およびそれらの関係を示した図である。
図5において、23は電子部品を実装する命令(命令ごと
にブロックと呼ぶ)を定義したものでNCプログラムと
呼ぶ。24はZ番号30に対して、その位置に配置されるカ
セットに搭載される電子部品の種類を定義したもので配
列プログラムと呼ぶ。ここで、NCプログラム23の各ブ
ロックにそれぞれZ番号を与えることにより、このNC
プログラムと配列プログラム24がZ番号30を介して関連
付けられ、ブロックに対して実装する電子部品の種類が
一意に決定される。25は電子部品の種類ごとに電子部品
の電気的特性によるタイプ,形状,供給方法を定義した
もので部品ライブラリと呼ぶ。この部品ライブラリ25に
おいて、電子部品の電気的特性によるタイプ,形状,供
給方法を一意的に識別する部品形状コード31をキーとし
て、配列プログラム24の各Z番号30にそれぞれ部品形状
コード31を与えることにより、配列プログラム24と部品
ライブラリ25が部品形状コード31を介して関連付けられ
る。26は、回路基板の回転方向のずれ量を補正するた
め、回路基板上の2点のマートを結んだ直線の傾きの算
出に際して、マークの相対的な位置を装置に教示させる
ために必要なマークの形状,性質を定義したものでマー
クライブラリと呼ぶ。このマークライブラリ26において
マークの形状,性質を一意的に識別するマーク形状コー
ド37をキーとして、NCプログラム23の各ブロックに補
正の種類に応じて適切なフォーマットでマーク形状コー
ド37が与えられ、NCプログラム23とマークライブラリ
26がマーク形状コード37を介して関連付けられる。
FIG. 5 is a diagram showing types of programs necessary for producing a circuit board and their relationships.
In FIG. 5, reference numeral 23 defines an instruction for mounting an electronic component (referred to as a block for each instruction) and is referred to as an NC program. Numeral 24 defines the type of electronic component mounted on the cassette placed at that position with respect to Z number 30, and is called an array program. Here, by assigning a Z number to each block of the NC program 23,
The program and the array program 24 are associated via the Z number 30, and the type of electronic component mounted on the block is uniquely determined. Reference numeral 25 defines a type, shape, and supply method based on the electrical characteristics of the electronic component for each type of electronic component, and is referred to as a component library. In the component library 25, the component shape code 31 is given to each Z number 30 of the array program 24, using the component shape code 31 that uniquely identifies the type, shape, and supply method based on the electrical characteristics of the electronic component as a key. Thereby, the array program 24 and the component library 25 are associated via the component shape code 31. 26 is a mark necessary to teach the apparatus the relative position of the mark when calculating the inclination of the straight line connecting the two marts on the circuit board to correct the amount of deviation in the rotation direction of the circuit board. This is defined as the mark library, which defines the shape and properties of In the mark library 26, a mark shape code 37 for uniquely identifying the shape and properties of the mark is used as a key, and the mark shape code 37 is given to each block of the NC program 23 in an appropriate format according to the type of correction. Program 23 and mark library
26 is associated via the mark shape code 37.

【0005】図6は前記プログラムの文法的構造の一部
であり、図6(a)はNCプログラム23の構造、図6(b)は
配列プログラム24の構造を示している。図6(a)におい
て、27はブロック番号であり、このまま電子部品を実装
する順序を示している。28は電子部品を実装する位置で
あり、X,Yの各座標値で表される2次元の位置座標を
示している。29はZ番号であり、図5に示すとおり配列
プログラム24を介して間接的に部品ライブラリ25に連結
され、実装位置28に実装されるべき電子部品の種類を指
定するためのパラメータである。図6(b)において、30
はZ番号であり、電子部品供給テーブル22において複数
用意されたカセットを配置する位置を識別する。31は対
応するZ番号30に配置されたカセットに搭載する電子部
品の種類を識別する部品形状コードであり、図5に示す
とおり部品ライブラリ25にて定義された部品形状コード
31と1対1に対応する。
FIG. 6 shows a part of the grammatical structure of the program. FIG. 6 (a) shows the structure of the NC program 23, and FIG. 6 (b) shows the structure of the array program 24. In FIG. 6A, reference numeral 27 denotes a block number, which indicates an order in which electronic components are mounted as they are. Reference numeral 28 denotes a position at which the electronic component is mounted, and indicates a two-dimensional position coordinate represented by each coordinate value of X and Y. Numeral 29 denotes a Z number, which is a parameter for specifying the type of electronic component to be mounted at the mounting position 28 indirectly connected to the component library 25 via the array program 24 as shown in FIG. In FIG. 6 (b), 30
Is a Z number, which identifies the position where a plurality of prepared cassettes are arranged in the electronic component supply table 22. Numeral 31 denotes a component shape code for identifying the type of electronic component to be mounted on the cassette arranged at the corresponding Z number 30, which is a component shape code defined in the component library 25 as shown in FIG.
One-to-one correspondence with 31.

【0006】以上のように構成された電子部品実装装置
において、図7から図9を参照しながら装置を動作させ
るためのデータへの変換に際してプログラムの誤りを発
見した場合、それをエラーとして通知し発生原因を解消
するためにプログラムを修正するまでの手続きについ
て、以下に説明する。
In the electronic component mounting apparatus configured as described above, if an error in a program is found when converting the data into data for operating the apparatus with reference to FIGS. 7 to 9, the error is notified as an error. The procedure for correcting the program to eliminate the cause of occurrence will be described below.

【0007】プログラムの誤りは大別して、パラメータ
値の範囲誤り,プログラムの文法誤り,プログラム間の
整合性誤りの3種類がある。パラメータ値の範囲誤り
は、各プログラムの各パラメータ値が予め装置が許容す
る範囲内で定義されていない状態を示す。図7はNCプ
ログラム23が持つ各パラメータ値の定義範囲を示したテ
ーブルであり、電子部品実装装置の種類,仕様によりそ
の定義範囲が異なる。図7において、32はパラメータの
最小値、33は最大値を示す。装置内または装置外の各プ
ログラムの編集機能においては、基本的にプログラムの
汎用性,互換性を優先させるため、電子部品実装装置の
種類,仕様によっては定められた定義範囲に含まれない
パラメータ値を持つプログラムを作成することが可能で
ある。このため装置の種類,仕様に応じたパラメータ値
の適合性の検証を行う必要がある。
[0007] Program errors are roughly classified into three types: parameter value range errors, program syntax errors, and program consistency errors. A parameter value range error indicates a state where each parameter value of each program is not defined in advance within the range permitted by the device. FIG. 7 is a table showing the definition range of each parameter value possessed by the NC program 23. The definition range differs depending on the type and specification of the electronic component mounting apparatus. In FIG. 7, 32 indicates the minimum value of the parameter, and 33 indicates the maximum value. In the editing function of each program inside or outside the device, in order to give priority to the versatility and compatibility of the program basically, parameter values that are not included in the defined range depending on the type and specifications of the electronic component mounting device It is possible to create a program with Therefore, it is necessary to verify the suitability of the parameter values according to the type and specification of the device.

【0008】プログラムの文法誤りは、各プログラムが
予め定められた文法規則にしたがった書式を持たない状
態を示す。図8は文法誤りがあるNCプログラム23の例
を示したものである。図8において、34は、回路基板上
のマークによる回転方向の補正を行うための指令コード
を指定する列であり、マーク補正指令コードと呼ぶ。ま
た35は、回路基板の対角線上に配置された2つのマーク
位置に基づき、回路基板全体の回転方向の補正を行う指
令コードを指定したブロックAを示し、マーク補正指令
ブロックAと呼ぶ。このマーク補正指令ブロックA35で
示された以外のブロックは通常の実装指令が与えられ
る。NCプログラム23の文法規則では、装置がNCプロ
グラムを先頭から順次処理を行うため、マークによる補
正指令のブロックは通常の実装ブロックよりも前に記述
するよう規定しているため、図8に示すNCプログラム
23はNCプログラム記述順序エラーと判断される。
A grammatical error in a program indicates a state in which each program does not have a format according to a predetermined grammatical rule. FIG. 8 shows an example of the NC program 23 having a syntax error. In FIG. 8, reference numeral 34 denotes a column for specifying a command code for correcting the rotation direction using a mark on the circuit board, and is referred to as a mark correction command code. Reference numeral 35 denotes a block A which designates a command code for correcting the rotation direction of the entire circuit board based on two mark positions arranged on a diagonal line of the circuit board, and is referred to as a mark correction command block A. Blocks other than the mark correction command block A35 are supplied with a normal mounting command. According to the grammar rules of the NC program 23, since the apparatus sequentially processes the NC program from the beginning, the block of the correction command by the mark is defined to be described before the normal mounting block. program
23 is determined to be an NC program description order error.

【0009】プログラム間の整合性誤りは、回路基板の
生産に際して選択されたプログラムの組み合わせにおい
て、図5に示した各プログラム間を関連付けるパラメー
タの参照先が特定化できない状態を示す。例えば図6
(a)に示すNCプログラム23の実装指令ブロック36が要
求するZ番号がZmの場合、図6(b)に示す同時に選択し
た配列プログラム24で、Zmに対応する部品形状コード3
1が定義されていなければ、実装指令ブロック36におい
て実装を行う電子部品の種類が特定化できない。同様に
配列プログラム24の中で記述されている部品形状コード
31が部品ライブラリ25の中で定義されていない場合など
も整合性誤りとしてエラーとなる。
An error in the consistency between the programs indicates a state in which the reference destination of the parameter relating to each program shown in FIG. 5 cannot be specified in the combination of the programs selected in the production of the circuit board. For example, FIG.
If the Z number requested by the mounting instruction block 36 of the NC program 23 shown in FIG. 6A is Zm, the part shape code 3 corresponding to Zm is obtained from the simultaneously selected array program 24 shown in FIG.
If 1 is not defined, the type of electronic component to be mounted in the mounting command block 36 cannot be specified. Similarly, the part shape code described in the array program 24
If the component 31 is not defined in the component library 25, an error occurs as a consistency error.

【0010】図9は電子部品実装装置を動作させるため
のデータへの変換に際してエラーとなった場合に、表示
装置20に表示される通知メッセージの例であり、これは
NCプログラム記述順序エラーを示している。前記した
パラメータ値の範囲誤りの場合、範囲誤りのメッセージ
とともに対象となったプログラムの名称,エラーの発生
箇所を表示する。操作者はこのメッセージを基に表示装
置20において対象となったプログラムの編集画面を起動
するメニューを選択し、編集画面の中でエラーの発生箇
所を探して、適切な値、書式になるよう修正する。修正
の結果は、再度電子部品実装装置を動作させるためのデ
ータへの変換を行うことにより確認する。
FIG. 9 shows an example of a notification message displayed on the display device 20 when an error occurs during the conversion into data for operating the electronic component mounting apparatus, which indicates an NC program description order error. ing. In the case of a parameter value range error, the name of the target program and the location of the error are displayed together with the range error message. The operator selects a menu for starting the edit screen of the target program on the display device 20 based on the message, finds the location where the error occurred in the edit screen, and corrects the appropriate value and format. I do. The result of the correction is confirmed by performing conversion to data for operating the electronic component mounting apparatus again.

【0011】[0011]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、エラーの発生後、操作者がエラーの発生
箇所を探すという工程が必然的に発生するため、エラー
の原因を解消し、回路基板の生産工程に復帰するまでに
ある程度の時間を要する。この工程は特に生産品種の切
り替えで新規に作成したプログラムを用いる、プログラ
ムの組み合わせを変更する場合などに多く発生し、結果
的に電子部品実装装置の稼働率を低下させる大きな要因
となる。
However, in the above-described configuration, after an error occurs, a step of searching for the location where the error occurs is inevitably performed by the operator. It takes some time to return to the production process. This step is frequently caused particularly when a newly created program is used for switching the product type, or when a combination of programs is changed. As a result, the operation rate of the electronic component mounting apparatus is greatly reduced.

【0012】また図9に示すようにエラーの通知メッセ
ージおよび発生箇所により、操作者がエラーの原因を正
しく理解し、適切な修正を行う支援を行ってはいるもの
の、直接的または間接的にエラーの発生原因となってい
る箇所を正確に指摘する手段を提供しているわけではな
く、最終的には操作者の試行錯誤による修正に依存する
ため、修正結果の保証がされず修正のための操作が効率
的でないという問題点を有していた。特にプログラム2
3,24間の整合性誤りの発生原因は、エラーの内容によ
っては複数のプログラム23,24、ライブラリ25,26を横
断的に参照しながら究明し、複数の該当箇所を修正する
必要があり、画面に表示されるエラーの発生箇所のみに
基づき操作者の意志でこれらの修正を行うことは、エラ
ーの修正手段として不十分であった。
[0012] Further, as shown in FIG. 9, although the error notification message and the location of the error allow the operator to correctly understand the cause of the error and assist in making an appropriate correction, the error is directly or indirectly performed. Does not provide a means to pinpoint the exact cause of the error, and ultimately depends on the operator's trial-and-error correction. There was a problem that the operation was not efficient. Especially program 2
Depending on the nature of the error, it is necessary to investigate the cause of the consistency error between 3 and 24 while referring to multiple programs 23 and 24 and libraries 25 and 26, and to correct multiple corresponding locations. Performing these corrections at will of the operator based only on the location of the error displayed on the screen has been insufficient as a means for correcting the error.

【0013】本発明は、上記従来の問題点を解決するも
ので、エラーの通知を行う画面の中からその原因となっ
たプログラムを修正するための編集画面を直接起動する
ための手段を備え、かつ編集画面の中で該当箇所を明示
するという一連の処理を行うための手段を提供すること
を目的とする。
The present invention solves the above-mentioned conventional problems, and comprises means for directly starting an editing screen for correcting a program causing the error from a screen for notifying an error, It is another object of the present invention to provide a means for performing a series of processing of clearly indicating a corresponding part in an editing screen.

【0014】[0014]

【課題を解決するための手段】本発明は、上記問題点を
解決し目的を達成するために、本発明の電子部品実装方
法におけるエラー通知は、回路基板上に実装する電子部
品の種類および実装順序に基づき、複数の品種を効率良
く生産するための電子部品の供給位置,電子部品をより
正確な位置に実装するための電子部品の属性などを与え
ることによる、回路基板の生産方法を定義するための各
種プログラムを作成するための編集機能と、前記プログ
ラムから回路基板を適切な実装位置に位置決めする直交
テーブルや電子部品を供給位置から実装位置へ移動させ
る電子部品保持部の動作を制御するためのデータを生成
する変換機能と、変換時に各プログラムに属するパラメ
ータ値の範囲,各プログラムの文法的内容およびプログ
ラムの組み合わせによる整合性を検証し、プログラムに
誤りが発見された場合にはエラーとしてその内容と発生
箇所を通知する表示機能を備える。
According to the present invention, in order to solve the above-mentioned problems and achieve the object, an error notification in the electronic component mounting method of the present invention is based on the type and mounting of the electronic component mounted on the circuit board. Based on the order, a circuit board production method is defined by giving a supply position of an electronic component for efficiently producing a plurality of types and an attribute of the electronic component for mounting the electronic component at a more accurate position. Editing function for creating various programs for controlling the operation of an orthogonal table for positioning a circuit board at an appropriate mounting position from the program and an electronic component holding unit for moving electronic components from a supply position to a mounting position. Conversion function that generates the data of each, the range of parameter values belonging to each program at the time of conversion, the grammatical content of each program, and the combination of programs The integrity verified by, when an error is detected in the program includes a display function for notifying the occurrence point and its contents as an error.

【0015】本発明によれば、エラーの発生原因となっ
たプログラムを正確かつ容易に修正できるよう操作者の
支援を行うとともに、修正作業に要する時間を可能な限
り短縮し、電子部品実装装置の稼働率向上を図るもので
ある。
According to the present invention, the operator is assisted so that the program causing the error can be corrected accurately and easily, and the time required for the correction operation is reduced as much as possible. The aim is to improve the operating rate.

【0016】[0016]

【発明の実施の形態】本発明は、画面表示部,データ編
集部,データ変換部,エラー通知部および装置制御部か
ら構成され、データ変換時に各プログラムに属するパラ
メータ値の範囲、各プログラムの文法的内容およびプロ
グラムの組み合わせによる整合性をエラー通知部におい
て検証し、プログラムに誤りが発見された場合にはエラ
ーとしてその内容と発生箇所をデータ編集部と画面表示
部とへ通知して、エラーの通知と同時にその発生箇所を
直ちに修正するとともに発生箇所を明示するという作用
を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention comprises a screen display unit, a data editing unit, a data conversion unit, an error notification unit, and a device control unit. The range of parameter values belonging to each program at the time of data conversion, the grammar of each program The error notification unit verifies the consistency of the combination of the target content and the program, and if an error is found in the program, notifies the data editing unit and screen display unit of the content and location of the error as an error, and At the same time as the notification, the occurrence location is immediately corrected and the occurrence location is specified.

【0017】以下、本発明の実施の形態について、図1
から図3および図8を用いて説明する。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
3 and FIG. 8 will be described.

【0018】(実施の形態1)図1は本発明の実施の形
態における電子部品実装方法と装置の処理構造を示すブ
ロック図である。図1において、1は画面表示部であ
り、メニューにより選択された各種機能における操作,
エラーの表示などを行う。2はデータ編集部であり、前
記図5に示した各プログラム23,24およびライブラリ2
5,26単位の編集画面から構成される。3はデータ変換
部であり、各プログラム種類の中で唯一選択されたプロ
グラムの組み合わせ、およびライブラリを電子部品実装
装置を動作させるために必要なデータセットに変換す
る。4はエラー通知部であり、データ変換部3において
発生したパラメータ値の範囲誤り、プログラムの文法誤
り、プログラム間の整合性誤りを検出し、画面表示部1
に対してエラーの内容と発生箇所の通知を行う。またエ
ラー通知部4はその画面の中から原因となったプログラ
ムを修正するための編集画面を直接起動するための手段
を備えており、操作者の指令によりデータ編集部2に対
して適切なプログラムまたはライブラリの編集画面を起
動するよう指示する。5は装置制御部であり、データ変
換部3で生成されたデータに基づき、回路基板を適切な
実装位置に位置決めする直交テーブルや電子部品を供給
位置から実装位置へ移動させる電子部品保持部の動作を
制御する。
(Embodiment 1) FIG. 1 is a block diagram showing a processing structure of an electronic component mounting method and apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a screen display unit for operating various functions selected by a menu.
Displays errors etc. Numeral 2 denotes a data editing unit, which stores the programs 23 and 24 and the library 2 shown in FIG.
It consists of 5, 26 units of editing screen. Reference numeral 3 denotes a data conversion unit that converts a combination of only one of the program types and a library into a data set necessary for operating the electronic component mounting apparatus. Reference numeral 4 denotes an error notification unit which detects a range error of a parameter value, a grammatical error of a program, and a consistency error between programs, which occur in the data conversion unit 3, and
Notify the contents of the error and the location where the error occurred. The error notifying unit 4 has means for directly starting an editing screen for correcting a program causing the error from the screen, and an appropriate program is sent to the data editing unit 2 by an instruction of the operator. Or, instruct the user to open the library edit screen. Reference numeral 5 denotes an apparatus control unit, which operates an orthogonal table for positioning a circuit board at an appropriate mounting position and an electronic component holding unit for moving electronic components from a supply position to a mounting position based on data generated by the data conversion unit 3. Control.

【0019】図2は本発明の実施の形態におけるエラー
通知を実現するための手続きを示すフローチャートであ
る。図2において、回路基板生産のための準備段階とし
て、初めに各プログラム,ライブラリの編集を行う(ス
テップ#1)。次に各プログラム種別から1つずつプロ
グラムを選択することにより組み合わせを作成し(ステ
ップ#2)、これらを装置の動作を制御するためのデー
タに変換する(ステップ#3)。このステップにおいてプ
ログラムに属するパラメータに与えられている値の評
価、プログラムの構文解析を同時に行い、予め定義され
ているパラメータ値の定義範囲、および正常な書式パタ
ーンに合致しているかを検証する(ステップ#4)。ここ
でエラーと判断されたプログラムの組み合わせにおい
て、エラーの直接的な原因となった箇所をエラーの原因
および各プログラム間、プログラムとライブラリ間を連
結するパラメータの評価から特定化(原因解析)し(ステ
ップ#5)、発生箇所を直ちに修正できるように、エラ
ーの表示画面から該当するプログラムまたはライブラリ
の編集画面を直接起動する(ステップ#6)。ステップ#
4において正常なプログラム,ライブラリおよびその組
み合わせと判断された場合には、装置側へそれらのデー
タを転送する(ステップ#7)。
FIG. 2 is a flowchart showing a procedure for realizing an error notification according to the embodiment of the present invention. In FIG. 2, as a preparation stage for circuit board production, first, each program and library are edited (step # 1). Next, a combination is created by selecting one program at a time from each program type (step # 2), and these are converted into data for controlling the operation of the apparatus (step # 3). In this step, the evaluation of the value given to the parameter belonging to the program and the syntax analysis of the program are performed at the same time, and the definition range of the parameter value defined in advance and the conformity with the normal format pattern are verified (step # 4). Here, in the combination of programs determined to be errors, the part that directly caused the error is specified (evaluation of the cause) by evaluating the cause of the error and the parameters that link between each program and between the program and the library. In step # 5), an edit screen for the corresponding program or library is started directly from the error display screen so that the location of occurrence can be corrected immediately (step # 6). Step #
If it is determined in step 4 that the program and library are normal and the combination thereof, the data is transferred to the apparatus (step # 7).

【0020】図3は図2のステップ#6において画面に
表示されるエラー通知の例であり、これはNCプログラ
ム記述順序エラーを示している。図3において、13は編
集画面を起動するためのボタンである。このボタン13の
押下により、表示されているエラーの発生原因となった
プログラムの編集画面が直接起動し、さらにエラーの発
生箇所を編集画面中で明示する。操作者はその表示を目
印にしてプログラムまたはライブラリを編集し、エラー
の発生原因を解消する。
FIG. 3 is an example of an error notification displayed on the screen in step # 6 of FIG. 2, which indicates an NC program description order error. In FIG. 3, reference numeral 13 denotes a button for starting an editing screen. When the button 13 is pressed, the displayed editing screen of the program that has caused the error is directly activated, and further, the location where the error has occurred is specified in the editing screen. The operator edits the program or library using the display as a mark to eliminate the cause of the error.

【0021】図8は図3を例として示したエラー通知の
画面から直接起動したNCプログラムの編集画面であ
る。前記のように、マーク補正指令ブロックA35に示し
た回路基板全体の回転方向の補正を行う指令コードを持
つブロックは、通常の実装ブロックよりも前に記述され
なくてはならないため、操作者は編集機能によりマーク
補正指令ブロックA35をNCプログラム23の先頭に移動
させるなどして、本エラーに対する修正を行う。
FIG. 8 shows an NC program editing screen directly started from the error notification screen shown in FIG. 3 as an example. As described above, since the block having the command code for correcting the rotation direction of the entire circuit board shown in the mark correction command block A35 must be described before the normal mounting block, the operator can edit the block. This error is corrected by moving the mark correction command block A35 to the head of the NC program 23 by the function.

【0022】[0022]

【発明の効果】以上説明したように本発明によれば、エ
ラーの通知と同時にその発生箇所を直ちに修正できるよ
うに該当するプログラムの編集機能を起動し、かつ発生
箇所を明示することにより、エラーの発生原因となった
プログラムまたはライブラリを正確に修正できるため、
プログラムまたはライブラリの信頼性、保全性が保持さ
れる。また操作者にとってはエラーの発生原因となった
箇所が確実に示されるため、操作が画一化、単純化され
容易性が増す。これにより、回路基板の生産品種の切り
替えに際して発生する準備作業に要する時間が短縮化さ
れ、電子部品実装装置の稼働率を向上させることができ
る。
As described above, according to the present invention, the error is notified by activating the editing function of the corresponding program so as to immediately correct the location where the error occurred, and specifying the location where the error occurred. The exact program or library that caused it,
The reliability and integrity of the program or library are maintained. For the operator, since the location that caused the error is reliably shown, the operation is standardized and simplified, and the operability is increased. As a result, the time required for the preparation work that occurs when switching the production type of the circuit board is reduced, and the operation rate of the electronic component mounting apparatus can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態における電子部品実装方法
と装置の処理構造を示すブロック図である。
FIG. 1 is a block diagram illustrating a processing structure of an electronic component mounting method and apparatus according to an embodiment of the present invention.

【図2】本発明の実施の形態におけるエラー通知を実現
するための手続きを示すフローチャートである。
FIG. 2 is a flowchart illustrating a procedure for realizing an error notification according to the embodiment of the present invention.

【図3】本発明の実施の形態におけるNCプログラムの
文法誤りを通知するエラー表示画面の例である。
FIG. 3 is an example of an error display screen for notifying a syntax error of an NC program according to the embodiment of the present invention.

【図4】従来例の電子部品実装装置の外観を示す斜視図
である。
FIG. 4 is a perspective view showing the appearance of a conventional electronic component mounting apparatus.

【図5】回路基板を生産するために必要なプログラムの
種類およびそれらの関係を示す図である。
FIG. 5 is a diagram showing types of programs necessary for producing a circuit board and their relationships.

【図6】回路基板を生産するために必要なプログラムの
文法的構造の一部を示す図である。
FIG. 6 is a diagram showing a part of a grammatical structure of a program necessary for producing a circuit board.

【図7】NCプログラムが持つ各パラメータ値の定義範
囲を示したテーブルである。
FIG. 7 is a table showing a definition range of each parameter value possessed by the NC program.

【図8】文法誤りがあるNCプログラムの例を示した図
である。
FIG. 8 is a diagram showing an example of an NC program having a syntax error.

【図9】従来のNCプログラムの文法誤りを通知するエ
ラー表示画面の例である。
FIG. 9 is an example of an error display screen for notifying a syntax error of a conventional NC program.

【符号の説明】[Explanation of symbols]

1…画面表示部、 2…データ編集部、 3…データ変
換部、 4…エラー通知部、 5…装置制御部、 13…
編集画面を起動するためのボタン、 20…装置の状態、
プログラムの内容を表示するための表示装置、 21…デ
ータを入力するためのキーボードなどに備えた入力装
置、 22…電子部品を供給するためのテーブル、 23…
NCプログラム、 24…配列プログラム、 25…部品ラ
イブラリ、26…マークライブラリ、 27…NCプログラ
ムのブロック番号、 28…NCプログラムの実装位置
(位置座標)、 29…NCプログラムのZ番号、 30…配
列プログラムのZ番号、 31…配列プログラムの部品形
状コード、 32…NCプログラムに属するパラメータの
最小値、 33…NCプログラムに属するパラメータの最
大値、 34…NCプログラムのマーク補正指令コード、
35…NCプログラムのマーク指令ブロックA、 36…
NCプログラムの実装指令ブロック、 37…マーク形状
コード。
DESCRIPTION OF SYMBOLS 1 ... Screen display part, 2 ... Data edit part, 3 ... Data conversion part, 4 ... Error notification part, 5 ... Device control part, 13 ...
Button to launch the edit screen, 20… device status,
A display device for displaying the contents of the program; 21 an input device provided with a keyboard or the like for inputting data; 22 a table for supplying electronic components;
NC program, 24: Array program, 25: Component library, 26: Mark library, 27: Block number of NC program, 28: Mounting position of NC program
(Position coordinates), 29: Z number of NC program, 30: Z number of array program, 31: Part shape code of array program, 32: Minimum value of parameters belonging to NC program, 33: Maximum value of parameters belonging to NC program Value, 34 ... mark correction command code of NC program,
35 ... Mark command block A of NC program, 36 ...
NC program mounting command block, 37 ... mark shape code.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 回路基板上に実装する電子部品の種類お
よび実装順序に基づき、複数の品種を効率良く生産する
ための電子部品の供給位置、電子部品をより正確な位置
に実装するための電子部品の属性などを与えることによ
る、回路基板の生産方法を定義するための各種プログラ
ムを作成するための編集機能と、前記プログラムから回
路基板を適切な実装位置に位置決めする直交テーブルや
電子部品を供給位置から実装位置へ移動させる電子部品
保持部の動作を制御するためのデータを生成する変換機
能と、変換時に各プログラムに属するパラメータ値の範
囲、各プログラムの文法的内容およびプログラムの組み
合わせによる整合性を検証し、プログラムに誤りが発見
された場合にはエラーとしてその内容と発生箇所を通知
する表示機能を備えたことを特徴とする電子部品実装方
法。
An electronic component supply position for efficiently producing a plurality of types and an electronic component for mounting the electronic component at a more accurate position based on the type and the mounting order of the electronic components mounted on the circuit board. An editing function for creating various programs for defining a circuit board production method by giving component attributes and the like, and an orthogonal table and electronic components for positioning the circuit board at an appropriate mounting position from the program are supplied. A conversion function that generates data for controlling the operation of the electronic component holding unit that moves from position to mounting position, the range of parameter values belonging to each program at the time of conversion, the grammatical content of each program, and the consistency by combining programs Has a display function that verifies program errors and, if an error is found in the program, notifies the content and location of the error as an error. An electronic component mounting method, characterized in that:
【請求項2】 請求項1記載の電子部品実装方法を用い
た電子部品実装装置。
2. An electronic component mounting apparatus using the electronic component mounting method according to claim 1.
JP9012609A 1997-01-27 1997-01-27 Method and machine for mounting electronic part Pending JPH10209700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9012609A JPH10209700A (en) 1997-01-27 1997-01-27 Method and machine for mounting electronic part

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9012609A JPH10209700A (en) 1997-01-27 1997-01-27 Method and machine for mounting electronic part

Publications (1)

Publication Number Publication Date
JPH10209700A true JPH10209700A (en) 1998-08-07

Family

ID=11810115

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9012609A Pending JPH10209700A (en) 1997-01-27 1997-01-27 Method and machine for mounting electronic part

Country Status (1)

Country Link
JP (1) JPH10209700A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003110295A (en) * 2001-09-28 2003-04-11 Sanyo Electric Co Ltd Component assembly device
JP2010199451A (en) * 2009-02-27 2010-09-09 Yamaha Motor Co Ltd Installed data creation assisting apparatus and part-mounting apparatus
JP2011166097A (en) * 2010-02-15 2011-08-25 Fuji Mach Mfg Co Ltd Nc data transmission method
CN109152328A (en) * 2017-06-19 2019-01-04 松下知识产权经营株式会社 Installation base plate manufacture system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003110295A (en) * 2001-09-28 2003-04-11 Sanyo Electric Co Ltd Component assembly device
JP2010199451A (en) * 2009-02-27 2010-09-09 Yamaha Motor Co Ltd Installed data creation assisting apparatus and part-mounting apparatus
JP2011166097A (en) * 2010-02-15 2011-08-25 Fuji Mach Mfg Co Ltd Nc data transmission method
CN109152328A (en) * 2017-06-19 2019-01-04 松下知识产权经营株式会社 Installation base plate manufacture system
CN109152328B (en) * 2017-06-19 2020-10-30 松下知识产权经营株式会社 Mounting substrate manufacturing system

Similar Documents

Publication Publication Date Title
JPH03100807A (en) Nc data forming device for interactive packaging machine
JPH10209700A (en) Method and machine for mounting electronic part
US4978901A (en) Machining data forming system for numerical control device
US11577334B2 (en) Soldering apparatus, computer-readable medium, and soldering method
JPH0991017A (en) Device for confirming robot operation route
JP2002288256A (en) Display method and device for circuit board loading state
JP2002169604A (en) Operation instruction system
JPH07160759A (en) Method and device for generating parts library for printed board design
JP3229101B2 (en) Printed circuit board manufacturing apparatus and method
JPH11234000A (en) Component mounting simulation method and component mounting simulator
JP3828965B2 (en) Component mounting equipment
KR100258619B1 (en) Method for verifying a mounting data of equipment
JP3083706B2 (en) Error detection method for offline teaching data
JP3660038B2 (en) Numerical controller
JPH09326597A (en) Data generating method and electronic component mounting apparatus provided with data generation function based on such method
JP2621506B2 (en) Trim data generation method
JP3564721B2 (en) CAD / CAM equipment
JPH10256797A (en) Part assembling method and its apparatus
JP2533373B2 (en) Control program creation method
JP2773515B2 (en) CAD / CAM equipment for electric discharge machine
JPH05150824A (en) Operating state confirming method for robot
JPH0346007A (en) Nc information generation system
JPH06202906A (en) Nc program editing device
JPH0239207A (en) Robot controller containing improving function for robot action properties
JPH10161724A (en) Numerical controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060308

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060530

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061017