JP6065008B2 - 制御装置 - Google Patents
制御装置 Download PDFInfo
- Publication number
- JP6065008B2 JP6065008B2 JP2014521521A JP2014521521A JP6065008B2 JP 6065008 B2 JP6065008 B2 JP 6065008B2 JP 2014521521 A JP2014521521 A JP 2014521521A JP 2014521521 A JP2014521521 A JP 2014521521A JP 6065008 B2 JP6065008 B2 JP 6065008B2
- Authority
- JP
- Japan
- Prior art keywords
- name
- sql statement
- user program
- definition information
- database system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000013507 mapping Methods 0.000 claims description 37
- 238000006243 chemical reaction Methods 0.000 claims description 18
- 238000003860 storage Methods 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 7
- 230000006870 function Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 10
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000010365 information processing Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000000547 structure data Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24564—Applying rules; Deductive queries
-
- 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/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
-
- 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/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
- G05B19/4186—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
-
- 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
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31369—Translation, conversion of protocol between two layers, networks
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computational Linguistics (AREA)
- Programmable Controllers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Description
<1.1 実施の形態1の構成>
まず、本実施の形態に係る制御システムのシステム構成について説明する。本実施の形態においては、機械や設備などの制御対象を制御するプログラマブルコントローラ(PLC)を制御装置の典型例として説明を行う。ただし、本発明に係る制御装置は、PLCに限られることなく、各種の制御装置へ適用可能である。
まず概要を説明する。図1に示すように、PLCシステムは、PC(Personal Computer)10と、DB(Database)サーバ20と、PLC30と、スイッチングハブ40とを含む。PC10は、PLC30で動作させるユーザプログラムをユーザが作成するための情報処理装置である。DBサーバ20は、データベースを管理するため、DBMS(database management system)として機能するサーバである。
<1.2 各機器の構成の詳細>
図2は、PC10の機能を示すブロック図である。
次に、本実施形態で用いるデータについて、説明する。
次に、本実施形態におけるPC10、PLC30の動作について、図面を用いて詳しく説明する。
ユーザは、PC10において、PLC30で実行させるユーザプログラムを作成する。ユーザは、DBサーバ20へアクセスするため、構造体型の変数を含むユーザプログラムを作成する。
プログラミングツール12により作成されるユーザプログラムの例について、説明する。図7は、ユーザプログラムの一例を示す図である。
(実施例1の変形例1)
なお、上記実施例1の説明では、DBアクセス処理プログラム35は、定義情報32に含まれる構造体タグ名を、そのままDBMS22へアクセスするためのテーブル名とし、定義情報32に含まれるメンバ名を、フィールド名とするものとして説明した。
上記実施例1の説明では、DBアクセス処理プログラム35は、図8に示されるような、ステップS76で読み出された値を含むSQL文を生成するものとして説明した。これに限らず、DBアクセス処理プログラム35は、まず値を含まないSQL文を生成し、予めDBMS22へ送信し、続いて、周期的に取得される値を取得する都度、DBMS22へ値を送信することによりDBMS22を操作するものとしてもよい。
次に、別の実施の形態について説明する。実施の形態1では、PLC30が、ユーザプログラム38および定義情報32に基づいて、定義情報32に示される構造体タグ名およびメンバ名を、そのままテーブル名およびフィールド名とする、または、所定の変換規則に基づいてテーブル名およびフィールド名に変換するものとして説明している。
図11は、実施の形態2におけるDBアクセス処理プログラム35の動作を示すフローチャートである。
ステップS110において、DBアクセス処理プログラム35は、ユーザプログラム38の定義情報32を読み出す。
Claims (6)
- データベースシステムへのアクセスが可能な制御装置であって、
構造体型の変数を含むユーザプログラム、および、前記ユーザプログラムに含まれる前記構造体型の定義を示す定義情報を記憶するための記憶部と、
前記定義情報を読み出して、読み出した当該定義情報に基づいて、前記ユーザプログラムの実行による前記データベースシステムへのアクセス時のSQL文を生成する生成部と、
生成されるSQL文を前記データベースシステムへ送信することにより前記SQL文を実行する実行部とを含む、制御装置。 - 前記生成部は、
前記実行されるユーザプログラムに対応する前記定義情報の定義に示される構造体タグ名およびメンバ名を抽出し、抽出した構造体タグ名およびメンバ名を、所定の変換規則に従って前記データベースシステムへアクセスするためのテーブル名およびフィールド名として決定することで前記SQL文を生成する、請求項1に記載の制御装置。 - 前記生成部は、
前記定義情報に基づいて、前記データベースシステムへアクセスするためのテーブル名およびフィールド名が特定された、値を含まないSQL文を生成し、
前記実行部は、前記値を含まないSQL文を予め前記データベースシステムへ送信し、前記ユーザプログラムの命令により前記構造体型の変数のメンバの値を抽出し、抽出された値を前記データベースシステムへ送信することにより、前記SQL文を実行する、請求項1に記載の制御装置。 - 前記記憶部は、前記定義情報に示される、構造体タグ名およびメンバ名の定義と、前記データベースシステムへアクセスするためのテーブル名およびフィールド名との変換規則を示すマッピング情報を記憶しており、
前記生成部は、前記定義情報に示される構造体タグ名およびメンバ名と、前記マッピング情報に示される変換規則とに基づいて、前記SQL文を生成する、請求項1に記載の制御装置。 - 前記生成部は、
前記マッピング情報に示されるテーブル名およびフィールド名に基づいて、値を含まないSQL文を生成し、
前記実行部は、前記値を含まないSQL文を予め前記データベースシステムへ送信し、前記ユーザプログラムの命令により前記構造体型の変数のメンバの値を抽出し、抽出された値を前記データベースシステムへ送信することにより、前記SQL文を実行する、請求項4に記載の制御装置。 - 前記記憶部は、前記定義情報に示される、構造体タグ名およびメンバ名の定義と、前記データベースシステムへアクセスするためのテーブル名およびフィールド名との変換規則を示すマッピング情報を記憶するように構成され、
前記ユーザプログラムは、前記定義情報に基づき前記マッピング情報を生成すべき旨の命令を含み、
前記生成部は、
前記ユーザプログラムに含まれる、前記マッピング情報を生成すべき旨の命令を実行することで、前記定義情報に基づいて前記マッピング情報を生成し、
前記定義情報に示される構造体タグ名およびメンバ名と、前記生成される前記マッピング情報に示される前記変換規則とに基づいて、前記SQL文を生成する、請求項1に記載の制御装置。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012141378 | 2012-06-22 | ||
JP2012141378 | 2012-06-22 | ||
PCT/JP2013/067088 WO2013191275A1 (ja) | 2012-06-22 | 2013-06-21 | 制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2013191275A1 JPWO2013191275A1 (ja) | 2016-05-26 |
JP6065008B2 true JP6065008B2 (ja) | 2017-01-25 |
Family
ID=49768866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014521521A Active JP6065008B2 (ja) | 2012-06-22 | 2013-06-21 | 制御装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US10061809B2 (ja) |
EP (1) | EP2866108A4 (ja) |
JP (1) | JP6065008B2 (ja) |
CN (1) | CN104395845B (ja) |
WO (1) | WO2013191275A1 (ja) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5875737B1 (ja) * | 2014-04-25 | 2016-03-02 | 三菱電機株式会社 | 情報連携支援装置、情報連携支援プログラム |
KR101704145B1 (ko) * | 2014-12-30 | 2017-02-08 | 주식회사 포스코아이씨티 | 이기종 데이터베이스를 지원하는 제어기 관리 스테이션 및 이를 포함하는 제어 시스템 |
JP2016194808A (ja) * | 2015-03-31 | 2016-11-17 | オムロン株式会社 | プログラマブルロジックコントローラ、データ収集装置、データベースアクセス方法およびデータベースアクセスプログラム |
CN106255930B (zh) * | 2015-04-06 | 2019-03-01 | 三菱电机株式会社 | 可编程控制器***、可编程控制器以及显示装置 |
US10169351B2 (en) | 2015-08-19 | 2019-01-01 | International Business Machines Corporation | Merging directory information from a user directory to a common directory |
KR101986476B1 (ko) * | 2017-04-17 | 2019-06-05 | 미쓰비시덴키 가부시키가이샤 | 프로그램 작성 장치 |
WO2019046752A1 (en) * | 2017-08-31 | 2019-03-07 | Schneider Electric Software, Llc | DATA NETWORK FOR INDEXING OBJECTS |
JP6737298B2 (ja) | 2018-03-15 | 2020-08-05 | オムロン株式会社 | コントローラ、制御方法、および制御プログラム |
JP6720994B2 (ja) * | 2018-03-15 | 2020-07-08 | オムロン株式会社 | 制御システム、コントローラ、および制御方法 |
CN109885532A (zh) * | 2019-02-11 | 2019-06-14 | 中国银行股份有限公司 | 一种交易数据标准化方法和装置 |
JP7014199B2 (ja) * | 2019-03-08 | 2022-02-01 | オムロン株式会社 | 制御システム、情報処理装置、および情報処理プログラム |
CN112015831A (zh) * | 2020-09-09 | 2020-12-01 | 深圳市绿联科技有限公司 | 基于c语言对关系型数据库进行操作的方法、装置及设备 |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001034513A (ja) * | 1999-07-19 | 2001-02-09 | Hitachi Ltd | データ変換方法および装置並びにデータ変換プログラムを格納した記憶媒体 |
US6735594B1 (en) | 2000-06-23 | 2004-05-11 | International Business Machines Corporation | Transparent parameter marker support for a relational database over a network |
JP2002023812A (ja) * | 2000-07-05 | 2002-01-25 | Mitsubishi Materials Corp | 自動制御システムおよび自動制御方法 |
JP2002099561A (ja) | 2000-09-21 | 2002-04-05 | Toshiba Corp | データ変換方法およびデータ変換システム並びに記憶媒体 |
JP2002149652A (ja) * | 2000-11-07 | 2002-05-24 | Hitachi Ltd | データベース検索処理方法及びその実施装置並びにその処理プログラムを記録した記録媒体 |
JP2003091530A (ja) * | 2001-09-17 | 2003-03-28 | Toshiba Corp | 構造化データ変換方法、構造化データ変換プログラム、構造化データ変換装置 |
US7467018B1 (en) * | 2002-11-18 | 2008-12-16 | Rockwell Automation Technologies, Inc. | Embedded database systems and methods in an industrial controller environment |
JP4244677B2 (ja) * | 2003-03-31 | 2009-03-25 | 三菱電機株式会社 | Faコントローラ |
US20060026193A1 (en) * | 2004-08-02 | 2006-02-02 | Rockwell Software, Inc. | Dynamic schema for unified plant model |
JP2006164090A (ja) | 2004-12-10 | 2006-06-22 | Hitachi Ltd | データベース操作プログラムの自動生成装置 |
US7565351B1 (en) * | 2005-03-14 | 2009-07-21 | Rockwell Automation Technologies, Inc. | Automation device data interface |
US8065666B2 (en) * | 2006-06-02 | 2011-11-22 | Rockwell Automation Technologies, Inc. | Change management methodologies for industrial automation and information systems |
JP4961928B2 (ja) * | 2006-09-26 | 2012-06-27 | 富士電機株式会社 | シーケンスプログラム変換装置、および、プログラマブルコントローラのプログラミング装置 |
DE102006046643A1 (de) | 2006-09-29 | 2008-04-03 | Phoenix Contact Gmbh & Co. Kg | Speicherprogrammierbare Steuereinrichtung mit integriertem Datenbanktreiber |
JP2007080286A (ja) | 2006-11-13 | 2007-03-29 | Omron Corp | データ収集装置 |
CN100456237C (zh) * | 2007-01-31 | 2009-01-28 | 华为技术有限公司 | 数据库访问方法和装置 |
US7853336B2 (en) * | 2007-02-27 | 2010-12-14 | Rockwell Automation Technologies, Inc. | Dynamic versioning utilizing multiple controller engine instances to limit complications |
CN101714087A (zh) * | 2009-12-15 | 2010-05-26 | 四川长虹电器股份有限公司 | C语言结构体至关系数据库表的映射***及映射方法 |
JP5549556B2 (ja) * | 2010-11-16 | 2014-07-16 | 富士電機株式会社 | データ収集システム、データ収集システムの異常要因判定方法 |
JP6201298B2 (ja) | 2012-11-14 | 2017-09-27 | オムロン株式会社 | コントローラおよびプログラム |
-
2013
- 2013-06-21 WO PCT/JP2013/067088 patent/WO2013191275A1/ja active Application Filing
- 2013-06-21 CN CN201380032494.5A patent/CN104395845B/zh active Active
- 2013-06-21 US US14/405,980 patent/US10061809B2/en active Active
- 2013-06-21 JP JP2014521521A patent/JP6065008B2/ja active Active
- 2013-06-21 EP EP13807001.6A patent/EP2866108A4/en not_active Withdrawn
Also Published As
Publication number | Publication date |
---|---|
CN104395845A (zh) | 2015-03-04 |
JPWO2013191275A1 (ja) | 2016-05-26 |
US20150254305A1 (en) | 2015-09-10 |
US10061809B2 (en) | 2018-08-28 |
EP2866108A4 (en) | 2015-11-04 |
WO2013191275A1 (ja) | 2013-12-27 |
CN104395845B (zh) | 2017-07-25 |
EP2866108A1 (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6065008B2 (ja) | 制御装置 | |
EP3072275B1 (en) | A method and a system for replacing and commissioning a field device | |
US20220058502A1 (en) | Gateway and method for transforming a description of an industrial process equipment into a data information model | |
EP3042254B1 (en) | Systems and methods for virtualizing a programmable logic controller | |
US7600234B2 (en) | Method for launching applications | |
US20120290539A1 (en) | Methods and apparatus for a file system on a programmable logic controller | |
US20200050163A1 (en) | Process image within controllers enabling visibility and accessibility of real world objects | |
JP6751551B2 (ja) | 汎用プロセスシステムライブラリに基づきプロセス制御システムを構成する方法および装置 | |
US8032232B2 (en) | Natively retaining project documentation in a controller | |
WO2014184962A1 (ja) | プログラマブルコントローラとその周辺装置、およびプログラマブルコントローラのテーブルデータアクセスプログラム | |
JP6372308B2 (ja) | 情報処理装置、情報処理方法、情報処理プログラム、および記録媒体 | |
WO2015075790A1 (ja) | シーケンスプログラム作成支援装置 | |
CN112363695A (zh) | Pmml文件及其运行时环境与工业软件的集成方法 | |
JP2021096833A (ja) | 電子デバイス記述言語(eddl)検索およびナビゲーションアシスタント | |
WO2018193503A1 (ja) | プログラム作成装置 | |
JP4780308B2 (ja) | 制御プログラム開発支援装置及びコンピュータプログラム | |
WO2018174000A1 (ja) | 構成管理装置、構成管理方法および記録媒体 | |
JP7381290B2 (ja) | 計算機システム及びデータの管理方法 | |
Runde et al. | EDDL and semantic web—From field device integration (FDI) to Future Device Management (FDM) | |
CN112020684B (zh) | 信息处理装置、***构建辅助方法及存储有***构建辅助程序的非易失性存储装置 | |
Listl et al. | Utilizing ISA-95 in an Industrial Knowledge Graph for Material Flow Simulation-Semantic Model Extensions and Efficient Data Integration | |
EP4099106A1 (en) | Validation logic for opc ua connected devices | |
US20240103826A1 (en) | Collaborative work on translations in industrial system projects | |
JP7014199B2 (ja) | 制御システム、情報処理装置、および情報処理プログラム | |
KR102188562B1 (ko) | 시각 블록 언어 기반 IoT 응용 프로그램 개발 도구 및 그 동작 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20160719 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161006 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20161018 |
|
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: 20161122 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161205 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6065008 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |