JP2010020539A - Program development support device and program creation method - Google Patents

Program development support device and program creation method Download PDF

Info

Publication number
JP2010020539A
JP2010020539A JP2008180382A JP2008180382A JP2010020539A JP 2010020539 A JP2010020539 A JP 2010020539A JP 2008180382 A JP2008180382 A JP 2008180382A JP 2008180382 A JP2008180382 A JP 2008180382A JP 2010020539 A JP2010020539 A JP 2010020539A
Authority
JP
Japan
Prior art keywords
concept
chart
program
control program
parts
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
JP2008180382A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Yabusaki
弘芳 薮崎
Toru Ishikawa
石川  亨
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.)
NIPPON DENNO CO Ltd
Original Assignee
NIPPON DENNO 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 NIPPON DENNO CO Ltd filed Critical NIPPON DENNO CO Ltd
Priority to JP2008180382A priority Critical patent/JP2010020539A/en
Publication of JP2010020539A publication Critical patent/JP2010020539A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a system development support tool for allowing any one engaged in system development to easily and quickly construct a huge and complex system. <P>SOLUTION: A program development support device 1 includes a chart creation means for creating a concept chart having concept components expressing a concept of a specific system and realize components realizing the concept; and a chart conversion means for converting the created concept chart into a control program. The chart creation means includes an input unit 20; a display unit 30 displaying creation processes of the concept chart; and a component information display means for displaying the components including the concept components and the realize components constituting the concept chart on the display unit 30 and also displaying information concerning the components and information defining the relationship among the components on the display unit 30 on the basis of the operation by the input unit 20 by an operator. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、プログラム開発支援装置及びプログラム作成方法に関する。   The present invention relates to a program development support apparatus and a program creation method.

現在、種々の産業分野において、搬送機械、工作機械、産業用ロボット等の種々の産業機械を同期させて制御するシステムの開発が進められている。このようなシステムを統合制御する制御装置の一つとして、従来は、プログラマブル・ロジック・コントローラ(Programmable Logic Controller:以下、「PLC」という。)が採用されている。   Currently, in various industrial fields, development of systems for controlling various industrial machines such as transport machines, machine tools, and industrial robots in synchronization is underway. Conventionally, a programmable logic controller (hereinafter referred to as “PLC”) has been adopted as one of the control devices that integrally control such a system.

PLCによって制御される新たなシステムを開発する際には、(1)要求仕様を設定する、(2)各種機械相互の動作仕様に基づいてPLC制御用のプログラムを作成する、(3)システムを組み立てる、(4)組み立てられたシステムにプログラムを載せて試験を行う、という工程群を経るのが一般的である。   When developing a new system controlled by a PLC, (1) set required specifications, (2) create a program for PLC control based on the operation specifications of various machines, (3) system It is common to go through a group of steps of assembling (4) placing a program on the assembled system and conducting a test.

PLC制御用のプログラムとして、従来は、ラダー言語で作成されたラダープログラムが採用されている(例えば、特許文献1参照)。ラダー言語とは、多数のリレーとコイルを論理的に接続した形式の図式言語であり、PLCが直接実行できる言語の一種である。
特開平7−191717号公報
Conventionally, a ladder program created in a ladder language has been adopted as a program for PLC control (see, for example, Patent Document 1). Ladder language is a graphical language in which many relays and coils are logically connected, and is a kind of language that can be directly executed by PLC.
JP-A-7-191717

ところが、ラダープログラムは、電気回路についての専門的な知識を有する電気技術者によって作成されるため、システム開発に携わる他の技術者(仕様技術者、ハードウェア技術者、ソフトウェア技術者等)にとっては理解が困難なものであった。このため、ラダープログラムを採用すると、システム開発時における技術者間での意思疎通が困難となって連携試験時にしわ寄せが来る可能性が高くなる。また、ラダープログラム作成の際には、ソフトウェア作成の際に採用される種々の手法(機能の分担開発、再利用、構造化設計等)を利用することができないため、ラダープログラム自体の開発性能に限界があり、大規模で複雑なシステムを構築することが困難となっていた。   However, the ladder program is created by an electric engineer who has specialized knowledge about electric circuits, so for other engineers involved in system development (specification engineers, hardware engineers, software engineers, etc.) It was difficult to understand. For this reason, if a ladder program is adopted, communication between engineers at the time of system development becomes difficult, and there is a high possibility that wrinkles will occur during a cooperative test. In addition, when creating a ladder program, it is not possible to use the various methods (functional sharing development, reuse, structured design, etc.) adopted when creating the software. There was a limit and it was difficult to construct a large-scale complex system.

このような問題を解決するため、近年においては、ラダー言語に代わる他のプログラミング言語(例えばBASICやC言語等)で作成したPLC制御用のプログラムが採用されているが、かかる場合においても、採用したプログラミング言語に精通した専門の要員が必要となる。また、近年においては、例えばプログラマブルユニット等のようなPLCに代わる他の制御装置が提案されているが、このようなユニットを開発する際にも、ハードウェアに精通しかつ高級言語を理解することができる専門の開発要員が必要となる。   In recent years, in order to solve such problems, PLC control programs created in other programming languages (such as BASIC or C language) instead of ladder languages have been adopted. Specialized personnel who are familiar with the programming language. In recent years, other control devices have been proposed to replace PLCs, such as programmable units. However, when developing such units, be familiar with the hardware and understand high-level languages. Specialized development personnel who can

本発明は、かかる事情に鑑みてなされたものであり、システム開発に携わる要員の誰もが容易にかつ迅速に巨大で複雑なシステムを構築することができるようなシステム開発支援ツールを提供することを目的とする。   The present invention has been made in view of such circumstances, and provides a system development support tool that enables any of the personnel involved in system development to easily and quickly construct a huge and complex system. With the goal.

前記目的を達成するため、本発明に係るプログラム開発支援装置は、特定のシステムのコンセプトを表現するためのコンセプト部品とコンセプトを実現させるために機能の流れに従って構成されたリアライズ部品とを有するコンセプトチャートを作成するためのチャート作成手段と、チャート作成手段で作成したコンセプトチャートを制御プログラムに変換するチャート変換手段と、を備えるプログラム開発支援装置であって、チャート作成手段は、オペレータが操作可能な入力部と、コンセプトチャートの作成過程を表示するための表示部と、オペレータによる入力部の操作に基づいて、コンセプトチャートを構成するコンセプト部品及びリアライズ部品を含む複数の部品を表示部に表示するとともに、部品の各々に関する情報と部品同士の関係を規定する情報とを表示部に表示する部品情報表示手段と、を有するものである。   In order to achieve the above object, a program development support apparatus according to the present invention includes a concept part for expressing a concept of a specific system and a concept part configured according to a functional flow for realizing the concept. A program development support apparatus comprising: a chart creation means for creating a chart; and a chart conversion means for converting a concept chart created by the chart creation means into a control program, wherein the chart creation means is an input operable by an operator And a display unit for displaying a process of creating a concept chart, and a plurality of parts including a concept part and a realization part constituting the concept chart based on the operation of the input part by the operator, on the display part, Information about each part and parts A part information display means for displaying on the display unit and the information defining the relationship, and has a.

かかる構成を採用すると、特定のシステムのコンセプト自体及びそのコンセプトを実現させるための機能の流れを視覚的・直感的に理解可能なコンセプトチャートを用いて、そのシステムの制御プログラムを開発することができるので、専門性の異なった技術者同志が容易に意思疎通を図ることができる。従って、システムの開発が全体的にスムーズとなり、連携試験時にしわ寄せが来る可能性を低減させることができる。この結果、複雑で大規模なシステムの開発を、容易にかつ迅速に低コスト・高品質で実現させることが可能となる。   By adopting such a configuration, it is possible to develop a control program for a specific system using a concept chart that can visually and intuitively understand the concept of a specific system and the flow of functions for realizing the concept. Therefore, engineers with different specialties can easily communicate with each other. Therefore, the development of the system becomes smooth as a whole, and the possibility that wrinkles will occur during the cooperation test can be reduced. As a result, the development of a complex and large-scale system can be realized easily and quickly with low cost and high quality.

前記プログラム開発支援装置において、コンセプトを具体化した複数のサブコンセプトを階層的に表現するための複数のサブコンセプト部品を有するコンセプトチャートを採用することもできる。   In the program development support apparatus, a concept chart having a plurality of sub-concept parts for hierarchically expressing a plurality of sub-concepts embodying the concept can be adopted.

かかる構成を採用すると、抽象的なコンセプトを具体的なサブコンセプトに分割し、サブコンセプトの各々を実現させるようなコンセプトチャートを作成することができる。すなわち、あるコンセプトを実現するための詳細なコンセプト(サブコンセプト)を階層的に洗い出すことができ、人間の思考を直接的に表現することができるため、誰もが容易に理解することが可能なコンセプトチャートを作成することができる。   By adopting such a configuration, it is possible to divide an abstract concept into specific subconcepts and create a concept chart that realizes each subconcept. In other words, detailed concepts (sub-concepts) for realizing a concept can be identified hierarchically and human thoughts can be expressed directly, so anyone can easily understand them. A concept chart can be created.

また、前記プログラム開発支援装置において、制御プログラムをコンセプトチャートに逆変換する逆変換手段を備えることもできる。   In addition, the program development support apparatus may include reverse conversion means for reversely converting the control program into a concept chart.

かかる構成を採用すると、設計と実装とのずれを確認することができるので、メンテナンス性を向上させることができ、移植性能を高めることが可能となる。また、例えば、ソフトウェア技術者が制御プログラムを変更した場合に、その変更結果を他の技術者(仕様技術者やハードウェア技術者)がコンセプトチャートの形式で確認することができる。従って、システムの設計変更及びその確認がきわめて容易となる。   By adopting such a configuration, it is possible to confirm the deviation between the design and the mounting, so that it is possible to improve the maintainability and to improve the transplantation performance. Further, for example, when a software engineer changes the control program, another engineer (specification engineer or hardware engineer) can check the change result in the form of a concept chart. Therefore, it is very easy to change the design of the system and confirm it.

また、前記プログラム開発支援装置において、チャート作成手段で作成したコンセプトチャートを、FA制御言語で記述された第一の制御プログラムに変換する第一変換手段と、第一変換手段で得た第一の制御プログラムを、C言語で記述された第二の制御プログラムに変換する第二変換手段と、を有するチャート変換手段を採用することができる。ここで、FA制御言語とは、コンセプトチャートとC言語との中間に位置し日本語で理解可能な新規なプログラミング言語である。   In the program development support device, the first conversion means for converting the concept chart created by the chart creation means into the first control program described in the FA control language and the first conversion means obtained by the first conversion means A chart conversion means having a second conversion means for converting the control program into a second control program written in C language can be employed. Here, the FA control language is a new programming language which is located between the concept chart and the C language and can be understood in Japanese.

かかる構成を採用すると、コンセプトチャートを、比較的理解し易いFA制御言語及びC言語に変換することができるので、従来PLC分野で用いられていた専門の要員にしか理解できないラダー言語等を用いる必要がない。従って、専門の開発要員が不要となるため、システムの設計・開発に要するコストを著しく低減させることが可能となる。   By adopting such a configuration, the concept chart can be converted into FA control language and C language that are relatively easy to understand, so it is necessary to use a ladder language that can only be understood by specialized personnel conventionally used in the PLC field. There is no. This eliminates the need for specialized development personnel, thereby significantly reducing the cost required for system design and development.

また、本発明に係るプログラム作成方法は、特定のシステムのコンセプトを表現するためのコンセプト部品とコンセプトを実現させるために機能の流れに従って構成されたリアライズ部品とを有するコンセプトチャートを用いて、システムの制御プログラムを作成するプログラム作成方法であって、オペレータによる所定の入力部の操作に基づいて、コンセプトチャートを構成するコンセプト部品及びリアライズ部品を含む複数の部品と、部品の各々に関する情報と、部品同士の関係を規定する情報と、を所定の表示部に表示してコンセプトチャートを作成するチャート作成工程と、チャート作成工程で作成したコンセプトチャートを制御プログラムに変換するチャート変換工程と、を備えるものである。   In addition, the program creation method according to the present invention uses a concept chart having a concept part for expressing a concept of a specific system and a realization part configured according to a function flow to realize the concept. A program creation method for creating a control program, based on an operation of a predetermined input unit by an operator, a plurality of parts including concept parts and realization parts constituting a concept chart, information on each of the parts, and parts And a chart creation process for creating a concept chart by displaying the information for defining the relationship on a predetermined display unit, and a chart conversion process for converting the concept chart created in the chart creation process into a control program. is there.

かかる方法を採用すると、特定のシステムのコンセプト自体及びそのコンセプトを実現させるための機能の流れを視覚的・直感的に理解可能なコンセプトチャートを用いて、そのシステムの制御プログラムを作成することができるので、専門性の異なった技術者同志が容易に意思疎通を図ることができる。従って、システムの開発が全体的にスムーズとなり、連携試験時にしわ寄せが来る可能性を低減させることができる。この結果、複雑で大規模なシステムの開発を、容易にかつ迅速に低コスト・高品質で実現させることが可能となる。   By adopting such a method, it is possible to create a control program for a specific system using a concept chart that can visually and intuitively understand the concept of a specific system and the flow of functions for realizing the concept. Therefore, engineers with different specialties can easily communicate with each other. Therefore, the development of the system becomes smooth as a whole, and the possibility that wrinkles will occur during the cooperation test can be reduced. As a result, the development of a complex and large-scale system can be realized easily and quickly with low cost and high quality.

前記プログラム作成方法において、チャート変換工程で得た制御プログラムのシステム適用試験を実施する試験工程と、システム適用試験の結果に基づいて制御プログラムを修正すべきか否かを判定する修正判定工程と、を備え、修正判定工程において制御プログラムを修正すべきであると判定した場合に、再度チャート作成工程及びチャート変換工程を経ることにより制御プログラムを修正することもできる。   In the program creation method, a test step of performing a system application test of the control program obtained in the chart conversion step, and a correction determination step of determining whether or not the control program should be corrected based on a result of the system application test. In addition, when it is determined that the control program should be corrected in the correction determination step, the control program can be corrected by going through the chart creation step and the chart conversion step again.

かかる方法を採用すると、作成した制御プログラムに不具合があった場合においても、コンセプトチャートを用いることにより容易にかつ迅速に制御プログラムを修正することが可能となる。   If such a method is adopted, even if there is a problem with the created control program, it is possible to easily and quickly correct the control program by using the concept chart.

本発明によれば、システム開発に携わる要員の誰もが容易にかつ迅速に巨大で複雑なシステムの構築を実現させることができるようなシステム開発支援ツールを提供することが可能となる。   According to the present invention, it is possible to provide a system development support tool that allows any person involved in system development to easily and quickly realize the construction of a huge and complex system.

以下、図面を参照して、本発明の実施形態に係るプログラム開発支援装置について説明する。   Hereinafter, a program development support apparatus according to an embodiment of the present invention will be described with reference to the drawings.

まず、図1〜図6を用いて、本実施形態に係るプログラム開発支援装置1の構成について説明する。   First, the configuration of the program development support apparatus 1 according to the present embodiment will be described with reference to FIGS.

プログラム開発支援装置1は、図1に示すように、各種情報処理を行う中央情報処理装置10と、中央情報処理装置10に接続された入力部20及び表示部30と、を備えている。本装置1は、コンセプトチャートを採用することにより、システム開発に携わる技術者によるプログラムの開発を支援するものである。なお、コンセプトチャートとは、特定のシステムのコンセプトを表現しかつそのコンセプトを実現させるためのチャート(図表)であり、コンセプト自体を表現するコンセプト部品と、コンセプトを構成する複数のサブコンセプトを表現する複数のサブコンセプト部品と、コンセプト及びサブコンセプトを実現させるためのリアライズ部品と、を含む複数の部品から構成されている。   As illustrated in FIG. 1, the program development support device 1 includes a central information processing device 10 that performs various types of information processing, and an input unit 20 and a display unit 30 that are connected to the central information processing device 10. The apparatus 1 supports the development of a program by an engineer engaged in system development by adopting a concept chart. A concept chart is a chart (diagram) that expresses the concept of a specific system and realizes that concept. It expresses concept parts that express the concept itself and multiple subconcepts that make up the concept. It is composed of a plurality of parts including a plurality of sub-concept parts and a realization part for realizing the concept and the sub-concept.

入力部20は、マウスやキーボード等を含む各種ポインティングデバイスであり、オペレータが中央情報処理装置10に対して各種情報の入力を行う際に使用される。オペレータは、入力部20を用いて、コンセプトチャートを構成する部品(コンセプト部品やリアライズ部品)の選択入力を行うことができるとともに、これら部品に関する各種情報や部品同士の関係を規定する情報を入力することができる。表示部30は、図2に示すように、中央情報処理装置10から出力される画像信号を受けて、各種画像を表示するものである。表示部30には、図3〜図6に示すように、入力部20により選択入力されたコンセプトチャートを構成する部品が表示される。   The input unit 20 is various pointing devices including a mouse and a keyboard, and is used when an operator inputs various information to the central information processing apparatus 10. The operator can use the input unit 20 to select and input parts (concept parts and realized parts) constituting the concept chart, and inputs various information related to these parts and information defining the relationship between the parts. be able to. As shown in FIG. 2, the display unit 30 receives the image signal output from the central information processing apparatus 10 and displays various images. As shown in FIG. 3 to FIG. 6, the display unit 30 displays parts constituting the concept chart selected and input by the input unit 20.

中央情報処理装置10は、CPU、ROM、RAM、HDD、入出力インタフェース等を備えるコンピュータシステムであり、ROMに記録された各種制御プログラムをCPUが読み込んで所望の演算を実行することにより、種々の処理や制御を行う。具体的には、中央情報処理装置10は、入力部20からの入力信号を受けて、表示部30に表示すべき画像信号を表示部30に出力することにより、入力部20を介して選択入力されたコンセプトチャートを構成する部品を表示部30に表示する。また、中央情報処理装置10は、入力部20からの入力信号を受けて、表示された部品の各々に関する情報や、表示された部品同士の関係を規定する情報を表示する。すなわち、中央情報処理装置10は、本発明における部品情報表示手段として機能する。また、中央情報処理装置10、入力部20及び表示部30により、本発明におけるチャート作成手段が構成される。   The central information processing apparatus 10 is a computer system including a CPU, ROM, RAM, HDD, input / output interface, and the like, and various control programs recorded in the ROM are read by the CPU and executed as desired, thereby performing various operations. Perform processing and control. Specifically, the central information processing apparatus 10 receives an input signal from the input unit 20, and outputs an image signal to be displayed on the display unit 30 to the display unit 30, thereby selecting input via the input unit 20. The components constituting the concept chart thus displayed are displayed on the display unit 30. In addition, the central information processing apparatus 10 receives an input signal from the input unit 20 and displays information regarding each of the displayed components and information defining the relationship between the displayed components. That is, the central information processing apparatus 10 functions as a component information display unit in the present invention. Further, the central information processing apparatus 10, the input unit 20, and the display unit 30 constitute a chart creation unit in the present invention.

また、中央情報処理装置10は、作成したコンセプトチャートを制御プログラムに変換する。具体的には、中央情報処理装置10は、作成したコンセプトチャートを、FA制御言語で記述された制御プログラム(第一の制御プログラム)に変換する。また、中央情報処理装置10は、FA制御言語で記述された制御プログラムを、C言語で記述された制御プログラム(第二の制御プログラム)に変換する。すなわち、中央情報処理装置10は、チャート変換手段(第一変換手段及び第二変換手段)として機能する。 また、中央情報処理装置10は、FA制御言語又はC言語で記述された制御プログラムをコンセプトチャートに逆変換することができる。すなわち、中央情報処理装置10は、逆変換手段としても機能する。   The central information processing apparatus 10 converts the created concept chart into a control program. Specifically, the central information processing apparatus 10 converts the created concept chart into a control program (first control program) described in the FA control language. The central information processing apparatus 10 converts the control program written in the FA control language into a control program (second control program) written in the C language. That is, the central information processing apparatus 10 functions as chart conversion means (first conversion means and second conversion means). Further, the central information processing apparatus 10 can reversely convert a control program written in FA control language or C language into a concept chart. That is, the central information processing apparatus 10 also functions as an inverse conversion unit.

ここで、図2〜図6を用いて、本実施形態に係るプログラム開発支援装置1におけるコンセプトチャートの作成方法の一例について説明する。   Here, an example of a concept chart creation method in the program development support apparatus 1 according to the present embodiment will be described with reference to FIGS.

まず、オペレータは、図2に示すような表示部30に表示されたツールバー31(コンセプトチャートを構成する部品に対応するボタン群)の中から、入力部20を用いて、貼り付けたい部品のボタンを選択する。例えば、オペレータが入力部20(マウス)を用いてツールバー31の中の「開始部品」ボタンをクリックすると、その入力信号を受けた中央情報処理装置10は、表示部30の下部に「部品選択モード:開始部品」という文字を表示する。このような「部品選択モード」の状態で、オペレータが入力部20(マウス)を用いて表示部30の中央部にあるチャート作成画面32をクリックすると、その入力信号を受けた中央情報処理装置10は、図3に示すように、表示部30のチャート作成画面32に開始部品Sを貼り付ける(表示する)。この時点で、「部品選択モード」は解除される。   First, the operator uses the input unit 20 from the toolbar 31 (a group of buttons corresponding to the components constituting the concept chart) displayed on the display unit 30 as shown in FIG. Select. For example, when the operator uses the input unit 20 (mouse) and clicks the “starting part” button in the tool bar 31, the central information processing apparatus 10 that has received the input signal displays “component selection mode” at the bottom of the display unit 30. : Start part ”is displayed. In such a “component selection mode” state, when the operator uses the input unit 20 (mouse) to click the chart creation screen 32 at the center of the display unit 30, the central information processing apparatus 10 that has received the input signal. 3 pastes (displays) the start part S on the chart creation screen 32 of the display unit 30 as shown in FIG. At this point, the “component selection mode” is canceled.

次いで、オペレータが、表示部30のチャート作成画面32に貼り付けられた(表示された)開始部品Sをクリックすると、その入力信号を受けた中央情報処理装置10は、図4に示すように、チャート作成画面32の右側にあるプロパティ画面33に開始部品Sのプロパティリストを表示する。オペレータは、入力部20を用いて、このプロパティリストに、開始部品Sのプロパティを入力する。例えば、オペレータが入力部20(キーボード)を用いてプロパティリストの「Summary」の欄に「プログラム開始」と入力すると、その入力信号を受けた中央情報処理装置10は、図4に示すように、チャート作成画面32の開始部品Sの上方に「プログラム開始」と表示する。   Next, when the operator clicks the starting part S pasted (displayed) on the chart creation screen 32 of the display unit 30, the central information processing apparatus 10 that has received the input signal, as shown in FIG. The property list of the starting part S is displayed on the property screen 33 on the right side of the chart creation screen 32. The operator uses the input unit 20 to input the property of the starting part S into this property list. For example, when the operator inputs “program start” in the “Summary” field of the property list using the input unit 20 (keyboard), the central information processing apparatus 10 that has received the input signal, as shown in FIG. “Program start” is displayed above the start part S on the chart creation screen 32.

オペレータは、上記と同様の手順で、図5に示すように、表示部30のチャート作成画面32に別の部品(例えばコンセプト部品C1)を貼り付けることができる。この後、オペレータは、入力部20(マウス)を用いて、開始部品Sとコンセプト部品C1とを線で結ぶ。具体的には、オペレータは、チャート作成画面32の開始部品Sの上にマウスポインタを配置した状態でマウスの左ボタンを押し、押したままマウスポインタをコンセプト部品C1へと移動させた後、左ボタンを離す。このような入力信号を受けた中央情報処理装置10は、図6に示すように、開始部品Sとコンセプト部品C1とを結ぶ線Lを表示する。以下、同様の手順で、コンセプトチャートを作成することができる。 The operator can paste another part (for example, concept part C 1 ) on the chart creation screen 32 of the display unit 30 as shown in FIG. Thereafter, the operator uses the input section 20 (mouse), connecting the start part S and concepts component C 1 by line. Specifically, the operator presses the left button of the mouse with the mouse pointer placed on the start part S on the chart creation screen 32, moves the mouse pointer to the concept part C 1 while holding down the mouse pointer, and then moves to the concept part C1. Release the left button. Upon receiving such an input signal, the central information processing apparatus 10 displays a line L connecting the start part S and the concept part C 1 as shown in FIG. Thereafter, a concept chart can be created in the same procedure.

次いで、図7〜図15を用いて、特定のシステムに適用される制御プログラムを作成する方法を説明する。本実施形態においては、タンク内の水温を一定に保つように水温を制御する水温制御システム100に適用される制御プログラムを作成する方法について説明する。   Next, a method for creating a control program applied to a specific system will be described with reference to FIGS. In the present embodiment, a method for creating a control program applied to the water temperature control system 100 that controls the water temperature so as to keep the water temperature in the tank constant will be described.

図7は、本実施形態で作成される制御プログラムが適用される水温制御システム100の構成図である。水温制御システム100は、水を貯留するタンク110と、タンク110内の水温を検出する水温センサ120と、タンク110内の水を加温するヒータ130と、タンク110内の水温の目標値(設定温度)を設定するための操作ボタン(UP/DOWNボタン)や設定温度を表示する表示部を有する操作パネル140と、タンク110内の水温を一定(操作パネル140での設定温度)に保つようにヒータ130をON/OFF制御するコントローラ150と、を備えている。   FIG. 7 is a configuration diagram of the water temperature control system 100 to which the control program created in the present embodiment is applied. The water temperature control system 100 includes a tank 110 that stores water, a water temperature sensor 120 that detects the water temperature in the tank 110, a heater 130 that heats the water in the tank 110, and a target value (setting of the water temperature in the tank 110). Operation panel 140 having an operation button (UP / DOWN button) for setting the temperature) and a display unit for displaying the set temperature, and the water temperature in the tank 110 is kept constant (set temperature on the operation panel 140). And a controller 150 that controls ON / OFF of the heater 130.

本実施形態では、水温制御システム100のコンセプトチャートを使用して、コントローラ150の動作を制御するための制御プログラムを作成することとする。一般的には、図8に示すようなタスク構成図を用いて、水温制御システム100の主要な構成におけるタスクを明確にするが、コンセプトチャートにおいては、後述するコンセプト部品を具現化(リアライズ)して作成されたモジュール部品にタスク属性をプロパティで設定するだけでタスクとして実行される。   In the present embodiment, a control program for controlling the operation of the controller 150 is created using the concept chart of the water temperature control system 100. In general, tasks in the main configuration of the water temperature control system 100 are clarified using a task configuration diagram as shown in FIG. 8, but in the concept chart, concept components described later are realized (rearized). The task attribute is executed as a task simply by setting the task attribute to the module part created in this way.

ここで、「タスク」とは、水温制御システム100のコンセプト(目的・機能)を実現させるために、水温制御システム100の主要な構成が達成すべきサブコンセプトである。操作パネル140におけるタスクは、操作ボタンを押下操作することによりタンク110内の水温の目標値(設定温度)を設定すること(操作パネル制御タスクT1)である。コントローラ150は、所定時間毎に操作ボタンの状態をチェックして設定温度を更新し、設定温度に変化があった場合には、その変化を水温制御タスクT3に反映させる。水温センサ120におけるタスクは、所定時間毎にタンク110内の水温を検出すること(水温監視タスクT2)である。コントローラ150は、水温センサ120を介して所定時間毎にタンク110内の水温を検出し、水温に変化があった場合には、その変化を水温制御タスクT3に反映させる。コントローラ150におけるタスクは、操作パネル140による設定温度の変化と、水温センサ120で検出されたタンク110内の水温の変化と、に基づいて、ヒータ130を制御すること(水温制御タスクT3)である。 Here, the “task” is a sub-concept that the main configuration of the water temperature control system 100 should achieve in order to realize the concept (purpose / function) of the water temperature control system 100. The task on the operation panel 140 is to set a target value (set temperature) of the water temperature in the tank 110 by pressing the operation button (operation panel control task T 1 ). The controller 150 checks the state of the operation button every predetermined time to update the set temperature, if there is a change in the set temperature, to reflect the change in the temperature control task T 3. The task in the water temperature sensor 120 is to detect the water temperature in the tank 110 every predetermined time (water temperature monitoring task T 2 ). The controller 150 detects the water temperature in the tank 110 at predetermined time intervals via the water temperature sensor 120, if there is a change in water temperature, to reflect the change in the temperature control task T 3. The task in the controller 150 is to control the heater 130 based on the change in the set temperature by the operation panel 140 and the change in the water temperature in the tank 110 detected by the water temperature sensor 120 (water temperature control task T 3 ). is there.

まず、図9及び図10に示すように、オペレータは、水温制御システム100のコンセプトを示すコンセプト部品C1を、プログラム開発支援装置1の表示部30に表示して定義する(コンセプト定義工程:S1)。コンセプト定義工程S1においては、オペレータが、入力部20を用いて、コンセプトチャートを構成する部品群の中からコンセプト部品C1を選択して入力操作を行う。かかる入力操作を受けた中央情報処理装置10は、表示部30にコンセプト部品C1を表示する。また、オペレータは、入力部20を用いて、表示したコンセプト部品C1に関する情報(内容や属性)を入力する。かかる入力操作を受けた中央情報処理装置10は、表示部30にコンセプト部品C1に関する情報を表示する。例えば、水温制御システム100のコンセプトは「タンク内の水温を一定に制御する」ことであるので、その旨が入力されて表示される。なお、コンセプト定義工程S1においては、コンセプトチャートの開始部品S及び終了部品Eも併せて表示(定義)する。 First, as shown in FIGS. 9 and 10, the operator, the concept component C 1 showing the concept of a water temperature control system 100, defined by the display unit 30 of the aid device 1 (Concept Definition step: S1 ). In the concept definition step S1, the operator uses the input unit 20, performs an input operation by selecting the concept component C 1 from among the group of components constituting the concept chart. The central information processing apparatus 10 that has received such an input operation displays the concept component C 1 on the display unit 30. Further, the operator uses the input unit 20 to input information (contents and attributes) regarding the displayed concept component C 1 . The central information processing apparatus 10 that has received such an input operation displays information on the concept part C 1 on the display unit 30. For example, since the concept of the water temperature control system 100 is “control the water temperature in the tank to be constant”, that fact is input and displayed. In the concept definition step S1, the start part S and the end part E of the concept chart are also displayed (defined).

次いで、オペレータは、図11に示すように、コンセプト定義工程S1で表示したコンセプト部品C1を、複数のサブコンセプト部品C2〜C4に分割する(コンセプト分割工程:S2)。コンセプト分割工程S2においては、オペレータが、入力部20を用いて、コンセプト部品C1を構成するサブコンセプト部品C2〜C4を選択して入力操作を行う。入力操作を受けた中央情報処理装置10は、表示部30にサブコンセプト部品C2〜C4を表示する。また、オペレータは、入力部20を用いて、表示したサブコンセプト部品C2〜C4に関する情報を入力するとともに、表示したサブコンセプト部品同士の関係を規定する情報を入力する。かかる入力操作を受けた中央情報処理装置10は、表示部30にサブコンセプト部品C2〜C4に関する情報を表示するとともに、部品間の関係を規定する情報を表示する。水温制御システム100のサブコンセプトは、前記したタスク(操作パネル制御タスクT1、水温監視タスクT2、水温制御タスクT3)に相当するので、その旨が入力されて項目列挙的に表示される。なお、図11において、サブコンセプト部品C2〜C4は直列的に表示されているが、この直列的関係は時系列的な関係を示すものではない。各サブコンセプト部品C2〜C4は、前記したようなモジュールをタスク化する設定を利用することにより、実際は並列的(同時並行的)に実行することができる。 Then, the operator, as shown in FIG. 11, the concept component C 1 viewed in concept definition step S1, to divide a plurality of the sub-concept parts C 2 -C 4 (Concept dividing step: S2). In the concept dividing step S2, the operator uses the input unit 20 to select the sub-concept parts C 2 to C 4 constituting the concept part C 1 and perform an input operation. The central information processing apparatus 10 that has received the input operation displays the sub-concept parts C 2 to C 4 on the display unit 30. Further, the operator inputs information regarding the displayed sub-concept parts C 2 to C 4 using the input unit 20 and inputs information that defines the relationship between the displayed sub-concept parts. The central information processing apparatus 10 that has received such an input operation displays information on the sub-concept parts C 2 to C 4 on the display unit 30 and information that defines the relationship between the parts. The sub-concept of the water temperature control system 100 corresponds to the above-described tasks (operation panel control task T 1 , water temperature monitoring task T 2 , water temperature control task T 3 ). . In FIG. 11, the sub-concept parts C 2 to C 4 are displayed in series, but this series relationship does not indicate a time-series relationship. Each sub-concept component C 2 to C 4 can be executed in parallel (simultaneously in parallel) by using the setting for making the module into a task as described above.

次いで、オペレータは、図12〜図15に示すように、サブコンセプト部品C2〜C4を実現させるためのリアライズ部品を、プログラム開発支援装置1の表示部30に表示する(リアライジング工程:S3)。オペレータは、入力部20を用いて、サブコンセプト部品C2〜C4を実現させるためのリアライズ部品を選択して入力操作を行う。かかる入力操作を受けた中央情報処理装置10は、表示部30にリアライズ部品を表示する。また、オペレータは、入力部20を用いて、貼り付けたリアライズ部品に関する情報を入力するとともに、表示したリアライズ部品同士の関係を規定する情報を入力する。かかる入力操作を受けた中央情報処理装置10は、表示部30にリアライズ部品に関する情報やリアライズ部品同士の関係を規定する情報を表示する。 Next, as shown in FIGS. 12 to 15, the operator displays the realized parts for realizing the sub-concept parts C 2 to C 4 on the display unit 30 of the program development support apparatus 1 (realizing process: S3 ). Using the input unit 20, the operator selects a realization part for realizing the sub-concept parts C 2 to C 4 and performs an input operation. Upon receiving such an input operation, the central information processing apparatus 10 displays the realized parts on the display unit 30. Further, the operator uses the input unit 20 to input information regarding the pasted realized parts, and also inputs information defining the relationship between the displayed realized parts. The central information processing apparatus 10 that has received such an input operation displays information relating to the realized parts and information defining the relationship between the realized parts on the display unit 30.

<操作パネル制御>
ここで、図12を用いて、サブコンセプト部品C2を実現させるためのリアライズ部品R1〜R17について具体的に説明する。サブコンセプト部品C2のサブコンセプトは、操作パネル制御タスクT1に相当するものである。二個一組で配置されるR1及びR2は、反復を表すリアライズ部品であり、これらの間に配置されたリアライズ部品は所定の周期で繰り返し実行される。二個一組で配置されるR3〜R12(R3及びR4の組、R5及びR6の組、R7及びR8の組、R9及びR10の組、R11及びR12の組)は条件を表すリアライズ部品であり、一定の条件を満たした場合に、これらの間に配置されたリアライズ部品が実行される。R13〜R17は、各々、実行する内容を具体的に表示するリアライズ部品である。R13は「現在の設定温度を保存する」ことを実行するものであり、R14は「設定温度を1℃上げる」ことを実行するものであり、R15は「設定温度を1℃下げる」ことを実行するものであり、R16は「設定温度を水温制御に反映させる」ことを実行するものであり、R17は「所定時間の遅延処理(周期に相当する時間だけ処理を遅れさせること)」を実行するものである。
<Control panel control>
Here, the realization parts R 1 to R 17 for realizing the sub-concept part C 2 will be specifically described with reference to FIG. The sub concept of the sub concept part C 2 corresponds to the operation panel control task T 1 . R 1 and R 2 which are arranged in two pair are Realize component represents recurring, Realize component disposed between them is repeatedly executed in a predetermined cycle. R 3 to R 12 arranged in pairs (R 3 and R 4 , R 5 and R 6 , R 7 and R 8 , R 9 and R 10 , R 11 and R 12 sets) are realization parts representing conditions, and when a certain condition is satisfied, the realization parts arranged between them are executed. R 13 to R 17 are realization parts that specifically display the contents to be executed. R 13 executes “save the current set temperature”, R 14 executes “increase the set temperature by 1 ° C.”, and R 15 “decreases the set temperature by 1 ° C.” R 16 is to execute “reflect the set temperature to the water temperature control”, and R 17 is “delay processing for a predetermined time (delay the processing by a time corresponding to the period”). ) ”.

本実施形態においては、水温制御タスクT3が実行された場合に、R3及びR4の間に配置されたリアライズ部品群(R5〜R17)が実行される。水温制御タスクT3が実行された場合には、R13が実行されて、現在の設定温度が保存される。続いて、操作パネル140の操作ボタンが押下操作された場合に、R5及びR6の間に配置されたリアライズ部品群(R7〜R10、R14及びR15)が実行される。操作ボタンのうちUPボタンが押下操作され、かつ設定温度が上限値以下である場合には、R7及びR8の間に配置されたR14が実行されて、設定温度が1℃上げられる。一方、操作ボタンのうちDOWNボタンが押下操作され、かつ設定温度が下限値以上である場合には、R9及びR10の間に配置されたR15が実行されて、設定温度が1℃下げられる。続いて、設定温度が変更された場合に、R11及びR12の間に配置されたR16が実行されて、設定温度の変更情報が水温制御タスクT3に通知されて水温制御に反映される。その後R17が実行されて、所定時間の遅延処理がなされる。 In the present embodiment, when the water temperature control task T 3 is executed, R 3 and arranged Realize component groups between R 4 (R 5 ~R 17) is executed. If the water temperature control task T 3 is running, R 13 is executed, the current set temperature is stored. Subsequently, when the operation button of the operation panel 140 is depressed, arranged Realize component groups between R 5 and R 6 (R 7 ~R 10, R 14 and R 15) is executed. When the UP button among the operation buttons is pressed and the set temperature is equal to or lower than the upper limit value, R 14 arranged between R 7 and R 8 is executed, and the set temperature is raised by 1 ° C. On the other hand, when the DOWN button among the operation buttons is pressed and the set temperature is equal to or higher than the lower limit value, R 15 arranged between R 9 and R 10 is executed, and the set temperature is lowered by 1 ° C. It is done. Subsequently, when the set temperature is changed, R 16 arranged between R 11 and R 12 is executed, and the change information of the set temperature is notified to the water temperature control task T 3 and reflected in the water temperature control. The Thereafter, R 17 is executed, and a delay process for a predetermined time is performed.

<水温監視>
次いで、図13を用いて、サブコンセプト部品C3を実現させるためのリアライズ部品R20〜R28について具体的に説明する。サブコンセプト部品C3のサブコンセプトは、水温監視タスクT2に相当するものである。二個一組で配置されるR20及びR21は、反復を表すリアライズ部品であり、これらの間に配置されたリアライズ部品は所定の周期で繰り返し実行される。二個一組で配置されるR22〜R25(R22及びR23の組、R24及びR25の組)は条件を表すリアライズ部品であり、一定の条件を満たした場合に、これらの間に配置されたリアライズ部品が実行される。R26〜R28は、各々、実行する内容を具体的に表示するリアライズ部品である。R26は「現在の水温を保存する」ことを実行するものであり、R27は「検出された水温(検出温度)を水温制御に反映させる」ことを実行するものであり、R28は「所定時間の遅延処理(周期に相当する時間だけ処理を遅れさせること)」を実行するものである。
<Water temperature monitoring>
Next, the realization parts R 20 to R 28 for realizing the sub-concept part C 3 will be specifically described with reference to FIG. The sub concept of the sub concept part C 3 corresponds to the water temperature monitoring task T 2 . R 20 and R 21 arranged in pairs are realization parts representing repetition, and the realization parts arranged between them are repeatedly executed at a predetermined cycle. R 22 to R 25 (a set of R 22 and R 23, a set of R 24 and R 25 ) arranged in pairs are realized parts that represent conditions, and when certain conditions are satisfied, these The realization parts arranged in between are executed. R 26 to R 28 are realization parts that specifically display the contents to be executed. R 26 executes “save the current water temperature”, R 27 executes “reflect the detected water temperature (detected temperature) in the water temperature control”, and R 28 sets “ A delay process for a predetermined time (delaying the process by a time corresponding to the period) ”is executed.

本実施形態においては、水温制御タスクT3が実行されていた場合に、R22及びR23の間に配置されたリアライズ部品群(R24〜R28)が実行される。水温制御タスクT3が実行されていた場合には、R26が実行されて、現在のタンク110内の水温が保存される。続いて、水温センサ120で検出された水温(検出温度)が変更された場合に、R24及びR25の間に配置されたR27が実行されて、検出温度の変更情報が水温制御タスクT3に通知されて水温制御に反映される。その後R28が実行されて、所定時間の遅延処理がなされる。 In the present embodiment, when the water temperature control task T 3 has been executed, arranged Realize component groups between R 22 and R 23 (R 24 ~R 28) is executed. If the water temperature control task T 3 has been running, R 26 is executed, the water temperature of the current tank 110 is stored. Subsequently, when the water temperature (detected temperature) detected by the water temperature sensor 120 is changed, R 27 arranged between R 24 and R 25 is executed, and the change information of the detected temperature is the water temperature control task T. 3 is notified and reflected in the water temperature control. Thereafter, R 28 is executed, and a delay process for a predetermined time is performed.

<水温制御>
続いて、図14及び図15を用いて、サブコンセプト部品C4を実現させるためのリアライズ部品R30〜R44について具体的に説明する。サブコンセプト部品C4のサブコンセプトは、水温制御タスクT3に相当するものである。R30〜R32は、各々、実行する内容を具体的に表示するリアライズ部品である。R30は「水温制御を初期化する」ことを実行するものであり、R31は「メッセージの待機」を実行するものであり、R32は「受信メッセージをマップする(受信したメッセージを構成する情報を他のリアライズ部品でも参照できるようにする)」ことを実行するものである。二個一組で配置されるR33及びR34は、メッセージの振分を表すリアライズ部品であり、メッセージの内容に応じて、これらの間に配置されたリアライズ部品が実行される。R35、R36及びR40は、各々、実行する内容を具体的に表示するリアライズ部品である。R35は「設定温度を更新する」ことを実行するものであり、R36は「検出温度を変更する」ことを実行するものであり、R40は「ヒータを制御する」ことを実行するものである。
<Water temperature control>
Next, with reference to FIGS. 14 and 15, the realization parts R 30 to R 44 for realizing the sub-concept part C 4 will be specifically described. The sub concept of the sub concept part C 4 corresponds to the water temperature control task T 3 . R 30 to R 32 are realization parts that specifically display the contents to be executed. R 30 executes “initializing water temperature control”, R 31 executes “waiting for message”, and R 32 maps “received message (composes received message). The information can be referred to by other realization parts). R 33 and R 34 arranged in pairs are realization parts representing message distribution, and the realization parts arranged between them are executed according to the contents of the message. R 35 , R 36, and R 40 are realization parts that specifically display the contents to be executed. R 35 executes "updates the set temperature", R 36 executes "changes the detected temperature", and R 40 executes "controls the heater" It is.

本実施形態においては、まず、R30が実行されて、水温制御の初期化(設定温度を下限値に設定するとともに水温を未検出状態とすること)が実現される。続いて、R31及びR32が実行されて、メッセージ(操作パネル制御タスクT1における設定温度の変更情報及び水温監視タスクT2における検出温度の変更情報)の待機がなされ、メッセージを受信した場合には、待機が解除されて、受信したメッセージを構成する情報が他のリアライズ部品で参照可能となる。その後、受信したメッセージが「設定温度の変更情報」であった場合には、R33及びR34の間に配置されたR35及びR40が実行されて、設定温度が変更された状態でヒータが制御される。一方、受信したメッセージが「検出温度の変更情報」であった場合には、R33及びR34の間に配置されたR35及びR40が実行されて、検出温度が変更された状態でヒータが制御される。 In the present embodiment, first, R 30 is executed to realize initialization of water temperature control (setting the set temperature to the lower limit value and setting the water temperature to the undetected state). Then, R 31 and R 32 is running, waiting for messages (change information of the detected temperature in the operation panel control changes the set temperature in the task T 1 information and the water temperature monitoring task T 2) is performed, when receiving the message In this case, the standby is canceled and the information constituting the received message can be referred to by other realization parts. Thereafter, when the received message is “setting temperature change information”, R 35 and R 40 arranged between R 33 and R 34 are executed, and the heater is changed with the setting temperature changed. Is controlled. On the other hand, if the received message is “detected temperature change information”, R 35 and R 40 arranged between R 33 and R 34 are executed, and the heater is changed with the detected temperature changed. Is controlled.

40は、図15に示すようなリアライズ部品R41〜R44によって構成されている。二個一組で配置されるR41及びR42は条件を表すリアライズ部品であり、一定の条件を満たした場合に、これらの間に配置されたリアライズ部品が実行される。R43及びR44は、各々、実行する内容を具体的に表示するリアライズ部品である。R43は「ヒータをONにする」ことを実行するものであり、R44は「ヒータをOFFにする」ことを実行するものである。本実施形態においては、検出温度が設定温度未満であった場合に、R43が実行されてヒータがONにされ、タンク110内の水が加温される。一方、検出温度が設定温度以上であった場合に、R44が実行されてヒータがOFFにされ、タンク110内の水が自然冷却される。 R 40 is constituted by Realize component R 41 to R 44, as shown in FIG 15. R 41 and R 42 arranged in pairs are realization parts representing conditions. When a certain condition is satisfied, the realization parts arranged between them are executed. R 43 and R 44 are realization parts that specifically display the contents to be executed. R 43 is intended to execute that "to ON heater", R 44 is intended to execute that "to OFF heater". In the present embodiment, when the detected temperature is lower than the set temperature, R 43 is executed, the heater is turned on, and the water in the tank 110 is heated. On the other hand, when the detected temperature is equal to or higher than the set temperature, R44 is executed, the heater is turned off, and the water in the tank 110 is naturally cooled.

以上のコンセプト定義工程S1、コンセプト分割工程S2及びリアライジング工程S3を経ることにより、水温制御システム100のコンセプトチャートが作成されることとなる。すなわち、これらの工程群は、本発明におけるチャート作成工程を構成する。このようなコンセプトチャートにより、システム開発に携わる全ての要員が、水温制御システム100のコンセプトを明確に把握することができ、このコンセプトを実現させるための段階的なタスク(サブコンセプト)を認識することができ、さらに、これらサブコンセプトを実現させるための具体的なプロセスを認識することができる。   The concept chart of the water temperature control system 100 is created through the concept definition process S1, the concept division process S2, and the rearizing process S3. That is, these process groups constitute the chart creation process in the present invention. With such a concept chart, all personnel involved in system development can clearly understand the concept of the water temperature control system 100 and recognize step-by-step tasks (sub-concepts) to realize this concept. In addition, a specific process for realizing these sub-concepts can be recognized.

このようなコンセプトチャートを作成した後、オペレータは、入力部20を用いて、コンセプトチャートを所定の制御プログラムに変換するための入力操作を行う。かかる入力操作を受けた中央情報処理装置10は、コンセプトチャートとFA制御言語との対応テーブルを参照して、作成したコンセプトチャートをFA制御言語で記述された制御プログラムに変換し、さらに、FA制御言語で記述された制御プログラムをC言語で記述された制御プログラムに変換する(チャート変換工程:S4)。FA制御言語とは、コンセプトチャートとC言語との中間に位置し日本語で理解可能な新規なプログラミング言語である。本実施形態においては、例えばコンセプトチャートのヒータ制御に係る部分を、以下のようなFA制御言語プログラムに変換する。   After creating such a concept chart, the operator uses the input unit 20 to perform an input operation for converting the concept chart into a predetermined control program. Upon receiving such an input operation, the central information processing apparatus 10 refers to the correspondence table between the concept chart and the FA control language, converts the created concept chart into a control program described in the FA control language, and further performs FA control. The control program written in the language is converted into a control program written in the C language (chart conversion step: S4). The FA control language is a new programming language that is located between the concept chart and the C language and can be understood in Japanese. In the present embodiment, for example, a part related to heater control in the concept chart is converted into the following FA control language program.

modeule ヒータ制御
(in short 水温, // 水温
in short 設定温度, // 設定温度
out_at bool ヒータ) // ヒータ制御リレー
[ //
// 水温が設定温度以下の場合
if(水温 < 設定温度)
[ //
// ヒータをONにする
ヒータ = true; ]
//
// 水温が設定温度以上の場合
else
[ // ヒータをOFFにする
// ヒータ = false; ] ]
modeule heater control
(in short water temperature, // water temperature
in short set temperature, // set temperature
out_at bool heater) // heater control relay
[//
// When the water temperature is below the set temperature
if (water temperature <set temperature)
[//
// Turn on the heater
Heater = true;]
//
// When the water temperature is higher than the set temperature
else
[// Turn off the heater
// heater = false;]]

なお、チャート変換工程S4では、FA制御言語とC言語との対応テーブルを参照して、FA制御言語で記述された制御プログラムをC言語で記述された制御プログラムに変換する。中央情報処理装置10は、このようにC言語で記述された制御プログラムを得た後、C言語コンパイラを用いて制御プログラムをオブジェクトファイルに変換し、最終的に実行ファイルを作成する。   In the chart conversion step S4, the control program written in the FA control language is converted into the control program written in the C language with reference to the correspondence table between the FA control language and the C language. The central information processing apparatus 10 thus obtains a control program described in C language, converts the control program into an object file using a C language compiler, and finally creates an execution file.

その後、所定の要員(例えばハードウェア技術者)は、チャート変換工程S4を経て作成された制御プログラムの実行ファイルを実際のシステム(又はシミュレータ)に適用して試験を行う(試験工程:S5)。そして、オペレータは、その試験結果に基づいて、制御プログラムを修正する必要があるか否かを判定し(修正判定工程:S6)、修正する必要がないと判断した場合には、制御プログラムの作成を終了する。一方、修正判定工程S6において、制御プログラムを修正する必要があると判断した場合には、オペレータは、前記したチャート作成工程(例えばコンセプト分割工程S2やリアライジング工程S3)に戻ってコンセプトチャートを修正し、その後チャート変換工程S4以降の工程を経て制御プログラムの修正を行う。以上の手順を経て、水温制御システム100に適用される制御プログラムを作成することができる。オペレータは、表示部30に表示されているコンセプトチャートを参照しながら入力部20を操作し、コンセプトチャート上で視覚的・直感的に試験を行うことができる。   Thereafter, a predetermined person (for example, a hardware engineer) performs a test by applying the execution file of the control program created through the chart conversion step S4 to an actual system (or simulator) (test step: S5). Then, the operator determines whether or not the control program needs to be corrected based on the test result (correction determination step: S6). Exit. On the other hand, if it is determined in the correction determination step S6 that the control program needs to be corrected, the operator returns to the chart creation step (for example, the concept division step S2 or the realizing step S3) to correct the concept chart. Then, the control program is corrected through the steps after the chart conversion step S4. A control program applied to the water temperature control system 100 can be created through the above procedure. The operator can operate the input unit 20 while referring to the concept chart displayed on the display unit 30 to perform a test visually and intuitively on the concept chart.

以上説明した実施形態に係るプログラム開発支援装置1においては、特定のシステムのコンセプト自体及びそのコンセプトを実現させるアルゴリズムを視覚的・直感的に理解可能なコンセプトチャートを用いて、そのシステムの制御プログラムを開発することができるので、専門性の異なった技術者同志が容易に意思疎通を図ることができる。従って、システムの開発が全体的にスムーズとなり、連携試験時にしわ寄せが来る可能性を低減させることができる。この結果、複雑で大規模なシステムの開発を、容易にかつ迅速に低コスト高品質で実現させることが可能となる。   In the program development support apparatus 1 according to the embodiment described above, a control program for the system is executed using a concept chart that can visually and intuitively understand a concept of a specific system and an algorithm for realizing the concept. Because it can be developed, engineers with different specialties can easily communicate with each other. Therefore, the development of the system becomes smooth as a whole, and the possibility that wrinkles will occur during the cooperation test can be reduced. As a result, the development of a complex and large-scale system can be realized easily and quickly with low cost and high quality.

また、以上説明した実施形態に係るプログラム開発支援装置1においては、抽象的なコンセプトを具体的なサブコンセプトに分割し、サブコンセプトの各々を実現させるようなコンセプトチャートを作成することができる。すなわち、あるコンセプトを実現するための詳細なコンセプト(サブコンセプト)を階層的に洗い出すことができ、人間の思考を直接的に表現することができるため、誰もが容易に理解することが可能なコンセプトチャートを作成することができる(ラダー言語では、このような人間の思考を階層的に表現することができないので、大規模で複雑なシステムの開発が困難となっている)。   In the program development support device 1 according to the embodiment described above, it is possible to divide an abstract concept into specific subconcepts and create a concept chart that realizes each subconcept. In other words, detailed concepts (sub-concepts) for realizing a concept can be identified hierarchically and human thoughts can be expressed directly, so anyone can easily understand them. It is possible to create a concept chart (the ladder language makes it difficult to develop a large-scale and complicated system because such a human thought cannot be expressed hierarchically).

また、以上説明した実施形態に係るプログラム開発支援装置1においては、コンセプトチャートを、比較的理解し易いFA制御言語及びC言語に変換することができるので、従来PLC分野で用いられていた専門の要員にしか理解できないラダー言語等を用いる必要がない。従って、専門の開発要員が不要となるため、システムの設計・開発に要するコストを著しく低減させることが可能となる。   In the program development support apparatus 1 according to the embodiment described above, the concept chart can be converted into the FA control language and C language that are relatively easy to understand. There is no need to use a ladder language that can only be understood by personnel. This eliminates the need for specialized development personnel, thereby significantly reducing the cost required for system design and development.

なお、以上の実施形態においては、修正判定工程S6において、制御プログラムを修正する必要があると判断した場合に、コンセプトチャートの修正及び変換を介して制御プログラムを修正した例を示したが、FA制御言語やC言語で記述された制御プログラムを直接修正することもできる。かかる場合には、オペレータは、入力部20を用いて、制御プログラムをコンセプトチャートに逆変換するための入力操作を行うことができる。かかる入力操作を受けた中央情報処理装置10は、修正した制御プログラム(FA制御言語やC言語で記述された制御プログラム)をコンセプトチャートに変換する。   In the above embodiment, an example in which the control program is corrected through correction and conversion of the concept chart when it is determined in the correction determination step S6 that the control program needs to be corrected has been shown. A control program written in a control language or C language can be directly modified. In such a case, the operator can use the input unit 20 to perform an input operation for reversely converting the control program into a concept chart. Upon receiving such an input operation, the central information processing apparatus 10 converts the modified control program (control program written in FA control language or C language) into a concept chart.

このようにすると、ソフトウェア技術者が制御プログラムを変更した場合に、その変更結果を他の技術者(仕様技術者やハードウェア技術者)がコンセプトチャートの形式で確認することができる。従って、システムの設計変更及びその確認がきわめて容易となる。   In this way, when the software engineer changes the control program, the other engineer (specification engineer or hardware engineer) can check the change result in the form of a concept chart. Therefore, it is very easy to change the design of the system and confirm it.

本発明の実施形態に係るプログラム開発支援装置の構成を説明するためのブロック図である。It is a block diagram for demonstrating the structure of the program development assistance apparatus which concerns on embodiment of this invention. 図1に示したプログラム開発支援装置の表示部に表示されたコンセプトチャート作成画面を示す図である。It is a figure which shows the concept chart preparation screen displayed on the display part of the program development assistance apparatus shown in FIG. 図2に示したコンセプトチャート作成画面にコンセプトチャートを構成する部品を貼り付けた状態を示す図である。It is a figure which shows the state which affixed the components which comprise a concept chart on the concept chart creation screen shown in FIG. 図3に示した部品に関する情報を表示した状態を示す図である。It is a figure which shows the state which displayed the information regarding the components shown in FIG. 図2に示したコンセプトチャート作成画面にコンセプトチャートを構成する複数の部品を貼り付けた状態を示す図である。It is a figure which shows the state which affixed several components which comprise a concept chart on the concept chart creation screen shown in FIG. 図5に示した部品同士の関係を規定する情報を表示した状態を示す図である。It is a figure which shows the state which displayed the information which prescribes | regulates the relationship between components shown in FIG. 本発明の実施形態で作成される制御プログラムが適用される水温制御システムの構成図である。It is a block diagram of the water temperature control system to which the control program created by embodiment of this invention is applied. 図7に示した水温制御システムのタスクを示す概念図である。It is a conceptual diagram which shows the task of the water temperature control system shown in FIG. 図7に示した水温制御システムに適用される制御プログラムを作成する方法を説明するためのフローチャートである。It is a flowchart for demonstrating the method of creating the control program applied to the water temperature control system shown in FIG. 図7に示した水温制御システムのコンセプトチャートを構成するコンセプト部品を示す概念図である。It is a conceptual diagram which shows the concept components which comprise the concept chart of the water temperature control system shown in FIG. 図10に示したコンセプト部品を複数のサブコンセプト部品に分割した状態を示す概念図である。It is a conceptual diagram which shows the state which divided | segmented the concept component shown in FIG. 10 into several sub concept components. 図11に示した操作パネル制御に係るサブコンセプト部品を実現させるためのリアライズ部品を示す概念図である。It is a conceptual diagram which shows the realization component for implement | achieving the sub concept component which concerns on the operation panel control shown in FIG. 図11に示した水温監視に係るサブコンセプト部品を実現させるためのリアライズ部品を示す概念図である。It is a conceptual diagram which shows the realization component for implement | achieving the sub concept component which concerns on the water temperature monitoring shown in FIG. 図11に示した水温制御に係るサブコンセプト部品を実現させるためのリアライズ部品を示す概念図である。It is a conceptual diagram which shows the realization component for implement | achieving the sub concept component which concerns on the water temperature control shown in FIG. 図14に示したヒータ制御に係るリアライズ部品を具体化したリアライズ部品を示す概念図である。It is a conceptual diagram which shows the realization component which actualized the realization component which concerns on the heater control shown in FIG.

符号の説明Explanation of symbols

1…プログラム開発支援装置、10…中央情報処理装置(部品情報表示手段、チャート作成手段、チャート変換手段、第一変換手段、第二変換手段、逆変換手段)、20…入力部(チャート作成手段)、30…表示部(チャート作成手段)、100…水温制御システム、C1…コンセプト部品、C2〜C4…サブコンセプト部品、R1〜R44…リアライズ部品。 DESCRIPTION OF SYMBOLS 1 ... Program development support apparatus, 10 ... Central information processing apparatus (part information display means, chart creation means, chart conversion means, 1st conversion means, 2nd conversion means, reverse conversion means), 20 ... Input part (chart creation means) ), 30 ... Display unit (chart creation means), 100 ... Water temperature control system, C 1 ... Concept parts, C 2 to C 4 ... Sub concept parts, R 1 to R 44 ... Realized parts.

Claims (6)

特定のシステムのコンセプトを表現するためのコンセプト部品と前記コンセプトを実現させるために機能の流れに従って構成されたリアライズ部品とを有するコンセプトチャートを作成するためのチャート作成手段と、前記チャート作成手段で作成したコンセプトチャートを制御プログラムに変換するチャート変換手段と、を備えるプログラム開発支援装置であって、
前記チャート作成手段は、
オペレータが操作可能な入力部と、
前記コンセプトチャートの作成過程を表示するための表示部と、
オペレータによる前記入力部の操作に基づいて、前記コンセプトチャートを構成する前記コンセプト部品及び前記リアライズ部品を含む複数の部品を前記表示部に表示するとともに、前記部品の各々に関する情報と前記部品同士の関係を規定する情報とを前記表示部に表示する部品情報表示手段と、を有するものである、
プログラム開発支援装置。
A chart creation means for creating a concept chart having a concept part for expressing a concept of a specific system and a realization part configured according to a function flow to realize the concept, and created by the chart creation means A program development support device comprising chart conversion means for converting the concept chart into a control program,
The chart creating means includes
An input unit operable by the operator;
A display unit for displaying a process of creating the concept chart;
Based on the operation of the input unit by an operator, a plurality of parts including the concept parts and the realized parts constituting the concept chart are displayed on the display unit, and information on each of the parts and the relationship between the parts And component information display means for displaying on the display unit information defining the
Program development support device.
前記コンセプトチャートは、
前記コンセプトを具体化した複数のサブコンセプトを階層的に表現するための複数のサブコンセプト部品を有するものである、
請求項1に記載のプログラム開発支援装置。
The concept chart is
Having a plurality of sub-concept parts for hierarchically expressing a plurality of sub-concepts embodying the concept;
The program development support apparatus according to claim 1.
前記制御プログラムを前記コンセプトチャートに逆変換する逆変換手段を備える、
請求項1に記載のプログラム開発支援装置。
Comprising reverse conversion means for reversely converting the control program into the concept chart;
The program development support apparatus according to claim 1.
前記チャート変換手段は、
前記チャート作成手段で作成した前記コンセプトチャートを、FA制御言語で記述された第一の制御プログラムに変換する第一変換手段と、
前記第一変換手段で得た前記第一の制御プログラムを、C言語で記述された第二の制御プログラムに変換する第二変換手段と、を有するものである、
請求項1から3の何れか一項に記載のプログラム開発支援装置。
The chart converting means includes
First conversion means for converting the concept chart created by the chart creation means into a first control program described in an FA control language;
The second control means for converting the first control program obtained by the first conversion means into a second control program described in C language,
The program development support device according to any one of claims 1 to 3.
特定のシステムのコンセプトを表現するためのコンセプト部品と前記コンセプトを実現させるために機能の流れに従って構成されたリアライズ部品とを有するコンセプトチャートを用いて、前記システムの制御プログラムを作成するプログラム作成方法であって、
オペレータによる所定の入力部の操作に基づいて、前記コンセプトチャートを構成する前記コンセプト部品及び前記リアライズ部品を含む複数の部品と、前記部品の各々に関する情報と、前記部品同士の関係を規定する情報と、を所定の表示部に表示して前記コンセプトチャートを作成するチャート作成工程と、
前記チャート作成工程で作成した前記コンセプトチャートを制御プログラムに変換するチャート変換工程と、を備える、
プログラム作成方法。
A program creation method for creating a control program for a system using a concept chart having a concept part for expressing a concept of a specific system and a realization part configured according to a function flow for realizing the concept. There,
Based on an operation of a predetermined input unit by an operator, a plurality of parts including the concept part and the realization part constituting the concept chart, information on each of the parts, and information defining a relationship between the parts, , On a predetermined display unit to create the concept chart,
A chart conversion step for converting the concept chart created in the chart creation step into a control program,
How to create a program.
前記チャート変換工程で得た前記制御プログラムのシステム適用試験を実施する試験工程と、
前記システム適用試験の結果に基づいて前記制御プログラムを修正すべきか否かを判定する修正判定工程と、を備え、
前記修正判定工程において前記制御プログラムを修正すべきであると判定した場合に、再度前記チャート作成工程及び前記チャート変換工程を経ることにより前記制御プログラムを修正する、
請求項5に記載のプログラム作成方法。
A test process for performing a system application test of the control program obtained in the chart conversion process;
A correction determination step for determining whether or not the control program should be corrected based on a result of the system application test,
When it is determined that the control program should be corrected in the correction determination step, the control program is corrected by going through the chart creation step and the chart conversion step again.
The program creation method according to claim 5.
JP2008180382A 2008-07-10 2008-07-10 Program development support device and program creation method Pending JP2010020539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008180382A JP2010020539A (en) 2008-07-10 2008-07-10 Program development support device and program creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008180382A JP2010020539A (en) 2008-07-10 2008-07-10 Program development support device and program creation method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2013038717A Division JP5754014B2 (en) 2013-02-28 2013-02-28 How to create a program

Publications (1)

Publication Number Publication Date
JP2010020539A true JP2010020539A (en) 2010-01-28

Family

ID=41705368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008180382A Pending JP2010020539A (en) 2008-07-10 2008-07-10 Program development support device and program creation method

Country Status (1)

Country Link
JP (1) JP2010020539A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012190068A (en) * 2011-03-08 2012-10-04 Nippon Denno Co Ltd Program development support device
JP2012190066A (en) * 2011-03-08 2012-10-04 Nippon Denno Co Ltd Control system
WO2021210329A1 (en) * 2020-04-15 2021-10-21 Rakuten Mobile, Inc. Autonomous network, controller and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0772920A (en) * 1993-09-03 1995-03-17 Hitachi Ltd Method and device for controlling fa system
JPH0916382A (en) * 1995-06-30 1997-01-17 Oki Electric Ind Co Ltd Program development supporting system
JPH11353164A (en) * 1998-06-09 1999-12-24 Toshiba Corp System and method for source program generation, and system and method for chart generation
JP2002268713A (en) * 2001-03-12 2002-09-20 Toyo Eng Corp Controller for batch plant and its method
JP2006285754A (en) * 2005-04-01 2006-10-19 Fuji Electric Holdings Co Ltd Program source code automatic generation system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0772920A (en) * 1993-09-03 1995-03-17 Hitachi Ltd Method and device for controlling fa system
JPH0916382A (en) * 1995-06-30 1997-01-17 Oki Electric Ind Co Ltd Program development supporting system
JPH11353164A (en) * 1998-06-09 1999-12-24 Toshiba Corp System and method for source program generation, and system and method for chart generation
JP2002268713A (en) * 2001-03-12 2002-09-20 Toyo Eng Corp Controller for batch plant and its method
JP2006285754A (en) * 2005-04-01 2006-10-19 Fuji Electric Holdings Co Ltd Program source code automatic generation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6012017761; 小尾俊之 外3名: '50SMにおけるエディタ' 構造エディタ 初版, 19880601, p.147-163, 共立出版株式会社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012190068A (en) * 2011-03-08 2012-10-04 Nippon Denno Co Ltd Program development support device
JP2012190066A (en) * 2011-03-08 2012-10-04 Nippon Denno Co Ltd Control system
WO2021210329A1 (en) * 2020-04-15 2021-10-21 Rakuten Mobile, Inc. Autonomous network, controller and method

Similar Documents

Publication Publication Date Title
US9122269B2 (en) Method and system for operating a machine from the field of automation engineering
CN105656386A (en) Frequency converter
JP6464204B2 (en) Offline programming apparatus and position parameter correction method
JP2015176340A (en) Programmable controller and device control method by programmable controller
JP2010020539A (en) Program development support device and program creation method
CN104137011A (en) System architecture assistance tool
JP2015046082A (en) Simulation device and simulation program
JP5754014B2 (en) How to create a program
US20160300000A1 (en) System construction support apparatus
US10461997B2 (en) Information processing device and program
US20130238104A1 (en) System design device
JP4730606B2 (en) Plant operation support device
US11009848B2 (en) Scalable intelligent query-based interface to navigate and find industrial information on a visual interface
JP2008165324A (en) Program creation support device
JP3390569B2 (en) Plant monitoring and control equipment
KR101624971B1 (en) Method and apparatus for presenting procedure instructions with flow-logic diagram
JP2005251116A (en) Programming tool
EP4113379A1 (en) Method and system for semi-automatic completion of an engineering project
JP6225542B2 (en) Cooperative simulation device
US11579580B2 (en) Control system, control method, and non-transitory computer readable medium
JP3624939B2 (en) Plant operating device
JP2002108731A (en) Network setting method for computer, recording medium recorded with program thereof, and computer capable of performing network setting by the method
JP2009157534A (en) Programming support system, its programmable controller support device, and programmable indicator support device
JP2533374B2 (en) Control program creation method
JP2011242970A (en) Plm navigation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120405

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120523

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130314

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130409

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20130614