JP2014119776A - Programming method and device - Google Patents

Programming method and device Download PDF

Info

Publication number
JP2014119776A
JP2014119776A JP2012272131A JP2012272131A JP2014119776A JP 2014119776 A JP2014119776 A JP 2014119776A JP 2012272131 A JP2012272131 A JP 2012272131A JP 2012272131 A JP2012272131 A JP 2012272131A JP 2014119776 A JP2014119776 A JP 2014119776A
Authority
JP
Japan
Prior art keywords
editing
target
selection
type
objects
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
Application number
JP2012272131A
Other languages
Japanese (ja)
Other versions
JP6121706B2 (en
Inventor
Takashi Noguchi
貴史 野口
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP2012272131A priority Critical patent/JP6121706B2/en
Publication of JP2014119776A publication Critical patent/JP2014119776A/en
Application granted granted Critical
Publication of JP6121706B2 publication Critical patent/JP6121706B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

PROBLEM TO BE SOLVED: To efficiently select a plurality of objects used as an editing object in an editing screen.SOLUTION: An object classification setting section 15B sets an object classification showing classification of an object selected as an editing object. A target object selection section 15C selects an object coincident with the object classification set in the object classification setting section 15B as the editing object out of objects arranged in a selection range when the selection range is specified on an editing screen by user's operation.

Description

本発明は、プログラミング技術に関し、特にファンクションブロックダイアグラム(FBD:Function Block Diagram)でプログラムを作成するためのプログラミング技術に関する。   The present invention relates to a programming technique, and more particularly to a programming technique for creating a program with a function block diagram (FBD).

施設に設けられた設備機器を自動制御する場合、入力パラメータに基づいて数値演算や論理演算することにより制御用の出力パラメータを出力するプログラマブルロジックコントローラ(PLC:Programmable Logic Controller)が用いられる。このPLCは、このような演算処理を記号化したプログラムを実行し、得られた出力パラメータに基づき設備機器を自動制御するものとなっており、このプログラムを任意にプログラミングすることにより、設備機器において所望の動作をさせることができる。   When equipment equipment provided in a facility is automatically controlled, a programmable logic controller (PLC) that outputs a control output parameter by performing a numerical operation or a logical operation based on an input parameter is used. This PLC executes a program that symbolizes such arithmetic processing, and automatically controls the equipment based on the obtained output parameters. By arbitrarily programming this program, the equipment A desired operation can be performed.

このようなPLCで用いられるグラフィカルなプログラム言語の1つとして、国際電気標準会議(IEC:International Organization for Standardization)のIEC61131−3標準で定義されているファンクションブロックダイアグラム(FBD)がある。このFBDは、各種演算処理に対応する関数からなるファンクションブロック、外部機器との間で入力・出力パラメータをやり取りするための接続子、これらファンクションブロックや接続子を接続する接続線など、各種のコンポーネントを用いて、グラフィカルにプログラミングされる。   One of the graphical programming languages used in such a PLC is a function block diagram (FBD) defined in the IEC 61131-3 standard of the International Organization for Standardization (IEC). This FBD has various components such as function blocks composed of functions corresponding to various arithmetic processes, connectors for exchanging input / output parameters with external devices, and connection lines for connecting these function blocks and connectors. And is programmed graphically.

FBDをプログラミングするプログラミング装置では、このようなコンポーネントを示すシンボルをオブジェクトとして編集画面上に配置し、これらオブジェクトに設けられているポート間を接続線で結線するという編集作業を行う。
図9は、従来のプログラミング装置におけるプログラミング画面例である。この例において、プログラミング画面は、実際の編集操作を行う編集画面と、予め用意された各種コンポーネントを示すシンボルが配置されステンシル画面とから構成されている。
In a programming device for programming the FBD, an editing operation is performed in which symbols indicating such components are arranged as objects on an editing screen, and ports provided in these objects are connected by connection lines.
FIG. 9 is an example of a programming screen in a conventional programming device. In this example, the programming screen is composed of an editing screen for performing an actual editing operation and a stencil screen on which symbols indicating various components prepared in advance are arranged.

編集作業では、まず、マウスやタッチパネルなどのポインティングデバイスを操作して、ステンシル画面から所望のコンポーネントのシンボルを選択し、編集画面へドラッグ&ドロップすることにより、当該コンポーネントのオブジェクトとして配置する。この後、これらオブジェクトに設けられている出力ポートと入力ポートとをそれぞれ選択して接続線で結線する。また、結線の誤りを修正する場合には、接続線を選択して削除し、新たなポート間を接続線で再結線する。   In the editing operation, first, a pointing device such as a mouse or a touch panel is operated, a symbol of a desired component is selected from the stencil screen, and then dragged and dropped onto the editing screen to be arranged as an object of the component. Thereafter, an output port and an input port provided in these objects are selected and connected by connection lines. When correcting the connection error, the connection line is selected and deleted, and the new ports are reconnected with the connection line.

従来、このようなプログラミング装置において、結線の修正に要する作業負担の軽減や誤接続の防止を目的として、ファンクションブロックのブロック型名ごとに端子の入出力属性、端子名、端子データ型などの端子情報をライブラリとして格納しておくとともに、座標内に配置されたファンクションブロックの各端子に関する結線可否を示す結線状況を結線しておき、ファンクションブロックの端子間に結線する際に、結線の起点および終点の端子情報および結線状況に基づいて、結線禁止か否かを判定するものが提案されている(例えば、特許文献1など参照)。   Conventionally, in such a programming device, terminals such as terminal input / output attributes, terminal names, and terminal data types are provided for each block type name of the function block for the purpose of reducing the work burden required for correcting the connection and preventing erroneous connection. The information is stored as a library, and the connection status indicating whether connection is possible for each terminal of the function block placed in the coordinates is connected. Based on the terminal information and the connection status, there has been proposed one that determines whether or not connection is prohibited (for example, see Patent Document 1).

特開2006−185015公報JP 2006-185015 A

しかしながら、このような従来技術では、編集画面上において複数のオブジェクトについて、削除やコピーなどの編集作業を行う場合、編集対象となる複数のオブジェクトを効率よく選択することができず、誤選択や操作負担の増大が生じるという問題点があった。   However, with such a conventional technique, when editing operations such as deletion and copying of a plurality of objects on the editing screen, it is not possible to efficiently select a plurality of objects to be edited. There was a problem that the burden increased.

例えば、オブジェクト間を結線する複数の接続線を削除したい場合、例えばマウスをドラッグして矩形形状の範囲を選択する範囲選択操作により複数の接続線を一括選択して削除する方法が考えられる。しかし、このような範囲選択操作により指定した範囲には、接続線だけでなく接続子やファンクションブロックなどのオブジェクトも配置されているため、非削除対象であるブロックを誤選択してしまうことになる。したがって、このような範囲選択操作では、後から非削除対象であるブロックを非選択とするなどの操作が必要となり、結果として操作負担の増大が生じる。   For example, when it is desired to delete a plurality of connection lines connecting between objects, for example, a method of selecting and deleting a plurality of connection lines at once by a range selection operation of selecting a rectangular range by dragging the mouse can be considered. However, in the range specified by such a range selection operation, not only connection lines but also objects such as connectors and function blocks are arranged, so that a block to be deleted is erroneously selected. . Therefore, in such a range selection operation, an operation such as deselecting a block that is not to be deleted later is required, resulting in an increase in operation burden.

本発明はこのような課題を解決するためのものであり、編集画面において編集対象となる複数のオブジェクトを効率よく選択できるプログラミング技術を提供することを目的としている。   An object of the present invention is to provide a programming technique capable of efficiently selecting a plurality of objects to be edited on an editing screen.

このような目的を達成するために、本発明にかかるプログラミング方法は、ユーザ操作に応じて、編集画面上にファンクションブロック、接続子、接続線などの各種オブジェクトを配置して、これらオブジェクト間を結線することにより、施設に設けられた設備機器を自動制御するためのファンクションブロックダイアグラムを編集するプログラミング装置で用いられるプログラミング方法であって、オブジェクト種別設定部が、ユーザ操作に応じて、編集対象として選択するオブジェクトの種別を示す対象種別を設定するオブジェクト種別設定ステップと、対象オブジェクト選択部が、ユーザ操作により前記編集画面上で選択範囲が指定された場合、当該選択範囲に配置されたオブジェクトのうちから、前記オブジェクト種別設定部で設定された前記対象種別と一致するオブジェクトを、編集対象として選択する対象オブジェクト選択ステップとを備えている。   In order to achieve such an object, the programming method according to the present invention arranges various objects such as function blocks, connectors, and connection lines on the editing screen in accordance with a user operation, and connects these objects. This is a programming method used in a programming device that edits a function block diagram for automatically controlling equipment installed in a facility, and an object type setting unit selects an object to be edited in response to a user operation. The object type setting step for setting the target type indicating the type of the object to be performed, and the target object selection unit when the selection range is designated on the editing screen by the user operation, from among the objects arranged in the selection range Set in the object type setting section The object that matches the target type that is, and a target object selecting step of selecting as edited.

また、本発明にかかるプログラミング装置は、ユーザ操作に応じて、編集画面上にファンクションブロック、接続子、接続線などの各種オブジェクトを配置して、これらオブジェクト間を結線することにより、施設に設けられた設備機器を自動制御するためのファンクションブロックダイアグラムを編集するプログラミング装置であって、ユーザ操作に応じて、編集対象として選択するオブジェクトの種別を示す対象種別を設定するオブジェクト種別設定部と、ユーザ操作により前記編集画面上で選択範囲が指定された場合、当該選択範囲に配置されたオブジェクトのうちから、前記オブジェクト種別設定部で設定された前記対象種別と一致するオブジェクトを、編集対象として選択する対象オブジェクト選択部とを備えている。   The programming device according to the present invention is provided in a facility by arranging various objects such as function blocks, connectors, and connection lines on an editing screen and connecting these objects in accordance with a user operation. An object type setting unit for setting a target type indicating a type of an object to be selected for editing according to a user operation, and a user operation When a selection range is designated on the editing screen by the above, an object that selects an object that matches the target type set in the object type setting unit from among objects arranged in the selection range as an editing target And an object selection unit.

本発明によれば、選択エリア内のオブジェクトを選択する際、これに先だって設定しておいた対象種別のオブジェクトのみが編集対象として自動選択される。したがって、編集画面において編集対象となる複数のオブジェクトを効率よく選択でき、オブジェクトの誤選択や操作負担の増大が抑制されて、プログラミング作成の詐欺得効率を大幅に向上させることが可能となる。   According to the present invention, when an object in the selection area is selected, only an object of the target type set prior to this is automatically selected as an editing target. Accordingly, it is possible to efficiently select a plurality of objects to be edited on the editing screen, and it is possible to suppress an erroneous selection of an object and an increase in an operation burden, and to greatly improve the fraud acquisition efficiency of programming creation.

プログラミング装置の構成を示すブロック図である。It is a block diagram which shows the structure of a programming apparatus. オブジェクト情報の構成例である。It is a structural example of object information. 結線情報の構成例である。It is a structural example of connection information. プログラミング装置の編集処理を示すフローチャートである。It is a flowchart which shows the edit process of a programming device. オブジェクト種別選択画面の表示例である。It is an example of a display of an object classification selection screen. プログラミング装置の対象オブジェクト選択処理を示すフローチャートである。It is a flowchart which shows the target object selection process of a programming device. オブジェクト種別未設定時における対象オブジェクト選択画面例である。It is an example of a target object selection screen when the object type is not set. オブジェクト種別設定時における対象オブジェクト選択画面例である。It is an example of a target object selection screen at the time of object type setting. 従来のプログラミング装置におけるプログラミング画面例である。It is an example of a programming screen in the conventional programming device.

次に、本発明の一実施の形態について図面を参照して説明する。
[本実施の形態の構成]
まず、図1を参照して、本実施の形態にかかるプログラミング装置10について説明する。図1は、プログラミング装置の構成を示すブロック図である。
Next, an embodiment of the present invention will be described with reference to the drawings.
[Configuration of the embodiment]
First, a programming device 10 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing the configuration of the programming device.

このプログラミング装置10は、全体としてサーバ装置、パーソナルコンピュータ、携帯情報端末などの情報処理装置からなり、ユーザ操作に応じて、編集画面上に各種のオブジェクトを配置して、これらオブジェクト間を接続線で結線することにより、施設に設けられた設備機器を自動制御するためのファンクションブロックダイアグラム(FBD)をプログラミングする機能を有している。   The programming device 10 is composed of an information processing device such as a server device, a personal computer, or a portable information terminal as a whole. In response to a user operation, various objects are arranged on an editing screen, and these objects are connected with connection lines. By connecting, it has a function of programming a function block diagram (FBD) for automatically controlling equipment provided in the facility.

図1に示すように、プログラミング装置10には、主な機能部として、通信I/F部11、操作入力部12、画面表示部13、記憶部14、および演算処理部15が設けられている。   As shown in FIG. 1, the programming device 10 includes a communication I / F unit 11, an operation input unit 12, a screen display unit 13, a storage unit 14, and an arithmetic processing unit 15 as main functional units. .

通信I/F部11は、通信用のインターフェース回路からなり、通信回線を介して外部装置(図示せず)とデータ通信を行うことにより、各種データをやり取りする機能を有している。
操作入力部12は、キーボード、マウス、タッチパネルなどの操作入力装置からなり、ユーザ操作を示す操作を検出して演算処理部15へ出力する機能を有している。
画面表示部13は、LCDなどの画面表示装置からなり、演算処理部15から出力された編集画面などの各種データを画面表示する機能を有している。
The communication I / F unit 11 includes a communication interface circuit, and has a function of exchanging various data by performing data communication with an external device (not shown) via a communication line.
The operation input unit 12 includes an operation input device such as a keyboard, a mouse, and a touch panel, and has a function of detecting an operation indicating a user operation and outputting the operation to the arithmetic processing unit 15.
The screen display unit 13 includes a screen display device such as an LCD, and has a function of displaying various data such as an edit screen output from the arithmetic processing unit 15 on the screen.

記憶部14は、ハードディスクや半導体メモリなどの記憶装置からなり、演算処理部15での処理に用いる各種処理情報やプログラム14Pを記憶する機能を有している。
プログラム14Pは、演算処理部15のCPUで実行されることにより、各種の処理部を実現するプログラムであり、外部装置や記録媒体(共に図示せず)から読み出されて記憶部14に予め格納される。
The storage unit 14 includes a storage device such as a hard disk or a semiconductor memory, and has a function of storing various processing information and programs 14P used for processing in the arithmetic processing unit 15.
The program 14P is a program that realizes various processing units by being executed by the CPU of the arithmetic processing unit 15, and is read from an external device or a recording medium (both not shown) and stored in the storage unit 14 in advance. Is done.

記憶部14で記憶する主な処理情報として、オブジェクト情報14Aと結線情報14Bがある。
オブジェクト情報14Aは、FBDを構成する、ファンクションブロック、接続子などのコンポーネントを示すオブジェクトに関する各種属性値を示す情報である。
図2は、オブジェクト情報の構成例である。ここでは、オブジェクトを識別するためのIDごとに、名称、オブジェクト種別など、当該オブジェクトに関する属性値が登録されている。
Main processing information stored in the storage unit 14 includes object information 14A and connection information 14B.
The object information 14A is information indicating various attribute values related to an object indicating a component such as a function block and a connector constituting the FBD.
FIG. 2 is a configuration example of object information. Here, for each ID for identifying the object, an attribute value related to the object such as a name and an object type is registered.

このうち、オブジェクト種別は、当該オブジェクトの機能に応じた分類を示す情報であり、例えば、ファンクションブロックには、実数演算ブロック、論理演算ブロック、比較ブロック、検出ブロックなど、各種の種別があり、接続子には、外部入力や外部出力などの種別がある。これらオブジェクト種別は、編集時に一括選択したい範囲に応じた細かさで、予め設定すればよい。   Among these, the object type is information indicating the classification according to the function of the object. For example, the function block has various types such as a real number operation block, a logical operation block, a comparison block, and a detection block, and is connected. There are types of child such as external input and external output. These object types may be set in advance with fineness according to the range to be selected at the time of editing.

結線情報14Bは、オブジェクト間を結線する接続線に関する情報である。
図3は、結線情報の構成例である。ここでは、接続線を識別するためのIDごとに、ポートIDなど、当該接続線に関する属性値が登録されている。
このうち、ポートIDは、当該接続線で接続するオブジェクトのポートを特定する情報であり、始点および終点に相当する2つのポートIDが登録されている。
The connection information 14B is information related to a connection line that connects objects.
FIG. 3 is a configuration example of connection information. Here, for each ID for identifying a connection line, an attribute value related to the connection line such as a port ID is registered.
Among these, the port ID is information for specifying the port of the object connected by the connection line, and two port IDs corresponding to the start point and the end point are registered.

演算処理部15は、CPUとその周辺回路を有し、記憶部14のプログラム14Pを読み込んで実行することにより、FBDのプログラミングを行う各種処理部を実現する機能を有している。
演算処理部15で実現される主な処理部として、編集処理部15A、オブジェクト種別設定部15B、および対象オブジェクト選択部15Cがある。
The arithmetic processing unit 15 includes a CPU and its peripheral circuits, and has a function of realizing various processing units that perform FBD programming by reading and executing the program 14P of the storage unit 14.
As main processing units realized by the arithmetic processing unit 15, there are an editing processing unit 15A, an object type setting unit 15B, and a target object selecting unit 15C.

編集処理部15Aは、ユーザ操作に応じて編集画面上に各種のオブジェクトを配置する機能と、ユーザ操作に応じてこれらオブジェクト間を接続線で結線する機能とを有している。
オブジェクト種別設定部15Bは、ユーザ操作に応じて、編集対象として選択するオブジェクトの種別を示す対象種別を設定する機能を有している。
対象オブジェクト選択部15Cは、ユーザ操作により編集画面上で選択範囲が指定された場合、当該選択範囲に配置されたオブジェクトのうちから、オブジェクト種別設定部で設定された対象種別と一致するオブジェクトを、編集対象として選択する機能を有している。
The editing processing unit 15A has a function of arranging various objects on the editing screen in response to a user operation, and a function of connecting these objects with connection lines in accordance with a user operation.
The object type setting unit 15B has a function of setting a target type indicating the type of an object to be selected as an editing target in response to a user operation.
When a selection range is designated on the editing screen by a user operation, the target object selection unit 15C selects an object that matches the target type set by the object type setting unit from among the objects arranged in the selection range. It has a function to select as an editing target.

[本実施の形態の動作]
次に、図4を参照して、本実施の形態にかかるプログラミング装置の動作について説明する。図4は、プログラミング装置の編集処理を示すフローチャートである。
プログラミング装置10の演算処理部15は、ユーザ操作に応じて、図4の編集処理を実行する。
[Operation of this embodiment]
Next, the operation of the programming device according to the present embodiment will be described with reference to FIG. FIG. 4 is a flowchart showing the editing process of the programming device.
The arithmetic processing unit 15 of the programming device 10 executes the editing process of FIG. 4 in response to a user operation.

まず、編集処理部15Aは、記憶部14からオブジェクト情報14Aや結線情報14Bを読み出して(ステップ100)、FBDからなるプログラムを構成する全オブジェクトを編集画面に描画する(ステップ101)。
ここで、ユーザによりオブジェクト指定操作があった場合(ステップ102:YES)、オブジェクト種別設定部15Bは、編集画面上にオブジェクト種別選択画面をポップアップ表示して、当該オブジェクト種別選択画面に対するユーザ操作に応じて、編集対象として選択するオブジェクトの種別を示す対象種別を設定し(ステップ103)、ステップ102へ戻る。
First, the edit processing unit 15A reads the object information 14A and the connection information 14B from the storage unit 14 (step 100), and draws all objects constituting the program composed of the FBD on the edit screen (step 101).
Here, when an object designation operation is performed by the user (step 102: YES), the object type setting unit 15B pops up an object type selection screen on the editing screen and responds to the user operation on the object type selection screen. Thus, the target type indicating the type of the object to be selected as the editing target is set (step 103), and the process returns to step 102.

図5は、オブジェクト種別選択画面の表示例である。ここでは、各オブジェクト種別ごとに、編集対象として選択するためのチェックボックスが配置されている。このオブジェクト種別選択画面において、ユーザがチェックボックスを操作して選択状態に設定したものが、編集対象として選択される。この例では、接続線のみがオブジェクト種別として選択されている。   FIG. 5 is a display example of the object type selection screen. Here, a check box for selecting an object to be edited is arranged for each object type. On this object type selection screen, the one that the user has set to the selected state by operating the check box is selected as the editing target. In this example, only the connection line is selected as the object type.

一方、図4の編集処理において、オブジェクト指定操作ではなく(ステップ102:NO)、オブジェクト選択操作があった場合(ステップ110:YES)、対象オブジェクト選択部15Cは、対象オブジェクト選択処理を実行し(ステップ111)、ステップ102へ戻る。図6は、プログラミング装置の対象オブジェクト選択処理を示すフローチャートである。   On the other hand, in the editing process of FIG. 4, when there is an object selection operation (step 110: YES) instead of an object designation operation (step 102: NO), the target object selection unit 15C executes the target object selection process ( Step 111) and return to Step 102. FIG. 6 is a flowchart showing target object selection processing of the programming device.

図6の対象オブジェクト選択処理において、対象オブジェクト選択部15Cは、まず、マウスで選択された選択エリアの座標データを取得し(ステップ150)、当該選択エリア内に位置する全オブジェクトを候補として選択する(ステップ151)。各オブジェクトに関する座標、サイズ、形状などの描画データは、オブジェクト情報14Aに登録されているものとする。
次に、対象オブジェクト選択部15Cは、これら候補のうち、オブジェクト種別が対象種別と一致するものを対象オブジェクトとして選択し(ステップ152)、これら全ての対象オブジェクトを編集対象として選択中であることを示す選択モードで再描画する(ステップ153)。この後、対象オブジェクト選択処理を終了し、図4のステップ102へ戻る。
In the target object selection process of FIG. 6, the target object selection unit 15C first acquires the coordinate data of the selection area selected with the mouse (step 150), and selects all objects located in the selection area as candidates. (Step 151). It is assumed that drawing data such as coordinates, size, and shape related to each object is registered in the object information 14A.
Next, the target object selecting unit 15C selects those candidates whose object type matches the target type as target objects (step 152), and confirms that all these target objects are being selected for editing. Redrawing is performed in the selection mode shown (step 153). Thereafter, the target object selection process is terminated, and the process returns to step 102 in FIG.

図7は、オブジェクト種別未設定時における対象オブジェクト選択画面例である。ここでは、オブジェクト種別が未設定の状態でオブジェクト選択操作があった場合の画面例が表示されており、マウスで選択した選択エリア20内に位置する全オブジェクトが、太線表示されており、これらが編集対象として選択されていることが分かる。
図8は、オブジェクト種別設定時における対象オブジェクト選択画面例である。ここでは、オブジェクト種別として接続線が設定された状態でオブジェクト選択操作があった場合の画面例が表示されており、マウスで選択した選択エリア20内に位置する全オブジェクトのうち、接続線のみが太線表示されており、これら接続線のみが編集対象として選択されていることが分かる。
FIG. 7 is an example of a target object selection screen when the object type is not set. Here, a screen example is displayed when an object selection operation is performed when the object type is not set, and all objects located in the selection area 20 selected with the mouse are displayed in bold lines. It can be seen that it is selected for editing.
FIG. 8 is an example of a target object selection screen when the object type is set. Here, a screen example is displayed when an object selection operation is performed in a state where a connection line is set as the object type. Of all the objects located in the selection area 20 selected with the mouse, only the connection line is displayed. A thick line is displayed, and it can be seen that only these connection lines are selected for editing.

一方、図4の編集処理において、オブジェクト選択操作ではなく(ステップ110:NO)、編集操作があった場合(ステップ120:YES)、編集処理部15Aは、当該時点で編集対象として選択されている対象オブジェクトに対して、削除やコピーなどの指定された編集処理を実行し(ステップ121)、この編集処理結果に応じて、オブジェクト情報14Aおよび結線情報14Bを変更した後(ステップ122)、ステップ102へ戻る。   On the other hand, in the editing process of FIG. 4, when there is an editing operation (step 120: YES) instead of an object selection operation (step 110: NO), the editing processing unit 15A is selected as an editing target at that time. A designated editing process such as deletion or copying is executed on the target object (step 121), and the object information 14A and the connection information 14B are changed according to the result of the editing process (step 122). Return to.

したがって、選択エリア20内に位置する接続線のみを削除したい場合、オブジェクト指定操作により接続線のみを編集対象として選択しておけば、図7のように、選択エリア20内の全オブジェクトが編集対象として選択される場合と比較して、図8のように、接続線のみを編集対象として選択して、容易に削除することができる。   Therefore, if it is desired to delete only the connection line located in the selection area 20, if only the connection line is selected as an editing target by the object specifying operation, all objects in the selection area 20 are to be edited as shown in FIG. Compared to the case where the connection line is selected, as shown in FIG. 8, only the connection line can be selected as the editing target and can be easily deleted.

また、編集操作ではなく(ステップ120:NO)、編集終了操作があった場合(ステップ130:YES)、編集処理部15Aは、一連の編集処理を終了する。編集終了操作でなかった場合(ステップ130:NO)、ステップ102へ戻る。   If there is an editing end operation (step 130: YES) instead of an editing operation (step 120: NO), the editing processing unit 15A ends a series of editing processes. If it is not an editing end operation (step 130: NO), the process returns to step 102.

[本実施の形態の効果]
このように、本実施の形態は、オブジェクト種別設定部15Bが、ユーザ操作に応じて、編集対象として選択するオブジェクトの種別を示す対象種別を設定し、対象オブジェクト選択部15Cが、ユーザ操作により編集画面上で選択範囲が指定された場合、当該選択範囲に配置されたオブジェクトのうちから、オブジェクト種別設定部で設定された対象種別と一致するオブジェクトを、編集対象として選択するようにしたものである。
[Effects of the present embodiment]
As described above, according to the present embodiment, the object type setting unit 15B sets the target type indicating the type of the object to be selected as the editing target in accordance with the user operation, and the target object selecting unit 15C is edited by the user operation. When a selection range is specified on the screen, an object that matches the target type set in the object type setting unit is selected as an editing target from among the objects arranged in the selection range. .

これにより、選択エリア20内のオブジェクトを選択する際、これに先だって設定しておいた対象種別のオブジェクトのみが編集対象として自動選択される。したがって、編集画面において編集対象となる複数のオブジェクトを効率よく選択でき、オブジェクトの誤選択や操作負担の増大が抑制されて、プログラミング作成の作業効率を大幅に向上させることが可能となる。   Thereby, when an object in the selection area 20 is selected, only an object of the target type set prior to this is automatically selected as an editing target. Therefore, it is possible to efficiently select a plurality of objects to be edited on the editing screen, and it is possible to suppress an erroneous selection of objects and an increase in an operation burden, and to greatly improve the work efficiency of programming creation.

また、本実施の形態では、図4の編集処理における操作手順として、選択するオブジェクト種別を指定するオブジェクト指定操作を行った後、選択エリアを指定してオブジェクトを選択するオブジェクト選択操作を行う場合を例として説明したが、これに限定されるものではなく、この逆の操作手順である、オブジェクト選択操作を行った後、オブジェクト指定操作を行ってもよい。この場合には、オブジェクト選択操作で選択された選択エリア内の各オブジェクトのうちから、オブジェクト指定操作で指定されたオブジェクト種別以外のオブジェクトが非選択となり、指定されたオブジェクト種別のみが選択されることになる。   In the present embodiment, as an operation procedure in the editing process of FIG. 4, after performing an object designation operation for designating an object type to be selected, an object selection operation for selecting an object by designating a selection area is performed. Although described as an example, the present invention is not limited to this, and an object designation operation may be performed after an object selection operation, which is the reverse operation procedure. In this case, from among the objects in the selection area selected by the object selection operation, objects other than the object type specified by the object specifying operation are not selected and only the specified object type is selected. become.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。
[Extended embodiment]
The present invention has been described above with reference to the embodiments, but the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

10…プログラミング装置、11…通信I/F部、12…操作入力部、13…画面表示部、14…記憶部、14A…オブジェクト情報、14B…結線情報、14P…プログラム、15…演算処理部、15A…編集処理部、15B…オブジェクト種別設定部、15C…対象オブジェクト選択部。   DESCRIPTION OF SYMBOLS 10 ... Programming apparatus, 11 ... Communication I / F part, 12 ... Operation input part, 13 ... Screen display part, 14 ... Memory | storage part, 14A ... Object information, 14B ... Connection information, 14P ... Program, 15 ... Arithmetic processing part, 15A ... Editing processing unit, 15B ... Object type setting unit, 15C ... Target object selection unit.

Claims (2)

ユーザ操作に応じて、編集画面上にファンクションブロック、接続子、接続線などの各種オブジェクトを配置して、これらオブジェクト間を結線することにより、施設に設けられた設備機器を自動制御するためのファンクションブロックダイアグラムを編集するプログラミング装置で用いられるプログラミング方法であって、
オブジェクト種別設定部が、ユーザ操作に応じて、編集対象として選択するオブジェクトの種別を示す対象種別を設定するオブジェクト種別設定ステップと、
対象オブジェクト選択部が、ユーザ操作により前記編集画面上で選択範囲が指定された場合、当該選択範囲に配置されたオブジェクトのうちから、前記オブジェクト種別設定部で設定された前記対象種別と一致するオブジェクトを、編集対象として選択する対象オブジェクト選択ステップと
を備えることを特徴とするプログラミング方法。
Functions for automatically controlling the equipment provided in the facility by arranging various objects such as function blocks, connectors, and connection lines on the edit screen and connecting these objects according to user operations A programming method used in a programming device for editing a block diagram,
An object type setting unit for setting a target type indicating a type of an object to be selected as an editing target in response to a user operation;
When a selection range is designated on the editing screen by a user operation, the target object selection unit, among objects arranged in the selection range, an object that matches the target type set by the object type setting unit And a target object selection step of selecting as a target for editing.
ユーザ操作に応じて、編集画面上にファンクションブロック、接続子、接続線などの各種オブジェクトを配置して、これらオブジェクト間を結線することにより、施設に設けられた設備機器を自動制御するためのファンクションブロックダイアグラムを編集するプログラミング装置であって、
ユーザ操作に応じて、編集対象として選択するオブジェクトの種別を示す対象種別を設定するオブジェクト種別設定部と、
ユーザ操作により前記編集画面上で選択範囲が指定された場合、当該選択範囲に配置されたオブジェクトのうちから、前記オブジェクト種別設定部で設定された前記対象種別と一致するオブジェクトを、編集対象として選択する対象オブジェクト選択部と
を備えることを特徴とするプログラミング装置。
Functions for automatically controlling the equipment provided in the facility by arranging various objects such as function blocks, connectors, and connection lines on the edit screen and connecting these objects according to user operations A programming device for editing a block diagram,
An object type setting unit for setting a target type indicating a type of an object to be selected as an editing target in response to a user operation;
When a selection range is designated on the editing screen by a user operation, an object that matches the target type set by the object type setting unit is selected as an editing target from among objects arranged in the selection range. A programming device, comprising: a target object selection unit.
JP2012272131A 2012-12-13 2012-12-13 Programming method and apparatus Active JP6121706B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012272131A JP6121706B2 (en) 2012-12-13 2012-12-13 Programming method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012272131A JP6121706B2 (en) 2012-12-13 2012-12-13 Programming method and apparatus

Publications (2)

Publication Number Publication Date
JP2014119776A true JP2014119776A (en) 2014-06-30
JP6121706B2 JP6121706B2 (en) 2017-04-26

Family

ID=51174596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012272131A Active JP6121706B2 (en) 2012-12-13 2012-12-13 Programming method and apparatus

Country Status (1)

Country Link
JP (1) JP6121706B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527335A (en) * 2016-12-08 2017-03-22 湖南戈人自动化科技有限公司 PLC supporting coroutine function

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001512598A (en) * 1997-02-14 2001-08-21 フィッシャー−ローズマウント システムズ,インコーポレイテッド A system for configuring a process control environment using graphic elements.
JP2003256203A (en) * 2002-03-01 2003-09-10 Mitsubishi Electric Corp System and method for developing automatic machine application program, program for executing the method and storage medium stored with the program
JP2006099573A (en) * 2004-09-30 2006-04-13 Digital Electronics Corp Screen forming device, screen forming program and storage medium recording the same
JP2008204237A (en) * 2007-02-21 2008-09-04 Mitsubishi Electric Corp Program creation support device and program execution device
JP2012159868A (en) * 2011-01-28 2012-08-23 Mitsubishi Electric Corp Programming device of programmable logic controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001512598A (en) * 1997-02-14 2001-08-21 フィッシャー−ローズマウント システムズ,インコーポレイテッド A system for configuring a process control environment using graphic elements.
JP2003256203A (en) * 2002-03-01 2003-09-10 Mitsubishi Electric Corp System and method for developing automatic machine application program, program for executing the method and storage medium stored with the program
JP2006099573A (en) * 2004-09-30 2006-04-13 Digital Electronics Corp Screen forming device, screen forming program and storage medium recording the same
JP2008204237A (en) * 2007-02-21 2008-09-04 Mitsubishi Electric Corp Program creation support device and program execution device
JP2012159868A (en) * 2011-01-28 2012-08-23 Mitsubishi Electric Corp Programming device of programmable logic controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527335A (en) * 2016-12-08 2017-03-22 湖南戈人自动化科技有限公司 PLC supporting coroutine function
CN106527335B (en) * 2016-12-08 2019-03-19 湖南戈人自动化科技有限公司 A kind of PLC controller for supporting association Cheng Gongneng

Also Published As

Publication number Publication date
JP6121706B2 (en) 2017-04-26

Similar Documents

Publication Publication Date Title
JP6351899B1 (en) Ladder program editing support apparatus and ladder program editing method
JP5777838B2 (en) Ladder program display program and ladder program display device
WO2014064819A1 (en) System building assistance tool and system
JP4302146B2 (en) Program creation support device
KR101889631B1 (en) Device for assisting creation of sequence program
JP2008217651A (en) Design support device, design support method and program
JP2023181346A (en) Programming device and program
US9395872B2 (en) Facilities controlling device, screen displaying method, and recording medium
JP6121706B2 (en) Programming method and apparatus
JP2017102872A (en) Development device, development system, and program
JP2021082031A (en) Program creation assistance device
US20190369820A1 (en) Supporting device
JP2014119775A (en) Programming method and device
JP2009259082A (en) Ladder diagram editing system
CN107561950B (en) Programming method of controller in building and server for providing programming tool of controller
JP6017294B2 (en) Programming method and apparatus
EP3059673A1 (en) Mobile application systems and methods of operation
JP2010182031A (en) Software generation support device
JP2008112388A (en) Cad system
CN107679264B (en) Method for assisting in checking dislocation of bit numbers in PCB design
JP2003223204A (en) Programming method of programmable controller, system thereof and recording medium thereof
JP2022142493A (en) simulation device
JP2015143953A (en) Control program creation support method and engineering device
CN115469909A (en) Instruction updating method, working method, device, equipment and medium of software platform
JP2010055351A (en) Editor device, editor program, recording medium with the same program recorded thereon, and programmable display unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160816

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: 20170328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170330

R150 Certificate of patent or registration of utility model

Ref document number: 6121706

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150