JP4878586B2 - Programmable display screen generation device and program thereof - Google Patents

Programmable display screen generation device and program thereof Download PDF

Info

Publication number
JP4878586B2
JP4878586B2 JP2007226675A JP2007226675A JP4878586B2 JP 4878586 B2 JP4878586 B2 JP 4878586B2 JP 2007226675 A JP2007226675 A JP 2007226675A JP 2007226675 A JP2007226675 A JP 2007226675A JP 4878586 B2 JP4878586 B2 JP 4878586B2
Authority
JP
Japan
Prior art keywords
address
component
setting
value
screen
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.)
Active
Application number
JP2007226675A
Other languages
Japanese (ja)
Other versions
JP2009059213A (en
Inventor
忠輝 山本
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.)
Hakko Electronics Co Ltd
Original Assignee
Hakko Electronics Co Ltd
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 Hakko Electronics Co Ltd filed Critical Hakko Electronics Co Ltd
Priority to JP2007226675A priority Critical patent/JP4878586B2/en
Publication of JP2009059213A publication Critical patent/JP2009059213A/en
Application granted granted Critical
Publication of JP4878586B2 publication Critical patent/JP4878586B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Description

本発明は、プログラマブル表示器用の画面を生成する装置等に関する。   The present invention relates to an apparatus for generating a screen for a programmable display.

プログラマブル・コントローラ(PLC)システムにおいて、プログラマブル表示器は、コントローラ本体(PLC本体)と接続して、コントローラ本体に接続されている各種制御対象デバイスの稼動状況を表示する画面や、あるいは各デバイスへの制御指示を与えるための入力操作画面を表示して入力を受付ける機能等を備えた操作型表示器として知られている。一般に、プログラマブル表示器は、グラフィック表示機能を有しており、スイッチ、グラフ、メータ等の各種部品を画面上に配置して、これら各種部品によるグラフィカル表示を行い、またタッチパネル等による入力操作を受け付けている。   In the programmable controller (PLC) system, the programmable display is connected to the controller main body (PLC main body) and displays the operation status of various control target devices connected to the controller main body, or to each device. It is known as an operation type display having a function of displaying an input operation screen for giving a control instruction and receiving an input. In general, a programmable display has a graphic display function. Various parts such as switches, graphs, and meters are arranged on the screen to display graphically with these various parts, and accept input operations using a touch panel. ing.

この様なグラフィカル表示な表示のうち、特にグラフ、メータのような部品の表示は、上述した各種制御対象デバイスの稼動状況を示すデータ(各種センサによる計測値等)を、上記コントローラ本体から定期的に(例えば1秒毎)に取得して表示するものである。これら各計測値等は、それぞれ、例えばコントローラ内のメモリに格納され、定期的に(例えば1秒毎)に更新される。よって、この様な画面上に配置される、計測値等を表示する為の各部品に対しては、その部品が表示する計測値が格納/更新される上記メモリのアドレスが対応付けられている。   Among such graphical displays, especially for the display of parts such as graphs and meters, the above-mentioned data (measurement values by various sensors, etc.) indicating the operation status of various controlled devices are periodically transmitted from the controller body. (For example, every second). Each of these measured values is stored in a memory in the controller, for example, and is updated regularly (for example, every second). Therefore, each part arranged on such a screen for displaying a measured value or the like is associated with an address of the memory where the measured value displayed by the part is stored / updated. .

従来では、この様な部品を再利用する場合や、PLC本体の更新等に伴ってプログラマブル表示器の画面自体の変更はないがメモリアドレス割付けが変わる場合等に、アドレスの一括置換機能を利用してユーザが確認しながら上記各部品のアドレスを変更することが一般的であった。   Conventionally, when reusing such parts, or when changing the memory address assignments without changing the programmable display screen itself due to the update of the PLC body, etc., the batch address replacement function is used. In general, the address of each component is changed while the user confirms.

上記アドレスの一括置換機能は、例えばプログラマブル表示器用の画面の作画ソフトウェアを有する支援装置(パソコン等)における、当該画面の作画ソフトウェアが有する機能の1つである。ユーザ(プログラマ等)は、この支援装置(パソコン等)を操作して、所望の画面の作成を行い、その際、作成した画面上の各部品のメモリアドレス割付けを行う場合には、必要に応じて、上記アドレスの一括置換機能を利用する。   The address batch replacement function is one of the functions of the screen drawing software in a support device (such as a personal computer) having screen drawing software for a programmable display. The user (programmer, etc.) operates the support device (computer, etc.) to create a desired screen, and when assigning memory addresses for each part on the created screen, Then, the above address batch replacement function is used.

そして、作成された画面データは、支援装置(パソコン等)からプログラマブル表示器にダウンロードされる。この画面データには、当該画面上に配置される各部品の情報や、これら各部品に割付けられる上記メモリアドレスの情報が含まれている。これより、プログラマブル表示器は、この画面を表示すると共に、メモリアドレス割付け情報に従ってPLC本体(コントローラ)のメモリから例えばセンサ計測データ等を取得して、これらセンサ計測データ等を該当する部品に表示させる等の処理を実行する。   The created screen data is downloaded from a support device (such as a personal computer) to a programmable display. The screen data includes information on each component arranged on the screen and information on the memory address assigned to each component. Thus, the programmable display displays this screen, acquires sensor measurement data, for example, from the memory of the PLC main body (controller) according to the memory address allocation information, and displays the sensor measurement data, etc. on the corresponding parts. Etc. are executed.

例えば図7に示す例では、5つの部品(グラフ、数値(現在値)、数値(最大値)、数値(最小値)、稼動状態)のアドレスを一括変更する例を示してある。この例では、アドレスを変更する際に、ユーザが任意のスタートアドレス=D3000を設定するだけで、不図示の設定ルールを格納したテーブル等を参照することで、上記各部品に対する図示の変更前のアドレスD100、D100、D200、D300、D150が、それぞれ、アドレスD3000、D3000、D3100、D3200、D3050へと一括して変更されることになる。   For example, the example shown in FIG. 7 shows an example in which the addresses of five components (graph, numerical value (current value), numerical value (maximum value), numerical value (minimum value), operating state) are collectively changed. In this example, when the address is changed, the user simply sets an arbitrary start address = D3000, and by referring to a table or the like that stores a setting rule (not shown), the above-described parts before the change are shown. Addresses D100, D100, D200, D300, and D150 are collectively changed to addresses D3000, D3000, D3100, D3200, and D3050, respectively.

この様な従来技術に関して、例えば、特許文献1記載の技術では、I/Oアドレス設定
部で、部品配置部の部品位置座標の一ヶ所に対応するアドレスを先頭アドレスとして設定すると、残りの部品位置座標の部品は先頭アドレスの次のアドレスから順に割り付けられて記憶部に記憶され、通信部を介してPLCの記憶部のI/Oアドレスに、部品配置部に配置された部品のアドレスとして割り付けられる。
特開2001−331206号公報
With regard to such a conventional technique, for example, in the technique described in Patent Document 1, when the I / O address setting unit sets an address corresponding to one part position coordinate of the component placement unit as a head address, the remaining part positions Coordinate components are allocated in order from the address next to the start address and stored in the storage unit, and are allocated to the I / O address of the PLC storage unit via the communication unit as the addresses of the components arranged in the component arrangement unit. .
JP 2001-331206 A

上記従来のようにアドレスの一括置換機能を利用する場合、以下の問題が生じる。
例えば、図7に示す「稼動状態」に対応するアドレスのように、固定アドレスとして使用している為に変更の必要がないアドレスが存在する場合、上記アドレス一括置換後に、この「稼動状態」を示すアドレスを修正する(固定アドレスに戻す)作業が発生するという問題があった。図7に示す例では、稼動状態に対応するアドレスが上記一括変換機能によってD3050になってしまうので、これをユーザが手作業により元のアドレスD150に戻す必要が生じる。
When the address batch replacement function is used as in the conventional case, the following problems occur.
For example, if there is an address that does not need to be changed because it is used as a fixed address, such as the address corresponding to the “operating state” shown in FIG. There was a problem that work to correct the address indicated (return to a fixed address) occurred. In the example shown in FIG. 7, since the address corresponding to the operating state becomes D3050 by the batch conversion function, it is necessary for the user to manually return it to the original address D150.

本発明の課題は、プログラマブル表示器用画面生成装置に係り、特に画面上の部品のアドレス割付けを変更する場合に、複数の部品の割付けアドレスを一括置換でき且つユーザによる修正作業が必要なくなるプログラマブル表示器用画面生成装置等を提供することである。   An object of the present invention relates to a screen display device for a programmable display, and in particular for a programmable display that can replace the allocation addresses of a plurality of components at once and eliminates the need for correction work by a user when changing the address allocation of components on the screen. It is to provide a screen generation device and the like.

本発明のプログラマブル表示器用画面生成装置は、プログラマブル表示器用の画面上の部品群の各部品毎に割付けるメモリアドレスを格納するアドレス割付けテーブルと、任意の前記部品群の各部品毎に、アドレスオフセット値又は実アドレス値を設定させて、該設定内容をアドレス設定テーブルに登録する設定手段と、前記部品群の各部品の前記メモリアドレスを変更する際に、任意の先頭アドレスを入力させ、前記アドレス設定テーブルを参照して、各部品毎に、前記アドレスオフセット値が登録されている場合には該先頭アドレスとアドレスオフセット値とに基づいて新たなメモリアドレスを求め、前記実アドレス値が登録されている場合には該実アドレス値を新たなメモリアドレスとし、該各新たなメモリアドレスにより前記アドレス割付けテーブルのメモリアドレスを更新するアドレス一括置換手段とを有する。   The screen display device for a programmable display according to the present invention includes an address allocation table for storing a memory address to be allocated for each component of the component group on the screen for the programmable display, and an address offset for each component of the arbitrary component group. A setting means for setting a value or a real address value and registering the setting contents in an address setting table; and when changing the memory address of each component of the component group, an arbitrary start address is input, and the address When the address offset value is registered for each component with reference to the setting table, a new memory address is obtained based on the head address and the address offset value, and the actual address value is registered. If the new memory address is used, the real address value is set as a new memory address. And an address block replacement means for updating the memory address allocation table.

上記構成の装置によれば、アドレスオフセット値が登録されている部品に関してのみ、先頭アドレスに基づくアドレス自動決定が行われることになり、変更が必要ない部品(アドレス固定の部品)に関しては、先頭アドレスは関係なく常に予め設定されているアドレス値が適用されるので、ユーザがアドレスを修正する必要はない。   According to the apparatus having the above configuration, the address is automatically determined based on the start address only for the part for which the address offset value is registered, and the start address for the part that does not need to be changed (part whose address is fixed). Since a preset address value is always applied regardless of the user, there is no need for the user to correct the address.

本発明のプログラマブル表示器用画面生成装置等によれば、プログラマブル表示器用画面生成装置に係り、特に画面上の部品のアドレス割付けを変更する場合に、複数の部品の割付けアドレスを一括置換でき且つユーザによる修正作業が必要なくなる。   According to the programmable display screen generation apparatus and the like of the present invention, it is related to the programmable display screen generation apparatus, and in particular, when changing the address allocation of the parts on the screen, the allocation addresses of a plurality of parts can be collectively replaced by the user. No correction work is required.

以下、図面を参照して、本発明の実施の形態について説明する。
図1に、本手法に係るPLCシステム全体の概略構成図を示す。
図1に示すPLC(プログラマブル・コントローラ)システムは、プログラマブル表示器1、PC(パソコン)5、外部機器3等から成る。プログラマブル表示器1は任意の通信ライン2によってPC5と接続しており、また任意の通信ライン6によって外部機器3と接続している。この外部機器3は、例えばコントローラ本体(PLC本体)等である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 shows a schematic configuration diagram of the entire PLC system according to the present method.
The PLC (programmable controller) system shown in FIG. 1 includes a programmable display 1, a PC (personal computer) 5, an external device 3, and the like. The programmable display 1 is connected to the PC 5 by an arbitrary communication line 2 and is connected to the external device 3 by an arbitrary communication line 6. The external device 3 is, for example, a controller main body (PLC main body).

PC5には、プログラマブル表示器用作画ソフト4が格納されている。これより、PC5はプログラマブル表示器用画面生成装置として機能する場合もある。
本手法は、このプログラマブル表示器用作画ソフト4に係るものである。すなわち、プログラマブル表示器用作画ソフト4を実行することで、PC5の不図示のディスプレイ上にプログラマブル表示器用の画面作成用の画面(以下、作画画面と呼ぶものとする)が表示され、ユーザ等はこの作画画面上で所望のプログラマブル表示器用の画面を作成する。
The PC 5 stores programmable display screen design software 4. Thus, the PC 5 may function as a programmable display screen generation device.
This method is related to the drawing software 4 for the programmable display. That is, by executing the programmable display screen design software 4, a screen for creating a screen for a programmable display (hereinafter referred to as a screen display screen) is displayed on a display (not shown) of the PC 5. A screen for a desired programmable display is created on the screen.

この画面は、従来で説明したように、任意の複数の部品が配置されて成るものであり、プログラマブル表示器用作画ソフト4は更に、各部品に上記アドレスを割り付ける機能を有している。既にある部品を再利用する場合、このアドレス割付機能が、従来では上述した一括置換機能であったが、本手法では以下に説明する機能となっている。   As described above, this screen is formed by arranging a plurality of arbitrary components, and the programmable display drawing software 4 further has a function of allocating the address to each component. In the case of reusing an already existing component, this address assignment function has been the above-described batch replacement function in the past, but this method has the function described below.

すなわち、本手法のプログラマブル表示器用作画ソフト4におけるアドレス割付機能は、概略的には、変更の必要が生じるアドレスのみを一括置換し、上記固定アドレス等は一括置換の対象外とするものである。これにより、固定アドレスまでもが一括置換で変更されてしまう事態を回避し、ユーザに余計な修正作業を行わせる必要がなくなり、ユーザの手間を軽減できる。勿論、先頭アドレスから所定の法則に従ったアドレス割付けを行うので、アドレス変更を容易とすることができる。以下、例えば図2等に示す具体例を参照しつつ、詳細に説明する。   That is, the address assignment function of the programmable display screen design software 4 of this method generally replaces only addresses that need to be changed, and excludes the fixed addresses and the like from batch replacement. This avoids a situation where even a fixed address is changed by batch replacement, eliminates the need for the user to perform extra correction work, and reduces the user's trouble. Of course, since the address allocation according to a predetermined rule is performed from the head address, the address change can be facilitated. Hereinafter, a detailed description will be given with reference to a specific example shown in FIG.

尚、上述したことから、以下に説明する処理・機能は、当然、PC(パソコン)5が実現する。すなわちPC(パソコン)5が有する不図示のCPUが、不図示の記憶装置(ハードディスク等)に記憶されている所定のアプリケーションプログラムを読み出し・実行することにより実現される。   Note that, from the above description, the processing and functions described below are naturally realized by the PC (personal computer) 5. That is, it is realized by a CPU (not shown) included in the PC (personal computer) 5 reading and executing a predetermined application program stored in a storage device (hard disk or the like) not shown.

図2(a)は、変更又は再利用する部品の表示例である。
図示の部品は、任意の計測器の現在値をグラフィカルに表示するグラフ11と、この計測器に係る各種データを数値表示する領域12〜15とから成る。数値表示は、現在値、最大値、最小値、及び稼動状態の4種類ある。以下、数値(現在値)13、数値(最大値)14、数値(最小値)15、及び稼動状態12と記す。
FIG. 2A is a display example of parts to be changed or reused.
The illustrated component includes a graph 11 that graphically displays a current value of an arbitrary measuring instrument, and areas 12 to 15 that numerically display various data related to the measuring instrument. There are four types of numerical displays: current value, maximum value, minimum value, and operating state. Hereinafter, a numerical value (current value) 13, a numerical value (maximum value) 14, a numerical value (minimum value) 15, and an operating state 12 are described.

グラフ11及び数値(現在値)13は、上記任意の計測器の現在値を格納するアドレスが割付けられるので、両方とも同じアドレス(例えば図示のアドレスD100)が割付けられる。数値(最大値)14、数値(最小値)15、及び稼動状態12も、同様に、それぞれ図示のアドレスD200、D300、D150が割付けられている。ここで、稼動状態12に対応するアドレスD150が、上述した固定アドレスであり、このアドレスD150は変更してはならないものである。これらアドレスの割付けは、図2(b)に示すアドレス割付けテーブルにより管理されている。   Since the graph 11 and the numerical value (current value) 13 are assigned addresses for storing the current values of the arbitrary measuring instruments, the same address (for example, the address D100 shown in the figure) is assigned to both. Similarly, the numerical value (maximum value) 14, the numerical value (minimum value) 15, and the operating state 12 are assigned addresses D200, D300, and D150, respectively. Here, the address D150 corresponding to the operating state 12 is the above-mentioned fixed address, and this address D150 should not be changed. These address assignments are managed by an address assignment table shown in FIG.

図2(b)は、上記図2(a)に示す各部品のアドレス割付けテーブルである。
図示のアドレス割付けテーブル20は、部品21、アドレス22等から成る(図示の“内容”は、補足の為に示してあり、無くてもよい)。
FIG. 2B is an address assignment table for each component shown in FIG.
The illustrated address allocation table 20 includes a component 21, an address 22, and the like (the “content” illustrated is shown for supplementary purposes and may be omitted).

部品21には、図2(a)等に示す画面上の各部品を識別する情報が格納される。この情報は、各部品の名称等であってもよいし、予め決められている各部品の識別ID等であってもよい。アドレス22は、各部品に割付けられるアドレスであり、図2(a)で説明した通り、例えばグラフ11及び数値(現在値)13にはアドレスD100が割付けられる。   The component 21 stores information for identifying each component on the screen shown in FIG. This information may be the name of each component or the like, or may be a predetermined identification ID or the like of each component. The address 22 is an address assigned to each component. As described with reference to FIG. 2A, for example, the address D100 is assigned to the graph 11 and the numerical value (current value) 13.

上記図2(a)に示す部品を再利用する際には(あるいはPLC本体変更等によりアドレス割付けが変わる場合等)、図2(b)に示すアドレス割付け当テーブル20の内容を変更することになる。この変更処理を自動で一括で実行させる為に必要となる設定を、予めユーザに行わせる。この設定について、図3(a)〜(c)を参照して説明する。   When the component shown in FIG. 2A is reused (or when the address assignment is changed by changing the PLC main body, etc.), the contents of the address assignment table 20 shown in FIG. 2B are changed. Become. The user is required to make in advance settings necessary to automatically execute this change process all at once. This setting will be described with reference to FIGS.

図3(a)、(b)は、上記設定をユーザに入力させる為の設定画面の一例である。
ユーザは、所望の部品を指定する毎に、当該指定した部品に関して、この設定画面上で所望の設定を行う。尚、設定対象の部品の指定方法は、例えば図2(a)に示す画面を表示させて所望の部品をこの画面上で選択指定してもよいし、例えば不図示の部品名一覧等を表示して選択させてもよいし、他の方法であってもよい。
FIGS. 3A and 3B are examples of setting screens for allowing the user to input the above settings.
Each time the user designates a desired component, the user performs a desired setting on the setting screen for the designated component. As a method for specifying a setting target component, for example, the screen shown in FIG. 2A may be displayed, and a desired component may be selected and specified on this screen. For example, a component name list (not shown) may be displayed. May be selected, or another method may be used.

図示の設定画面では、まず、設定種類指定領域31が表示される。設定種類指定領域31では、プルダウンによって「メモリテーブル」、「PLCメモリ」の2つの選択肢が表示され、図3(a)は「メモリテーブル」が選択された場合、図3(b)は「PLCメモリ」が選択された場合の設定画面を示すものである。   On the illustrated setting screen, first, a setting type designation area 31 is displayed. In the setting type designation area 31, two choices of “memory table” and “PLC memory” are displayed by pull-down, and when “memory table” is selected in FIG. 3A, FIG. It shows a setting screen when “memory” is selected.

まず、設定種類指定領域31において「メモリテーブル」が選択された場合には、図3(a)に示す通り、メモリテーブルNo.指定領域32とアドレスオフセット指定領域33とが更に追加表示されることになる。そして、ユーザは、これら各領域32,33において所望のメモリテーブルNo.とアドレスオフセット値を入力する。   First, when “memory table” is selected in the setting type designation area 31, as shown in FIG. The designation area 32 and the address offset designation area 33 are additionally displayed. The user then selects a desired memory table No. in each of the areas 32 and 33. Enter the address offset value.

一方、設定種類指定領域31において「PLCメモリ」が選択された場合には、図3(b)に示す通り、PLCデバイス名選択領域34とアドレス入力領域35が更に追加表示されることになる。そして、ユーザは、PLCデバイス名選択領域34において所望のデバイス名(ここでは‘D’)を選択し、更にアドレス入力領域34において所望のアドレス値を入力する。尚、「デバイス名+アドレス値」を実アドレス値というものとする。   On the other hand, when “PLC memory” is selected in the setting type designation area 31, a PLC device name selection area 34 and an address input area 35 are additionally displayed as shown in FIG. Then, the user selects a desired device name (here, “D”) in the PLC device name selection area 34, and further inputs a desired address value in the address input area 34. Note that “device name + address value” is referred to as an actual address value.

上記設定画面による設定内容は、図3(c)に示すアドレス設定テーブル40に登録される。
図3(c)に示すアドレス設定テーブル40は、部品41と指定方法42とから成る。尚、図示の「内容」は、指定方法42の内容を説明する為に示しているだけであり、実際のデータ構成には存在しない。
The setting contents on the setting screen are registered in the address setting table 40 shown in FIG.
The address setting table 40 shown in FIG. 3C includes a component 41 and a designation method 42. The “content” shown in the figure is only shown for explaining the contents of the designation method 42 and does not exist in the actual data structure.

部品41には、上述した各部品を識別する為の情報(名称や識別ID等)が格納される。
指定方法42には、上記設定画面上で設定された設定内容が格納される。図3(a)に示す設定画面で設定された場合には、上記入力されたメモリテーブルNo.とアドレスオフセット値が指定方法42に格納される。一方、図3(b)に示す設定画面で設定された場合には、上記実アドレス値が、指定方法42に格納される。
The component 41 stores information (name, identification ID, etc.) for identifying each component described above.
The designation method 42 stores the setting contents set on the setting screen. When the setting is made on the setting screen shown in FIG. And the address offset value are stored in the designation method 42. On the other hand, when the setting is made on the setting screen shown in FIG. 3B, the real address value is stored in the designation method 42.

図示の例では、グラフ、数値(現在値)、数値(最大値)、数値(最小値)の4つの部品に関しては、図3(a)に示す設定画面で設定されており、“稼動状態”のみが図3(b)に示す設定画面で設定されている。   In the illustrated example, the graph, numerical value (current value), numerical value (maximum value), and numerical value (minimum value) are set on the setting screen shown in FIG. Are set on the setting screen shown in FIG.

よって、グラフ、数値(現在値)、数値(最大値)、数値(最小値)の指定方法42には、何れも、図示の通り、メモリテーブルNo.とアドレスオフセット値が格納される。尚、グラフと数値(現在値)は、アドレスオフセット値が‘0’だったものとし、この場合には図示のようにメモリテーブルNo.のみが格納される(逆に言えば、後にアドレス設定テーブル40を参照してアドレスを決定する処理を行う際には、メモリテーブルNo.のみが格納されている場合には、アドレスオフセット値は‘0’であるものと解釈する
)。
Therefore, the graph, numerical value (current value), numerical value (maximum value), and numerical value (minimum value) designation method 42 are all shown in the memory table no. And the address offset value are stored. It should be noted that the graph and numerical value (current value) are assumed to have an address offset value of “0”. In this case, as shown in FIG. (Conversely speaking, when performing the process of determining the address with reference to the address setting table 40 later, if only the memory table No. is stored, the address offset value is' Interpreted as 0 ').

尚、図3(c)に示す「内容」には、後にアドレス設定テーブル40を参照してアドレスを決定する処理を行うときに、上述した指定方法42の内容に応じて決定されるアドレスが示してある。当該決定処理では、後に説明するようにユーザが所望の先頭アドレスを指定するものであり、グラフと数値(現在値)はアドレスオフセット値が‘0’なので、当該先頭アドレスがそのままこれらのアドレスとして決定されることになる。同様に、数値(最大値)、数値(最小値)のアドレスオフセット値はそれぞれ‘100’、‘200’なので、‘先頭アドレス+100’、‘先頭アドレス+200’が、これらのアドレスとして決定されることになる。   The “content” shown in FIG. 3C indicates an address that is determined according to the content of the above-described specifying method 42 when processing for determining the address with reference to the address setting table 40 is performed later. It is. In this determination process, as will be described later, the user designates a desired start address. Since the address offset value of the graph and the numerical value (current value) is “0”, the start address is determined as these addresses as they are. Will be. Similarly, since the numerical value (maximum value) and numerical value (minimum value) address offset values are “100” and “200”, respectively, “start address + 100” and “start address + 200” are determined as these addresses. become.

一方、“稼動状態”に関しては、上記図3(b)の画面で入力された実アドレス値(図示の例ではD150)が、そのまま、当該“稼動状態”に割付けられるアドレスとして決定されることになる。   On the other hand, regarding the “operating state”, the actual address value (D150 in the illustrated example) input on the screen of FIG. 3B is determined as an address assigned to the “operating state” as it is. Become.

尚、上記設定は、最初に一度行っておけば、その後は、アドレスを変更する必要が生じる毎に上記先頭アドレスを入力するだけで、自動的に、各部品のアドレスが決定されることになる。   Note that once the above setting is made at the beginning, the address of each component is automatically determined by simply inputting the top address every time it is necessary to change the address. .

以下、上述したアドレス設定テーブル40を用いるアドレス決定処理について説明する。
この処理では、上述した通り、ユーザが所望の先頭アドレスを指定するものであり、図4(a)に示す例では、以前のアドレス割付けの際には先頭アドレスがD100に設定されたが、今回は先頭アドレス=D3000が設定されたものとする。尚、先頭アドレスも上記実アドレスを入力するものである。
Hereinafter, the address determination process using the address setting table 40 described above will be described.
In this process, as described above, the user designates a desired head address. In the example shown in FIG. 4A, the head address is set to D100 in the previous address assignment. Is set with the head address = D3000. The head address is also used to input the real address.

例えば図4(b)に示す先頭アドレス入力画面を表示して、この先頭アドレス入力画面上でユーザに所望の先頭アドレスを入力させる。尚、図では以前に設定された先頭アドレス=D100が表示された状態を示しているが、今回はユーザが上記の通り先頭アドレス=D3000を設定するものである。その後、ユーザがアドレス自動決定処理の実行を指示すると、図5の処理が実行されることで、アドレス割付けテーブル20は、図2(b)に示す状態から図4(c)に示す状態へと自動的に変更されることになる。   For example, the head address input screen shown in FIG. 4B is displayed, and the user is allowed to input a desired head address on the head address input screen. Although the figure shows a state in which the previously set head address = D100 is displayed, this time the user sets the head address = D3000 as described above. Thereafter, when the user instructs execution of the automatic address determination process, the process shown in FIG. 5 is executed, so that the address allocation table 20 changes from the state shown in FIG. 2B to the state shown in FIG. It will be changed automatically.

アドレス自動決定処理は、上記アドレス設定テーブル40の各レコードを順次参照して、各レコード毎に図5の処理を実行することになる。
まず、処理対象レコードの指定方法42を参照して、メモリテーブルNo.が格納されているか否かを判定する(ステップS1)。図3(c)に示す例では、“稼動状態”を除く全ての部品に関して、メモリテーブルNo.が格納されている。よって、処理対象レコードが“稼動状態”以外の部品に関するレコードである場合には、ステップS1の判定はYESとなるのでステップS2へ進み、“稼動状態”の場合にはステップS1の判定はNOとなるのでそのまま処理を終了して、次のレコードの処理に移る(図3(c)に示す例では次のレコードは無いが)。
In the automatic address determination process, each record in the address setting table 40 is sequentially referred to, and the process shown in FIG. 5 is executed for each record.
First, referring to the processing target designation method 42, the memory table No. Is stored (step S1). In the example shown in FIG. 3C, the memory table No. Is stored. Therefore, if the processing target record is a record related to a component other than the “operating state”, the determination in step S1 is YES, so the process proceeds to step S2. If the processing target record is “operating state”, the determination in step S1 is NO. Therefore, the process is terminated as it is, and the process moves to the process of the next record (although there is no next record in the example shown in FIG. 3C).

これにより、アドレス割付けテーブル20における“稼動状態”のアドレスは、図2(b)の状態のままとなり、変更されてしまうことはない。尚、この例に限らず、ステップS1の判定がNOの場合には、処理対象レコードの指定方法42のデータを、アドレス割付けテーブル20の該当レコードのアドレス22にコピーしてもよい。この場合でも、“稼動状態”のアドレス22は、D150のままであり、変更されることはない。   As a result, the “operating state” address in the address allocation table 20 remains in the state shown in FIG. 2B and is not changed. Note that the present invention is not limited to this example. If the determination in step S1 is NO, the data of the processing target designation method 42 may be copied to the address 22 of the corresponding record in the address allocation table 20. Even in this case, the “operation state” address 22 remains D150 and is not changed.

一方、上記ステップS2の処理に進んだ場合、まず、図4(b)において設定された先
頭アドレスを取得して(ステップS2)、この先頭アドレスに、処理対象レコードの指定方法42におけるアドレスオフセット値を加算することで、新たなアドレスを算出して、この算出したアドレスを、アドレス割付けテーブル20の該当レコード(部品名称等が処理対象レコードと同じレコード)のアドレス22に格納する(ステップS3)。
On the other hand, when the process proceeds to step S2, the first address set in FIG. 4B is first acquired (step S2), and the address offset value in the processing target record specifying method 42 is added to the first address. Is added, and the calculated address is stored in the address 22 of the corresponding record in the address assignment table 20 (part name etc. is the same record as the process target record) (step S3).

例えば数値(最小値)を例にすると、そのアドレスオフセット値は‘200’であり、上記の通り先頭アドレスはD3000であるので、D3000+200=D3200が、図4(c)に示す通り格納されることになる。   For example, taking a numerical value (minimum value) as an example, the address offset value is “200”, and the start address is D3000 as described above. Therefore, D3000 + 200 = D3200 is stored as shown in FIG. become.

尚、図3(c)に示すテーブル40は例えばメモリテーブルNo.0のテーブルとして登録されており、特に図示しないがユーザが任意のテーブルNO.を入力することで、図4(b)の先頭アドレス入力画面が表示され、更にこの入力されたテーブルNO.のアドレス設定テーブル40の全レコードを処理対象として図5の処理が実行されることになる。   Note that the table 40 shown in FIG. The table is registered as a table No. 0. Although not particularly shown, the user can select any table No. Is input, the top address input screen of FIG. 4B is displayed. The process shown in FIG. 5 is executed for all records in the address setting table 40 of FIG.

尚、図3で説明した設定処理の際には、“稼動状態”に関してはメモリテーブルNo.が設定されないが、例えばその直前に入力されたメモリテーブルNo.(本例では数値(最小値)に関して入力されたメモリテーブルNo.0)のテーブルに格納されるものとし、これにより“稼動状態”に関する設定データも、図3(c)に示す通り、メモリテーブルNo.0のテーブルに格納されている。   Note that in the setting process described with reference to FIG. Is not set. For example, the memory table No. (In this example, it is assumed that the table is a memory table No. 0 inputted with respect to a numerical value (minimum value)), so that the setting data relating to the “operating state” is also stored in the memory table as shown in FIG. No. It is stored in the 0 table.

尚、上述した図3(c)のデータや図5の処理は一例であり、この例に限るものではない。基本的に、アドレス設定テーブル40の指定方法42に格納されたデータが、オフセット値であるのかメモリアドレス自体(実アドレス)であるのかを識別できれば、どの様な方法であってもよい。例えば、図3(c)に示す例では、アドレスオフセット値は‘100’や‘200’の様な数値のみであるのに対して、アドレス自体は‘D100’のように数値の前に‘D’が存在するので、これによって識別することが可能である。   Note that the data in FIG. 3C and the processing in FIG. 5 described above are examples, and the present invention is not limited to this example. Basically, any method may be used as long as it can be identified whether the data stored in the designation method 42 of the address setting table 40 is an offset value or a memory address itself (real address). For example, in the example shown in FIG. 3C, the address offset value is only a numerical value such as '100' or '200', whereas the address itself is preceded by a numerical value such as 'D100'. 'Is present and can be identified by this.

また、尚、上記各部品のアドレス割付けが完了したら、従来技術で説明した通り、このアドレス割付け情報(アドレス割付けテーブル20)を含む画面データを、PC5からプログラマブル表示器1にダウンロードすることになる。   In addition, when the address assignment of each component is completed, the screen data including the address assignment information (address assignment table 20) is downloaded from the PC 5 to the programmable display 1 as described in the prior art.

図6に、上記PC5(コンピュータ)のハードウェア構成を示す。
図7に示すコンピュータ50は、CPU51、メモリ52、入力部53、出力部54、記憶部55、記録媒体駆動部56、及びネットワーク接続部57を有し、これらがバス58に接続された構成となっている。
FIG. 6 shows a hardware configuration of the PC 5 (computer).
7 includes a CPU 51, a memory 52, an input unit 53, an output unit 54, a storage unit 55, a recording medium driving unit 56, and a network connection unit 57, which are connected to a bus 58. It has become.

CPU51は、当該コンピュータ50全体を制御する中央処理装置である。
メモリ52は、任意の処理実行の際に、記憶部55(あるいは可搬型記録媒体59)に記憶されているプログラムあるいはデータを一時的に格納するRAM等のメモリである。CPU51は、メモリ52に読み出したプログラム/データを用いて、各種処理を実行する。
The CPU 51 is a central processing unit that controls the entire computer 50.
The memory 52 is a memory such as a RAM that temporarily stores a program or data stored in the storage unit 55 (or the portable recording medium 59) when executing arbitrary processing. The CPU 51 executes various processes using the program / data read out to the memory 52.

出力部54は、例えばディスプレイ等であり、入力部53は、例えば、キーボード、マウス等である。
ネットワーク接続部57は、任意のネットワーク(例えば通信ライン2等)に接続して、他の情報処理装置(プログラマブル表示器1やその他の任意のコンピュータ)との通信(コマンド/データ送受信等)を行う為の構成である。
The output unit 54 is, for example, a display, and the input unit 53 is, for example, a keyboard, a mouse, or the like.
The network connection unit 57 is connected to an arbitrary network (for example, the communication line 2) and performs communication (command / data transmission / reception, etc.) with other information processing devices (programmable display 1 and other arbitrary computers). It is a structure for.

記憶部55は、例えばハードディスク等であり、上述したプログラマブル表示器用作画
ソフト4の処理機能(上述した各種処理(図5のフローチャートの処理も含む))をCPU51により実行させる為のアプリケーションプログラムが格納されている。また、上記アドレス設定テーブル40等のデータも格納されている。
The storage unit 55 is, for example, a hard disk or the like, and stores an application program for causing the CPU 51 to execute the processing functions of the above-described programmable display drawing software 4 (the above-described various processes (including the process of the flowchart of FIG. 5)). ing. Data such as the address setting table 40 is also stored.

CPU51は、上記記憶部55に格納されている各種プログラムを読み出し・実行することにより、上述したプログラマブル表示器用作画ソフト4の各種機能・処理を実現する。   The CPU 51 reads out and executes various programs stored in the storage unit 55, thereby realizing the various functions and processing of the above-described programmable display screen design software 4.

あるいは、上記記憶部55に格納される各種プログラム/データは、可搬型記録媒体59に記憶されているものであってもよい。この場合、可搬型記録媒体59に記憶されているプログラム/データは、記録媒体駆動部56によって読み出される。可搬型記録媒体59とは、例えば、FD(フレキシブル・ディスク)59a、CD−ROM59b、その他、DVD、光磁気ディスク等である。   Alternatively, the various programs / data stored in the storage unit 55 may be stored in the portable recording medium 59. In this case, the program / data stored in the portable recording medium 59 is read by the recording medium driving unit 56. The portable recording medium 59 is, for example, an FD (flexible disk) 59a, a CD-ROM 59b, a DVD, a magneto-optical disk, or the like.

あるいは、また、上記プログラム/データは、ネットワーク接続部57により接続しているネットワークを介して、他の装置内に記憶されているものをダウンロードするものであってもよい。あるいは、更に、インターネットを介して、外部の他の装置内に記憶されているものをダウンロードするものであってもよい。   Alternatively, the program / data may be downloaded from another device via a network connected by the network connection unit 57. Or you may download further what was memorize | stored in the other external apparatus via the internet.

また、本発明は、上記本発明の各種処理をコンピュータ上で実現するプログラムを記録した可搬型記憶媒体として構成できるだけでなく、当該プログラム自体として構成することもできる。   In addition, the present invention can be configured not only as a portable storage medium recording a program for realizing the various processes of the present invention on a computer, but also as the program itself.

本手法に係るPLCシステム全体の概略構成図である。It is a schematic block diagram of the whole PLC system which concerns on this method. (a)は、変更又は再利用する部品の表示例、(b)はアドレス割付けテーブルの一例である。(A) is a display example of a component to be changed or reused, and (b) is an example of an address allocation table. (a)、(b)は設定画面に一例、(c)はアドレス設定テーブルの一例である。(A), (b) is an example on a setting screen, (c) is an example of an address setting table. (a)は変更前/後のアドレス、(b)はアドレス設定画面、(c)は変更後のアドレス割付けテーブルの一例である。(A) is an address before / after change, (b) is an address setting screen, and (c) is an example of an address allocation table after change. アドレス自動決定処理のフローチャート図である。It is a flowchart figure of an address automatic determination process. コンピュータ・ハードウェア構成図である。It is a computer hardware block diagram. 従来のメモリ一括変更機能を説明する為の図である。It is a figure for demonstrating the conventional memory batch change function.

符号の説明Explanation of symbols

1 プログラマブル表示器
2,6 通信ライン
3 外部機器
4 プログラマブル表示器用作画ソフト
5 PC(パソコン)
11 グラフ
12 稼動状態
13 数値(現在値)
14 数値(最大値)
15 数値(最小値)
20 アドレス割付けテーブル
21 部品
22 アドレス
31 設定種類指定領域
32 指定領域
33 アドレスオフセット指定領域
34 アドレス入力領域
40 アドレス設定テーブル
41 部品
42 指定方法
50 コンピュータ
51 CPU
52 メモリ
53 入力部
54 出力部
55 記憶部
56 記録媒体駆動部
57 ネットワーク接続部
58 バス
59 可搬型記録媒体
59a FD(フレキシブル・ディスク)
59b CD−ROM
DESCRIPTION OF SYMBOLS 1 Programmable display device 2,6 Communication line 3 External device 4 Screen display software for programmable display device 5 PC (PC)
11 Graph 12 Operating state 13 Numerical value (current value)
14 Numerical value (maximum value)
15 Numerical value (minimum value)
20 Address allocation table 21 Component 22 Address 31 Setting type specification area 32 Specification area 33 Address offset specification area 34 Address input area 40 Address setting table 41 Parts 42 Specification method 50 Computer 51 CPU
52 memory 53 input unit 54 output unit 55 storage unit 56 recording medium drive unit 57 network connection unit 58 bus 59 portable recording medium 59a FD (flexible disk)
59b CD-ROM

Claims (2)

プログラマブル表示器用の画面上の部品群の各部品毎に割付けるメモリアドレスを格納するアドレス割付けテーブルと、
任意の前記部品群の各部品毎に、アドレスオフセット値又は実アドレス値を設定させるものであって、固定アドレスの部品に関しては実アドレスを設定させて、該設定内容をアドレス設定テーブルに登録する設定手段と、
前記部品群の各部品の前記メモリアドレスを変更する際に、任意の先頭アドレスを入力させ、前記アドレス設定テーブルを参照して、各部品毎に、前記アドレスオフセット値が登録されている場合には該先頭アドレスとアドレスオフセット値とに基づいて新たなメモリアドレスを求め、前記実アドレス値が登録されている場合には該実アドレス値を新たなメモリアドレスとし、該各新たなメモリアドレスにより前記アドレス割付けテーブルのメモリアドレスを更新するアドレス一括置換手段と、
を有することを特徴とするプログラマブル表示器用画面生成装置。
An address allocation table for storing a memory address to be allocated for each component of the component group on the screen for the programmable display;
A setting for setting an address offset value or a real address value for each component of the arbitrary component group, and setting a real address for a fixed address component and registering the setting contents in the address setting table. Means,
When changing the memory address of each component of the component group, if an arbitrary start address is input and the address offset value is registered for each component with reference to the address setting table, A new memory address is obtained based on the head address and the address offset value. When the real address value is registered, the real address value is set as a new memory address, and the address is determined by each new memory address. Address batch replacement means for updating the memory address of the allocation table;
A screen display device for a programmable display, comprising:
コンピュータを、
プログラマブル表示器用の画面上の部品群の各部品毎に割付けるメモリアドレスを格納するアドレス割付け記憶手段と、
任意の前記部品群の各部品毎に、アドレスオフセット値又は実アドレス値を設定させるものであって、固定アドレスの部品に関しては実アドレスを設定させて、該設定内容をアドレス設定テーブルに登録する設定手段と、
前記部品群の各部品の前記メモリアドレスを変更する際に、任意の先頭アドレスを入力させ、前記アドレス設定テーブルを参照して、各部品毎に、前記アドレスオフセット値が登録されている場合には該先頭アドレスとアドレスオフセット値とに基づいて新たなメモリアドレスを求め、前記実アドレス値が登録されている場合には該実アドレス値を新たなメモリアドレスとし、該各新たなメモリアドレスにより前記アドレス割付けテーブルのメモリアドレスを更新するアドレス一括置換手段、
として機能させる為のプログラム。
Computer
An address assignment storage means for storing a memory address assigned to each part of a part group on a screen for a programmable display;
A setting for setting an address offset value or a real address value for each component of the arbitrary component group, and setting a real address for a fixed address component and registering the setting contents in the address setting table. Means,
When changing the memory address of each component of the component group, if an arbitrary start address is input and the address offset value is registered for each component with reference to the address setting table, A new memory address is obtained based on the head address and the address offset value. When the real address value is registered, the real address value is set as a new memory address, and the address is determined by each new memory address. Address batch replacement means for updating the memory address of the allocation table,
Program to function as.
JP2007226675A 2007-08-31 2007-08-31 Programmable display screen generation device and program thereof Active JP4878586B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007226675A JP4878586B2 (en) 2007-08-31 2007-08-31 Programmable display screen generation device and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007226675A JP4878586B2 (en) 2007-08-31 2007-08-31 Programmable display screen generation device and program thereof

Publications (2)

Publication Number Publication Date
JP2009059213A JP2009059213A (en) 2009-03-19
JP4878586B2 true JP4878586B2 (en) 2012-02-15

Family

ID=40554882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007226675A Active JP4878586B2 (en) 2007-08-31 2007-08-31 Programmable display screen generation device and program thereof

Country Status (1)

Country Link
JP (1) JP4878586B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005259079A (en) * 2004-03-15 2005-09-22 Omron Corp Tool

Also Published As

Publication number Publication date
JP2009059213A (en) 2009-03-19

Similar Documents

Publication Publication Date Title
JP5810563B2 (en) Control program development support apparatus, control program development support program, and recording medium
US10203681B2 (en) Sequence-program-creation supporting apparatus
JP5934428B2 (en) Programmable display, programmable controller system, program
JP2014032529A (en) Plc system, drawing editor device thereof, and programmable display
WO2019151183A1 (en) Setting assistance device and setting assistance program
JP4971226B2 (en) Design support device
JP4462426B2 (en) PLC tool device
JP2006190202A (en) Data processor, set data generator, and their program and recording medium
JP4878586B2 (en) Programmable display screen generation device and program thereof
JP2010198562A (en) Method and device of creating control program
JP4941674B2 (en) Simulation system
JP2012168900A (en) Programming device and program
JP5870214B2 (en) Programmable controller system, its programmable display, support device, program
JP2011175351A (en) Screen data preparation device, screen data preparation method, and screen data preparation program
JP2002278666A (en) Control panel for controlling facility
JP6529680B1 (en) Data management system, data management method and data management program
JP2007252162A (en) Motor drive device
JP6230368B2 (en) Programmable controller system, its programmable display, support device
JP6407481B1 (en) Program creation device
JP2009157534A (en) Programming support system, its programmable controller support device, and programmable indicator support device
JP2016212916A (en) Programmable display unit and program
JP2017215783A (en) Test device and program
JP2016027486A (en) Programmable display unit, support device, and program
JP2013186855A (en) Plc system, programmable display thereof, and drawing editor device
JP5970496B2 (en) Data creation device for operation / display device

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20100615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111102

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111122

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111128

R150 Certificate of patent or registration of utility model

Ref document number: 4878586

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250