JP2014056579A - 実行可能制御プログラムの少なくとも一部をコンピュータ支援により生成するための方法 - Google Patents
実行可能制御プログラムの少なくとも一部をコンピュータ支援により生成するための方法 Download PDFInfo
- Publication number
- JP2014056579A JP2014056579A JP2013188429A JP2013188429A JP2014056579A JP 2014056579 A JP2014056579 A JP 2014056579A JP 2013188429 A JP2013188429 A JP 2013188429A JP 2013188429 A JP2013188429 A JP 2013188429A JP 2014056579 A JP2014056579 A JP 2014056579A
- Authority
- JP
- Japan
- Prior art keywords
- option
- value
- model
- program code
- hierarchical level
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0426—Programming the control sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Abstract
【解決手段】異なる階層レベルにおける入れ子構造の少なくとも二つのサブモデル(Sj)に関して、グラフィックモデル(S0)を翻訳するためのオプション(X)に対する値(xj)を設定し、該オプション(X)に対する値(xj)を各サブモデル(Sj)に関するプログラムコードのコンピュータ支援による生成時に考慮し、下位の階層レベルにおけるサブモデル(Sj)の値(xj)が設定されていないオプション(X)は、上位の階層レベルにおけるサブモデル(Sj)の対応するオプション(X)の値(xj)を引き継ぐ。
【選択図】図2
Description
Claims (15)
- 少なくとも一つの電子計算ユニット(4)を備えている制御システム(3)を制御するための実行可能制御プログラム(2)、特に測定プログラム、開ループ制御プログラム、閉ループ制御プログラム及び/又は較正プログラムの少なくとも一部をコンピュータ支援により生成するための方法であって、
前記制御プログラム(2)の機能は少なくとも部分的に、少なくとも一つのグラフィックモデル(S0)に記述されており、該グラフィックモデル(S0)は複数の階層レベルにおいて複数のサブモデル(Si)に分類されており、或る階層レベルの一つのサブモデル(Si)を入れ子構造で下位の階層レベルの複数のサブモデル(Sj)に分類することができ、前記グラフィックモデル(S0)をプログラムコードに翻訳するためのオプション(X)に対して値(x)が設定され、該オプション(X)の値(x)を考慮して、前記グラフィックモデル(S0)からコンピュータ支援によりプログラムコードが生成され、該プログラムコードが該プログラムコードを用いて前記実行可能制御プログラム(2)に翻訳される方法において、
異なる階層レベルにおける入れ子構造の少なくとも二つのサブモデル(Sj)に関して、前記グラフィックモデル(S0)を翻訳するためのオプション(X)に対する値(xj)を設定し、該オプション(X)に対する値(xj)を各サブモデル(Sj)に関するプログラムコードのコンピュータ支援による生成時に考慮し、
前記下位の階層レベルにおけるサブモデル(Sj)の値(xj)が設定されていないオプション(X)は、上位の階層レベルにおけるサブモデル(Sj)の対応するオプション(X)の値(xj)を引き継ぐことを特徴とする、方法。 - 前記下位の階層レベルにおけるオプション(X)に対して設定されている値(xj)は、前記上位の階層レベルにおける対応するオプション(X)に対して設定されている値(xj)よりも優先される、請求項1に記載の方法。
- 或る階層レベルにおけるサブモデル(Sj)に関するオプション(X)に対して設定されている値(xj)に、当該階層レベルに続く下位の階層レベルの個数を表し、
前記下位の階層レベルにおいては、該当するオプション(X)に対して設定された値(xj)が優先され、特に、下位の階層レベルの前記個数に応じて、前記該当するオプション(X)に対する前記値(x)はやはり上位の階層レベルの値(x)を取る、請求項1又は2に記載の方法。 - 或る階層レベルにおけるサブモデル(Sj)に関するオプション(X)に対して設定されている値(xj)、及び/又は、最上位の階層レベルにおけるモデル(S0)に関するオプションに対して設定されている値(xj)を不変の値として特徴付け(不変のオプション)、それにより、該オプション(X)に対する値(xj)は下位の階層レベルにおいてはもはや変更される可能性はなく、特に、下位の階層レベルにおいて対応するオプション(X)に対して別の値(xj)が規定される又は規定されている場合であっても、もはや変更される可能性はない、請求項1乃至3のいずれか一項に記載の方法。
- 前記グラフィックモデル(S0)をプログラムコードに翻訳するためのデフォルトオプション(XD)を決定し、且つ、デフォルト値(xD)を設定し、特に、前記グラフィックモデル(S0)における対応するオプション(X)の値(x)が決定されていない場合には、前記デフォルト値(xD)を最上位の階層レベルにおけるモデル(S0)の対応するオプション(X)に対する設定値として使用する、請求項1乃至4のいずれか一項に記載の方法。
- 或る階層レベルにおけるサブモデル(Sj)に関する少なくとも一つのオプション(X)、及び/又は、最上位の階層レベルにおけるモデル(S0)に関する少なくとも一つのオプション(X)、及び/又は、少なくとも一つのデフォルトオプション(Xj)を、更に下位の階層レベルにおいて値(x)が設けられるべきオプション(X)としてマーキングし、
所属のオプション(X)に、前記グラフィックモデル(S0)をプログラムコードに翻訳する時点において、下位の階層レベルでは値(x)が設定されていない場合にはエラー通知/警告を出力する、請求項1乃至5のいずれか一項に記載の方法。 - 或る階層レベルにおけるサブモデル(Sj)に関する少なくとも一つのオプション(X)、及び/又は、最上位の階層レベルにおけるモデル(S0)に関する少なくとも一つのオプション(X)、及び/又は、少なくとも一つのデフォルトオプションを一貫性のあるオプション(XK)としてマーキングし、
遅くとも、前記グラフィックモデル(S0)をプログラムコードに翻訳する時点において、前記一貫性のあるオプション(XK)に対する値(x)は、関連する入れ子構造のサブモデル(Sj)の全ての階層レベルにおいて一貫性のあるように設定されているか否かを検査し、特に、非一貫性が識別されると少なくとも一つの通知、有利にはエラー通知/警告通知を出力する、請求項1乃至6のいずれか一項に記載の方法。 - 非一貫性が識別されると、前記グラフィックモデル(S0)のプログラムコードへの翻訳を中断するか、又は、前記非一貫性を含むモデル(S0)乃至サブモデル(Sj)を無効なプログラムコードに翻訳する、請求項7に記載の方法。
- 一貫性のあるオプション(XK)に一貫性のない値が設定されていることが識別されると、最上位の階層レベルにおいて一貫性のあるオプション(XK)に対して設定された値(x)を、下位の階層レベルの入れ子構造のサブモデル(Sj)に関する設定値(x)としても自動的に設定する、請求項7に記載の方法。
- 少なくとも一つのオプション(X)の名前及び値(x)を付加的に、該オプション(X)の値(x)の起源に関する情報と共にオプション情報としてドキュメンテーションし、特に、オプション情報を前記プログラムコードの対応する部分において生成し、
起源情報として有利には、該当するサブモデル(Sj)におけるオプション(X)及び/又はオプションの値が局所的に設定されているか否か、又は、該当するサブモデル(Sj)におけるオプション(X)及び/又はオプション(X)の値(x)が上位の階層レベルのサブモデル(Sj)から引き継がれているか否か、又は、該当するサブモデル(Sj)におけるオプション(X)及び/又はオプション(X)の値(x)はデフォルト設定によって設定されているか否か、を表す、請求項1乃至9のいずれか一項に記載の方法。 - ドキュメンテーションされたオプション情報を、前記グラフィックモデル(S0)のプログラムコードへの翻訳とは別個に生成し、特に、ドキュメンテーションされ生成されたオプション情報をエラーについて検査し、特に前記一貫性のあるオプション(XK)を一貫性について検査する、請求項10に記載の方法。
- 前記オプション情報をプログラムコードにおいて生成し、該オプション情報を付加的な翻訳指示文によって、翻訳機を用いて、前記プログラムコードの前記実行可能制御プログラム(2)への翻訳時に評価し、それと共にオプションを検査する、特に一貫性のあるオプション(XK)において設定された値(x)の一貫性に関して検査する、請求項10に記載の方法。
- 少なくとも一つのオプション(X)が、該オプション(X)の値(x)、また必要に応じて該オプション(X)のクラス分け(不変のオプション、デフォルトオプション、一貫性のあるオプション)を前記グラフィックモデル(S0)と共に少なくとも一つのモデルファイルに記憶する、及び/又は、
少なくとも一つのオプション(X)が、該オプション(X)の値(x)、また必要に応じて該オプション(X)のクラス分け(不変のオプション、デフォルトオプション、一貫性のあるオプション)を別個のデータバンクに記憶し、該データバンクにおいて各サブモデル(Sj)と関連付ける、請求項1乃至12のいずれか一項に記載の方法。 - 少なくとも一つのオプション(X)が、特に、前記制御システムのメモリ領域及び/又は計算ユニットを考慮して、生成されたプログラムコードにおけるメモリレイアウトに対する命令文及び/又は前記制御プログラム(2)のメモリレイアウトに対する命令文に影響を及ぼす、請求項1乃至13のいずれか一項に記載の方法。
- 少なくとも一つのオプション(X)が生成されたプログラムコードを前記制御システム(3)の計算ユニット、特に該制御システムのビット幅に適合させる、請求項1乃至14のいずれか一項に記載の方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP12183797.5 | 2012-09-11 | ||
EP12183797.5A EP2706421B1 (de) | 2012-09-11 | 2012-09-11 | Verfahren zur rechnergestützten Erzeugung mindestens eines Teils eines ausführbaren Steuerungsprogramms |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014056579A true JP2014056579A (ja) | 2014-03-27 |
JP6177064B2 JP6177064B2 (ja) | 2017-08-09 |
Family
ID=46982458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013188429A Active JP6177064B2 (ja) | 2012-09-11 | 2013-09-11 | 実行可能制御プログラムの少なくとも一部をコンピュータ支援により生成するための方法 |
Country Status (4)
Country | Link |
---|---|
US (1) | US9250873B2 (ja) |
EP (1) | EP2706421B1 (ja) |
JP (1) | JP6177064B2 (ja) |
CN (1) | CN103677793B (ja) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9128783B1 (en) | 2014-03-04 | 2015-09-08 | The Mathworks, Inc. | Scheduling and executing model components in response to un-modeled events detected during an execution of the model |
EP3070553B1 (de) | 2015-03-19 | 2019-05-08 | dSPACE digital signal processing and control engineering GmbH | Computerimplementiertes verfahren zur rechnergestützten übersetzung eines die funktionalität eines steuerungsprogrammes beschreibenden grafischen modells |
US9766882B2 (en) * | 2015-07-08 | 2017-09-19 | Dspace Digital Signal Processing And Control Engineering Gmbh | Computer-implemented method for editing data object variants |
CA3055859A1 (en) * | 2018-09-24 | 2020-03-24 | Quadient Group Ag | Method and system for operating a software application on a processor of a mobile device |
JP6954256B2 (ja) * | 2018-11-02 | 2021-10-27 | 横河電機株式会社 | エンジニアリング装置、エンジニアリング装置の制御方法及びプログラム |
US20200147712A1 (en) * | 2018-11-02 | 2020-05-14 | Illinois Tool Works Inc. | Systems and methods to design part weld processes |
CN113127002B (zh) * | 2021-04-28 | 2024-03-29 | 上海米哈游璃月科技有限公司 | 一种代码编译过程监控方法、装置、设备和介质 |
DE102022111911A1 (de) | 2022-05-12 | 2023-11-16 | Dspace Gmbh | Verfahren zur Erzeugung von Quellcode |
CN116257037B (zh) * | 2023-05-15 | 2023-08-11 | 通达电磁能股份有限公司 | 控制器测试程序的生成方法、系统、电子设备及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060206860A1 (en) * | 1999-05-17 | 2006-09-14 | Invensys Systems, Inc. | Process control configuration system with connection validation and configuration |
JP2009193181A (ja) * | 2008-02-13 | 2009-08-27 | Meidensha Corp | ソフトウェアの開発支援システム、支援方法およびこの方法のプログラム |
JP2011040059A (ja) * | 2009-08-11 | 2011-02-24 | Fisher-Rosemount Systems Inc | プロセス制御構成方法、プロセス制御構成システム、モジュールテンプレート、及びプロセス制御システム |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5850548A (en) * | 1994-11-14 | 1998-12-15 | Borland International, Inc. | System and methods for visual programming based on a high-level hierarchical data flow model |
AU5025600A (en) * | 1999-05-17 | 2000-12-05 | Foxboro Company, The | Process control configuration system with parameterized objects |
WO2000073885A1 (en) * | 1999-06-01 | 2000-12-07 | The Foxboro Company | Systems and methods for linking parameters for the configuration of control systems |
US6851104B1 (en) * | 2000-08-14 | 2005-02-01 | Rodrigues Da Silva Fernando Jose Barros | System and method for programming using independent and reusable software units |
US7296054B2 (en) * | 2003-01-24 | 2007-11-13 | The Mathworks, Inc. | Model simulation and calibration |
DE10347891A1 (de) | 2003-10-10 | 2005-05-12 | Dspace Gmbh | Verfahren und Einrichtung zur Konfiguration eines Steuerungssystems |
US7523023B1 (en) * | 2004-09-20 | 2009-04-21 | The Mathworks, Inc. | Automatic generation of component interfaces for computational hardware implementations generated from a block diagram model |
CN101432696A (zh) * | 2004-10-20 | 2009-05-13 | 卡登斯设计系统公司 | 模型编译方法 |
WO2006043012A1 (en) * | 2004-10-22 | 2006-04-27 | New Technology/Enterprise Limited | Data processing system and method |
US7934194B2 (en) * | 2006-10-17 | 2011-04-26 | The Mathworks, Inc. | User-defined hierarchies of user-defined classes of graphical objects in a graphical modeling environment |
US8601435B2 (en) * | 2006-10-20 | 2013-12-03 | Rockwell Automation Technologies, Inc. | Module class subsets for industrial control |
US7966162B1 (en) * | 2006-12-29 | 2011-06-21 | The Mathworks, Inc. | Hierarchically scoped resettable variables in graphical modeling environments |
US8015543B1 (en) * | 2007-01-10 | 2011-09-06 | The Mathworks, Inc. | Hardware specific code generation |
US8713528B1 (en) * | 2008-10-06 | 2014-04-29 | The Mathworks, Inc. | Verification of computer-executable code generated from a model |
US8365141B1 (en) * | 2008-12-23 | 2013-01-29 | The Mathworks, Inc. | Aliases within a graphical model of a design |
US8943467B2 (en) * | 2009-01-26 | 2015-01-27 | GM Global Technology Operations LLC | On-target rapid control prototyping |
EP2330469B1 (de) | 2009-12-03 | 2012-10-31 | dspace digital signal processing and control engineering GmbH | Verfahren und Entwicklungsumgebung zur Erzeugung eines ausführbaren Gesamtsteuerungsprogramms |
US9003360B1 (en) * | 2009-12-10 | 2015-04-07 | The Mathworks, Inc. | Configuring attributes using configuration subgraphs |
US8719774B2 (en) * | 2010-07-30 | 2014-05-06 | National Instruments Corporation | Developing programs for hardware implementation in a graphical specification and constraint language Via iterative estimation of performance or resource utilization |
US9377998B2 (en) * | 2011-11-08 | 2016-06-28 | The Mathworks, Inc. | Code generation for control design |
US9135143B2 (en) * | 2012-10-08 | 2015-09-15 | National Instruments Corporation | Automated analysis of compilation processes in a graphical specification and constraint language |
-
2012
- 2012-09-11 EP EP12183797.5A patent/EP2706421B1/de active Active
-
2013
- 2013-08-15 CN CN201310353652.9A patent/CN103677793B/zh active Active
- 2013-09-11 US US14/024,206 patent/US9250873B2/en active Active
- 2013-09-11 JP JP2013188429A patent/JP6177064B2/ja active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060206860A1 (en) * | 1999-05-17 | 2006-09-14 | Invensys Systems, Inc. | Process control configuration system with connection validation and configuration |
JP2009193181A (ja) * | 2008-02-13 | 2009-08-27 | Meidensha Corp | ソフトウェアの開発支援システム、支援方法およびこの方法のプログラム |
JP2011040059A (ja) * | 2009-08-11 | 2011-02-24 | Fisher-Rosemount Systems Inc | プロセス制御構成方法、プロセス制御構成システム、モジュールテンプレート、及びプロセス制御システム |
Also Published As
Publication number | Publication date |
---|---|
EP2706421A1 (de) | 2014-03-12 |
US20140075409A1 (en) | 2014-03-13 |
CN103677793B (zh) | 2017-09-12 |
CN103677793A (zh) | 2014-03-26 |
JP6177064B2 (ja) | 2017-08-09 |
EP2706421B1 (de) | 2015-05-27 |
US9250873B2 (en) | 2016-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6177064B2 (ja) | 実行可能制御プログラムの少なくとも一部をコンピュータ支援により生成するための方法 | |
US11520956B2 (en) | Systems and methods for automatically realizing models for co-simulation | |
US11074049B2 (en) | Method and system for generating program code modified by rule sets | |
AU2016203009B2 (en) | Paradigm drug response networks | |
US10372422B2 (en) | Performance verification device for verifying performance of program, method, and recording medium having program recorded thereon for causing computer to perform the method | |
US20190258460A1 (en) | Method and system for generating a software component | |
US8418134B2 (en) | Method for efficiently managing property types and constraints in a prototype based dynamic programming language | |
JP5910108B2 (ja) | 高位合成装置,高位合成方法,高位合成プログラム,集積回路の設計方法 | |
US10860298B2 (en) | Method and system for editing a block diagram model | |
US10884715B2 (en) | Method for generating source code | |
US10078500B2 (en) | Method and system for automatic code generation | |
US11593076B2 (en) | Method for merging architecture data | |
US10884714B2 (en) | Method for modifying models for generating source code | |
US11126408B2 (en) | Incremental code generation method | |
US20150178053A1 (en) | Preventing interference between subsystem blocks at a design time | |
US9841954B1 (en) | Method and system for automatic code generation | |
JP6649731B2 (ja) | Fpgaからリードバックするための信号の特定 | |
van der Vlugt et al. | Modeling and analysis of FPGA accelerators for real-time streaming video processing in the healthcare domain | |
US10585650B1 (en) | Method and system for generating program code | |
US20230367561A1 (en) | Method for generating source code | |
US20230342115A1 (en) | Method for generating source code | |
EP4270237A1 (en) | Model-driven approach for failure mode, effects, and diagnostic analysis (fmeda) automation for hardware intellectual property of complex electronic systems | |
Erkkinen | Model style guidelines for production code generation | |
Grand et al. | Large-Scale Modeling for Embedded Applications | |
Hoadley | Using Model-Based Design in an IEC 62304-Compliant Software Development Process. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160526 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170303 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170327 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170525 |
|
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: 20170612 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170711 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6177064 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |