JPH0588709A - Design back-up device for control software of machanical device - Google Patents
Design back-up device for control software of machanical deviceInfo
- Publication number
- JPH0588709A JPH0588709A JP24928491A JP24928491A JPH0588709A JP H0588709 A JPH0588709 A JP H0588709A JP 24928491 A JP24928491 A JP 24928491A JP 24928491 A JP24928491 A JP 24928491A JP H0588709 A JPH0588709 A JP H0588709A
- Authority
- JP
- Japan
- Prior art keywords
- data
- input
- selection
- standard product
- unit
- 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.)
- Withdrawn
Links
Landscapes
- Control By Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は機械装置の制御用ソフト
ウェア設計支援装置に関し、特に産業用ロボットを製作
する場合に適用して有用なものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a machine control software design support apparatus, and is particularly useful when applied to an industrial robot.
【0002】[0002]
【従来の技術】例えば原子力発電所の保守点検用ロボッ
トを製作する場合、このロボットの設計者は、ロボット
の要求仕様を基にロボットのハードの設計を行ない、必
要な駆動対象(モータ、電磁弁、リレー等)、この駆動
対象を駆動する駆動装置(アンプ等)及び制御装置のイ
ンターフェースとなる入出力ボードを決定する。2. Description of the Related Art For example, when manufacturing a maintenance / inspection robot for a nuclear power plant, the designer of the robot designs the hardware of the robot based on the required specifications of the robot, and drives the necessary drive target (motor, solenoid valve). , A relay, etc.), a drive unit (amplifier, etc.) for driving this drive target, and an input / output board that is an interface of the control unit.
【0003】この決定は、従来、設計者がカタログ等を
調査し、この調査結果に基づいて行なう。制御装置の設
計も同様に行ない、操作機器及びインターフェース用の
入出力ボード、通信仕様、通信ボード等を決定する。そ
して、これらの決定に基づきハードウェアの構成図を描
く。[0003] Conventionally, this decision is made by the designer based on the result of the investigation of the catalog or the like. The control device is designed in the same way, and the input / output boards for the operation equipment and interface, communication specifications, communication boards, etc. are determined. Then, a hardware configuration diagram is drawn based on these decisions.
【0004】ハードウェアの仕様が決定すると、入出力
インターフェース部の詳細を決定する。具体的には、入
出力ボードのどのボードに、どのアクチュエータ(駆動
装置等)への出力や、センサからの入力等を割り当てる
かを決定する。すなわち、ポートマップ表を作成する。
かくして、制御ソフトウェアとのインターフェースをと
る変数を決定する。すなわち、データテーブルを作成す
る。When the hardware specifications are decided, the details of the input / output interface section are decided. Specifically, it is determined which of the input / output boards is to be assigned to which actuator (driving device, etc.) an output, an input from a sensor, or the like. That is, a port map table is created.
Thus, the variables that interface with the control software are determined. That is, a data table is created.
【0005】図13は、上述の如き手順により設計する
機械装置の構成例を示すブロック線図である。同図中、
1は基板によって形成される制御装置、2は駆動装置で
あるアンプ、3は駆動対象であるモータ、4は検出器で
あるセンサ、5はスイッチ、6は操作器、7は制御装置
1と通信を行なう上位計算機である。FIG. 13 is a block diagram showing a structural example of a mechanical device designed by the above-mentioned procedure. In the figure,
1 is a control device formed by a substrate, 2 is an amplifier which is a drive device, 3 is a motor which is an object to be driven, 4 is a sensor which is a detector, 5 is a switch, 6 is an operating device, 7 is communication with the control device 1. It is a high-level computer that performs.
【0006】上記機械装置において、制御装置1は、上
記計算機7若しくは操作器6からの命令にしたがい、モ
ータ3等のアクチュエータへの出力を決定し、この出力
をアンプ2を介してアクチュエータに供給する。センサ
4及びスイッチ5の出力信号も制御装置1に供給され
る。In the above mechanical device, the control device 1 determines the output to the actuator such as the motor 3 according to the command from the computer 7 or the operating device 6, and supplies this output to the actuator via the amplifier 2. .. Output signals of the sensor 4 and the switch 5 are also supplied to the control device 1.
【0007】[0007]
【発明が解決しようとする課題】上述の如き従来技術に
おいては、設計に伴なう全ての作業を設計者が手作業で
行なっており、このため設計に多大の時間を要求すると
いう問題を生起していた。また、使用するアクチュエー
タやセンサ等が、設計者によりまちまちであり、製品の
コストや品質が設計者の経験や知識に左右されるという
問題があった。In the prior art as described above, the designer manually performs all the work involved in the design, which causes a problem that a great amount of time is required for the design. Was. In addition, there is a problem in that the actuators, sensors, etc. used vary from designer to designer, and the cost and quality of products depend on the experience and knowledge of the designer.
【0008】本発明は、上記従来技術に鑑み、設計時間
の短縮を計り得るとともに、設計者の技量による設計結
果の差も少なくすることができる機械装置の制御用ソフ
トウェア設計支援装置を提供することを目的とする。In view of the above-mentioned conventional technique, the present invention provides a control software design support device for a mechanical device which can reduce the design time and can reduce the difference in the design result depending on the skill of the designer. With the goal.
【0009】[0009]
【課題を解決するための手段】上記目的を達成する本発
明の構成は、The structure of the present invention which achieves the above object is as follows.
【0010】ロボット等の機械装置を構成するための標
準化された特定の駆動対象、駆動装置、検出器、操作機
器、表示装置、通信装置及びボード等、標準品のデータ
が予め登録されて記憶されている第1の記憶手段と、前
記標準品を選択するとともに、選択するためのデータを
入力する標準品選択・データ入力手段と、前記標準品選
択・データ入力手段において、前記標準品のデータに含
まれる標準品間のインターフェース仕様から選択できる
標準品を選択する選択手段と、前記選択手段で選択した
標準品の選択結果を記憶する第2の記憶手段と、前記選
択結果に基づきハードウェアの概略構成図を生成するハ
ードウェア概略構成生成部と、前記選択結果に基づき使
用するボード類のポートマップ表を生成するポートマッ
プ表生成部と、前記選択結果に基づき入出力用のデータ
テーブルを生成するデータテーブル生成部とを有するこ
とを特徴とする。Data of standard products such as standardized specific drive objects, drive devices, detectors, operating devices, display devices, communication devices, boards, etc. for configuring mechanical devices such as robots are registered and stored in advance. The first storage means, the standard product selection / data input means for selecting the standard product and inputting data for selection, and the standard product selection / data input device Selection means for selecting a standard product that can be selected from the interface specifications between the included standard products, second storage means for storing the selection result of the standard product selected by the selection means, and hardware outline based on the selection result. A hardware schematic configuration generation unit for generating a configuration diagram, a port map table generation unit for generating a port map table of boards to be used based on the selection result, And having a data table generating unit for generating a data table for input and output on the basis of the selection result.
【0011】[0011]
【作用】上記構成の本発明によれば、予め登録してある
標準品を選択し、データを入力することにより、ソフト
ウェア設計に必要なハードウェア構成図、ポートマップ
表及びデータテーブルを作成することができる。According to the present invention having the above-mentioned structure, a hardware configuration diagram, a port map table and a data table necessary for software design are created by selecting a standard product registered in advance and inputting data. You can
【0012】[0012]
【実施例】以下本発明の実施例を図面に基づき詳細に説
明する。Embodiments of the present invention will now be described in detail with reference to the drawings.
【0013】図1は本発明の実施例を示すブロック線図
である。同図に示すように、本実施例における第1の記
憶部11は、第1,第2,第3及び第4データ記憶部1
1a,11b,11c,11dの4個のデータ記憶部か
らなる。これらのうち、第1データ記憶部11aは標準
化された特定の駆動対象、駆動装置及び検出器のデータ
を記憶するものである。第2データ記憶部11bは標準
化された特定の操作機器のデータを記憶するものであ
る。第3データ記憶部11cは標準化された特定の通信
装置のデータを記憶するものである。第4データ記憶部
11dは標準化された特定のボード(基板)類のデータ
を記憶するものである。すなわち、これら第1〜第4デ
ータ記憶部11a〜11dに、ハードウェアを構成する
部品の標準品の設計に必要なデータが全て記憶されてい
る。FIG. 1 is a block diagram showing an embodiment of the present invention. As shown in the figure, the first storage unit 11 in this embodiment is the first, second, third, and fourth data storage unit 1.
It is composed of four data storage units 1a, 11b, 11c and 11d. Of these, the first data storage unit 11a stores data of standardized specific drive targets, drive devices, and detectors. The second data storage unit 11b stores standardized data of a specific operating device. The third data storage unit 11c stores standardized data of a specific communication device. The fourth data storage unit 11d stores data of standardized specific boards. That is, all of the data necessary for designing the standard product of the components that make up the hardware are stored in these first to fourth data storage units 11a to 11d.
【0014】標準品選択・データ入力部12は、使用す
る標準品を設計者と会話形式で選択する、すなわち標準
品を選択するとともに選択するためのデータを入力する
ものである。このとき設計者は、CRT13、キーボー
ド14により、ユーザインターフェース15を介して選
択値等の各種データを入力する。すなわち、本実施例に
おいては、CRT13及びキーボード14で、標準品間
のインターフェース仕様から選択できる標準品を選択す
る選択手段を構成している。また、標準品は第1〜第4
データ記憶部11a〜11dのデータに基づき選択す
る。The standard product selection / data input unit 12 is for selecting a standard product to be used in an interactive manner with a designer, that is, selecting a standard product and inputting data for selection. At this time, the designer inputs various data such as selection values through the user interface 15 using the CRT 13 and the keyboard 14. That is, in the present embodiment, the CRT 13 and the keyboard 14 constitute a selection means for selecting a standard product that can be selected from the interface specifications between the standard products. Also, the standard products are the 1st to 4th
Selection is made based on the data in the data storage units 11a to 11d.
【0015】入力データ記憶部16は、CRT13及び
キーボード14で選択した標準品選択・データ入力部1
2における標準品の選択結果を記憶するものであり、本
実施例における第2の記憶部を構成している。The input data storage unit 16 is a standard product selection / data input unit 1 selected by the CRT 13 and the keyboard 14.
The result of selection of the standard product in No. 2 is stored, and constitutes the second storage unit in the present embodiment.
【0016】ハードウェア概略構成生成部17は、入力
データ記憶部16に記憶している標準品の選択結果に基
づきハードウェアの概略構成図を生成するものである。
このとき、本実施例ではポートマップ表生成部18で生
成したポートマップ表のデータを参照するようになって
いる。ポートマップ表生成部18は、入力データ記憶部
16に記憶している標準品の選択結果に基づき使用する
ボード類のポートマップ表を生成するものである。デー
タテーブル生成部19は、入力データ記憶部16に記憶
している標準品の選択結果に基づき制御装置の入出力用
データテーブルを生成するものである。このとき、本実
施例では、直接的には、ポートマップ表生成部18で生
成したポートマップ表を参照して前記データテーブルを
生成するようになっている。The hardware schematic configuration generation unit 17 generates a schematic configuration diagram of hardware based on the standard product selection result stored in the input data storage unit 16.
At this time, in this embodiment, the data of the port map table generated by the port map table generator 18 is referred to. The port map table generation unit 18 generates a port map table of boards to be used based on the standard product selection result stored in the input data storage unit 16. The data table generation unit 19 generates an input / output data table of the control device based on the standard product selection result stored in the input data storage unit 16. At this time, in this embodiment, the data table is directly generated by referring to the port map table generated by the port map table generation unit 18.
【0017】ハードウェア構成図データ記憶部20、ポ
ートマップ表データ記憶部21及びデータテーブルデー
タ記憶部22は、ハードウェア概略構成生成部17、ポ
ートマップ表生成部18及びデータテーブル生成部19
で生成したデータをそれぞれ記憶するものであり、これ
らの各データはユーザインターフェース部15を介して
CRT13に表示するとともにプリンタ23で印刷出力
することができる。The hardware block diagram data storage unit 20, the port map table data storage unit 21, and the data table data storage unit 22 include a hardware schematic configuration generation unit 17, a port map table generation unit 18, and a data table generation unit 19.
Each of the data generated in the above is stored, and each of these data can be displayed on the CRT 13 via the user interface unit 15 and can be printed out by the printer 23.
【0018】データ編集機能部24は、第1〜第4記憶
部11a〜11dのデータを追加、修正するためのもの
である。すなわち、このデータ編集機能部24により、
この場合の入力端末であるキーボード14を操作して未
登録の標準品のデータを書き込むことができるようにな
っている。The data editing function unit 24 is for adding and correcting the data in the first to fourth storage units 11a to 11d. That is, by the data editing function unit 24,
The keyboard 14 which is the input terminal in this case can be operated to write the data of the unregistered standard product.
【0019】ここで、上記実施例を使用して駆動対象で
あるモータを選択する場合の態様を説明しておく。Here, a mode in which the motor to be driven is selected using the above embodiment will be described.
【0020】次の操作により図2(a)に示すような表
をCRT13上に完成する。The table shown in FIG. 2A is completed on the CRT 13 by the following operation.
【0021】1) 設計者はCRT13及びキーボード
14を用いて駆動対象としてモータを入力することをメ
ニュー等から選択する。1) The designer uses the CRT 13 and the keyboard 14 to select from a menu or the like to input a motor as a drive target.
【0022】2) 標準品選択・データ入力部12は、
モータ名称を入力するようCRT13に表示する。2) The standard product selection / data input section 12 is
It is displayed on the CRT 13 so that the motor name can be input.
【0023】3) 設計者は、図2(a)に示す表に、
用途に応じたモータ名称をCRT13及びキーボード1
4を介して入力する。3) The designer, in the table shown in FIG.
The motor name according to the application is CRT13 and keyboard 1
Enter via 4.
【0024】4) 標準品選択・データ入力部12はモ
ータのタイプを図2(a)に示す表の1〜3の中から選
択するようCRT13上に表示する。このときのモータ
タイプは、本実施例では、図2(a)に示す表のモータ
タイプ欄に記載してある1)DA/ACモータ、2)
ステッピングモータ、3) 新規の3種類である。4) The standard product selection / data input unit 12 displays the motor type on the CRT 13 so that the motor type can be selected from 1 to 3 in the table shown in FIG. In this embodiment, the motor type at this time is 1) DA / AC motor, 2) described in the motor type column of the table shown in FIG.
Stepping motors, 3) Three new types.
【0025】5) 設計者は、CRT13及びキーボー
ド14を介してモータタイプを選択する。この結果、標
準品選択・データ入力部12は選択した番号を図2
(a)に示す表の所定位置に入れる。この結果、標準品
選択・データ入力部12は、第1データ記憶部11aに
登録されている図2(b)に示すようなモータデータテ
ーブルを検索し、同タイプのモータのリストをCRT1
3に表示する。ここでモータを選択する。この結果、図
2(a)に示す表のモータ番号が決定される。5) The designer selects the motor type via the CRT 13 and keyboard 14. As a result, the standard item selection / data input unit 12 displays the selected number in FIG.
Put it in the prescribed position in the table shown in (a). As a result, the standard product selection / data input unit 12 searches the motor data table registered in the first data storage unit 11a as shown in FIG.
Display in 3. Select the motor here. As a result, the motor numbers in the table shown in FIG. 2A are determined.
【0026】一方、このとき該当するモータがなけれ
ば、3) 新規の項を選択しデータ編集機能部24によ
りモータデータテーブルに必要なモータのデータを追加
する。On the other hand, if there is no corresponding motor at this time, 3) select a new item and add necessary motor data to the motor data table by the data editing function unit 24.
【0027】以下、同様に選択するデータが無いとき
は、データ編集機能部24を使って第1〜第4データ記
憶部11a〜11dの登録データに新データを追加す
る。Similarly, when there is no data to be selected, the data editing function unit 24 is used to add new data to the registered data in the first to fourth data storage units 11a to 11d.
【0028】6) 標準品選択・データ入力部12は選
択されたモータの使用方法を図2(b)に示す表から読
みとり、A〜Eの使用方法の内、該当するものには1、
該当しないものには0を付ける。例えば図2(b)の表
からAを読みとると使用方法のA:可変制御の使い方を
するものとして図2(a)の表では1:可変制御とする
他は0:***となる。使用方法によってデジタル入出
力数が決められているのでそれを表の使用DI(デジタ
ル信号入力)数・使用DO(デジタル信号出力)数に入
れる。使用法が複数有ればその中で最大の値が入れられ
る。6) The standard product selection / data input section 12 reads the usage method of the selected motor from the table shown in FIG. 2B, and among the usage methods A to E, 1 is applied to the corresponding one.
Append 0 to those that do not apply. For example, if A is read from the table of FIG. 2B, it is assumed that A: variable control of usage is used, and in the table of FIG. Since the number of digital inputs / outputs is determined by the usage method, it is included in the number of used DI (digital signal input) and used DO (digital signal output) in the table. If there are multiple usages, the maximum value will be entered.
【0029】7) 標準品選択・データ入力部12は選
択されたモータに必要なドライバー番号を調べ、図2
(c)に示すドライバデータテーブルを検索してドライ
バー番号1を表に入れる。もし選択肢が複数ある場合
(ドライバー番号が複数ある場合)にはそのリスト(ド
ライバーの番号、型式など)をCRT13に表示する。
ユーザはそこから選択する。7) The standard item selection / data input section 12 checks the driver number required for the selected motor, and
Search the driver data table shown in (c) and enter the driver number 1 in the table. If there are a plurality of options (if there are a plurality of driver numbers), the list (driver number, model, etc.) is displayed on the CRT 13.
The user chooses from there.
【0030】8) 標準品選択・データ入力部12はド
ライバー2が必要か調べ(ドライバー番号の後ろの
( )内にドライバー2の番号が記載されているかどう
かを調べ)、必要であれば7)と同様にして表にドライ
バー2を入れる。8) The standard product selection / data input unit 12 checks whether the driver 2 is necessary (checks whether the number of the driver 2 is written in () after the driver number), and if necessary 7) Insert driver 2 in the same way as above.
【0031】さらに詳言すると、例えばモータ番号MO
1のモータにはドライバー番号の欄に DO1( ), DO5(DO2,DO3) と記載されている。本データの意味する所は次の通りで
ある。 ・MO1のモータを駆動するには、DO1又はDO5の
ドライバーが必要である。 ・DO5のドライバーを駆動するにはさらにDO2又は
DO3のドライバーが必要である。すなわち2段ドライ
バー構成となる。ちなみに、DO1のドライバーを駆動
するには他のドライバーを必要とせず、直接DO,AO
ボードから駆動(ドライブ)できる。したがって、
( )内に複数のドライバー名が存在するときは、その
リストが表示され、設計者によって選択してもらう。More specifically, for example, the motor number MO
The motor No. 1 has DO1 (), DO5 (DO2, DO3) in the driver number column. The meaning of this data is as follows. -A DO1 or DO5 driver is required to drive the MO1 motor. -A DO2 or DO3 driver is required to drive the DO5 driver. That is, it has a two-stage driver configuration. By the way, other drivers are not required to drive the DO1 driver.
Can be driven from the board. Therefore,
If there are multiple driver names in parentheses, the list is displayed and the designer selects it.
【0032】9) 標準品選択・データ入力部12は図
2(c)に示すドライバーデータテーブルを調べドライ
バー1に必要な基板番号を調べる。そして、図2(d)
に示す基板データテーブルを検索して該当する基板番号
を表に入れる。複数の選択肢があれば7)と同様にリス
トをCRT13に表示し、設計者が選択する。ドライバ
ー2が必要で有れば同様にして表に番号を入れる。な
お、図2(d)に示す基板データテーブル中、「点数」
の欄は、ボードがもつ入出力点数を意味している。すな
わち、同テーブル中のBO4のボードでは8CH*3の
24点あることを意味する。9) The standard product selection / data input section 12 checks the driver data table shown in FIG. 2C to check the board number required for the driver 1. And FIG. 2 (d)
Search the board data table shown in and enter the corresponding board number in the table. If there are a plurality of options, the list is displayed on the CRT 13 as in 7), and the designer selects it. If driver 2 is required, enter the number in the table in the same way. In the board data table shown in FIG. 2D, "score"
The column of means the number of input / output points of the board. That is, it means that there are 24 points of 8CH * 3 on the board of BO4 in the table.
【0033】上述の手順により入力されたモータのデー
タは選択された基板やドライバー等のデータとともに入
力データ記憶部16に記憶される。The motor data input by the above-described procedure is stored in the input data storage unit 16 together with the data of the selected board, driver and the like.
【0034】モータの選択入力と同様に検出器や操作機
器、通信機器の選択入力が行なわれる。図3は電磁弁
(駆動対象)のデータ構成例、図4は検出器のデータ構
成例、図5はスイッチのデータ構成例、図6は表示器の
データ構成例、図7は通信機器のデータ構成例であり、
第1〜第4データ記憶部11a〜11d内のデータテー
ブルに基づいて設計者と会話型で作られる。各手順は同
様な入力方法なため説明は省略する。Similar to the selection input of the motor, the selection input of the detector, the operation device, and the communication device is performed. 3 is a data configuration example of a solenoid valve (drive target), FIG. 4 is a data configuration example of a detector, FIG. 5 is a data configuration example of a switch, FIG. 6 is a data configuration example of a display, and FIG. 7 is data of communication equipment. It is a configuration example,
It is made interactively with the designer based on the data tables in the first to fourth data storage units 11a to 11d. Since each procedure is the same input method, the description is omitted.
【0035】図8は第2データ記憶部11b内のスイッ
チデータテーブルの例である。図9は第3データ記憶部
11c内の通信データテーブルの例である。なお、標準
品はこれらに限るものでないが、説明が煩雑になるため
省略する。FIG. 8 shows an example of a switch data table in the second data storage section 11b. FIG. 9 is an example of a communication data table in the third data storage unit 11c. The standard products are not limited to these, but the explanation is omitted because it is complicated.
【0036】上述の各データもモータのときと同様に、
使用する標準品のデータとともに入力データ記憶部16
に記憶される。The above-mentioned respective data are also the same as in the case of the motor.
Input data storage unit 16 together with standard product data to be used
Memorized in.
【0037】ハードウェア概略構成生成部17は入力デ
ータ記憶部16の記憶データから次のようにしてハード
ウェアの概略構成図を生成する。The hardware schematic configuration generator 17 generates a schematic hardware configuration diagram from the data stored in the input data memory 16 as follows.
【0038】1) 入力データ記憶部16の記憶のデー
タから構成品のリストを表示されるので、構成品が制御
装置の内にあるか外にあるかの位置情報をCRT13及
びキーボード14によりユーザインターフェース部15
を介して入力する。このとき、構成品のいくつかを1つ
のユニット名をつけてまとめる。ユニット名は予めよく
使われる名称はリストで表示されるので選択すればよい
が、ない場合には名称を入力する。1) Since a list of components is displayed from the data stored in the input data storage unit 16, position information indicating whether the components are inside or outside the control device can be displayed by the CRT 13 and the keyboard 14 by the user interface. Part 15
Enter via. At this time, some of the components are put together with one unit name. For the unit name, a frequently used name is displayed in a list, so it can be selected, but if not, enter the name.
【0039】2) 1)のユニット名による区分けと入
力データ記憶部16のデータにより、構成品と結線関係
と配置が決まるので図10に示すようなハードウェア概
略構成図が生成される。2) Since the components, the wiring relationship, and the arrangement are determined by the division by the unit name of 1) and the data in the input data storage unit 16, a hardware schematic configuration diagram as shown in FIG. 10 is generated.
【0040】例えば図10の工具というユニットに含ま
れる近接スイッチは、先の検出対象のデータ入力により
デジタル入出力ボードと接続することが分かっている。
デジタル入出力ボードは工具操作盤というユニットにま
とめられているので両者を結ぶような線が引かれる。た
だし、図の煩雑さを減らすために同種の結線は1本の線
でまとめた図にしている。同図ではユニット単位で枠を
囲み、まとまりが分かるようにしている。For example, it is known that the proximity switch included in the tool unit shown in FIG. 10 is connected to the digital input / output board by the data input of the detection target.
Since the digital I / O board is integrated into a unit called the tool operation panel, a line connecting them is drawn. However, in order to reduce the complexity of the figure, connections of the same type are shown as a single line. In the figure, the unit is surrounded by a frame so that the unit can be seen.
【0041】なお、デジタル入出力ボードのように同種
の基板が存在するときの結線はポートマップ表生成部1
8の割付結果により行う。つまり、検出対象などを入力
する段階では接続するボードの種類が決まっているだけ
で、具体的に近接センサを接続するデジタル入出力ボー
ドが複数の中のどれが対応するかはポートマップ表生成
部18のデータ(ポートマップ表)から得られる。The connection when the same type of substrate exists, such as a digital input / output board, is connected to the port map table generating unit 1.
It is performed according to the allocation result of 8. In other words, at the stage of inputting the detection target etc., only the type of board to connect is decided, and which of the multiple digital I / O boards to connect the proximity sensor corresponds to is the port map table generator. It is obtained from 18 data (port map table).
【0042】ポートマップ表生成部18でのポートマッ
プ生成フローについて、デジタル入出力ボードを例にと
ってさらに説明する。The port map generation flow in the port map table generator 18 will be further described by taking a digital input / output board as an example.
【0043】ポートマップ表生成部18では入力データ
記憶部16のデータから、先ずボードの種類とそれぞれ
に対する入出力点数と検出対象や駆動対象などの接続対
象が得られる。すると例えば1枚目のデジタル入出力ボ
ードに図10の工具ユニットに含まれる近接スイッチ
(1点)、リミットスイッチ(2点)、ホールIC(1
9点)を順々に割り付けて行くことができる。ボードの
最大入力点数が16点だとする(入力点数は標準品デー
タで定義されていた)とホールICの点6点分は1枚目
では足りないため、2枚目のデジタル入出力ボードに割
り付けることになる。ポートマップ表生成部18ではこ
のような処理を入力データ記憶部16から得られたボー
ドの種類全部に対して行う。その結果、必要なボード数
や接続関係が具体的に決まる。なお、対になった信号
(検出対象の一種であるスイッチのON・OFFの信号
など)は原則的に同じボードに割り付けられるようにす
る。The port map table generator 18 first obtains the type of board, the number of input / output points for each, and the connection target such as the detection target and the drive target from the data in the input data storage unit 16. Then, for example, a proximity switch (1 point), a limit switch (2 points), a Hall IC (1 point) included in the tool unit of FIG.
9 points) can be assigned in sequence. Assuming that the maximum number of input points on the board is 16 (the number of input points was defined in the standard product data), 6 points for the Hall IC are not enough for the first board, so the second digital I / O board Will be allocated. The port map table generation unit 18 performs such processing for all board types obtained from the input data storage unit 16. As a result, the required number of boards and connection relationships are specifically determined. In principle, paired signals (ON / OFF signal of a switch, which is a type of detection target, etc.) are assigned to the same board.
【0044】ここで、さらに「割り付け」ということに
ついて補足する。各ボードの入出力点にはマイクロプロ
セッサから操作可能にするためのユニークなアドレス
(あるいは番号)がつけられる。通常は、アナログ入出
力、デジタル入出力ごとに設計可能なアドレスの範囲が
きめられているので、その範囲でポートマップ表生成部
18は順々にアドレスをつけていく。また同じボード上
では連続したアドレスを付ける。Here, a supplementary explanation will be given regarding "allocation". A unique address (or number) is attached to the input / output point of each board so that it can be operated by the microprocessor. Normally, the range of addresses that can be designed is determined for each of analog input / output and digital input / output, and therefore the port map table generator 18 sequentially assigns addresses within that range. Also, assign consecutive addresses on the same board.
【0045】以上のようにして作られたポートマップ表
の例が図11である。同図の上段の表で使用するデジタ
ル入出力の基板名が示される。ボードの種類を明確にす
るため、入力レベルや点数などのデータも表示される
(このデータは標準品データで定義されていた)。図1
1の下段の表は入出力の割付結果である。アドレス欄の
数字(***Hは16進数であることを示している)と
ボートNoの欄の数字を加えたものがその信号のアドレ
スである。信号が入力であれば1N、出力であればOU
Tの区別が表示される。信号名称の内容はユーザがポー
トマップ表に対して後から追加したデータである。ポー
トマップ表生成部18は設計者からの入力を受けデータ
に追加・変更できるエディタ機能も備えている。信号名
称を入力するのはその信号の意味するところがアドレス
やIN/OUTだけでは設計者には分からないからであ
る。ポートマップ表生成部18は設計者が信号名称を入
力するとき、該当する信号の結線先を示す入力データ記
憶部16のデータを調べてCRT13に表示することが
できるので、設計者はこの接続関係から信号の意味を判
断して信号名称を入力する。FIG. 11 shows an example of the port map table created as described above. The board name of the digital input / output used in the upper table of the figure is shown. Data such as input level and points are also displayed to clarify the board type (this data was defined in the standard product data). Figure 1
The lower table of 1 is the input / output allocation result. The number of the address column (*** H indicates that it is a hexadecimal number) and the number of the column of the boat number are added to the address of the signal. 1N if signal is input, OU if output
The T distinction is displayed. The contents of the signal name are data added later by the user to the port map table. The port map table generator 18 also has an editor function capable of receiving an input from a designer and adding / changing data. The signal name is input because the meaning of the signal cannot be understood by the designer only from the address and IN / OUT. When the designer inputs a signal name, the port map table generator 18 can check the data in the input data storage 16 indicating the connection destination of the corresponding signal and display the data on the CRT 13. The meaning of the signal is judged from and the signal name is input.
【0046】なお、図10において、ボードは工具操作
盤内のアナログ入出力、デジタル入出力、デジタル入出
力(5V)、44/10Aの部分となる。検出対象、駆
動対象は基板以外の矩形枠で囲まれた部分及びメータボ
ックス、アンプボックス、バキューム、工具操作盤内の
スイッチ・操作キーを指す。検出対象は近接スイッチ、
リミットスイッチ等であり、駆動対象は電磁弁やリレー
等である。In FIG. 10, the board is the analog input / output, digital input / output, digital input / output (5V), 44 / 10A portion in the tool operation panel. The detection target and the drive target refer to the part surrounded by the rectangular frame other than the board, the meter box, the amplifier box, the vacuum, and the switch / operation key in the tool operation panel. Proximity switch,
It is a limit switch or the like, and the drive target is a solenoid valve, a relay, or the like.
【0047】データテーブル生成部19はポートマップ
表のデータをポートマップ表生成部18から供給され、
図12に示すような信号名称の一覧表であるデータテー
ブルデータを生成する。The data table generator 19 is supplied with the data of the port map table from the port map table generator 18,
Data table data, which is a list of signal names as shown in FIG. 12, is generated.
【0048】前記ハードウェア概略構成部17、ポート
マップ表生成部18及びデータテーブル生成部19で生
成したハードウェア構成図データ、ポートマップ表デー
タ及びデータテーブルデータは、CRT13に表示する
とともにプリンタ23で印刷出力する。The hardware configuration diagram data, the port map table data and the data table data generated by the hardware schematic configuration unit 17, the port map table generation unit 18 and the data table generation unit 19 are displayed on the CRT 13 and the printer 23. Print out.
【0049】[0049]
【発明の効果】以上実施例とともに具体的に説明したよ
うに、本発明によればあらかじめ登録された標準品を組
みあわせて機械、制御装置を構成するため設計者による
差異が少なくなる。また、使用するボードの選択や結線
を半自動で生成するので開発時間を短縮しインターフェ
ースの不整合などのエラーを減少することが出来る。As described above in detail with reference to the embodiments, according to the present invention, the standard products registered in advance are combined to form the machine and the control device, so that the difference between designers is reduced. In addition, because the board to be used and connections are generated semi-automatically, development time can be shortened and errors such as interface mismatch can be reduced.
【図1】本発明の実施例を示すブロック線図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】モータに関するデータ表を示すもので、(a)
はモータのデータ、(b)はモータ データテーブル、
(c)はドライバ データテーブル、 (d)は基板デ
ータテーブルを示す説明図である。FIG. 2 shows a data table relating to motors (a)
Is the motor data, (b) is the motor data table,
(C) is a driver data table, (d) is an explanatory view showing a board data table.
【図3】電磁弁のデータ構成例を示す説明図である。FIG. 3 is an explanatory diagram showing a data configuration example of a solenoid valve.
【図4】検出器のデータ構成例を示す説明図である。FIG. 4 is an explanatory diagram showing a data configuration example of a detector.
【図5】スイッチのデータ構成例を示す説明図である。FIG. 5 is an explanatory diagram showing a data configuration example of a switch.
【図6】表示器のデータ構成例を示す説明図である。FIG. 6 is an explanatory diagram showing a data configuration example of a display device.
【図7】通信機器のデータ構成例を示す説明図である。FIG. 7 is an explanatory diagram showing a data configuration example of a communication device.
【図8】スイッチ データテーブルを示す説明図であ
る。FIG. 8 is an explanatory diagram showing a switch data table.
【図9】通信データテーブルを示す説明図である。FIG. 9 is an explanatory diagram showing a communication data table.
【図10】図1のハードウェア概略構成生成部で生成す
るハードウェアの概略構成を示すブロック線図である。10 is a block diagram showing a schematic configuration of hardware generated by a hardware schematic configuration generation unit of FIG.
【図11】図1のポートマップ表生成部で生成するポー
トマップ表を示す説明図である。FIG. 11 is an explanatory diagram showing a port map table generated by a port map table generation unit in FIG.
【図12】図1のデータテーブル生成部で生成するデー
タテーブルを示す説明図である。FIG. 12 is an explanatory diagram showing a data table generated by a data table generation unit in FIG.
【図13】本発明の実施例装置により設計する機械装置
を示すブロック線図である。FIG. 13 is a block diagram showing a mechanical device designed by the device according to the embodiment of the present invention.
11 第1の記憶部 11a 第1データ記憶部 11b 第2データ記憶部 11c 第3データ記憶部 11d 第4データ記憶部 12 標準品選択・データ入力部 13 CRT 14 キーボード 16 入力データ記憶部 17 ハードウェア概略構成生成部 18 ポートマップ表生成部 19 データテーブル生成部 11 First Storage Section 11a First Data Storage Section 11b Second Data Storage Section 11c Third Data Storage Section 11d Fourth Data Storage Section 12 Standard Product Selection / Data Input Section 13 CRT 14 Keyboard 16 Input Data Storage Section 17 Hardware Schematic configuration generation unit 18 Port map table generation unit 19 Data table generation unit
Claims (1)
標準化された特定の駆動対象、駆動装置、検出器、操作
機器、表示装置、通信装置及びボード等、標準品のデー
タが予め登録されて記憶されている第1の記憶手段と、 前記標準品を選択するとともに、選択するためのデータ
を入力する標準品選択・データ入力手段と、 前記標準品選択・データ入力手段において、前記標準品
のデータに含まれる標準品間のインターフェース仕様か
ら選択できる標準品を選択する選択手段と、 前記選択手段で選択した標準品の選択結果を記憶する第
2の記憶手段と、 前記選択結果に基づきハードウェアの概略構成図を生成
するハードウェア概略構成生成部と、 前記選択結果に基づき使用するボード類のポートマップ
表を生成するポートマップ表生成部と、 前記選択結果に基づき入出力用のデータテーブルを生成
するデータテーブル生成部とを有することを特徴とする
機械装置の制御用ソフトウェア設計支援装置。1. Standardized data such as a standardized specific drive target, drive device, detector, operating device, display device, communication device, and board for configuring a mechanical device such as a robot is registered in advance. A stored first storage means, a standard product selection / data input means for selecting the standard product and inputting data for selection, and a standard product selection / data input device for storing the standard product. A selection unit that selects a standard product that can be selected from the interface specifications between the standard products included in the data, a second storage unit that stores the selection result of the standard product selected by the selection unit, and hardware based on the selection result. A hardware schematic configuration generation unit that generates a schematic configuration diagram of, and a port map table generation unit that generates a port map table of boards to be used based on the selection result Control software design support apparatus of the machine, characterized in that it comprises a data table generating unit for generating a data table for input and output on the basis of the selection result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24928491A JPH0588709A (en) | 1991-09-27 | 1991-09-27 | Design back-up device for control software of machanical device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24928491A JPH0588709A (en) | 1991-09-27 | 1991-09-27 | Design back-up device for control software of machanical device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0588709A true JPH0588709A (en) | 1993-04-09 |
Family
ID=17190681
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP24928491A Withdrawn JPH0588709A (en) | 1991-09-27 | 1991-09-27 | Design back-up device for control software of machanical device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0588709A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003263205A (en) * | 2002-03-12 | 2003-09-19 | Fuji Electric Co Ltd | Control system design support device and design support program |
JP2018026043A (en) * | 2016-08-12 | 2018-02-15 | 株式会社Ihi | Logic generation device and logic generation method |
-
1991
- 1991-09-27 JP JP24928491A patent/JPH0588709A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003263205A (en) * | 2002-03-12 | 2003-09-19 | Fuji Electric Co Ltd | Control system design support device and design support program |
JP2018026043A (en) * | 2016-08-12 | 2018-02-15 | 株式会社Ihi | Logic generation device and logic generation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6334076B1 (en) | Method of and apparatus for automatically generating control programs for computer controlled systems | |
JP2856640B2 (en) | Logic schematic editor system | |
WO2000025185A1 (en) | Robotic process planning using templates | |
US5266877A (en) | Apparatus for and method of preparing numerical control data for interactive mounter | |
US5986425A (en) | Numerical controller | |
JPH0588709A (en) | Design back-up device for control software of machanical device | |
JPH07160323A (en) | Operation waveform diagnostic device for industrial robot | |
JPH1139374A (en) | Electric circuit drawing generation assisting device | |
JPH0764619A (en) | Support system for generation of robot program | |
JPH0714767B2 (en) | Loading design support device | |
JPH1139375A (en) | Electric circuit drawing generation device | |
JP2000258197A (en) | Environmental test unit and method for setting test pattern | |
JPH0985579A (en) | Interactive numerical control system | |
JP3189417B2 (en) | Production management device | |
JPH04248391A (en) | Inverter device, control method, internal constant setting method, and motor drive system | |
JP3512685B2 (en) | SCREEN DATA CREATION METHOD, SCREEN DATA CREATION DEVICE, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
JP2734187B2 (en) | Display screen creation method for multiple PC control device, sequence program creation device, and control status display device | |
JPH09167007A (en) | Automatic generation device for operation program | |
JP2882220B2 (en) | Icon arrangement change device | |
JP3021766B2 (en) | Drawing creation equipment | |
JP3164730B2 (en) | Tabular circuit description generator and method | |
JPH0695825A (en) | Hierarchical data display method | |
JPS61153704A (en) | Operating device of numerical control device | |
JP2600257B2 (en) | Production instruction device | |
WO1991007707A1 (en) | Nc program preparation method of interactive numeric controller or automatic programming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19981203 |