JP2021002197A - Display control apparatus and display control program - Google Patents

Display control apparatus and display control program Download PDF

Info

Publication number
JP2021002197A
JP2021002197A JP2019115349A JP2019115349A JP2021002197A JP 2021002197 A JP2021002197 A JP 2021002197A JP 2019115349 A JP2019115349 A JP 2019115349A JP 2019115349 A JP2019115349 A JP 2019115349A JP 2021002197 A JP2021002197 A JP 2021002197A
Authority
JP
Japan
Prior art keywords
display
function block
information
parameters
output parameters
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.)
Granted
Application number
JP2019115349A
Other languages
Japanese (ja)
Other versions
JP7351109B2 (en
Inventor
理緒 藤原
Rio Fujiwara
理緒 藤原
崚大朗 甲斐
Ryotaro Kai
崚大朗 甲斐
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2019115349A priority Critical patent/JP7351109B2/en
Publication of JP2021002197A publication Critical patent/JP2021002197A/en
Application granted granted Critical
Publication of JP7351109B2 publication Critical patent/JP7351109B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

To efficiently display on a screen a program that contains function blocks.SOLUTION: A storage unit 111 stores shape information 121 of a first figure indicating a function block and setting information 122 for designating first display processing or second display processing. The function block has a plurality of input parameters and a plurality of output parameters and is used as a function to describe a program to be displayed. When the setting information 122 designates the first display processing, a generating unit 112 generates first display information for displaying the plurality of input parameters, the plurality of output parameters and the first figure based on the shape information 121 of the first figure. On the other hand, if the setting information 122 designates the second display processing, the generating unit 112 generates second display information for displaying a second figure while omitting the plurality of input parameters and the plurality of output parameters.SELECTED DRAWING: Figure 1

Description

本発明は、表示制御装置及び表示制御プログラムに関する。 The present invention relates to a display control device and a display control program.

プログラマブルコントローラ(Programmable Logic Controller,PLC)は、ラダープログラムと呼ばれるシーケンスプログラムを実行することで、モータ、センサ等の制御対象機器の動作を制御する。ラダープログラムを記述するための関数として、入力パラメータ及び出力パラメータを有するファンクションブロック(Function Block,FB)が用いられることがある。 A programmable logic controller (PLC) controls the operation of controlled devices such as motors and sensors by executing a sequence program called a ladder program. As a function for describing a ladder program, a function block (FB) having an input parameter and an output parameter may be used.

ファンクションブロックに関連して、ファンクションブロック呼び出し命令を含むラダープログラムの表示方法ラダープログラムの表示方法が知られている(例えば、特許文献1を参照)。この表示方法は、ファンクションブロック呼び出し命令の表示形態として、すべての入出力条件を表示する全表示形態と、ラダープログラムのラダー回路と連結していない入出力条件をグループ化してまとめて表示するグループ表示形態とを持つ。 A method of displaying a ladder program including a function block calling instruction in relation to a function block A method of displaying a ladder program is known (see, for example, Patent Document 1). This display method is a display form of a function block call instruction, which is a group display in which all input / output conditions are displayed and input / output conditions not connected to the ladder circuit of the ladder program are grouped and displayed together. Has morphology.

表示装置は、複数の入力条件と出力条件の少なくとも一方の条件のうちの複数個を1つのグループとしたグループ設定情報を記憶保持する。そして、表示装置は、グループ表示形態で表示する際に、記憶保持したグループ設定情報に基づき、グループ化されている個々の条件は非表示とするとともに、そのグループ代表条件を1つ表示する。 The display device stores and holds group setting information in which a plurality of at least one of a plurality of input conditions and an output condition is set as one group. Then, when displaying in the group display form, the display device hides the individual conditions grouped based on the group setting information stored in the memory and displays one group representative condition.

また、表示装置は、ファンクションブロック呼び出し命令を表示する表示領域と別に、入出力条件に関するデータを表示する領域を有し、その領域に対するグループ化された入力条件或いは出力条件の出力形態として、非表示と表示とを切り替えることができる。 Further, the display device has an area for displaying data related to the input / output conditions in addition to the display area for displaying the function block call instruction, and is hidden as an output form of the grouped input conditions or output conditions for the area. And display can be switched.

特開2005−293311号公報Japanese Unexamined Patent Publication No. 2005-293311

ファンクションブロックを含むラダープログラムを画面上に表示しながら、ラダープログラムを作成する作業において、入出力パラメータの個数が多くなると、そのファンクションブロックの表示領域が縦長の矩形領域になり、画面上の大きな面積を占有する。このため、1画面でラダープログラム全体を表示することが困難になる。 In the work of creating a ladder program while displaying a ladder program including a function block on the screen, if the number of input / output parameters increases, the display area of the function block becomes a vertically long rectangular area, and a large area on the screen. Occupy. Therefore, it becomes difficult to display the entire ladder program on one screen.

また、特許文献1の表示方法では、ユーザがグループ化する入出力条件を選択して、グループ名を入力するため、入出力条件を非表示にするまでの操作が多く、簡単な操作でファンクションブロックの入出力条件の非表示と表示とを切り替えることが困難である。 Further, in the display method of Patent Document 1, since the user selects the input / output conditions to be grouped and inputs the group name, there are many operations until the input / output conditions are hidden, and the function block is a simple operation. It is difficult to switch between hiding and displaying the input / output conditions of.

なお、かかる問題は、ラダープログラムを作成する場合に限らず、ファンクションブロックを含む様々なプログラムの作成又はデバッグを行う場合において生ずるものである。 It should be noted that such a problem occurs not only when creating a ladder program but also when creating or debugging various programs including function blocks.

1つの側面において、本発明は、ファンクションブロックを含むプログラムを画面上に効率良く表示することを目的とする。 In one aspect, the present invention aims to efficiently display a program including a function block on a screen.

1つの実施形態によれば、表示制御装置は、記憶部及び生成部を含む。記憶部は、ファンクションブロックを示す第1図形の形状情報を記憶するとともに、第1表示処理と第2表示処理のうちいずれかの表示処理を指定する設定情報を記憶する。ファンクションブロックは、複数の入力パラメータ及び複数の出力パラメータを有し、表示対象プログラムを記述する関数として用いられる。 According to one embodiment, the display control device includes a storage unit and a generation unit. The storage unit stores the shape information of the first figure indicating the function block, and also stores the setting information for designating one of the first display process and the second display process. The function block has a plurality of input parameters and a plurality of output parameters, and is used as a function for describing a program to be displayed.

第1表示処理は、複数の入力パラメータ及び複数の出力パラメータと第1図形とを画面上に表示する。第2表示処理は、複数の入力パラメータ及び複数の出力パラメータを省略して、ファンクションブロックを示し第1図形よりも小さな第2図形を画面上に表示する。 In the first display process, a plurality of input parameters, a plurality of output parameters, and a first figure are displayed on the screen. In the second display process, a plurality of input parameters and a plurality of output parameters are omitted, a function block is shown, and a second figure smaller than the first figure is displayed on the screen.

設定情報が第1表示処理を指定している場合、生成部は、第1図形の形状情報に基づいて、複数の入力パラメータ及び複数の出力パラメータと第1図形とを表示する第1表示情報を生成する。一方、設定情報が第2表示処理を指定している場合、生成部は、複数の入力パラメータ及び複数の出力パラメータを省略して第2図形を表示する第2表示情報を生成する。 When the setting information specifies the first display process, the generation unit generates the first display information for displaying the plurality of input parameters, the plurality of output parameters, and the first figure based on the shape information of the first figure. Generate. On the other hand, when the setting information specifies the second display process, the generation unit generates the second display information for displaying the second figure by omitting the plurality of input parameters and the plurality of output parameters.

1つの側面において、ファンクションブロックを含むプログラムを画面上に効率良く表示することができる。 In one aspect, a program including a function block can be efficiently displayed on the screen.

表示制御装置の機能的構成図である。It is a functional block diagram of a display control device. プログラマブルコントローラシステムの機能的構成図である。It is a functional block diagram of a programmable controller system. ファンクションブロックの図形を示す図である。It is a figure which shows the figure of the function block. FB情報を示す図である。It is a figure which shows the FB information. 画面上に表示されたファンクションブロックを示す図である。It is a figure which shows the function block displayed on the screen. 画面上に表示されたラダープログラムを示す図である。It is a figure which shows the rudder program displayed on the screen. 表示メニューを示す図である。It is a figure which shows the display menu. コンテキストメニューを示す図である。It is a figure which shows the context menu. 選択領域を示す図である。It is a figure which shows the selection area. 保存処理のフローチャートである。It is a flowchart of a save process. 表示制御処理のフローチャートである。It is a flowchart of a display control process. 編集処理のフローチャートである。It is a flowchart of an editing process. 情報処理装置のハードウェア構成図である。It is a hardware block diagram of an information processing apparatus.

以下、図面を参照しながら、実施形態を詳細に説明する。 Hereinafter, embodiments will be described in detail with reference to the drawings.

図1は、実施形態の表示制御装置の機能的構成例を示している。図1の表示制御装置101は、記憶部111及び生成部112を含む。記憶部111は、ファンクションブロックを示す第1図形の形状情報121を記憶するとともに、第1表示処理と第2表示処理のうちいずれかの表示処理を指定する設定情報122を記憶する。ファンクションブロックは、複数の入力パラメータ及び複数の出力パラメータを有し、表示対象プログラムを記述する関数として用いられる。 FIG. 1 shows an example of a functional configuration of the display control device of the embodiment. The display control device 101 of FIG. 1 includes a storage unit 111 and a generation unit 112. The storage unit 111 stores the shape information 121 of the first figure indicating the function block, and also stores the setting information 122 that specifies one of the first display process and the second display process. The function block has a plurality of input parameters and a plurality of output parameters, and is used as a function for describing a program to be displayed.

第1表示処理は、複数の入力パラメータ及び複数の出力パラメータと第1図形とを画面上に表示する。第2表示処理は、複数の入力パラメータ及び複数の出力パラメータを省略して、ファンクションブロックを示し第1図形よりも小さな第2図形を画面上に表示する。 In the first display process, a plurality of input parameters, a plurality of output parameters, and a first figure are displayed on the screen. In the second display process, a plurality of input parameters and a plurality of output parameters are omitted, a function block is shown, and a second figure smaller than the first figure is displayed on the screen.

設定情報122が第1表示処理を指定している場合、生成部112は、第1図形の形状情報121に基づいて、複数の入力パラメータ及び複数の出力パラメータと第1図形とを表示する第1表示情報を生成する。一方、設定情報122が第2表示処理を指定している場合、生成部112は、複数の入力パラメータ及び複数の出力パラメータを省略して第2図形を表示する第2表示情報を生成する。 When the setting information 122 specifies the first display process, the generation unit 112 displays a plurality of input parameters, a plurality of output parameters, and the first figure based on the shape information 121 of the first figure. Generate display information. On the other hand, when the setting information 122 specifies the second display process, the generation unit 112 generates the second display information for displaying the second figure by omitting the plurality of input parameters and the plurality of output parameters.

図1の表示制御装置101によれば、ファンクションブロックを含むプログラムを画面上に効率良く表示することができる。 According to the display control device 101 of FIG. 1, a program including a function block can be efficiently displayed on the screen.

図2は、図1の表示制御装置101を含むプログラマブルコントローラシステム(PLCシステム)の機能的構成例を示している。図2のPLCシステムは、プログラム作成支援装置201及びPLC202を含む。 FIG. 2 shows a functional configuration example of a programmable controller system (PLC system) including the display control device 101 of FIG. The PLC system of FIG. 2 includes a program creation support device 201 and a PLC 202.

プログラム作成支援装置201は、PLC202が実行するラダープログラムの作成又はデバッグを支援する情報処理装置(コンピュータ)であり、通信ネットワーク203を介してPLC202と通信することができる。ラダープログラムは、表示対象プログラムの一例である。 The program creation support device 201 is an information processing device (computer) that supports the creation or debugging of a ladder program executed by the PLC 202, and can communicate with the PLC 202 via the communication network 203. The ladder program is an example of a display target program.

プログラム作成支援装置201は、表示制御装置101の一例であり、記憶部211、受付部212、生成部213、表示部214、及び通信部215を含む。記憶部211及び生成部213は、図1の記憶部111及び生成部112にそれぞれ対応する。記憶部211は、ラダープログラムを記述する関数として用いられる各ファンクションブロックのファンクションブロック情報(FB情報)221と、設定情報222とを記憶する。 The program creation support device 201 is an example of the display control device 101, and includes a storage unit 211, a reception unit 212, a generation unit 213, a display unit 214, and a communication unit 215. The storage unit 211 and the generation unit 213 correspond to the storage unit 111 and the generation unit 112 of FIG. 1, respectively. The storage unit 211 stores the function block information (FB information) 221 of each function block used as a function for describing the ladder program and the setting information 222.

FB情報221は、ファンクションブロックの入出力パラメータを示す情報と、ファンクションブロック内部で行われる演算を示す情報と、画面上に表示されるファンクションブロックの形状を示す情報とを含む。ファンクションブロックは、ファンクションブロック呼び出し命令又はファンクションブロック命令と呼ばれることもある。 The FB information 221 includes information indicating the input / output parameters of the function block, information indicating the calculation performed inside the function block, and information indicating the shape of the function block displayed on the screen. The function block is sometimes called a function block call instruction or a function block instruction.

図3は、表示領域を表すワークシート上においてファンクションブロック(FB)を示す図形の例を示している。図3(a)は、矩形のセルを単位として生成される、セル方式の図形の例を示している。この場合、ワークシートは、縦横の分割線によって複数のセルに分割されており、水平方向に並んでいる複数のセルは行を表し、垂直方向に並んでいる複数のセルは列を表す。ファンクションブロックを示す矩形301は、4個のセルから形成され、矩形301の高さは2行であり、幅は2列である。したがって、矩形301の形状及びサイズは、幅及び高さを表すセルの個数によって決定される。 FIG. 3 shows an example of a graphic showing a function block (FB) on a worksheet representing a display area. FIG. 3A shows an example of a cell-type figure generated in units of rectangular cells. In this case, the worksheet is divided into a plurality of cells by vertical and horizontal dividing lines, the plurality of cells arranged in the horizontal direction represent rows, and the plurality of cells arranged in the vertical direction represent columns. The rectangle 301 showing the function block is formed of four cells, and the rectangle 301 has two rows in height and two columns in width. Therefore, the shape and size of the rectangle 301 is determined by the number of cells representing the width and height.

図3(b)は、平面上の点の座標に基づいて生成される、ドット方式の図形の例を示している。この場合、ワークシートは複数の点を含み、ファンクションブロックを示す矩形302は、4個の点を頂点とする矩形であり、矩形302の高さ及び幅は、各頂点の座標から計算される。したがって、矩形302の形状及びサイズは、4個の点の座標によって決定される。 FIG. 3B shows an example of a dot-type figure generated based on the coordinates of points on the plane. In this case, the worksheet contains a plurality of points, the rectangle 302 indicating the function block is a rectangle having four points as vertices, and the height and width of the rectangle 302 are calculated from the coordinates of each vertex. Therefore, the shape and size of the rectangle 302 is determined by the coordinates of the four points.

図3(a)のセル方式の図形を用いた場合、幅及び高さの計算を省略することができるため、図3(b)のドット方式の図形を用いた場合よりも表示処理が簡単になる。 When the cell-type figure of FIG. 3 (a) is used, the calculation of the width and height can be omitted, so that the display process is easier than the case of using the dot-type figure of FIG. 3 (b). Become.

図4は、セル方式の図形を用いた場合のFB情報221の例を示している。図4のFB情報221は、管理情報、名称情報、及びヘッダ情報を含む。 FIG. 4 shows an example of FB information 221 when a cell-type figure is used. The FB information 221 of FIG. 4 includes management information, name information, and header information.

管理情報は、ヘッダ番号及びインスタンス種別を含む。ヘッダ番号は、ファンクションブロックに対して割り当てられる管理番号であり、インスタンス種別は、ユーザファンクションブロック又はシステムファンクションブロックのいずれかを示す。ユーザファンクションブロックは、ユーザによって作成されるファンクションブロックであり、システムファンクションブロックは、事前にプログラム作成支援装置201に組み込まれているファンクションブロックである。 The management information includes the header number and the instance type. The header number is a management number assigned to the function block, and the instance type indicates either a user function block or a system function block. The user function block is a function block created by the user, and the system function block is a function block incorporated in the program creation support device 201 in advance.

名称情報は、命令名称長及び命令名称を含む。命令名称は、ファンクションブロックの名称であり、命令名称長は、ファンクションブロックの名称の情報量を表す。 The name information includes the command name length and the command name. The instruction name is the name of the function block, and the instruction name length represents the amount of information of the name of the function block.

ヘッダ情報は、形状情報、端子情報、及び命令情報を含む。形状情報は、図1の形状情報121に対応し、ファンクションブロックを示す図形の形状及びサイズを示す情報である。例えば、セル方式の図形の場合、ファンクションブロックを示す矩形の幅及び高さを表すセルの個数(列数及び行数)が、形状情報として用いられる。 The header information includes shape information, terminal information, and instruction information. The shape information corresponds to the shape information 121 of FIG. 1, and is information indicating the shape and size of the figure indicating the function block. For example, in the case of a cell-type figure, the number of cells (number of columns and number of rows) representing the width and height of a rectangle indicating a function block is used as shape information.

端子情報は、複数の入力端子名、複数の出力端子名、複数の入力パラメータ、及び複数の出力パラメータを含む。各入力端子名は、ファンクションブロックの入力端子(入力変数)の名称であり、各出力端子名は、ファンクションブロックの出力端子(出力変数)の名称である。各入力パラメータは、いずれかの入力端子名と関連付けられており、その入力端子に入力される変数値を表すパラメータである。各出力パラメータは、いずれかの出力端子名と関連付けられており、その出力端子から出力される変数値を表すパラメータである。命令情報は、複数の入力変数から複数の出力変数を生成する演算を表す。 The terminal information includes a plurality of input terminal names, a plurality of output terminal names, a plurality of input parameters, and a plurality of output parameters. Each input terminal name is the name of the input terminal (input variable) of the function block, and each output terminal name is the name of the output terminal (output variable) of the function block. Each input parameter is associated with one of the input terminal names and is a parameter representing a variable value input to the input terminal. Each output parameter is associated with one of the output terminal names and is a parameter representing a variable value output from that output terminal. The instruction information represents an operation that generates a plurality of output variables from a plurality of input variables.

図5は、画面上に表示されたファンクションブロックの例を示している。ファンクションブロックを示す矩形501は、第1図形の一例であり、矩形501の幅は3列であり、高さは7行である。行511は、矩形501を含む7行の領域512のうち先頭の行に対応する。 FIG. 5 shows an example of a function block displayed on the screen. The rectangle 501 showing the function block is an example of the first figure, and the width of the rectangle 501 is 3 columns and the height is 7 rows. Line 511 corresponds to the first line of the area 512 of seven lines including the rectangle 501.

矩形501内の行511には、“USERFB”、“FB0”、及び“0”が表示されている。“USERFB”は、ユーザファンクションブロックを示すインスタンス種別であり、“FB0”は命令名称であり、“0”はヘッダ番号である。 "USERFB", "FB0", and "0" are displayed in line 511 in the rectangle 501. "USERFB" is an instance type indicating a user function block, "FB0" is an instruction name, and "0" is a header number.

矩形501内の他の行に表示されている“V1 in1”、“V2 in2”、“V3 in3”、“V4 in4”、“V5 in5”、及び“V6 in6”は、入力端子名である。また、“V7 out1”、“V8 out2”、“V9 out3”、“V10 out4”、“V11 out5”、及び“V12 out6”は、出力端子名である。 “V1 in1”, “V2 in2”, “V3 in3”, “V4 in4”, “V5 in5”, and “V6 in6” displayed on other lines in the rectangle 501 are input terminal names. Further, "V7 out1", "V8 out2", "V9 out3", "V10 out4", "V11 out5", and "V12 out6" are output terminal names.

矩形501の左側の列に表示されている“M0”、“M1”、“M2”、“M3”、“M4”、及び“M5”は、入力パラメータである。矩形501の右側の列に表示されている“M0”、“M1”、“M2”、“M3”、“M4”、及び“M5”は、出力パラメータである。 “M0”, “M1”, “M2”, “M3”, “M4”, and “M5” displayed in the left column of the rectangle 501 are input parameters. “M0”, “M1”, “M2”, “M3”, “M4”, and “M5” displayed in the right column of the rectangle 501 are output parameters.

設定情報222は、図1の設定情報122に対応し、各ファンクションブロックの表示処理として、全表示処理又は縮小表示処理を指定する情報である。全表示処理は、第1表示処理の一例であり、ファンクションブロックを示す図形と、ファンクションブロックのすべての入出力パラメータとを併せて表示する処理である。縮小表示処理は、第2表示処理の一例であり、入出力パラメータを省略して、ファンクションブロックを示す図形を縮小した縮小図形のみを表示する処理である。縮小図形は、第2図形の一例である。 The setting information 222 corresponds to the setting information 122 of FIG. 1 and is information for designating a full display process or a reduced display process as the display process of each function block. The full display process is an example of the first display process, and is a process of displaying a graphic indicating a function block and all input / output parameters of the function block together. The reduced display process is an example of the second display process, and is a process of omitting the input / output parameters and displaying only the reduced figure obtained by reducing the figure indicating the function block. The reduced figure is an example of the second figure.

生成部213は、ラダープログラムを表示する表示情報を生成し、表示部214は、生成された表示情報を用いて、そのラダープログラムを画面上に表示する。 The generation unit 213 generates display information for displaying the ladder program, and the display unit 214 uses the generated display information to display the ladder program on the screen.

設定情報222が全表示処理を指定している場合、生成部213は、FB情報221に基づいて、ファンクションブロックを示す図形とすべての入出力パラメータとを併せて表示する表示情報を生成する。そして、表示部214は、生成された表示情報を用いて、その図形と入出力パラメータとを画面上に表示する。 When the setting information 222 specifies the full display process, the generation unit 213 generates display information for displaying the figure indicating the function block and all the input / output parameters together based on the FB information 221. Then, the display unit 214 displays the figure and the input / output parameters on the screen by using the generated display information.

一方、設定情報222が縮小表示処理を指定している場合、生成部213は、入出力パラメータを省略して縮小図形のみを表示する表示情報を生成する。そして、表示部214は、生成された表示情報を用いて、その縮小図形を画面上に表示する。 On the other hand, when the setting information 222 specifies the reduced display process, the generation unit 213 generates display information for displaying only the reduced figure by omitting the input / output parameters. Then, the display unit 214 uses the generated display information to display the reduced figure on the screen.

受付部212は、表示されたラダープログラムに対するユーザの操作を受け付ける。ユーザの操作は、キーボード、ポインティングデバイス等の入力装置によって入力される。 The reception unit 212 accepts the user's operation on the displayed ladder program. The user's operation is input by an input device such as a keyboard or a pointing device.

例えば、ユーザは、縮小図形が画面上に表示されている状態で、縮小図形を選択してファンクションブロックをコピーするコピー操作、又は縮小図形を選択してファンクションブロックを削除する削除操作(切り取り操作)を行うことができる。 For example, the user can select a reduced figure to copy a function block while the reduced figure is displayed on the screen, or select a reduced figure to delete a function block (cut operation). It can be performed.

受付部212がコピー操作を受け付けた場合、生成部213は、記憶部211内でFB情報221をコピーする。FB情報221をコピーすることで、端子情報に含まれる入出力パラメータもコピーされる。また、受付部212が切り取り操作を受け付けた場合、生成部213は、FB情報221を記憶部211から削除する。FB情報221を削除することで、端子情報に含まれる入出力パラメータも削除される。 When the reception unit 212 accepts the copy operation, the generation unit 213 copies the FB information 221 in the storage unit 211. By copying the FB information 221, the input / output parameters included in the terminal information are also copied. When the reception unit 212 accepts the cutting operation, the generation unit 213 deletes the FB information 221 from the storage unit 211. By deleting the FB information 221, the input / output parameters included in the terminal information are also deleted.

したがって、縮小表示処理においても、ファンクションブロックが全表示処理と同様に扱われ、縮小図形に対するコピー操作及び切り取り操作が可能になるため、ユーザの利便性が向上する。 Therefore, in the reduced display process, the function block is treated in the same manner as the full display process, and the copy operation and the cut operation for the reduced figure become possible, which improves the convenience of the user.

設定情報222が縮小表示処理を指定している状態でラダープログラムの表示が終了した後に、そのラダープログラムが再度表示される場合、生成部213は、設定情報222に基づいて、縮小図形のみを表示する表示情報を生成する。そして、表示部214は、生成された表示情報を用いて、その縮小図形を画面上に表示する。 If the ladder program is displayed again after the display of the ladder program is completed while the setting information 222 specifies the reduced display process, the generation unit 213 displays only the reduced figure based on the setting information 222. Generate display information to be displayed. Then, the display unit 214 uses the generated display information to display the reduced figure on the screen.

例えば、生成部213は、プログラム作成支援装置201の動作終了時に、外部ファイルに設定情報222を保存しておき、プログラム作成支援装置201の次回起動時に、外部ファイルから設定情報222を読み込む。これにより、動作終了時のファンクションブロックの表示方法を、次回起動時のラダープログラムの表示処理に反映させることができる。外部ファイルとしては、XML(Extensible Markup Language)ファイル等を用いてもよい。 For example, the generation unit 213 saves the setting information 222 in an external file when the operation of the program creation support device 201 ends, and reads the setting information 222 from the external file when the program creation support device 201 is started next time. As a result, the display method of the function block at the end of the operation can be reflected in the display process of the ladder program at the next startup. As the external file, an XML (Extensible Markup Language) file or the like may be used.

通信部215は、作成されたラダープログラムを、通信ネットワーク203を介してPLC202へ送信し、PLC202は、プログラム作成支援装置201から受信したラダープログラムを実行することで、制御対象機器の動作を制御する。 The communication unit 215 transmits the created ladder program to the PLC 202 via the communication network 203, and the PLC 202 controls the operation of the controlled device by executing the ladder program received from the program creation support device 201. ..

図6は、画面上に表示されたラダープログラムの例を示している。図6(a)は、全表示処理の例を示している。全表示処理の場合、ファンクションブロックを示す矩形601とともに、入出力パラメータが表示される。図5に示したファンクションブロックと同様に、矩形601内には、インスタンス種別、命令名称、ヘッダ番号、入力端子名、及び出力端子名が表示されている。また、入力パラメータは、矩形601の左側の列に表示されており、出力パラメータは、矩形601の右側の列に表示されている。 FIG. 6 shows an example of a ladder program displayed on the screen. FIG. 6A shows an example of full display processing. In the case of full display processing, the input / output parameters are displayed together with the rectangle 601 indicating the function block. Similar to the function block shown in FIG. 5, the instance type, the instruction name, the header number, the input terminal name, and the output terminal name are displayed in the rectangle 601. The input parameters are displayed in the left column of the rectangle 601 and the output parameters are displayed in the right column of the rectangle 601.

ユーザは、矩形601の左側の列に含まれるセル602を選択する選択操作を行うことで、ファンクションブロックを選択することができる。 The user can select a function block by performing a selection operation for selecting cells 602 included in the left column of the rectangle 601.

図6(b)は、図6(a)のファンクションブロックに対する縮小表示処理の例を示している。縮小表示処理の場合、矩形601の代わりに、ファンクションブロックを示す縮小図形である矩形603が表示され、入出力パラメータは表示されない。 FIG. 6B shows an example of reduced display processing for the function block of FIG. 6A. In the case of the reduced display process, the rectangle 603, which is a reduced figure indicating the function block, is displayed instead of the rectangle 601, and the input / output parameters are not displayed.

矩形603内には、インスタンス種別、命令名称、及びヘッダ番号のみが表示されている。インスタンス種別、命令名称、及びヘッダ番号を表示することで、ユーザは、表示されたファンクションブロックを容易に特定することができる。矩形603の幅は矩形601と同じであるが、矩形603の高さは1行であり、矩形601よりも小さい。矩形601を矩形603に置き換えることで、ファンクションブロックに後続する命令であるJMP、JMPC、JMPCN等を同じ画面上に表示できるようになる。 In the rectangle 603, only the instance type, the instruction name, and the header number are displayed. By displaying the instance type, the instruction name, and the header number, the user can easily identify the displayed function block. The width of the rectangle 603 is the same as that of the rectangle 601 but the height of the rectangle 603 is one line, which is smaller than that of the rectangle 601. By replacing the rectangle 601 with the rectangle 603, the instructions following the function block, such as JMP, JMPC, and JMPCN, can be displayed on the same screen.

縮小表示処理の場合も、ユーザは、セル602を選択する選択操作を行うことで、ファンクションブロックを選択することができる。 Also in the case of the reduced display process, the user can select the function block by performing the selection operation for selecting the cell 602.

図2のプログラム作成支援装置201によれば、ユーザは、ラダープログラムの作成又はデバッグの作業において、設定情報222を変更することで、ファンクションブロックの表示方法を全表示処理から縮小表示処理に切り替えることができる。これにより、ファンクションブロックを含む多数の命令を1画面で表示することが可能になり、ラダープログラムの視認性が向上する。 According to the program creation support device 201 of FIG. 2, the user switches the display method of the function block from the full display process to the reduced display process by changing the setting information 222 in the work of creating or debugging the ladder program. Can be done. This makes it possible to display a large number of instructions including function blocks on one screen, and improves the visibility of the ladder program.

特に、デバッグ作業の場合、ファンクションブロックの前後の命令も併せて画面上に表示されるため、ユーザは、容易に修正箇所を特定して修正することができ、作業効率が向上する。また、ラダープログラムを印刷する場合においても、ファンクションブロックを含む多数の命令を1画面分の紙面に印刷することが可能になる。 In particular, in the case of debugging work, since the instructions before and after the function block are also displayed on the screen, the user can easily identify and correct the correction part, and the work efficiency is improved. Also, when printing a ladder program, it is possible to print a large number of instructions including a function block on one screen of paper.

例えば、ユーザは、ラダープログラムが表示された画面上で、表示メニュー又はLD(Ladder Diagram)エディタのコンテキストメニューを用いて、全表示処理と縮小表示処理との切り替えを指示することができる。 For example, the user can instruct the switching between the full display process and the reduced display process on the screen on which the ladder program is displayed by using the display menu or the context menu of the LD (Ladder Diagram) editor.

図7は、画面上で表示タブを開いたときの表示メニューの例を示している。ユーザが項目701の「FBのパラメータ表示(F)」を有効にする操作を行うと、設定情報222に、全表示処理を示す値が設定される。一方、ユーザが「FBのパラメータ表示(F)」を無効にする操作を行うと、設定情報222に、縮小表示処理を示す値が設定される。 FIG. 7 shows an example of the display menu when the display tab is opened on the screen. When the user performs an operation to enable "FB parameter display (F)" of item 701, a value indicating the full display process is set in the setting information 222. On the other hand, when the user performs an operation of disabling the "FB parameter display (F)", a value indicating the reduced display process is set in the setting information 222.

図8は、画面上に表示されたコンテキストメニューの例を示している。ユーザが項目801の「FBのパラメータ表示(P)」を有効にする操作を行うと、設定情報222に、全表示処理を示す値が設定される。一方、ユーザが「FBのパラメータ表示(P)」を無効にする操作を行うと、設定情報222に、縮小表示処理を示す値が設定される。 FIG. 8 shows an example of a context menu displayed on the screen. When the user performs an operation to enable "FB parameter display (P)" of item 801, a value indicating all display processing is set in the setting information 222. On the other hand, when the user performs an operation of disabling the "FB parameter display (P)", a value indicating the reduced display process is set in the setting information 222.

ユーザがいずれのファンクションブロックも選択することなく、表示メニュー又はコンテキストメニューから設定情報222を変更した場合、ラダープログラム内のすべてのファンクションブロックに対して変更後の表示処理が適用される。 When the user changes the setting information 222 from the display menu or the context menu without selecting any function block, the changed display process is applied to all the function blocks in the ladder program.

一方、ユーザが特定のファンクションブロックを選択した後に、表示メニュー又はコンテキストメニューから設定情報222を変更した場合、選択されたファンクションブロックのみに対して変更後の表示処理が適用される。 On the other hand, when the setting information 222 is changed from the display menu or the context menu after the user selects a specific function block, the changed display process is applied only to the selected function block.

このようなメニューを設けることで、特許文献1のように、グループ化する入出力条件を選択する操作が不要になり、全表示処理と縮小表示処理とをワンクリック操作で切り替えることが可能になる。 By providing such a menu, the operation of selecting the input / output conditions to be grouped becomes unnecessary as in Patent Document 1, and it becomes possible to switch between the full display process and the reduced display process with a single click operation. ..

ファンクションブロックに対するコピー操作又は切り取り操作を行う場合、ユーザは、ファンクションブロックを示す矩形を含むすべてのセルを選択することで、そのファンクションブロックを操作対象として指定することができる。 When performing a copy operation or a cut operation on a function block, the user can specify the function block as an operation target by selecting all cells including a rectangle indicating the function block.

例えば、図6(a)に示した全表示処理の場合、ユーザは、矩形601を含む複数のセルを選択することで、コピー操作又は切り取り操作を行う。また、図6(b)に示した縮小表示処理の場合、ユーザは、矩形603を含む複数のセルを選択することで、コピー操作又は切り取り操作を行う。 For example, in the case of the full display process shown in FIG. 6A, the user performs a copy operation or a cut operation by selecting a plurality of cells including the rectangle 601. Further, in the case of the reduced display process shown in FIG. 6B, the user performs a copy operation or a cut operation by selecting a plurality of cells including the rectangle 603.

図9は、図6(b)の縮小表示処理における選択領域の例を示している。この例では、矩形603を含む3個のセルと、矩形603の左側のセル901、及び矩形603の右側のセル902とが選択されている。ユーザは、これらの5個のセルを選択することで、コピー操作又は切り取り操作を行う。 FIG. 9 shows an example of a selection area in the reduced display process of FIG. 6B. In this example, three cells including the rectangle 603, a cell 901 on the left side of the rectangle 603, and a cell 902 on the right side of the rectangle 603 are selected. The user performs a copy operation or a cut operation by selecting these five cells.

生成部213は、図9の5個のセルが選択された場合、矩形603が示すファンクションブロックが選択されたものとみなして、そのファンクションブロックのFB情報221をコピーする処理又は削除する処理を行う。なお、ユーザは、セル901及びセル902を除く3個のセルを選択することで、コピー操作又は切り取り操作を行ってもよい。 When the five cells shown in FIG. 9 are selected, the generation unit 213 considers that the function block indicated by the rectangle 603 is selected, and performs a process of copying or deleting the FB information 221 of the function block. .. The user may perform a copy operation or a cut operation by selecting three cells excluding cells 901 and 902.

図10は、図2のプログラム作成支援装置201がラダープログラムの表示を終了するときに行う保存処理の例を示すフローチャートである。 FIG. 10 is a flowchart showing an example of a saving process performed when the program creation support device 201 of FIG. 2 ends the display of the ladder program.

生成部213は、記憶部211から設定情報222を取得し(ステップ1001)、取得した設定情報222を外部ファイルに保存する(ステップ1002)。外部ファイルは、記憶部211とは別に設けられた記憶装置に格納されている。 The generation unit 213 acquires the setting information 222 from the storage unit 211 (step 1001), and saves the acquired setting information 222 in an external file (step 1002). The external file is stored in a storage device provided separately from the storage unit 211.

図11は、プログラム作成支援装置201がファンクションブロックを表示するときに行う表示制御処理の例を示すフローチャートである。プログラム作成支援装置201の起動時に、生成部213は、外部ファイルから設定情報222を取得して、記憶部211に格納する(ステップ1101)。 FIG. 11 is a flowchart showing an example of display control processing performed when the program creation support device 201 displays a function block. When the program creation support device 201 is started, the generation unit 213 acquires the setting information 222 from the external file and stores it in the storage unit 211 (step 1101).

次に、生成部213は、ワークシート上の表示対象の行がファンクションブロックに割り当てられているか否かをチェックする(ステップ1102)。表示対象の行がファンクションブロックに割り当てられていない場合(ステップ1102,NO)、生成部213は、処理を終了する。 Next, the generation unit 213 checks whether or not the line to be displayed on the worksheet is assigned to the function block (step 1102). When the line to be displayed is not assigned to the function block (step 1102, NO), the generation unit 213 ends the process.

表示対象の行がファンクションブロックに割り当てられている場合(ステップ1102,YES)、生成部213は、FB情報221の形状情報から、ファンクションブロックを示す矩形の幅及び高さを取得する(ステップ1103)。そして、生成部213は、設定情報222が全表示処理を指定しているか否かをチェックする(ステップ1104)。 When the line to be displayed is assigned to the function block (step 1102, YES), the generation unit 213 acquires the width and height of the rectangle indicating the function block from the shape information of the FB information 221 (step 1103). .. Then, the generation unit 213 checks whether or not the setting information 222 specifies the full display process (step 1104).

設定情報222が縮小表示処理を指定している場合(ステップ1104,NO)、生成部213は、縮小表示処理を行う(ステップ1105)。この場合、生成部213は、FB情報221を用いて、インスタンス種別、命令名称、及びヘッダ番号を含む縮小矩形を表示する表示情報を生成し、表示部214は、生成された表示情報を用いて、その縮小矩形を画面上に表示する。したがって、ファンクションブロックに割り当てられた先頭の行に縮小矩形のみが表示され、入出力パラメータは非表示となる。 When the setting information 222 specifies the reduced display process (step 1104, NO), the generation unit 213 performs the reduced display process (step 1105). In this case, the generation unit 213 uses the FB information 221 to generate display information for displaying the reduced rectangle including the instance type, the instruction name, and the header number, and the display unit 214 uses the generated display information. , Display the reduced rectangle on the screen. Therefore, only the reduced rectangle is displayed in the first line assigned to the function block, and the input / output parameters are hidden.

一方、設定情報222が全表示処理を指定している場合(ステップ1104,YES)、生成部213は、全表示処理を行う(ステップ1106)。この場合、生成部213は、FB情報221から取得した幅及び高さを有する矩形と、入出力パラメータとを表示する、表示情報を生成する。この矩形には、インスタンス種別、命令名称、ヘッダ番号、入力端子名、及び出力端子名が含まれている。そして、表示部214は、生成された表示情報を用いて、その矩形と入出力パラメータとを画面上に表示する。 On the other hand, when the setting information 222 specifies the full display process (step 1104, YES), the generation unit 213 performs the full display process (step 1106). In this case, the generation unit 213 generates display information that displays the rectangle having the width and height acquired from the FB information 221 and the input / output parameters. This rectangle includes an instance type, an instruction name, a header number, an input terminal name, and an output terminal name. Then, the display unit 214 displays the rectangle and the input / output parameters on the screen by using the generated display information.

図12は、画面上に縮小矩形が表示されている状態でプログラム作成支援装置201が行う編集処理の例を示すフローチャートである。まず、生成部213は、受付部212が受け付けたユーザの操作が、ファンクションブロックに対するコピー操作であるか否かをチェックする(ステップ1201)。 FIG. 12 is a flowchart showing an example of an editing process performed by the program creation support device 201 while a reduced rectangle is displayed on the screen. First, the generation unit 213 checks whether or not the user operation received by the reception unit 212 is a copy operation for the function block (step 1201).

ユーザの操作がコピー操作である場合(ステップ1201,YES)、生成部213は、画面上で選択された選択領域が、ファンクションブロックの有効領域全体に対応するか否かをチェックする(ステップ1202)。 When the user's operation is a copy operation (step 1201, YES), the generation unit 213 checks whether or not the selected area selected on the screen corresponds to the entire effective area of the function block (step 1202). ..

例えば、図9に示した例では、矩形603を含む3個のセル、セル901、及びセル902からなる領域が、ファンクションブロックの有効領域として用いられる。矩形603を含む3個のセルからなる領域を有効領域として用いてもよい。選択領域が有効領域の一部のセルのみである場合、その選択領域は有効領域全体には対応しない。 For example, in the example shown in FIG. 9, an area consisting of three cells including a rectangle 603, cell 901, and cell 902 is used as an effective area of the function block. An area consisting of three cells including a rectangle 603 may be used as an effective area. If the selected area is only a part of cells in the effective area, the selected area does not correspond to the entire effective area.

選択領域が有効領域全体に対応する場合(ステップ1202,YES)、生成部213は、記憶部211内にコピー先領域を確保する(ステップ1203)。そして、生成部213は、記憶部211内のコピー元領域からFB情報221を読み出して(ステップ1204)、コピー先領域に書き込む(ステップ1205)。 When the selected area corresponds to the entire effective area (step 1202, YES), the generation unit 213 secures a copy destination area in the storage unit 211 (step 1203). Then, the generation unit 213 reads the FB information 221 from the copy source area in the storage unit 211 (step 1204) and writes it in the copy destination area (step 1205).

一方、選択領域が有効領域全体に対応しない場合(ステップ1202,NO)、生成部213は、ユーザの操作が無効であると判定して(ステップ1206)、処理を終了する。 On the other hand, when the selected area does not correspond to the entire effective area (step 1202, NO), the generation unit 213 determines that the user's operation is invalid (step 1206), and ends the process.

ユーザの操作がコピー操作ではない場合(ステップ1201,NO)、生成部213は、ユーザの操作が、ファンクションブロックに対する切り取り操作であるか否かをチェックする(ステップ1207)。 When the user's operation is not a copy operation (steps 1201 and NO), the generation unit 213 checks whether or not the user's operation is a cut operation for the function block (step 1207).

ユーザの操作が切り取り操作である場合(ステップ1207,YES)、生成部213は、画面上で選択された選択領域が、ファンクションブロックの有効領域全体に対応するか否かをチェックする(ステップ1208)。 When the user's operation is a cut operation (step 1207, YES), the generation unit 213 checks whether or not the selected area selected on the screen corresponds to the entire effective area of the function block (step 1208). ..

選択領域が有効領域全体に対応する場合(ステップ1208,YES)、生成部213は、記憶部211内のFB情報221を削除し(ステップ1209)、画面上からファンクションブロックを示す縮小矩形を削除する(ステップ1210)。 When the selected area corresponds to the entire effective area (step 1208, YES), the generation unit 213 deletes the FB information 221 in the storage unit 211 (step 1209), and deletes the reduced rectangle indicating the function block from the screen. (Step 1210).

一方、選択領域が有効領域全体に対応しない場合(ステップ1208,NO)、生成部213は、ユーザの操作が無効であると判定して(ステップ1206)、処理を終了する。ユーザの操作が切り取り操作ではない場合(ステップ1207,NO)、生成部213は、他の処理を行う(ステップ1211)。 On the other hand, when the selected area does not correspond to the entire effective area (step 1208, NO), the generation unit 213 determines that the user's operation is invalid (step 1206), and ends the process. When the user's operation is not a cutting operation (step 1207, NO), the generation unit 213 performs another process (step 1211).

図1の表示制御装置101の構成は一例に過ぎず、表示制御装置101の用途又は条件に応じて、一部の構成要素を省略又は変更してもよい。 The configuration of the display control device 101 in FIG. 1 is only an example, and some components may be omitted or changed depending on the application or conditions of the display control device 101.

図2のPLCシステムの構成は一例に過ぎず、PLCシステムの用途又は条件に応じて、一部の構成要素を省略又は変更してもよい。例えば、プログラム作成支援装置201がPLC202と通信する必要がない場合は、通信部215を省略することができる。 The configuration of the PLC system shown in FIG. 2 is only an example, and some components may be omitted or changed depending on the use or conditions of the PLC system. For example, when the program creation support device 201 does not need to communicate with the PLC 202, the communication unit 215 can be omitted.

図10〜図12に示したフローチャートは一例に過ぎず、PLCシステムの構成又は条件に応じて、一部の処理を省略又は変更してもよい。 The flowcharts shown in FIGS. 10 to 12 are merely examples, and some processes may be omitted or changed depending on the configuration or conditions of the PLC system.

図3、図5、図6、及び図9に示したファンクションブロックは一例に過ぎず、ファンクションブロックは、表示対象プログラムに応じて変化する。ファンクションブロックを示す図形は、矩形以外の図形であってもよい。 The function blocks shown in FIGS. 3, 5, 6 and 9 are merely examples, and the function blocks change according to the program to be displayed. The figure indicating the function block may be a figure other than a rectangle.

図4に示したFB情報は一例に過ぎず、PLCシステムの用途又は条件に応じて、一部の情報を省略又は変更してもよい。例えば、ファンクションブロックを示す矩形の4個の頂点の座標を、形状情報として用いることもできる。 The FB information shown in FIG. 4 is only an example, and some information may be omitted or changed depending on the use or conditions of the PLC system. For example, the coordinates of the four vertices of the rectangle indicating the function block can be used as the shape information.

図7及び図8に示したメニューは一例に過ぎず、別のグラフィカルユーザインタフェースを用いて、全表示処理と縮小表示処理とを切り替えてもよい。 The menus shown in FIGS. 7 and 8 are merely examples, and the full display process and the reduced display process may be switched using another graphical user interface.

図13は、図1の表示制御装置101及び図2のプログラム作成支援装置201として用いられる情報処理装置(コンピュータ)のハードウェア構成例を示している。図13の情報処理装置は、CPU(Central Processing Unit)1301、メモリ1302、入力装置1303、出力装置1304、補助記憶装置1305、媒体駆動装置1306、及びネットワーク接続装置1307を含む。これらの構成要素はハードウェアであり、バス1308により互いに接続されている。 FIG. 13 shows a hardware configuration example of an information processing device (computer) used as the display control device 101 of FIG. 1 and the program creation support device 201 of FIG. The information processing device of FIG. 13 includes a CPU (Central Processing Unit) 1301, a memory 1302, an input device 1303, an output device 1304, an auxiliary storage device 1305, a medium drive device 1306, and a network connection device 1307. These components are hardware and are connected to each other by bus 1308.

メモリ1302は、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)、フラッシュメモリ等の半導体メモリであり、処理に用いられるプログラム及びデータを記憶する。メモリ1302は、図1の記憶部111又は図2の記憶部211として用いることができる。 The memory 1302 is, for example, a semiconductor memory such as a ROM (Read Only Memory), a RAM (Random Access Memory), or a flash memory, and stores a program and data used for processing. The memory 1302 can be used as the storage unit 111 of FIG. 1 or the storage unit 211 of FIG.

CPU1301(プロセッサ)は、例えば、メモリ1302を利用してプログラムを実行することにより、図1の生成部112として動作する。CPU1301は、メモリ1302を利用してプログラムを実行することにより、図2の受付部212及び生成部213としても動作する。 The CPU 1301 (processor) operates as the generation unit 112 of FIG. 1 by executing a program using, for example, the memory 1302. The CPU 1301 also operates as the reception unit 212 and the generation unit 213 of FIG. 2 by executing the program using the memory 1302.

入力装置1303は、例えば、キーボード、ポインティングデバイス等であり、オペレータ又はユーザからの指示又は情報の入力に用いられる。出力装置1304は、例えば、表示装置、プリンタ、スピーカ等であり、オペレータ又はユーザへの問い合わせ又は指示、及び処理結果の出力に用いられる。処理結果は、表示対象プログラムであってもよい。出力装置1304は、図2の表示部214として用いることができる。 The input device 1303 is, for example, a keyboard, a pointing device, or the like, and is used for inputting an instruction or information from an operator or a user. The output device 1304 is, for example, a display device, a printer, a speaker, or the like, and is used for inquiring or instructing an operator or a user and outputting a processing result. The processing result may be a display target program. The output device 1304 can be used as the display unit 214 of FIG.

補助記憶装置1305は、例えば、磁気ディスク装置、光ディスク装置、光磁気ディスク装置、テープ装置等である。補助記憶装置1305は、ハードディスクドライブ又はフラッシュメモリであってもよい。情報処理装置は、補助記憶装置1305にプログラム及びデータを格納しておき、それらをメモリ1302にロードして使用することができる。補助記憶装置1305は、図1の記憶部111又は図2の記憶部211として用いることができる。設定情報222を含む外部ファイルは、補助記憶装置1305に格納される。 The auxiliary storage device 1305 is, for example, a magnetic disk device, an optical disk device, a magneto-optical disk device, a tape device, or the like. The auxiliary storage device 1305 may be a hard disk drive or a flash memory. The information processing device can store programs and data in the auxiliary storage device 1305 and load them into the memory 1302 for use. The auxiliary storage device 1305 can be used as the storage unit 111 of FIG. 1 or the storage unit 211 of FIG. The external file including the setting information 222 is stored in the auxiliary storage device 1305.

媒体駆動装置1306は、可搬型記録媒体1309を駆動し、その記録内容にアクセスする。可搬型記録媒体1309は、メモリデバイス、フレキシブルディスク、光ディスク、光磁気ディスク等である。可搬型記録媒体1309は、CD−ROM(Compact Disk Read Only Memory)、DVD(Digital Versatile Disk)、USB(Universal Serial Bus)メモリ等であってもよい。オペレータ又はユーザは、この可搬型記録媒体1309にプログラム及びデータを格納しておき、それらをメモリ1302にロードして使用することができる。 The medium drive device 1306 drives the portable recording medium 1309 to access the recorded contents. The portable recording medium 1309 is a memory device, a flexible disk, an optical disk, a magneto-optical disk, or the like. The portable recording medium 1309 may be a CD-ROM (Compact Disk Read Only Memory), a DVD (Digital Versatile Disk), a USB (Universal Serial Bus) memory, or the like. The operator or the user can store the programs and data in the portable recording medium 1309 and load them into the memory 1302 for use.

このように、処理に用いられるプログラム及びデータを格納するコンピュータ読み取り可能な記録媒体は、メモリ1302、補助記憶装置1305、又は可搬型記録媒体1309のような、物理的な(非一時的な)記録媒体である。 As described above, the computer-readable recording medium that stores the programs and data used for processing is a physical (non-temporary) recording such as a memory 1302, an auxiliary storage device 1305, or a portable recording medium 1309. It is a medium.

ネットワーク接続装置1307は、LAN(Local Area Network)、WAN(Wide Area Network)等の通信ネットワークに接続され、通信に伴うデータ変換を行う通信インタフェース回路である。情報処理装置は、プログラム及びデータを外部の装置からネットワーク接続装置1307を介して受信し、それらをメモリ1302にロードして使用することができる。ネットワーク接続装置1307は、図2の通信部215として用いることができる。 The network connection device 1307 is a communication interface circuit that is connected to a communication network such as a LAN (Local Area Network) or WAN (Wide Area Network) and performs data conversion associated with communication. The information processing device can receive programs and data from an external device via the network connection device 1307, load them into the memory 1302, and use them. The network connection device 1307 can be used as the communication unit 215 of FIG.

なお、情報処理装置が図13のすべての構成要素を含む必要はなく、用途又は条件に応じて一部の構成要素を省略することも可能である。例えば、可搬型記録媒体1309又は通信ネットワークを使用しない場合は、媒体駆動装置1306又はネットワーク接続装置1307を省略してもよい。 It is not necessary for the information processing apparatus to include all the components shown in FIG. 13, and some components may be omitted depending on the application or conditions. For example, when the portable recording medium 1309 or the communication network is not used, the medium driving device 1306 or the network connecting device 1307 may be omitted.

開示の実施形態とその利点について詳しく説明したが、当業者は、特許請求の範囲に明確に記載した本発明の範囲から逸脱することなく、様々な変更、追加、省略をすることができるであろう。 Having described in detail the embodiments of the disclosure and its advantages, those skilled in the art will be able to make various changes, additions and omissions without departing from the scope of the invention as expressly stated in the claims. Let's do it.

101 表示制御装置
111、211 記憶部
112、213 生成部
121 形状情報
122、222 設定情報
201 プログラム作成支援装置
202 PLC
203 通信ネットワーク
212 受付部
214 表示部
215 通信部
301、302、501、601、603 矩形
602、901、902 セル
701、801 項目
1301 CPU
1302 メモリ
1303 入力装置
1304 出力装置
1305 補助記憶装置
1306 媒体駆動装置
1307 ネットワーク接続装置
1308 バス
1309 可搬型記録媒体
101 Display control device 111, 211 Storage unit 112, 213 Generation unit 121 Shape information 122, 222 Setting information 201 Program creation support device 202 PLC
203 Communication network 212 Reception unit 214 Display unit 215 Communication unit 301, 302, 501, 601, 603 Rectangle 602, 901, 902 Cell 701, 801 Item 1301 CPU
1302 Memory 1303 Input device 1304 Output device 1305 Auxiliary storage device 1306 Media drive device 1307 Network connection device 1308 Bus 1309 Portable recording medium

Claims (5)

複数の入力パラメータ及び複数の出力パラメータを有し、表示対象プログラムを記述する関数として用いられるファンクションブロックを示す第1図形の形状情報を記憶するとともに、前記複数の入力パラメータ及び前記複数の出力パラメータと前記第1図形とを画面上に表示する第1表示処理と、前記複数の入力パラメータ及び前記複数の出力パラメータを省略して、前記ファンクションブロックを示し前記第1図形よりも小さな第2図形を前記画面上に表示する第2表示処理のうち、いずれかの表示処理を指定する設定情報を記憶する記憶部と、
前記設定情報が前記第1表示処理を指定している場合、前記第1図形の形状情報に基づいて、前記複数の入力パラメータ及び前記複数の出力パラメータと前記第1図形とを表示する第1表示情報を生成し、前記設定情報が前記第2表示処理を指定している場合、前記複数の入力パラメータ及び前記複数の出力パラメータを省略して前記第2図形を表示する第2表示情報を生成する生成部と、
を備えることを特徴とする表示制御装置。
The shape information of the first figure which has a plurality of input parameters and a plurality of output parameters and indicates a function block used as a function for describing a display target program is stored, and the plurality of input parameters and the plurality of output parameters are stored. The first display process for displaying the first figure on the screen, the function block is shown by omitting the plurality of input parameters and the plurality of output parameters, and the second figure smaller than the first figure is described. A storage unit that stores setting information that specifies one of the second display processes to be displayed on the screen,
When the setting information specifies the first display process, the first display for displaying the plurality of input parameters, the plurality of output parameters, and the first figure based on the shape information of the first figure. When the information is generated and the setting information specifies the second display process, the second display information for displaying the second figure is generated by omitting the plurality of input parameters and the plurality of output parameters. Generator and
A display control device comprising.
前記設定情報が前記第2表示処理を指定している状態で前記表示対象プログラムの表示が終了した後に、前記表示対象プログラムが再度表示される場合、前記生成部は、前記設定情報に基づいて前記第2表示情報を生成することを特徴とする請求項1記載の表示制御装置。 When the display target program is displayed again after the display of the display target program is completed in a state where the setting information specifies the second display process, the generation unit uses the setting information as the basis for the display. The display control device according to claim 1, wherein the second display information is generated. 前記第2図形が前記画面上に表示されている状態で、前記第2図形を選択して前記ファンクションブロックをコピーするコピー操作、又は前記第2図形を選択して前記ファンクションブロックを削除する削除操作のいずれかを受け付ける受付部をさらに備え、
前記記憶部は、前記複数の入力パラメータ及び前記複数の出力パラメータを、前記ファンクションブロックと関連付けて記憶し、
前記生成部は、前記受付部が前記コピー操作を受け付けた場合、前記記憶部内で前記複数の入力パラメータ及び前記複数の出力パラメータをコピーし、前記受付部が前記削除操作を受け付けた場合、前記複数の入力パラメータ及び前記複数の出力パラメータを前記記憶部から削除することを特徴とする請求項1又は2記載の表示制御装置。
A copy operation of selecting the second figure to copy the function block or a delete operation of selecting the second figure to delete the function block while the second figure is displayed on the screen. It also has a reception desk that accepts any of
The storage unit stores the plurality of input parameters and the plurality of output parameters in association with the function block.
When the receiving unit accepts the copy operation, the generation unit copies the plurality of input parameters and the plurality of output parameters in the storage unit, and when the receiving unit accepts the deletion operation, the plurality of The display control device according to claim 1 or 2, wherein the input parameter and the plurality of output parameters of the above are deleted from the storage unit.
前記第2図形は、前記ファンクションブロックの種別、前記ファンクションブロックの名称、及び前記ファンクションブロックの管理番号を含み、前記ファンクションブロックの種別は、ユーザファンクションブロック又はシステムファンクションブロックのいずれかを示すことを特徴とする請求項1乃至3のいずれか1項に記載の表示制御装置。 The second figure includes the type of the function block, the name of the function block, and the management number of the function block, and the type of the function block indicates either a user function block or a system function block. The display control device according to any one of claims 1 to 3. 複数の入力パラメータ及び複数の出力パラメータを有し、表示対象プログラムを記述する関数として用いられるファンクションブロックを示す第1図形と、前記複数の入力パラメータ及び前記複数の出力パラメータとを画面上に表示する第1表示処理を、設定情報が指定している場合、前記第1図形の形状情報に基づいて、前記複数の入力パラメータ及び前記複数の出力パラメータと前記第1図形とを表示する第1表示情報を生成し、
前記複数の入力パラメータ及び前記複数の出力パラメータを省略して、前記ファンクションブロックを示し前記第1図形よりも小さな第2図形を前記画面上に表示する第2表示処理を、前記設定情報が指定している場合、前記複数の入力パラメータ及び前記複数の出力パラメータを省略して前記第2図形を表示する第2表示情報を生成する、
処理をコンピュータに実行させるための表示制御プログラム。
The first graphic showing a function block having a plurality of input parameters and a plurality of output parameters and used as a function for describing a display target program, and the plurality of input parameters and the plurality of output parameters are displayed on the screen. When the setting information specifies the first display process, the first display information for displaying the plurality of input parameters, the plurality of output parameters, and the first figure based on the shape information of the first figure. To generate
The setting information specifies a second display process for displaying the function block and displaying a second figure smaller than the first figure on the screen by omitting the plurality of input parameters and the plurality of output parameters. If so, the second display information for displaying the second figure is generated by omitting the plurality of input parameters and the plurality of output parameters.
A display control program that allows a computer to perform processing.
JP2019115349A 2019-06-21 2019-06-21 Display control device and display control program Active JP7351109B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019115349A JP7351109B2 (en) 2019-06-21 2019-06-21 Display control device and display control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019115349A JP7351109B2 (en) 2019-06-21 2019-06-21 Display control device and display control program

Publications (2)

Publication Number Publication Date
JP2021002197A true JP2021002197A (en) 2021-01-07
JP7351109B2 JP7351109B2 (en) 2023-09-27

Family

ID=73995249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019115349A Active JP7351109B2 (en) 2019-06-21 2019-06-21 Display control device and display control program

Country Status (1)

Country Link
JP (1) JP7351109B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07248809A (en) * 1994-03-14 1995-09-26 Fuji Electric Co Ltd Programming device
JP2004280341A (en) * 2003-03-14 2004-10-07 Omron Corp Display switching method for ladder program including function block calling instruction and programming device
JP2009237947A (en) * 2008-03-27 2009-10-15 Fuji Electric Systems Co Ltd Programmable controller, programmable controller support device, and programmable controller system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07248809A (en) * 1994-03-14 1995-09-26 Fuji Electric Co Ltd Programming device
JP2004280341A (en) * 2003-03-14 2004-10-07 Omron Corp Display switching method for ladder program including function block calling instruction and programming device
JP2009237947A (en) * 2008-03-27 2009-10-15 Fuji Electric Systems Co Ltd Programmable controller, programmable controller support device, and programmable controller system

Also Published As

Publication number Publication date
JP7351109B2 (en) 2023-09-27

Similar Documents

Publication Publication Date Title
JP7351109B2 (en) Display control device and display control program
JP4838655B2 (en) Document creation support apparatus and document creation support method
JPH025102A (en) Input system for pc rudder graphic
JPS59206978A (en) Character string, graphic, picture synthesizing device
JPS63139751A (en) Printing method in printing system
JP6244743B2 (en) Layout editing processing method, apparatus and program
JPH08212361A (en) Device and method for editing graphic
JP2005038149A (en) Form processing method, form processing program and form processing device
JPH06110884A (en) Editing device
JP2014178905A (en) Image display device, image display method, and program
JP2013131874A (en) Margin-reducing program
JPH0548876A (en) Picture processor with grid function
JP4830573B2 (en) Printing system, preview apparatus, printing method, and printing program
JP2611971B2 (en) Output device
JPH064640A (en) Method for processing character graphic and device therefor
JP2000090131A (en) Layer converting method for graphic data and recording medium recorded with layer converting program
JP2008077322A (en) Document editing method
JPH05143702A (en) Image processor
JP2000293511A (en) Document processor, its method and storage medium
JPH06215096A (en) Menu selecting/displaying method in image processing system
JPH0916746A (en) Image filing device
JPH09330313A (en) Document processor
JPH04127361A (en) Document processor
JPH09212496A (en) Document processor and method
JPH03176767A (en) Document processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220516

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230425

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230524

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: 20230815

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230828

R150 Certificate of patent or registration of utility model

Ref document number: 7351109

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150