JP2008282260A - Ladder diagram editing device - Google Patents

Ladder diagram editing device Download PDF

Info

Publication number
JP2008282260A
JP2008282260A JP2007126887A JP2007126887A JP2008282260A JP 2008282260 A JP2008282260 A JP 2008282260A JP 2007126887 A JP2007126887 A JP 2007126887A JP 2007126887 A JP2007126887 A JP 2007126887A JP 2008282260 A JP2008282260 A JP 2008282260A
Authority
JP
Japan
Prior art keywords
connection
editing
ladder diagram
circuit component
circuit
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
JP2007126887A
Other languages
Japanese (ja)
Inventor
Yosuke Asai
陽介 浅井
Katsuyuki Inoue
勝行 井上
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 JP2007126887A priority Critical patent/JP2008282260A/en
Publication of JP2008282260A publication Critical patent/JP2008282260A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a ladder diagram editing device capable of improving efficiency of editing work. <P>SOLUTION: When a circuit component is added to an arbitrary position in a ladder diagram managed by an editing data management means 3 by an input means 1, a non-connection detection means 4 detects whether the circuit component is in a non-connection state or not. When a non-connection circuit component is detected by the non-connection detection means 4, a connection destination determination means 5 determines a connection destination based on a predetermined restriction item of the ladder diagram and a position of the circuit component of non-connection. The editing data management means 3 updates editing data based on the determined connection destination, and a display means 6 displays the updated editing data. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、プロセス制御やファクトリーオートメーション(FA)において、シーケンス制御などにプログラマブルロジックコントローラ(PLC)で採用されているプログラム言語であるラダー図(ラダーロジック、ラダー言語とも呼ばれる)を効率よく記述するためのラダー図編集装置に関するものである。   The present invention efficiently describes a ladder diagram (also called ladder logic or ladder language), which is a programming language adopted by a programmable logic controller (PLC) for sequence control or the like in process control or factory automation (FA). The present invention relates to a ladder diagram editing apparatus.

多くのラダー図編集ソフトウェア製品(以下、編集ツールと呼ぶ)において、ラダー図の編集は、左右2本の母線の間にラングとなる線を引き、その線上に接点やコイルやこれらをつなぐ接続線を配置していく方法をとる(以下では、接点やコイルを回路部品、回路部品と接続線をあわせて回路要素と呼ぶ)。接続線を引く操作や、回路部品を配置する操作は、マウスで行う場合と、パーソナルコンピュータ(PC)のキーボード上の矢印キーおよび実行キー(エンターキーともいう)を使用する場合の2通りがある。   In many ladder diagram editing software products (hereinafter referred to as “editing tools”), ladder diagrams are edited by drawing a rung line between the two left and right busbars and connecting contacts, coils, and these on that line. (Hereinafter, contact points and coils are referred to as circuit components, and circuit components and connection lines are collectively referred to as circuit elements). There are two types of operations for drawing connection lines and placing circuit components: using a mouse or using an arrow key and an execution key (also called an enter key) on a keyboard of a personal computer (PC). .

いずれの場合においても、ラングが単一線(以下、この線を主線と呼ぶ)である場合には、主線を引く操作(主線はラングの作成を開始した時点で予め引かれている場合もある)も、回路部品を配置する操作も容易である。例えば、回路部品を配置する操作であれば、以下に示すAB2通りの手順がある。
(A)先ず、配置する回路部品の種類を選択し、次にこれを配置する線上の位置を選択する。
(B)先ず、配置する線上の位置を選択し、次に配置する回路部品を選択する。
In any case, when the rung is a single line (hereinafter, this line is referred to as a main line), an operation for drawing the main line (the main line may be drawn in advance when the rung creation starts) In addition, the operation of arranging the circuit components is easy. For example, in the case of an operation for arranging circuit components, there are the following two AB procedures.
(A) First, the type of the circuit component to be arranged is selected, and then the position on the line where this is arranged is selected.
(B) First, the position on the line to be placed is selected, and then the circuit component to be placed is selected.

しかし、いわゆる並列回路(主線から分岐した接続線(これを以下枝線と呼ぶ)とその枝線上に回路部品を配置したもの)を持つラングを記述する場合においては、編集ツール毎にその編集方法が異なる。一般的な編集方法は以下の手順である。
(1)先ず、枝線作成コマンドを選択し、次に枝線を作成する主線(あるいは他の枝線)上の位置(始点)を選択する。
(2)次に、カーソルまたはマウスを移動させ、いわゆるお絵かきツールで折れ線を引く要領で枝線を作成し、最後に始点を作成したのと同じ枝線上に終点を指定する。
(3)次に、回路部品作成コマンドを選択し、作成した枝線上で位置を指定して回路部品を配置する。
上に示した方法においては通常、既存の主線または枝線上以外の位置に回路部品を配置することはできないようにしてある場合が多い。既存の主線または枝線上以外の位置に回路部品を配置できるようにし、配置した後から枝線(接続線)を作成できるようにした編集ツールもあるが、手数としては結局のところ変わらない。
However, in the case of describing a rung having a so-called parallel circuit (a connection line branched from the main line (hereinafter referred to as a branch line) and a circuit component arranged on the branch line), the editing method for each editing tool is described. Is different. The general editing method is as follows.
(1) First, a branch line creation command is selected, and then a position (start point) on the main line (or other branch line) where the branch line is created is selected.
(2) Next, the cursor or mouse is moved, a branch line is created in the manner of drawing a broken line with a so-called drawing tool, and the end point is designated on the same branch line as the last created start point.
(3) Next, a circuit component creation command is selected, and a circuit component is arranged by designating a position on the created branch line.
In the above-described method, usually, there are many cases where circuit components cannot be arranged at positions other than existing main lines or branch lines. There is an editing tool that allows circuit components to be placed at positions other than existing main lines or branch lines, and allows branch lines (connection lines) to be created after placement, but in the end, it does not change.

また、カーソル位置に主線から縦線を引く機能と、そこから縦にカーソルを動かしてコイルを追加したときに右母線と自動的に結線するようにしたものがあった(例えば、特許文献1参照)。更に、配置したい回路部品をマウスで選択してドラッグし、並列回路を作成したい回路部品上でドロップすることにより、並列回路を構成してドロップした回路部品を配置するようにしたものがあった(例えば、特許文献2参照)。   In addition, there is a function for drawing a vertical line from the main line at the cursor position, and a function for automatically connecting to the right bus when a coil is added by moving the cursor vertically (see, for example, Patent Document 1). ). In addition, there is one that configures the parallel circuit and places the dropped circuit component by selecting and dragging the circuit component to be arranged with the mouse and dropping it on the circuit component on which the parallel circuit is to be created. For example, see Patent Document 2).

特開平2−82301号公報JP-A-2-82301 特開2002−373004号公報JP 2002-373004 A

しかしながら、従来のラダー図編集装置において、例えば、特許文献1に記載されているような装置では、縦線を引く必要があり、また、特許文献2に記載されているような装置では、並列回路を構成するには既に部品が配置されている必要がある等、ラダー図編集装置としての入力の手間がかかるものであった。   However, in a conventional ladder diagram editing apparatus, for example, in an apparatus as described in Patent Document 1, it is necessary to draw a vertical line. In an apparatus as described in Patent Document 2, a parallel circuit is required. For example, it is necessary to input parts as a ladder diagram editing device because parts must already be arranged in order to configure the system.

この発明は上記のような課題を解決するためになされたもので、編集作業の効率化を図ることのできるラダー図編集装置を得ることを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to obtain a ladder diagram editing apparatus capable of improving the efficiency of editing work.

この発明に係るラダー図編集装置は、ラダー図の編集データを管理する編集データ管理手段と、編集データ管理手段で管理されている編集データに対して任意の位置への回路部品の追加があった場合、回路部品が未接続状態であるかを検出する未接続検出手段と、未接続検出手段で未接続回路部品が検出された場合、未接続の回路部品の位置と、予め定められたラダー図の制約事項とに基づいて接続先を決定する接続先決定手段とを備え、編集データ管理手段は、接続先決定手段で決定された接続先で編集データを更新するようにしたものである。   The ladder diagram editing apparatus according to the present invention has an edit data management means for managing edit data of a ladder diagram, and circuit components are added to arbitrary positions with respect to the edit data managed by the edit data management means. The unconnected detection means for detecting whether the circuit component is in an unconnected state, and when the unconnected circuit component is detected by the unconnected detection means, the position of the unconnected circuit component and a predetermined ladder diagram And a connection destination determination unit that determines a connection destination based on the restriction item, and the edit data management unit updates the edit data with the connection destination determined by the connection destination determination unit.

この発明のラダー図編集装置は、ラダー図における任意の位置への回路部品の追加があった場合、この回路部品の位置と、予め定められたラダー図の制約事項とに基づいて接続先を決定するようにしたので、ラダー図における編集作業の効率化を図ることができる。   In the ladder diagram editing apparatus of the present invention, when a circuit component is added to an arbitrary position in the ladder diagram, the connection destination is determined based on the position of the circuit component and a predetermined restriction on the ladder diagram. As a result, it is possible to improve the efficiency of the editing work in the ladder diagram.

実施の形態1.
図1は、この発明の実施の形態1によるラダー図編集装置を示す構成図である。
図において、ラダー図編集装置は、入力手段1、編集位置管理手段2、編集データ管理手段3、未接続検出手段4、接続先決定手段5、表示手段6を備えている。
入力手段1は、編集位置の移動や回路部品の追加指示およびその他の入力をユーザから受け付ける手段である。編集位置管理手段2は、入力手段1から編集位置の移動指示を受け取って編集位置を更新する手段である。編集データ管理手段3は、編集中のラダー図のデータを管理する手段である。未接続検出手段4は、編集データの更新状態を監視して開放状態の回路部品を検出する手段である。接続先決定手段5は、開放状態の回路部品を接続する先を決定して編集データ管理手段3に接続を指示する手段である。表示手段6は、編集データを表示する手段である。
Embodiment 1 FIG.
1 is a block diagram showing a ladder diagram editing apparatus according to Embodiment 1 of the present invention.
In the figure, the ladder diagram editing apparatus includes an input unit 1, an editing position management unit 2, an editing data management unit 3, an unconnected detection unit 4, a connection destination determination unit 5, and a display unit 6.
The input unit 1 is a unit that receives a movement of an editing position, an instruction to add a circuit component, and other inputs from a user. The editing position management means 2 is a means for receiving an editing position movement instruction from the input means 1 and updating the editing position. The edit data management means 3 is means for managing the data of the ladder diagram being edited. The unconnected detection unit 4 is a unit that monitors the update state of the edit data and detects an open circuit component. The connection destination determination unit 5 is a unit that determines a connection destination of an open circuit component and instructs the editing data management unit 3 to connect. The display means 6 is a means for displaying edit data.

図2は、本実施の形態のラダー図編集装置を実現するためのコンピュータのハードウェア構成を示すブロック図である。
図示のコンピュータは、キーボード101、マウス102、マイクロプロセッサ103、HDD(ハードディスク装置)104、RAM105、ROM106、グラフィックチップ107、フレームバッファ108、ディスプレイモニタ109を備えている。
FIG. 2 is a block diagram showing a hardware configuration of a computer for realizing the ladder diagram editing apparatus according to the present embodiment.
The illustrated computer includes a keyboard 101, a mouse 102, a microprocessor 103, an HDD (hard disk device) 104, a RAM 105, a ROM 106, a graphic chip 107, a frame buffer 108, and a display monitor 109.

上記の入力手段1は、キーボード101およびマウス102で実現されている。編集位置管理手段2、編集データ管理手段3、未接続検出手段4および接続先決定手段5は、それぞれの手段の機能に対応したプログラムが、HDD104やRAM105あるいはROM106等の記憶領域に格納され、これらのプログラムをマイクロプロセッサ103が実行することで実現されている。表示手段6は、グラフィックチップ107、フレームバッファ108およびディスプレイモニタ109で実現されている。   The input means 1 is realized by a keyboard 101 and a mouse 102. The editing position management means 2, editing data management means 3, unconnected detection means 4 and connection destination determination means 5 store programs corresponding to the functions of the respective means in storage areas such as the HDD 104, RAM 105, ROM 106, etc. This is realized by the microprocessor 103 executing the above program. The display means 6 is realized by a graphic chip 107, a frame buffer 108, and a display monitor 109.

次に、ラダー図のデータについて説明する。
ユーザは、ラダー図の新規作成を行うか、既に作成したデータの読み込みを行うことができる。新規作成を行う場合、入力手段1において所定の操作を行うことにより、編集位置管理手段2および編集データ管理手段3の内部情報が初期化される。データの読み込みを行う場合、入力手段1において所定の操作を行うことにより、HDD104またはリムーバブルメディア入出力装置に挿入したリムーバブルメディア(これらは共にその図示を省略している)から、編集位置管理手段2および編集データ管理手段3にデータが読み込まれ、内部情報が設定される。
Next, the data of the ladder diagram will be described.
The user can create a new ladder diagram or read data already created. When new creation is performed, internal information of the editing position management unit 2 and the editing data management unit 3 is initialized by performing a predetermined operation on the input unit 1. When reading data, by performing a predetermined operation in the input unit 1, the editing position management unit 2 can be accessed from the removable media inserted in the HDD 104 or the removable media input / output device (both of which are not shown). And the data is read into the edit data management means 3 and the internal information is set.

編集位置管理手段2の内部情報である編集位置は座標である。編集位置は座標点で表される場合もあるし、コンピュータなどのカーソルのように高さと幅を持っている場合もある。高さと幅を持っている場合、その座標はその矩形の中心位置で表される。   The editing position, which is internal information of the editing position management means 2, is a coordinate. The editing position may be represented by coordinate points, or may have a height and width like a cursor such as a computer. If it has a height and width, its coordinates are represented by the center position of the rectangle.

編集データ管理手段3の内部情報であるラダーデータは、一つまたは複数のラングデータの列で構成される。一つのラングデータは、一つまたは複数の部品データの列で構成される。一つの部品データは「部品ID」「部品の種別」「座標値」「接続している部品IDの列」の各情報で構成される。
「部品ID」は個々の部品を区別するための、ある一定の書式に従った数値または文字列である。「部品の種別」には接点、コイルの他に、二つまたはそれ以上の接続線の交点である接続点がある。「座標値」は左母線の上端を原点とし、右方向をX座標、下方向をY座標とする平面座標である。「接続している部品IDの列」は、接点やコイルの場合は左右に接続しているそれぞれの回路部品の部品IDとして二つを保持し、接続点の場合は左右の部品IDの他に、下側へ分岐して接続している回路部品の部品ID(一つまたは複数)を保持する。
Ladder data, which is internal information of the editing data management means 3, is composed of one or a plurality of rung data columns. One rung data is composed of one or a plurality of parts data columns. One component data is composed of information of “component ID”, “component type”, “coordinate value”, and “connected component ID column”.
“Part ID” is a numerical value or a character string according to a certain format for distinguishing individual parts. In addition to the contacts and coils, “part type” includes a connection point that is an intersection of two or more connection lines. The “coordinate value” is a plane coordinate in which the upper end of the left bus is the origin, the right direction is the X coordinate, and the lower direction is the Y coordinate. "Connected component ID column" holds two as component IDs of the respective circuit components connected to the left and right in the case of contacts and coils, and in addition to the left and right component IDs in the case of connection points. The component ID (one or more) of the circuit component branched and connected to the lower side is held.

図3は、ラングの一例を示す説明図であり、これを用いてラングデータの内容について説明する。
図中、縦線51は左母線、縦線52は右母線である。これら二つの間にある横線がラダーである。二本の縦線で示されている記号53、54、56は接点、丸括弧のような形の図形55はコイルを表す。交点57、58は接続点を示している。即ち、本例のラダーデータは三つの接点、一つのコイル、二つの接続点により構成される。このラダーデータの構成内容を図4に示す。尚、座標系は左母線のX座標を0、右母線のX座標を100、主線のY座標を0としてある。
FIG. 3 is an explanatory diagram showing an example of a rung, and the content of rung data will be described using this.
In the figure, a vertical line 51 is a left bus line, and a vertical line 52 is a right bus line. The horizontal line between these two is the ladder. Symbols 53, 54, and 56 indicated by two vertical lines represent contacts, and a figure 55 shaped like a parenthesis represents a coil. Intersection points 57 and 58 indicate connection points. That is, the ladder data of this example is composed of three contact points, one coil, and two connection points. The configuration content of this ladder data is shown in FIG. In the coordinate system, the X coordinate of the left bus is 0, the X coordinate of the right bus is 100, and the Y coordinate of the main line is 0.

図4において、部品ID=1(図3における接点53)の左に接続している部品IDが0となっているが、これば左母線51に接続していることを示す。同様に、部品ID=3(コイル55)の右に接続している部品IDが0となっているが、これば右母線52に接続していることを示す。尚、部品ID=2は接点54に対応している。部品ID=4(端子56)は主線上の二つの接続点57(部品ID=5)と56(部品ID=6)に接続しているため、左に接続している部品IDを5、右に接続している部品IDを6としている。接続点57および58では下に接続している部品IDに端子56の部品ID4を保持している。端子56から接続点57および58はそれぞれ左右に接続し、接続点57および58から端子56は下に接続しているようにデータを保持するわけであるが、これは図中に示すように接続点から分岐して端子との間をつなぐ接続線はL字形(あるいは逆L字形)をしているため、このようなデータ保持方法となっているのである。   In FIG. 4, the component ID connected to the left of the component ID = 1 (contact 53 in FIG. 3) is 0, which indicates that it is connected to the left bus 51. Similarly, the component ID connected to the right of component ID = 3 (coil 55) is 0, which indicates that it is connected to the right bus 52. The component ID = 2 corresponds to the contact 54. Since the component ID = 4 (terminal 56) is connected to the two connection points 57 (component ID = 5) and 56 (component ID = 6) on the main line, the component ID connected to the left is 5, right The component ID connected to is 6. At the connection points 57 and 58, the component ID 4 of the terminal 56 is held in the component ID connected below. The connection points 57 and 58 from the terminal 56 are connected to the left and right, respectively, and the data is held so that the terminal 56 is connected to the connection point 57 and 58 from the bottom. This is connected as shown in the figure. Since the connection line that branches from the point and connects to the terminal is L-shaped (or inverted L-shaped), this is the data holding method.

次に、実施の形態1のラダー図編集装置の動作について説明する。
入力手段1により、ユーザによる所定の操作で編集位置の変更が指示されると、編集位置管理手段2にその指示が伝えられる。編集位置管理手段2は内部の編集位置情報(XY座標)を更新し、表示手段6に表示更新を指示する。表示手段6は編集位置管理手段2から得られた編集位置と編集データ管理手段3から得られたラダー図データを基にして表示用データを作成し、表示を更新する。
入力手段1により、ユーザによる所定の操作で回路部品の追加が指示されると、編集データ管理手段3は、編集位置管理手段2から編集位置を取得し、当該位置に既に回路部品あるいは接続線が存在するかどうかをチェックする。チェックには編集位置のXY座標が、データ内の各回路部品の座標および接続線の線分上にあるかどうかを調べればよい。回路部品は高さと幅を持っているのでその矩形に編集位置のXY座標(あるいは追加しようとする回路部品が占める矩形領域)が入っているかどうかを調べる。
Next, the operation of the ladder diagram editing apparatus according to the first embodiment will be described.
When the input unit 1 instructs to change the editing position by a predetermined operation by the user, the instruction is transmitted to the editing position management unit 2. The editing position management means 2 updates the internal editing position information (XY coordinates) and instructs the display means 6 to update the display. The display means 6 creates display data based on the edit position obtained from the edit position management means 2 and the ladder diagram data obtained from the edit data management means 3, and updates the display.
When the input means 1 instructs the user to add a circuit component by a predetermined operation, the edit data management means 3 acquires the edit position from the edit position management means 2, and a circuit component or a connection line is already at that position. Check if it exists. For the check, it is only necessary to check whether the XY coordinates of the editing position are on the coordinates of each circuit component in the data and the line segment of the connection line. Since the circuit component has a height and a width, it is checked whether the rectangle includes the XY coordinates of the editing position (or the rectangular area occupied by the circuit component to be added).

接続線との位置関係をチェックするには、先ず、ラダー図データの中から回路部品間の接続関係を取り出し、これを線分に変換する。接続する部品同士のY座標が同じなら一本の線分で、異なればL字型または逆L字型の折れ線(2本の線分)である。線分はある程度の幅を持っているとしてその矩形に編集位置のXY座標(あるいは追加しようとする回路部品が占める矩形領域)が入っているかどうかを調べる。
編集位置に接続線が存在する場合には、当該位置に回路部品を追加し、既存の接続線が接続していた回路部品を調べ、ラングデータを更新する。例えば、部品を追加した位置にあった接続線が、部品ID=1の回路部品と部品ID=2の回路部品を接続していた(但し、部品ID=1が左側)とすると、新たに追加した回路部品(部品ID=3とする)の「接続している部品ID」を左=1、右=2とし、部品ID=1の「接続している部品ID」の右=3とし、部品ID=2の回路部品の「接続している部品ID」の左=3とする、というように更新する。
In order to check the positional relationship with the connection line, first, the connection relationship between the circuit components is taken out from the ladder diagram data and converted into a line segment. If the Y-coordinates of the parts to be connected are the same, it is a single line segment, and if they are different, it is an L-shaped or inverted L-shaped broken line (two line segments). Assuming that the line segment has a certain width, it is checked whether the rectangle includes the XY coordinates of the editing position (or the rectangular area occupied by the circuit component to be added).
If there is a connection line at the editing position, a circuit component is added to the position, the circuit component to which the existing connection line is connected is checked, and the rung data is updated. For example, if the connection line at the position where the part is added connects the circuit part with the part ID = 1 and the circuit part with the part ID = 2 (provided that the part ID = 1 is on the left side), the connection line is newly added. The connected component ID of the circuit component (part ID = 3) is left = 1, right = 2, the right of “connected component ID” of component ID = 1, and the component The circuit component with ID = 2 is updated such that “left of connected component ID” = 3.

次に、更新したデータを描画するに際し、追加した回路部品を表示するのに十分なスペースがない(近くに回路部品または分岐した枝線が表示されている)場合には、回路としての論理上の意味を損なわない範囲で他の回路部品や接続線を適切な位置に移動させる。即ち、回路部品が既に存在する場合には当該回路部品を主線あるいは枝線上において右方(X座標の正の方向)の適切な位置に移動させ、上記の処理と同様の処理を行う。このとき、右方に表示用の十分なスペースがない場合には左方(X座標の負の方向)、左方にも十分なスペースがない場合には主線あるいは枝線をX方向に延ばしてスペースを確保し、その回路部品を移動する。   Next, when drawing the updated data, if there is not enough space to display the added circuit component (a circuit component or a branched branch line is displayed nearby), the logic of the circuit Other circuit components and connection lines are moved to appropriate positions within a range that does not impair the meaning of. That is, when a circuit component already exists, the circuit component is moved to an appropriate position on the right side (in the positive direction of the X coordinate) on the main line or branch line, and processing similar to the above processing is performed. At this time, if there is not enough space for display on the right side, the main line or branch line is extended in the X direction if there is not enough space on the left side (negative direction of the X coordinate). Reserve space and move the circuit components.

上述した回路部品の追加に際し、編集データ管理手段3において、追加位置に回路部品あるいは接続線の存在をチェックした結果、これらがいずれも存在しない場合、追加された回路部品は未接続状態となる。データ的に言えば、追加された部品が持つ「接続している部品ID」が二つとも未接続を示す値(例えば−1など)になる。このとき、未接続検出手段4がこの未接続状態を検出し、接続先決定手段5に対して当該回路部品の接続先の決定を指示する。接続先決定手段5は、編集データ管理手段3のラダー図データを参照し、その回路部品の両端(回路部品は描画するに際して幅を持っていることに注意する)の上方(Y座標の負の方向)にそれぞれ存在する最も近い主線あるいは枝線を、回路の接続先として決定する。
これをチェックするには、ラダー図データの中から回路部品間の接続関係を取り出し、これを線分に変換し、追加する回路部品の左右それぞれのX座標からY軸の負の方向に延ばした半直線と交差する線分の中で、交点のY座標が最も大きいものをそれぞれ選び出せばよい。但し、接続されている二つの回路部品のY座標が異なるとき、この二つを結ぶ線分は、図3で示したようにL字型(あるいは逆L字型)で表されるため、チェックに使用する線分はX軸に平行な線分のみ(いわばLの字の底辺)を使用する。
When the circuit data is added as described above, the editing data management means 3 checks the presence of the circuit component or the connection line at the additional position, and if none of them exists, the added circuit component becomes unconnected. In terms of data, both of the “connected component IDs” of the added component are values indicating no connection (for example, −1). At this time, the unconnected detection means 4 detects this unconnected state, and instructs the connection destination determination means 5 to determine the connection destination of the circuit component. The connection destination determination means 5 refers to the ladder diagram data of the edit data management means 3 and is above the negative end of the Y coordinate (note that the circuit component has a width when drawing). The closest main line or branch line existing in each direction is determined as a circuit connection destination.
To check this, the connection relationship between circuit components is extracted from the ladder diagram data, converted into line segments, and extended from the left and right X coordinates of the circuit component to be added in the negative direction of the Y axis. Of the line segments that intersect the half line, the one with the largest Y coordinate at the intersection may be selected. However, when the Y coordinates of the two connected circuit parts are different, the line segment connecting the two circuit parts is represented by an L shape (or an inverted L shape) as shown in FIG. Only the line segment parallel to the X axis (the so-called L-shaped base) is used.

求めた左接続点の位置に別の回路部品(Aと称する)が描画されている場合、左接続点のX座標はAの左端(あるいは左端から左に一定の距離の点)に移動することとする。同様に、右接続点の位置に別の回路部品(Bと称する)が描画されている場合、右接続点はBの右端(あるいは右端から右に一定の距離の点)に移動することとする。
追加するのが接点であり、編集位置が左母線に十分近い場合(例えば図3のようなラングデータなら編集位置のX座標が10以下である場合)、左端の接続先を左母線としてもよい。同様に、追加するのがコイルであり、編集位置が右母線に十分近い場合(例えば図3のようなラングデータなら編集位置のX座標が90以上である場合)、右端の接続先を右母線としてよい。これらは表示における仕様(あるいはユーザの方針や嗜好)に依存するので、母線に接続するかしないかを全般あるいは個別に指定できるようにしてもよい。
When another circuit component (referred to as A) is drawn at the position of the obtained left connection point, the X coordinate of the left connection point moves to the left end of A (or a point at a certain distance from the left end to the left). And Similarly, when another circuit component (referred to as B) is drawn at the position of the right connection point, the right connection point moves to the right end of B (or a point at a certain distance from the right end to the right). .
When a contact is added and the editing position is sufficiently close to the left bus (for example, in the case of rung data as shown in FIG. 3, the X coordinate of the editing position is 10 or less), the connection destination at the left end may be the left bus. . Similarly, when a coil is added and the editing position is sufficiently close to the right bus (for example, in the case of rung data as shown in FIG. 3, the X coordinate of the editing position is 90 or more), the right end is connected to the right bus. As good as Since these depend on the display specifications (or user policy and preferences), whether or not to connect to the bus may be specified in general or individually.

尚、追加する回路部品が接点で、接続先となる二つの接続点のうちの一方または両方がコイルの右側になった場合、接続点は二つともコイルの左側に移動させることとする。同様に、追加する回路部品がコイルで、接続先となる二つの接続点のうちの一方または両方が接点の左側になった場合、接続点は二つとも接点の右側に移動させることとする。これは、接点とコイルが並列回路になってはいけない、またはコイルよりも右側に接点を配置してはいけないというラダー図の基本的制約事項による。   When the circuit component to be added is a contact and one or both of the two connection points to be connected are on the right side of the coil, both of the connection points are moved to the left side of the coil. Similarly, when the circuit component to be added is a coil and one or both of two connection points to be connected are on the left side of the contact point, both of the connection points are moved to the right side of the contact point. This is due to a basic restriction of the ladder diagram that the contact and the coil must not be in a parallel circuit, or that the contact should not be arranged on the right side of the coil.

以上の要領で決定した回路部品の接続先を、接続先決定手段5は編集データ管理手段3に伝え、接続を指示する。即ち、左接続点、右接続点を回路データとして追加することを指示し、これらの接続情報を更新するよう指示する。編集データ管理手段3はこの情報を基にデータを再構成する。このとき、表示を見やすくするために、回路部品や接続点を適切な位置に移動(左右にずらすなど)してもよい。
また、接続点を追加するよう指示された位置に既に接続点がある場合、その位置には新たに接続点を追加せず、既に配置されている接続点の「接続している部品IDの列」にユーザが追加した回路部品の部品IDを追加する。接続点を追加するよう指示された位置の左右いずれかに隣接して、十分近い位置(例えば図3のようなラングデータなら隣接する接続点とのX座標の差が10以下の時など)に接続点がある場合も同様にしてよい(これを接続点の統合と称する)。
編集データ管理手段3はデータ再構成後、表示手段6に対して表示の更新を指示する。
The connection destination determining means 5 informs the editing data management means 3 of the connection destination of the circuit component determined as described above, and instructs the connection. That is, it is instructed to add the left connection point and the right connection point as circuit data, and instruct to update these connection information. The edit data management means 3 reconstructs data based on this information. At this time, in order to make the display easier to see, the circuit components and connection points may be moved to appropriate positions (shifted to the left and right, etc.).
Also, if there is already a connection point at the position where the connection point is instructed to be added, a new connection point is not added at that position, and the “connected component ID column” of the connection points already arranged To the part ID of the circuit part added by the user. Adjacent to either the left or right of the position instructed to add the connection point, close enough (for example, if the rung data as shown in FIG. 3 has an X coordinate difference of 10 or less with the adjacent connection point). The same may be done when there is a connection point (this is called integration of connection points).
The edit data management means 3 instructs the display means 6 to update the display after data reconstruction.

以上の未接続部品の検出による接続点の追加処理について図を用いて説明する。
図5は、本発明の表示手段6のディスプレイモニタ109においてラダー図を表示している一例である。
図では表示領域が8×4の格子(グリッド)状に区切られているが、これは回路部品や主線・枝線を見やすく配置するための入力および表示指標である。各グリッドの右上にはそれぞれ番号が振られているが、これは以後の説明のために便宜上表記したものであって、実際の表示部には数字は表示されていない。グリッドの大きさは固定されてものではなく、多数の回路部品を配置する場合にはもっと小さなグリッドを使用してよい。尚、回路部品は基本的に一つのグリッドに一つ配置するが、グリッドが小さくなった場合には部品を見やすい大きさに保つために、複数のグリッド上にまたがって配置することにしてもよい。グリッドの大きさは表示装置上の1ピクセルの大きさまで小さくすることができて、このときはグリッドが存在しないのと同じ状態になる。
The connection point addition processing based on the detection of the unconnected parts will be described with reference to the drawings.
FIG. 5 is an example in which a ladder diagram is displayed on the display monitor 109 of the display means 6 of the present invention.
In the figure, the display area is divided into an 8 × 4 grid, which is an input and display index for arranging circuit components, main lines, and branch lines in an easy-to-see manner. A number is assigned to the upper right of each grid, but this is shown for convenience in the following description, and no number is displayed on the actual display section. The size of the grid is not fixed, and a smaller grid may be used when placing a large number of circuit components. Although one circuit component is basically arranged in one grid, when the grid becomes small, it may be arranged across a plurality of grids in order to keep the component in a size that is easy to see. . The size of the grid can be reduced to the size of one pixel on the display device, and at this time, the state is the same as when no grid exists.

図5において、グリッド11からグリッド41にかけて引かれている線は左母線、グリッド18からグリッド48にかけて引かれている線は右母線、グリッド11からグリッド18にかけて引かれている線は主線、グリッド12に配置されているのは接点、グリッド17に配置されているのはコイルである。グリッド13の網掛けは編集位置を表すカーソルである。以後の図においても同様の表記を用いることとする。
図5のラダー図に対し、グリッド22に接点を追加する場合を説明する。図6は編集位置がグリッド22にあり、編集データ管理手段3において接点を追加した直後の状態である(処理の途中を示す概念図である)。このとき、未接続検出手段4は当該接点が未接続であることを検出し、接続先決定手段5に接続位置を決めるよう指示する。接続先決定手段5における処理は以下の通りである。
In FIG. 5, the line drawn from the grid 11 to the grid 41 is the left bus line, the line drawn from the grid 18 to the grid 48 is the right bus line, and the line drawn from the grid 11 to the grid 18 is the main line, the grid 12. It is a contact that is arranged on the grid, and a coil is arranged on the grid 17. The shaded area of the grid 13 is a cursor representing the editing position. The same notation is used in the subsequent drawings.
The case where a contact is added to the grid 22 will be described with respect to the ladder diagram of FIG. FIG. 6 shows a state immediately after the editing position is on the grid 22 and a contact point is added in the editing data management means 3 (a conceptual diagram showing the middle of processing). At this time, the unconnected detection means 4 detects that the contact is not connected, and instructs the connection destination determination means 5 to determine the connection position. The processing in the connection destination determination means 5 is as follows.

(処理1)当該接点は左母線に十分近い(X座標が十分小さい)ため、左接続点は左母線とする。
(処理2)当該接点の右側は、上方にある主線に対して接続する。このときグリッド22とグリッド23を仕切る線のX座標を回路右側のX座標とし、Y軸方向の回路部品および枝線をチェックする。これにより「グリッド12とグリッド13を仕切る線」と主線との交点(以後では説明の簡略化のため、このような交点を「グリッド○○〜△△の中間点」と称する)を右接続点とする。
以上の処理の後、接続先決定手段5から編集データ管理手段3に接続先が指定され、データが再構成される。このとき、表示の都合上、右接続点をグリッド13の中心まで移動する。これにより、ディスプレイモニタ109には図7に示すようなラダー図が表示される。
(Process 1) Since the contact is sufficiently close to the left bus (X coordinate is sufficiently small), the left connection point is the left bus.
(Process 2) The right side of the contact is connected to the upper main line. At this time, the X coordinate of the line separating the grid 22 and the grid 23 is set as the X coordinate on the right side of the circuit, and the circuit components and branch lines in the Y-axis direction are checked. As a result, an intersection between the “line separating the grid 12 and the grid 13” and the main line (hereinafter, such an intersection is referred to as an “intermediate point between the grids XX to ΔΔ” for the sake of simplicity) is connected to the right connection point. And
After the above processing, the connection destination is specified by the connection destination determination means 5 to the edit data management means 3, and the data is reconstructed. At this time, the right connection point is moved to the center of the grid 13 for convenience of display. As a result, a ladder diagram as shown in FIG. 7 is displayed on the display monitor 109.

また、別の例として、図8のラダー図に対し、グリッド23に接点を追加する場合を説明する。
編集データ管理手段3において、グリッド23に接点が追加されると、未接続検出手段4は当該接点が未接続であることを検出し、接続先決定手段5に接続位置を決めるよう指示する。接続先決定手段5における処理は以下の通りである。
(処理1)当該接点の左側は、上方にある主線に対して接続する。このときグリッド22とグリッド23の中間点を回路左側のX座標とし、Y軸方向の回路部品および枝線をチェックする。これによりグリッド12〜13の中間点を左接続点とする。
(処理2)当該接点の右側は、上方にある主線に対して接続する。このときグリッド23とグリッド24の中間点を回路右側のX座標とし、Y軸方向の回路部品および枝線をチェックする。これによりグリッド13〜14の中間点を右接続点とする。
以上の処理の後、接続先決定手段5から編集データ管理手段3に接続先が指定され、データが再構成される。このとき、表示の都合上、左接続点をグリッド13の中心へ、グリッド13の回路部品を14へ、右接続点をグリッド15の中心へ、カーソルを24へ、それぞれ移動する。これにより、表示部には図9に示すようなラダー図が表示される。
As another example, a case will be described in which contacts are added to the grid 23 with respect to the ladder diagram of FIG.
In the edit data management means 3, when a contact is added to the grid 23, the unconnected detection means 4 detects that the contact is not connected, and instructs the connection destination determination means 5 to determine the connection position. The processing in the connection destination determination means 5 is as follows.
(Process 1) The left side of the contact is connected to the upper main line. At this time, an intermediate point between the grid 22 and the grid 23 is set as the X coordinate on the left side of the circuit, and the circuit components and branch lines in the Y-axis direction are checked. Thereby, the intermediate point of the grids 12 to 13 is set as the left connection point.
(Process 2) The right side of the contact is connected to the upper main line. At this time, an intermediate point between the grid 23 and the grid 24 is set as the X coordinate on the right side of the circuit, and the circuit components and branch lines in the Y-axis direction are checked. Thereby, the intermediate point of the grids 13 to 14 is set as the right connection point.
After the above processing, the connection destination is specified by the connection destination determination means 5 to the edit data management means 3, and the data is reconstructed. At this time, for the sake of display, the left connection point is moved to the center of the grid 13, the circuit component of the grid 13 is moved to 14, the right connection point is moved to the center of the grid 15, and the cursor is moved to 24. Thereby, a ladder diagram as shown in FIG. 9 is displayed on the display unit.

また別の例として、図10のラダー図に対し、グリッド35に接点を追加する場合を説明する。
この図ではグリッドは先例の半分の大きさであり、回路部品は見やすさのためにグリッド横並び二つ分の大きさで表示するものとしている。(グリッドの番号は必要分しか表示していない)
操作によりグリッド35に接点が追加されると(この接点は表示においてはグリッド35とグリッド36を占有する。尚、この例においては回路部品の位置はその左側のグリッド番号で示すこととする)、未接続検出手段4は当該接点が未接続であることを検出し、接続先決定手段5に接続位置を決めるよう指示する。接続先決定手段5における処理は以下の通りである。
As another example, a case where a contact point is added to the grid 35 with respect to the ladder diagram of FIG. 10 will be described.
In this figure, the grid is half the size of the previous example, and the circuit components are displayed side by side in the grid side by side for ease of viewing. (Only the necessary number of grid numbers are displayed)
When a contact is added to the grid 35 by the operation (this contact occupies the grid 35 and the grid 36 in the display. In this example, the position of the circuit component is indicated by the grid number on the left side thereof). The unconnected detection means 4 detects that the contact is not connected and instructs the connection destination determination means 5 to determine the connection position. The processing in the connection destination determination means 5 is as follows.

(処理1)当該の左側は、上方にある主線に対して接続する。このときグリッド34〜35の中間点を回路左側のX座標とし、Y軸方向の回路部品および枝線をチェックする。即ちグリッド14〜15の中間点を左接続点とする。
(処理2)当該の右側は、上方にある主線に対して接続する。このときグリッド36〜37の中間点を回路右側のX座標とし、Y軸方向の回路部品および枝線をチェックする。即ちグリッド16〜17の中間点を右接続点の候補位置とするが、このとき同位置には接点が既に存在するため、そのさらに右側であるグリッド17〜18の中間点を右接続点とする。
以上の処理の後、接続先決定手段5から編集データ管理手段3に接続先が指定され、データが再構成される。このとき、表示の都合上、左接続点をグリッド15の中心へ、グリッド35の回路部品を36へ、右接続点をグリッド18の中心へ、カーソルを35へそれぞれ移動する。これにより、表示部には図11に示すようなラダー図が表示される。
(Process 1) The left side is connected to the upper main line. At this time, the intermediate point of the grids 34 to 35 is set as the X coordinate on the left side of the circuit, and the circuit components and branch lines in the Y-axis direction are checked. That is, an intermediate point between the grids 14 to 15 is set as a left connection point.
(Process 2) The right side is connected to the upper main line. At this time, the intermediate point of the grids 36 to 37 is set as the X coordinate on the right side of the circuit, and the circuit components and branch lines in the Y-axis direction are checked. That is, the intermediate point of the grids 16 to 17 is set as a candidate position for the right connection point. At this time, since a contact point already exists at the same position, the intermediate point of the grids 17 to 18 on the right side is set as the right connection point. .
After the above processing, the connection destination is specified by the connection destination determination means 5 to the edit data management means 3, and the data is reconstructed. At this time, for the convenience of display, the left connection point is moved to the center of the grid 15, the circuit component of the grid 35 is moved to 36, the right connection point is moved to the center of the grid 18, and the cursor is moved to 35. As a result, a ladder diagram as shown in FIG. 11 is displayed on the display unit.

尚、回路部品や枝線の移動・削除などは従来の同種のラダー図編集装置と同様に可能であるので、作成された枝線の変更・修正が必要な場合には、ユーザは所定の操作により回路部品や枝線の移動・削除することができる。   Circuit parts and branch lines can be moved and deleted in the same way as with conventional ladder diagram editing devices of the same type. Therefore, when the created branch lines need to be changed or modified, the user can perform predetermined operations. Thus, circuit parts and branch lines can be moved and deleted.

以上のように、実施の形態1のラダー図編集装置によれば、ラダー図の編集データを管理する編集データ管理手段と、編集データ管理手段で管理されている編集データに対して任意の位置への回路部品の追加があった場合、回路部品が未接続状態であるかを検出する未接続検出手段と、未接続検出手段で未接続回路部品が検出された場合、未接続の回路部品の位置と、予め定められたラダー図の制約事項とに基づいて接続先を決定する接続先決定手段とを備え、編集データ管理手段は、接続先決定手段で決定された接続先で編集データを更新するようにしたので、回路部品の追加後、あるいは追加前にユーザが枝線の追加を行う必要がなくなり、編集の手間を省略でき、編集作業の効率化を図ることができる。   As described above, according to the ladder diagram editing apparatus of the first embodiment, the edit data management unit that manages the edit data of the ladder diagram, and the edit data managed by the edit data management unit can be moved to an arbitrary position. If the circuit component is added, the unconnected detection means for detecting whether the circuit component is in an unconnected state, and if the unconnected circuit component is detected by the unconnected detection means, the position of the unconnected circuit component And a connection destination determination unit that determines a connection destination based on a predetermined restriction on the ladder diagram, and the edit data management unit updates the edit data with the connection destination determined by the connection destination determination unit. Since it did in this way, it becomes unnecessary for a user to add a branch line after the addition of a circuit component or before addition, the editing effort can be omitted, and the efficiency of editing work can be improved.

実施の形態2.
実施の形態2では、回路部品を追加した際に、四つ以上の回路部品と接続する接続点(下方向に二つ以上の接続を持つ接続点)が発生した場合、これを一つの接続点として表示するか、二つまたはそれ以上の接続点に分割して表示するかを選択可能にするようにしたものである。尚、以下の各実施の形態において、ラダー図編集装置としての図面上の構成は図1および図2と同様であるため、以下の実施の形態ではこれらの図を援用して説明する。
Embodiment 2. FIG.
In the second embodiment, when a circuit component is added, if a connection point (a connection point having two or more connections in the downward direction) connected to four or more circuit components is generated, this is represented as one connection point. Display or divided into two or more connection points and displayed. In each of the following embodiments, the construction of the ladder diagram editing apparatus on the drawing is the same as that shown in FIGS. 1 and 2, and therefore, the following embodiments will be described with the aid of these drawings.

実施の形態2の表示手段6は、四つ以上の回路部品が接続される接続点を表示する場合、その接続点を一つの接続点として表示するか、あるいは複数の接続点として表示するかを編集データ管理手段3のデータに基づいて切り替え可能に構成されている。これ以外の構成は実施の形態1と同様であるため、ここでの説明は省略する。   When the display means 6 of the second embodiment displays a connection point to which four or more circuit components are connected, whether the connection point is displayed as one connection point or a plurality of connection points is displayed. Switching is possible based on the data of the editing data management means 3. Since the configuration other than this is the same as that of the first embodiment, description thereof is omitted here.

以下、回路部品追加の一例を説明する。
図12は、ラダー図のグリッド22に接点を追加する例の説明図である。
このときの接続先決定手段5における処理は以下の通りである。
(処理1)当該接点は左母線に十分近い(X座標が十分小さい)ため、左接続点は左母線とする。
(処理2)当該接点の右側は、上方にある主線に対して接続する。このときグリッド22〜23の中間点を回路右側のX座標とし、上方に延ばして接続する。即ちグリッド12〜13の中間点を右接続点とする。
以上の処理の後、接続先決定手段5から編集データ管理手段3に接続先が指定され、データが再構成される。このとき、表示の都合上、右接続点の位置をグリッド13の中心まで移動する。しかしこの位置には既に接続点があるため、この二つの接続点は統合される。このとき、これを図13のように一つの接続点として表示するか、あるいは図14のように二つの接続点に分けて表示するかをユーザが選択できるようにする。
Hereinafter, an example of circuit component addition will be described.
FIG. 12 is an explanatory diagram of an example in which a contact is added to the grid 22 of the ladder diagram.
The processing in the connection destination determination means 5 at this time is as follows.
(Process 1) Since the contact is sufficiently close to the left bus (X coordinate is sufficiently small), the left connection point is the left bus.
(Process 2) The right side of the contact is connected to the upper main line. At this time, the intermediate point of the grids 22 to 23 is set as the X coordinate on the right side of the circuit, and is extended and connected. That is, the middle point of the grids 12 to 13 is set as the right connection point.
After the above processing, the connection destination is specified by the connection destination determination means 5 to the edit data management means 3, and the data is reconstructed. At this time, the position of the right connection point is moved to the center of the grid 13 for convenience of display. However, since there is already a connection point at this location, the two connection points are merged. At this time, the user can select whether to display this as one connection point as shown in FIG. 13 or to display it as two connection points as shown in FIG.

具体的な動作としては、上記の手順中の、編集データ管理手段3で二つの接続点の統合が行われた場合、編集データ管理手段3は、表示手段6に対し、ユーザに表示方法の選択を促すための入力画面を表示させる。入力手段1は入力結果を編集データ管理手段3に渡し、ラングデータの付随データとして記憶する。付随データの形式は例えば接続点のIDと表示方法の種別を対にした表の形式にする。表示手段6は表示の際に付随データの値をチェックし、表示方法を適切に切り替える。
回路部品の追加により編集このような接続点が発生するごとにユーザに問い合わせてもよいが、デフォルトでいずれかを選択できるようにしておいてもよい。
また、二つの接続点に分けて表示する際、図15のようにグリッド13を縦に二つに分け、それぞれの中に接続点が配置されるように表示してもよい。ユーザはこの分割されたグリッドに対して回路部品の追加が可能である。
Specifically, when two connection points are integrated in the edit data management means 3 in the above procedure, the edit data management means 3 prompts the user to select the display method. An input screen for prompting is displayed. The input means 1 passes the input result to the edit data management means 3 and stores it as accompanying data of rung data. The format of the accompanying data is, for example, a table format in which the connection point ID and the display method type are paired. The display means 6 checks the value of the accompanying data at the time of display and switches the display method appropriately.
Editing by adding circuit parts Each time such a connection point occurs, the user may be inquired, or any one of them may be selected by default.
Further, when the display is divided into two connection points, the grid 13 may be divided into two vertically as shown in FIG. 15, and the connection points may be arranged in each of them. The user can add circuit components to the divided grid.

また、表示方法をユーザに問う際、接続点を統合しないように選択を設けてもよい。即ち、ユーザが統合しないよう選択した場合には、編集データ管理手段3は新たに接続点を追加し、ユーザが追加した回路部品をこれに接続するようにデータを変更して、表示上適切な位置まで接続点と関連する他の回路部品を移動させる。先の例の場合であれば、グリッド22に追加した接点の右接続先として新たに接続点を追加し、元々グリッド13にあった接続点をグリッド14に、グリッド14にあった接点をグリッド15に、グリッド24にあった接点をグリッド25に移動して、図16のようなラダー図が表示されるようなラダーデータに変更するのである。   Further, when asking the user about the display method, a selection may be made so as not to integrate the connection points. In other words, when the user selects not to integrate, the editing data management means 3 adds a new connection point, changes the data so that the circuit component added by the user is connected to this, and displays the appropriate data on the display. Move other circuit components associated with the connection point to the position. In the case of the previous example, a new connection point is added as the right connection destination of the contact added to the grid 22, the connection point originally in the grid 13 is set to the grid 14, and the contact point that was originally in the grid 14 is set to the grid 15. In addition, the contact point in the grid 24 is moved to the grid 25 and changed to ladder data such that a ladder diagram as shown in FIG. 16 is displayed.

また、回路部品を追加するときだけではなく、ユーザが編集位置を移動させ、その位置に4つ以上の回路部品に接続している接続点があるとき、ユーザが所定の操作を行うことで、これを先と同様に二つ以上の接続点に分割できるようにしてもよい。
また、ユーザが編集位置を移動させ、その位置と隣の位置のそれぞれに接続点があるとき(データ上で言えば接続点が保持する接続回路部品IDの中に接続点が含まれているとき)、ユーザが所定の操作を行うことで、これを一つの接続点に統合できるようにしてもよい。このとき、関連する表示部品は表示上適切な位置まで移動される。
In addition to adding a circuit component, when the user moves the editing position and there is a connection point connected to four or more circuit components at that position, the user performs a predetermined operation, This may be divided into two or more connection points as before.
When the user moves the editing position and there is a connection point at each of the position and the adjacent position (in terms of data, when the connection point is included in the connection circuit component ID held by the connection point) ) The user may perform a predetermined operation so that it can be integrated into one connection point. At this time, the related display component is moved to an appropriate position on the display.

尚、以上の例では、四つ以上の回路に接続する接続点として、二つの回路部品による並列回路が複数接続される場合を説明したが、これ以外の接続であっても同様に適用可能である。
図17は、四つ以上の回路に接続する接続点の他の例を示す説明図である。
図示例は、三つの回路部品が並列回路を構成しており、グリッド13,15の接続点には三つの回路部品が接続されている。ここで、母線も一種の回路部品として考えることができるため、グリッド13,15の接続点も四つの回路に接続している接続点であり、このような例でも、一つの接続点として表示するか、複数の接続点として表示するかを選択することができる。
In the above example, the case where a plurality of parallel circuits of two circuit components are connected as connection points to connect to four or more circuits has been described. However, other connections can be similarly applied. is there.
FIG. 17 is an explanatory diagram illustrating another example of connection points connected to four or more circuits.
In the illustrated example, three circuit components form a parallel circuit, and three circuit components are connected to the connection points of the grids 13 and 15. Here, since the bus line can also be considered as a kind of circuit component, the connection point of the grids 13 and 15 is also a connection point connected to four circuits. In such an example, it is displayed as one connection point. Or display as a plurality of connection points.

以上のように、この実施の形態2によれば、編集データを表示する表示手段を備え、表示手段は、四つ以上の回路部品が接続される接続点を表示する場合、これらの接続点を一つの接続点として表示するか、複数の接続点として表示するかを切り替えるようにしたので、他の装置の表記との互換性を保ちながら、結線が少なく見やすいラダー図の表示も行うことができる。   As described above, according to the second embodiment, the display means for displaying edit data is provided, and when the display means displays connection points to which four or more circuit components are connected, these connection points are displayed. Since switching between displaying as one connection point or multiple connection points is switched, it is possible to display a ladder diagram with few connections and easy to see while maintaining compatibility with the notation of other devices. .

実施の形態3.
実施の形態3は、編集位置に対して回路部品を追加する前に、枝線がどこに接続されるかを視覚的に確認可能にする手段を設けるようにしたものである。即ち、実施の形態3においては、表示手段6が、回路部品が配置された場合の接続線が引かれる位置を表示するよう構成されている。その他の構成は実施の形態1または実施の形態2と同様である。
Embodiment 3 FIG.
In the third embodiment, a means for visually confirming where a branch line is connected is provided before adding a circuit component to the editing position. That is, in the third embodiment, the display unit 6 is configured to display the position where the connection line is drawn when the circuit component is arranged. Other configurations are the same as those in the first or second embodiment.

実施の形態3では、所定の操作によりユーザが回路部品の配置されていないところに編集位置を移動させるか、(回路部品の配置されていないところに)移動した後で所定の操作を行うか、(回路部品の配置されていないところに)移動した後である一定の時間が経過するか、のいずれかの場合に、編集データ管理手段3は、編集位置管理手段2の編集位置を受け、接続先決定手段5に対して、現在の編集位置に回路部品を追加した場合、どこに接続されるかを算出するよう指示する。接続先決定手段5は実施の形態1に記述したのと同様の方法により、二つの接続点を算出する。編集データ管理手段3はこれを枝線候補として表示するよう、表示手段6に指示する。   In the third embodiment, the user moves the editing position to a place where circuit components are not arranged by a predetermined operation, or performs a predetermined operation after moving (to a place where circuit parts are not arranged), The edit data management means 3 receives the edit position of the edit position management means 2 and connects when either of a certain time has passed after moving (to the place where the circuit component is not arranged). When the circuit component is added to the current editing position, the destination determination unit 5 is instructed to calculate where to connect. The connection destination determination means 5 calculates two connection points by the same method as described in the first embodiment. The edit data management means 3 instructs the display means 6 to display it as a branch line candidate.

図18は、グリッド23にカーソルがあるときに部品を追加した場合の接続位置(枝線)の候補を表示した例である。接続位置の算出処理は、実施の形態1で図8に端子を追加したときの例と同じである。
図18では点線により候補であることを表しているが、線の太さを変えたり、カラー表示ができるディスプレイモニタ109であれば主線や枝線と異なる色で表示するなどしてもよい。
FIG. 18 is an example in which candidates for connection positions (branch lines) are displayed when a component is added when the cursor is on the grid 23. The calculation process of the connection position is the same as that when the terminal is added to FIG. 8 in the first embodiment.
In FIG. 18, a dotted line represents a candidate, but the thickness of the line may be changed, or the display monitor 109 capable of color display may display a color different from the main line or branch line.

以上のように、実施の形態3のラダー図編集装置によれば、編集データを表示する表示手段を備え、表示手段は、回路部品が配置された場合の接続線の位置を表示するようにしたので、部品を追加した際にユーザが想定していたのと異なる枝線が生成されてしまうといった間違いがなく、適切な編集を行うことができる。   As described above, according to the ladder diagram editing apparatus of the third embodiment, the display unit that displays the editing data is provided, and the display unit displays the position of the connection line when the circuit component is arranged. Therefore, when adding a part, there is no mistake that a branch line different from the one assumed by the user is generated, and appropriate editing can be performed.

実施の形態4.
実施の形態4では、回路部品を追加する際に、現編集位置が示す1点ではなく、追加開始点と追加終了点の2点を指定可能にする手段を設けるようにしたものである。即ち、実施の形態4では、編集位置管理手段2は、回路部品の追加開始位置と追加終了位置とを管理し、接続先決定手段5は、これらの追加開始位置と追加終了位置とに基づいて接続先を決定するように構成されている。
Embodiment 4 FIG.
In the fourth embodiment, when adding a circuit component, there is provided means for enabling designation of two points of an addition start point and an addition end point instead of one point indicated by the current editing position. That is, in the fourth embodiment, the editing position management means 2 manages the addition start position and the addition end position of the circuit components, and the connection destination determination means 5 is based on the addition start position and the addition end position. It is configured to determine the connection destination.

ユーザが編集位置を回路部品や枝線が存在しない位置に移動後、所定の操作により、その位置が追加開始位置であることを指定する。この追加開始位置は編集位置管理手段2で保持される。また、このとき、ユーザは所定の操作によりその位置に回路部品を追加することもできる。回路部品が追加されたら編集データ管理手段3はこれをデータに追加するが、編集位置管理手段2からの追加開始位置に基づいて、未接続検出手段4の働きを抑止し、回路部品が上方の枝線と接続されてしまわないようにする。
次にユーザは編集位置を移動させる。この際の移動は左右方向(X軸と平行な方向)のみ可能である。また、既に回路部品や枝線がある位置、および追加開始位置に指定した位置との間に回路部品や枝線を挟むような位置には移動できない。
移動の途中で、ユーザは所定の操作により現編集位置に回路部品を追加することもできる。回路部品が追加されたら編集データ管理手段3はこれをデータに追加し、隣接する回路部品(この処理の開始以降に追加した回路部品のこと)との接続関係を更新するが、先程と同様に未接続検出手段4の働きを抑止し、回路部品が上方の枝線とは接続されないようにする。
After the user moves the editing position to a position where there is no circuit component or branch line, the user designates that the position is the addition start position by a predetermined operation. This addition start position is held by the editing position management means 2. At this time, the user can also add a circuit component to the position by a predetermined operation. When the circuit component is added, the edit data management means 3 adds it to the data, but based on the addition start position from the edit position management means 2, the function of the unconnected detection means 4 is suppressed, Do not connect with branch lines.
Next, the user moves the editing position. The movement at this time is only possible in the left-right direction (direction parallel to the X axis). Further, it cannot move to a position where the circuit component or branch line is sandwiched between the position where the circuit component or branch line already exists and the position designated as the addition start position.
In the middle of the movement, the user can add a circuit component to the current editing position by a predetermined operation. When the circuit component is added, the edit data management means 3 adds it to the data and updates the connection relationship with the adjacent circuit component (the circuit component added after the start of this process). The function of the unconnected detection means 4 is suppressed so that the circuit component is not connected to the upper branch line.

しかるべき位置に編集位置を移動させたら、ユーザは所定の操作によりその位置が追加終了位置であることを指定する。編集位置管理手段2はこの追加終了位置を保持し、編集データ管理手段3は、この際には未接続検出手段4の働きを抑止しない。従って、未接続検出手段4は一連の操作によって未接続となっている回路部品を(追加された最左と最右の回路部品になっているはずである。ただしそれが同一である場合も含む)を検出し、これと追加開始位置、追加終了位置の中から最左のものと最右のものを選び出し、接続先決定手段5にこの位置を元にして接続先の算出を指示する。接続先決定手段5は既に述べたのと同様の方法によって左接続点と右接続点を算出し、編集データ管理手段3にこれの追加を指示し、編集データ管理手段3はデータを再構成して、表示手段6に表示の更新を指示する。これを図を用いて説明する。   When the editing position is moved to an appropriate position, the user designates that the position is an additional end position by a predetermined operation. The editing position management means 2 holds this addition end position, and the editing data management means 3 does not inhibit the operation of the unconnected detection means 4 at this time. Therefore, the unconnected detecting means 4 should be the circuit components that are not connected by a series of operations (the added leftmost and rightmost circuit components. However, the case where they are the same is also included. ) And the leftmost and rightmost ones are selected from the addition start position and the addition end position, and the connection destination determination means 5 is instructed to calculate the connection destination based on this position. The connection destination determination means 5 calculates the left connection point and the right connection point by the same method as already described, instructs the edit data management means 3 to add this, and the edit data management means 3 reconstructs the data. The display means 6 is instructed to update the display. This will be described with reference to the drawings.

図19〜図22は、一連の処理を示す説明図である。
図19に示すように、グリッド23でユーザが追加開始を指定したとする。このとき、追加が開始されたことをユーザに確認しやすくするためにカーソルの模様や色を変えてもよい。図20のようにカーソルをグリッド24に移動させた場合(処理の途中図)であるが、この図で示すように、どこが追加開始位置であるかをユーザにわかりやすく示すために開始位置に模様や色の異なるカーソルを置き、現編集位置との間に点線(または細線、カラー表示ができる表示装置であれば主線や枝線と異なる色の線など)を引くことにしてもよい。
図21はユーザが所定の操作によりグリッド24に接点を追加したときの表示例である。そしてここでユーザが所定の操作により追加終了を指定すると、最左として編集開始位置(グリッド23)が、最右としてグリッド24の接点が選ばれ、既に述べたのと同様の処理によって、左接続点はグリッド12〜13の中間点、右接続点はグリッド14〜15の中間点と算出され、表示上の都合によって左右の接続点が移動され、図22のようなラダー図が作成される。
19 to 22 are explanatory diagrams showing a series of processes.
As shown in FIG. 19, it is assumed that the user designates the addition start on the grid 23. At this time, the pattern and color of the cursor may be changed to make it easier for the user to confirm that the addition has started. This is a case where the cursor is moved to the grid 24 as shown in FIG. 20 (in the middle of the process). As shown in this figure, the pattern is shown at the start position in order to easily show the user where the addition start position is. Alternatively, a cursor with a different color may be placed, and a dotted line (or a thin line, a line with a color different from the main line or branch line if the display device is capable of color display) may be drawn between the current editing position.
FIG. 21 shows a display example when the user adds a contact to the grid 24 by a predetermined operation. Then, when the user designates addition end by a predetermined operation, the edit start position (grid 23) is selected as the leftmost and the contact point of the grid 24 is selected as the rightmost, and the left connection is performed by the same processing as described above. The points are calculated as the midpoints of the grids 12 to 13, and the right connection points are calculated as the midpoints of the grids 14 to 15. The left and right connection points are moved for convenience of display, and a ladder diagram as shown in FIG. 22 is created.

以上のように、実施の形態4のラダー図編集装置によれば、回路部品の追加開始位置と追加終了位置を管理する編集位置管理手段を備え、接続先決定手段は、追加開始位置と追加終了位置とに基づいて接続先を決定するようにしたので、既存の主線または枝線上に配置された任意の数の回路部品を飛び越すような枝線(そしてその上に配置された回路部品)を作成することができ、更に、接続先を適切に決定して接続することができるため、編集の手間を省略でき、より編集作業の効率化を図ることができる。   As described above, according to the ladder diagram editing apparatus of the fourth embodiment, the editing position management unit that manages the addition start position and the addition end position of the circuit component is provided, and the connection destination determination unit includes the addition start position and the addition end. Since the connection destination is determined based on the position, the branch line (and the circuit part placed on it) that jumps over any number of circuit parts placed on the existing main line or branch line is created. Furthermore, since the connection destination can be appropriately determined and connected, the labor of editing can be omitted, and the efficiency of editing work can be further improved.

実施の形態5.
実施の形態5は、実施の形態4において、編集開始から編集終了までの間に枝線がどこに接続されるかを視覚的に確認可能にする手段を設けるようにしたものである。即ち、実施の形態5では、編集位置管理手段2は、回路部品の追加開始位置や追加終了位置および現編集位置といった編集位置を管理し、接続先決定手段5は、これらの編集位置に基づいて接続先を演算し、表示手段6は、この接続先を表示するよう構成されている。
Embodiment 5. FIG.
In the fifth embodiment, in the fourth embodiment, there is provided means for visually confirming where a branch line is connected between the start of editing and the end of editing. That is, in the fifth embodiment, the editing position management means 2 manages the editing positions such as the circuit component addition start position, the addition end position, and the current editing position, and the connection destination determination means 5 is based on these editing positions. The connection destination is calculated, and the display means 6 is configured to display the connection destination.

ユーザが編集開始を指定すると、編集データ管理手段3は、編集位置管理手段2で管理されている編集位置に基づき、未接続となっている回路部品、追加開始位置、現編集位置の中から最左のものと最右のものを選び出し、接続先決定手段5にこの位置を元にして接続先の算出を指示する。接続先決定手段5は既に述べたのと同様の方法によって左接続点と右接続点を算出し、編集データ管理手段3は、これを枝線候補として表示するよう、表示手段6に指示する。   When the user designates the editing start, the editing data management means 3 is based on the editing position managed by the editing position management means 2 and is selected from among the unconnected circuit parts, the addition starting position, and the current editing position. The left one and the rightmost one are selected and the connection destination determination means 5 is instructed to calculate the connection destination based on this position. The connection destination determination means 5 calculates the left connection point and the right connection point by the same method as already described, and the editing data management means 3 instructs the display means 6 to display these as branch line candidates.

これを図を用いて説明する。図23はグリッド23でユーザが追加開始を指定した場合の接続位置(枝線)の候補を表示した例である。このときは最左と最右は開始点(グリッド23)であるので、既に述べた手法により左接続点がグリッド12〜13の中間点、右接続点がグリッド13〜14の中間点となり、図のように表示される。
図24はカーソルをグリッド24に移動後、接点を追加した場合の接続位置(枝線)の候補を表示した例である。このときは最左は開始点(グリッド23)、最右は接点(または現編集位置であるグリッド24)であるので、既に述べた手法により左接続点がグリッド12〜13の中間点、右接続点がグリッド14〜15の中間点となり、図のように表示される。
This will be described with reference to the drawings. FIG. 23 shows an example of displaying connection position (branch line) candidates when the user designates the addition start on the grid 23. At this time, since the leftmost and rightmost are start points (grid 23), the left connection point becomes the intermediate point of the grids 12 to 13 and the right connection point becomes the intermediate point of the grids 13 to 14 by the method described above. Is displayed.
FIG. 24 shows an example in which candidates for connection positions (branch lines) are displayed when a contact is added after moving the cursor to the grid 24. At this time, since the leftmost is the start point (grid 23) and the rightmost is the contact point (or the grid 24 which is the current editing position), the left connection point is the intermediate point of the grids 12 to 13 and the right connection by the method described above. A point becomes an intermediate point of the grids 14 to 15 and is displayed as shown in the figure.

以上のように、実施の形態5のラダー図編集装置によれば、回路部品の編集位置を管理する編集位置管理手段と、編集位置を表示する表示手段とを備え、表示手段は、編集位置における最左および最右の位置からの接続線を表示するようにしたので、部品を追加した際にユーザが想定していたのと異なる枝線が生成されてしまうという間違いがなく、適切な編集を行うことができる。   As described above, according to the ladder diagram editing apparatus in the fifth embodiment, the editing position management unit that manages the editing position of the circuit component and the display unit that displays the editing position are provided. Since the connection lines from the leftmost and rightmost positions are displayed, there is no mistake that a branch line different from the one assumed by the user will be generated when adding a part, and appropriate editing can be performed. It can be carried out.

この発明の実施の形態1によるラダー図編集装置を示す構成図である。1 is a configuration diagram illustrating a ladder diagram editing apparatus according to Embodiment 1 of the present invention. この発明の実施の形態1によるラダー図編集装置のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the ladder diagram editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図の例を示す説明図である。It is explanatory drawing which shows the example of the ladder diagram of the ladder diagram editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダーデータの説明図である。It is explanatory drawing of the ladder data of the ladder diagram editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図の編集開始時の説明図である。It is explanatory drawing at the time of the start of edit of the ladder figure of the ladder figure editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図における回路部品追加途中の説明図である。It is explanatory drawing in the middle of the circuit component addition in the ladder figure of the ladder diagram editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図における回路接続線追加途中の説明図である。It is explanatory drawing in the middle of the circuit connection line addition in the ladder figure of the ladder diagram editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図における他の例の編集開始時の説明図である。It is explanatory drawing at the time of the edit start of the other example in the ladder figure of the ladder figure editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図における他の例の回路接続線追加途中の説明図である。It is explanatory drawing in the middle of the circuit connection line addition of the other example in the ladder diagram of the ladder diagram editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図における更に他の例の編集開始時の説明図である。It is explanatory drawing at the time of the edit start of the further another example in the ladder figure of the ladder figure editing apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるラダー図編集装置のラダー図における更に他の例の回路接続線追加途中の説明図である。It is explanatory drawing in the middle of the circuit connection line addition of the further another example in the ladder diagram of the ladder diagram editing apparatus by Embodiment 1 of this invention. この発明の実施の形態2によるラダー図編集装置のラダー図の編集開始時の説明図である。It is explanatory drawing at the time of the edit start of the ladder figure of the ladder figure editing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるラダー図編集装置のラダー図における回路接続線追加途中の説明図である。It is explanatory drawing in the middle of the circuit connection line addition in the ladder figure of the ladder diagram editing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるラダー図編集装置のラダー図における回路接続線表示の一例を示す説明図である。It is explanatory drawing which shows an example of the circuit connection line display in the ladder diagram of the ladder diagram editing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるラダー図編集装置のラダー図における回路接続線表示の他の例を示す説明図である。It is explanatory drawing which shows the other example of the circuit connection line display in the ladder diagram of the ladder diagram editing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるラダー図編集装置のラダー図における回路接続線分割の一例を示す説明図である。It is explanatory drawing which shows an example of the circuit connection line division | segmentation in the ladder diagram of the ladder diagram editing apparatus by Embodiment 2 of this invention. この発明の実施の形態2によるラダー図編集装置のラダー図の他の例を示す説明図である。It is explanatory drawing which shows the other example of the ladder figure of the ladder figure editing apparatus by Embodiment 2 of this invention. この発明の実施の形態3によるラダー図編集装置のラダー図における接続線候補表示の一例を示す説明図である。It is explanatory drawing which shows an example of the connection line candidate display in the ladder figure of the ladder figure editing apparatus by Embodiment 3 of this invention. この発明の実施の形態4によるラダー図編集装置のラダー図の編集開始時の説明図である。It is explanatory drawing at the time of the start of edit of the ladder figure of the ladder figure editing apparatus by Embodiment 4 of this invention. この発明の実施の形態4によるラダー図編集装置のラダー図におけるカーソル移動時の表示を示す説明図である。It is explanatory drawing which shows the display at the time of the cursor movement in the ladder figure of the ladder figure editing apparatus by Embodiment 4 of this invention. この発明の実施の形態4によるラダー図編集装置のラダー図における回路部品追加途中を示す説明図である。It is explanatory drawing which shows the circuit component addition middle in the ladder figure of the ladder figure editing apparatus by Embodiment 4 of this invention. この発明の実施の形態4によるラダー図編集装置のラダー図における回路接続線追加時を示す説明図である。It is explanatory drawing which shows the time of the circuit connection line addition in the ladder diagram of the ladder diagram editing apparatus by Embodiment 4 of this invention. この発明の実施の形態5によるラダー図編集装置のラダー図における接続線候補表示の一例を示す説明図である。It is explanatory drawing which shows an example of the connection line candidate display in the ladder figure of the ladder figure editing apparatus by Embodiment 5 of this invention. この発明の実施の形態5によるラダー図編集装置のラダー図における回路部品追加時の接続線候補表示の一例を示す説明図である。It is explanatory drawing which shows an example of the connection line candidate display at the time of the circuit component addition in the ladder diagram of the ladder diagram editing apparatus by Embodiment 5 of this invention.

符号の説明Explanation of symbols

1 入力手段、2 編集位置管理手段、3 編集データ管理手段、4 未接続検出手段、5 接続先決定手段、6 表示手段。   1 input means, 2 edit position management means, 3 edit data management means, 4 unconnected detection means, 5 connection destination determination means, and 6 display means.

Claims (5)

ラダー図の編集データを管理する編集データ管理手段と、
前記編集データ管理手段で管理されている前記編集データに対して任意の位置への回路部品の追加があった場合、当該回路部品が未接続状態であるかを検出する未接続検出手段と、
前記未接続検出手段で未接続回路部品が検出された場合、前記未接続の回路部品の位置と、予め定められたラダー図の制約事項とに基づいて接続先を決定する接続先決定手段とを備え、
前記編集データ管理手段は、前記接続先決定手段で決定された接続先で編集データを更新することを特徴とするラダー図編集装置。
Edit data management means for managing the edit data of the ladder diagram;
When a circuit component is added to an arbitrary position with respect to the edit data managed by the edit data management unit, an unconnected detection unit that detects whether the circuit component is in an unconnected state;
When an unconnected circuit component is detected by the unconnected detection means, a connection destination determining means for determining a connection destination based on the position of the unconnected circuit component and restrictions of a predetermined ladder diagram. Prepared,
The ladder diagram editing apparatus, wherein the editing data management means updates editing data with the connection destination determined by the connection destination determination means.
編集データを表示する表示手段を備え、当該表示手段は、四つ以上の回路部品が接続される接続点を表示する場合、当該接続点を一つの接続点として表示するか、複数の接続点として表示するかを切り替えることを特徴とする請求項1記載のラダー図編集装置。   When displaying a connection point to which four or more circuit components are connected, the display unit displays the connection point as one connection point or as a plurality of connection points. The ladder diagram editing apparatus according to claim 1, wherein display is switched. 編集データを表示する表示手段を備え、当該表示手段は、回路部品が配置された場合の接続線の位置を表示することを特徴とする請求項1または請求項2記載のラダー図編集装置。   3. The ladder diagram editing apparatus according to claim 1, further comprising display means for displaying edit data, wherein the display means displays a position of a connection line when circuit parts are arranged. 回路部品の追加開始位置と追加終了位置を管理する編集位置管理手段を備え、
接続先決定手段は、前記追加開始位置と追加終了位置とに基づいて接続先を決定することを特徴とする請求項1から請求項3のうちのいずれか1項記載のラダー図編集装置。
Edit position management means for managing the addition start position and the addition end position of circuit parts,
4. The ladder diagram editing apparatus according to claim 1, wherein the connection destination determination unit determines a connection destination based on the addition start position and the addition end position. 5.
回路部品の編集位置を管理する編集位置管理手段と、編集位置を表示する表示手段とを備え、
前記表示手段は、編集位置における最左および最右の位置からの接続線を表示することを特徴とする請求項1から請求項4のうちのいずれか1項記載のラダー図編集装置。
Editing position management means for managing the editing position of the circuit component, and display means for displaying the editing position,
5. The ladder diagram editing apparatus according to claim 1, wherein the display unit displays a connection line from a leftmost position and a rightmost position at an editing position.
JP2007126887A 2007-05-11 2007-05-11 Ladder diagram editing device Pending JP2008282260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007126887A JP2008282260A (en) 2007-05-11 2007-05-11 Ladder diagram editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007126887A JP2008282260A (en) 2007-05-11 2007-05-11 Ladder diagram editing device

Publications (1)

Publication Number Publication Date
JP2008282260A true JP2008282260A (en) 2008-11-20

Family

ID=40143014

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007126887A Pending JP2008282260A (en) 2007-05-11 2007-05-11 Ladder diagram editing device

Country Status (1)

Country Link
JP (1) JP2008282260A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2010089862A1 (en) * 2009-02-04 2012-08-09 三菱電機株式会社 Ladder program editing device
WO2014080531A1 (en) * 2012-11-26 2014-05-30 三菱電機株式会社 Ladder program display device and ladder program display method
JP2015156237A (en) * 2015-04-27 2015-08-27 三菱電機株式会社 ladder program display device
WO2015174120A1 (en) * 2014-05-15 2015-11-19 ソニー株式会社 Information processing device, display control method, and program
CN107885898A (en) * 2016-09-30 2018-04-06 欧姆龙株式会社 Device, program development support apparatus and program are supported in program development
JP2018190133A (en) * 2017-05-01 2018-11-29 ファナック株式会社 Ladder program editing apparatus
WO2024014364A1 (en) * 2022-07-15 2024-01-18 オムロン株式会社 Ladder program editing device, editing method, and editing program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58140811A (en) * 1982-02-17 1983-08-20 Toshiba Mach Co Ltd Controllable and programmable sequence controller using branch symbol
JP2000137509A (en) * 1998-11-04 2000-05-16 Fuji Electric Co Ltd Ladder circuit diagram preparing device
JP2004302880A (en) * 2003-03-31 2004-10-28 Digital Electronics Corp Programmable logic controller, program editor device, their program, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58140811A (en) * 1982-02-17 1983-08-20 Toshiba Mach Co Ltd Controllable and programmable sequence controller using branch symbol
JP2000137509A (en) * 1998-11-04 2000-05-16 Fuji Electric Co Ltd Ladder circuit diagram preparing device
JP2004302880A (en) * 2003-03-31 2004-10-28 Digital Electronics Corp Programmable logic controller, program editor device, their program, and recording medium

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2010089862A1 (en) * 2009-02-04 2012-08-09 三菱電機株式会社 Ladder program editing device
JP5073067B2 (en) * 2009-02-04 2012-11-14 三菱電機株式会社 Ladder program editing device
KR101275342B1 (en) * 2009-02-04 2013-06-17 미쓰비시덴키 가부시키가이샤 Ladder program edition device
DE112009004315B4 (en) * 2009-02-04 2017-03-09 Mitsubishi Electric Corporation Head of Program editing
CN104854522A (en) * 2012-11-26 2015-08-19 三菱电机株式会社 Ladder program display device and ladder program display method
US9557726B2 (en) 2012-11-26 2017-01-31 Mitsubishi Electric Corporation Ladder program display device and ladder program display method
WO2014080531A1 (en) * 2012-11-26 2014-05-30 三菱電機株式会社 Ladder program display device and ladder program display method
KR101741933B1 (en) * 2012-11-26 2017-05-30 미쓰비시덴키 가부시키가이샤 Ladder program display device and ladder program display method
US11216153B2 (en) 2014-05-15 2022-01-04 Sony Corporation Information processing device, display control method, and program
WO2015174120A1 (en) * 2014-05-15 2015-11-19 ソニー株式会社 Information processing device, display control method, and program
JPWO2015174120A1 (en) * 2014-05-15 2017-04-20 ソニー株式会社 Information processing apparatus, display control method, and program
US11693530B2 (en) 2014-05-15 2023-07-04 Sony Corporation Information processing device, display control method, and program
JP2015156237A (en) * 2015-04-27 2015-08-27 三菱電機株式会社 ladder program display device
CN107885898A (en) * 2016-09-30 2018-04-06 欧姆龙株式会社 Device, program development support apparatus and program are supported in program development
US11073818B2 (en) 2016-09-30 2021-07-27 Omron Corporation Development support apparatus, program development support method, and program development support program
CN109564415A (en) * 2016-09-30 2019-04-02 欧姆龙株式会社 Program development auxiliary device, program development householder method and program development auxiliary program
JP2018190133A (en) * 2017-05-01 2018-11-29 ファナック株式会社 Ladder program editing apparatus
WO2024014364A1 (en) * 2022-07-15 2024-01-18 オムロン株式会社 Ladder program editing device, editing method, and editing program

Similar Documents

Publication Publication Date Title
JP2008282260A (en) Ladder diagram editing device
US9910643B2 (en) Program for program editing
JP5025833B1 (en) Sequence program creation device
JP2014032529A (en) Plc system, drawing editor device thereof, and programmable display
US20160283062A1 (en) Storage medium, facility inspection support method, and facility inspection support apparatus
JP2011118493A (en) Plant monitoring control system
US8375323B2 (en) Display control device, storage medium, and integrated circuit
JP5701078B2 (en) SEARCH METHOD, SEARCH DEVICE, AND MOVIE EDITING DEVICE
JP3835589B2 (en) Drawing device and computer-readable recording medium recording drawing program
CN110546605B (en) Program development support device, program development support method, and storage medium
JP2006099385A (en) Shape design support program
JP4875646B2 (en) Plant monitoring device
JP2009259081A (en) Ladder diagram editing system
JP2012014560A (en) Graphic editing program, graphic editing method and graphic editing apparatus
WO2020174627A1 (en) Design assistance device, design assistance method, and design assistance program
US20180314224A1 (en) Ladder program editor
JPH10254619A (en) User interface device for candidate selection
KR101886986B1 (en) Engineering tool program and engineering tool
JP2015122007A (en) Edition support system, method and program
WO2024014364A1 (en) Ladder program editing device, editing method, and editing program
US20060076547A1 (en) Three-dimensional viewing and editing of microcircuit design
JP5991110B2 (en) Design support apparatus, design support method, and design support program
JP2009104434A (en) Method for displaying ladder diagram on monitor screen
JP2009251852A (en) Ladder diagram monitoring device
JP2009259080A (en) Ladder diagram editing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110412

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110816