JP2009259081A - Ladder diagram editing system - Google Patents
Ladder diagram editing system Download PDFInfo
- Publication number
- JP2009259081A JP2009259081A JP2008108786A JP2008108786A JP2009259081A JP 2009259081 A JP2009259081 A JP 2009259081A JP 2008108786 A JP2008108786 A JP 2008108786A JP 2008108786 A JP2008108786 A JP 2008108786A JP 2009259081 A JP2009259081 A JP 2009259081A
- Authority
- JP
- Japan
- Prior art keywords
- ladder
- ladder diagram
- editing
- editing area
- row
- 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
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、コンピュータのラダー図編集画面に設けたラダー図編集エリアを左側の入力条件編集エリアに、右側の操作出力編集エリアとにエリア分けし、それぞれの編集エリアにラダー部品を配置してラダー図を編集するラダー図編集方式に関するものである。 According to the present invention, a ladder diagram editing area provided on a computer ladder diagram editing screen is divided into an input condition editing area on the left side and an operation output editing area on the right side, and ladder parts are arranged in the respective editing areas. The present invention relates to a ladder diagram editing method for editing a diagram.
ラダープログラムは、プログラマブルコントローラによる制御シーケンスを定めるプログラムであり、ラダー図で記述される。このラダー図は、回路図が、あたかも、はしご状に描かれており、左右両端の垂直な二つの母線が動力をシンボリックに表わし、その間で水平に結ぶ平行な線上に接点回路の動力流れが示される。このようなラダー図形式のラダープログラムを作成、編集するには、例えば、パソコン等からなるラダー図編集装置等が使用される。ラダー図編集装置は、ラダー図を編集するためのラダー図編集画面を備えている。ラダー図編集画面は、ラダー図編集エリアと、ラダー部品リストエリア、等にエリア分けされている。そして、このラダー図編集エリアは、左側エリアを左側母線から右横方向のラダー行内に左側から順次に入力条件記述用のラダー部品が配置される入力条件編集エリアに、また右側エリアを操作出力記述用のラダー部品が配置される操作出力編集エリアにエリア分けされている(特許文献1参照。)。そして、上記の場合、各編集エリア内の縦方向に編集されるラダー図各行は縦横配置で矩形枠状の複数のセルから構成されると共に、ラダー図各行において入力条件編集エリア内では左側母線から横右方向にカーソルで順次に選択したセル内にラダー部品を配置し、操作出力編集エリア内でカーソルで選択したセル内にラダー部品を配置する。 The ladder program is a program that defines a control sequence by the programmable controller, and is described in a ladder diagram. In this ladder diagram, the circuit diagram is drawn like a ladder, and the vertical buses at the left and right ends represent the power symbolically, and the power flow of the contact circuit is shown on the parallel line connecting horizontally between them. It is. In order to create and edit such a ladder diagram format ladder program, for example, a ladder diagram editing device such as a personal computer is used. The ladder diagram editing apparatus includes a ladder diagram editing screen for editing a ladder diagram. The ladder diagram editing screen is divided into a ladder diagram editing area, a ladder component list area, and the like. In this ladder diagram editing area, the left area is entered in the input condition editing area where ladder components for input condition description are placed in order from the left side in the ladder line in the horizontal direction from the left bus, and the right area is manipulated. Are divided into operation output editing areas in which ladder parts for use are arranged (see Patent Document 1). In the above case, each line of the ladder diagram edited in the vertical direction in each editing area is composed of a plurality of cells in a rectangular frame with vertical and horizontal arrangements, and in the input condition editing area in each line of the ladder diagram, from the left bus. Ladder parts are arranged in the cells sequentially selected by the cursor in the horizontal right direction, and ladder parts are arranged in the cells selected by the cursor in the operation output editing area.
上記ラダー図編集方式においては、ラダー部品配置前ではそれらラダー部品の配置のために入力条件編集エリアや操作出力編集エリアを構成する各セルのサイズは行方向にも列方向にも通常サイズとなっているが、ラダー部品によってはその表示サイズが行方向あるいは列方向に通常のセルサイズより大きい場合や、ラダー図行の行方向サイズが通常のセルサイズより大きい場合では、ユーザ(ラダー図編集者)が手動にてセルサイズを調整している。 In the above ladder diagram editing method, before placing ladder parts, the size of each cell constituting the input condition editing area and the operation output editing area is the normal size in both the row direction and the column direction for placing the ladder parts. However, depending on the ladder component, if the display size is larger than the normal cell size in the row direction or column direction, or if the row direction size of the ladder diagram row is larger than the normal cell size, the user (ladder diagram editor) ) Manually adjust the cell size.
しかしながら、上記セルサイズの調整は、ラダー図の行数が膨大であり、また、ラダー図各行も複雑化してくると、ユーザにとり煩わしい編集作業となっていた。
したがって、本発明により解決すべき課題は、ラダー図各行を行単位あるいは列単位でラダー部品に合わせて任意のセルサイズに自動調整されるようにして、ユーザの編集作業の効率を向上させることである。 Therefore, the problem to be solved by the present invention is to improve the efficiency of the user's editing work by automatically adjusting each row of the ladder diagram to an arbitrary cell size according to the ladder component in units of rows or columns. is there.
(1)本発明第1によるラダー図編集方式は、コンピュータのラダー図編集画面に設けたラダー図編集エリアを入力条件編集エリアと操作出力編集エリアとにエリア分けし、これら両編集エリア上で編集されるラダー図各行を、縦横矩形枠状のセルを行列(縦横)方向1ないし複数並べて構成すると共にラダー図各行にラダー部品を配置するラダー図編集方式において、入力条件編集エリアにおけるラダー図各行のセルサイズが、ラダー部品の配置形態に応じて行単位で行列方向に自動調整可能となっている、ことを特徴とするものである。 (1) In the ladder diagram editing system according to the first aspect of the present invention, the ladder diagram editing area provided on the computer ladder diagram editing screen is divided into an input condition editing area and an operation output editing area, and editing is performed on both of these editing areas. In the ladder diagram editing method in which each ladder diagram row is configured by arranging one or a plurality of vertical and horizontal rectangular frame cells in a matrix (vertical and horizontal) direction and placing ladder parts in each ladder diagram row, each ladder diagram row in the input condition editing area The cell size can be automatically adjusted in the matrix direction in units of rows in accordance with the arrangement form of the ladder parts.
上記ラダー部品の配置形態とは、ラダー部品の配置位置やそのサイズ等の形態だけでなく、ラダー部品のコメントやニックネーム等の文字、記号情報等の配置位置やその形態を含む。 The layout form of the ladder part includes not only the layout position and size of the ladder part but also the layout position and form of characters such as comments and nicknames of the ladder part, symbol information, and the like.
本発明第1では、入力条件編集エリアにおいてラダー図各行を編集する場合、同一の行における入力条件数が増大しても、ユーザはそれら増大を意識することなく、また、セルサイズをその行幅方向に手動でわざわざ大きく調整する必要もなく、それら入力条件を構成するラダー部品を同一のセル内に自動配置することができる。 In the first aspect of the present invention, when editing each line of the ladder diagram in the input condition editing area, even if the number of input conditions in the same line increases, the user is not aware of the increase, and the cell size is set to the line width. There is no need to manually make great adjustments in the direction, and the ladder parts constituting these input conditions can be automatically arranged in the same cell.
(2)本発明第2によるラダー図編集方式は、コンピュータのラダー図編集画面に設けたラダー図編集エリアを入力条件編集エリアと操作出力編集エリアとにエリア分けし、これら両編集エリア上で編集されるラダー図各行を、縦横矩形枠状のセルを行列(縦横)方向1ないし複数並べて構成すると共にラダー図各行にラダー部品を配置するラダー図編集方式において、入力条件編集エリアにおけるラダー図各行のセルサイズが、ラダー部品の配置形態に応じて列単位で行列方向に自動調整可能となっていることを特徴とするものである。 (2) In the ladder diagram editing system according to the second aspect of the present invention, the ladder diagram editing area provided on the computer ladder diagram editing screen is divided into an input condition editing area and an operation output editing area, and editing is performed on both of these editing areas. In the ladder diagram editing method in which each ladder diagram row is configured by arranging one or a plurality of vertical and horizontal rectangular frame cells in a matrix (vertical and horizontal) direction and placing ladder parts in each ladder diagram row, each ladder diagram row in the input condition editing area The cell size can be automatically adjusted in the matrix direction in units of columns in accordance with the arrangement form of the ladder parts.
本発明第2では、入力条件編集エリアにおいてラダー図各行を編集する場合、入力条件を説明するコメント等が列幅方向に長くなっても、ユーザはそれらコメント等の長さを特に意識することなく、また、セルサイズをその列幅方向に手動でわざわざ長く調整する必要もなく、列幅を自動的に長く調整してそれらコメント等をユーザが視認することができるように表示させることができる。 In the second aspect of the present invention, when editing each line of the ladder diagram in the input condition editing area, even if a comment explaining the input condition becomes longer in the column width direction, the user is not particularly aware of the length of the comment. In addition, it is not necessary to manually adjust the cell size to be longer in the column width direction, and the column width can be automatically adjusted to be longer so that the comments can be displayed to the user.
(3)本発明第3によるラダー図編集方式は、コンピュータのラダー図編集画面に設けたラダー図編集エリアを入力条件編集エリアと操作出力編集エリアとにエリア分けし、これら両編集エリア上で編集されるラダー図各行を、縦横矩形枠状のセルを行列(縦横)方向1ないし複数並べて構成すると共にラダー図各行にラダー部品を配置するラダー図編集方式において、操作出力編集エリアのサイズが、ラダー部品の配置形態に応じて自動調整可能となっているを特徴とするものである。 (3) In the ladder diagram editing system according to the third aspect of the present invention, the ladder diagram editing area provided on the computer ladder diagram editing screen is divided into an input condition editing area and an operation output editing area, and editing is performed on both of these editing areas. In the ladder diagram editing method in which each row of the ladder diagram is configured by arranging one or a plurality of vertical and horizontal rectangular frame cells in a matrix (vertical and horizontal) direction and placing ladder parts in each row of the ladder diagram, the size of the operation output editing area is the ladder. It is characterized in that it can be automatically adjusted according to the arrangement form of the parts.
本発明第3では、操作出力編集エリアに配置するラダー部品として、例えば、カウンタ、シフトレジスタ、コピー等の列方向幅に合わせてそのセルサイズが自動調整されるので、ユーザはそれらラダー部品の列方向幅を特に意識することなく、また、セルサイズをその列幅方向に手動でわざわざ長く調整する必要もなく、セルサイズの列幅が自動的に調整されるので、ラダー図作成作業の効率が向上する。 In the third aspect of the present invention, as the ladder parts to be arranged in the operation output editing area, for example, the cell size is automatically adjusted according to the width in the column direction of a counter, shift register, copy, etc. The column width of the cell size is automatically adjusted without special attention to the direction width and without having to manually adjust the cell size in the column width direction. improves.
本発明第3において、好ましい態様は、ラダー図各行を操作出力編集エリア外(または内)から操作出力編集エリア内(または外)に縦スクロールしていくと、編集エリアの横方向サイズが、ラダー図各行のラダー部品の配置形態に合わせて、自動調整可能となっていることである。 In the third aspect of the present invention, when the ladder diagram is vertically scrolled from outside (or inside) the operation output editing area to inside (or outside) the operation output editing area, the horizontal size of the editing area is changed to the ladder. This means that automatic adjustment is possible according to the arrangement form of the ladder parts in each row.
操作出力編集エリアのラダー図各行においてユーザ−が視認することができないラダー部品のうち列幅が最大のラダー部品の列幅にあわせてセルサイズの列方向幅が調整された場合、操作出力編集エリアの列幅がいたずらに長くなり、かえって、ラダー図がみにくくなる。そこで、上記態様では、ユーザ−が視認されるラダー図範囲において配置されるラダー部品のうち列幅最大のラダー部品の当該列幅に合わせて、セルサイズの列幅が自動的に最適調整されるようになっているので、ユーザはラダー図の作成をより効率的に行うことができるようになる。 Ladder diagram in the operation output editing area When the column direction width of the cell size is adjusted to match the column width of the ladder part with the largest column width among the ladder parts that the user cannot see in each row, the operation output editing area As a result, the column width becomes longer and the ladder diagram becomes harder to see. Therefore, in the above aspect, the column width of the cell size is automatically optimally adjusted in accordance with the column width of the ladder component having the maximum column width among the ladder components arranged in the ladder diagram range where the user can visually recognize. As a result, the user can create a ladder diagram more efficiently.
本発明によれば、ラダー図各行が行単位あるいは列単位でラダー部品やコメント等に合わせてセルサイズが自動調整されるので、ユーザはラダー図の編集作業を効率良く行うことができる。 According to the present invention, the cell size of each line of the ladder diagram is automatically adjusted according to the ladder part, the comment, etc. in units of rows or columns, so that the user can efficiently edit the ladder diagram.
以下、本発明の実施の形態に係るラダー図編集方式を詳細に説明するが、本実施の形態は、本発明の技術思想を具体化するためのものであり、本発明を限定するものではない。本実施の形態は特許請求の範囲に記載されるラダー図編集方式を限定するものではない。本実施の形態において同方式を実施するためのラダー図編集装置は、ラダー図形式のプログラム(ラダープログラム)の作成、編集等を行うシステム、ラダープログラムの編集等に関連する入出力、表示、演算、通信その他の処理をハードウェア的に限定するものではない。ソフトウェア的にラダー図編集方式を実現する装置等も本発明の範囲内に含む。例えば汎用の回路やコンピュータにソフトウェアやプログラム、プラグイン、オブジェクト、ライブラリ、アプレット、コンパイラ、モジュール、特定のプログラム上で動作するマクロ等を組み込んでラダープログラムの編集等あるいはこれに関連する処理を可能とした汎用あるいは専用のコンピュータ、ワークステーション、端末、携帯型電子機器、その他の電子デバイスも、本発明のラダー図編集方式を実施する装置に含まれる。また本実施の形態においては、コンピュータプログラムやソフトウェア、サービス等の一部として機能する態様や、必要時に呼び出されて機能する態様、OS等の環境においてサービスとして提供される態様等にも適用することができる。 Hereinafter, the ladder diagram editing method according to the embodiment of the present invention will be described in detail. However, the present embodiment is intended to embody the technical idea of the present invention and does not limit the present invention. . This embodiment does not limit the ladder diagram editing method described in the claims. In this embodiment, a ladder diagram editing apparatus for implementing the same system is a system that creates and edits a ladder diagram format program (ladder program), input / output, display, and computation related to ladder program editing, etc. The communication and other processes are not limited in hardware. An apparatus that implements a ladder diagram editing method in software is also included in the scope of the present invention. For example, software, programs, plug-ins, objects, libraries, applets, compilers, modules, macros that run on specific programs, etc. can be incorporated into general-purpose circuits or computers, and ladder programs can be edited or related processes. Such general-purpose or dedicated computers, workstations, terminals, portable electronic devices, and other electronic devices are also included in the apparatus for executing the ladder diagram editing method of the present invention. In this embodiment, the present invention is also applicable to a mode that functions as a part of a computer program, software, service, etc., a mode that is called and functions when necessary, a mode that is provided as a service in an environment such as an OS, and the like. Can do.
以下、添付した図面を参照して、本発明の実施の形態に係るラダー図編集方式を説明すると、図1において、実施の形態の方式に用いるラダー図編集装置は、ラダープログラム編集用プログラムを備えるコンピュータ1で構成される。このコンピュータ1には、プログラマブルコントローラ2が接続される。このプログラマブルコントローラ2は、制御対象機器である入出力デバイス3(3a〜3d)を接続し、これらデバイスを制御する装置である。プログラマブルコントローラ2は、内蔵するCPUによって制御プログラムに従い、ラダープログラム編集プログラムで作成されたラダープログラムで定められた手順で、入出力デバイス3の動作を制御する。コンピュータ1は、プログラマブルコントローラ2に接続され、プログラマブルコントローラ2やプログラマブルコントローラ2で制御される入出力デバイス3の動作状態を設定し表示することができる。
Hereinafter, a ladder diagram editing system according to an embodiment of the present invention will be described with reference to the accompanying drawings. In FIG. 1, a ladder diagram editing apparatus used in the system of the embodiment includes a ladder program editing program. It is composed of a
ラダー図編集装置としてのコンピュータ1は、汎用的なコンピュータであり、CPU1a、メモリ1b、表示部1c、操作部1d、外部記憶装置1e、インターフェース1fを備えている。CPU1aは、コンピュータ1にインストールされているOS(オペレーティングシステム)上でラダープログラム編集プログラムを含む各種のアプリケーションプログラムを動作させる際の各部の制御や演算処理を行う。メモリ1bは、RAM、ROMなどのメモリを備えており、データの格納、一時的なデータ記憶、CPU1aの演算処理時における作業エリアを提供することができるようになっている。
A
コンピュータ1の表示部1cは、CRT、LCD、あるいは液晶パネルやELパネルのような平板型のモニタ画面を備える。操作部1dは、キーボード、マウスなどの入力操作を行うための装置であり、特に、GUI環境下で動作するラダープログラム編集プログラムでの入力作業にはマウスなどのポインティングデバイスが好適である。外部記憶装置1eは、ハードディスク装置などの磁気ディスクドライブ、CD−ROMドライブなどの光ディスクドライブといった装置であり、少なくとも、記録媒体に記録されたラダープログラム編集プログラムなどの情報を読み出すことができる装置を含んでいる。インターフェース1fは、プログラマブルコントローラ2との間でデータ通信を行う入出力部である。ラダープログラム編集プログラムで作成されたラダープログラムは、このインターフェース1fを介してプログラマブルコントローラ2に転送され、プログラマブルコントローラ2内のメモリにダウンロードされる。コンピュータ1にインストールされて実行されるラダープログラム編集プログラムは、コンピュータ1のCPU1aで実行される。
The
図2を参照して表示部1cのラダー図編集画面4は、ユーザインターフェース画面として、その画面構成のエリアを、タイトルバー41、メニューバー42、ツールバー43、ラダー図編集エリア44、ラダー部品編集パレット44c、その他のエリアに分けている。そして、マウスやキーボード等の操作部1dで、上記ラダー図編集画面4の各エリアを操作することにより、ラダープログラムの編集、修正、変更等の作業が行われる。
Referring to FIG. 2, the ladder
操作部1dはコンピュータ1と有線もしくは無線で接続され、あるいはコンピュータ1に固定されている。一般的な操作部1dとしては、例えばマウスやキーボード、スライドパッド、トラックポイント、タブレット、ジョイスティック、コンソール、ジョグダイヤル、デジタイザ、ライトペン、テンキー、タッチパッド、等の各種ポインティングデバイスが挙げられる。また、インターフェース画面を表示する表示部自体にタッチスクリーンやタッチパネルを利用して、画面上をユーザが手で直接触れることにより入力や操作を可能としたり、または音声入力その他の既存の入力手段を利用、あるいはこれらを併用することもできる。
The
なお、ラダープログラム編集プログラム(ラダープログラムのプログラミングソフトウエア)がインストールされたコンピュータ1に接続された入力操作部から設定を行う態様の他、ラダープログラム編集プログラムやハードウェアをプログラマブルコントローラ2に組み込み、プログラマブルコントローラ2側で設定を行えるようにしても良い。
In addition to a mode in which settings are made from an input operation unit connected to a
図2に示すラダー図編集画面4のラダー図編集エリア44には、ラダー図が、左側エリアが入力条件を記述する部分を編集する入力条件編集エリア44aとして、右側エリアが操作出力を記述する部分を編集する操作出力編集エリア44bとしてエリア分けされている。入力条件編集エリア44aと操作出力編集エリア44bとの間には縦方向に境界線45が着色表示されている。入力条件編集エリア44aの下端には横スクロール操作部46が表示され、操作出力編集エリア44bの右端には縦スクロール操作部47が表示されている。
In the ladder diagram editing area 44 of the ladder
入力条件編集エリア44aは、縦方向に母線M1が表示され、この母線M1からラダー図各行n1,…の横方向行線L11,…が行方向(縦方向)平行等間隔で複数表示され、横方向行線L11,…上にデバイス番号C1,…と共に押しボタンやスイッチやセンサ等の入力機器がラダー部品として表示されている。なお、説明の都合で、図2では、ラダー図行n1にのみデバイス番号とラダー部品とが表示され、他のラダー図行n2,…にはそれらを表示していない。
In the input
ラダー図各行n1,…は、縦横矩形枠状の複数のセルから構成される。ラダー図各行n1,…において入力条件編集エリア44a内では左側母線M1から横右方向に各セルがカーソル50で順次に選択されると共に各セル内にラダー部品が配置される。ラダー部品は、ラダー部品編集パレット44c内の「contact」からは入力条件編集エリア44a内のセルに配置するラダー部品が、また、「coil」からは操作出力編集エリア44b内のセルに配置するラダー部品が選択されるようになっている。カーソル50の行方向カーソル幅W0は、上記セルのセル行方向幅に対応し、カーソル50の列方向カーソル幅W1は、上記セルのセル列方向幅に対応している。
Each row n1,... Of the ladder diagram is composed of a plurality of cells having a vertical and horizontal rectangular frame shape. In each line n1,... In the ladder diagram, cells are sequentially selected with the
横方向行線L11,…はラダープログラムをラダー図編集画面4上でラダー図形式で表示した場合のラダー図各行n1,…を構成する。これら各種入力接点とそれらの組み合わせによるAND、OR、NOT、等の各種回路による入力条件の構成の説明は略し、かつ、すべて同一の接点形式で表示している。なお、横方向行線L11,…については横スクロールして入力条件編集エリア44a内に表示することができるようになっている。
The horizontal row lines L11,... Constitute ladder diagram rows n1,... When the ladder program is displayed in the ladder diagram format on the ladder
操作出力編集エリア44b内には、入力条件編集エリア44a内の各横方向行線L11,…それぞれに個別対応して横方向行線L12,…がそれぞれ表示され、この横方向行線L12,…上にはリレーやランプ、モータ、アクチュエータ等のラダー部品OUT1,…が表示される。横方向行線L12,…それぞれは横方向行線L11,…それぞれと同一のラダー図各行n1,…を構成する。
In the operation
縦スクロール操作部47を、例えば、下方向に操作すると、入力条件編集エリア44a内のラダー図各横方向線L11,…と操作出力編集エリア44b内のラダー図各横方向線L12,…とが同期して縦スクロールされることで入力条件編集エリア44aと操作出力編集エリア44bそれぞれの横方向線L11,…とL12,…との対応関係は同じになっている。
When the vertical
横スクロール操作部46を、右方向または左方向に移動操作すると、操作出力編集エリア44b内のラダー図各横方向線L12,…を各行固定し常時表示した状態で入力条件編集エリア44a内の横方向行線L11,…が左右に同期横スクロールしたり、あるいは、ラダー図各行を個別に選択して横スクロール操作して、ラダー図各横方向線L11,…を個別に横スクロールすることができる。
When the horizontal
以上説明したラダー図編集エリア44において、セルの通常の行方向(縦方向)単位幅はW0、列方向(横方向)単位幅はW1である。 In the ladder diagram editing area 44 described above, the normal row direction (vertical direction) unit width of a cell is W0, and the column direction (horizontal direction) unit width is W1.
そして、図3(a)で示すように、任意のラダー図行のうち、実施の形態では、例えばラダー図n1行において、入力条件編集エリア44a内のA列に接点であるラダー部品C1、B列に接点であるラダー部品C2、C列はラダー部品無し、操作出力編集エリア44b内に操作出力のためのラダー部品が配置されている。図3(a)で示す入力条件編集エリア44a内のラダー図n1行目のA列のセル内には、2つのラダー部品C1,C3が行方向に並行配置されていて、ラダー図n1行目の行方向幅は入力条件編集エリア44aから操作出力編集エリア44bにわたりW0´(>W0)になっている。
As shown in FIG. 3A, among the arbitrary ladder diagram rows, in the embodiment, for example, in the ladder diagram n1 row, ladder parts C1, B that are contacts in the A column in the input
また、図3(b)で示す入力条件編集エリア44a内のラダー図n1行目のA列のセル内に、6つのラダー部品C1,C2−C7が行方向に並行配置されていてそのn1行目のA列のセルの行方向幅はW0´´(>W0´>W0)になっている。
Further, six ladder parts C1, C2-C7 are arranged in parallel in the row direction in the cell in the A column of the ladder diagram n1 row in the ladder diagram n1 in the input
CPU1aは、表示部1cからのラダー図編集画面4におけるラダー図情報を監視していて、操作部1dからのラダー図記述入力に従いセルの行方向幅を図3(a)や図3(b)で示すように自動調整するようになっている。
The
すなわち、操作部1dは、カーソル50の操作、ラダー部品の選択操作、また、操作部1dの操作により、メモリ1bからラダー部品のコメント、ニックネーム等の読み出し、等が行われ、CPU1aは、それら情報から、ラダー部品の配置形態を演算し、例えば図3(a)で示す場合、ラダー部品C1、C2を、同じラダー図行n1のA列内に、行方向並行に配置できるように、セルサイズの行方向幅を例えばW0´に自動調整する。また、図3(b)で示す場合、ラダー部品C1−C6を、同じラダー図行n1のA列内に、行方向並行に配置できるように、セルサイズの行方向幅を例えばW0´´に自動的に調整する。
That is, the
この場合、同一ラダー図行に実施の形態では2個あるいは3個であったが、それ以上の数のラダー部品を並行配置する場合も、上記同様にセルサイズの行方向幅をラダー部品の配置形態に応じて自動的に調整する。 In this case, the number of ladder parts in the same ladder diagram row is two or three in the embodiment. However, when a larger number of ladder parts are arranged in parallel, the cell-size width in the row direction is arranged as described above. Automatically adjust according to the form.
次に、図4を参照してラダー図n1行の各列それぞれの列幅を自動調整する場合を説明する。図4(a)では、ラダー図n1行のA列の列方向幅はW1であり、このラダー図n1行のA列のラダー部品C1ではコメント(Comment)が長いため、コメントの一部だけしか表示されていない。そこで、図4(b)で示すように、CPU1aは、ラダー図n1行のA列に配置するラダー部品の配置形態に応じて、ラダー図n1行のA列の列方向幅をW1´(>W1)に自動的に調整するようになっている。この場合、ラダー部品C1のコメントを何処までユーザに視認可能とするかは、ユーザは操作部1dで設定することができるようになっている。例えば、マウスのドラッグ操作でラダー図n1行のA列の列方向幅を調整することができるようになっている。あるいは、マウスのドラッグ操作を要することなく、CPU1aにラダー図n1行のA列の列方向幅を設定入力することで、自動的に当該ラダー図n1行のA列の列方向幅が常に自動的に調整されようにしてもよい。
Next, a case where the column width of each column of the ladder diagram n1 row is automatically adjusted will be described with reference to FIG. In FIG. 4A, the column direction width of the column A of the ladder diagram n1 is W1, and the ladder component C1 of the column A of the ladder diagram n1 has a long comment, so only a part of the comment is included. It is not displayed. Therefore, as shown in FIG. 4B, the
次に、図5を参照して、操作出力編集エリア44bの行方向幅、列方向幅を自動的に調整する場合を説明する。図5(a)では、操作出力編集エリア44bの列方向(横方向)幅が、ラダー部品(Y001)の配置形態に応じてW01に自動的に調整されている。また、図5(b)では、操作出力編集エリア44bの列方向(横方向)幅が、ラダー部品Copyの配置形態に応じてW02(>W01)に自動的に調整されている。図5(b)では、操作出力編集エリア44bの列方向(横方向)幅が、ラダー部品Counterの配置形態に応じてW03(>W02>W01)に自動的に調整されている。これら調整は、CPU1aが、表示部1cからのラダー図編集画面4におけるラダー図情報を監視していて、操作部1dからのラダー図記述入力に従い操作出力編集エリア44bの列方向幅を自動的に調整するようになっている。
Next, a case where the row direction width and the column direction width of the operation
なお、上記の場合、操作出力編集エリア44bの列方向幅を最大の列方向幅に自動的に調整したのでは、図5(a)ないし図5(c)のうち、図5(c)で示す操作出力編集エリアの列方向幅W03に調整されてしまい、例えば、図6のような表示形態になってしまう。
In the above case, if the column width of the operation
そこで、図7(a)ないし図7(c)で示すように、ラダー図各行を例えば縦方向下向きにラダー図n1,n10,n20行と縦スクロールしていくときに、操作出力編集エリアの横方向幅が、図7(a)ではラダー図行n1でユーザが視認できるラダー図編集画面上ではW01に、図7(b)ではラダー図行n10でユーザが視認できるラダー図編集画面上ではW02に、図7(c)ではラダー図行n20でユーザが視認できるラダー図編集画面上ではW03に、ラダー図各行のラダー部品の配置形態に合わせて、自動的に調整されるようにしている。 Therefore, as shown in FIGS. 7A to 7C, when each line of the ladder diagram is vertically scrolled to the ladder diagram n1, n10, n20, for example, vertically downward, the horizontal side of the operation output editing area is displayed. The direction width is W01 on the ladder diagram edit screen visible to the user in the ladder diagram row n1 in FIG. 7A, and W02 on the ladder diagram edit screen visible to the user in the ladder diagram row n10 in FIG. 7B. In FIG. 7C, on the ladder diagram edit screen that can be visually recognized by the user in the ladder diagram row n20, W03 is automatically adjusted according to the arrangement form of the ladder parts in each row of the ladder diagram.
以上説明したように本実施の形態では、入力条件編集エリアや操作出力編集エリアの横方向や縦方向のサイズ(幅)をラダー部品に合わせて自動調整されるようにしたので、ユーザの編集作業の効率を向上させることができる。 As described above, in the present embodiment, the horizontal size and vertical size (width) of the input condition editing area and the operation output editing area are automatically adjusted according to the ladder part. Efficiency can be improved.
1 コンピュータ
2 プログラマブルコントローラ
4 ラダー図編集画面
44 編集画面領域
44a 入力条件編集エリア
44b 操作出力編集エリア
1
Claims (4)
入力条件編集エリアにおけるラダー図各行のセルサイズが、ラダー部品の配置形態に応じて行単位で行列方向に自動調整可能となっている、ラダー図編集方式。 The ladder diagram editing area provided on the computer's ladder diagram editing screen is divided into an input condition editing area and an operation output editing area, and each row of the ladder diagram edited in both editing areas is divided into vertical and horizontal rectangular frame cells. In the ladder diagram editing method, which is configured by arranging one or a plurality of matrix (vertical and horizontal) directions and arranging ladder parts in each row of the ladder diagram,
A ladder diagram editing method in which the cell size of each row of the ladder diagram in the input condition editing area can be automatically adjusted in the matrix direction in units of rows according to the arrangement form of the ladder component.
入力条件編集エリアにおけるラダー図各行のセルサイズが、ラダー部品の配置形態に応じて列単位で行列方向に自動調整可能となっている、ラダー図編集方式。 The ladder diagram editing area provided on the computer's ladder diagram editing screen is divided into an input condition editing area and an operation output editing area, and each row of the ladder diagram edited in both editing areas is divided into vertical and horizontal rectangular frame cells. In a ladder diagram editing system that is configured by arranging one or a plurality of matrix (vertical and horizontal) directions and arranging ladder parts in each row of the ladder diagram,
A ladder diagram editing method in which the cell size of each row of the ladder diagram in the input condition editing area can be automatically adjusted in the matrix direction in units of columns according to the arrangement form of the ladder parts.
操作出力編集エリアのサイズが、ラダー部品の配置形態に応じて自動調整可能となっている、ラダー図編集方式。 The ladder diagram editing area provided on the computer's ladder diagram editing screen is divided into an input condition editing area and an operation output editing area, and each row of the ladder diagram edited in both editing areas is divided into vertical and horizontal rectangular frame cells. In the ladder diagram editing method, which is configured by arranging one or a plurality of matrix (vertical and horizontal) directions and arranging ladder parts in each row of the ladder diagram,
A ladder diagram editing method in which the size of the operation output editing area can be automatically adjusted according to the layout of ladder parts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008108786A JP2009259081A (en) | 2008-04-18 | 2008-04-18 | Ladder diagram editing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008108786A JP2009259081A (en) | 2008-04-18 | 2008-04-18 | Ladder diagram editing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009259081A true JP2009259081A (en) | 2009-11-05 |
Family
ID=41386408
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008108786A Pending JP2009259081A (en) | 2008-04-18 | 2008-04-18 | Ladder diagram editing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009259081A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011107812A (en) * | 2009-11-13 | 2011-06-02 | Koyo Electronics Ind Co Ltd | Ladder diagram display method |
WO2014080531A1 (en) * | 2012-11-26 | 2014-05-30 | 三菱電機株式会社 | Ladder program display device and ladder program display method |
WO2016009512A1 (en) * | 2014-07-16 | 2016-01-21 | 三菱電機株式会社 | Engineering tool |
JP2017059180A (en) * | 2015-09-18 | 2017-03-23 | 富士電機株式会社 | Program creation support device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000181516A (en) * | 1998-12-14 | 2000-06-30 | Sharp Manufacturing System Kk | Monitoring device for programmable controller |
JP2002229609A (en) * | 2001-01-31 | 2002-08-16 | Omron Corp | Controller |
JP2005092807A (en) * | 2003-09-19 | 2005-04-07 | Keyence Corp | Ladder diagram editor, ladder diagram editing method and program, and computer-readable recording medium |
-
2008
- 2008-04-18 JP JP2008108786A patent/JP2009259081A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000181516A (en) * | 1998-12-14 | 2000-06-30 | Sharp Manufacturing System Kk | Monitoring device for programmable controller |
JP2002229609A (en) * | 2001-01-31 | 2002-08-16 | Omron Corp | Controller |
JP2005092807A (en) * | 2003-09-19 | 2005-04-07 | Keyence Corp | Ladder diagram editor, ladder diagram editing method and program, and computer-readable recording medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011107812A (en) * | 2009-11-13 | 2011-06-02 | Koyo Electronics Ind Co Ltd | Ladder diagram display method |
WO2014080531A1 (en) * | 2012-11-26 | 2014-05-30 | 三菱電機株式会社 | Ladder program display device and ladder program display method |
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 |
WO2016009512A1 (en) * | 2014-07-16 | 2016-01-21 | 三菱電機株式会社 | Engineering tool |
JP5968541B2 (en) * | 2014-07-16 | 2016-08-10 | 三菱電機株式会社 | Engineering tools |
JP2017059180A (en) * | 2015-09-18 | 2017-03-23 | 富士電機株式会社 | Program creation support device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8339416B2 (en) | Image construction apparatus and computer-readable media | |
CN103250126A (en) | Mobile terminal device, display control method and program | |
US9176734B2 (en) | Ladder program creation apparatus | |
JP2009259081A (en) | Ladder diagram editing system | |
JP5025230B2 (en) | Multi-monitor monitoring control apparatus and process monitoring control system using the same | |
JP2008282260A (en) | Ladder diagram editing device | |
CN111610754A (en) | Picture creation device and picture creation system | |
JP2008084249A (en) | Display method of information processor | |
JP2006330865A (en) | User program display device, and program applied to the same | |
KR101372197B1 (en) | Plc designing apparatus | |
JP5058053B2 (en) | How to edit ladder diagram | |
JP2011107810A (en) | Ladder diagram display method | |
JP2009193276A (en) | Ladder program creation device and ladder program creation execution system using it | |
JP5205111B2 (en) | Ladder diagram monitoring device | |
JP5546886B2 (en) | Instruction word editing method in ladder diagram | |
JP2005092807A (en) | Ladder diagram editor, ladder diagram editing method and program, and computer-readable recording medium | |
JP2009259082A (en) | Ladder diagram editing system | |
JP2008097266A (en) | Focus movement method and indicator of components on display screen | |
JP4913021B2 (en) | How to edit ladder diagram | |
JP4694877B2 (en) | Switching device, switching system | |
JP2009104434A (en) | Method for displaying ladder diagram on monitor screen | |
JP4299620B2 (en) | Ladder diagram editing apparatus, ladder diagram editing method, ladder diagram editing program, and computer-readable recording medium | |
JP5008520B2 (en) | How to display data entry status in the display screen | |
JP5360423B2 (en) | Parallel input support method, parallel input support device and computer program for circuit elements in PLC ladder circuit schematic programming device | |
JP2006331184A (en) | Electronic apparatus and control program for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110418 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120717 |
|
A977 | Report on retrieval |
Effective date: 20120718 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20121127 |