WO2013073023A1 - Sequence program creation device - Google Patents

Sequence program creation device Download PDF

Info

Publication number
WO2013073023A1
WO2013073023A1 PCT/JP2011/076404 JP2011076404W WO2013073023A1 WO 2013073023 A1 WO2013073023 A1 WO 2013073023A1 JP 2011076404 W JP2011076404 W JP 2011076404W WO 2013073023 A1 WO2013073023 A1 WO 2013073023A1
Authority
WO
WIPO (PCT)
Prior art keywords
gesture
sequence program
input
editing
pointing device
Prior art date
Application number
PCT/JP2011/076404
Other languages
French (fr)
Japanese (ja)
Inventor
孝行 山岡
康輝 太田
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2011/076404 priority Critical patent/WO2013073023A1/en
Publication of WO2013073023A1 publication Critical patent/WO2013073023A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13044Display as flow chart, SFC, FUP

Definitions

  • the present invention relates to a sequence program creation device.
  • Ladder is known as one of description methods of a sequence program executed by a programmable logic controller (PLC). Since ladders are easy to understand from the appearance, ladders are widely used when writing PLC programs.
  • PLC programmable logic controller
  • the processing is often a device value reference (sensor value reading, etc.) and a change (switch ON / OFF, etc.).
  • a method of using a mouse there is a method of searching for a symbol from a symbol list (toolbar, component selection window, etc.), selecting it with a pointer (mouse cursor), and placing the symbol on a ladder program.
  • Pointing devices can be broadly classified into methods that move the pointer (mouse, trackball, touchpad, etc.) and methods that specify the position (coordinates) on the screen (touch panel, pen tablet (graphics tablet, etc.)). .
  • the former is referred to as “pointer movement type” and the latter is referred to as “coordinate designation type”.
  • the ladder program Specify where to place the symbol.
  • Patent Document 1 An information processing apparatus that performs editing processing based on an editing command associated with a line drawing drawn by a drawing input means is known (see, for example, Patent Document 1).
  • Patent Document 1 must draw a line drawing on information on the screen. Therefore, when the invention described in Patent Document 1 is applied to the creation of a ladder program, the pointer must be moved one by one when the pointing device is a pointer movement type, and the position at which an operation is performed one by one in the case of a coordinate designation type. Since it must be changed, there arises a problem that it is difficult to input symbols quickly.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a sequence program creation device capable of quickly inputting symbols with a small amount of operation.
  • the present invention provides a sequence program creation device for creating a sequence program by causing a user to perform an operation for editing a sequence program executed by a programmable logic controller on an editor screen.
  • a rule storage unit that stores a gesture table that associates a gesture by an operation using a pointing device and an action indicating an editing content for the sequence program, and a gesture mode in which the sequence program is edited using the gesture
  • an operation using a pointing device is performed
  • an input processing unit that identifies a gesture corresponding to the performed operation based on a gesture table stored in the rule storage unit, and an input processing unit
  • An edit control unit that edits the sequence program according to the editing content indicated by the action associated with the gesture, and a display control unit that displays the sequence program after being edited by the edit control unit on the editor screen.
  • the sequence program creation device has an effect that the movement amount of a mouse or a finger when inputting a symbol is small and the sequence program can be edited quickly.
  • FIG. 1 is a diagram showing a ladder program creation device as a first embodiment of a sequence program creation device according to the present invention.
  • FIG. 2 is a diagram illustrating an example of a gesture table stored in the rule storage unit.
  • FIG. 3 is a flowchart illustrating an example of the flow of symbol input processing using a gesture.
  • FIG. 4 is a diagram showing an example of a ladder created by the sequence program creation device and displayed on the editor screen.
  • FIG. 5 is a diagram showing the operation contents and ladder transitions when creating a ladder.
  • FIG. 6 is a diagram showing the operation contents and ladder transitions when creating a ladder.
  • FIG. 7A is a diagram schematically illustrating the amount of mouse movement during ladder creation.
  • FIG. 7B is a diagram schematically illustrating the amount of mouse movement during ladder creation.
  • FIG. 8 is a diagram illustrating an example of a gesture table stored in the rule storage unit.
  • FIG. 9 is a diagram showing a configuration of an SFC program creation device as a third embodiment of the sequence program creation device according to the present invention.
  • FIG. 10 is a diagram illustrating an example of a gesture table stored in the rule storage unit.
  • FIG. 1 is a diagram showing a ladder program creation device as a first embodiment of a sequence program creation device according to the present invention.
  • the ladder program creation device 10 is a grid-type ladder program creation device in which cells into which symbols are input are arranged in a grid pattern, and a cell on which a cursor is arranged is a symbol input position.
  • the ladder program creation device 10 includes an input unit 1, a control unit 2, a display unit 3, a storage unit 4, and a rule storage unit 5.
  • the input unit 1 is a user interface for a user to perform an operation, and is a pointer movement type pointing device. In the following description, it is assumed that the input unit 1 is a mouse, but other types of pointer movement type pointing devices can also be applied.
  • the display unit 3 is a device that displays an editor screen 30 for editing the ladder 60, and an LCD, an organic liquid crystal panel, or the like is applicable.
  • the storage unit 4 includes a storage area that the control unit 2 uses as a work area, and stores data of a program (ladder program) created by editing the ladder 60.
  • the rule storage unit 5 stores, in a nonvolatile manner, a gesture table 50 that defines gesture rules (correspondence between gestures and actions (edit contents for ladders)).
  • the control unit 2 includes an input processing unit 21, an edit control unit 22, and a display control unit 23.
  • the input processing unit 21 performs processing for specifying a gesture performed via the input unit 1.
  • an operation “input” within “a certain period” is recognized as one gesture.
  • “a certain period” is a time during which the right button of the mouse is pressed
  • “input” is a moving direction of the mouse (a direction designated by a mouse operation) and its order.
  • the edit control unit 22 performs processing for assigning an action to the gesture specified by the input processing unit 21 and processing for executing the action. When assigning an action, the gesture is converted into an action by referring to the gesture table 50 stored in the rule storage unit 5.
  • the edit control unit 22 also performs processing similar to that of a conventional ladder program creation device such as movement of a pointer.
  • the display control unit 23 causes the ladder unit 60 to display the editor screen 30 on the display unit 3 by reflecting a change caused by input of a symbol or movement of the cursor according to the action executed by the editing control unit 22.
  • FIG. 2 is a diagram illustrating an example of a gesture table stored in the rule storage unit 5.
  • the arrows in the gesture column of the gesture table 50 indicate the order of the direction specified by the mouse operation. For example, the gesture in the fifth column from the top first performs the operation of specifying the upward direction and then moves the right direction. This means that a series of operations for performing a specified operation is defined as one gesture.
  • the action indicates the processing contents for the ladder, and the action in which only the symbol name is displayed indicates that the process of inputting the symbol to the input position is performed. For example, the action “a contact” means inputting an a contact at the input position.
  • gestures for inputting symbols are all defined to start from an operation for designating an upward direction.
  • the gesture is defined so that the user can input the b-contact by performing an operation of designating the upward direction and then performing an operation of designating the left direction.
  • the editing control unit 22 does not perform a process of moving the pointer. For example, during an operation for inputting a gesture, even if the mouse is moved to the right as an operation for designating the right direction, the pointer does not move in the right direction.
  • the gesture rules shown in the gesture table 50 of FIG. 2 are an example, and it is possible to define different gestures. It is also possible to assign a plurality of symbol inputs to one gesture. For example, it is possible to assign an action for inputting both the a contact and the coil to one gesture. It is also possible to assign multiple actions to the same gesture. In this case, after specifying the gesture, it is preferable that the action candidates are displayed on the editor screen 30 in a pop-up screen so that the user can select an action to be executed. Furthermore, the operability can be improved by allowing the user to set the rules of the gesture by himself / herself.
  • FIG. 3 is a flowchart showing an example of the flow of symbol input processing using gestures.
  • the input processing unit 21 checks whether or not it is in a mode for inputting a symbol with a gesture (gesture mode) (step S1).
  • the gesture mode is ON while the right mouse button is pressed, and the gesture mode is OFF when the right mouse button is released, and is performed while the right mouse button is pressed.
  • a series of mouse operations is treated as one gesture. That is, the gesture is fixed when the right button of the mouse is released.
  • step S6 If the gesture mode is not ON (step S1 / No), the editing control unit 22 performs normal mouse operation processing such as movement of the pointer and selection of an object indicated by the pointer in accordance with the mouse operation (step S6). ), The process is terminated.
  • the input processing unit 21 refers to the gesture table 50 stored in the rule storage unit 5 (step S2) until the time when the gesture mode is turned off.
  • the type of gesture is specified with the series of operations as one gesture (step S3).
  • the edit control unit 22 executes an action corresponding to the gesture specified by the input processing unit 21 (step S4). For example, when only the mouse operation for designating the upward direction is performed, the contact a is input to the input position. When a mouse operation for designating the left direction is performed following a mouse operation for designating the up direction, the b contact is input to the input position.
  • the display control unit 23 creates a ladder after the editing control unit 22 executes the action corresponding to the gesture, and displays the ladder on the display unit 3 (step S5).
  • FIG. 4 is a diagram showing an example of a ladder 60 that is created by the sequence program creation device 10 and displayed on the editor screen 30.
  • An operation for creating the ladder 60 shown in FIG. 4 will be described on the assumption that the gesture table 50 shown in FIG. 2 is stored in the rule storage unit 5.
  • FIG. 5 and FIG. 6 are diagrams showing the operation contents at the time of creating the ladder and the transition of the ladder 60.
  • a cell is specified by a combination of a column number (A to H) and a row number (1 to 3).
  • the shaded cell represents the cell where the cursor is placed and which is the input position.
  • the parentheses in the arrow indicate the content of the gesture.
  • the ladder 60 shown in FIG. 4 is completed by the above eight operations.
  • the pointer after the pointer is first moved on the cell A1, the pointer does not move from the cell A1 while inputting by a gesture. That is, the symbols are input to the cells B1 and C2 with the pointer positioned on the cell A1.
  • the gesture mode is turned on while the right button of the mouse is pressed.
  • the gesture mode can be turned on by clicking the right button of the mouse.
  • the gesture mode is turned off and the gesture is determined.
  • FIG. 7A and 7B are diagrams schematically showing the amount of mouse movement during ladder creation.
  • FIG. 7A shows the amount of mouse movement in the conventional ladder program creation device
  • FIG. 7B shows the amount of mouse movement in the ladder program creation device 10 according to the present exemplary embodiment.
  • the larger the arrow in the figure the greater the amount of mouse movement.
  • Embodiment 2 In the ladder program creation device of the second embodiment of the sequence program creation device according to the present invention, the input unit 1 is a coordinate designation type pointing device. In the following description, it is assumed that the input unit 1 is a touch panel.
  • FIG. 8 is a diagram illustrating an example of the gesture table 50 stored in the rule storage unit 5.
  • the gesture mode is turned on.
  • a gesture is confirmed by performing a tap operation, and the gesture mode is turned off.
  • a symbol of the a contact can be input by performing a tap operation after moving two fingers down on the touch panel.
  • a b-contact symbol can be input by performing a tap operation after drawing a diagonal line.
  • a symbol of an application instruction can be input by performing a tap operation after drawing a square on the touch panel.
  • the gesture table in FIG. 8 is merely an example, and it is possible to use different gestures.
  • Embodiment 1 unlike Embodiment 1, it is not possible to give meaning to the direction specified when inputting a gesture, so the user needs to remember all the gestures. For this reason, when an input operation common to a plurality of gestures is performed, a display that suggests an input operation that can be continuously executed may be performed until the gesture is confirmed. For example, if an operation to move two fingers down on the touch panel is performed, a diagonal line is displayed as a dotted line between the two lines until the tap operation is performed, and then a diagonal line is displayed. It is possible to suggest that input is possible.
  • a touch panel capable of multi-touch is taken as an example.
  • a touch panel or a pen tablet that does not support multi-touch is used as the input unit 1
  • a double-line gesture is performed by continuing a vertical line twice. It is also possible to correspond to the drawing operation.
  • an intuitive operation is possible by defining a gesture having a shape close to the input symbol in the gesture table.
  • FIG. 9 is a diagram showing a configuration of an SFC (Sequential Function Chart) program creation apparatus according to the third embodiment of the sequence program creation apparatus of the present invention.
  • the SFC program creation device 20 is a grid-type SFC program creation device in which cells into which symbols are input are arranged in a grid pattern, and a cell on which a cursor is arranged is a symbol input position.
  • the SFC program creation device 20 includes an input unit 91, a control unit 92, a display unit 93, a storage unit 94, and a rule storage unit 95.
  • the input unit 91 is the same as the input unit 1 of the first embodiment.
  • the display unit 93 is a device that displays an editor screen 930 for editing the SFC 960.
  • the storage unit 94 includes a storage area used as a work area by the control unit 92, and stores data of a program (SFC program) created by editing the SFC 960.
  • the rule storage unit 95 stores a gesture table 950 that defines gesture rules in a nonvolatile manner.
  • the control unit 92 includes an input processing unit 921, an edit control unit 922, and a display control unit 923. These are the same as the input processing unit 21, the edit control unit 22, and the display control unit 23 of the first embodiment.
  • FIG. 10 is a diagram illustrating an example of a gesture table stored in the rule storage unit 95.
  • the arrows in the gesture column of the gesture table 950 indicate the order of directions specified by the mouse operation.
  • processing for inserting and deleting symbols in SFC such as steps, transitions, branches, and convergence is defined.
  • the operation flow of the SFC program creation device 20 according to the present embodiment is the same as that of the ladder program creation device 10 of the first embodiment, and the gesture mode is ON. If so, the SFC 960 on the editor screen 930 is edited by executing an action corresponding to the gesture. Thereby, the amount of mouse movement at the time of SFC program creation can be reduced, and the program creation speed can be improved.
  • the present invention can be implemented as an SFC program creation device using a coordinate designation type pointing device.
  • sequence program creation device is useful in that the amount of movement of a mouse, a finger, and the like is small and the program creation speed can be improved. Is suitable.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The present invention is provided with: a rule recording unit (5) that records a gesture table (50) that associates gestures resulting from operations using an input unit (1) with actions indicating the contents of editing a sequence program; an input processing unit (21) that, when there has been an operation using the input unit (1) when in a gesture mode for editing a sequence program using gestures, specifies a gesture corresponding to the performed operation on the basis of the gesture table (50) recorded at the rule recording unit (5); an editing control unit (22) that edits the sequence program in accordance with the editing contents indicated by the action associated with the gesture specified by the input processing unit (21); and a display control unit (23) that displays the sequence program after the editing by the editing control unit (22) at an editor window (30).

Description

シーケンスプログラム作成装置Sequence program creation device
 本発明は、シーケンスプログラム作成装置に関する。 The present invention relates to a sequence program creation device.
 プログラマブルロジックコントローラ(PLC)で実行されるシーケンスプログラムの記述方式の一つとしてラダーが知られている。ラダーは、見た目から理解しやすいため、PLCのプログラムを記述する際に広く使用されている。 Ladder is known as one of description methods of a sequence program executed by a programmable logic controller (PLC). Since ladders are easy to understand from the appearance, ladders are widely used when writing PLC programs.
 ラダープログラムは、FA機器を制御することを目的とするため、処理は多くの場合デバイス値の参照(センサ値の読み取りなど)と変更(スイッチの入切など)である。 Since the ladder program is intended to control the FA device, the processing is often a device value reference (sensor value reading, etc.) and a change (switch ON / OFF, etc.).
 従来のラダーエディタにおいては、ラダーを構成する部品(以下、シンボルと称する。)をラダーエディタ上へ配置する場合の入力操作として、キーボードを用いる方法とマウスを用いる方法とがある。 In the conventional ladder editor, there are a method of using a keyboard and a method of using a mouse as input operations when parts (hereinafter referred to as symbols) constituting a ladder are arranged on the ladder editor.
 キーボードを用いる方法としては、シンボルに対応したファンクションキーを押下する方法と、ラダーエディタ上でシンボル名をキー入力する方法とがある。 There are two methods of using the keyboard: a method of pressing a function key corresponding to a symbol, and a method of keying in a symbol name on a ladder editor.
 また、マウスを用いる方法としては、シンボルの一覧(ツールバーや部品選択ウィンドウなど)からシンボルを探し、ポインタ(マウスカーソル)で選択し、ラダープログラム上へシンボルを配置する方法がある。なお、ポインティングデバイスは、ポインタを移動させる方式(マウス、トラックボール、タッチパッドなど)と、画面上の位置(座標)を指定する方式(タッチパネル、ペンタブレット(graphics tablet)など)とに大別できる。便宜上、以下の説明においては前者を「ポインタ移動型」、後者を「座標指定型」と称して区別する。座標指定型のポインティングデバイスを用いて入力操作を行う場合でも、操作の内容はマウスを用いる場合と同様であり、シンボルの一覧からシンボルを探した所望のシンボルの位置を指定した後に、ラダープログラム上のシンボルを配置する位置を指定する。 Also, as a method of using a mouse, there is a method of searching for a symbol from a symbol list (toolbar, component selection window, etc.), selecting it with a pointer (mouse cursor), and placing the symbol on a ladder program. Pointing devices can be broadly classified into methods that move the pointer (mouse, trackball, touchpad, etc.) and methods that specify the position (coordinates) on the screen (touch panel, pen tablet (graphics tablet, etc.)). . For convenience, in the following description, the former is referred to as “pointer movement type” and the latter is referred to as “coordinate designation type”. Even when an input operation is performed using a coordinate-designated pointing device, the content of the operation is the same as when using a mouse. After specifying the position of the desired symbol from the symbol list, the ladder program Specify where to place the symbol.
 マウスを代表とするポインティングデバイスによる操作の問題点は、ユーザが入力したいシンボル名が分かっていたとしても、シンボルの一覧から対象のシンボルを探す必要があり、シンボルを入力する時の操作量(ポインタや指の移動量)が多くなるため、素早くプログラミングできないことである。 The problem with the operation of a pointing device represented by a mouse is that even if the user wants to know the name of the symbol that he wants to input, it is necessary to search for the target symbol from a list of symbols. And the amount of finger movement), it is impossible to program quickly.
 また、描画用の入力手段により描かれる線画に対応付けられた編集命令に基づいて編集処理を行う情報処理装置が知られている(例えば特許文献1参照。)。 Also, an information processing apparatus that performs editing processing based on an editing command associated with a line drawing drawn by a drawing input means is known (see, for example, Patent Document 1).
特開平06-149467号公報Japanese Patent Laid-Open No. 06-149467
 しかしながら、上記特許文献1に記載の発明は、画面上の情報に重ねて線画を描画しなければならない。したがって、特許文献1に記載の発明をラダープログラムの作成に適用する場合、ポインティングデバイスがポインタ移動型であると逐一ポインタを移動させなければならないし、座標指定型の場合は操作を行う位置を逐一変えなければならないため、シンボルの入力を素早く行うことが難しいという問題が生じる。 However, the invention described in Patent Document 1 must draw a line drawing on information on the screen. Therefore, when the invention described in Patent Document 1 is applied to the creation of a ladder program, the pointer must be moved one by one when the pointing device is a pointer movement type, and the position at which an operation is performed one by one in the case of a coordinate designation type. Since it must be changed, there arises a problem that it is difficult to input symbols quickly.
 本発明は、上記に鑑みてなされたものであって、少ない操作量でシンボルの入力を素早く行えるシーケンスプログラム作成装置を得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a sequence program creation device capable of quickly inputting symbols with a small amount of operation.
 上述した課題を解決し、目的を達成するために、本発明は、プログラマブルロジックコントローラで実行されるシーケンスプログラムを編集する操作をエディタ画面上でユーザに行わせてシーケンスプログラムを作成するシーケンスプログラム作成装置であって、ポインティングデバイスを用いた操作によるジェスチャーと、シーケンスプログラムに対する編集内容を示すアクションとを関連づけたジェスチャーテーブルを記憶する規則記憶部と、ジェスチャーを利用してシーケンスプログラムの編集を行うジェスチャーモード中にポインティングデバイスを用いた操作が行われた場合に、行われた操作に対応するジェスチャーを規則記憶部に記憶されているジェスチャーテーブルに基づいて特定する入力処理部と、入力処理部が特定したジェスチャーに関連付けられたアクションが示す編集内容に応じてシーケンスプログラムを編集する編集制御部と、編集制御部が編集した後のシーケンスプログラムをエディタ画面に表示させる表示制御部と、を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a sequence program creation device for creating a sequence program by causing a user to perform an operation for editing a sequence program executed by a programmable logic controller on an editor screen. A rule storage unit that stores a gesture table that associates a gesture by an operation using a pointing device and an action indicating an editing content for the sequence program, and a gesture mode in which the sequence program is edited using the gesture When an operation using a pointing device is performed, an input processing unit that identifies a gesture corresponding to the performed operation based on a gesture table stored in the rule storage unit, and an input processing unit An edit control unit that edits the sequence program according to the editing content indicated by the action associated with the gesture, and a display control unit that displays the sequence program after being edited by the edit control unit on the editor screen. To do.
 本発明にかかるシーケンスプログラム作成装置は、シンボルを入力する際のマウスや指の移動量が少なく、シーケンスプログラムの編集を素早く行うことができるという効果を奏する。 The sequence program creation device according to the present invention has an effect that the movement amount of a mouse or a finger when inputting a symbol is small and the sequence program can be edited quickly.
図1は、本発明にかかるシーケンスプログラム作成装置の実施の形態1としてのラダープログラム作成装置を示す図である。FIG. 1 is a diagram showing a ladder program creation device as a first embodiment of a sequence program creation device according to the present invention. 図2は、規則記憶部に記憶されるジェスチャーテーブルの一例を示す図である。FIG. 2 is a diagram illustrating an example of a gesture table stored in the rule storage unit. 図3は、ジェスチャーによるシンボル入力処理の流れの一例を示すフローチャートである。FIG. 3 is a flowchart illustrating an example of the flow of symbol input processing using a gesture. 図4は、シーケンスプログラム作成装置によって作成されてエディタ画面上に表示されるラダーの一例を示す図である。FIG. 4 is a diagram showing an example of a ladder created by the sequence program creation device and displayed on the editor screen. 図5は、ラダー作成時の操作内容とラダーの遷移とを示す図である。FIG. 5 is a diagram showing the operation contents and ladder transitions when creating a ladder. 図6は、ラダー作成時の操作内容とラダーの遷移とを示す図である。FIG. 6 is a diagram showing the operation contents and ladder transitions when creating a ladder. 図7Aは、ラダー作成時のマウス移動量を模式的に示す図である。FIG. 7A is a diagram schematically illustrating the amount of mouse movement during ladder creation. 図7Bは、ラダー作成時のマウス移動量を模式的に示す図である。FIG. 7B is a diagram schematically illustrating the amount of mouse movement during ladder creation. 図8は、規則記憶部に記憶されるジェスチャーテーブルの一例を示す図である。FIG. 8 is a diagram illustrating an example of a gesture table stored in the rule storage unit. 図9は、本発明にかかるシーケンスプログラム作成装置の実施の形態3としてのSFCプログラム作成装置の構成を示す図である。FIG. 9 is a diagram showing a configuration of an SFC program creation device as a third embodiment of the sequence program creation device according to the present invention. 図10は、規則記憶部に記憶されるジェスチャーテーブルの一例を示す図である。FIG. 10 is a diagram illustrating an example of a gesture table stored in the rule storage unit.
 以下に、本発明にかかるシーケンスプログラム作成装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, an embodiment of a sequence program creation device according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
 図1は、本発明にかかるシーケンスプログラム作成装置の実施の形態1としてのラダープログラム作成装置を示す図である。ラダープログラム作成装置10は、シンボルが入力されるセルが格子状に配列され、カーソルの配置されたセルがシンボルの入力位置となるグリッド形式のラダープログラム作成装置である。ラダープログラム作成装置10は、入力部1、制御部2、表示部3、記憶部4及び規則記憶部5を有する。入力部1は、ユーザが操作を行うためのユーザインタフェースであり、ポインタ移動型のポインティングデバイスである。以下の説明においては入力部1がマウスであるとするが、他の種類のポインタ移動型ポインティングデバイスを適用することもできる。表示部3は、ラダー60を編集するためのエディタ画面30を表示する装置であり、LCDや有機液晶パネルなどを適用可能である。記憶部4は、制御部2がワークエリアとして用いる記憶領域を備えており、ラダー60の編集によって作成するプログラム(ラダープログラム)のデータが記憶される。規則記憶部5は、ジェスチャーの規則(ジェスチャーとアクション(ラダーに対する編集内容)との対応)を定義したジェスチャーテーブル50などを不揮発に記憶する。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a ladder program creation device as a first embodiment of a sequence program creation device according to the present invention. The ladder program creation device 10 is a grid-type ladder program creation device in which cells into which symbols are input are arranged in a grid pattern, and a cell on which a cursor is arranged is a symbol input position. The ladder program creation device 10 includes an input unit 1, a control unit 2, a display unit 3, a storage unit 4, and a rule storage unit 5. The input unit 1 is a user interface for a user to perform an operation, and is a pointer movement type pointing device. In the following description, it is assumed that the input unit 1 is a mouse, but other types of pointer movement type pointing devices can also be applied. The display unit 3 is a device that displays an editor screen 30 for editing the ladder 60, and an LCD, an organic liquid crystal panel, or the like is applicable. The storage unit 4 includes a storage area that the control unit 2 uses as a work area, and stores data of a program (ladder program) created by editing the ladder 60. The rule storage unit 5 stores, in a nonvolatile manner, a gesture table 50 that defines gesture rules (correspondence between gestures and actions (edit contents for ladders)).
 制御部2は、入力処理部21、編集制御部22及び表示制御部23を有する。入力処理部21は、入力部1を介して行われたジェスチャーを特定する処理を行う。この際には、“ある一定期間”内に“入力”された操作を一つのジェスチャーとして認識する。例えば、“ある一定期間”とはマウスの右ボタンが押下されている間であり、“入力”とはマウスの移動方向(マウス操作で指定した方向)とその順番である。編集制御部22は、入力処理部21が特定したジェスチャーに対してアクションを割り当てる処理と、アクションを実行する処理とを行う。アクションを割り当てる際には、規則記憶部5に記憶されているジェスチャーテーブル50を参照することにより、ジェスチャーをアクションへ変換する。また、編集制御部22は、ポインタの移動などの従来のラダープログラム作成装置と同様の処理も司る。表示制御部23は編集制御部22が実行するアクションに応じてシンボルが入力されたり、カーソルが移動したりすることによる変更をラダー60に反映させてエディタ画面30を表示部3に表示させる。 The control unit 2 includes an input processing unit 21, an edit control unit 22, and a display control unit 23. The input processing unit 21 performs processing for specifying a gesture performed via the input unit 1. At this time, an operation “input” within “a certain period” is recognized as one gesture. For example, “a certain period” is a time during which the right button of the mouse is pressed, and “input” is a moving direction of the mouse (a direction designated by a mouse operation) and its order. The edit control unit 22 performs processing for assigning an action to the gesture specified by the input processing unit 21 and processing for executing the action. When assigning an action, the gesture is converted into an action by referring to the gesture table 50 stored in the rule storage unit 5. The edit control unit 22 also performs processing similar to that of a conventional ladder program creation device such as movement of a pointer. The display control unit 23 causes the ladder unit 60 to display the editor screen 30 on the display unit 3 by reflecting a change caused by input of a symbol or movement of the cursor according to the action executed by the editing control unit 22.
 図2は、規則記憶部5に記憶されるジェスチャーテーブルの一例を示す図である。ジェスチャーテーブル50のジェスチャーの欄の矢印はマウス操作で指定する方向の順序を表しており、例えば、上から5番目の欄のジェスチャーは、最初に上方向を指定する操作を行い次に右方向を指定する操作を行うという一連の操作が一つのジェスチャーとして定義されていることを表している。また、アクションはラダーに対する処理内容を示しており、シンボル名のみが表示されたアクションは、そのシンボルを入力位置へ入力する処理を行うことを表している。例えば、「a接点」のアクションは、入力位置にa接点を入力することを意味している。図2に示すジェスチャーテーブル50では、ジェスチャーを入力する際にマウス操作で指定する方向に意味を持たせており、上方向は「入力シンボル」、下方向は「出力シンボル」、右方向は「罫線」、左方向は「否定」となっている。これにより、例えばシンボルを入力するためのジェスチャーは、全て上方向を指定する操作から開始されるように定義されている。例として、b接点を入力したい場合を考えると、b接点は入力シンボルに分類され、a接点の否定を意味する。したがって、ユーザは上方向を指定する操作を行い、続いて左方向を指定する操作を行うことでb接点を入力できるようにジェスチャーが定義されている。なお、ジェスチャーを入力する操作中、編集制御部22はポインタを移動させる処理は行わない。例えば、ジェスチャーを入力する操作中は、右方向を指定する操作としてマウスを右に移動させた場合であっても、ポインタは右方向に移動しない。 FIG. 2 is a diagram illustrating an example of a gesture table stored in the rule storage unit 5. The arrows in the gesture column of the gesture table 50 indicate the order of the direction specified by the mouse operation. For example, the gesture in the fifth column from the top first performs the operation of specifying the upward direction and then moves the right direction. This means that a series of operations for performing a specified operation is defined as one gesture. The action indicates the processing contents for the ladder, and the action in which only the symbol name is displayed indicates that the process of inputting the symbol to the input position is performed. For example, the action “a contact” means inputting an a contact at the input position. In the gesture table 50 shown in FIG. 2, the direction designated by the mouse operation when inputting a gesture is given a meaning, the upper direction is “input symbol”, the lower direction is “output symbol”, and the right direction is “ruled line”. ", The left direction is" No ". Thereby, for example, gestures for inputting symbols are all defined to start from an operation for designating an upward direction. As an example, consider the case where it is desired to input the b contact, and the b contact is classified as an input symbol, which means the negation of the a contact. Therefore, the gesture is defined so that the user can input the b-contact by performing an operation of designating the upward direction and then performing an operation of designating the left direction. Note that during the operation of inputting a gesture, the editing control unit 22 does not perform a process of moving the pointer. For example, during an operation for inputting a gesture, even if the mouse is moved to the right as an operation for designating the right direction, the pointer does not move in the right direction.
 ジェスチャーを入力する際にマウス操作で指定する方向に意味を持たせることにより、例えばシンボルを入力するジェスチャーに関しては、ユーザは最初に指定する上方向を指定する操作に続く操作のみを暗記すれば良くなり、誤操作を減らすことが可能となる。出力シンボルや罫線のジェスチャーについても同様である。 By giving meaning to the direction specified by the mouse operation when inputting a gesture, for example, for a gesture for inputting a symbol, the user only has to memorize only the operation following the operation for specifying the upward direction specified first. Thus, it is possible to reduce erroneous operations. The same applies to gestures for output symbols and ruled lines.
 図2のジェスチャーテーブル50に示したジェスチャーの規則は一つの例であり、これとは異なるジェスチャーを定義することも可能である。また、一つのジェスチャーに対して複数のシンボルの入力を割り当てることも可能である。例えば、一つのジェスチャーに対してa接点及びコイルの両方を入力するアクションを割り当てることも可能である。また、同じジェスチャーに複数のアクションを割り当てることも可能である。この場合には、ジェスチャーを特定した後にポップアップ画面でアクション候補をエディタ画面30上に表示して、ユーザが実行したいアクションを選択できるようにすると良い。さらに、ジェスチャーの規則をユーザが自身で設定可能とすることにより、操作性を向上させることができる。 The gesture rules shown in the gesture table 50 of FIG. 2 are an example, and it is possible to define different gestures. It is also possible to assign a plurality of symbol inputs to one gesture. For example, it is possible to assign an action for inputting both the a contact and the coil to one gesture. It is also possible to assign multiple actions to the same gesture. In this case, after specifying the gesture, it is preferable that the action candidates are displayed on the editor screen 30 in a pop-up screen so that the user can select an action to be executed. Furthermore, the operability can be improved by allowing the user to set the rules of the gesture by himself / herself.
 図3は、ジェスチャーによるシンボル入力処理の流れの一例を示すフローチャートである。入力部1としてのマウスを用いた操作が行われた場合、入力処理部21は、シンボルの入力をジェスチャーで入力するモード(ジェスチャーモード)になっているか否かを確認する(ステップS1)。ここでは、マウスの右ボタンが押されている間はジェスチャーモードがONとなり、マウスの右ボタンが離されるとジェスチャーモードがOFFになるものとし、マウスの右ボタンが押されている間に行われた一連のマウス操作を一つのジェスチャーとして扱うものとする。すなわち、マウスの右ボタンを離した時点でジェスチャーが確定する。 FIG. 3 is a flowchart showing an example of the flow of symbol input processing using gestures. When an operation using the mouse as the input unit 1 is performed, the input processing unit 21 checks whether or not it is in a mode for inputting a symbol with a gesture (gesture mode) (step S1). Here, the gesture mode is ON while the right mouse button is pressed, and the gesture mode is OFF when the right mouse button is released, and is performed while the right mouse button is pressed. A series of mouse operations is treated as one gesture. That is, the gesture is fixed when the right button of the mouse is released.
 ジェスチャーモードがONになっていない場合(ステップS1/No)、編集制御部22はマウス操作に応じてポインタの移動や、ポインタが示すオブジェクトを選択するなどの通常のマウス操作処理を行い(ステップS6)、処理を終了する。 If the gesture mode is not ON (step S1 / No), the editing control unit 22 performs normal mouse operation processing such as movement of the pointer and selection of an object indicated by the pointer in accordance with the mouse operation (step S6). ), The process is terminated.
 ジェスチャーモードがONになっている場合(ステップS1/Yes)、入力処理部21は規則記憶部5に記憶されているジェスチャーテーブル50を参照し(ステップS2)、ジェスチャーモードがOFFになった時点までの一連の操作を一つのジェスチャーとしてジェスチャーの種類を特定する(ステップS3)。編集制御部22は、入力処理部21が特定したジェスチャーに対応するアクションを実行する(ステップS4)。例えば、上方向を指定するマウス操作のみが行われた場合には、入力位置にa接点を入力する。上方向を指定するマウス操作に続いて左方向を指定するマウス操作が行われた場合には、入力位置にb接点を入力する。 When the gesture mode is turned on (step S1 / Yes), the input processing unit 21 refers to the gesture table 50 stored in the rule storage unit 5 (step S2) until the time when the gesture mode is turned off. The type of gesture is specified with the series of operations as one gesture (step S3). The edit control unit 22 executes an action corresponding to the gesture specified by the input processing unit 21 (step S4). For example, when only the mouse operation for designating the upward direction is performed, the contact a is input to the input position. When a mouse operation for designating the left direction is performed following a mouse operation for designating the up direction, the b contact is input to the input position.
 表示制御部23は、ジェスチャーに対応するアクションを編集制御部22が実行した後のラダーを作成し、表示部3に表示させる(ステップS5)。 The display control unit 23 creates a ladder after the editing control unit 22 executes the action corresponding to the gesture, and displays the ladder on the display unit 3 (step S5).
 本実施の形態にかかるシーケンスプログラム作成装置の操作の具体例について説明する。図4は、シーケンスプログラム作成装置10によって作成されてエディタ画面30上に表示されるラダー60の一例を示す図である。図4に示すラダー60を作成する場合の操作について、規則記憶部5に図2に示したジェスチャーテーブル50が記憶されているものとして説明する。図5、図6は、ラダー作成時の操作内容とラダー60の遷移とを示す図である。説明の便宜上、列番号(A~H)と行番号(1~3)との組み合わせでセルを特定する。図中において、網掛けが施されたセルはカーソルが配置されていて入力位置となっているセルを表す。また、矢印内の括弧の中はジェスチャーの内容を示している。 A specific example of the operation of the sequence program creation device according to this embodiment will be described. FIG. 4 is a diagram showing an example of a ladder 60 that is created by the sequence program creation device 10 and displayed on the editor screen 30. An operation for creating the ladder 60 shown in FIG. 4 will be described on the assumption that the gesture table 50 shown in FIG. 2 is stored in the rule storage unit 5. FIG. 5 and FIG. 6 are diagrams showing the operation contents at the time of creating the ladder and the transition of the ladder 60. For convenience of explanation, a cell is specified by a combination of a column number (A to H) and a row number (1 to 3). In the figure, the shaded cell represents the cell where the cursor is placed and which is the input position. The parentheses in the arrow indicate the content of the gesture.
 まず、シンボルを始めに入力する位置のセルA1にポインタを移動させ、左クリックする。この操作は通常のマウス操作である。これにより、カーソル(入力位置)が左クリックしたセルA1に移動する(図5(a))。 First, move the pointer to cell A1 where the symbol is first entered and left-click. This operation is a normal mouse operation. Thereby, the cursor (input position) moves to the left-clicked cell A1 (FIG. 5A).
 右ボタンを押下したまま上方向を指定する操作をマウスで行い、右ボタンを離す。これにより、セルA1にa接点が入力され、カーソルは一つ右のセルB1に移動する(図5(b))。 ま ま While holding down the right button, use the mouse to specify the upward direction and release the right button. As a result, the a contact is input to the cell A1, and the cursor moves to the right cell B1 (FIG. 5B).
 右ボタンを押下したまま上方向を指定する操作をマウスで行い、右ボタンを離す。これにより、セルB1にa接点が入力され、カーソルは一つ右のセルC1に移動する(図5(c))。 ま ま While holding down the right button, use the mouse to specify the upward direction and release the right button. As a result, the contact a is input to the cell B1, and the cursor moves to the right cell C1 (FIG. 5C).
 右ボタンを押下したまま上方向を指定し、さらに左方向を指定する操作をマウスで行い、右ボタンを離す。これにより、セルC1にb接点が入力され、カーソルは一つ右のセルD1に移動する(図5(d))。 * While holding down the right button, specify the up direction, and then use the mouse to specify the left direction, then release the right button. As a result, the b-contact is input to the cell C1, and the cursor moves to the right cell D1 (FIG. 5D).
 右ボタンを押下したまま下方向を指定する操作をマウスで行い、右ボタンを離す。このジェスチャーは出力シンボルであるコイルを入力する操作であるため、セルD1ではなく行の末尾のセルH1にコイルが入力され、カーソルは次の行の左端のセルA2に移動する(図6(e))。 ま ま Hold down the right button and use the mouse to specify the down direction, then release the right button. Since this gesture is an operation to input a coil as an output symbol, the coil is input to the cell H1 at the end of the row instead of the cell D1, and the cursor moves to the cell A2 at the left end of the next row (FIG. 6 (e)). )).
 右ボタンを押下したまま上方向を指定する操作をマウスで行い、右ボタンを離す。これにより、セルA2にa接点が入力され、カーソルは一つ右のセルB2に移動する(図6(f))。 ま ま While holding down the right button, use the mouse to specify the upward direction and release the right button. As a result, the contact a is input to the cell A2, and the cursor moves to the cell B2 on the right (FIG. 6 (f)).
 右ボタンを押下したまま右方向を指定する操作をマウスで行い、右ボタンを離す。これにより、セルB2に横罫線が入力され、カーソルは一つ右のセルC2に移動する(図6(g))。 ま ま Perform the operation to specify the right direction with the mouse while pressing the right button, and release the right button. As a result, a horizontal ruled line is input to the cell B2, and the cursor moves to the right cell C2 (FIG. 6 (g)).
 右ボタンを押下したまま右方向を指定し、さらに上方向を指定する操作をマウスで行い、右ボタンを離す。これにより、セルC2に縦罫線が入力され、カーソルは次の行の左端のセルA3に移動する(図6(h))。 Designated the right direction while holding down the right button, and further specify the upward direction with the mouse, and release the right button. As a result, a vertical ruled line is input to the cell C2, and the cursor moves to the leftmost cell A3 of the next row (FIG. 6 (h)).
 以上の8操作により、図4に示したラダー60が完成する。この例では、最初にセルA1上にポインタを移動させた後、ジェスチャーによる入力を行っている間ポインタはセルA1から移動しないことになる。すなわち、ポインタがセルA1上に位置する状態で、セルB1~C2へのシンボルの入力を行っている。 The ladder 60 shown in FIG. 4 is completed by the above eight operations. In this example, after the pointer is first moved on the cell A1, the pointer does not move from the cell A1 while inputting by a gesture. That is, the symbols are input to the cells B1 and C2 with the pointer positioned on the cell A1.
 上記の例では、シンボルのみを連続操作で入力しているが、途中で別の操作が必要になることも考えられる。このような場合でも、本実施の形態では、ポインタがどこに位置していてもジェスチャーの入力が可能である。このため、ツールバー領域や部品選択ウィンドウからポインタを移動させて別の操作を行った後にポインタをツールバー領域や部品選択ウィンドウに戻す操作は不要である。 In the above example, only symbols are input in a continuous operation, but it is possible that another operation is required on the way. Even in such a case, according to the present embodiment, it is possible to input a gesture regardless of where the pointer is located. For this reason, it is not necessary to move the pointer from the toolbar area or the part selection window to perform another operation and then return the pointer to the toolbar area or the part selection window.
 また、誤って入力したシンボルを途中で削除したい場合、従来ではコンテキストメニューを表示した後、削除メニューを選択する操作が必要であったが、本実施の形態では、マウスの右ボタンを押したまま左クリックすることでジェスチャーによるシンボルの削除が可能であり、マウス移動量を低減できる。 Also, if you want to delete a symbol that has been entered incorrectly, it was necessary to select the delete menu after displaying the context menu in the past, but in this embodiment, you can hold down the right mouse button. By left-clicking, the symbol can be deleted by gesture, and the amount of mouse movement can be reduced.
 上記の説明では、マウスの右ボタンが押されている間はジェスチャーモードがONとなるとしたが、マウスの右ボタンをクリックすることによってジェスチャーモードがONとなるようにすることもできる。この場合には最後にマウス操作が行われてから一定期間マウス操作が行われなかった場合にジェスチャーモードがOFFとなってジェスチャーが確定する。最後にマウス操作が行われてからジェスチャーモードがOFFになるまでの時間をユーザが任意に設定可能とすることで、各ユーザの入力操作の速度に応じてカスタマイズすることが可能となり、操作性を向上させることができる。また、エディタ画面上にジェスチャーモードをONとするためのアイコンを設け、このアイコンが押下された時にジェスチャーモードをONとすることも可能である。 In the above description, the gesture mode is turned on while the right button of the mouse is pressed. However, the gesture mode can be turned on by clicking the right button of the mouse. In this case, if no mouse operation is performed for a certain period after the last mouse operation, the gesture mode is turned off and the gesture is determined. By enabling the user to arbitrarily set the time from the last mouse operation until the gesture mode is turned off, it is possible to customize according to the speed of each user's input operation. Can be improved. It is also possible to provide an icon for turning on the gesture mode on the editor screen and turn on the gesture mode when this icon is pressed.
 図7A、図7Bは、ラダー作成時のマウス移動量を模式的に示す図である。図7Aは、従来のラダープログラム作成装置におけるマウス移動量を示し、図7Bは本実施の形態にかかるラダープログラム作成装置10におけるマウス移動量を示している。図中矢印が大きいほどマウス移動量が多いことを示している。従来のラダープログラム作成装置でエディタ画面35内のツールバー81を利用してシンボルを入力する場合、ツールバー81上でポインタを何度も往復させる必要があるため、マウスの移動量が多くなり、プログラム作成速度を向上させることが困難である。これに対し、本実施の形態においては、エディタ画面30内のツールバー82上でポインタを移動させる必要がないことに加え、操作方向を識別してジェスチャーを特定できればよいため、マウスの移動量は少なくて良い。したがって、プログラム作成速度を向上させることが可能となる。 7A and 7B are diagrams schematically showing the amount of mouse movement during ladder creation. FIG. 7A shows the amount of mouse movement in the conventional ladder program creation device, and FIG. 7B shows the amount of mouse movement in the ladder program creation device 10 according to the present exemplary embodiment. The larger the arrow in the figure, the greater the amount of mouse movement. When inputting symbols using the toolbar 81 in the editor screen 35 with a conventional ladder program creation device, it is necessary to reciprocate the pointer on the toolbar 81 many times, which increases the amount of mouse movement, creating a program. It is difficult to improve speed. On the other hand, in this embodiment, in addition to not having to move the pointer on the toolbar 82 in the editor screen 30, it is only necessary to identify the operation direction and specify the gesture. Good. Therefore, the program creation speed can be improved.
 このように、本実施の形態によれば、ツールバーや部品選択ウィンドウからシンボルを探したり、シンボルにポインタを合わせる操作を行ったりする必要がなく、マウスの移動量を少なく抑えることができる。 As described above, according to the present embodiment, it is not necessary to search for a symbol from the toolbar or the component selection window, or to perform an operation for aligning the pointer with the symbol, and the amount of movement of the mouse can be suppressed.
実施の形態2.
 本発明にかかるシーケンスプログラム作成装置の実施の形態2のラダープログラム作成装置においては、入力部1は、座標指定型ポインティングデバイスである。以下の説明では、入力部1がタッチパネルであるものとする。
Embodiment 2. FIG.
In the ladder program creation device of the second embodiment of the sequence program creation device according to the present invention, the input unit 1 is a coordinate designation type pointing device. In the following description, it is assumed that the input unit 1 is a touch panel.
 図8は、規則記憶部5に記憶されるジェスチャーテーブル50の一例を示す図である。入力部1であるタッチパネルでタップ操作を行うことによりジェスチャーモードがONとなる。図8に示す各ジェスチャーを入力したのち、タップ操作を行うことでジェスチャーが確定し、ジェスチャーモードがOFFする。例えば、2本の指をタッチパネルに当てて下へ移動させた後、タップ操作を行うことで、a接点のシンボルを入力できる。また、2本の指をタッチパネルに当てて移動させた後、その中に斜線を引いてからタップ操作を行うことでb接点のシンボルを入力できる。さらに、タッチパネル上で四角を描いた後にタップ操作を行うことで、応用命令のシンボルを入力できる。なお、図8のジェスチャーテーブルはあくまでも一例であり、異なるジェスチャーを用いることも可能である。 FIG. 8 is a diagram illustrating an example of the gesture table 50 stored in the rule storage unit 5. By performing a tap operation on the touch panel which is the input unit 1, the gesture mode is turned on. After inputting each gesture shown in FIG. 8, a gesture is confirmed by performing a tap operation, and the gesture mode is turned off. For example, a symbol of the a contact can be input by performing a tap operation after moving two fingers down on the touch panel. Further, after moving two fingers on the touch panel, a b-contact symbol can be input by performing a tap operation after drawing a diagonal line. Furthermore, a symbol of an application instruction can be input by performing a tap operation after drawing a square on the touch panel. Note that the gesture table in FIG. 8 is merely an example, and it is possible to use different gestures.
 なお、本実施の形態では、実施の形態1とは異なり、ジェスチャーを入力する際に指定する方向に意味を持たせることができないため、全てのジェスチャーをユーザが覚えておく必要が生じる。このため、複数のジェスチャーに共通する入力操作が行われた場合は、ジェスチャーが確定するまでの間、連続して実行可能な入力操作を示唆する表示を行っても良い。例えば、2本の指をタッチパネルに当てて下へ移動させる操作が行われた場合は、タップ操作が行われるまでの間、二本線の間に斜線を点線で表示することにより、続けて斜線を入力可能であることを示唆することが可能である。 In this embodiment, unlike Embodiment 1, it is not possible to give meaning to the direction specified when inputting a gesture, so the user needs to remember all the gestures. For this reason, when an input operation common to a plurality of gestures is performed, a display that suggests an input operation that can be continuously executed may be performed until the gesture is confirmed. For example, if an operation to move two fingers down on the touch panel is performed, a diagonal line is displayed as a dotted line between the two lines until the tap operation is performed, and then a diagonal line is displayed. It is possible to suggest that input is possible.
 上記の説明では、マルチタッチ可能なタッチパネルを例としたが、マルチタッチに対応していないタッチパネルやペンタブレットなどを入力部1として用いる場合には、二本線のジェスチャーは、縦線を二回続けて描く操作に対応させることも可能である。 In the above description, a touch panel capable of multi-touch is taken as an example. However, when a touch panel or a pen tablet that does not support multi-touch is used as the input unit 1, a double-line gesture is performed by continuing a vertical line twice. It is also possible to correspond to the drawing operation.
 なお、上記実施の形態1、2を組み合わせて、ポインタ移動型及び座標指定型の二つのポインティングデバイスを入力部1として備え、どちらからでもジェスチャーによるシンボルの入力を行えるようにすることも可能である。 In combination with the first and second embodiments, it is possible to provide two pointing devices of a pointer movement type and a coordinate designation type as the input unit 1 so that a symbol can be input by a gesture from either one. .
 本実施の形態では、入力するシンボルに近い形状のジェスチャーをジェスチャーテーブルに定義しておくことにより、直感的な操作が可能となる。 In this embodiment, an intuitive operation is possible by defining a gesture having a shape close to the input symbol in the gesture table.
実施の形態3.
 図9は、本発明にかかるシーケンスプログラム作成装置の実施の形態3のSFC(Sequential Function Chart)プログラム作成装置の構成を示す図である。SFCプログラム作成装置20は、シンボルが入力されるセルが格子状に配列され、カーソルの配置されたセルがシンボルの入力位置となるグリッド形式のSFCプログラム作成装置である。SFCプログラム作成装置20は、入力部91、制御部92、表示部93、記憶部94及び規則記憶部95を有する。入力部91は実施の形態1の入力部1と同様である。表示部93は、SFC960を編集するためのエディタ画面930を表示する装置である。記憶部94は、制御部92がワークエリアとして用いる記憶領域を備えており、SFC960の編集によって作成するプログラム(SFCプログラム)のデータが記憶される。規則記憶部95は、ジェスチャーの規則を定義したジェスチャーテーブル950などを不揮発に記憶する。
Embodiment 3 FIG.
FIG. 9 is a diagram showing a configuration of an SFC (Sequential Function Chart) program creation apparatus according to the third embodiment of the sequence program creation apparatus of the present invention. The SFC program creation device 20 is a grid-type SFC program creation device in which cells into which symbols are input are arranged in a grid pattern, and a cell on which a cursor is arranged is a symbol input position. The SFC program creation device 20 includes an input unit 91, a control unit 92, a display unit 93, a storage unit 94, and a rule storage unit 95. The input unit 91 is the same as the input unit 1 of the first embodiment. The display unit 93 is a device that displays an editor screen 930 for editing the SFC 960. The storage unit 94 includes a storage area used as a work area by the control unit 92, and stores data of a program (SFC program) created by editing the SFC 960. The rule storage unit 95 stores a gesture table 950 that defines gesture rules in a nonvolatile manner.
 制御部92は、入力処理部921、編集制御部922及び表示制御部923を有する。これらは実施の形態1の入力処理部21、編集制御部22及び表示制御部23と同様である。 The control unit 92 includes an input processing unit 921, an edit control unit 922, and a display control unit 923. These are the same as the input processing unit 21, the edit control unit 22, and the display control unit 23 of the first embodiment.
 図10は、規則記憶部95に記憶されるジェスチャーテーブルの一例を示す図である。ジェスチャーテーブル950のジェスチャーの欄の矢印はマウス操作で指定する方向の順序を表している。アクションとしては、ステップ、トランジション、分岐、収束などのSFCでのシンボルを挿入、削除する処理が定義されている。 FIG. 10 is a diagram illustrating an example of a gesture table stored in the rule storage unit 95. The arrows in the gesture column of the gesture table 950 indicate the order of directions specified by the mouse operation. As actions, processing for inserting and deleting symbols in SFC such as steps, transitions, branches, and convergence is defined.
 編集の対象がラダーではなくSFCである点では異なるが、本実施の形態に係るSFCプログラム作成装置20の動作の流れは実施の形態1のラダープログラム作成装置10と同様であり、ジェスチャーモードがONしている場合には、ジェスチャーに対応するアクションを実行することによりエディタ画面930上のSFC960を編集する。これにより、SFCプログラム作成時のマウス移動量を低減でき、プログラム作成速度を向上させることが可能となる。 Although the editing target is SFC instead of ladder, the operation flow of the SFC program creation device 20 according to the present embodiment is the same as that of the ladder program creation device 10 of the first embodiment, and the gesture mode is ON. If so, the SFC 960 on the editor screen 930 is edited by executing an action corresponding to the gesture. Thereby, the amount of mouse movement at the time of SFC program creation can be reduced, and the program creation speed can be improved.
 なお、実施の形態2と同様に、座標指定型のポインティングデバイスを用いたSFCプログラム作成装置として実施することも可能である。 As in the second embodiment, the present invention can be implemented as an SFC program creation device using a coordinate designation type pointing device.
 以上のように、本発明にかかるシーケンスプログラム作成装置は、マウスや指などの移動量が少なく、プログラム作成速度を向上させることができる点で有用であり、特に、ラダーやSFCなどのプログラム作成に適している。 As described above, the sequence program creation device according to the present invention is useful in that the amount of movement of a mouse, a finger, and the like is small and the program creation speed can be improved. Is suitable.
 1、91 入力部
 2、92 制御部
 3、93 表示部
 4、94 記憶部
 5、95 規則記憶部
 10 ラダープログラム作成装置
 20 SFCプログラム作成装置
 30、930 エディタ画面
 50、950 ジェスチャーテーブル
 60 ラダー
 82 ツールバー
DESCRIPTION OF SYMBOLS 1,91 Input part 2,92 Control part 3,93 Display part 4,94 Storage part 5,95 Rule storage part 10 Ladder program creation apparatus 20 SFC program creation apparatus 30, 930 Editor screen 50, 950 Gesture table 60 Ladder 82 Toolbar

Claims (3)

  1.  プログラマブルロジックコントローラで実行されるシーケンスプログラムを編集する操作をエディタ画面上でユーザに行わせて前記シーケンスプログラムを作成するシーケンスプログラム作成装置であって、
     ポインティングデバイスを用いた操作によるジェスチャーと、前記シーケンスプログラムに対する編集内容を示すアクションとを関連づけたジェスチャーテーブルを記憶する規則記憶部と、
     前記ジェスチャーを利用して前記シーケンスプログラムの編集を行うジェスチャーモード中に前記ポインティングデバイスを用いた操作が行われた場合に、行われた操作に対応する前記ジェスチャーを前記規則記憶部に記憶されている前記ジェスチャーテーブルに基づいて特定する入力処理部と、
     前記入力処理部が特定した前記ジェスチャーに関連付けられた前記アクションが示す編集内容に応じて前記シーケンスプログラムを編集する編集制御部と、
     前記編集制御部が編集した後の前記シーケンスプログラムを前記エディタ画面に表示させる表示制御部と、
     を備えることを特徴とするシーケンスプログラム作成装置。
    A sequence program creation device for creating a sequence program by causing a user to perform an operation for editing a sequence program executed by a programmable logic controller on an editor screen,
    A rule storage unit for storing a gesture table in which a gesture by an operation using a pointing device and an action indicating editing contents for the sequence program are associated;
    When an operation using the pointing device is performed during a gesture mode in which the sequence program is edited using the gesture, the gesture corresponding to the performed operation is stored in the rule storage unit. An input processing unit that is identified based on the gesture table;
    An editing control unit that edits the sequence program according to the editing content indicated by the action associated with the gesture specified by the input processing unit;
    A display control unit for displaying the sequence program after editing by the editing control unit on the editor screen;
    A sequence program creation device comprising:
  2.  前記ポインティングデバイスは、前記エディタ画面上でポインタを移動させる方式であり、
     前記ポインティングデバイスを用いた操作は、前記ポインティングデバイスで方向を指定する操作であり、
     前記ジェスチャーモード中は、前記ポインティングデバイスを用いた操作に応じた前記ポインタの移動を停止することを特徴とする請求項1に記載のシーケンスプログラム作成装置。
    The pointing device is a method of moving a pointer on the editor screen,
    The operation using the pointing device is an operation of designating a direction with the pointing device,
    2. The sequence program creation device according to claim 1, wherein during the gesture mode, movement of the pointer according to an operation using the pointing device is stopped.
  3.  前記ポインティングデバイスは、前記エディタ画面の任意の位置を指定する方式であり、
     前記ポインティングデバイスを用いた操作は、前記ポインティングデバイスによって前記エディタ画面上で所定の形状を描画する操作であることを特徴とする請求項1に記載のシーケンスプログラム作成装置。
    The pointing device is a method for designating an arbitrary position on the editor screen,
    The sequence program creating apparatus according to claim 1, wherein the operation using the pointing device is an operation of drawing a predetermined shape on the editor screen by the pointing device.
PCT/JP2011/076404 2011-11-16 2011-11-16 Sequence program creation device WO2013073023A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/076404 WO2013073023A1 (en) 2011-11-16 2011-11-16 Sequence program creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/076404 WO2013073023A1 (en) 2011-11-16 2011-11-16 Sequence program creation device

Publications (1)

Publication Number Publication Date
WO2013073023A1 true WO2013073023A1 (en) 2013-05-23

Family

ID=48429135

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/076404 WO2013073023A1 (en) 2011-11-16 2011-11-16 Sequence program creation device

Country Status (1)

Country Link
WO (1) WO2013073023A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5677623B1 (en) * 2013-08-21 2015-02-25 三菱電機株式会社 Program editing program
WO2016009512A1 (en) * 2014-07-16 2016-01-21 三菱電機株式会社 Engineering tool
JP2020170266A (en) * 2019-04-01 2020-10-15 ファナック株式会社 Ladder display device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6344226A (en) * 1986-08-11 1988-02-25 Mitsubishi Electric Corp Drawing input device
JPH07146642A (en) * 1993-11-24 1995-06-06 Fanuc Ltd Input system for ladder program
JP2006228126A (en) * 2005-02-21 2006-08-31 Canon Inc Image processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6344226A (en) * 1986-08-11 1988-02-25 Mitsubishi Electric Corp Drawing input device
JPH07146642A (en) * 1993-11-24 1995-06-06 Fanuc Ltd Input system for ladder program
JP2006228126A (en) * 2005-02-21 2006-08-31 Canon Inc Image processing device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI553435B (en) * 2013-08-21 2016-10-11 三菱電機股份有限公司 Program for compiling program
JP5677623B1 (en) * 2013-08-21 2015-02-25 三菱電機株式会社 Program editing program
KR101883085B1 (en) 2013-08-21 2018-07-27 미쓰비시덴키 가부시키가이샤 Program for editing programs
CN105474112A (en) * 2013-08-21 2016-04-06 三菱电机株式会社 Program for editing programs
KR20160045798A (en) * 2013-08-21 2016-04-27 미쓰비시덴키 가부시키가이샤 Program for editing programs
CN105474112B (en) * 2013-08-21 2019-03-08 三菱电机株式会社 Program editing method
WO2015025382A1 (en) * 2013-08-21 2015-02-26 三菱電機株式会社 Program for editing programs
US9910643B2 (en) 2013-08-21 2018-03-06 Mitsubishi Electric Corporation Program for program editing
JP5968541B2 (en) * 2014-07-16 2016-08-10 三菱電機株式会社 Engineering tools
WO2016009512A1 (en) * 2014-07-16 2016-01-21 三菱電機株式会社 Engineering tool
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

Similar Documents

Publication Publication Date Title
Grossman et al. Hover widgets: using the tracking state to extend the capabilities of pen-operated devices
US9152317B2 (en) Manipulation of graphical elements via gestures
US9448716B2 (en) Process and system for management of a graphical interface for the display of application software graphical components
CN108958608B (en) Interface element operation method and device of electronic whiteboard and interactive intelligent equipment
Matulic et al. Pen and touch gestural environment for document editing on interactive tabletops
US9354707B2 (en) Combination color and pen palette for electronic drawings
US20090100380A1 (en) Navigating through content
US20080313538A1 (en) Visual Feedback Display
JP5650564B2 (en) Spreadsheet control program, spreadsheet control device, and spreadsheet control method
US9910643B2 (en) Program for program editing
US10289301B2 (en) Gesture-based selection and manipulation method
JP2011123896A (en) Method and system for duplicating object using touch-sensitive display
US20120056833A1 (en) Electronic device, computer-implemented method and computer-implemented computer-readable storage medium
US11379650B2 (en) Systems and methods for gesture-based formatting
KR102142328B1 (en) Method of selecting interactivity mode
WO2013073023A1 (en) Sequence program creation device
Han et al. Push-push: A drag-like operation overlapped with a page transition operation on touch interfaces
US10706219B2 (en) Electronic device and control method thereof
JP2015018310A (en) Input/output terminal device
Hackett et al. Touchscreen interfaces for visual languages
JP6217274B2 (en) Portable terminal device and program
WO2024077613A1 (en) Menu display method and intelligent display device
Petit et al. Unifying gestures and direct manipulation in touchscreen interfaces
US20210141528A1 (en) Computer device with improved touch interface and corresponding method
JP2017049760A (en) Information processing device, information processing program and information processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11875851

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11875851

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP