JPH01118904A - Controller for automatic machine - Google Patents
Controller for automatic machineInfo
- Publication number
- JPH01118904A JPH01118904A JP62277215A JP27721587A JPH01118904A JP H01118904 A JPH01118904 A JP H01118904A JP 62277215 A JP62277215 A JP 62277215A JP 27721587 A JP27721587 A JP 27721587A JP H01118904 A JPH01118904 A JP H01118904A
- Authority
- JP
- Japan
- Prior art keywords
- program
- user
- basic
- basic program
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000010586 diagram Methods 0.000 description 3
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000005452 bending Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 210000000078 claw Anatomy 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Supply And Installment Of Electrical Components (AREA)
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、半導体素子、抵抗器、コンデンサ。[Detailed description of the invention] [Industrial application field] The present invention relates to semiconductor elements, resistors, and capacitors.
IC等の電気部品を基板に挿入し、実装するためのイン
サータ/マウンタ等の自動機械の制御装置に関し、特に
自動機械に対する命令言語の解釈・実行手段の改良に関
する。The present invention relates to a control device for an automatic machine such as an inserter/mounter for inserting and mounting electric components such as an IC on a board, and particularly relates to improving a means for interpreting and executing a command language for the automatic machine.
電子機器に搭載される電子回路ユニットには、多数の半
導体素子、抵抗器、コンデンサ、IC等の電気部品が実
装されている。2. Description of the Related Art An electronic circuit unit installed in an electronic device includes a large number of electrical components such as semiconductor elements, resistors, capacitors, and ICs.
これらの電気部品をプリント配線基板に組み込む作業に
は、専用機械が用いられている。この作業に用いられる
専用機械を、インサータ/マウンタと呼んでいる。ここ
で、インサータは、部品を基板の孔に挿入するだけの機
能を有するものであり、マウンタは、さらに、足のない
部品を基板上に位置決めして乗せる機能を有するものを
いう。Specialized machines are used to incorporate these electrical components into printed wiring boards. The specialized machine used for this work is called an inserter/mounter. Here, the inserter has the function of simply inserting a component into a hole in the board, and the mounter has the function of positioning and mounting a component without legs on the board.
このインサータ/マウンタは、マニピュレータとその制
御装置とからなっており、マニピュレータで部品をつか
み、予め指定された位置に移動し、電気部品の端子をプ
リント配線基板の孔に挿入する作業を、所定の手順にし
たがって行う。This inserter/mounter consists of a manipulator and its control device.The manipulator grasps the component, moves it to a prespecified position, and inserts the terminal of the electrical component into the hole in the printed wiring board. Follow the steps.
ところで、インサータ/マウンタの制御をつかさどるマ
イクロコンピュータの言語の各命令は、従来のものでは
、部品指定及びその装入位置指定と、その他の指定、例
えば挿入方向や部品足曲げ方向等の指定とからなってい
る。このうち、特に「その他の指定」は、インサータ/
マウンタの機種や挿入しようとする部品の種類によって
異なる。By the way, in the conventional system, each instruction in the language of the microcomputer that controls the inserter/mounter is divided into component designation, its insertion position designation, and other designations, such as the insertion direction and component leg bending direction. It has become. Of these, "other specifications" are particularly important for inserters/
It depends on the mounter model and the type of parts you are trying to insert.
従来においては、このユーザによって異なる指定動作の
相違により、第2図に示すように、プログラム変換器の
異なるものを専用機として提供していた。Conventionally, due to the difference in designated operations depending on the user, different program converters have been provided as dedicated machines, as shown in FIG.
すなわち、第2図(a)の例では、ユーザ記述プログラ
ム21は、パーツ番号P、X座標、Y座標のほかに、そ
の他の指定りとして、パーツの厚みを指定したものであ
る。このユーザ記述プログラム21は制御装置22内の
プログラム格納部23に取り込まれ、プログラム格納域
24に格納される。そして、作業順序に従ってステート
メントを取り出し、これをプログラム変換器25でメカ
ニズムへの指令に変換し、インサータ/マウンタ及び周
辺機器26に指令として出力する。That is, in the example shown in FIG. 2(a), the user-written program 21 specifies the thickness of the part in addition to the part number P, the X coordinate, and the Y coordinate. This user-written program 21 is taken into the program storage section 23 in the control device 22 and stored in the program storage area 24. Then, the statements are extracted in accordance with the work order, converted into commands for the mechanism by the program converter 25, and output as commands to the inserter/mounter and peripheral equipment 26.
また、第2図(社)の例では、ユーザ記述プログラム3
1は、パーツ番号P、、X座標、Y座標のほかに、その
他の指定りとして、インサータ/マウンタのマニピュレ
ータの手首回転指令を指定したものである。このユーザ
記述プログラム31は制御装置32内のプログラム格納
部33に取り込まれ、プログラム格納域34に格納され
る。そして、作業順序1″:、従ってステートメントを
取り出し、これをプログラム変換器35でメカニズムへ
の指令に変換し、インサータ/マウンタ及び周辺機器3
6に指令として出力する。In addition, in the example of FIG. 2 (company), the user-written program 3
1 specifies the wrist rotation command of the inserter/mounter manipulator in addition to the part number P, the X coordinate, and the Y coordinate. This user-written program 31 is taken into the program storage section 33 in the control device 32 and stored in the program storage area 34. Then, work order 1'': Therefore, the statement is extracted and converted into a command to the mechanism by the program converter 35, and the inserter/mounter and peripheral device 3
6 as a command.
この第2図の(a)とら)の例を比較しても分かるよう
に、従来は、ユーザ記述プログラム21.31をプログ
ラム変換器25.35が直接解釈、実行するため、ユー
ザ記述プログラム21.31のオペランドDの意味が異
なるユーザ言語に対しては、別のプログラム変換器25
.35が必要となる。As can be seen by comparing the example in (a) of FIG. 2, conventionally, the user-written program 21.31 is directly interpreted and executed by the program converter 25.35, so that the user-written program 21.31 is directly interpreted and executed by the program converter 25.35. For user languages in which the meaning of operand D of 31 is different, another program converter 25 is used.
.. 35 is required.
このように、従来の手法を用いた場合、ユーザのニーズ
が多種多様になるにしたがい、オペランドの意味やオペ
ランド数の異なるプログラム変換器を増やす必要があり
、多種多様なニーズへの対応が困難になる。In this way, when using conventional methods, as user needs become more diverse, it becomes necessary to increase the number of program converters with different meanings and numbers of operands, making it difficult to respond to a wide variety of needs. Become.
本発明は、このような実情に鑑みてなされたものであり
、ユーザへのシステム提供の作業を軽減することを目的
とする。The present invention has been made in view of the above circumstances, and an object of the present invention is to reduce the work involved in providing a system to users.
この目的を達成するため、本発明の自動機械の制御装置
は、基本プログラムを入力し、制御装置内の記憶部に格
納する格納手段と、ユーザ記述プログラムと基本プログ
ラムとを結合する結合手段と、この結合手段によって結
合されたプログラムを解釈・実行するプログラム変換手
段とを備えたことを特徴とする。To achieve this object, the automatic machine control device of the present invention includes a storage means for inputting a basic program and storing it in a storage section within the control device, a coupling means for coupling the user-written program and the basic program, The present invention is characterized by comprising a program converting means for interpreting and executing the program combined by the combining means.
以下、本発明を、実施例に基づいて具体的に説明する。 Hereinafter, the present invention will be specifically explained based on Examples.
第1図は、本発明によるインサータ/マウンタの制御を
実施するためのブロック図である。図中、1はユーザ記
述プログラム、2は基本プログラム、3は制御装置を示
している。FIG. 1 is a block diagram for implementing inserter/mounter control according to the present invention. In the figure, 1 indicates a user-written program, 2 a basic program, and 3 a control device.
本発明の実施例として、数種類の部品の挿入作業を示す
。As an example of the present invention, inserting operations of several types of parts are shown.
まず、パーツ毎にその動作を記述した基本プログラム2
を予め制御装置3内の基本プログラム格納器4に格納じ
たシステムをユーザに提供する。First, a basic program 2 that describes the operation of each part.
A system is provided to the user in which the basic program storage unit 4 in the control device 3 stores the following information in advance.
この基本プログラムは、どこのパーツフィーダからどの
ような手順でパーツをとり、ユーザ記述プログラム1で
指定された基板位置にパーツを挿入するということを記
述している。その例を次に示す。基本プログラム2は、
制御装置3内の基本プログラム格納域5に格納される。This basic program describes how to take a part from which part feeder and in what procedure, and insert the part into the board position specified by the user-written program 1. An example is shown below. Basic program 2 is
It is stored in the basic program storage area 5 in the control device 3.
基本プログラム例I
POIO’(パーツ10に対応するプログラム)注:■
は、パーツフィーダからパーツをとるというプログラム
。Basic program example I POIO' (program corresponding to part 10) Note:■
is a program that takes parts from a parts feeder.
■ 八〇〇 〇=変数 S=$D 注:■は、パーツを基板に挿入するというプログラム。■ 800 〇=Variable S=$D Note: ■ is a program that inserts parts into the board.
例2 基本プログラム例2
POIO(パーツ10に対するプログラム)MOV
X=100.OY=100.0注:■はマニピュレータ
の爪を回転させてパーツの割り出し処理を行うプログラ
ム。Example 2 Basic program example 2 POIO (program for part 10) MOV
X=100. OY=100.0 Note: ■ is a program that rotates the manipulator claw to index parts.
ユーザは、基板のどこにどのパーツを挿入するかを、ユ
ーザ言語を用いてユーザ記述プログラム1を作成する。The user creates a user-written program 1 using a user language to determine which parts should be inserted where on the board.
これを制御装置3内のプログラム格納器6を介してプロ
グラム格納域7に格納し、これに起動を指令する。プロ
グラム変換部8では、ステップ81として示すように、
プログラム格納域7に格納されたユーザ記述プログラム
からステートメントを取り出し、ステップ82で基本プ
ログラム格納域5に格納されているパーツ番号に対応す
る基本プログラムを結合し、ステップ83で基本プログ
ラムの指令を順次取り出し、実行する。この際、ユーザ
記述プログラムのステートメントで指定されたオペラン
ドが、基本プログラムに引き渡されるため、前記の基本
プログラーム例1のMOV。This is stored in the program storage area 7 via the program storage 6 in the control device 3, and is commanded to start. In the program converter 8, as shown in step 81,
The statements are retrieved from the user-written program stored in the program storage area 7, the basic program corresponding to the part number stored in the basic program storage area 5 is combined in step 82, and the commands of the basic program are sequentially retrieved in step 83. ,Execute. At this time, the operand specified by the statement of the user-written program is passed to the basic program, so the MOV of the basic program example 1 described above.
X=#X、Y=#Yを実行するとき、ユーザの所定の位
置に動くよう、インサータ/マウンタ及び周辺機器9に
指令を出す。When executing X=#X, Y=#Y, a command is issued to the inserter/mounter and peripheral device 9 to move to the user's predetermined position.
ユーザ言語で、指定されたオペランドを基本プログラム
でどのように使うかによって、割り出しCに用いたり、
パーツ挿入の深さ調整りに用いることができる。Depending on how the specified operand is used in the basic program in the user language, it can be used for indexing C,
It can be used to adjust the depth of parts insertion.
以上に説明したように、本発明においては、制御装置内
の記憶部に、ユーザ記述プログラムと基本プログラムと
を結合する結合手段と、この結合手段によって結合され
たプログラムを解釈・実行するプログラム変換手段とを
備えている。これにより、ユーザは、プログラムの変更
を、基本プログラムを変更するだけで行うことが可能と
なる。As explained above, in the present invention, the storage unit in the control device includes a combining means for combining a user-written program and a basic program, and a program converting means for interpreting and executing the program combined by the combining means. It is equipped with This allows the user to change the program by simply changing the basic program.
したがって、ユーザへのシステム提供において、ユーザ
のニーズに応じて、簡単に基本プログラムを格納するだ
けで、対応することができる。また基本プログラムを変
更することにより、新たなユーザ言語を構築することが
できる。Therefore, when providing a system to users, it is possible to meet the needs of the users by simply storing the basic program. Furthermore, by changing the basic program, a new user language can be created.
第1図は本発明の実施例の構成を示すブロック図、・第
2図は従来の制御装置の例を示すブロック図である。
1;ユーザ記述プログラム
2:基本プログラム
3:制御装置
4:基本プログラム格納器
5:基本プログラム格納域
6:プログラム格納部
7:プログラム格納域
8ニブログラム変換部FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing an example of a conventional control device. 1; User written program 2: Basic program 3: Control device 4: Basic program storage 5: Basic program storage area 6: Program storage section 7: Program storage area 8 Niprogram conversion section
Claims (1)
納する格納手段と、ユーザ記述プログラムと基本プログ
ラムとを結合する結合手段と、この結合手段によって結
合されたプログラムを解釈・実行するプログラム変換手
段とを備えたことを特徴とする自動機械の制御装置。1. A storage means for inputting a basic program and storing it in a storage section in the control device, a combining means for combining the user-written program and the basic program, and a program converting means for interpreting and executing the combined program by the combining means. A control device for an automatic machine characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62277215A JPH01118904A (en) | 1987-10-31 | 1987-10-31 | Controller for automatic machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62277215A JPH01118904A (en) | 1987-10-31 | 1987-10-31 | Controller for automatic machine |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01118904A true JPH01118904A (en) | 1989-05-11 |
Family
ID=17580417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62277215A Pending JPH01118904A (en) | 1987-10-31 | 1987-10-31 | Controller for automatic machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01118904A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012134341A (en) * | 2010-12-22 | 2012-07-12 | Panasonic Corp | Component mounting apparatus and component mounting method |
-
1987
- 1987-10-31 JP JP62277215A patent/JPH01118904A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012134341A (en) * | 2010-12-22 | 2012-07-12 | Panasonic Corp | Component mounting apparatus and component mounting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7302676B2 (en) | Method for debugging flowchart programs for industrial controllers | |
JPS61194507A (en) | Nc data producer for loading device | |
JPH01118904A (en) | Controller for automatic machine | |
CN110788497A (en) | Intelligent punching method for laser cutting and laser cutting equipment | |
JPS6131377U (en) | Sewing machine input device | |
JP3229101B2 (en) | Printed circuit board manufacturing apparatus and method | |
JPH03126102A (en) | Device and method for robot control | |
KR100258619B1 (en) | Method for verifying a mounting data of equipment | |
JP3006639B2 (en) | Method of deciding component placement in component supply unit of automatic mounting machine | |
JP4056121B2 (en) | Component mounting method | |
JPS6175600A (en) | Method of assembling and producing printed substrate | |
JPS6176236A (en) | Automatic assembling method of electronic parts by assembly robot | |
Fraser | UNIX Time‐Sharing System: Circuit Design Aids | |
JP2834843B2 (en) | Electronic component mounting device | |
JPH07105640B2 (en) | Parts mounting order setting method | |
JPH0544706B2 (en) | ||
JPH0695292B2 (en) | Cassette layout optimization method for NC mounter | |
JPH05173621A (en) | Controller for automatic assembling machine | |
JPH0147819B2 (en) | ||
JPS6292493A (en) | Automatic inserter of electronic part | |
JPH05250441A (en) | Wiring designing method | |
JPH08123533A (en) | Substrate mount data preparing device | |
JPH03178200A (en) | Method for mounting parts of electronic parts mounting device | |
JPH01283673A (en) | Circuit wiring information generating system | |
JPS62120962A (en) | Job scheduling method |