JP2016148887A - Ladder program edition device enabling edition with gesture operation of touch panel - Google Patents

Ladder program edition device enabling edition with gesture operation of touch panel Download PDF

Info

Publication number
JP2016148887A
JP2016148887A JP2015023908A JP2015023908A JP2016148887A JP 2016148887 A JP2016148887 A JP 2016148887A JP 2015023908 A JP2015023908 A JP 2015023908A JP 2015023908 A JP2015023908 A JP 2015023908A JP 2016148887 A JP2016148887 A JP 2016148887A
Authority
JP
Japan
Prior art keywords
ladder program
editing
gesture
edition
gesture operation
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
JP2015023908A
Other languages
Japanese (ja)
Inventor
充 望月
Mitsuru Mochizuki
充 望月
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2015023908A priority Critical patent/JP2016148887A/en
Publication of JP2016148887A publication Critical patent/JP2016148887A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a ladder program edition device capable of efficiently editing a ladder program with gesture operation peculiar to a touch panel.SOLUTION: A ladder program edition device includes: display means of displaying a ladder program; gesture operation detection means of detecting user gesture operation to the ladder program displayed by the display means; gesture operation analysis means of analyzing the detected gesture operation, and specifying at least an operation kind of gesture operation and an operation object to be an object of gesture operation; edition operation specification means of specifying edition operation to the operation object on the basis of the operation kind and the operation object; and edition means of executing edition operation to the operation object.SELECTED DRAWING: Figure 3

Description

本発明は、ラダープログラム編集装置に関し、特にタッチパネル特有のジェスチャ操作によりラダープログラムを効率よく編集することができるラダープログラム編集装置に関する。   The present invention relates to a ladder program editing apparatus, and more particularly to a ladder program editing apparatus that can efficiently edit a ladder program by a gesture operation unique to a touch panel.

パソコン上でラダープログラムを作成する場合、一般的にマウスなどのポインティングデバイスとキーボードとを併用して編集操作が行われる。タブレット端末のようなタッチパネルを装備した装置では、キーボードやマウスのような入力装置は通常備えていないことが多いが、指先で画面に触れるタッチ操作によってパソコンと同様の操作を可能としている。   When a ladder program is created on a personal computer, an editing operation is generally performed using a pointing device such as a mouse and a keyboard together. An apparatus equipped with a touch panel such as a tablet terminal usually does not include an input device such as a keyboard or a mouse. However, an operation similar to that of a personal computer can be performed by touching the screen with a fingertip.

タッチ操作主体のタブレット端末上でラダープログラムを編集する場合も、マウスによる編集操作をタッチ操作で行い、画面上に表示される仮想的なキーボードへのタッチ操作でパソコンのキーボードと同様に文字を入力することで、パソコンと同等の編集操作が実現されている。   When editing a ladder program on a tablet device that mainly uses touch operations, you can use the mouse to perform editing operations using touch operations, and enter characters in the same way as a computer keyboard using touch operations on a virtual keyboard displayed on the screen. As a result, editing operations equivalent to those of a personal computer are realized.

更にタッチ操作には、複数の指を用いたジェスチャ操作(ピンチイン、ピンチアウト等)があり、その操作によって例えば画面に表示されているイメージを拡大・縮小するといったことが一般的に行われている(例えば、特許文献1)。
また、ジェスチャ操作は文字列の変換操作(例えば、特許文献2)や、ファイルの編集操作(例えば、特許文献3)などに用いられることもある。
Furthermore, the touch operation includes a gesture operation (pinch-in, pinch-out, etc.) using a plurality of fingers, and generally, for example, an image displayed on the screen is enlarged or reduced by the operation. (For example, patent document 1).
In addition, the gesture operation may be used for a character string conversion operation (for example, Patent Document 2), a file editing operation (for example, Patent Document 3), or the like.

特許第4849412号公報Japanese Patent No. 4849412 特許第5409896号公報Japanese Patent No. 5409896 特許第5598584号公報Japanese Patent No. 5598584

従来は、ラダープログラムの編集操作についてはパソコン上のマウスとキーボードの操作が基本となっており、タブレット端末などでも同様の操作をタッチ操作に置き換えることで編集機能が実現されていた。   Conventionally, the editing operation of a ladder program is based on the operation of a mouse and a keyboard on a personal computer, and the editing function is realized by replacing the same operation with a touch operation on a tablet terminal or the like.

しかしながら、タッチパネルに特有のジェスチャ動作は、一般的な表示の拡大縮小といった使われ方はされても、ラダープログラムの編集操作そのものには活用されておらず、タブレット端末等においても、ラダープログラムの編集操作自体はパソコンのマウスとキーボードによる操作と基本的に変わらないものであった。   However, gesture operations unique to touch panels are not used for ladder program editing operations themselves, even though they are used for general enlargement / reduction of the display. The operation itself was basically the same as the operation with the mouse and keyboard of a personal computer.

そこで本発明の目的は、タッチパネル特有のジェスチャ操作によりラダープログラムを効率よく編集することができるラダープログラム編集装置を提供することである。   Therefore, an object of the present invention is to provide a ladder program editing apparatus that can efficiently edit a ladder program by a gesture operation unique to a touch panel.

本願の請求項1に係る発明は、ユーザによる操作に基づいてラダープログラムを編集するラダープログラム編集装置において、前記ラダープログラムを表示する表示手段と、前記表示手段により表示された前記ラダープログラムに対するユーザによるジェスチャ操作を検出するジェスチャ操作検出手段と、前記ジェスチャ操作を解析し、少なくとも前記ジェスチャ操作の操作種類、および前記ジェスチャ操作の対象となる操作対象を特定するジェスチャ操作解析手段と、前記操作種類および前記操作対象に基づいて、前記操作対象に対する編集操作を特定する編集操作特定手段と、前記操作対象に対して前記編集操作を実行する編集手段と、を備えたことを特徴とするラダープログラム編集装置である。   The invention according to claim 1 of the present application relates to a ladder program editing apparatus that edits a ladder program based on an operation by a user, a display unit that displays the ladder program, and a user for the ladder program displayed by the display unit. Gesture operation detection means for detecting a gesture operation, gesture operation analysis means for analyzing the gesture operation and identifying at least the operation type of the gesture operation and the operation target to be the gesture operation, the operation type and the A ladder program editing apparatus comprising: an editing operation specifying unit that specifies an editing operation on the operation target based on the operation target; and an editing unit that executes the editing operation on the operation target. is there.

本願の請求項2に係る発明は、前記ジェスチャ操作解析手段は、更に前記操作種類に対応する操作方向を特定し、前記編集操作特定手段は、前記操作種類、前記操作方向および前記操作対象に基づいて、前記操作対象に対する編集操作を特定する、ことを特徴とする請求項1に記載のラダープログラム編集装置である。   In the invention according to claim 2 of the present application, the gesture operation analyzing unit further specifies an operation direction corresponding to the operation type, and the editing operation specifying unit is based on the operation type, the operation direction, and the operation target. The ladder program editing apparatus according to claim 1, wherein an editing operation for the operation target is specified.

本発明では、接点の追加・削除など、ラダープログラムの編集時に頻繁に行われる編集操作でありながら、マウスによる操作ではいくつかの操作を組み合わせる必要があった編集操作を、タッチパネル特有のジェスチャ操作により1つの操作で実施できるため、ラダープログラムを効率よく編集することができる。   In the present invention, editing operations that are frequently performed at the time of editing a ladder program, such as addition / deletion of a contact point, are performed by a gesture operation peculiar to a touch panel. Since it can be implemented with one operation, the ladder program can be edited efficiently.

ツールバーインタフェースによるラダープログラムの編集操作例である。It is an example of editing operation of a ladder program by a toolbar interface. コンテキストメニューインタフェースによるラダープログラムの編集操作例である。It is an example of a ladder program editing operation by a context menu interface. 本発明におけるジェスチャ操作によるラダープログラムの編集操作例である。It is an example of editing operation of the ladder program by gesture operation in this invention. 本発明の一実施形態におけるラダープログラム編集装置の要部ブロック図である。It is a principal part block diagram of the ladder program editing apparatus in one Embodiment of this invention. 本発明の一実施形態における操作判定テーブルの例を示す図である。It is a figure which shows the example of the operation determination table in one Embodiment of this invention. 本発明の一実施形態におけるラダープログラム編集装置上で実行される処理のフローチャートである。It is a flowchart of the process performed on the ladder program editing apparatus in one Embodiment of this invention. 本発明の一実施形態における操作対象の判定処理のフローチャートである。It is a flowchart of the determination process of the operation target in one Embodiment of this invention. 本発明におけるラダープログラムの「横要素」と「縦要素」を説明する図である。It is a figure explaining the "horizontal element" and the "vertical element" of the ladder program in this invention. 本発明の一実施形態におけるラダープログラム編集装置上でのジェスチャ操作による編集例(1)である。It is an edit example (1) by gesture operation on the ladder program editing apparatus in one Embodiment of this invention. 本発明の一実施形態におけるラダープログラム編集装置上でのジェスチャ操作による編集例(2)である。It is an example (2) of editing by gesture operation on the ladder program editing apparatus in one Embodiment of this invention. 本発明の一実施形態におけるラダープログラム編集装置上でのジェスチャ操作による編集例(3)である。It is an example (3) of editing by gesture operation on the ladder program editing apparatus in one Embodiment of this invention. 本発明の一実施形態におけるラダープログラム編集装置上でのジェスチャ操作による編集例(4)である。It is an example (4) of editing by gesture operation on the ladder program editing apparatus in one Embodiment of this invention.

以下、本発明の実施の形態を図面と共に説明する。
本発明では、ジェスチャ操作が可能なタブレット端末などの上において、プログラマブルコントローラで実行するラダープログラムを編集する際、ジェスチャ動作によって接点や接続線の追加・削除といったラダープログラム編集時に頻出する編集操作ができるようにすることにより、効率よくラダープログラムの編集が可能なラダープログラム編集装置を提供する。
Embodiments of the present invention will be described below with reference to the drawings.
In the present invention, when editing a ladder program to be executed by a programmable controller on a tablet terminal capable of performing a gesture operation, an editing operation that frequently occurs during ladder program editing such as addition / deletion of contacts and connection lines can be performed by a gesture operation. By doing so, a ladder program editing apparatus capable of efficiently editing a ladder program is provided.

複数箇所をタッチされたことが検出できるタッチパネルの場合、2本以上の指を同時にタッチして動かすジェスチャ操作が使えることが多く、特に、2本の指の先を画面上で広げるように動かすピンチアウト、逆に狭めるように動かすピンチインは、一般的には表示された画像などを拡大・縮小する操作として使われることが多い。   In the case of a touch panel that can detect that multiple locations have been touched, it is often possible to use gesture operations in which two or more fingers are simultaneously touched and moved, and in particular, a pinch that moves the tips of two fingers to spread on the screen. In general, the pinch-in that is moved so as to be narrowed out is often used as an operation for enlarging or reducing the displayed image.

本発明では、ラダープログラムを画面上に表示した際のピンチインやピンチアウトといったジェスチャ操作を検出し、その操作が行われた位置と、その位置に表示されているもの(接続線、接点など)から実施する編集操作を判定して、ラダープログラムをより簡単な操作によって編集することを可能としている。   In the present invention, a gesture operation such as pinch-in and pinch-out when a ladder program is displayed on the screen is detected, and the position where the operation is performed and the one displayed at the position (connection line, contact, etc.) The editing operation to be performed is determined, and the ladder program can be edited by a simpler operation.

以下では、ラダープログラムを構成するラダー回路の1つに対して接点を挿入する編集を行う状況を例として、従来技術と本発明の違いを説明する。
図1は、従来技術におけるツールバーインタフェースを用いたラダー回路の編集操作の例である。図1(a)に示すラダー回路に対して、接点S1と接点S2の間に新たな接点T1を挿入する場合、従来のマウスを用いたツールバー操作では以下ようなの手順で操作するのが一般的である。
In the following, the difference between the prior art and the present invention will be described by taking as an example a situation where editing is performed by inserting a contact into one of the ladder circuits constituting the ladder program.
FIG. 1 is an example of a ladder circuit editing operation using a toolbar interface in the prior art. When a new contact T1 is inserted between the contact S1 and the contact S2 with respect to the ladder circuit shown in FIG. 1A, the conventional toolbar operation using a mouse is generally operated in the following procedure. It is.

●ステップ1:ツールバーなどから挿入するものとして接点を選択する(図1(b))
●ステップ2:接点S1と接点S2の間の位置をマウスでクリックする(図1(c))
●ステップ3:クリックした位置に接点が挿入される(図1(d))
●ステップ4:挿入した接点が参照する信号を示す名称T1をキーボードから入力する(図1(e))
● Step 1: Select a contact to insert from the tool bar (Fig. 1 (b))
Step 2: Click the position between the contacts S1 and S2 with the mouse (FIG. 1 (c)).
Step 3: A contact is inserted at the clicked position (FIG. 1 (d))
Step 4: Name T1 indicating the signal referred to by the inserted contact is input from the keyboard (FIG. 1 (e)).

また、図2は、従来技術におけるコンテキストメニュー(右クリックメニュー)インタフェースを用いたラダー回路の編集例である。図1の場合と同様に、図1(a)に示すラダー回路に対して、接点S1と接点S2の間に新たな接点T1を挿入する場合の手順を以下に示す。   FIG. 2 is an example of editing a ladder circuit using a context menu (right click menu) interface in the prior art. As in the case of FIG. 1, a procedure for inserting a new contact T1 between the contact S1 and the contact S2 in the ladder circuit shown in FIG.

●ステップ1:接点S1と接点S2の間の位置をマウスで右クリックする(図2(a))
●ステップ2:表示されたコンテキストメニューから、A接点を挿入するメニューを選択する(図2(b))
●ステップ3:接点S1と接点S2の間に新しい接点が挿入される(図2(c))
●ステップ4:挿入した接点が参照する信号を示す名称T1をキーボードから入力する(図2(d))
Step 1: Right-click the position between the contact S1 and the contact S2 with the mouse (FIG. 2 (a))
Step 2: Select the menu for inserting the A contact from the displayed context menu (FIG. 2 (b)).
Step 3: A new contact is inserted between the contacts S1 and S2 (FIG. 2 (c)).
Step 4: Name T1 indicating the signal referred to by the inserted contact is input from the keyboard (FIG. 2 (d)).

これに対して本発明では、図3に示すように、接点が挿入されるところまでを1つのジェスチャ操作(ピンチアウト)で指示することが可能となる。本発明において、図1の場合と同様に、図1(a)に示すラダー回路に対して、接点S1と接点S2の間に新たな接点T1を挿入する場合の手順を以下に示す。   On the other hand, in the present invention, as shown in FIG. 3, it is possible to instruct until the contact is inserted by one gesture operation (pinch out). In the present invention, the procedure for inserting a new contact T1 between the contact S1 and the contact S2 in the ladder circuit shown in FIG.

●ステップ1:接点S1と接点S2の間の位置を2本の指、例えば人差し指と親指でタッチする(図3(a))
●ステップ2:タッチしたまま2本の指を横方向に広げる(ピンチアウト)(図3(b))
●ステップ3:接点S1と接点S2の間に新しい接点が挿入される(図3(c))
●ステップ4:挿入した接点が参照する信号を示す名称T1をキーボードから入力する(図3(d))
Step 1: Touch the position between the contact S1 and the contact S2 with two fingers, for example, the index finger and the thumb (FIG. 3 (a)).
● Step 2: While touching, spread two fingers laterally (pinch out) (Figure 3 (b))
Step 3: A new contact is inserted between the contacts S1 and S2 (FIG. 3 (c)).
Step 4: Name T1 indicating a signal referred to by the inserted contact is input from the keyboard (FIG. 3 (d)).

上記例に示したように、従来技術と比較して、本発明ではより単純で直感的な操作で接点を挿入することができるようになるため、編集作業の効率化が期待できる。本発明により導入されるジェスチャ操作によるラダープログラムの編集では、前述の接点の挿入だけでなく、その操作が行われた状況に応じて、接点の削除、接続線の挿入や削除のように、様々な編集操作を実施することが可能である。   As shown in the above example, compared to the prior art, in the present invention, the contact can be inserted with a simpler and more intuitive operation, so that the efficiency of editing work can be expected. In the ladder program editing by the gesture operation introduced by the present invention, not only the above-described contact insertion, but also various operations such as contact deletion, connection line insertion and deletion, depending on the situation where the operation is performed. It is possible to perform various editing operations.

図4は、本発明の一実施形態におけるラダープログラム編集装置の要部ブロック図である。本実施形態のラダープログラム編集装置10は、CPU11、ROM12、RAM13、二次記憶装置14、タッチパネル15、表示器16、ネットワークインタフェース17、外部機器インタフェース18を備える。   FIG. 4 is a principal block diagram of a ladder program editing apparatus according to an embodiment of the present invention. The ladder program editing apparatus 10 of this embodiment includes a CPU 11, a ROM 12, a RAM 13, a secondary storage device 14, a touch panel 15, a display device 16, a network interface 17, and an external device interface 18.

ラダープログラム編集装置10が備えるCPU11は、ラダープログラム編集装置10を全体的に制御するプロセッサであり、ROM12に格納されたシステムプログラムをバスを介して読み出し、該システムプログラムに従ってラダープログラム編集装置10を制御する。RAM13には、一時的な計算データや表示器16に表示される表示データ、タッチパネル15や図示しないキーボードなどを介して入力された各種データを格納するワークメモリ領域と、編集対象となるラダープログラムなどのシーケンスプログラムを格納する領域が設けられている。   The CPU 11 provided in the ladder program editing apparatus 10 is a processor that controls the entire ladder program editing apparatus 10, reads a system program stored in the ROM 12 via a bus, and controls the ladder program editing apparatus 10 according to the system program. To do. The RAM 13 stores temporary calculation data, display data displayed on the display 16, a work memory area for storing various data input via the touch panel 15 or a keyboard (not shown), and a ladder program to be edited. An area for storing the sequence program is provided.

二次記憶装置14は、ハードディスク装置、メモリカード、USBメモリといった不揮発性の記憶装置や、バッテリバックアップされた不揮発性のメモリなどで構成され、ラダープログラム編集装置10が取り扱うラダープログラムなどのシーケンスプログラムや、設定ファイル、パラメータファイルなどの各種ファイルが記憶されている。   The secondary storage device 14 includes a nonvolatile storage device such as a hard disk device, a memory card, and a USB memory, a battery-backed nonvolatile memory, and the like, and a sequence program such as a ladder program handled by the ladder program editing device 10. Various files such as setting files and parameter files are stored.

タッチパネル15は、表示器16の表示画面に重ねて配置され、表示画面上に描画された画像に対する指先やペン先による接触操作、近接操作、押込操作などを検出する位置入力装置である。タッチパネル15は、指先やペン先により行われた操作の位置を検出することにより、タッチ操作、フリック、ピンチイン/アウトなどのジェスチャ操作などを検出することができる。なお、タッチパネル15は、図に示すように表示器16と別の装置として構成することもできるが、表示器16と1つの装置として構成するようにしてもよい。   The touch panel 15 is a position input device that is arranged so as to overlap the display screen of the display 16 and detects a touch operation, a proximity operation, a push operation, and the like with a fingertip or a pen tip on an image drawn on the display screen. The touch panel 15 can detect a gesture operation such as a touch operation, a flick, and a pinch in / out by detecting a position of an operation performed with a fingertip or a pen tip. The touch panel 15 can be configured as a separate device from the display 16 as shown in the figure, but may be configured as a single device with the display 16.

ネットワークインタフェース17には、LANやWANなどのネットワークが接続されており、該ネットワークインタフェース17を介して外部装置との間でラダープログラムなどのシーケンスプログラムの送受信を行う。
また、外部機器インタフェース18には、図示しないキーボードやマウスなどの入力装置や、ラダープログラム編集装置10と協働して動作する様々な外部機器が接続される。
A network such as a LAN or WAN is connected to the network interface 17, and a sequence program such as a ladder program is transmitted / received to / from an external device via the network interface 17.
The external device interface 18 is connected to input devices such as a keyboard and a mouse (not shown) and various external devices that operate in cooperation with the ladder program editing device 10.

以下に、本発明により導入される、ジェスチャ操作により様々な編集操作を実現する方法について説明する。
図5は、ラダープログラム編集装置10の二次記憶装置14に記憶される操作判定テーブルの例である。操作判定テーブルには、図5に示すように、行われた操作の種類を示す「操作種類」、および操作の状況を示す「操作方向」「操作対象」と、どのような編集を行うかを示す「編集操作」が関連付けられて記憶されている。なお、図5に示した操作判定テーブルの内容は一例であって、これら以外の操作種類や操作対象や、より細かい操作種類や操作対象の判定により、これら以外の編集操作を割り当てても構わない。
Hereinafter, a method of implementing various editing operations through gesture operations, which is introduced by the present invention, will be described.
FIG. 5 is an example of an operation determination table stored in the secondary storage device 14 of the ladder program editing device 10. In the operation determination table, as shown in FIG. 5, “operation type” indicating the type of operation performed, “operation direction” indicating the status of the operation, “operation target”, and what kind of editing is performed. The “editing operation” shown is associated and stored. Note that the content of the operation determination table shown in FIG. 5 is an example, and editing operations other than these may be assigned by determining other operation types and operation targets, or more detailed operation types and operation targets. .

本実施形態のラダープログラム編集装置10は、ラダープログラムの編集中に、ユーザによるタッチパネル15に対するタッチ操作やジェスチャ操作を検出すると、該操作の操作種類、および操作方向、操作対象などの操作状況に基づいて操作判定テーブルを参照して該当する編集操作を特定し、特定した編集操作を表示されているラダープログラムに対して実行する。   When the ladder program editing apparatus 10 according to the present embodiment detects a touch operation or a gesture operation on the touch panel 15 by the user during editing of the ladder program, the ladder program editing apparatus 10 is based on the operation status of the operation, the operation direction, the operation target, and the like. The corresponding operation is identified with reference to the operation determination table, and the identified editing operation is executed on the displayed ladder program.

図6は、本実施形態におけるラダープログラム編集装置10上でラダープログラムを編集する場面において、ジェスチャ操作を検出した際に実行されるフローチャートである。本処理により、ジェスチャ操作から実施すべき編集操作を求めることができる。
●[ステップSA01]タッチパネル15により検出されたジェスチャ操作を解析し、該ジェスチャ操作の「操作種類」と「操作方向」を特定する。
●[ステップSA02]ステップSA01で有効なジェスチャ操作として「操作種類」と「操作方法」の特定に成功した場合にはステップSA03へ進み、特定に失敗した場合には今周期における本処理を終了する。
FIG. 6 is a flowchart executed when a gesture operation is detected in a scene where a ladder program is edited on the ladder program editing apparatus 10 according to the present embodiment. With this process, an editing operation to be performed can be obtained from a gesture operation.
[Step SA01] The gesture operation detected by the touch panel 15 is analyzed, and the “operation type” and “operation direction” of the gesture operation are specified.
[Step SA02] If the “operation type” and “operation method” are successfully identified as effective gesture operations in step SA01, the process proceeds to step SA03. .

●[ステップSA03]タッチパネル15により検出されたジェスチャ操作の、操作開始時におけるタッチ位置の中点を求めて「操作位置」とする。
●[ステップSA04]ステップSA03で求めた「操作位置」が、表示器16に表示されているラダープログラムの表示領域内であるか否かを判定する。表示領域内である場合にはステップSA05へ進み、そうでない場合には今周期における本処理を終了する。
[Step SA03] The midpoint of the touch position at the start of the operation of the gesture operation detected by the touch panel 15 is obtained and set as the “operation position”.
[Step SA04] It is determined whether or not the “operation position” obtained in step SA03 is within the display area of the ladder program displayed on the display device 16. If it is within the display area, the process proceeds to step SA05. If not, the process in the current cycle is terminated.

●[ステップSA05]ステップSA01で特定した「操作種類」と「操作方向」、およびステップSA03で求めた「操作位置」に基づいて、後述する「操作対象」の判定処理を実行し、「操作対象」を特定する。
●[ステップSA06]ステップSA01で特定した「操作種類」と「操作方向」およびステップSA05で特定した「操作対象」に基づいて「操作判定テーブル」を検索する。
[Step SA05] Based on the “operation type” and “operation direction” identified in step SA01 and the “operation position” obtained in step SA03, the “operation object” determination process described later is executed, Is specified.
[Step SA06] The “operation determination table” is searched based on the “operation type” and “operation direction” specified in step SA01 and the “operation target” specified in step SA05.

●[ステップSA07]ステップSA06で、「操作判定テーブル」から合致するデータが検索されたか否かを判定する。合致するデータが検索された場合にはステップSA08へ進み、合致するデータが無かった場合には今周期における本処理を終了する。
●[ステップSA08]ステップSA06で検索されたデータにおける「編集操作」を、「操作対象」に対して実行する。
[Step SA07] In step SA06, it is determined whether or not matching data is retrieved from the “operation determination table”. If matching data is found, the process proceeds to step SA08, and if there is no matching data, the process in this cycle is terminated.
[Step SA08] The “editing operation” in the data retrieved in step SA06 is executed on the “operation target”.

図7は、図6のフローチャートにおけるステップSA05で呼び出される、「操作種類」、「操作方向」、および「操作位置」に基づいて「操作対象」を特定する処理のフローチャートである。
●[ステップSB01]ステップSA01で特定したジェスチャ操作の「操作方向」を判定する。
●[ステップSB02]ステップSB01で判定した「操作方向」が横方向か否かを判定する。「操作方向」が横方向である場合にはステップSB03へ進み、そうでない場合にはステップSB04へ進む。
FIG. 7 is a flowchart of processing for specifying “operation target” based on “operation type”, “operation direction”, and “operation position”, which is called in step SA05 in the flowchart of FIG.
[Step SB01] The “operation direction” of the gesture operation specified in step SA01 is determined.
[Step SB02] It is determined whether or not the “operation direction” determined in step SB01 is the horizontal direction. If the “operation direction” is the horizontal direction, the process proceeds to step SB03, and if not, the process proceeds to step SB04.

●[ステップSB03]ステップSA03で求めた「操作位置」に表示されている「横要素」(後述)を「操作対象」とする。
●[ステップSB04]ステップSA03で求めた「操作位置」に表示されている「縦要素」(後述)を「操作対象」とする。
[Step SB03] A “horizontal element” (described later) displayed in the “operation position” obtained in step SA03 is set as an “operation target”.
[Step SB04] The “vertical element” (described later) displayed in the “operation position” obtained in step SA03 is set as “operation target”.

ここで、「横要素」とはラダー回路図においてで横方向に接続された図形要素を表し、接点や横接続線、コイルなどが該当する。また「縦要素」とはラダー回路図において縦方向に接続された図形要素を表し、縦接続線が該当する。さらに「有意な要素がない」状態を表す「空白」も1つの要素となる。   Here, the “lateral element” represents a graphic element connected in the horizontal direction in the ladder circuit diagram, and corresponds to a contact, a horizontal connection line, a coil, or the like. The “vertical element” represents a graphic element connected in the vertical direction in the ladder circuit diagram, and corresponds to a vertical connection line. Furthermore, “blank” representing a state of “no significant element” is also an element.

「横要素」「縦要素」について、更に図8を用いて説明する。
例えば、図8(a)に示すラダー回路を要素に分解する場合、横の要素に分ける場合は、図8(b)に示す点線枠のように分解することができる。各点線枠の中にある接点、横接続線、コイル、および空白が要素となる。
一方、縦の要素に分ける場合は、図8(c)に示す点線枠のように分解することができる。各点線枠の中にある縦接続線が要素となる。このラダー回路の場合は網掛けのある枠だけが縦接続線が要素となり、他の枠の領域は空白となる。
The “horizontal element” and “vertical element” will be further described with reference to FIG.
For example, when the ladder circuit shown in FIG. 8A is decomposed into elements, when the ladder circuit is divided into horizontal elements, the ladder circuit can be decomposed like a dotted frame shown in FIG. The contacts, horizontal connection lines, coils, and blanks in each dotted line frame are elements.
On the other hand, when dividing into vertical elements, it can be decomposed like a dotted frame shown in FIG. The vertical connection line in each dotted line frame is an element. In the case of this ladder circuit, only the shaded frame is a vertical connection line, and the other frame areas are blank.

ステップSB03,ステップSB04の処理では、「操作方向」が横方向か縦方向かによって、上記のようにラダー回路をそれぞれ「横要素」または「縦要素」に分解し、「操作位置」が指し示す位置の点線枠に含まれる要素を「操作対象」として特定する。   In the processing of step SB03 and step SB04, the ladder circuit is decomposed into “horizontal element” or “vertical element” as described above depending on whether the “operation direction” is the horizontal direction or the vertical direction, and the position indicated by the “operation position” The elements included in the dotted frame are identified as “operation targets”.

以下では、本実施形態のラダープログラム編集装置10上で、一連のジェスチャ操作によりラダープログラムを編集する例を図9〜12を用いて示す。
図9(a)に示すラダー回路を編集する際に、図9(b)に示すように、接点Dの右に配置される接続線上で横方向にピンチイン操作を行う。この操作は、図5に示した「操作判定テーブル」に照らし合わせると、5番の条件に合致するため、該操作位置において「接続線の削除」処理が実行され、ラダー回路は図9(c)の様に変更される。
Hereinafter, an example in which a ladder program is edited by a series of gesture operations on the ladder program editing apparatus 10 of the present embodiment will be described with reference to FIGS.
When the ladder circuit shown in FIG. 9A is edited, as shown in FIG. 9B, a pinch-in operation is performed in the horizontal direction on the connection line arranged to the right of the contact D. Since this operation matches the condition No. 5 in comparison with the “operation determination table” shown in FIG. 5, the “connection line deletion” process is executed at the operation position, and the ladder circuit is shown in FIG. ) Is changed.

次に、図10(a)に示すラダー回路に対して、図10(b)に示すように、接点Bと接点Cの間の接続線から下に延びる縦の接続線上で縦方向にピンチイン操作を行う。この操作は、図5に示した「操作判定テーブル」に照らし合わせると、10番の条件に合致するため、該操作位置において「接続線の削除」処理が実行され、ラダー回路は図10(c)の様に変更される。   Next, with respect to the ladder circuit shown in FIG. 10A, as shown in FIG. 10B, a pinch-in operation is performed in the vertical direction on a vertical connection line extending downward from the connection line between the contact B and the contact C. I do. Since this operation matches the condition No. 10 in comparison with the “operation determination table” shown in FIG. 5, the “connection line deletion” process is executed at the operation position, and the ladder circuit is shown in FIG. ) Is changed.

更に、図11(a)に示すラダー回路に対して、図11(b)に示すように、接点Aと接点Bの間と接点Dの右側とから空白上で縦方向にピンチイン操作を行う。この操作は、図5に示した「操作判定テーブル」に照らし合わせると、9番の条件に合致するため、該操作位置において「接続線の挿入」処理が実行され、ラダー回路は図11(c)の様に変更される。   Furthermore, as shown in FIG. 11B, a pinch-in operation is performed on the ladder circuit shown in FIG. 11A vertically between the contact A and the contact B and the right side of the contact D in a blank space. Since this operation matches the condition No. 9 in comparison with the “operation determination table” shown in FIG. 5, the “insertion of connection line” process is executed at the operation position, and the ladder circuit is shown in FIG. ) Is changed.

そして、図12(a)に示すラダー回路に対して、図12(b)に示すように、接点Dの右半分の位置で横方向にピンチアウト操作を行う。この操作は、図5に示した「操作判定テーブル」に照らし合わせると、1番の条件に合致するため、該操作位置において「接点の右挿入」処理が実行され、ラダー回路は図12(c)の様に変更される。
最後に、挿入された設定に対してキーボードなどを操作して信号名称「F」を設定し、図12(d)に示すラダー回路が完成する。
Then, with respect to the ladder circuit shown in FIG. 12A, a pinch-out operation is performed in the lateral direction at the right half position of the contact D as shown in FIG. Since this operation matches the condition No. 1 in comparison with the “operation determination table” shown in FIG. 5, the “contact right insertion” process is executed at the operation position, and the ladder circuit is shown in FIG. ) Is changed.
Finally, the signal name “F” is set by operating the keyboard or the like for the inserted setting, and the ladder circuit shown in FIG. 12D is completed.

以上、本発明の実施の形態について説明したが、本発明は上述した実施の形態の例に限定されることなく、適宜の変更を加えることにより様々な態様で実施することができる。
例えば、このようなジェスチャ操作によるラダープログラムの編集操作は、先述の「操作判定テーブル」の内容によって、様々な操作体系を定義することができる。例として挙げた「操作種類」「操作方向」「操作対象」だけでなく、操作の起点や動かし方(例えば、フリック、片方のタッチ位置は固定して一方のみを動かす、指をレの字に弾く等)によってより多彩な操作を定義した操作判定テーブルを構築するようにしてもよいし、また、「操作方向」が不要な「操作種類」を用いるのであれば、「操作方向」の項目を省略した簡易な操作判定テーブルとするようにしてもよい。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and can be implemented in various modes by making appropriate modifications.
For example, the ladder program editing operation by such a gesture operation can define various operation systems depending on the contents of the above-described “operation determination table”. In addition to the “operation type”, “operation direction”, and “operation target” given as examples, the starting point of the operation and how to move it (for example, flick, one touch position is fixed and only one is moved, the finger is changed to a letter If you use an “operation type” that does not require “operation direction”, you can set the “operation direction” item to A simple operation determination table may be omitted.

10 ラダープログラム編集装置
11 CPU
12 ROM
13 RAM
14 二次記憶装置
15 タッチパネル
16 表示器
17 ネットワークインタフェース
18 外部機器インタフェース
10 Ladder program editing device 11 CPU
12 ROM
13 RAM
14 Secondary Storage Device 15 Touch Panel 16 Display 17 Network Interface 18 External Device Interface

Claims (2)

ユーザによる操作に基づいてラダープログラムを編集するラダープログラム編集装置において、
前記ラダープログラムを表示する表示手段と、
前記表示手段により表示された前記ラダープログラムに対するユーザによるジェスチャ操作を検出するジェスチャ操作検出手段と、
前記ジェスチャ操作を解析し、少なくとも前記ジェスチャ操作の操作種類、および前記ジェスチャ操作の対象となる操作対象を特定するジェスチャ操作解析手段と、
前記操作種類および前記操作対象に基づいて、前記操作対象に対する編集操作を特定する編集操作特定手段と、
前記操作対象に対して前記編集操作を実行する編集手段と、
を備えたことを特徴とするラダープログラム編集装置。
In a ladder program editing device that edits a ladder program based on a user operation,
Display means for displaying the ladder program;
Gesture operation detection means for detecting a gesture operation by a user for the ladder program displayed by the display means;
A gesture operation analyzing means for analyzing the gesture operation and identifying at least an operation type of the gesture operation and an operation target to be the gesture operation;
An editing operation specifying means for specifying an editing operation for the operation object based on the operation type and the operation object;
Editing means for executing the editing operation on the operation target;
A ladder program editing apparatus comprising:
前記ジェスチャ操作解析手段は、更に前記操作種類に対応する操作方向を特定し、
前記編集操作特定手段は、前記操作種類、前記操作方向および前記操作対象に基づいて、前記操作対象に対する編集操作を特定する、
ことを特徴とする請求項1に記載のラダープログラム編集装置。
The gesture operation analysis means further specifies an operation direction corresponding to the operation type,
The editing operation specifying means specifies an editing operation for the operation target based on the operation type, the operation direction, and the operation target;
The ladder program editing apparatus according to claim 1.
JP2015023908A 2015-02-10 2015-02-10 Ladder program edition device enabling edition with gesture operation of touch panel Pending JP2016148887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015023908A JP2016148887A (en) 2015-02-10 2015-02-10 Ladder program edition device enabling edition with gesture operation of touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015023908A JP2016148887A (en) 2015-02-10 2015-02-10 Ladder program edition device enabling edition with gesture operation of touch panel

Publications (1)

Publication Number Publication Date
JP2016148887A true JP2016148887A (en) 2016-08-18

Family

ID=56687931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015023908A Pending JP2016148887A (en) 2015-02-10 2015-02-10 Ladder program edition device enabling edition with gesture operation of touch panel

Country Status (1)

Country Link
JP (1) JP2016148887A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018190133A (en) * 2017-05-01 2018-11-29 ファナック株式会社 Ladder program editing apparatus
JP2020170266A (en) * 2019-04-01 2020-10-15 ファナック株式会社 Ladder display device
WO2024014364A1 (en) * 2022-07-15 2024-01-18 オムロン株式会社 Ladder program editing device, editing method, and editing program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018190133A (en) * 2017-05-01 2018-11-29 ファナック株式会社 Ladder program editing apparatus
JP2020170266A (en) * 2019-04-01 2020-10-15 ファナック株式会社 Ladder display device
CN111796813A (en) * 2019-04-01 2020-10-20 发那科株式会社 Ladder diagram display device
JP7021146B2 (en) 2019-04-01 2022-02-16 ファナック株式会社 Ladder display device
US11360454B2 (en) 2019-04-01 2022-06-14 Fanuc Corporation Ladder display device for circuit generation using touch panel
WO2024014364A1 (en) * 2022-07-15 2024-01-18 オムロン株式会社 Ladder program editing device, editing method, and editing program

Similar Documents

Publication Publication Date Title
US9354707B2 (en) Combination color and pen palette for electronic drawings
CA2838165A1 (en) Method for manipulating tables on an interactive input system and interactive input system executing the method
JP2019514097A (en) Method for inserting characters in a string and corresponding digital device
US20140129931A1 (en) Electronic apparatus and handwritten document processing method
JP6212074B2 (en) Ladder program editor that can display the nearest net comment
CN102937864A (en) Method and device for determining selected texts on touch terminals
TW201508428A (en) Program for compiling program
JP2004342101A (en) Data processing device and method
US20160364367A1 (en) Information processing device for editing electronic data by touch operations
CN106951168B (en) Word processing method and mobile terminal
JP2016148887A (en) Ladder program edition device enabling edition with gesture operation of touch panel
JP5780409B2 (en) Display control apparatus and program
JP2008101960A (en) Display control apparatus, display control method and display control program
JP6330348B2 (en) Information processing device
JPH0683522A (en) Coordinate input system
JP2014195202A (en) Symbol inputting device and program
JP6160115B2 (en) Information processing apparatus, presentation material optimization method, and program
KR20150049716A (en) Method and apparatus for changing a displaying magnification of an object on touch-screen display
JP2015197796A (en) Electronic whiteboard device, method of assisting input to electronic whiteboard, and program
CN103941999B (en) A kind of information processing method and electronic equipment
JP2001195170A (en) Portable electronic equipment, input controller and storage medium
KR20220088944A (en) Command display control method, command display control program, and apparatus therefor
US11170155B2 (en) Document processing apparatus and non-transitory computer readable medium
KR102094478B1 (en) Method and apparatus of controlling display using control pad, and server that distributes computer program for executing the method
CN105302466A (en) Text operation method and terminal