JP2012159868A - Programming device of programmable logic controller - Google Patents

Programming device of programmable logic controller Download PDF

Info

Publication number
JP2012159868A
JP2012159868A JP2011017014A JP2011017014A JP2012159868A JP 2012159868 A JP2012159868 A JP 2012159868A JP 2011017014 A JP2011017014 A JP 2011017014A JP 2011017014 A JP2011017014 A JP 2011017014A JP 2012159868 A JP2012159868 A JP 2012159868A
Authority
JP
Japan
Prior art keywords
fbd
parts
execution order
editor screen
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2011017014A
Other languages
Japanese (ja)
Inventor
Yusuke Osakabe
祐輔 刑部
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2011017014A priority Critical patent/JP2012159868A/en
Publication of JP2012159868A publication Critical patent/JP2012159868A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a programming device of a programmable logic controller such that a user can easily recognize the execution order of a specified FBD component in a processing group and FBD components processed before and after the specified FBD component.SOLUTION: The programming device includes a component information management part 202 which stores connection relation among a plurality of FBD components arranged in an editor window; an execution order determination part 203 which extracts FBD components connected directly or indirectly to an FBD component specified in the editor window based upon the connection information, and determines the execution order of the FBD components in a processing group consisting of only the extracted FBD components according to arrangement positions of the extracted FBD components; and an editor part 201 which displays the execution order of the extracted FBD components in the processing group with natural numbers starting with 1. The editor part 201 does not display execution order of FBD components which are not included on the processing group in the editor window.

Description

本発明は、FBD言語を用いてプログラムを作成するプログラマブルロジックコントローラのプログラミング装置に関する。   The present invention relates to a programmable logic controller programming device for creating a program using an FBD language.

工場の製造ラインや個々の装置、またプラント・オフィスビル等の現場において、被制御機器をシーケンシャルに制御するためにプログラマブルロジックコントローラ(Programmable Logic Controller:PLC)が用いられている。そのプログラミングにおいては、国際電気標準会議(International Electrotechnical Commission:IEC)により標準規格IEC61131−3として定義されたプログラマブルロジックコントローラ用のプログラム言語であるFBD(Function Block Diagram)言語が用いられる。   Programmable logic controllers (PLCs) are used to control controlled devices sequentially in factory production lines, individual devices, and on-site such as plants and office buildings. In the programming, an FBD (Function Block Diagram) language which is a programming language for a programmable logic controller defined as a standard IEC61131-3 by the International Electrotechnical Commission (IEC) is used.

FBD言語のプログラムは、ファンクションや、ファンクションブロックといった機能ブロックとしてのFBD部品を配置し、それらを結線することで一連の処理が記述される。それらFBD部品同士を結線する部品である接続線は、線の太さや色に違いは無く、一様である。   The FBD language program describes a series of processes by arranging FBD parts as functions and function blocks such as function blocks and connecting them. Connection lines, which are parts connecting these FBD parts, have no difference in line thickness or color and are uniform.

各FBD部品は、左側に入力端子、右側に出力端子を備えており、FBD部品同士は入力端子や出力端子を介して結線される。   Each FBD component includes an input terminal on the left side and an output terminal on the right side, and the FBD components are connected to each other via the input terminal and the output terminal.

FBD言語のプログラムはFBD部品を配置したエディタ画面上での左から右、上から下で実行されるが、各FBD部品が処理を実行するには、そのFBD部品の入力端子よりも前の一連の処理が実行されている必要がある。   The FBD language program is executed from the left to the right and from the top to the bottom on the editor screen on which the FBD parts are arranged. In order for each FBD part to execute the process, a series of input before the input terminal of the FBD part is executed. Must be executed.

FBD言語を記述するソフトウェアにおいては、データの使用経路を確認する手段として、各FBD部品の実行順序を表示する機能を有する場合がある。しかしながら、従来機種は、全てのFBD部品を通して連番で実行順序を表示するため、複数の処理グループに処理単位が分かれている場合において、ある特定の処理グループだけの実行順序を把握するのには適していない。   The software describing the FBD language may have a function of displaying the execution order of each FBD component as a means for confirming the data use path. However, since the conventional model displays the execution order by serial number through all the FBD parts, when the processing units are divided into a plurality of processing groups, it is necessary to grasp the execution order of only a specific processing group. Not suitable.

また、特許文献1には、データ処理を示す機能ブロックによる処理の流れを表すデータフロー図を用いてプログラムの仕様を記述してプログラムの開発を行う方法に関して、機能ブロックをフレームで包囲し、フレームごとに優先順位を付加する発明が開示されている。   Japanese Patent Laid-Open No. 2004-228867 describes a method for developing a program by describing the specification of a program using a data flow diagram showing a flow of processing by a functional block indicating data processing. An invention for adding priority to each is disclosed.

特開2008−171305号公報JP 2008-171305 A

FBD言語のプログラムにおいて、FBD部品が結線されている範囲を処理グループとする場合、ある処理グループ内のデータの使用経路を確認するために、表示されるFBD部品の実行順序を参考にする。この時、従来の機能では、使用経路確認を行う処理グループとは無関係な処理グループに属するFBD部品にも実行順序が表示される。また、実行順序は、使用経路確認を行う処理グループと他の処理グループとを含めた連番で表示されるため、二番目以降の処理グループに属するFBD部品については、表示される実行順序は1から始まらない番号となり、処理グループ内での実行順序が分かりづらい。   In the FBD language program, when a range in which FBD parts are connected is set as a processing group, the execution order of the displayed FBD parts is referred to in order to confirm the data use path in a certain processing group. At this time, in the conventional function, the execution order is also displayed on the FBD parts belonging to the processing group unrelated to the processing group for performing the usage route check. In addition, since the execution order is displayed by serial numbers including the processing group for which the usage route confirmation is performed and other processing groups, the execution order displayed for FBD parts belonging to the second and subsequent processing groups is 1. The number does not start with, and the execution order within the processing group is difficult to understand.

また、あるFBD部品に着目してデータの使用経路を把握しようとした場合、実行順序は1からの数で表示されているため、着目したFBD部品からの処理の前後が分かりづらく、また、着目したFBD部品からの各処理の間隔も分かりづらい。   Also, when trying to figure out the data usage route by paying attention to a certain FBD component, the execution order is displayed as a number from 1. Therefore, it is difficult to know before and after the processing from the focused FBD component. It is difficult to understand the interval between each process from the FBD component.

さらに、FBD部品同士を結線する部品である接続線は、線の太さや色の表示に違いがないため、着目したFBD部品に接続線で繋がれている直前及び直後のFBD部品がどれであるかが分かりづらい。   Furthermore, since there is no difference in the line thickness and color display of the connection lines, which are parts connecting the FBD parts, which is the FBD part immediately before and after being connected to the focused FBD part by the connection line. It is difficult to understand.

特許文献1に開示される発明は、フレーム単位で順位を設定するものであり、フレーム内での各機能ブロックの順位については何も考慮していない。   The invention disclosed in Patent Document 1 sets the rank in units of frames, and does not consider anything about the rank of each functional block in the frame.

本発明は、上記に鑑みてなされたものであって、指定したFBD部品の処理グループ内での実行順序や、指定したFBD部品の前後に処理されるFBD部品をユーザが容易に認識可能なプログラミングロジックコントローラのプログラミング装置を得ることを目的とする。   The present invention has been made in view of the above, and is a programming that allows the user to easily recognize the execution order of the designated FBD parts in the processing group and the FBD parts processed before and after the designated FBD parts. The object is to obtain a logic controller programming device.

上述した課題を解決し、目的を達成するために、本発明は、予め定められた処理をデータに施す機能ブロックであるFBD部品をエディタ画面上に複数配置して、配置した複数のFBD部品間を接続線で接続し、複数のFBD部品が各々の配置位置に応じた順序で実行されるFBDプログラムを作成するプログラマブルロジックコントローラのプログラミング装置であって、エディタ画面上に配置された複数のFBD部品の接続関係を示す接続情報を格納する部品情報管理手段と、接続情報に基づいて、エディタ画面上で指定されたFBD部品と直接接続されているFBD部品及び他のFBD部品を介して間接的に接続されているFBD部品を抽出し、抽出したFBD部品のみからなる処理グループにおけるFBD部品の実行順序を、抽出したFBD部品の各々の配置位置に応じて決定する実行順序決定手段と、処理グループにおける抽出したFBD部品の実行順序を、1から始まる自然数でエディタ画面上に表示する実行順序表示手段とを有し、実行順序表示手段は、処理グループに含まれないFBD部品に関しては、実行順序をエディタ画面上に表示しないことを特徴とする。   In order to solve the above-mentioned problems and achieve the object, the present invention arranges a plurality of FBD parts, which are functional blocks that perform predetermined processing on data, on the editor screen, and arranges between the arranged FBD parts. Is a programming device of a programmable logic controller that creates an FBD program in which a plurality of FBD parts are executed in an order corresponding to each arrangement position, and a plurality of FBD parts arranged on an editor screen Component information management means for storing connection information indicating the connection relationship between the FBD component and the FBD component directly connected to the FBD component designated on the editor screen based on the connection information and other FBD components indirectly The connected FBD parts are extracted, and the execution order of the FBD parts in the processing group consisting only of the extracted FBD parts is extracted. Execution order determining means for determining according to the arrangement position of each of the FBD parts, and execution order display means for displaying the execution order of the extracted FBD parts in the processing group on the editor screen as a natural number starting from 1. The execution order display means does not display the execution order on the editor screen for FBD parts not included in the processing group.

本発明によれば、指定したFBD部品の処理グループ内での実行順序や、指定したFBD部品の前後に処理されるFBD部品をユーザが容易に認識可能になるという効果を奏する。   According to the present invention, there is an effect that the user can easily recognize the execution order of the designated FBD parts in the processing group and the FBD parts processed before and after the designated FBD parts.

図1は、本発明にかかるプログラマブルロジックコントローラのプログラミング装置の実施の形態1の構成を示す図である。FIG. 1 is a diagram showing a configuration of a first embodiment of a programming device for a programmable logic controller according to the present invention. 図2は、プログラミング装置の動作の流れを示すフローチャートである。FIG. 2 is a flowchart showing an operation flow of the programming device. 図3は、FBD部品の実行順序の表示の一例を示す図である。FIG. 3 is a diagram illustrating an example of display of the execution order of the FBD parts. 図4は、ユーザが指定したFBD部品に繋がれている接続線をプログラミング装置が強調表示する際の処理の流れを示すフローチャートである。FIG. 4 is a flowchart showing the flow of processing when the programming device highlights the connection line connected to the FBD component designated by the user. 図5は、指定されたFBD部品に繋がれている接続線の強調表示の一例を示す図である。FIG. 5 is a diagram illustrating an example of highlighting of the connection line connected to the designated FBD component. 図6は、従来のプログラミング装置におけるエディタ画面の一例を示す図である。FIG. 6 is a diagram showing an example of an editor screen in a conventional programming device. 図7は、実施の形態2にかかるプログラミング装置の動作の流れを示すフローチャートである。FIG. 7 is a flowchart of an operation flow of the programming device according to the second embodiment. 図8は、FBD部品の実行順序の表示の一例を示す図である。FIG. 8 is a diagram illustrating an example of display of the execution order of the FBD parts.

以下に、本発明にかかるプログラマブルロジックコントローラのプログラミング装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of a programming device for a programmable logic controller according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、本発明にかかるプログラマブルロジックコントローラのプログラミング装置の実施の形態1の構成を示す図である。プログラマブルロジックコントローラのプログラミング装置(以下、プログラミング装置とも言う。)200は、エディタ部201、部品情報管理部202及び実行順序決定部203を有する。プログラミング装置200としては、入力装置や表示装置、記憶装置などを備えた一般的なコンピュータを適用可能であり、プログラミング装置200を制御する制御部(CPUなど)がメモリをワークエリアとしてソフトウェア処理を実行することにより、エディタ部201、部品情報管理部202及び実行順序決定部203が制御部上に実現される。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a configuration of a first embodiment of a programming device for a programmable logic controller according to the present invention. A programmable logic controller programming device (hereinafter also referred to as a programming device) 200 includes an editor unit 201, a component information management unit 202, and an execution order determination unit 203. As the programming device 200, a general computer equipped with an input device, a display device, a storage device, and the like can be applied. Thus, the editor unit 201, the component information management unit 202, and the execution order determination unit 203 are realized on the control unit.

エディタ部201は、エディタ画面を表示する機能と、入力装置を介してのユーザの操作を受け付ける入力インタフェース機能とを備えており、入力装置を介して行われた操作に基づきエディタ画面上にFBD部品を配置させたり、FBD部品同士を接続する接続線をエディタ画面上に表示させたり、各FBD部品の実行順序をエディタ画面上にさせたりする。部品情報管理部202は、エディタ画面に配置済みのFBD部品やそれらを接続する接続線の情報を格納する。すなわち、部品情報管理部202には、各FBD部品に関して、入出力端子と、それらの接続先とを関連付けた情報が接続情報として格納されている。実行順序決定部203は、エディタ画面上で指定されたFBD部品が属する処理グループ内でのFBD部品の実行順序を、所定のルールに基づいて決定する。   The editor unit 201 has a function for displaying an editor screen and an input interface function for accepting a user operation via the input device. An FBD component is displayed on the editor screen based on an operation performed via the input device. Are arranged, a connection line connecting the FBD parts is displayed on the editor screen, or the execution order of each FBD part is displayed on the editor screen. The component information management unit 202 stores information on the FBD components already arranged on the editor screen and the connection lines connecting them. That is, in the component information management unit 202, information relating the input / output terminals and the connection destinations of each FBD component is stored as connection information. The execution order determination unit 203 determines the execution order of the FBD parts in the processing group to which the FBD part specified on the editor screen belongs based on a predetermined rule.

図2は、プログラミング装置200の動作の流れを示すフローチャートである。FBD言語を用いて作成されたプログラムについて、ステップS301において、ユーザは、エディタ部201が表示するエディタ画面に配置されるFBD部品を指定する。ステップS302において、部品情報管理部202は、指定されたFBD部品の接続情報を参照し、指定されたFBD部品に結線されているFBD部品を辿っていくことで、指定されたFBD部品と同じ処理グループに属するFBD部品を抽出する。ステップS303において、実行順序決定部203は、指定されたFBD部品と抽出された処理グループ内のFBD部品との実行順序を、予め定められた規則にしたがって決定する。例えば、FBD部品を配置したエディタ画面上の左から右、上から下という順序で実行順序を決定していく。なお、ここで示した例とは異なる規則でFBD部品の実行順序を決定しても良く、ユーザが規則を任意に設定できるようにしてもよい。ステップS304において、エディタ部201は決定された実行順序をエディタ画面上に表示する。   FIG. 2 is a flowchart showing an operation flow of the programming device 200. For a program created using the FBD language, in step S301, the user designates an FBD component to be arranged on the editor screen displayed by the editor unit 201. In step S302, the component information management unit 202 refers to the connection information of the specified FBD component, and traces the FBD component connected to the specified FBD component, thereby performing the same processing as the specified FBD component. FBD parts belonging to the group are extracted. In step S303, the execution order determination unit 203 determines the execution order of the designated FBD parts and the extracted FBD parts in the processing group according to a predetermined rule. For example, the execution order is determined in the order of left to right and top to bottom on the editor screen on which the FBD parts are arranged. Note that the execution order of the FBD parts may be determined by a rule different from the example shown here, and the user may arbitrarily set the rule. In step S304, the editor unit 201 displays the determined execution order on the editor screen.

図3は、FBD部品の実行順序の表示の一例を示す図である。なお、以下の説明では、複数存在する構成要素を区別する必要がある場合に符号に添え字を付して表記し、複数の構成要素全部を表す場合には添え字を付さずに表記する。FBD部品401(401〜401)は、FBD言語を用いたプログラミングを行うためのファンクションやファンクションブロックである。接続線402(402〜402)は、FBD部品401同士を繋いでおり、左端から右端に向かうようにデータを伝送する。実行順序表示領域403(403〜403)は、実行順序決定部203によって決定された実行順序を表示する領域である。処理グループ404、405はそれぞれ複数のFBD部品401で構成されており、両グループ間は接続線402で接続されていないため、異なる処理グループとなっている。 FIG. 3 is a diagram illustrating an example of display of the execution order of the FBD parts. In the following explanation, when there is a need to distinguish between a plurality of components, a symbol is appended with a subscript, and when a plurality of components are all represented, a subscript is not appended. . The FBD parts 401 (401 1 to 401 6 ) are functions and function blocks for performing programming using the FBD language. A connection line 402 (402 1 to 402 5 ) connects the FBD parts 401 to each other and transmits data from the left end toward the right end. The execution order display area 403 (403 1 to 403 6 ) is an area for displaying the execution order determined by the execution order determination unit 203. Each of the processing groups 404 and 405 is composed of a plurality of FBD parts 401, and the two groups are not connected by the connection line 402, and thus are different processing groups.

図3において一点鎖線で囲まれているFBD部品401が指定されると、部品情報管理部202は、FBD部品401に接続されている接続線402、402を辿り、FBD部品401に結線されているFBD部品401、401、401を抽出する。実行順序決定部203はFBD部品401〜401の実行順序を決定する。エディタ部201は、実行順序表示領域403〜403に実行順序を1から始まる自然数で表示する。 When the FBD parts 401 5 enclosed by one-dot chain line is specified in FIG. 3, parts information managing section 202, follows the connecting line 402 3, 402 5 connected to the FBD parts 401 5, FBD parts 401 5 FBD parts 401 3 , 401 4 , and 401 6 that are connected to are extracted. The execution order determination unit 203 determines the execution order of the FBD components 401 3 to 401 6 . The editor unit 201 displays the execution order as a natural number starting from 1 in the execution order display areas 403 3 to 403 6 .

FBD部品401が属さない処理グループ405のFBD部品401、401については、実行順序の表示を行わない。なお、処理グループ405のFBD部品401、401に関しては、処理グループ404とは独立して処理グループ405内での実行順序を示す数を、処理グループ404の実行順序とは区別できる形式で表示しても良い。例えば、実行順序表示領域403、403の色を実行順序表示領域403〜403とは変えたり、数の色やフォントを変更するなどして表示しても良い。 For FBD parts 401 1, 401 2 of FBD parts 401 5 does not belong treatment group 405, not displayed execution order. For the FBD parts 401 1 and 401 2 of the processing group 405, the number indicating the execution order in the processing group 405 is displayed in a format that can be distinguished from the execution order of the processing group 404 independently of the processing group 404. You may do it. For example, the colors of the execution order display areas 403 1 and 403 2 may be changed from the execution order display areas 403 3 to 403 6 or the number of colors and fonts may be changed.

図4は、ユーザが指定したFBD部品に繋がれている接続線をプログラミング装置200が強調表示する際の処理の流れを示すフローチャートである。FBD言語を用いて作成されたプログラムについて、ステップS601において、ユーザはエディタ部201が表示するエディタ画面に配置される部品を指定する。ステップS602において、部品情報管理部202は、指定されたFBD部品の接続情報を走査し、指定されたFBD部品に繋がれている接続線のみを抽出する。ステップS603において、エディタ部201は、抽出された接続線を他の接続線と視覚的に区別可能な状態でエディタ画面上に表示する。例えば、線の太さや色を変更するなどの強調表示を行う。   FIG. 4 is a flowchart showing a processing flow when the programming device 200 highlights the connection line connected to the FBD component designated by the user. For a program created using the FBD language, in step S601, the user designates a component to be arranged on the editor screen displayed by the editor unit 201. In step S602, the component information management unit 202 scans connection information of the specified FBD component, and extracts only connection lines connected to the specified FBD component. In step S <b> 603, the editor unit 201 displays the extracted connection line on the editor screen in a state that can be visually distinguished from other connection lines. For example, highlighting such as changing the thickness or color of the line is performed.

図5は、指定されたFBD部品に繋がれている接続線の強調表示の一例を示す図である。なお、以下の説明では、複数存在する構成要素を区別する必要がある場合に符号に添え字を付して表記し、複数の構成要素全部を表す場合には添え字を付さずに表記する。FBD部品701(701〜701)は、FBD言語を用いたプログラミングを行うためのファンクションやファンクションブロックである。接続線702(702〜702)は、FBD部品701同士を繋げており、左端から右端に向かうようにデータを伝送する。指定されたFBD部品701に繋がれている接続線702、702は、指定された接続線に繋がっていない接続線702、702とは線の太さが異なっており、視覚的に区別可能となっている。このため、ユーザは、FBD部品701の接続状況(直前・直後のFBD部品がどれであるか)を容易に把握でき、使用経路の探索にユーザが要する時間を短縮できる。 FIG. 5 is a diagram illustrating an example of highlighting of the connection line connected to the designated FBD component. In the following explanation, when there is a need to distinguish between a plurality of components, a symbol is appended with a subscript, and when a plurality of components are all represented, a subscript is not appended. . The FBD parts 701 (701 1 to 701 4 ) are functions and function blocks for performing programming using the FBD language. Connection lines 702 (702 1 to 702 4 ) connect the FBD components 701 to each other, and transmit data from the left end toward the right end. The connection lines 702 2 and 702 4 connected to the designated FBD component 701 3 have a different line thickness from the connection lines 702 1 and 702 3 not connected to the designated connection line. Can be distinguished. For this reason, the user can easily grasp the connection status of the FBD component 701 (which is the immediately preceding / immediate FBD component) and can reduce the time required for the user to search for a use route.

比較のために、従来のプログラミング装置におけるエディタ画面の一例を図6に示す。従来のエディタ画面110のFBD部品101(101〜101)には、実行順序表示領域103(103〜103)に実行順序が表示されるが、処理グループ107、108ごとの順序ではなく、全FBD部品101〜101を通して連続した数となっている。このため、処理グループ107に関しては、実行順序表示領域103に表示される最も若い数は「1」ではなく「3」となっている。したがって、ユーザは、処理グループ107内の各FBD部品101〜101の各々の実行順序の数を確認しなければ、どのFBD部品101〜101がどの順番で処理されるかを認識できない。また、従来のプログラミング装置では、FBD部品101(101〜101)同士を接続する接続線102(102〜102)は、FBD部品101のどれを選択しているかに関わらず同じように表示されているため、指定したFBD部品101の前後に処理されるFBD部品101がどれであるかが分かりにくい。 For comparison, an example of an editor screen in a conventional programming device is shown in FIG. Although the execution order is displayed in the execution order display area 103 (103 1 to 103 6 ) in the FBD parts 101 (101 1 to 101 6 ) of the conventional editor screen 110, it is not the order for each of the processing groups 107 and 108. The number is continuous through all the FBD parts 101 1 to 101 6 . For this reason, regarding the processing group 107, the youngest number displayed in the execution order display area 103 is “3” instead of “1”. Therefore, the user cannot recognize which FBD parts 101 3 to 101 6 are processed in which order unless the number of execution orders of each of the FBD parts 101 3 to 101 6 in the processing group 107 is confirmed. . In the conventional programming device, the connection lines 102 (102 1 to 102 5 ) for connecting the FBD parts 101 (101 1 to 101 6 ) are the same regardless of which of the FBD parts 101 is selected. Since it is displayed, it is difficult to determine which FBD component 101 is processed before and after the designated FBD component 101.

これに対し、本実施の形態では、指定したFBD部品が属する処理グループのいずれかについて、「1」から始まる数で実行順序を表示するため、ユーザは、指定したFBD部品が属する処理グループ内でのFBD部品の実行順序を容易に認識できる。また、指定されたFBD部品に直接接続されている接続線を強調表示するため、ユーザは、指定したFBD部品の直前・直後に処理されるFBD部品を容易に把握できる。   On the other hand, in this embodiment, since the execution order is displayed with a number starting from “1” for any of the processing groups to which the designated FBD part belongs, the user can select the processing group to which the designated FBD part belongs. The execution order of the FBD parts can be easily recognized. Further, since the connection line directly connected to the designated FBD component is highlighted, the user can easily grasp the FBD component processed immediately before and after the designated FBD component.

このように、本実施の形態にかかるプログラマブルロジックコントローラのプログラミング装置は、指定したFBD部品が属する処理グループのFBD部品のみに、連番で実行順序を表示するため、処理グループ内でのFBD部品の実行順序をユーザが容易に理解できる。これにより、デバッグ作業時などにプログラミング装置を起動している時間を短縮でき、省エネルギーを実現できる。   As described above, the programming device of the programmable logic controller according to the present embodiment displays the execution order with sequential numbers only on the FBD parts of the processing group to which the specified FBD part belongs, so that the FBD parts in the processing group are displayed. The user can easily understand the execution order. As a result, it is possible to shorten the time during which the programming device is activated during debugging, and to save energy.

実施の形態2.
本発明にかかるプログラマブルロジックコントローラのプログラミング装置の実施の形態2の構成は、実施の形態1と同様である。図7は、実施の形態2にかかるプログラミング装置の動作の流れを示すフローチャートである。FBD言語を用いて作成されたプログラムについて、ステップS501において、ユーザは、エディタ部201が表示させるエディタ画面に配置されたFBD部品を指定する。ステップS502において、実行順序決定部203は、FBD部品の実行順序を決定する。本実施の形態においては、全ての処理グループに属するFBD部品についての実行順序を決定する。ステップS503において、実行順序決定部203は、ステップS502で決定した実行順序に基づいた数を、指定されたFBD部品を基点(0)とし、正負の符号を付して実行順に連番となるように変換する。ステップS504において、エディタ部201は実行順序決定部203によって決定・変換された実行順序を表示する。
Embodiment 2. FIG.
The configuration of the programming device of the programmable logic controller according to the second embodiment of the present invention is the same as that of the first embodiment. FIG. 7 is a flowchart of an operation flow of the programming device according to the second embodiment. For a program created using the FBD language, in step S501, the user designates an FBD component arranged on the editor screen displayed by the editor unit 201. In step S502, the execution order determination unit 203 determines the execution order of the FBD parts. In the present embodiment, the execution order for FBD parts belonging to all processing groups is determined. In step S503, the execution order determination unit 203 sets the number based on the execution order determined in step S502 to the designated FBD component as a base point (0), adds a positive / negative sign, and sequentially numbers in the execution order. Convert to In step S504, the editor unit 201 displays the execution order determined and converted by the execution order determination unit 203.

図8は、FBD部品の実行順序の表示の一例を示す図である。図8において一点鎖線で囲まれているFBD部品401が指定されたとする。この場合、FBD部品401〜401の実行順序は、接続線402〜402の接続状態に基づいて実行順序決定部203によって決定される。エディタ画面201においては、指定されたFBD部品401よりも後に実行されるFBD部品401の実行順序は、実行順序表示領域403に「+1」として表示される。また、指定されたFBD部品401よりも前に実行されるFBD部品401〜401の実行順序は、実行順序表示領域403〜403に「−4」〜「−1」として表示される。これにより、ユーザは、エディタ画面201上で指定したFBD部品401の前後の処理を容易に把握できる。ここでは指定されたFBD部品401を含む処理グループ404に属するFBD部品401〜401のみならず、FBD部品401を含まない処理グループ405に属するFBD部品401、401の実行順序も表示している。 FIG. 8 is a diagram illustrating an example of display of the execution order of the FBD parts. And the FBD component 401 5 enclosed specified by a one-dot chain line in FIG. 8. In this case, the order of execution of the FBD parts 401 1 to 401 6 is determined by the implementing order determining portion 203 based on the connection state of the connecting line 402 1-402 5. In the editor screen 201, the execution order of FBD parts 401 6 to be executed after the FBD parts 401 5 specified is displayed on the execution order display area 403 6 as "+1". Further, the order of execution of FBD parts 401 1 to 401 4 which is executed before the FBD parts 401 5 specified is displayed on the execution order display area 403 1 to 403 4 as "-4" - "-1" The Thus, the user, the process before and after the FBD parts 401 5 above specified editor screen 201 can be easily grasped. Here not only FBD parts 401 3-401 6 belonging to treatment group 404 containing the FBD parts 401 5 that is specified, FBD part 401 1 which belongs to the process group 405 without the FBD parts 401 5, 401 2 also execution sequence it's shown.

なお、ステップS504において、エディタ部201は、正負の符号を付した実行順序を示す数を、表示するFBD部品又は実行順序表示領域を数に応じた色で表示しても良い。例えば、符号の正負に応じて異なる色とし、絶対値の大きさに応じて輝度を変えて表示するなどすればよい。また、実行順序を示す数に応じてFBD部品そのものや実行順序表示領域の色を変えて表示するようにしてもよい。実行順序を示す数に応じてFBD部品や実行順序表示領域、あるいは数の色を変えて表示することで、ユーザは処理の実行順序を視覚的に判断可能となり、データの使用経路の識別が容易となる。   In step S504, the editor unit 201 may display the number indicating the execution order with a positive or negative sign, and the FBD component to be displayed or the execution order display area in a color corresponding to the number. For example, different colors may be used depending on the sign, and the brightness may be changed depending on the absolute value. Further, the FBD component itself and the color of the execution order display area may be changed according to the number indicating the execution order. By displaying the FBD component, execution order display area, or the number of colors according to the number indicating the execution order, the user can visually determine the execution order of the processes, and the data usage route can be easily identified. It becomes.

なお、実施の形態1と同様に、指定されたFBD部品を含む処理グループについてのみFBD部品の実行順序を表示する場合には、部品情報管理部202は、指定されたFBD部品の接続情報を走査し、指定されたFBD部品に結線されているFBD部品を辿っていくことで、指定されたFBD部品と同じ処理グループに属するFBD部品を抽出する。同様に、2以上の一部の処理グループについてのみにFBD部品の実行順序を表示してもよい。   As in the first embodiment, when displaying the execution order of the FBD parts only for the processing group including the designated FBD parts, the part information management unit 202 scans the connection information of the designated FBD parts. Then, by tracing the FBD part connected to the designated FBD part, FBD parts belonging to the same processing group as the designated FBD part are extracted. Similarly, the execution order of the FBD parts may be displayed only for some of the two or more processing groups.

このように、本実施の形態に係るプログラミング装置は、指定したFBD部品よりも先に処理されるか否かや、指定されたFBD部品とどの程度実行順序が離れているかなどをユーザが視覚的に容易に認識可能である。すなわち、ユーザは、指定したFBD部品の前処理であるか後処理であるかを正負の符号によって判断でき、指定したFBD部品からの処理間隔は数字(絶対値)の大小によって判断できる。したがって、ユーザは、データの使用経路を容易に把握できる。これにより、デバッグ作業時などにプログラミング装置を起動している時間を短縮でき、省エネルギーを実現できる。   As described above, the programming device according to the present embodiment allows the user to visually determine whether or not the processing is performed before the designated FBD part and how far the execution order is away from the designated FBD part. Can be easily recognized. That is, the user can determine whether the designated FBD component is pre-processing or post-processing based on a positive or negative sign, and the processing interval from the designated FBD component can be determined by the magnitude of the number (absolute value). Therefore, the user can easily grasp the data use route. As a result, it is possible to shorten the time during which the programming device is activated during debugging, and to save energy.

上記各実施の形態は、実施の一例であり、本発明はこれらに限定されることなく様々な変形が可能である。例えば、実施の形態2において、実施の形態1と同様に、指定されたFBD部品に接続された接続線を強調表示することも可能である。   Each of the above embodiments is an example of implementation, and the present invention is not limited to these, and various modifications are possible. For example, in the second embodiment, similarly to the first embodiment, it is possible to highlight a connection line connected to a designated FBD component.

200 プログラミング装置
201 エディタ部
202 部品情報管理部
203 実行順序決定部
401、701 FBD部品
402、702 接続線
403 実行順序表示領域
404、405 処理グループ
DESCRIPTION OF SYMBOLS 200 Programming apparatus 201 Editor part 202 Part information management part 203 Execution order determination part 401,701 FBD part 402,702 Connection line 403 Execution order display area 404,405 Processing group

Claims (5)

予め定められた処理をデータに施す機能ブロックであるFBD部品をエディタ画面上に複数配置して、該配置した複数の前記FBD部品間を接続線で接続し、複数の前記FBD部品が各々の配置位置に応じた順序で実行されるFBDプログラムを作成するプログラマブルロジックコントローラのプログラミング装置であって、
前記エディタ画面上に配置された前記複数のFBD部品の接続関係を示す接続情報を格納する部品情報管理手段と、
前記接続情報に基づいて、前記エディタ画面上で指定された前記FBD部品と直接接続されている前記FBD部品及び他の前記FBD部品を介して間接的に接続されている前記FBD部品を抽出し、抽出した前記FBD部品のみからなる処理グループにおける前記FBD部品の実行順序を、前記抽出したFBD部品の各々の配置位置に応じて決定する実行順序決定手段と、
前記処理グループにおける前記抽出したFBD部品の実行順序を、1から始まる自然数で前記エディタ画面上に表示する実行順序表示手段とを有し、
前記実行順序表示手段は、前記処理グループに含まれない前記FBD部品に関しては、実行順序を前記エディタ画面上に表示しないことを特徴とするプログラマブルロジックコントローラのプログラミング装置。
A plurality of FBD parts, which are functional blocks that perform predetermined processing on the data, are arranged on the editor screen, the plurality of arranged FBD parts are connected by connection lines, and a plurality of the FBD parts are arranged on the respective screens. A programmable logic controller programming device for creating an FBD program to be executed in an order according to a position,
Component information management means for storing connection information indicating a connection relationship between the plurality of FBD components arranged on the editor screen;
Based on the connection information, the FBD part directly connected to the FBD part specified on the editor screen and the FBD part indirectly connected through the other FBD part are extracted. Execution order determining means for determining the execution order of the FBD parts in a processing group consisting only of the extracted FBD parts according to the arrangement positions of the extracted FBD parts;
Execution order display means for displaying the execution order of the extracted FBD parts in the processing group on the editor screen as a natural number starting from 1.
The programmable logic controller programming device, wherein the execution order display means does not display the execution order on the editor screen for the FBD parts not included in the processing group.
予め定められた処理をデータに施す機能ブロックであるFBD部品をエディタ画面上に複数配置して、該配置した複数の前記FBD部品間を接続線で接続し、複数の前記FBD部品が各々の配置位置に応じた順序で実行されるFBDプログラムを作成するプログラマブルロジックコントローラのプログラミング装置であって、
前記エディタ画面上に配置された前記複数のFBD部品の接続関係を示す接続情報を格納する部品情報管理手段と、
前記接続情報に基づいて、前記エディタ画面上で指定された前記FBD部品と直接接続されている前記FBD部品及び他の前記FBD部品を介して間接的に接続されている前記FBD部品を抽出し、抽出した前記FBD部品のみからなる処理グループにおける前記FBD部品の実行順序を、前記抽出したFBD部品の各々の配置位置に応じて決定する実行順序決定手段と、
前記処理グループにおける前記抽出したFBD部品の実行順序を、前記エディタ画面において指定された前記FBD部品を0とし、前記指定されたFBD部品よりも前に実行される前記FBD部品は負の数で、前記指定されたFBD部品よりも後に実行される前記FBD部品は正の数で前記エディタ画面上に表示する実行順序表示手段とを有し、
前記実行順序表示手段は、前記処理グループに含まれない前記FBD部品に関しては、実行順序を前記エディタ画面上に表示しないことを特徴とするプログラマブルロジックコントローラのプログラミング装置。
A plurality of FBD parts, which are functional blocks that perform predetermined processing on the data, are arranged on the editor screen, the plurality of arranged FBD parts are connected by connection lines, and a plurality of the FBD parts are arranged on the respective screens. A programmable logic controller programming device for creating an FBD program to be executed in an order according to a position,
Component information management means for storing connection information indicating a connection relationship between the plurality of FBD components arranged on the editor screen;
Based on the connection information, the FBD part directly connected to the FBD part specified on the editor screen and the FBD part indirectly connected through the other FBD part are extracted. Execution order determining means for determining the execution order of the FBD parts in a processing group consisting only of the extracted FBD parts according to the arrangement positions of the extracted FBD parts;
The execution order of the extracted FBD parts in the processing group is set to 0 for the FBD parts specified on the editor screen, and the FBD parts executed before the specified FBD parts are negative numbers. The FBD component executed after the designated FBD component has an execution order display means for displaying a positive number on the editor screen.
The programmable logic controller programming device, wherein the execution order display means does not display the execution order on the editor screen for the FBD parts not included in the processing group.
予め定められた処理をデータに施す機能ブロックであるFBD部品をエディタ画面上に複数配置して、該配置した複数の前記FBD部品間を接続線で接続し、複数の前記FBD部品が各々の配置位置に応じた順序で実行されるFBDプログラムを作成するプログラマブルロジックコントローラのプログラミング装置であって、
前記エディタ画面上に配置された前記複数のFBD部品の接続関係を示す接続情報を格納する部品情報管理手段と、
前記接続情報に基づいて、前記エディタ画面上に配置された複数の前記FBD部品の実行順序を、前記複数のFBD部品の各々の配置位置に応じて決定する手段と、
前記エディタ画面上に配置された前記複数のFBD部品の実行順序を、前記エディタ画面において指定された前記FBD部品を0とし、前記指定されたFBD部品よりも前に実行される前記FBD部品は負の数で、前記指定されたFBD部品よりも後に実行される前記FBD部品は正の数で、前記エディタ画面上に表示する実行順序表示手段とを有することを特徴とするプログラマブルロジックコントローラのプログラミング装置。
A plurality of FBD parts, which are functional blocks that perform predetermined processing on the data, are arranged on the editor screen, the plurality of arranged FBD parts are connected by connection lines, and a plurality of the FBD parts are arranged on the respective screens. A programmable logic controller programming device for creating an FBD program to be executed in an order according to a position,
Component information management means for storing connection information indicating a connection relationship between the plurality of FBD components arranged on the editor screen;
Means for determining, based on the connection information, an execution order of the plurality of FBD parts arranged on the editor screen in accordance with an arrangement position of each of the plurality of FBD parts;
The execution order of the plurality of FBD parts arranged on the editor screen is set such that the FBD part specified on the editor screen is 0, and the FBD part executed before the specified FBD part is negative. And an execution order display means for displaying on the editor screen the FBD parts executed after the designated FBD parts are positive numbers, .
前記指定されたFBD部品よりも前に実行される前記FBD部品と前記指定されたFBD部品よりも後に実行される前記FBD部品とを異なる色で前記エディタ画面に表示することを特徴とする請求項2又は3記載のプログラマブルロジックコントローラのプログラミング装置。   The FBD part executed before the designated FBD part and the FBD part executed after the designated FBD part are displayed on the editor screen in different colors. The programming device of the programmable logic controller according to 2 or 3. 前記エディタ画面上で指定されたFBD部品に接続された前記接続線を、他の前記接続線とは異なる表示形式で表示することを特徴とする請求項1から3のいずれか1項記載のプログラマブルロジックコントローラのプログラミング装置。   The programmable connection according to any one of claims 1 to 3, wherein the connection line connected to the FBD component designated on the editor screen is displayed in a display format different from the other connection lines. Logic controller programming device.
JP2011017014A 2011-01-28 2011-01-28 Programming device of programmable logic controller Withdrawn JP2012159868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011017014A JP2012159868A (en) 2011-01-28 2011-01-28 Programming device of programmable logic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011017014A JP2012159868A (en) 2011-01-28 2011-01-28 Programming device of programmable logic controller

Publications (1)

Publication Number Publication Date
JP2012159868A true JP2012159868A (en) 2012-08-23

Family

ID=46840385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011017014A Withdrawn JP2012159868A (en) 2011-01-28 2011-01-28 Programming device of programmable logic controller

Country Status (1)

Country Link
JP (1) JP2012159868A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014119776A (en) * 2012-12-13 2014-06-30 Azbil Corp Programming method and device
WO2014170992A1 (en) * 2013-04-18 2014-10-23 三菱電機株式会社 Programming tool
CN104503338A (en) * 2014-12-30 2015-04-08 浙江中控技术股份有限公司 Functional block sorting executing method and device
KR20160014117A (en) * 2014-03-07 2016-02-05 미쓰비시덴키 가부시키가이샤 Programming device
WO2022004095A1 (en) * 2020-07-02 2022-01-06 株式会社日立製作所 Program creating device and method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014119776A (en) * 2012-12-13 2014-06-30 Azbil Corp Programming method and device
WO2014170992A1 (en) * 2013-04-18 2014-10-23 三菱電機株式会社 Programming tool
JPWO2014170992A1 (en) * 2013-04-18 2017-02-16 三菱電機株式会社 Programming tools
CN105229542B (en) * 2013-04-18 2017-06-09 三菱电机株式会社 Programming tool
KR20160014117A (en) * 2014-03-07 2016-02-05 미쓰비시덴키 가부시키가이샤 Programming device
CN105431790A (en) * 2014-03-07 2016-03-23 三菱电机株式会社 Programming device
KR101634063B1 (en) 2014-03-07 2016-06-27 미쓰비시덴키 가부시키가이샤 Programming device
US9606776B2 (en) 2014-03-07 2017-03-28 Mitsubishi Electric Corporation Programming device
CN104503338A (en) * 2014-12-30 2015-04-08 浙江中控技术股份有限公司 Functional block sorting executing method and device
WO2022004095A1 (en) * 2020-07-02 2022-01-06 株式会社日立製作所 Program creating device and method
JP2022012742A (en) * 2020-07-02 2022-01-17 株式会社日立製作所 Control controller programming device and method
JP7340494B2 (en) 2020-07-02 2023-09-07 株式会社日立製作所 Controller programming device and method

Similar Documents

Publication Publication Date Title
JP5777838B2 (en) Ladder program display program and ladder program display device
JP4888717B2 (en) Program development support device for safety controller
US9176734B2 (en) Ladder program creation apparatus
JP2012159868A (en) Programming device of programmable logic controller
CN102541514B (en) Method for converting structural text language into trapezoidal graph language
US20210349435A1 (en) Presentation of graphical visualizations and control mechanisms in-line with programming logic
JP2013077134A (en) State display/instruction input device
US20100063792A1 (en) Visualization Method for Electrical Machine Operation Models Based on Mechanical Machine Operation Models
WO2014170992A1 (en) Programming tool
JP4277206B2 (en) Ladder program display method and display device
CN102007471A (en) Method and apparatus for designing device-to-device configurations suitable to be used in a power system
JP5996150B2 (en) Programmable display and drawing software
JP2009259081A (en) Ladder diagram editing system
US9830053B2 (en) Screen definition device for operating panel
JP6575130B2 (en) Screen information generator
WO2012017992A1 (en) Program-producing device and image control system
JP6962447B2 (en) Information processing equipment, control methods, and programs
JP5744363B1 (en) Drawing software
JP2003223204A (en) Programming method of programmable controller, system thereof and recording medium thereof
WO2013150654A1 (en) Plc system design device
US20180307201A1 (en) System and method for creating a human-machine interface
JP7477027B1 (en) Information processing device, information processing method, and program
JP6407481B1 (en) Program creation device
US20160018809A1 (en) Ladder chart creation device, monitoring device, computer program, and machine control device
TW200918908A (en) Program planning method of a programmable IC test machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130902

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20131118