[go: up one dir, main page]

JP2011175351A - Screen data preparation device, screen data preparation method, and screen data preparation program - Google Patents

Screen data preparation device, screen data preparation method, and screen data preparation program Download PDF

Info

Publication number
JP2011175351A
JP2011175351A JP2010037336A JP2010037336A JP2011175351A JP 2011175351 A JP2011175351 A JP 2011175351A JP 2010037336 A JP2010037336 A JP 2010037336A JP 2010037336 A JP2010037336 A JP 2010037336A JP 2011175351 A JP2011175351 A JP 2011175351A
Authority
JP
Japan
Prior art keywords
function
command
screen data
communication target
selection
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
JP2010037336A
Other languages
Japanese (ja)
Inventor
Masanori Kita
正憲 北
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.)
Keyence Corp
Original Assignee
Keyence 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 Keyence Corp filed Critical Keyence Corp
Priority to JP2010037336A priority Critical patent/JP2011175351A/en
Publication of JP2011175351A publication Critical patent/JP2011175351A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily prepare screen data of a screen capable of issuing a command for simultaneously setting a plurality of parameter values when the screen data of the screen displayed on a display is prepared. <P>SOLUTION: A screen data preparation device includes: a model selection reception means 11 for receiving a selection of a model of a communication target connected with a display device 200; a function selection reception means 13 for displaying a function operated in the communication target of the model selected by the model selection reception means 11 on a display 103 and receiving a selection of a function; a device designation reception means 15 for displaying a plurality of setting parameters set for exerting the function selected by the function selection reception means 13 on the display 103 and receiving a designation of a device with respect to respective parameters; and a function assignment means 17 for assigning a command issuing function for issuing a command to simultaneously send a plurality of parameter values stored in the plurality of devices designated by the device designation reception means 15 to the communication target, to a means serving as an issue trigger. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、各種機器や装置が接続される表示装置に、それら各種機器や装置の動作状態を表示させる画面データを作成する画面データ作成装置、画面データ作成方法、及び画面データ作成プログラムに関する。   The present invention relates to a screen data creation device, a screen data creation method, and a screen data creation program for creating screen data for displaying the operating state of various devices and apparatuses on a display device to which the various devices and apparatuses are connected.

一般に、FA(Factory
Automation)システムは、スイッチやセンサなどの入力機器、アクチュエータや温度調節機器などの出力機器、入力機器や出力機器を制御する制御装置など、各種機器や装置が通信ネットワークで接続されることによって構成される。また、制御装置の動作は、リレー回路を記号化したラダー図を用いて作成される制御プログラムによって規定され、その制御プログラムは、ユーザがラダーエディタなどのプログラム作成ソフトウェアを用いて自由に編集できる。そのため、FAシステムで用いられる制御装置は、PLC(Programmable Logic Controller)と呼ばれる。
Generally, FA (Factory
Automation) system consists of various devices and devices connected via a communication network, such as input devices such as switches and sensors, output devices such as actuators and temperature control devices, and control devices that control input devices and output devices. The The operation of the control device is defined by a control program created using a ladder diagram symbolizing the relay circuit, and the control program can be freely edited by a user using program creation software such as a ladder editor. Therefore, a control device used in the FA system is called a PLC (Programmable Logic Controller).

PLCには、入力機器からの入力信号の状態を示す状態データや、出力機器への出力信号の状態を示す状態データ、PLC内部の動作状態を示す状態データなど、多数の状態データが保持される。PLCの制御プログラムが実行されると、入力機器の状態データを参照して、所定の演算処理を実行し、出力機器の状態データを変更する処理が行われる。ユーザは、PLCの制御プログラムを作成するにあたって、状態データを格納するために設けられる仮想的なメモリ領域、いわゆるデバイスを用いて、上述したラダー図を記述する。デバイスには、状態データとしてオン/オフの2値データが格納されるビットデバイスや、状態データとして数値データが格納されるワードデバイスなどがあり、状態データは、デバイス値として表すことができる。   The PLC holds a large number of state data such as state data indicating the state of the input signal from the input device, state data indicating the state of the output signal to the output device, and state data indicating the operation state inside the PLC. . When the PLC control program is executed, a process for changing the state data of the output device is performed by referring to the state data of the input device and executing predetermined arithmetic processing. When creating a PLC control program, the user describes the ladder diagram described above using a virtual memory area provided to store state data, a so-called device. Devices include bit devices that store ON / OFF binary data as status data, word devices that store numerical data as status data, and the status data can be expressed as device values.

ところで、PLCに接続された入出力機器の動作状態やPLC自体の動作状態を監視・管理するために、タッチパネルを有する液晶ディスプレイなどの表示装置がPLCに接続される場合がある(例えば特許文献1参照)。PLCに接続された表示装置の画面上には、画面構成要素としてランプ、メータ、及びグラフなどの各種部品画像が表示される。また、個々の部品画像には、上述したデバイスが割り当てられる。表示装置の画面上に表示される各種部品画像のレイアウトや、個々の部品画像へのデバイスの割り当ては、ユーザが作画エディタなどの画面データ作成ソフトウェアを用いて自由に編集することができる。ユーザによって所望の画面編集が行われた表示装置では、PLCから所定デバイスのデバイス値が読み出され、その所定デバイスが割り当てられている部品画像が変化する(例えば、ランプが点灯/消灯したり、メータの針が動いたりする)。これにより、ユーザは、PLCに接続された入出力機器やPLCの動作状態を監視することができる。   Incidentally, a display device such as a liquid crystal display having a touch panel may be connected to the PLC in order to monitor and manage the operation state of the input / output device connected to the PLC and the operation state of the PLC itself (for example, Patent Document 1). reference). On the screen of the display device connected to the PLC, various component images such as lamps, meters, and graphs are displayed as screen components. Further, the above-described device is assigned to each component image. The layout of various component images displayed on the screen of the display device and the assignment of devices to individual component images can be freely edited by a user using screen data creation software such as a drawing editor. In a display device in which desired screen editing has been performed by the user, a device value of a predetermined device is read from the PLC, and a component image to which the predetermined device is assigned changes (for example, a lamp is turned on / off, Meter needle moves). Thereby, the user can monitor the input / output devices connected to the PLC and the operating state of the PLC.

また、表示装置の画面上には、部品画像としてスイッチが表示される場合があり、このスイッチを用いれば、出力機器やPLCに対し、指示を与えることもできる。具体的には、スイッチにも上述したデバイスが割り当てられており、ユーザが表示装置の画面上でスイッチを操作すると(例えば、スイッチの部品画像をタッチすると)、スイッチに割り当てられているデバイスにデバイス値が書き込まれる。そして、PLCの制御プログラムが実行されると、書き込まれたデバイス値を参照して、PLCに接続された出力機器に対して制御コマンドが発行される。しかし、このような制御コマンドをPLCにて発行するためには、ユーザがプログラム作成ソフトウェアを用いて多くのステップを含む長いラダー図を記述しなければならず、ユーザに多大な設計負担を掛ける。   In addition, a switch may be displayed as a component image on the screen of the display device. By using this switch, an instruction can be given to the output device or the PLC. Specifically, the above-described device is also assigned to the switch, and when the user operates the switch on the screen of the display device (for example, when a part image of the switch is touched), the device is assigned to the device assigned to the switch. A value is written. When the PLC control program is executed, a control command is issued to the output device connected to the PLC with reference to the written device value. However, in order to issue such a control command by the PLC, the user must describe a long ladder diagram including many steps using the program creation software, which places a great design burden on the user.

そこで、このような制御コマンドを発行する機能を、表示装置自体にもたせることが考えられる。例えば表示装置に、PLCと出力機器のそれぞれが接続されたネットワークにおいて、ユーザが表示装置の画面上でスイッチを操作したとき、スイッチに割り当てられている1個のデバイスのデバイス値がPLCから読み出され、表示装置の内部メモリに一旦保存される。そして、表示装置は、内部メモリに保存されたデバイス値を参照して、表示装置に接続された出力機器に送信される制御コマンドを発行する。   Therefore, it is conceivable that the display device itself has a function for issuing such a control command. For example, in a network in which a PLC and an output device are connected to a display device, when a user operates a switch on the screen of the display device, the device value of one device assigned to the switch is read from the PLC. And once stored in the internal memory of the display device. Then, the display device refers to the device value stored in the internal memory and issues a control command to be transmitted to the output device connected to the display device.

このように、表示装置においては、部品画像としてのスイッチに割り当てられるデバイスは1個であるため、そのスイッチをトリガとして発行される制御コマンドには通常1個のデバイスしか割り当てることができない。その結果、表示装置から出力機器に対して発行される一の制御コマンドで設定し得るパラメータも、通常1個となる。   As described above, in the display device, since one device is assigned to a switch as a component image, only one device can be normally assigned to a control command issued using that switch as a trigger. As a result, the number of parameters that can be set with one control command issued from the display device to the output device is usually one.

特開2007−193425号公報JP 2007-193425 A

しかしながら、例えば、軸パターン,速度,加速度,減速度といった複数のパラメータにつきパラメータ値を同時に設定しなければならない多軸コントローラなどが出力機器として表示装置に接続される場合には、次のような問題が生ずる。多軸コントローラにユーザが意図した動作を行わせるためには、複数のパラメータ値を同時に設定しなければならないところ、表示装置から多軸コントローラに対して制御コマンドを発行する場合、上述したように制御コマンドには1個のデバイスしか割り当てることができないため、1回のコマンド発行で複数のパラメータ値を同時に設定することができない。この点、例えば表示装置の画面上に複数のスイッチを表示させ、複数回のコマンド発行で複数のパラメータ値を設定することが考えられる。しかし、コマンド発行を複数回に分けてしまうと、僅かとはいえタイムラグが生じ、複数のパラメータ値を同時に設定することは困難である。また、そもそも、表示装置に接続される多軸コントローラが1回のコマンド発行における複数のパラメータ値の設定を要求している場合には、コマンド発行を複数回に分けることは許されない。   However, for example, when a multi-axis controller or the like that must simultaneously set parameter values for a plurality of parameters such as axis pattern, speed, acceleration, and deceleration is connected to a display device as an output device, the following problems Will occur. In order for the multi-axis controller to perform the operation intended by the user, a plurality of parameter values must be set at the same time. When a control command is issued from the display device to the multi-axis controller, control is performed as described above. Since only one device can be assigned to a command, a plurality of parameter values cannot be set simultaneously by issuing one command. In this regard, for example, a plurality of switches may be displayed on the screen of the display device, and a plurality of parameter values may be set by issuing a plurality of commands. However, if the command issuance is divided into a plurality of times, a slight time lag occurs, and it is difficult to set a plurality of parameter values at the same time. In the first place, when the multi-axis controller connected to the display device requests setting of a plurality of parameter values in one command issuance, it is not allowed to divide the command issuance into a plurality of times.

そこで、複数のパラメータ値を同時設定するために、例えば、ユーザが表示装置に表示される画面の画面データを作成する際に、予め設計したマクロをスイッチに割り当てておくことが考えられる。ユーザが表示装置の画面上でスイッチを操作したとき、マクロが実行され、複数のパラメータそれぞれに割り当てられた複数のデバイスのデバイス値が順次読み出され、表示装置の内部メモリに順次保存される。そして、表示装置は、内部メモリに保存された各デバイス値を参照して、表示装置に接続された出力機器に送信される制御コマンドを発行する。このような方法によれば、1回のコマンド発行で複数のパラメータ値を同時に設定することは可能とも考えられる。   In order to set a plurality of parameter values at the same time, for example, when creating screen data of a screen displayed on a display device by a user, a macro designed in advance may be assigned to a switch. When the user operates the switch on the screen of the display device, the macro is executed, and the device values of the plurality of devices assigned to the plurality of parameters are sequentially read out and sequentially stored in the internal memory of the display device. Then, the display device refers to each device value stored in the internal memory and issues a control command to be transmitted to the output device connected to the display device. According to such a method, it is considered possible to simultaneously set a plurality of parameter values by issuing a single command.

しかしながら、マクロプログラミングに慣れてないユーザにとっては、このようなマクロを作成すること自体が困難である。また、マクロ作成経験のあるユーザであっても、わざわざ専用のソフトウェアを用意して、複雑なマクロをプログラミングする作業は手間が掛かる。加えて、同時設定が必要なパラメータの数や種類は、表示装置に接続される機器によって異なるため、表示装置に接続される機器が変わる度にマクロを作成し直さなければならない。例えばユーザは、表示装置に新しく接続される機器の仕様書等を読み、同時設定が必要なパラメータの数や種類を一つ一つ確認し、各パラメータへのデバイスの割り当てをマクロに反映させる作業を行わなければならない。仮に、同時設定が必要なパラメータが一つでも抜けてしまったり、或いは、マクロにバグがあったりした場合には、多軸コントローラは正常に動作しない虞があるため、たとえマクロ作成経験のあるユーザであっても、マクロの修正作業に膨大な工数が掛かかってしまう。このように、マクロを使った上記方法には不都合な点が多い。   However, it is difficult for a user who is not familiar with macro programming to create such a macro. Further, even a user who has experience in macro creation takes time and effort to prepare a dedicated software and program a complicated macro. In addition, since the number and types of parameters that need to be set simultaneously vary depending on the device connected to the display device, the macro must be recreated each time the device connected to the display device changes. For example, the user reads the specifications of the device newly connected to the display device, checks the number and type of parameters that need to be set simultaneously, and reflects the device assignment to each parameter in the macro Must be done. Even if one parameter that needs to be set at the same time is missing or there is a bug in the macro, the multi-axis controller may not operate normally. Even so, it takes a lot of man-hours to modify the macro. As described above, the above method using a macro has many disadvantages.

本発明は、以上の点に鑑みてなされたものであり、その目的は、表示装置に表示される画面の画面データを作成するにあたって、複数のパラメータ値を同時に設定するコマンドを発行可能な画面の画面データを容易に作成できる画面データ作成装置、画面データ作成方法、及び画面データ作成プログラムを提供する。   The present invention has been made in view of the above points, and an object of the present invention is to create a screen capable of issuing commands for simultaneously setting a plurality of parameter values when creating screen data of a screen displayed on a display device. A screen data creation device, a screen data creation method, and a screen data creation program that can easily create screen data are provided.

本発明に係る画面データ作成装置は、表示部を備え、通信対象に対してコマンドを発行可能な表示装置に表示させる画面の画面データを作成する画面データ作成装置である。そして、表示装置に接続される通信対象の機種、通信対象において動作する機能、及び通信対象において機能を発揮させるために設定される複数の設定パラメータを対応付けて記憶する記憶手段と、表示装置に接続される通信対象の機種の選択を受け付ける機種選択受付手段と、機種選択受付手段により選択された機種の通信対象において動作する機能を記憶手段から読み出して表示部に表示するとともに、機能の選択を受け付ける機能選択受付手段と、機能選択受付手段により選択された機能を発揮させるために設定される複数の設定パラメータを記憶手段から読み出して表示部に表示するとともに、表示された設定パラメータそれぞれについて、設定パラメータのパラメータ値を格納する仮想的なメモリ領域として機能するデバイスの指定を受け付けるデバイス指定受付手段と、デバイス指定受付手段により指定された複数のデバイスに格納される複数のパラメータ値を機種選択受付手段により選択された機種の通信対象に対して一斉に送信するためのコマンドを発行するコマンド発行機能を、そのコマンドの発行トリガとなる手段に割り付ける機能割付手段と、を備える。   The screen data creation device according to the present invention is a screen data creation device that includes a display unit and creates screen data of a screen to be displayed on a display device that can issue a command to a communication target. And a storage unit that stores a model of a communication target connected to the display device, a function that operates on the communication target, and a plurality of setting parameters that are set to exhibit the function on the communication target, and a display device A model selection accepting unit that accepts selection of a model of a communication target to be connected, a function that operates on the communication target of the model selected by the model selection accepting unit is read from the storage unit and displayed on the display unit. A function selection accepting unit that accepts and a plurality of setting parameters that are set in order to exert the function selected by the function selection accepting unit are read from the storage unit and displayed on the display unit, and each displayed setting parameter is set. Specifies the device functioning as a virtual memory area for storing parameter values of parameters. A command for simultaneously sending device specification receiving means for receiving a plurality of parameter values stored in a plurality of devices designated by the device specification receiving means to communication targets of the models selected by the model selection receiving means Function assigning means for assigning a command issuing function for issuing a command to a means for issuing a command.

このような構成によれば、ユーザが、表示装置に接続される通信対象の機種を選択すると、選択した機種の通信対象において動作する一又は複数の機能が画面データ作成装置の表示部に表示される。そして、ユーザが、表示部に表示された一又は複数の機能の中から所望の機能を選択すると、選択された機能を発揮させるために設定される複数の設定パラメータが表示部に表示される。その後、ユーザが、表示部に表示された複数の設定パラメータそれぞれについてデバイス(或いは定数)を指定すると、指定されたデバイスに格納される複数のパラメータ値を通信対象に対して一斉に送信するためのコマンドを発行するコマンド発行機能が、例えば後述する部品画像やプログラマブルロジックコントローラ内のデバイスなど、コマンドの発行トリガとなる手段に割り付けられる。   According to such a configuration, when the user selects a communication target model connected to the display device, one or more functions that operate on the communication target of the selected model are displayed on the display unit of the screen data creation device. The Then, when the user selects a desired function from one or a plurality of functions displayed on the display unit, a plurality of setting parameters set for causing the selected function to be displayed are displayed on the display unit. Thereafter, when the user designates a device (or a constant) for each of a plurality of setting parameters displayed on the display unit, a plurality of parameter values stored in the designated device are simultaneously transmitted to the communication target. A command issuing function for issuing a command is assigned to a means serving as a command issuing trigger, such as a component image, which will be described later, or a device in a programmable logic controller.

したがって、ユーザは、表示装置に表示される画面の画面データを作成するにあたって、複数のパラメータ値を同時に設定するコマンドを発行可能な画面の画面データを容易に作成することができる。特に、ユーザは、表示装置に接続される通信対象の機種を選択するだけで、選択した機種の通信対象において動作する機能が画面データ作成装置の表示部に表示され、また、選択した機能を発揮させるために設定される複数の設定パラメータが表示部に表示されるので、表示装置に接続される通信対象の仕様書などを読む必要がなく、コマンド作成作業に掛かる時間を減らすことができるとともに、通信対象に適合しない誤ったコマンドが生成されるのを防ぐことができる。   Therefore, when creating the screen data of the screen displayed on the display device, the user can easily create screen data of a screen that can issue a command for setting a plurality of parameter values at the same time. In particular, the user simply selects the communication target model connected to the display device, and the function that operates on the communication target of the selected model is displayed on the display unit of the screen data creation device, and the selected function is exhibited. Since a plurality of setting parameters that are set to be displayed are displayed on the display unit, it is not necessary to read the communication target specifications connected to the display device, and the time required for command creation can be reduced. It is possible to prevent generation of an erroneous command that does not match the communication target.

なお、複数のパラメータ値を「一斉に送信する」とは、例えば一のコマンドにおいて複数のパラメータ値を一緒に(纏めて)送信することを意味する。   Note that “transmitting a plurality of parameter values all at once” means, for example, transmitting a plurality of parameter values together (collectively) in one command.

また、本発明に係る画面データ作成装置は、表示装置の画面上に表示される部品画像の選択を受け付ける部品画像選択受付手段を備え、上述した機能割付手段は、上述したコマンド発行機能を、部品画像選択受付手段により選択された部品画像(例えばスイッチ画像など)に割り付けるような構成にしてもよい。これにより、上述したコマンド発行機能を有する部品画像を容易に作成することができる。例えばユーザは、その部品画像を操作するだけで(例えばスイッチの部品画像をタッチするだけで)、複数のパラメータ値を同時に設定するコマンドを表示装置から通信対象へ発行することができる。   The screen data creation device according to the present invention further includes a component image selection accepting unit that accepts selection of a component image displayed on the screen of the display device, and the function assigning unit described above includes the command issuing function described above. A configuration may be adopted in which the image is assigned to a component image (for example, a switch image) selected by the image selection receiving unit. Thereby, a component image having the above-described command issuing function can be easily created. For example, the user can issue a command for simultaneously setting a plurality of parameter values from the display device to the communication target simply by operating the component image (for example, by simply touching the component image of the switch).

また、本発明に係る画面データ作成装置は、部品画像選択受付手段により選択された部品画像に割り当てられたデバイスに格納された値が変化したことを契機としてコマンドが発行されるように、上述したコマンド発行機能により発行されるコマンドの発行タイミングの設定を受け付ける発行タイミング設定受付手段と、を備えるような構成にしてもよい。これにより、例えば、部品画像に割り当てられたデバイスのデバイス値がセットされたときと、部品画像に割り当てられたデバイスのデバイス値がリセットされたときとで、通信対象に送信されるパラメータ値を変えることができ、ひいては発行可能なコマンド種のバリエーションを増やすことができる。   Further, the screen data creation device according to the present invention is described above so that the command is issued when the value stored in the device assigned to the component image selected by the component image selection accepting unit is changed. An issue timing setting accepting unit that accepts the issue timing setting of a command issued by the command issuing function may be provided. Thereby, for example, the parameter value transmitted to the communication target is changed between when the device value of the device assigned to the component image is set and when the device value of the device assigned to the component image is reset. As a result, the number of command types that can be issued can be increased.

また、表示装置には、プログラマブルロジックコントローラが接続可能であって、プログラマブルロジックコントローラ内のデバイスであって、かつ、コマンドの発行トリガとなるトリガデバイスの設定を受け付けるトリガデバイス設定受付手段を備え、機能割付手段は、上述したコマンド発行機能を、トリガデバイス設定受付手段により設定されたデバイスに割り付けるような構成にしてもよい。これにより、通信対象へのコマンド発行を、プログラマブルロジックコントローラを用いて容易に自動化することができる。   In addition, the display device can be connected to a programmable logic controller, and includes a trigger device setting receiving unit that receives a setting of a trigger device that is a device in the programmable logic controller and serves as a command issuance trigger. The allocating unit may be configured to allocate the above-described command issuing function to the device set by the trigger device setting receiving unit. Thereby, command issuance to the communication target can be easily automated using the programmable logic controller.

また、表示装置には、プログラマブルロジックコントローラが接続可能であって、デバイス指定受付手段により指定されるデバイスは、プログラマブルロジックコントローラ内のデバイスであるような構成としてもよい。これにより、プログラマブルロジックコントローラ内のデバイスに格納された状態データを、表示装置を介して通信対象に反映する(書き込む)ことができるので、FAシステムの設計自由度を高めることができる。   In addition, a programmable logic controller can be connected to the display device, and the device designated by the device designation receiving unit may be a device in the programmable logic controller. Thereby, since the state data stored in the device in the programmable logic controller can be reflected (written) on the communication target via the display device, the design flexibility of the FA system can be increased.

また、記憶手段には、構造化言語により記述され、表示装置に接続される通信対象の機種、通信対象において動作する機能、及び通信対象において機能を発揮させるために設定される複数の設定パラメータを対応付けて格納する構造化文書ファイルが記憶されるような構成にしてもよい。これにより、通信対象の機種,機能,設定パラメータが対応付けられたデータの管理を容易にすることができる。   In addition, the storage means is described in a structured language and includes a communication target model connected to the display device, a function that operates on the communication target, and a plurality of setting parameters that are set in order to perform the function on the communication target. The structured document file to be stored in association with each other may be stored. As a result, it is possible to facilitate the management of data associated with the communication target model, function, and setting parameter.

また、その構造化文書ファイルは、表示装置に接続される一の通信対象の機種、その一の通信対象において動作する複数の機能、その一の通信対象において複数の機能それぞれを発揮させるために設定される複数のパラメータを複数セット有するパラメータセットを対応付けて格納するような構成にしてもよい。これにより、表示装置に接続される通信対象が追加された場合であっても、その通信対象に対応する構造化文書ファイルを画面データ作成装置の記憶手段に記憶させておくだけで、その通信対象に適合するコマンドを簡単に作成することができる。   In addition, the structured document file is set so that one model of communication target connected to the display device, a plurality of functions that operate in the one communication target, and a plurality of functions in the one communication target A configuration may be adopted in which parameter sets having a plurality of set parameters are stored in association with each other. As a result, even when a communication target connected to the display device is added, it is only necessary to store the structured document file corresponding to the communication target in the storage means of the screen data creation device. You can easily create a command that conforms to

以上説明したように、本発明によれば、表示装置に転送される画面データであって、複数のパラメータ値を同時に設定するコマンドを発行可能な画面の画面データを容易に作成することができる。   As described above, according to the present invention, it is possible to easily create screen data of a screen that can be issued to set a plurality of parameter values at the same time, which is screen data transferred to the display device.

表示装置を有するFAシステムのシステム構成例を示す図である。It is a figure which shows the system configuration example of FA system which has a display apparatus. 図1に示すFAシステムにおける表示装置,PLC,多軸コントローラのハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the display apparatus, PLC, and multi-axis controller in FA system shown in FIG. 本実施形態に係る画面データ作成装置のハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the screen data creation apparatus which concerns on this embodiment. 本実施形態に係る画面データ作成装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the screen data creation apparatus which concerns on this embodiment. 複数の設定パラメータを対応付けて格納する構造化文書ファイルの一例を示す図である。It is a figure which shows an example of the structured document file which matches and stores several setting parameters. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 画面データ作成装置の表示部に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the display part of a screen data creation apparatus. 本実施形態に係る画面データ作成装置における処理動作を説明するためのフローチャートである。It is a flowchart for demonstrating the processing operation in the screen data creation apparatus which concerns on this embodiment. ユーザがスイッチを操作したときに、表示装置から多軸コントローラにコマンドが発行される概念を示す概念図である。It is a conceptual diagram which shows the concept that a command is issued from a display apparatus to a multi-axis controller when a user operates a switch. 本発明の第2実施形態に係る画面データ作成装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the screen data creation apparatus which concerns on 2nd Embodiment of this invention. 図16に示す画面データ作成装置を用いて画面データを作成したときに、表示装置から多軸コントローラにコマンドが発行される概念を示す概念図である。FIG. 17 is a conceptual diagram showing a concept that a command is issued from the display device to the multi-axis controller when screen data is created using the screen data creation device shown in FIG. 16. 本発明の第3実施形態に係る画面データ作成装置を用いて画面データを作成したときに、表示装置から多軸コントローラにコマンドが発行される様子を示す概念図である。It is a conceptual diagram which shows a mode that a command is issued to a multi-axis controller from a display apparatus, when screen data are produced using the screen data production apparatus which concerns on 3rd Embodiment of this invention. レコード数が1個の場合のコマンドの一例を示す図である。It is a figure which shows an example of a command in case the number of records is one. レコード数が2個の場合のコマンドの一例を示す図である。It is a figure which shows an example of a command in case the number of records is two.

以下、本発明の実施の形態に係る画面データ作成装置によって作成された画面データが転送される表示装置を用いたFAシステムについて、図面に基づいて具体的に説明する。   Hereinafter, an FA system using a display device to which screen data created by a screen data creation device according to an embodiment of the present invention is transferred will be specifically described with reference to the drawings.

[第1の実施形態]
図1は、表示装置200を有するFAシステムのシステム構成例を示す図である。図1に示すFAシステムは、表示装置200と、PLC300と、多軸コントローラ400と、ロボシリンダ500とを有している。そして、本実施形態に係る画面データ作成装置100において作成された画面データは、USB通信などを介して表示装置200に転送され、ユーザは、表示装置200の画面をモニタしたり操作したりすることで、PLC300や多軸コントローラ400の動作状態を監視したり、PLC300や多軸コントローラ400に対して指示を与えたりすることができる。なお、本実施形態では、表示装置200に2個のポートを設け、PLC300と多軸コントローラ400という2種類の機器を同時に表示装置200に接続しているが、例えば3種類以上の機器を同時に表示装置200に接続するような構成としてもよいし、PLC300又は多軸コントローラ400のいずれか一方を表示装置200に接続するような構成としてもよい(多軸コントローラ400のみを表示装置200に接続するシステム構成例については、第2の実施形態において後述する)。
[First Embodiment]
FIG. 1 is a diagram illustrating a system configuration example of an FA system having a display device 200. The FA system shown in FIG. 1 includes a display device 200, a PLC 300, a multi-axis controller 400, and a ROBO cylinder 500. Then, the screen data created by the screen data creation device 100 according to the present embodiment is transferred to the display device 200 via USB communication or the like, and the user monitors or operates the screen of the display device 200. Thus, the operation state of the PLC 300 or the multi-axis controller 400 can be monitored, or an instruction can be given to the PLC 300 or the multi-axis controller 400. In this embodiment, the display device 200 is provided with two ports, and two types of devices, the PLC 300 and the multi-axis controller 400, are simultaneously connected to the display device 200. For example, three or more types of devices are simultaneously displayed. It is good also as a structure which connects to the apparatus 200, and it is good also as a structure which connects either one of PLC300 or the multi-axis controller 400 to the display apparatus 200 (System which connects only the multi-axis controller 400 to the display apparatus 200) A configuration example will be described later in the second embodiment).

PLC300は、制御プログラムに基づいて動作し、PLC300に接続されるスイッチやセンサなどの入力機器601、アクチュエータや温度調節機器などの出力機器602を監視・制御している。PLC300は、入力機器601からの入力信号の状態を示す状態データや、出力機器602への出力信号の状態を示す状態データを保持しており、これらの各状態データは、PLC300内に設けられる仮想的なメモリ領域であるデバイスに格納され、デバイス値として扱われる。   The PLC 300 operates based on a control program, and monitors and controls an input device 601 such as a switch and a sensor connected to the PLC 300 and an output device 602 such as an actuator and a temperature control device. The PLC 300 holds state data indicating the state of the input signal from the input device 601 and state data indicating the state of the output signal to the output device 602. Each of these state data is a virtual data provided in the PLC 300. Stored in a device, which is a typical memory area, and handled as a device value.

ここで、デバイスとは、リレー、タイマ、カウンタ、データメモリなど、PLC300に接続される各入出力機器の監視や制御のために制御プログラムで用いられる要素であり、命令で使用するデータを与えたり、命令の実行結果を格納したりするために用いられる。デバイスには、入力機器601からの入力信号に基づいてオン/オフされるビットデバイス(入力ビットデバイス)や、出力機器602の動作を制御するためにオン/オフされるビットデバイス(出力ビットデバイス)、オン/オフではなく数値データが格納されるワードデバイスなどがある。また、デバイスは、ビットデバイスであるかワードデバイスであるかを示すデバイス種別と、同一のデバイス種別を有する複数のデータを管理するためのデバイス番号を有している。例えば、図2に示す“DM0000”というデバイスは、デバイス種別が“DM”であり、デバイス番号が“0000”である。   Here, a device is an element used in a control program for monitoring and controlling each input / output device connected to the PLC 300, such as a relay, a timer, a counter, a data memory, etc. Used to store the execution result of an instruction. The device includes a bit device (input bit device) that is turned on / off based on an input signal from the input device 601 and a bit device (output bit device) that is turned on / off to control the operation of the output device 602. There are word devices that store numerical data instead of on / off. The device also has a device type indicating whether it is a bit device or a word device, and a device number for managing a plurality of data having the same device type. For example, the device “DM0000” shown in FIG. 2 has a device type “DM” and a device number “0000”.

表示装置200は、主として、PLC300の動作状態をモニタするための装置であり、例えばシリアル通信ケーブル等を介してPLC300と接続されている。表示装置200は、PLC300とデータ通信を行って、PLC300内の状態データ、すなわちデバイス値を取得し、このデバイス値に基づく画面表示を行う。また、データ通信を利用して、PLC300に対して指示を与えることもできる。すなわち、PLC300内のデバイスに格納されたデバイス値を書き換えることもできる。例えば、ユーザが表示装置200の画面上に表示されたスイッチの部品画像を押すと、表示装置200からPLC300に対して書き込みコマンドが送出され、例えばスイッチの部品画像に割り当てられているデバイスにデバイス値が書き込まれる。そして、PLC300の制御プログラムが実行されると、書き込まれたデバイス値を参照して、例えばPLC300に接続された出力機器602に対して制御コマンドが発行される。   The display device 200 is mainly a device for monitoring the operation state of the PLC 300, and is connected to the PLC 300 via, for example, a serial communication cable. The display device 200 performs data communication with the PLC 300, acquires state data in the PLC 300, that is, a device value, and performs screen display based on the device value. In addition, an instruction can be given to the PLC 300 using data communication. That is, the device value stored in the device in the PLC 300 can be rewritten. For example, when the user presses a switch component image displayed on the screen of the display device 200, a write command is sent from the display device 200 to the PLC 300. For example, a device value is assigned to the device assigned to the switch component image. Is written. When the control program of the PLC 300 is executed, a control command is issued to the output device 602 connected to the PLC 300, for example, with reference to the written device value.

画面データ作成装置100は、主として、PLC300の動作状態を表示装置200の画面に表示させる画面データを作成するための装置であり、必要に応じて、例えばシリアル通信ケーブル等を介して表示装置200と接続され、作成された画面データを表示装置200に転送する。例えば、画面データ作成ソフトウェアがインストールされたパーソナルコンピュータを画面データ作成装置100として用いることができる。ユーザは、画面データ作成装置100を用いて、表示装置200の画面に表示されるスイッチ、メータ、及びグラフなどの各種部品画像のレイアウトを決めたり、個々の部品画像へPLC300のデバイスへの割り当てを行ったりして、画面データを作成する。   The screen data creation device 100 is a device mainly for creating screen data for displaying the operation state of the PLC 300 on the screen of the display device 200. If necessary, the screen data creation device 100 is connected to the display device 200 via a serial communication cable or the like. The connected and created screen data is transferred to the display device 200. For example, a personal computer in which screen data creation software is installed can be used as the screen data creation device 100. The user uses the screen data creation device 100 to determine the layout of various component images such as switches, meters, and graphs displayed on the screen of the display device 200, and assigns the individual component images to the devices of the PLC 300. To create screen data.

ここで、上述したように、表示装置200には2個のポートが設けられ、PLC300だけでなく、多軸コントローラ400も同時に接続されている。したがって、表示装置200は、PLC300の動作状態だけでなく、多軸コントローラ400の動作状態をモニタすることもできるし、また、PLC300に対して指示を与えるだけでなく、多軸コントローラ400に対しても指示を与えることができる。   Here, as described above, the display device 200 is provided with two ports, and not only the PLC 300 but also the multi-axis controller 400 is simultaneously connected. Therefore, the display device 200 can monitor not only the operation state of the PLC 300 but also the operation state of the multi-axis controller 400, and not only gives an instruction to the PLC 300 but also provides an indication to the multi-axis controller 400. Can also give instructions.

多軸コントローラ400は、例えばシリアル通信で接続されたロボシリンダ500などのアクチュエータを制御可能なコントローラであって、図1に示すようにX軸用とY軸用のロボシリンダ500を同時に制御することができる。なお、図1では、X軸とY軸の2軸を制御するコントローラを示しているが、これにZ軸やθ軸などを加えた3軸以上の軸を制御するコントローラであってもよい。   The multi-axis controller 400 is a controller capable of controlling an actuator such as a ROBO Cylinder 500 connected by serial communication, for example, and simultaneously controls the X-axis and Y-axis ROBO cylinders 500 as shown in FIG. Can do. Although FIG. 1 shows a controller that controls two axes, the X-axis and the Y-axis, it may be a controller that controls three or more axes by adding a Z-axis, a θ-axis, and the like.

このような多軸コントローラ400は、一般に複数のパラメータ値を同時に設定しなければならない。例えば、ロボシリンダ500のうちX軸のみを前進させたい場合には、多軸コントローラ400に対して2個のパラメータを同時に設定する指示を与える必要がある。具体的に説明すると、表示装置200から多軸コントローラ400に対して制御コマンドを発行する場合に、1回のコマンド発行で、パラメータ“軸パターン”についてはパラメータ値“X軸のみ”、パラメータ“動作種別”についてはパラメータ値“前進”というように、2個のパラメータを同時に設定する指示を与えなければならない。そこで、本実施形態に係る画面データ作成装置100では、複数のパラメータ値を同時に設定するコマンドを発行可能な画面データを容易に作成できるようになっている。以下、詳細に説明する。   Such a multi-axis controller 400 generally has to set a plurality of parameter values simultaneously. For example, in order to advance only the X axis of the ROBO cylinder 500, it is necessary to give an instruction to the multi-axis controller 400 to set two parameters at the same time. More specifically, when the control command is issued from the display device 200 to the multi-axis controller 400, the parameter value “only the X-axis” and the parameter “operation” are set for the parameter “axis pattern” by issuing the command once. For “type”, an instruction to set two parameters at the same time must be given, such as parameter value “forward”. Therefore, the screen data creation apparatus 100 according to the present embodiment can easily create screen data that can issue commands for setting a plurality of parameter values at the same time. Details will be described below.

[ハードウェア構成]
図2は、図1に示すFAシステムにおける表示装置200,PLC300,多軸コントローラ400のハードウェア構成例を示すブロック図である。図3は、本実施形態に係る画面データ作成装置100のハードウェア構成例を示すブロック図である。
[Hardware configuration]
FIG. 2 is a block diagram illustrating a hardware configuration example of the display device 200, the PLC 300, and the multi-axis controller 400 in the FA system illustrated in FIG. FIG. 3 is a block diagram illustrating a hardware configuration example of the screen data creation device 100 according to the present embodiment.

図2に示すように、PLC300の制御手段301は、CPUやRAM等によって実現され、プログラムメモリ302に記憶されている制御プログラムを実行する。これにより、入力機器601(図1)からの入力信号に基づいて、その入力機器601が割り当てられたデバイスがオン/オフされ、それに基づいて所定の演算処理を実行し、出力機器602(図1)が割り当てられたデバイスをオン/オフすることにより、出力機器602の制御が行われる。デバイスメモリ303は、入力機器601や出力機器602などが割り当てられた各デバイスのデバイス値(状態データ)が格納されるメモリである。また、PLC300内部の動作状態を示す状態データも、内部デバイスのデバイス値として格納している。制御プログラムが実行される際には、まず、出力機器602に割り当てられた出力デバイスのデバイス値が出力機器602に転送された後、入力機器602から受信した値が入力機器602の状態データとして入力デバイスに転送される(いわゆる自動リフレッシュ)。そして、制御プログラムが先頭ステップから順番に1命令ごとに実行された後、外部機器との通信処理やシステム全体のエラーチェックなどの後処理が行われる。   As shown in FIG. 2, the control unit 301 of the PLC 300 is realized by a CPU, a RAM, and the like, and executes a control program stored in the program memory 302. Thereby, based on the input signal from the input device 601 (FIG. 1), the device to which the input device 601 is assigned is turned on / off, and based on this, predetermined arithmetic processing is executed, and the output device 602 (FIG. 1). The output device 602 is controlled by turning on / off the device to which () is assigned. The device memory 303 is a memory in which device values (status data) of devices to which the input device 601 and the output device 602 are assigned are stored. In addition, state data indicating the operation state inside the PLC 300 is also stored as a device value of the internal device. When the control program is executed, first, after the device value of the output device assigned to the output device 602 is transferred to the output device 602, the value received from the input device 602 is input as the status data of the input device 602. It is transferred to the device (so-called automatic refresh). Then, after the control program is executed for each instruction in order from the top step, post-processing such as communication processing with an external device and error check of the entire system is performed.

なお、本明細書でいうデバイスは、上述したように制御プログラムで用いられる要素であるが、換言すれば、物理的なメモリ領域(メモリアドレス)をデバイスごとに切り分けた仮想的なメモリ領域であるとも言える。図2に示すデバイスメモリ301には、ビットデバイスとしてのリレーデバイスR0000、リレーデバイスR0001、・・・の各デバイス値が格納されており、また、ワードデバイスとしてのデータメモリデバイスDM0000、データメモリデバイスDM0001、データメモリデバイスDM0002、・・・の各デバイス値が格納されている。   The device in this specification is an element used in the control program as described above. In other words, the device is a virtual memory area obtained by dividing a physical memory area (memory address) for each device. It can also be said. The device memory 301 shown in FIG. 2 stores device values of relay device R0000, relay device R0001,... As bit devices, and data memory device DM0000, data memory device DM0001 as word devices. , Data memory devices DM0002,... Are stored.

表示装置200は、CPUやRAM等によって実現される制御手段201と、PLC300と通信する通信手段(通信インターフェース)205と、制御手段201及び通信手段205を介して画像データ作成装置100から転送されてきた画面データを記憶するメモリ202と、タッチパネル等によって実現される入力手段203と、液晶ディスプレイや有機ELパネル等によって実現される表示手段204と、を有している。なお、メモリ202に記憶される画面データには、表示手段204に表示される部品画像の画像データや、部品画像のレイアウト情報、部品画像へのデバイス割り当て情報、PLC300内のデバイスのデバイス値を読み出すためのプログラムなど、様々なものが含まれる。また、表示装置200内部の動作状態を示す状態データを、内部デバイスのデバイス値として格納している場合には、その内部デバイスのデバイス値を読み出すためのプログラムなども含まれる。さらに、本実施形態に係る画面データ作成装置100から表示装置200のメモリ202に転送される画面データには、多軸コントローラ400に対して所定コマンドを発行するコマンド発行機能を実現するためのプログラムも含まれている。特に、ここでいう所定コマンドには、複数のパラメータ値を同時に設定するコマンドが含まれている。これらのプログラムが含まれる画面データは、ユーザが画面データ作成装置100のGUI(Graphical User Interface)を用いて容易に作成することができる。なお、GUIを用いた画面データの作成の詳細については後述する。また、本実施形態では画面データの中に、画像データやレイアウト情報、デバイス割り当て情報や各種プログラムなどが含まれるような構成にしているが、それぞれが画面データとは独立して扱われるようにしてもよい。   The display device 200 is transferred from the image data creation device 100 via the control unit 201 realized by a CPU, a RAM, and the like, a communication unit (communication interface) 205 that communicates with the PLC 300, and the control unit 201 and the communication unit 205. A memory 202 for storing screen data, an input unit 203 realized by a touch panel or the like, and a display unit 204 realized by a liquid crystal display, an organic EL panel or the like. The screen data stored in the memory 202 reads the image data of the component image displayed on the display unit 204, the layout information of the component image, the device allocation information to the component image, and the device value of the device in the PLC 300. Various programs are included. In addition, when state data indicating the internal operation state of the display device 200 is stored as a device value of an internal device, a program for reading the device value of the internal device is also included. Furthermore, the screen data transferred from the screen data creation device 100 according to the present embodiment to the memory 202 of the display device 200 includes a program for realizing a command issuing function for issuing a predetermined command to the multi-axis controller 400. include. In particular, the predetermined command here includes a command for simultaneously setting a plurality of parameter values. The screen data including these programs can be easily created by a user using a GUI (Graphical User Interface) of the screen data creation device 100. Details of creation of screen data using the GUI will be described later. In this embodiment, the screen data includes image data, layout information, device allocation information, various programs, and the like. However, each screen data is handled independently of the screen data. Also good.

多軸コントローラ400の制御手段401は、ASIC(Application Specific Integrated Circuit)やRAM等によって実現され、プログラムメモリ402に記憶されている制御プログラムを実行し、ロボシリンダ500を制御する。また、プログラムメモリ402に記憶されている制御プログラムは、表示装置200から送られてくる制御コマンドに基づいて実行される。具体的には、複数のパラメータのパラメータ値を同時に設定する制御コマンドに基づいて、ロボシリンダ500がユーザの意図した動作を行うように制御プログラムが実行される。なお、ここでいう複数のパラメータには、上述した“軸パターン”や“動作種別”の他にも、例えば、ロボシリンダ500が動作する際の“速度”,ロボシリンダ500が停止状態から設定速度へ到達するまでの速度変化率である“加速度”,ロボシリンダ500が設定速度から停止するまでの速度変化率である“減速度”,ロボシリンダ500を所定の位置で位置決めするための“位置データ”などが挙げられる。   The control means 401 of the multi-axis controller 400 is realized by an ASIC (Application Specific Integrated Circuit), a RAM, or the like, executes a control program stored in the program memory 402, and controls the ROBO cylinder 500. In addition, the control program stored in the program memory 402 is executed based on a control command sent from the display device 200. Specifically, the control program is executed so that the ROBO Cylinder 500 performs an operation intended by the user based on a control command that sets parameter values of a plurality of parameters simultaneously. In addition to the above-mentioned “axis pattern” and “motion type”, for example, the “parameter” used herein includes “speed” when the ROBO Cylinder 500 operates, and the ROBO Cylinder 500 from the stopped state to the set speed. "Acceleration" which is the speed change rate until reaching RO, "Deceleration" which is the speed change rate until the ROBO Cylinder 500 stops from the set speed, "Position Data" for positioning the ROBO Cylinder 500 at a predetermined position ".

次に、図3に示すように、画面データ作成装置100は、制御手段101と、入力部102と、表示部103と、HDD(ハードディスクドライブ)104と、メモリ106と、通信手段(通信インターフェース107)と、を有している。制御手段101は、CPU等によって実現され、バスを介してハードウェア各部と接続されている。そして、制御手段101は、ハードウェア各部の動作を制御するとともに、HDD104に記憶されているコンピュータプログラムに従って、種々のソフトウェア的機能を発揮する。   Next, as shown in FIG. 3, the screen data creation apparatus 100 includes a control unit 101, an input unit 102, a display unit 103, an HDD (hard disk drive) 104, a memory 106, and a communication unit (communication interface 107). ) And. The control means 101 is realized by a CPU or the like, and is connected to each part of hardware via a bus. The control unit 101 controls the operation of each part of the hardware and exhibits various software functions according to the computer program stored in the HDD 104.

メモリ106は、SRAMやSDRAMなどの揮発性メモリで構成され、コンピュータプログラムの実行時にロードモジュールが展開され、コンピュータプログラムを実行するときに一時的なデータ等を記憶する。HDD104に記憶されているコンピュータプログラムは、プログラム及びデータなどの情報を記録したDVDやCD等の可搬型記録媒体105から、ディスクドライブ(図示せず)を通じてインストールされ、実行時には上述したようにメモリ106に展開される。なお、通信手段107を介して、インターネット等を通じて外部のコンピュータからダウンロードするようにしてもよい。入力部102は、キーボードやマウス、タッチパッド等などから構成され、ユーザからの操作を受け付ける機能を有している。表示部103は、CRTモニタやLCD等などから構成され、所定の画像や文字等を表示する機能を有している。   The memory 106 is configured by a volatile memory such as SRAM or SDRAM, and a load module is expanded when the computer program is executed, and temporary data is stored when the computer program is executed. The computer program stored in the HDD 104 is installed through a disk drive (not shown) from a portable recording medium 105 such as a DVD or CD in which information such as programs and data is recorded. Expanded to In addition, you may make it download from an external computer via the internet etc. via the communication means 107. FIG. The input unit 102 includes a keyboard, a mouse, a touch pad, and the like, and has a function of accepting an operation from the user. The display unit 103 includes a CRT monitor, an LCD, and the like, and has a function of displaying a predetermined image, characters, and the like.

このような画面データ作成装置100は、HDD104に記憶されているコンピュータプログラムに従って、表示装置200に表示させる画面の画面データを作成するための画面データ作成ソフトウェアの機能を発揮できるようになっている。以下、画面データ作成装置100の(ソフトウェア的な)機能構成について説明する。   Such a screen data creation device 100 can perform the function of screen data creation software for creating screen data of a screen to be displayed on the display device 200 in accordance with a computer program stored in the HDD 104. Hereinafter, a (software-like) functional configuration of the screen data creation apparatus 100 will be described.

[機能構成]
図4は、本実施形態に係る画面データ作成装置100の機能構成を示すブロック図である。
[Function configuration]
FIG. 4 is a block diagram illustrating a functional configuration of the screen data creation device 100 according to the present embodiment.

図4に示すように、画面データ作成装置100は、主に、受付手段10と、機能割付手段17と、記憶手段16と、上述した表示部103とを有している。また、受付手段10は、機種選択受付手段11と、部品画像選択受付手段12と、機能選択受付手段13と、発行タイミング設定受付手段14と、デバイス指定受付手段15と、を有している。受付手段10としての機能は、制御手段101、HDD104に記憶されているコンピュータプログラム、メモリ106、及び入力部102等のハードウェアによって実現され、機能割付手段17としての機能は、制御手段101等のハードウェアによって実現され、記憶手段16としての機能は、HDD104及び/又はメモリ106のハードウェアによって実現される。   As shown in FIG. 4, the screen data creation device 100 mainly includes a reception unit 10, a function assignment unit 17, a storage unit 16, and the display unit 103 described above. The receiving unit 10 includes a model selection receiving unit 11, a component image selection receiving unit 12, a function selection receiving unit 13, an issue timing setting receiving unit 14, and a device designation receiving unit 15. The function as the accepting unit 10 is realized by hardware such as the control unit 101, a computer program stored in the HDD 104, the memory 106, and the input unit 102, and the function as the function assigning unit 17 is the function of the control unit 101 or the like. The function as the storage unit 16 is realized by hardware, and is realized by the hardware of the HDD 104 and / or the memory 106.

まず、記憶手段16は、表示装置200に接続される通信対象の機種、その通信対象において動作する機能、及びその通信対象において機能を発揮させるために設定される複数の設定パラメータを対応付けて記憶している。本実施形態では、表示装置200に接続される通信対象の機種は多軸コントローラ400であるが、他にも、温度調節機器など様々な出力機器が考えられる。また、出力機器だけでなく、PLC300とは別のプログラマブルロジックコントローラを表示装置200に接続することも考えられる(この場合、2台のプログラマブルロジックコントローラが表示装置200に接続される)。   First, the storage unit 16 stores a model of a communication target connected to the display device 200, a function that operates on the communication target, and a plurality of setting parameters that are set to perform the function on the communication target in association with each other. is doing. In the present embodiment, the communication target model connected to the display device 200 is the multi-axis controller 400, but other various output devices such as a temperature control device are conceivable. In addition to the output device, a programmable logic controller other than the PLC 300 may be connected to the display device 200 (in this case, two programmable logic controllers are connected to the display device 200).

本実施形態に係る画面データ作成装置100では、図5に示すように、表示装置200に接続される通信対象ごとに存在する機能(コマンド)のパラメータに関する情報は、XML(Extensible Markup Language)ファイルとして、通信対象ごとに別々に記憶手段16に記憶されている。機種選択受付手段11により機種変更を行ったタイミングで、XMLファイルを読み分けて、選択可能な機能(送信されるコマンド)を切り替えていく。具体的には、記憶手段16には、プログラマブルロジックコントローラ用のXMLファイル21、多軸コントローラ用のXMLファイル22、温度調節器用のXMLファイル23、・・・など複数のXMLファイルが記憶されており、そのうち多軸コントローラ用のXMLファイル22には、多軸コントローラの機能に関する情報が格納されている。すなわち、XMLファイル22には、ジョグインチング22aの機能を発揮させるために設定が必要な設定パラメータに関する情報、原点復帰22bの機能を発揮させるために設定が必要な設定パラメータに関する情報、ポイント照会22cの機能を発揮させるために設定が必要な設定パラメータに関する情報が格納されている。換言すれば、多軸コントローラのコマンドに関する情報が格納されているといえる。   In the screen data creation device 100 according to the present embodiment, as shown in FIG. 5, information regarding parameters of functions (commands) that exist for each communication target connected to the display device 200 is an XML (Extensible Markup Language) file. Each communication object is stored in the storage means 16 separately. At the timing when the model selection accepting unit 11 changes the model, the XML file is read and the selectable functions (commands to be transmitted) are switched. Specifically, the storage unit 16 stores a plurality of XML files such as an XML file 21 for a programmable logic controller, an XML file 22 for a multi-axis controller, an XML file 23 for a temperature controller, and so on. Of these, the XML file 22 for the multi-axis controller stores information on the functions of the multi-axis controller. That is, the XML file 22 includes information on setting parameters that need to be set in order to exhibit the function of the jog inching 22a, information on settings parameters that need to be set in order to demonstrate the function of the origin return 22b, and point inquiry 22c. Stores information related to setting parameters that need to be set in order to exert their functions. In other words, it can be said that information on commands of the multi-axis controller is stored.

なお、XMLファイルは、構造化言語(XML)により記述され、表示装置200に接続される通信対象の機種、その通信対象において動作する機能、及びその通信対象において機能を発揮させるために設定される複数の設定パラメータを対応付けて格納する構造化文書ファイルの一例である。そして、図5に示すように、XMLファイル22は、表示装置200に接続される一の通信対象の機種(多軸コントローラ)と、多軸コントローラにおいて動作する複数の機能(ジョグインチング22a,原点復帰22b,及びポイント照会)と、多軸コントローラにおいて複数の機能を発揮させるために設定される複数のパラメータを複数セット有するパラメータセットと、を対応付けて格納している。このように、XMLファイルを用いることで、通信対象の機種,機能,設定パラメータが対応付けられたデータの管理を容易にすることができる。例えば、表示装置200に接続される通信対象が追加された場合には、その通信対象に対応するXMLファイルを新たに記憶手段16に記憶させればよいし、多軸コントローラに新たな機能が追加された場合には、その新たな機能をXMLファイル22に付加すればよい。   Note that the XML file is described in a structured language (XML), and is set in order to exert a function in a communication target model connected to the display device 200, a function that operates in the communication target, and a function in the communication target. It is an example of a structured document file that stores a plurality of setting parameters in association with each other. As shown in FIG. 5, the XML file 22 includes one communication target model (multi-axis controller) connected to the display device 200 and a plurality of functions (jog inching 22 a, origin return) operating in the multi-axis controller. 22b and point inquiry) and a parameter set having a plurality of sets of a plurality of parameters set in order to exhibit a plurality of functions in the multi-axis controller are stored in association with each other. As described above, by using the XML file, it is possible to facilitate the management of data associated with the model, function, and setting parameter to be communicated. For example, when a communication target connected to the display device 200 is added, an XML file corresponding to the communication target may be newly stored in the storage unit 16, and a new function is added to the multi-axis controller. If so, the new function may be added to the XML file 22.

図4に戻って、機種選択受付手段11は、表示装置200に接続される通信対象の機種の選択を受け付ける手段である。具体的には、画面データ作成装置100の表示部103に機種選択画面を表示させ(例えば、表示装置200が通信可能な通信対象の機種一覧をプルダウンメニュー等により表示させ)、入力部102を介したユーザからの機種選択を受け付ける。本実施形態では、多軸コントローラ400を選択する。なお、表示装置200が通信可能な通信対象の機種一覧は、記憶手段16から読み出すことができる。また、入力部102を介してユーザが機種(機種名や機種番号)を直接入力するようにしてもよい。この場合、入力された機種が、ユーザによって選択された機種となる。   Returning to FIG. 4, the model selection receiving unit 11 is a unit that receives selection of a communication target model connected to the display device 200. Specifically, a model selection screen is displayed on the display unit 103 of the screen data creation apparatus 100 (for example, a list of models to be communicated with which the display apparatus 200 can communicate is displayed by a pull-down menu or the like). The model selection from the selected user is accepted. In the present embodiment, the multi-axis controller 400 is selected. A list of communication target models that the display device 200 can communicate with can be read from the storage unit 16. Alternatively, the user may directly input the model (model name or model number) via the input unit 102. In this case, the input model is the model selected by the user.

部品画像選択受付手段12は、表示装置200の画面上に表示される部品画像の選択を受け付ける手段である。換言すれば、機種選択受付手段11により選択された機種の通信対象に対して複数のパラメータ値を一斉に送信するためのコマンドを発行するコマンド発行機能を割り付ける先として、ユーザに所望の部品画像を選択させるための手段である。このコマンド発行機能を割り付ける部品画像としては、多軸コントローラ400に対して指示(オン・オフ指示など)を与えることを示唆する部品画像であることが望ましい。例えばスイッチ,ランプスイッチなどの部品画像が挙げられる。なお、表示装置200の画面上に表示させる部品画像の画像データは、記憶手段16に記憶されている。   The component image selection receiving unit 12 is a unit that receives selection of a component image displayed on the screen of the display device 200. In other words, as a destination to which a command issuing function for issuing a command for simultaneously transmitting a plurality of parameter values is assigned to the communication target of the model selected by the model selection receiving unit 11, a desired component image is given to the user. It is a means for making it select. The part image to which the command issuing function is assigned is preferably a part image that suggests giving an instruction (such as an on / off instruction) to the multi-axis controller 400. For example, parts images such as a switch and a lamp switch can be cited. The image data of the component image to be displayed on the screen of the display device 200 is stored in the storage unit 16.

機能選択受付手段13は、機種選択受付手段11により選択された機種の通信対象において動作する機能を記憶手段16から読み出して表示部103に表示するとともに、その機能の選択を受け付ける手段である。換言すれば、多軸コントローラ400が有する一又は複数の機能の中からユーザに所望の機能を選択させるための手段である。表示部103に表示する態様については様々考えられ、例えば、機能全てを一覧表にして表示させるようにしてもよいし、機能一覧をプルダウンメニュー等により表示させるようにしてもよい。このように、多軸コントローラ400において動作する機能の一覧をユーザに見せることで、ユーザは多軸コントローラ400において動作する機能を仕様書などで確認しなくても、所望の機能を選択することができる。なお、機能選択受付手段13により選択された機能は、ユーザが多軸コントローラ400に対して発行を望むコマンドであるといえる。   The function selection accepting unit 13 is a unit that reads out the function operating on the communication target of the model selected by the model selection accepting unit 11 from the storage unit 16 and displays the function on the display unit 103 and accepts the selection of the function. In other words, the multi-axis controller 400 is a means for allowing the user to select a desired function from one or a plurality of functions. There are various ways of displaying on the display unit 103. For example, all functions may be displayed as a list, or a function list may be displayed using a pull-down menu or the like. In this way, by showing the user a list of functions that operate in the multi-axis controller 400, the user can select a desired function without confirming the functions that operate in the multi-axis controller 400 with specifications or the like. it can. It can be said that the function selected by the function selection accepting unit 13 is a command that the user desires to issue to the multi-axis controller 400.

発行タイミング設定受付手段14は、部品画像選択受付手段12により選択された部品画像に割り当てられたデバイスに格納された値(デバイス値)が変化したことを契機としてコマンドが発行されるように、コマンド発行機能により発行されるコマンドの発行タイミングの設定を受け付ける手段である。例えばユーザは、画面データ作成装置100の表示部103において、デバイス値が0から1になったとき(ユーザが部品画像をONしたとき)にコマンドが発行されるようにするか、デバイス値が1から0になったとき(ユーザが部品画像をOFFしたとき)にコマンドが発行されるようにするかを、プルダウンメニュー等により設定することができる。或いは、画面データ作成装置100の表示部103において2つの表示領域を設け、デバイス値が0から1になったときに発行されるコマンドを一方の表示領域(例えばON領域)において設定し、デバイス値が1から0になったときに発行されるコマンドを他方の表示領域(OFF領域)において設定するようにしてもよい。これにより、ユーザはコマンドの発行タイミングを一目で見分けながら、コマンド発行機能を部品画像に割り付けていくことができる。なお、デバイス値が0又は1の2値以上の複数の値をとり得る場合には、例えば、デバイス値が所定の値に達したときや、デバイス値が所定の値域に入ったときにコマンドが発行されるよう、コマンドの発行タイミングの設定を受け付けてもよい。   The issue timing setting accepting unit 14 issues a command so that the command is issued when the value (device value) stored in the device assigned to the component image selected by the component image selection accepting unit 12 changes. It is a means for accepting the setting of the issue timing of a command issued by the issue function. For example, the user can issue a command when the device value changes from 0 to 1 (when the user turns on the component image) on the display unit 103 of the screen data creation apparatus 100, or the device value is 1. It can be set by a pull-down menu or the like whether or not the command is issued when it becomes 0 from 0 (when the user turns off the component image). Alternatively, two display areas are provided in the display unit 103 of the screen data creation apparatus 100, a command issued when the device value is changed from 0 to 1 is set in one display area (for example, the ON area), and the device value is set. A command that is issued when 1 becomes 0 from 1 may be set in the other display area (OFF area). Thus, the user can assign the command issuing function to the component image while recognizing the command issuing timing at a glance. When the device value can take a plurality of values of two or more values of 0 or 1, for example, when the device value reaches a predetermined value or when the device value enters a predetermined value range, A command issue timing setting may be accepted so that the command is issued.

デバイス指定受付手段15は、機能選択受付手段12により選択された機能を発揮させるために設定される複数の設定パラメータを記憶手段16から読み出して表示部103に表示するとともに、表示された設定パラメータそれぞれについて、設定パラメータのパラメータ値を格納する仮想的なメモリ領域として機能するデバイスの指定を受け付ける手段である。換言すれば、設定パラメータのパラメータ値を読み出す先を指定するための手段である。デバイス指定受付手段15によって指定されるデバイスは、PLC300内のデバイスメモリ303(図2)に設けられたデバイスであってもよいし、表示装置200内に設けられたデバイス(いわゆる表示装置200の内部デバイス)であってもよい。PLC300内のデバイスを指定することによって、プログラマブルロジックコントローラ内のデバイスに格納された状態データを、表示装置200を介して多軸コントローラ400に反映する(書き込む)ことができる。一方で、表示装置200内に設けられたデバイスを指定することによって、PLC300が表示装置200に接続されていないようなシステム構成、すなわち後述する第3の実施形態のように表示装置200に多軸コントローラ400のみが接続されるようなシステム構成も実現することができる。   The device designation receiving unit 15 reads out a plurality of setting parameters set in order to perform the function selected by the function selection receiving unit 12 from the storage unit 16 and displays the setting parameters on the display unit 103. Is a means for accepting designation of a device that functions as a virtual memory area for storing parameter values of setting parameters. In other words, it is means for designating a destination from which the parameter value of the setting parameter is read. The device designated by the device designation receiving means 15 may be a device provided in the device memory 303 (FIG. 2) in the PLC 300, or a device provided in the display device 200 (so-called display device 200 internal). Device). By specifying a device in the PLC 300, state data stored in the device in the programmable logic controller can be reflected (written) in the multi-axis controller 400 via the display device 200. On the other hand, by designating a device provided in the display device 200, a system configuration in which the PLC 300 is not connected to the display device 200, that is, the display device 200 is multi-axis like a third embodiment to be described later. A system configuration in which only the controller 400 is connected can also be realized.

なお、表示された設定パラメータ全てについてデバイスを指定してもよいが、例えば一部の設定パラメータについては定数を指定するようにしてもよい。すなわち、デバイス指定受付手段15は、デバイスの指定を受け付けるだけでなく、定数(固定値)の指定を受け付けるようにすることもできる。この場合、定数(固定値)が格納されたデバイスの指定を受け付けることに等しい。   Note that devices may be specified for all displayed setting parameters, but constants may be specified for some setting parameters, for example. In other words, the device designation receiving means 15 can accept not only the designation of the device but also the designation of a constant (fixed value). In this case, it is equivalent to accepting designation of a device in which a constant (fixed value) is stored.

機能割付手段17は、デバイス指定受付手段15により指定された複数のデバイスに格納される複数のパラメータ値を機種選択受付手段13により選択された機種の通信対象に対して一斉に送信するためのコマンドを発行するコマンド発行機能を、そのコマンドの発行トリガとなる手段に割り付ける手段である。本実施形態では、上述したようにコマンド発行機能は、ユーザが選択した部品画像に割り付けられる。   The function assigning means 17 is a command for transmitting a plurality of parameter values stored in a plurality of devices designated by the device designation accepting means 15 to the communication targets of the models selected by the model selection accepting means 13 all at once. Is a means for assigning a command issuing function for issuing a command to a means for issuing a command. In the present embodiment, as described above, the command issuing function is assigned to the component image selected by the user.

このように、受付手段10及び機能割付手段17などを主とするソフトウェア的な機能を発揮可能な画面データ作成装置100によれば、ユーザは、GUIを通じて、複数のパラメータ値を同時に設定するコマンドを発行可能な画面の画面データを容易に作成することができる。以下、GUIを用いた画面データの作成の詳細について説明する。   As described above, according to the screen data creation apparatus 100 capable of exhibiting software functions such as the reception unit 10 and the function allocation unit 17, the user can issue a command for simultaneously setting a plurality of parameter values through the GUI. Screen data for screens that can be issued can be easily created. Hereinafter, details of creation of screen data using a GUI will be described.

[表示画面例]
図6〜図13は、画面データ作成装置100の表示部103に表示される画面の一例を示す図である。ユーザは、画面データ作成装置100の表示部103において所定の操作を行って、画面データ作成ソフトウェアを起動することによって、図6に示す作画エディタの画面を表示させることができる。
[Display screen example]
6 to 13 are diagrams illustrating examples of screens displayed on the display unit 103 of the screen data creation device 100. FIG. The user can display the screen of the drawing editor shown in FIG. 6 by performing a predetermined operation on the display unit 103 of the screen data creation device 100 and starting the screen data creation software.

図6に示す画面には、「通信対象設定」のポップアップウィンドウが表示されているが、これは、画面データの新規作成時に自動的に表示される。もちろんユーザが所定の操作を行って手動で表示させてもよい。ユーザは、「通信対象」として、メーカー1001、機種1002、及び(通信)ポート1003につき、プルダウンメニューの中から一つを選択し、OKボタンをクリックする。本実施形態では、メーカーとしてA社、機種として多軸コントローラ、通信ポートとしてPORT2を選択し、OKボタンをクリックする。なお、本実施形態では、図1に示すように、表示装置200に多軸コントローラ400だけでなくPLC300も接続されるシステムを想定しているため、2つの通信対象について、メーカー1001、機種1002、及びポート1003の設定が可能な機能(MultiTalk機能)を使用しているが、MultiTalk機能の詳細な設定については説明を省略する。   In the screen shown in FIG. 6, a “communication target setting” pop-up window is displayed, which is automatically displayed when screen data is newly created. Of course, the user may perform a predetermined operation and display it manually. The user selects one of the pull-down menus for the manufacturer 1001, the model 1002, and the (communication) port 1003 as “communication target”, and clicks the OK button. In the present embodiment, the manufacturer A is selected, the multi-axis controller is selected as the model, the PORT 2 is selected as the communication port, and the OK button is clicked. In the present embodiment, as shown in FIG. 1, a system is assumed in which not only the multi-axis controller 400 but also the PLC 300 is connected to the display device 200, so that the manufacturer 1001, model 1002, In addition, a function (MultiTalk function) capable of setting the port 1003 is used, but detailed description of the MultiTalk function is omitted.

図6に示すOKボタンをクリックすると、機種選択受付手段11(図4)によって、表示装置200に接続される通信対象の機種として、多軸コントローラが選択される。次にユーザは、図7に示すように、作画エディタ内に表示される部品画像リスト1011の中から例えばスイッチ1012など所望の部品画像を選択し、編集エリア1013にドラッグアンドドロップを行う。或いは、部品画像リスト1011上で所望のスイッチ1012をクリックした後、編集エリア1013でスイッチ1012を配置したい場所で再びクリックする。そうすると、部品画像選択受付手段12によって、表示装置200に表示される部品画像としてスイッチ1012が選択される。なお、編集エリア1013は、画面データが表示装置200に転送されたときに、表示手段204に表示されるエリアを示しており、スイッチ1012は編集エリア1013内の所望箇所に配置する必要がある。また、図7に示す作画エディタの左方は、ページが階層的に表示されるワークスペースとなっている。図7に示すワークスペースでは、ページ1のベースが強調表示されている。したがって、図7に示す編集エリア1013では、1ページ目(ページ1)のベース画面(ベース)を編集していることになる。なお、ウィンドウ1やウィンドウ2は、それぞれベース画面にポップアップウィンドウで表示されるウィンドウである。   When the OK button shown in FIG. 6 is clicked, the multi-axis controller is selected as the communication target model connected to the display device 200 by the model selection receiving means 11 (FIG. 4). Next, as shown in FIG. 7, the user selects a desired component image such as the switch 1012 from the component image list 1011 displayed in the drawing editor, and drags and drops it in the editing area 1013. Alternatively, after clicking a desired switch 1012 on the part image list 1011, the user clicks again at the place where the switch 1012 is to be arranged in the editing area 1013. Then, the switch 1012 is selected as the component image displayed on the display device 200 by the component image selection receiving unit 12. An editing area 1013 indicates an area displayed on the display unit 204 when screen data is transferred to the display device 200, and the switch 1012 needs to be arranged at a desired position in the editing area 1013. In addition, the left side of the drawing editor shown in FIG. 7 is a workspace in which pages are displayed hierarchically. In the workspace shown in FIG. 7, the base of page 1 is highlighted. Therefore, in the editing area 1013 shown in FIG. 7, the base screen (base) of the first page (page 1) is being edited. Note that window 1 and window 2 are windows displayed as pop-up windows on the base screen.

次に、ユーザがスイッチ1012をダブルクリックすると、図8に示すポップアップウィンドウが現れる。図8に示す画面は、スイッチの機能のうち「ビットセット」を設定するための画面である。具体的には、スイッチ機能1021のプルダウンメニューから「ビットセット」を選択すると、対象ビットデバイス1022及びスイッチモード1023が表示される。対象ビットデバイス1022は、PLC300に接続された出力機器602(図1)に対してPLC300が制御コマンドを発行するために設定されるデバイスであり、デバイスメモリ303内の所定デバイスが設定される。図8では、R0000が設定されている。また、スイッチモード1023には、セット、リセット、ビット反転、モーメンタリセットの4種類があり、セット・リセット・ビット反転は、それぞれ、スイッチ1012を押した立ち上がりで対象ビットデバイス1022をオンし・オフし・反転させるモードであり、モーメンタリセットは、スイッチ1012を押している間だけ、対象ビットデバイス1022をオンするモードである。図8では、モーメンタリセットが表示されている。   Next, when the user double-clicks the switch 1012, a pop-up window shown in FIG. 8 appears. The screen shown in FIG. 8 is a screen for setting “bit set” among the functions of the switch. Specifically, when “bit set” is selected from the pull-down menu of the switch function 1021, the target bit device 1022 and the switch mode 1023 are displayed. The target bit device 1022 is a device set for the PLC 300 to issue a control command to the output device 602 (FIG. 1) connected to the PLC 300, and a predetermined device in the device memory 303 is set. In FIG. 8, R0000 is set. There are four types of switch modes 1023: set, reset, bit inversion, and momentary reset. Set / reset / bit inversion turns on / off the target bit device 1022 at the rise of the switch 1012. In this mode, the momentary reset is a mode in which the target bit device 1022 is turned on only while the switch 1012 is being pressed. In FIG. 8, a momentary reset is displayed.

ここで、ユーザがスイッチ機能1021のプルダウンメニューの中から「コマンド発行」を選択すると、図9に示すポップアップウィンドウが現れる。図9では、「コマンド発行」のための画面において、スイッチON(オン)1031の領域に「ジョグインチング」と「原点復帰」が表示され、スイッチOFF(オフ)1032の領域に「ジョグインチング」が表示されている。ユーザが追加ボタン1033をクリックすると、例えば図10に示すように、多軸コントローラが有する複数の機能の一覧が表示される。そして、これら複数の機能の中から、「ジョグインチング」(スイッチON)、「原点復帰」(スイッチON)、「ジョグインチング」(スイッチOFF)の各機能を選択すると、図9に示す画面が表示されるようになる。図9において、スイッチONは、スイッチ1012を押したときがコマンド発行タイミングになることを意味し、スイッチOFFは、スイッチ1012を押した(或いは離した)ときがコマンド発行タイミングになることを意味する。なお、対象ビットデバイス1022がオン/オフしたときが、コマンド発行タイミングになるようにしてもよい。また、本実施形態では、スイッチONとスイッチOFFとを分けて考えたが、これらを分けて考えなくてもよい。また、対象ビットデバイス1022は、PLC300内のデバイスを設定しているが、上述したように、表示装置200の内部デバイスを設定することもできる。この場合、PLC300との通信は発生しない。また、所定の機能にカーソルを合わせ、削除ボタン1034をクリックすることによって、ユーザは不要な機能を削除することができる。   Here, when the user selects “command issue” from the pull-down menu of the switch function 1021, a pop-up window shown in FIG. 9 appears. In FIG. 9, “Jog inching” and “Return to origin” are displayed in the area of switch ON (ON) 1031 and “JOG inching” is displayed in the area of switch OFF (OFF) 1032 on the screen for “command issuance”. It is displayed. When the user clicks the add button 1033, for example, as shown in FIG. 10, a list of a plurality of functions of the multi-axis controller is displayed. When each of the functions “Jog inching” (switch ON), “Return to origin” (switch ON), and “Jog inching” (switch OFF) is selected from these multiple functions, the screen shown in FIG. 9 is displayed. Will come to be. In FIG. 9, the switch ON means that the command issuance timing is when the switch 1012 is pressed, and the switch OFF is that the command issuance timing is when the switch 1012 is pressed (or released). . The command issue timing may be set when the target bit device 1022 is turned on / off. Further, in the present embodiment, the switch ON and the switch OFF are considered separately, but these may not be considered separately. Further, although the target bit device 1022 sets a device in the PLC 300, as described above, an internal device of the display device 200 can also be set. In this case, communication with the PLC 300 does not occur. In addition, the user can delete an unnecessary function by moving the cursor to a predetermined function and clicking a delete button 1034.

このように、ユーザが追加ボタン1033をクリックすると、多軸コントローラの機能の一覧が記憶手段16から読み出され、表示部103に表示される。そして、ユーザは、一又は複数の所望の機能を選択することができるようになる。また、一の機能をクリックする際に、コマンド発行タイミングをスイッチON1031とするかスイッチOFF1032とするかを選択することもできるようになる。なお、発行タイミング設定の受付については、種々の態様が考えられる。例えば、「ジョグインチング」の機能を選択した後で、プルダウンメニュー等により、コマンド発行タイミングをスイッチONとするかスイッチOFFとするかを選択するようにしてもよい。   As described above, when the user clicks the add button 1033, a list of functions of the multi-axis controller is read from the storage unit 16 and displayed on the display unit 103. Then, the user can select one or a plurality of desired functions. In addition, when one function is clicked, it is possible to select whether the command issuance timing is set to switch ON 1031 or switch OFF 1032. Note that various modes can be considered for the reception of the issue timing setting. For example, after selecting the “jog inching” function, the command issue timing may be selected to be switched ON or OFF by a pull-down menu or the like.

次にユーザは、図9に示すようにスイッチON1031領域の「ジョグインチング」にカーソルを合わせて(「ジョグインチング」をアクティブにして)、設定ボタン1035をクリックすると、図11に示すポップアップウィンドウが表示される。図11に示す画面では、発行タイミング1041は「スイッチON」で、コマンド1042は「ジョグインチング」と表示されている。また、「ジョグインチング」の機能を発揮させるために設定される複数のパラメータが記憶手段16から読み出され、それら複数のパラメータが設定パラメータ表示エリア1043に自動的に表示されている。図11に示すように、複数のパラメータとして、“軸パターン”、“加速度”、“減速度”、“速度”、“インチング距離”、“動作種別”が表示されている。   Next, when the user moves the cursor to “Jog inching” in the switch ON 1031 area as shown in FIG. 9 (activates “jog inching”) and clicks the setting button 1035, a pop-up window shown in FIG. 11 is displayed. Is done. In the screen shown in FIG. 11, the issuance timing 1041 is displayed as “Switch ON”, and the command 1042 is displayed as “Jog inching”. In addition, a plurality of parameters set to perform the “jog inching” function are read from the storage unit 16, and the plurality of parameters are automatically displayed in the setting parameter display area 1043. As shown in FIG. 11, “axis pattern”, “acceleration”, “deceleration”, “speed”, “inching distance”, and “motion type” are displayed as a plurality of parameters.

ユーザは、各パラメータに対し、各々の右欄において、DM0000、DM0001、DM0002、DM0003、定数:0、定数:1というように、デバイス又は定数(数値)を指定することができる。デバイスDM0000〜DM0003は、PLC300のデバイスメモリ303に設けられたデバイスである。より具体的に説明すると、設定パラメータ表示エリア1023に表示されたパラメータの中でデバイスの指定を行いたいパラメータをダブルクリックすると、図12(図13)に示すようなポップアップウィンドウが表示される。図12では、データ種別1051として、“PLCデバイス”が選択される様子を示しており、図13では、PLCデバイス1052として、データメモリ“DM”(デバイス種別DM、デバイス番号0000)が選択される様子を示している。そして、図12(図13)に示すOKボタンをクリックすることで、PLCデバイス1052の設定が完了する。なお、図12及び図13のいずれにおいても、ユーザは、プルダウンメニューを通じて所望のデータ種別1051及びPLCデバイス1052を簡単に選択することができる。   The user can specify a device or a constant (numerical value) such as DM0000, DM0001, DM0002, DM0003, constant: 0, constant: 1 in each right column for each parameter. Devices DM0000 to DM0003 are devices provided in the device memory 303 of the PLC 300. More specifically, when a parameter for which a device is to be specified is double-clicked among the parameters displayed in the setting parameter display area 1023, a pop-up window as shown in FIG. 12 (FIG. 13) is displayed. FIG. 12 shows a state where “PLC device” is selected as the data type 1051, and FIG. 13 shows that the data memory “DM” (device type DM, device number 0000) is selected as the PLC device 1052. It shows a state. Then, by clicking an OK button shown in FIG. 12 (FIG. 13), the setting of the PLC device 1052 is completed. 12 and 13, the user can easily select a desired data type 1051 and PLC device 1052 through a pull-down menu.

このように、ユーザが、図12(図13)に示すデバイス設定画面において、OKボタンをクリックすることにより、設定パラメータのパラメータ値を読み出す先が指定される。なお、本実施形態では、パラメータ値を読み出す先として、PLC300のデバイスメモリ303におけるデバイスを指定しているが、例えば表示装置200の内部デバイス(図13に示す内部ワードデバイスMW)を指定するようにしてもよい。   As described above, when the user clicks the OK button on the device setting screen shown in FIG. 12 (FIG. 13), a destination to read the parameter value of the setting parameter is specified. In the present embodiment, the device in the device memory 303 of the PLC 300 is designated as the parameter value reading destination. However, for example, an internal device of the display device 200 (internal word device MW shown in FIG. 13) is designated. May be.

最後に、ユーザは、図9に示す画面に戻ってOKボタンをクリックする。そうすると、図11に示す複数のデバイス(又は定数)に格納される複数のパラメータ値を多軸コントローラ400に対して一斉に送信するためのコマンドを発行するコマンド発行機能を、スイッチ1012に割り付けることができる。   Finally, the user returns to the screen shown in FIG. 9 and clicks the OK button. Then, a command issuing function for issuing a command for simultaneously transmitting a plurality of parameter values stored in a plurality of devices (or constants) shown in FIG. 11 to the multi-axis controller 400 can be assigned to the switch 1012. it can.

[処理動作]
図14は、本実施形態に係る画面データ作成装置100における処理動作を説明するためのフローチャートである。
[Processing operation]
FIG. 14 is a flowchart for explaining the processing operation in the screen data creation apparatus 100 according to the present embodiment.

図14に示すように、まず、機種選択の受付が行われる(ステップS1)。具体的には、機種選択受付手段11(図4)は、表示装置200に接続される通信対象の機種の選択を受け付ける。これにより、例えば図6に示すように、ユーザは通信対象の機種(多軸コントローラ400)を選択することができる。   As shown in FIG. 14, first, a model selection is accepted (step S1). Specifically, the model selection receiving unit 11 (FIG. 4) receives selection of a communication target model connected to the display device 200. Thereby, for example, as shown in FIG. 6, the user can select a communication target model (multi-axis controller 400).

次に、部品画像選択の受付が行われる(ステップS2)。具体的には、部品画像選択受付手段12(図4)は、表示装置200の画面上に表示される部品画像の選択を受け付ける。これにより、例えば図7に示すように、ユーザは、コマンド発行機能を割り付ける部品画像として、スイッチ1012を選択することができる。   Next, a part image selection is accepted (step S2). Specifically, the component image selection receiving unit 12 (FIG. 4) receives selection of a component image displayed on the screen of the display device 200. Thereby, for example, as shown in FIG. 7, the user can select the switch 1012 as a component image to which the command issuing function is assigned.

次に、機能選択の受付が行われる(ステップS3)。具体的には、機能選択受付手段13(図4)は、ステップS2において選択された機種の通信対象(多軸コントローラ400)において動作する機能を記憶手段16から読み出して表示部103に表示する。これにより、例えば図10に示すように、ユーザは、スイッチ1012を通じて多軸コントローラ400に対して発行したいコマンド(多軸コントローラ400の機能)を、表示部103に表示された機能の中から選択する。なお、ステップS3の機能選択の受付と同時に、或いは、ステップS3の機能選択の受付をした後に、図9を用いて上述したように、発行タイミングの設定受付が行われる。   Next, a function selection is accepted (step S3). Specifically, the function selection accepting unit 13 (FIG. 4) reads out the function operating on the communication target (multi-axis controller 400) of the model selected in step S2 from the storage unit 16 and displays it on the display unit 103. Thereby, for example, as shown in FIG. 10, the user selects a command (function of the multi-axis controller 400) to be issued to the multi-axis controller 400 through the switch 1012 from the functions displayed on the display unit 103. . At the same time as receiving the function selection in step S3 or after receiving the function selection in step S3, the setting of the issue timing is received as described above with reference to FIG.

次に、デバイス指定の受付が行われる(ステップS4)。具体的には、デバイス指定受付手段15(図4)は、ステップS3において選択された機能を発揮するために設定される複数の設定パラメータを記憶手段16から読み出して表示部103に表示する。これにより、例えば図11に示すように、ユーザは、複数の設定パラメータのパラメータ値を読み出す先を指定することができる。   Next, a device designation is accepted (step S4). Specifically, the device designation receiving unit 15 (FIG. 4) reads out a plurality of setting parameters set to perform the function selected in step S3 from the storage unit 16 and displays them on the display unit 103. Thereby, for example, as shown in FIG. 11, the user can designate a destination from which parameter values of a plurality of setting parameters are read.

最後に、機能割付(ステップS5)が行われる。具体的には、機能割付手段17(図4)は、ステップS4において指定された複数のデバイスに格納される複数のパラメータ値(デバイス値又は定数)を多軸コントローラ400に対して一斉に送信するためのコマンドを発行するコマンド発行機能を、ステップS2で選択されたスイッチ1012に割り付ける。このような一連の処理動作に基づいて、コマンド発行機能をユーザが選択した部品画像に割り付けることができる。   Finally, function assignment (step S5) is performed. Specifically, the function assigning means 17 (FIG. 4) transmits a plurality of parameter values (device values or constants) stored in the plurality of devices designated in step S4 to the multi-axis controller 400 simultaneously. A command issuance function for issuing a command is assigned to the switch 1012 selected in step S2. Based on such a series of processing operations, the command issuing function can be assigned to the component image selected by the user.

図15は、ユーザがスイッチ1012を操作したときに、表示装置200から多軸コントローラ400にコマンドが発行される概念を示す概念図である。なお、図14に示す一連の処理動作を経て作成された画面データは、画面データ作成装置100から表示装置200に転送されているものとする。   FIG. 15 is a conceptual diagram showing a concept that a command is issued from the display device 200 to the multi-axis controller 400 when the user operates the switch 1012. It is assumed that the screen data created through the series of processing operations shown in FIG. 14 is transferred from the screen data creation device 100 to the display device 200.

図15に示すように、ユーザが表示装置200に表示されたスイッチ1012にタッチすると、PLC300に対し、図14のステップS4で指定されたデバイスのデバイス値を読み出すための指令がなされる。その結果、PLC300からデバイス値が読み出され、表示装置200においてコマンドが生成される。このように、表示装置200は、PLC300から読み出したデバイス値を用いて、複数のパラメータ値を同時に設定するコマンドを生成するコマンド生成機能を有している。   As shown in FIG. 15, when the user touches the switch 1012 displayed on the display device 200, a command for reading the device value of the device specified in step S4 of FIG. As a result, a device value is read from the PLC 300 and a command is generated in the display device 200. As described above, the display device 200 has a command generation function for generating a command for simultaneously setting a plurality of parameter values using the device values read from the PLC 300.

生成されたコマンドは、多軸コントローラ400に対して発行される。すなわち、図15に示すように、例えばヘッダ、軸パターン、加速度、減速度、・・・、フッタからなるコマンドが、多軸コントローラ400に対して発行される。その結果、軸パターン、加速度、減速度、・・・といった複数のパラメータ値が一斉に送信される。   The generated command is issued to the multi-axis controller 400. That is, as shown in FIG. 15, for example, a command including a header, an axis pattern, acceleration, deceleration,..., A footer is issued to the multi-axis controller 400. As a result, a plurality of parameter values such as axis pattern, acceleration, deceleration,... Are transmitted all at once.

以上説明したように、本実施形態(第1実施形態)に係る画面データ作成装置100によれば、ユーザは、表示装置200に表示される画面の画面データを作成するにあたって、複数のパラメータ値を同時に設定するコマンドを発行可能な画面の画面データを容易に作成することができる。また、ユーザは、表示装置200に表示される通信対象の機種を選択し(図6)、一又は複数の機能の中から所望の機能を選択し(図10)、複数の設定パラメータそれぞれについてデバイスを指定する(図11)、というように、画面データ作成装置100に誘導されるようにしてスイッチ1012に割り付けるコマンドの内容を定めていくことができるので、操作性が非常によい。また、ユーザは、図11を用いて説明したように、画面データ作成装置100の表示部103に表示された複数の設定パラメータそれぞれについてデバイスを指定していくだけでコマンドの内容を定めることができるので、表示装置200に接続される多軸コントローラ400に適合するコマンドを簡単に作成することができる。   As described above, according to the screen data creation device 100 according to the present embodiment (first embodiment), when creating screen data of a screen displayed on the display device 200, a user can set a plurality of parameter values. It is possible to easily create screen data of a screen that can issue commands to be set simultaneously. Further, the user selects a communication target model displayed on the display device 200 (FIG. 6), selects a desired function from one or a plurality of functions (FIG. 10), and sets a device for each of a plurality of setting parameters. Since the content of the command to be assigned to the switch 1012 can be determined as guided by the screen data creation device 100 (see FIG. 11), the operability is very good. Further, as described with reference to FIG. 11, the user can determine the contents of the command only by designating a device for each of the plurality of setting parameters displayed on the display unit 103 of the screen data creation apparatus 100. A command suitable for the multi-axis controller 400 connected to the display device 200 can be easily created.

特に、本実施形態に係る画面データ作成装置100によれば、ユーザは、表示装置200に接続される通信対象の機種として多軸コントローラ400を選択するだけで、選択した多軸コントローラ400において動作する機能(ジョグインチング、原点復帰、ポイント照会、・・・)が画面データ作成装置100の表示部103に表示され(図10)、また、選択した機能を発揮させるために設定される複数の設定パラメータ(軸パターン、速度、加速度、減速度、位置データ、・・・)が表示部103に表示されるので(図11)、表示装置200に接続される多軸コントローラ400の仕様書などを読む必要がなく、コマンド作成作業に掛かる時間を減らすことができるとともに、多軸コントローラ400に適合しない誤ったコマンドが生成されるのを防ぐことができる。   In particular, according to the screen data creation device 100 according to the present embodiment, the user simply selects the multi-axis controller 400 as a communication target model connected to the display device 200, and operates on the selected multi-axis controller 400. Functions (jog inching, return to origin, point inquiry,...) Are displayed on the display unit 103 of the screen data creation device 100 (FIG. 10), and a plurality of setting parameters are set to exert the selected function. (Axis pattern, speed, acceleration, deceleration, position data,...) Is displayed on the display unit 103 (FIG. 11), so it is necessary to read the specifications of the multi-axis controller 400 connected to the display device 200. The time taken for command creation work can be reduced, and erroneous commands that are not compatible with the multi-axis controller 400 can be obtained. It is possible to prevent made is one.

[第2実施形態]
図16は、本発明の第2実施形態に係る画面データ作成装置100の機能構成を示すブロック図である。図17は、図16に示す画面データ作成装置100を用いて画面データを作成したときに、表示装置200から多軸コントローラ400にコマンドが発行される概念を示す概念図である。
[Second Embodiment]
FIG. 16 is a block diagram showing a functional configuration of the screen data creation device 100 according to the second embodiment of the present invention. FIG. 17 is a conceptual diagram showing a concept in which commands are issued from the display device 200 to the multi-axis controller 400 when screen data is created using the screen data creation device 100 shown in FIG.

図16において、画面データ作成装置100は、主に、受付手段10と、機能割付手段17と、記憶手段16と、表示部103とを有している。また、受付手段10は、機種選択受付手段11と、トリガデバイス設定受付手段18と、機能選択受付手段13と、発行タイミング設定受付手段14と、デバイス指定受付手段15と、機能割付手段17とを有している。図4に示すブロック図と異なる点は、部品画像選択受付手段12が、トリガデバイス設定受付手段18に代わっている点である。このトリガデバイス設定手段18は、PLC300内のデバイスであって、かつ、コマンドの発行トリガとなるトリガデバイスの設定を受け付ける手段である。換言すれば、表示装置200に対して自動的にコマンド発行トリガをかけるためのトリガデバイスの設定を受け付ける手段である。ユーザは、図12を用いて説明したPLCデバイス1052のデバイス設定画面と同様に、何らかのデバイス設定画面においてトリガデバイスの設定を行う。そして、機能割付手段17は、設定されたトリガデバイスに割り付ける。なお、トリガデバイスは、図8に示す対象ビットデバイス1022や図12に示すPLCデバイス1052とは異なる概念であって、必ずしもスイッチ1012の選択を伴わなくてもよい。   In FIG. 16, the screen data creation apparatus 100 mainly includes a reception unit 10, a function assignment unit 17, a storage unit 16, and a display unit 103. The accepting unit 10 includes a model selection accepting unit 11, a trigger device setting accepting unit 18, a function selection accepting unit 13, an issue timing setting accepting unit 14, a device designation accepting unit 15, and a function assigning unit 17. Have. The difference from the block diagram shown in FIG. 4 is that the component image selection receiving unit 12 is replaced with the trigger device setting receiving unit 18. The trigger device setting means 18 is a means for receiving a setting of a trigger device that is a device in the PLC 300 and that serves as a command issuance trigger. In other words, it is means for receiving a trigger device setting for automatically applying a command issuance trigger to the display device 200. Similar to the device setting screen of the PLC device 1052 described with reference to FIG. 12, the user sets a trigger device on some device setting screen. The function assigning means 17 assigns the set trigger device. The trigger device is a concept different from the target bit device 1022 shown in FIG. 8 and the PLC device 1052 shown in FIG. 12, and does not necessarily have to be accompanied by selection of the switch 1012.

図17は、第2実施形態に係る画面データ作成装置100を用いて画面データを作成したときに、表示装置200から多軸コントローラ400にコマンドが発行される様子を示す概念図である。   FIG. 17 is a conceptual diagram showing how commands are issued from the display device 200 to the multi-axis controller 400 when screen data is created using the screen data creation device 100 according to the second embodiment.

図17において、表示装置200は、上述したトリガデバイス設定受付手段18により設定されたPLC300内のトリガデバイスを常時監視している。そして、そのトリガデバイスがONしたとき、すなわち、デバイス値が例えば0から1に変更されたときには、コマンドを作成するために、デバイス指定受付手段15により指定されたデバイスに格納されたデバイス値を読み出す。そして、読み出したデバイス値を用いてコマンドを生成し、生成したコマンドを多軸コントローラ400に対して発行する。その後、多軸コントローラ400から応答コマンド(レスポンス)を受信する。また、ユーザによって他にも発行すべきコマンドが選択されていれば、それらのコマンドを順次送信し、それらのコマンドに対する応答コマンドを多軸コントローラ400から受信する。   In FIG. 17, the display device 200 constantly monitors the trigger device in the PLC 300 set by the trigger device setting receiving unit 18 described above. Then, when the trigger device is turned on, that is, when the device value is changed from 0 to 1, for example, the device value stored in the device designated by the device designation receiving means 15 is read to create a command. . Then, a command is generated using the read device value, and the generated command is issued to the multi-axis controller 400. Thereafter, a response command (response) is received from the multi-axis controller 400. Further, if other commands to be issued are selected by the user, those commands are sequentially transmitted, and a response command for these commands is received from the multi-axis controller 400.

このように、第2実施形態に係る画面データ作成装置100では、第1実施形態に係る画面データ作成装置100と異なり、コマンドの発行トリガが、PLC300内のトリガデバイスとなっている。これにより、多軸コントローラ400へのコマンド発行を、PLC300を用いて(ユーザが表示部103を操作しなくても)容易に自動化することができる。   Thus, in the screen data creation device 100 according to the second embodiment, unlike the screen data creation device 100 according to the first embodiment, a command issuance trigger is a trigger device in the PLC 300. Thereby, command issuance to the multi-axis controller 400 can be easily automated using the PLC 300 (even if the user does not operate the display unit 103).

[第3実施形態]
図18は、本発明の第3実施形態に係る画面データ作成装置100を用いて画面データを作成したときに、表示装置200から多軸コントローラ400にコマンドが発行される様子を示す概念図である。図18では、表示装置200にはPLC300が接続されておらず、多軸コントローラ400のみが接続されている。
[Third Embodiment]
FIG. 18 is a conceptual diagram showing how commands are issued from the display device 200 to the multi-axis controller 400 when screen data is created using the screen data creation device 100 according to the third embodiment of the present invention. . In FIG. 18, the PLC 300 is not connected to the display device 200, and only the multi-axis controller 400 is connected.

第3実施形態に係る画面データ作成装置100は、第1実施形態に係る画面データ作成装置と機能構成は同じであるが(図4参照)、デバイス指定受付手段15により、表示装置200内に設けられたデバイス(内部デバイス)のみが指定される。これにより、表示装置200のみで、多軸コントローラ400に対してコマンド発行を行うことが可能になる。具体的には、図18に示すように、ユーザが表示装置200に表示されたスイッチ1012にタッチすると、表示装置200のメモリ202に設けられた内部デバイスからデバイス値が読み出され、表示装置200においてコマンドが生成される。そして、生成されたコマンドは、多軸コントローラ400に対して発行される。このように、PLC300を介することなく多軸コントローラ400に対してコマンドを発行するコマンド発行機能を、スイッチ1012などの部品画像に割り付けることも可能である。   The screen data creation device 100 according to the third embodiment has the same functional configuration as the screen data creation device according to the first embodiment (see FIG. 4), but is provided in the display device 200 by the device designation receiving means 15. Only specified devices (internal devices) are specified. This makes it possible to issue commands to the multi-axis controller 400 using only the display device 200. Specifically, as illustrated in FIG. 18, when the user touches the switch 1012 displayed on the display device 200, the device value is read from the internal device provided in the memory 202 of the display device 200, and the display device 200. A command is generated at Then, the generated command is issued to the multi-axis controller 400. As described above, a command issuing function for issuing a command to the multi-axis controller 400 without using the PLC 300 can be assigned to a component image such as the switch 1012.

[他の実施形態]
上述した各実施形態では、表示装置200がコマンドを発行するコマンド発行先は、出力機器の一つとして多軸コントローラ400を例に挙げた。他にも、コマンド発行先として温度調節機器を考えた場合には、例えば“温度設定”や“上限値設定”など幾つかの機能(コマンド)が表示部103に表示され、それぞれの機能についてパラメータ値を読み出すデバイスを指定できるようにしてもよい。つまり、コマンドを発行した後、コマンド発行先から受信したデータ(パラメータ値)をデバイスに書き込むことができるようにしてもよい。また、コマンド発行先としては、多軸コントローラ400や温度調節器などの出力機器に限られず、例えばPLCを挙げることもできる。この場合、例えば“ラダー情報の読出”や“PLCを構成するユニット情報の読出”など幾つかの機能(コマンド)が表示部103に表示され、それぞれの機能についてパラメータ値を読み出すデバイスを指定できるようにしてもよい。
[Other Embodiments]
In each of the above-described embodiments, the command issue destination to which the display device 200 issues a command is exemplified by the multi-axis controller 400 as one of output devices. In addition, when a temperature control device is considered as a command issue destination, several functions (commands) such as “temperature setting” and “upper limit setting” are displayed on the display unit 103, and parameters for each function are displayed. It may be possible to specify a device from which a value is read. That is, after issuing a command, the data (parameter value) received from the command issue destination may be written to the device. Further, the command issue destination is not limited to the output device such as the multi-axis controller 400 or the temperature controller, but may be a PLC, for example. In this case, for example, several functions (commands) such as “reading ladder information” and “reading unit information constituting the PLC” are displayed on the display unit 103 so that a device for reading parameter values for each function can be designated. It may be.

また、上述した各実施形態では、固定長コマンドを扱うこととしたが、例えば可変長コマンドを扱うこともできる。具体的には、図19に示すように、レコード数が1個の場合には、パラメータのパラメータ値は1個分しか指定することができない。しかし、図20に示すように、レコード数が2個の場合には、パラメータのパラメータ値は2個分指定することができる。このようにして、2個分指定されたパラメータ値は、コマンドが発行される多軸コントローラ400の制御手段401において、適宜切り替えられるようにしてもよい。また、表示装置200にPLC300が接続されている場合には、PLC300からの指令に基づいて、表示装置200から多軸コントローラ400へパラメータ値(レコード番号)を切り替えるようなコマンドが発行されるようにしてもよい。   Further, in each of the above-described embodiments, a fixed-length command is handled. However, for example, a variable-length command can be handled. Specifically, as shown in FIG. 19, when the number of records is one, only one parameter value of the parameter can be designated. However, as shown in FIG. 20, when the number of records is two, two parameter values of parameters can be designated. In this way, the parameter values designated by two may be switched as appropriate in the control means 401 of the multi-axis controller 400 to which a command is issued. Further, when the PLC 300 is connected to the display device 200, a command for switching the parameter value (record number) from the display device 200 to the multi-axis controller 400 is issued based on a command from the PLC 300. May be.

また、上述した各実施形態では、多軸コントローラ400に対してパラメータ値を送信し、パラメータ値を書き込むためのコマンドについて詳述したが、パラメータ値を読み出すためのコマンドについても同様である。すなわち、多軸コントローラ400の複数のパラメータ値を同時に読み出すためのコマンドを多軸コントローラ400に発行するようにしてもよい。これにより、表示装置200の表示手段204において、多軸コントローラ400がどのようなパラメータで、また、どのようなパラメータ値で動作しているかを監視することができる。   In each of the above-described embodiments, the command for transmitting the parameter value to the multi-axis controller 400 and writing the parameter value has been described in detail, but the same applies to the command for reading the parameter value. That is, a command for simultaneously reading a plurality of parameter values of the multi-axis controller 400 may be issued to the multi-axis controller 400. Thereby, in the display means 204 of the display apparatus 200, it is possible to monitor what parameter and what parameter value the multi-axis controller 400 is operating.

100 画面データ作成装置
103 表示部
200 表示装置
300 PLC
400 多軸コントローラ
500 ロボシリンダ
DESCRIPTION OF SYMBOLS 100 Screen data creation apparatus 103 Display part 200 Display apparatus 300 PLC
400 Multi-axis controller 500 ROBO Cylinder

Claims (9)

表示部を備え、通信対象に対してコマンドを発行可能な表示装置に表示させる画面の画面データを作成する画面データ作成装置において、
前記表示装置に接続される通信対象の機種、当該通信対象において動作する機能、及び当該通信対象において当該機能を発揮させるために設定される複数の設定パラメータを対応付けて記憶する記憶手段と、
前記表示装置に接続される通信対象の機種の選択を受け付ける機種選択受付手段と、
前記機種選択受付手段により選択された機種の通信対象において動作する機能を前記記憶手段から読み出して前記表示部に表示するとともに、当該機能の選択を受け付ける機能選択受付手段と、
前記機能選択受付手段により選択された機能を発揮させるために設定される複数の設定パラメータを前記記憶手段から読み出して前記表示部に表示するとともに、表示された設定パラメータそれぞれについて、当該設定パラメータのパラメータ値を格納する仮想的なメモリ領域として機能するデバイスの指定を受け付けるデバイス指定受付手段と、
前記デバイス指定受付手段により指定された複数のデバイスに格納される複数のパラメータ値を前記機種選択受付手段により選択された機種の通信対象に対して一斉に送信するためのコマンドを発行するコマンド発行機能を、当該コマンドの発行トリガとなる手段に割り付ける機能割付手段と、を備えることを特徴とする画面データ作成装置。
In a screen data creation device for creating screen data for a screen to be displayed on a display device having a display unit and capable of issuing commands to a communication target,
A storage unit that associates and stores a model of a communication target connected to the display device, a function that operates in the communication target, and a plurality of setting parameters that are set in order to exhibit the function in the communication target;
A model selection receiving means for receiving selection of a model of a communication target connected to the display device;
A function selection accepting unit that reads a function that operates on a communication target of the model selected by the model selection accepting unit from the storage unit and displays the function on the display unit, and accepts the selection of the function;
A plurality of setting parameters that are set in order to exert the function selected by the function selection accepting unit are read from the storage unit and displayed on the display unit, and for each of the displayed setting parameters, the parameter of the setting parameter Device designation accepting means for accepting designation of a device functioning as a virtual memory area for storing values;
Command issuing function for issuing a command for simultaneously transmitting a plurality of parameter values stored in a plurality of devices designated by the device designation accepting means to communication targets of the models selected by the model selection accepting means And a function allocating unit that allocates the command to a unit serving as a command issuance trigger.
前記表示装置の画面上に表示される部品画像の選択を受け付ける部品画像選択受付手段を備え、
前記機能割付手段は、前記コマンド発行機能を、前記部品画像選択受付手段により選択された部品画像に割り付けることを特徴とする請求項1記載の画面データ作成装置。
Comprising component image selection receiving means for receiving selection of a component image displayed on the screen of the display device;
2. The screen data creating apparatus according to claim 1, wherein the function assigning means assigns the command issuing function to a component image selected by the component image selection accepting means.
前記部品画像選択受付手段により選択された部品画像に割り当てられたデバイスに格納された値が変化したことを契機としてコマンドが発行されるように、前記コマンド発行機能により発行されるコマンドの発行タイミングの設定を受け付ける発行タイミング設定受付手段と、を備えることを特徴とする請求項2記載の画面データ作成装置。   The issuance timing of the command issued by the command issuing function so that the command is issued when the value stored in the device assigned to the component image selected by the component image selection accepting unit has changed. The screen data creation device according to claim 2, further comprising issue timing setting reception means for receiving a setting. 前記表示装置には、プログラマブルロジックコントローラが接続可能であって、
前記プログラマブルロジックコントローラ内のデバイスであって、かつ、前記コマンドの発行トリガとなるトリガデバイスの設定を受け付けるトリガデバイス設定受付手段を備え、
前記機能割付手段は、前記コマンド発行機能を、前記トリガデバイス設定受付手段により設定されたデバイスに割り付けることを特徴とする請求項1記載の画面データ作成装置。
A programmable logic controller can be connected to the display device,
A trigger device setting receiving means that is a device in the programmable logic controller and receives a setting of a trigger device that is a trigger for issuing the command;
2. The screen data creating apparatus according to claim 1, wherein the function assigning means assigns the command issuing function to a device set by the trigger device setting accepting means.
前記表示装置には、プログラマブルロジックコントローラが接続可能であって、
前記デバイス指定受付手段により指定されるデバイスは、前記プログラマブルロジックコントローラ内のデバイスであることを特徴とする請求項1から4のいずれか記載の画面データ作成装置。
A programmable logic controller can be connected to the display device,
5. The screen data creation apparatus according to claim 1, wherein the device designated by the device designation receiving unit is a device in the programmable logic controller.
前記記憶手段には、構造化言語により記述され、前記表示装置に接続される通信対象の機種、当該通信対象において動作する機能、及び当該通信対象において当該機能を発揮させるために設定される複数の設定パラメータを対応付けて格納する構造化文書ファイルが記憶されることを特徴とする請求項1から5のいずれか記載の画面データ作成装置。   The storage means is described in a structured language, and is connected to the display device, a communication target model, a function that operates on the communication target, and a plurality of settings that are set to exert the function on the communication target 6. The screen data creation apparatus according to claim 1, wherein a structured document file that stores setting parameters in association with each other is stored. 前記構造化文書ファイルは、前記表示装置に接続される一の通信対象の機種、当該一の通信対象において動作する複数の機能、当該一の通信対象において当該複数の機能それぞれを発揮させるために設定される複数のパラメータを複数セット有するパラメータセットを対応付けて格納することを特徴とする請求項6記載の画面データ作成装置。   The structured document file is set so that one model of a communication target connected to the display device, a plurality of functions that operate on the one communication target, and each of the plurality of functions on the one communication target 7. The screen data creating apparatus according to claim 6, wherein a parameter set having a plurality of set parameters is stored in association with each other. 表示部を備える画面データ作成装置を用いて、通信対象に対してコマンドを発行可能な表示装置に表示させる画面の画面データを作成する画面データ作成方法において、
前記画面データ作成装置は、前記表示装置に接続される通信対象の機種、当該通信対象において動作する機能、及び当該通信対象において当該機能を発揮させるために設定される複数の設定パラメータを対応付けて記憶する記憶手段を備え、
前記表示装置に接続される通信対象の機種の選択を受け付ける機種選択受付ステップと、
前記機種選択受付ステップにより選択された機種の通信対象において動作する機能を前記記憶手段から読み出して前記表示部に表示するとともに、当該機能の選択を受け付ける機能選択受付ステップと、
前記機能選択受付ステップにより選択された機能を発揮させるために設定される複数の設定パラメータを前記記憶手段から読み出して前記表示部に表示するとともに、表示された設定パラメータそれぞれについて、当該設定パラメータのパラメータ値を格納する仮想的なメモリ領域として機能するデバイスの指定を受け付けるデバイス指定受付ステップと、
前記デバイス指定受付ステップにより指定された複数のデバイスに格納される複数のパラメータ値を前記機種選択受付ステップにより選択された機種の通信対象に対して一斉に送信するためのコマンドを発行するコマンド発行機能を、当該コマンドの発行トリガとなる手段に割り付ける機能割付ステップと、を有することを特徴とする画面データ作成方法。
In a screen data creation method for creating screen data of a screen to be displayed on a display device capable of issuing commands to a communication target using a screen data creation device including a display unit,
The screen data creation device associates a model of a communication target connected to the display device, a function that operates on the communication target, and a plurality of setting parameters that are set to exert the function on the communication target. Storage means for storing,
A model selection accepting step for accepting selection of a model of a communication target connected to the display device;
A function selection receiving step for reading out a function that operates on a communication target of the model selected in the model selection receiving step from the storage unit and displaying the function on the display unit, and receiving a selection of the function;
A plurality of setting parameters set in order to exert the function selected in the function selection receiving step are read from the storage means and displayed on the display unit, and for each of the displayed setting parameters, the parameter of the setting parameter A device designation accepting step for accepting designation of a device functioning as a virtual memory area for storing values;
Command issuing function for issuing a command for simultaneously transmitting a plurality of parameter values stored in a plurality of devices designated by the device designation accepting step to communication targets of the models selected by the model selection accepting step And a function assigning step for assigning to the means serving as a command issuance trigger.
表示部を備える画面データ作成装置に、通信対象に対してコマンドを発行可能な表示装置に表示させる画面の画面データを作成する機能を発揮させるための画面データ作成プログラムにおいて、
前記画面データ作成装置は、前記表示装置に接続される通信対象の機種、当該通信対象において動作する機能、及び当該通信対象において当該機能を発揮させるために設定される複数の設定パラメータを対応付けて記憶する記憶手段を備え、
前記表示装置に接続される通信対象の機種の選択を受け付ける機種選択受付ステップと、
前記機種選択受付ステップにより選択された機種の通信対象において動作する機能を前記記憶手段から読み出して前記表示部に表示するとともに、当該機能の選択を受け付ける機能選択受付ステップと、
前記機能選択受付ステップにより選択された機能を発揮させるために設定される複数の設定パラメータを前記記憶手段から読み出して前記表示部に表示するとともに、表示された設定パラメータそれぞれについて、当該設定パラメータのパラメータ値を格納する仮想的なメモリ領域として機能するデバイスの指定を受け付けるデバイス指定受付ステップと、
前記デバイス指定受付ステップにより指定された複数のデバイスに格納される複数のパラメータ値を前記機種選択受付ステップにより選択された機種の通信対象に対して一斉に送信するためのコマンドを発行するコマンド発行機能を、当該コマンドの発行トリガとなる手段に割り付ける機能割付ステップと、を有することを特徴とする画面データ作成プログラム。
In a screen data creation program for causing a screen data creation device having a display unit to exhibit a function of creating screen data of a screen to be displayed on a display device that can issue a command to a communication target,
The screen data creation device associates a model of a communication target connected to the display device, a function that operates on the communication target, and a plurality of setting parameters that are set to exert the function on the communication target. Storage means for storing,
A model selection accepting step for accepting selection of a model of a communication target connected to the display device;
A function selection receiving step for reading out a function that operates on a communication target of the model selected in the model selection receiving step from the storage unit and displaying the function on the display unit, and receiving a selection of the function;
A plurality of setting parameters set in order to exert the function selected in the function selection receiving step are read from the storage means and displayed on the display unit, and for each of the displayed setting parameters, the parameter of the setting parameter A device designation accepting step for accepting designation of a device functioning as a virtual memory area for storing values;
Command issuing function for issuing a command for simultaneously transmitting a plurality of parameter values stored in a plurality of devices designated by the device designation accepting step to communication targets of the models selected by the model selection accepting step And a function assigning step for assigning to the means serving as a command issuance trigger.
JP2010037336A 2010-02-23 2010-02-23 Screen data preparation device, screen data preparation method, and screen data preparation program Pending JP2011175351A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010037336A JP2011175351A (en) 2010-02-23 2010-02-23 Screen data preparation device, screen data preparation method, and screen data preparation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010037336A JP2011175351A (en) 2010-02-23 2010-02-23 Screen data preparation device, screen data preparation method, and screen data preparation program

Publications (1)

Publication Number Publication Date
JP2011175351A true JP2011175351A (en) 2011-09-08

Family

ID=44688161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010037336A Pending JP2011175351A (en) 2010-02-23 2010-02-23 Screen data preparation device, screen data preparation method, and screen data preparation program

Country Status (1)

Country Link
JP (1) JP2011175351A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5295467B1 (en) * 2012-12-10 2013-09-18 三菱電機株式会社 Multi-axis control system setting / adjustment function support device
JP5523643B1 (en) * 2013-10-11 2014-06-18 三菱電機株式会社 Multi-axis control system setting / adjustment function support device
US20140309751A1 (en) * 2013-04-15 2014-10-16 Kabushiki Kaisha Yaskawa Denki Controller, device control system, computer program, computer readable storage medium
JP2014206940A (en) * 2013-04-15 2014-10-30 株式会社安川電機 Equipment control system and controller

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5295467B1 (en) * 2012-12-10 2013-09-18 三菱電機株式会社 Multi-axis control system setting / adjustment function support device
WO2014091547A1 (en) * 2012-12-10 2014-06-19 三菱電機株式会社 Multi-axis control system setting/adjustment function assistance device
KR101451053B1 (en) * 2012-12-10 2014-10-15 미쓰비시덴키 가부시키가이샤 Multi-axis control system setting/adjustment function supporting apparatus
TWI498693B (en) * 2012-12-10 2015-09-01 Mitsubishi Electric Corp Multi-axes control system setting and adjusting functions support device
US20140309751A1 (en) * 2013-04-15 2014-10-16 Kabushiki Kaisha Yaskawa Denki Controller, device control system, computer program, computer readable storage medium
JP2014206940A (en) * 2013-04-15 2014-10-30 株式会社安川電機 Equipment control system and controller
JP5523643B1 (en) * 2013-10-11 2014-06-18 三菱電機株式会社 Multi-axis control system setting / adjustment function support device
WO2015052844A1 (en) * 2013-10-11 2015-04-16 三菱電機株式会社 Function support device for setting/adjusting multiaxial control system
KR20160042177A (en) * 2013-10-11 2016-04-18 미쓰비시덴키 가부시키가이샤 Function support device for setting/adjusting multiaxial control system
CN105637438A (en) * 2013-10-11 2016-06-01 三菱电机株式会社 Clusters of polynomials for data points
KR101656649B1 (en) 2013-10-11 2016-09-09 미쓰비시덴키 가부시키가이샤 Function support device for setting/adjusting multiaxial control system
US10365634B2 (en) 2013-10-11 2019-07-30 Mitsubishi Electric Corporation Multiaxial control system setting and adjusting function supporting device

Similar Documents

Publication Publication Date Title
JP2024001102A (en) Systems and methods for configuring and presenting a display navigation hierarchy within a process plant
TWI498693B (en) Multi-axes control system setting and adjusting functions support device
CN102246107B (en) Providing a proxy step in a model of an automation system
US10203681B2 (en) Sequence-program-creation supporting apparatus
JP6372308B2 (en) Information processing apparatus, information processing method, information processing program, and recording medium
JP2019091426A (en) System and method for facilitating graphic display configuration design in process control plant
JP5875555B2 (en) Image creation system
JP2011175351A (en) Screen data preparation device, screen data preparation method, and screen data preparation program
JP3847585B2 (en) Editor registration device, registration program, and recording medium recording the same
JP3835589B2 (en) Drawing device and computer-readable recording medium recording drawing program
JP5444166B2 (en) Equipment management device, screen display method, and program
JP2005259079A (en) tool
JP5483011B2 (en) PLC program development support apparatus and computer program for causing a computer to function as the apparatus
US8683364B2 (en) Graphical interconnection of hardware signals
JP4463716B2 (en) Programmable display, display control program, and recording medium recording the same
JP7147808B2 (en) Engineering device, engineering method and program
JP4462426B2 (en) PLC tool device
JP6939662B2 (en) Programming support device, programming support method and program
CN110515617B (en) Prototype storage method
JP3795473B2 (en) Editor device and recording medium recording editor program
JP5296724B2 (en) Screen display data editing apparatus and screen display data editing program
WO2016117087A1 (en) Engineering tool program and engineering tool
JP2008033572A (en) Screen generating apparatus, screen generating program and recording medium for recording this program
JP6878934B2 (en) Information processing equipment, information processing system, user interface creation method, and user interface creation program
US20250244956A1 (en) Bulk configuration of new devices and topology management