JP5849546B2 - Monitor device for programmable controller - Google Patents

Monitor device for programmable controller Download PDF

Info

Publication number
JP5849546B2
JP5849546B2 JP2011193700A JP2011193700A JP5849546B2 JP 5849546 B2 JP5849546 B2 JP 5849546B2 JP 2011193700 A JP2011193700 A JP 2011193700A JP 2011193700 A JP2011193700 A JP 2011193700A JP 5849546 B2 JP5849546 B2 JP 5849546B2
Authority
JP
Japan
Prior art keywords
input
function block
output
terminal
connection line
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.)
Expired - Fee Related
Application number
JP2011193700A
Other languages
Japanese (ja)
Other versions
JP2013054637A (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.)
JTEKT Corp
Original Assignee
JTEKT Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JTEKT Corp filed Critical JTEKT Corp
Priority to JP2011193700A priority Critical patent/JP5849546B2/en
Publication of JP2013054637A publication Critical patent/JP2013054637A/en
Application granted granted Critical
Publication of JP5849546B2 publication Critical patent/JP5849546B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Description

本発明は例えば生産設備等のプログラマブルコントローラ用のモニタ装置に関する。   The present invention relates to a monitor device for a programmable controller such as a production facility.

生産設備の設備機械は各種の装置により構成され、これらの装置の制御には、主にプログラマブルコントローラが使用されている。プログラマブルコントローラは、シーケンサとも呼ばれており、シーケンスプログラムの記述に従って、プログラマブルコントローラがシーケンスプログラムを順次実行(シーケンス処理)することにより、各種の装置を制御している。このシーケンスプログラムを記述する代表的なものとして、ラダー回路やファンクション・ブロックが知られている。ラダー回路は、梯子状に描かれた、両端の垂直な二つの線とその間を水平に結ぶ平行な線上に、接点・コイル等の回路要素の配置により論理回路を示したものであり、広く使用されている。ファンクション・ブロックは、概略矩形にて表現され、左右に複数の入力端子および出力端子を有しており、ラダー回路上に配置して回路要素の一つとして扱うことができる。ファンクション・ブロックは、内部に論理回路を有しており、出力端子から信号の出力をおこなう場合、その出力条件となる信号を関連する入力端子を介して入力することによりおこなわれる。   The equipment machine of a production facility is comprised by various apparatuses, and the programmable controller is mainly used for control of these apparatuses. The programmable controller is also called a sequencer, and controls various devices by sequentially executing the sequence program (sequence processing) according to the description of the sequence program. As typical examples of describing the sequence program, a ladder circuit and a function block are known. A ladder circuit is a ladder circuit that shows a logic circuit by arranging circuit elements such as contacts and coils on two vertical lines at both ends and a parallel line that connects them horizontally. Has been. The function block is represented by a substantially rectangular shape, and has a plurality of input terminals and output terminals on the left and right, and can be arranged on a ladder circuit and handled as one of circuit elements. The function block has a logic circuit inside, and when a signal is output from an output terminal, the function block is performed by inputting a signal as an output condition through the associated input terminal.

通常これらのファンクション・ブロックは、プログラマブルコントローラのメーカーや生産技術部門において作成され、生産設備のメーカーに供給される。従って、生産設備のメーカーは、シーケンスプログラムの作成において、装置ごとに制御回路を作成する必要はない。装置に対応するファンクション・ブロックを回路要素の一つとして、ラダー回路上に配置し、その入力端子および出力端子にそれぞれ必要な入力回路および出力回路を接続することで、制御回路を完成させることができる。このように、ファンクション・ブロックを使用することで、シーケンスプログラムを効率的に作成することができる。また、シーケンスプログラムにファンクション・ブロックを使用することで、装置が正常に動作しない場合、調査するシーケンスプログラムの範囲を、該当装置に対応したファンクション・ブロック部分に絞り込むことができるので、デバッグを容易にすることができる。   Normally, these function blocks are created by a manufacturer of a programmable controller or a production engineering department and supplied to a manufacturer of a production facility. Therefore, the manufacturer of the production facility does not need to create a control circuit for each apparatus in creating the sequence program. A function block corresponding to the device is placed on the ladder circuit as one of the circuit elements, and the necessary input circuit and output circuit are connected to the input terminal and output terminal, respectively, thereby completing the control circuit. it can. In this way, the sequence program can be efficiently created by using the function block. In addition, by using function blocks in the sequence program, if the device does not operate normally, the range of the sequence program to be investigated can be narrowed down to the function block part corresponding to the corresponding device, making debugging easy. can do.

ところで、シーケンスプログラムのデバッグをおこなう場合は、従来、モニタ装置の画面上にシーケンスプログラムのラダー回路を表示し、回路要素を信号状態に合わせて強調表示させて、回路の論理状態を把握することにより、解析することがおこなわれている。ファンクション・ブロックの場合、内部の論理回路がブラックボックス化されている場合も多く、この場合はファンクション・ブロック内部の回路要素を信号状態に合わせて強調表示させて、回路の論理状態を把握することができない。特許文献1では、ファンクション・ブロックの実行状況を「停止中」、「前進中」、「後退中」、「異常1」、「異常2」等の表示データにて表示するものが開示されている。   By the way, when debugging a sequence program, conventionally, the ladder circuit of the sequence program is displayed on the screen of the monitor device, and the circuit elements are highlighted according to the signal state to grasp the logic state of the circuit. The analysis is done. In the case of a function block, the internal logic circuit is often black-boxed. In this case, the circuit elements inside the function block are highlighted according to the signal state to grasp the logic state of the circuit. I can't. Japanese Patent Application Laid-Open No. 2004-151561 discloses that function block execution status is displayed as display data such as “stopped”, “forwarding”, “backwarding”, “abnormal 1”, “abnormal 2”, etc. .

特開2001−5517号公報JP 2001-5517 A

しかしながら、特許文献1に開示された発明では、ファンクション・ブロックの実行状況を把握することはできるが、ファンクション・ブロックの出力端子から信号が出力されない等の異常発生時において、その原因を解析する手段を有していない。ファンクション・ブロックの出力端子から信号を出力する場合、その出力条件を入力端子から入力して条件を満たす必要がある。従って、ファンクション・ブロックの出力端子から信号が出力されない場合の原因を解析するには、まず、その出力条件を把握する必要がある。出力条件はファンクション・ブロックごと、各出力端子ごとに異なり、出力条件となる入力端子も1つとは限らない。このため、各出力端子に関連する出力条件を把握するには、ファンクション・ブロックの説明書を参照する必要があり、解析に手間がかかるという問題があった。また、ファンクション・ブロックの各出力端子の出力条件を、内部の論理回路から解読する方法もあるが、ファンクション・ブロックがブラックボックス化されている場合は不可能である。また、ファンクション・ブロックの各出力端子の出力条件を把握していても、出力条件となる入力端子のうち、信号状態がオフ状態にある入力端子を特定するには、入力端子に接続された入力回路の信号状態から論理状態を判断することとなり、手間がかかるという問題があった。   However, in the invention disclosed in Patent Document 1, although the execution status of the function block can be grasped, means for analyzing the cause when an abnormality occurs such as no signal being output from the output terminal of the function block Does not have. When outputting a signal from the output terminal of the function block, it is necessary to input the output condition from the input terminal and satisfy the condition. Therefore, in order to analyze the cause in the case where a signal is not output from the output terminal of the function block, it is first necessary to grasp the output condition. The output condition differs for each function block and for each output terminal, and the number of input terminals serving as the output condition is not necessarily one. For this reason, in order to grasp the output condition related to each output terminal, it is necessary to refer to the instruction manual of the function block. There is also a method of decoding the output condition of each output terminal of the function block from the internal logic circuit, but this is not possible when the function block is black boxed. In addition, even if the output condition of each output terminal of the function block is known, the input terminal connected to the input terminal can be used to identify the input terminal whose signal condition is OFF among the input terminals that are output conditions. Since the logic state is determined from the signal state of the circuit, there is a problem that it takes time.

本発明はかかる問題点を解決するためになされたもので、ファンクション・ブロックの出力端子に関連する入力端子をファンクション・ブロック上に描画した接続線で示すとともに、現在の信号状態を識別可能に表示して、ファンクション・ブロックを使用したシーケンスプログラムのデバッグを容易におこなうことができるモニタ装置を提供することを目的とする。   The present invention has been made to solve such a problem, and the input terminal related to the output terminal of the function block is indicated by a connection line drawn on the function block, and the current signal state is displayed in an identifiable manner. It is an object of the present invention to provide a monitor device capable of easily debugging a sequence program using function blocks.

請求項1に係わる発明は、上記の課題を解決するため、装置をシーケンス制御するために、接点およびコイル等の回路要素を含むシーケンスプログラム・ラダー回路を構成するシーケンスプログラムと、前記装置の特定動作をシーケンス制御するために、前記シーケンスプログラム・ラダー回路に入力端子および出力端子が接続されたファンクション・ブロックと、前記入力端子および前記出力端子を含むファンクション・ブロック・論理回路を構成するファンクション・ブロック・プログラムと、前記ファンクション・ブロックに対して設定され、前記出力端子の出力条件となる信号を入力する前記入力端子を前記出力端子に関連付けた関連入力情報を記憶する関連入力情報記憶手段と、から構成されるプログラマブルコントローラ用のモニタ装置にして、前記シーケンスプログラム・ラダー回路に前記入力端子および前記出力端子が接続された前記ファンクション・ブロックを描画した前記シーケンスプログラム・ラダー回路を表示装置に表示するシーケンスプログラム表示手段と、前記表示装置に表示された前記ファンクション・ブロックの前記出力端子の1つを選択する選択手段と、前記シーケンスプログラムの前記各回路要素、前記ファンクション・ブロックの前記各入力端子および前記各出力端子にそれぞれ割り付けられた監視アドレスに、信号状態記憶手段により記憶された前記各回路要素、前記各入力端子および前記各出力端子の現在の各信号状態を、前記信号状態記憶手段から取得する信号状態取得手段と、前記選択手段により選択された前記ファンクション・ブロックの前記出力端子の前記関連入力情報を、取得する関連入力情報取得手段と、前記関連入力情報および前記各入力端子および前記出力端子の現在の各信号状態に基づき、前記ファンクション・ブロック上に描画された前記出力端子のうち前記選択手段により選択された前記出力端子と、前記ファンクション・ブロック上に描画された前記入力端子のうち前記選択された出力端子に関連するすべての前記入力端子とを接続した接続線を前記ファンクション・ブロック上に描画するとともに、現在の前記信号状態がオフ状態にある前記入力端子の前記接続線と、オン状態にある前記入力端子の前記接続線を識別可能に描画する入出力接続線描画手段と、オン状態にある前記入力端子の前記接続線を識別可能に描画する入出力接続線描画手段と、を備えることである。 In order to solve the above-mentioned problems, the invention according to claim 1 is a sequence program that constitutes a sequence program ladder circuit including circuit elements such as contacts and coils in order to control the sequence of the apparatus, and a specific operation of the apparatus A function block in which an input terminal and an output terminal are connected to the sequence program ladder circuit, and a function block comprising a function block and a logic circuit including the input terminal and the output terminal A program, and related input information storage means for storing related input information in which the input terminal, which is set for the function block and serves as an output condition of the output terminal, is associated with the output terminal. For a programmable controller A sequence program display means for displaying on the display device the sequence program ladder circuit in which the function block in which the input terminal and the output terminal are connected to the sequence program ladder circuit is rendered on a display device; Selection means for selecting one of the output terminals of the function block displayed on the apparatus, and each of the circuit elements of the sequence program, the input terminals of the function block, and the output terminals, respectively. The signal state acquisition means for acquiring the current signal states of the circuit elements, the input terminals and the output terminals stored by the signal state storage means from the signal state storage means; The function selected by the selection means The relevant input information of the output terminals of the lock, the relevant input information obtaining means for obtaining, based on each current signal state of the associated input information and the respective input terminal and the output terminal, drawn on the function block Connecting the output terminal selected by the selecting means among the output terminals selected and all the input terminals related to the selected output terminal among the input terminals drawn on the function block The connected line is drawn on the function block, and the connection line of the input terminal in which the current signal state is off and the connection line of the input terminal in the on state are drawn so as to be distinguishable Input / output connection line drawing means; and input / output connection line drawing means for drawing the connection lines of the input terminals in the ON state in an identifiable manner; Is.

請求項2に係わる発明は、請求項1に記載のプログラマブルコントローラ用のモニタ装置であって、前記入出力接続線描画手段は、前記信号状態がオン状態にある前記入力端子の前記接続線を強調表示し、前記シーケンスプログラム表示手段は、前記信号状態がオン状態の前記接点と前記コイルとを接続する接続線を、前記入出力接続線描画手段と同じ強調表示とする導通表示手段を備えることである。   The invention according to claim 2 is the monitor device for the programmable controller according to claim 1, wherein the input / output connection line drawing means emphasizes the connection line of the input terminal in which the signal state is in an on state. The sequence program display means includes a continuity display means for highlighting the connection line connecting the contact and the coil in which the signal state is in the same state as the input / output connection line drawing means. is there.

上記のように構成した請求項1の発明によれば、シーケンス制御される装置の特定動作の一動作が正常でない場合、以下の操作により、シーケンスプログラムのデバッグをおこなうことができる。まず、プログラマブルコントローラ用のモニタ装置において、シーケンスプログラム表示手段により、シーケンスプログラムのラダー回路を表示装置に表示する。そして、ラダー回路上において、装置の特定動作に対応するファンクション・ブロックを表示する。ここで、信号状態記憶手段は、回路要素、入力端子および出力端子にそれぞれ割り付けられた監視アドレスに、現在の各信号状態を記憶している。次に、選択手段により、このファンクション・ブロックの特定動作を構成する各動作のうち、正常でない動作の出力端子を選択すると、関連入力情報取得手段により、このファンクション・ブロックに対して設定された、出力端子の出力条件となる信号を入力する入力端子を出力端子に関連付けた関連入力情報を取得する。また、信号状態取得手段により、信号状態記憶手段から記憶された入力端子および出力端子の現在の信号状態を取得する。入出力接続線描画手段は、この関連入力情報と現在の信号状態に基づき、ファンクション・ブロック上に描画された出力端子のうち選択手段により選択された出力端子と、ファンクション・ブロック上に描画された入力端子のうち選択された出力端子に関連するすべての前記入力端子とを接続した接続線を、現在の入力端子および出力端子の信号状態を識別可能にファンクション・ブロック上に描画する。この出力端子と入力端子を接続する接続線により、出力端子に関連する入力端子を把握できるとともに、接続線が現在の入力端子の信号状態を識別可能に描画するので、出力端子に関連する入力端子のうち、信号状態がオフ状態にある入力端子を容易に特定することができる。さらに、この入力端子の信号状態をオフ状態としている原因を、この入力端子の入力回路に絞り込むことができる。

According to the invention of claim 1 configured as described above, when one operation of the specific operation of the sequence controlled device is not normal, the sequence program can be debugged by the following operation. First, in the monitor device for the programmable controller, the ladder program of the sequence program is displayed on the display device by the sequence program display means. Then, the function block corresponding to the specific operation of the apparatus is displayed on the ladder circuit. Here, the signal state storage means stores the current signal states at the monitoring addresses assigned to the circuit elements, the input terminals, and the output terminals, respectively. Next, when selecting the output terminal of the abnormal operation among the operations constituting the specific operation of the function block by the selection unit, the related input information acquisition unit sets the function block. The related input information in which an input terminal that inputs a signal that is an output condition of the output terminal is associated with the output terminal is acquired. Further, the signal state acquisition unit acquires the current signal states of the input terminal and the output terminal stored from the signal state storage unit. Based on the related input information and the current signal state, the input / output connection line drawing means draws the output terminal selected by the selection means from the output terminals drawn on the function block and the function block. A connection line connecting all the input terminals related to the selected output terminal among the input terminals is drawn on the function block so that the signal states of the current input terminal and the output terminal can be identified. The input line related to the output terminal can be grasped by the connection line connecting the output terminal and the input terminal, and the connection line draws the signal state of the current input terminal in an identifiable manner, so the input terminal related to the output terminal Among these, the input terminal whose signal state is in the off state can be easily identified. Further, the cause of the signal state of the input terminal being turned off can be narrowed down to the input circuit of the input terminal.

請求項2に係わる発明によれば、プログラマブルコントローラ用のモニタ装置において、シーケンスプログラム表示手段により、シーケンスプログラムのラダー回路を表示装置に表示する。そして、ラダー回路上において、ファンクション・ブロックを表示する。次に、選択手段により、このファンクション・ブロックの特定動作を構成する一動作の出力端子を選択すると、関連入力情報取得手段により、このファンクション・ブロックに対して設定された、出力端子と入力端子との接続関係を示す関連入力情報を関連入力情報記憶手段から取得する。また、信号状態取得手段により、信号状態記憶手段から記憶された入力端子および出力端子の現在の信号状態を取得する。入出力接続線描画手段は、この関連入力情報と現在の信号状態に基づき、出力端子と、選択された出力端子に関連するすべての入力端子とを接続した接続線をファンクション・ブロック上に描画する。そして、信号状態がオン状態にある入力端子との接続線は強調表示され、信号状態がオフ状態にある入力端子との接続線は強調表示されない。一方、導通表示手段は、ファンクション・ブロックの入力回路および出力回路を構成する接点およびコイルのうち信号状態がオン状態にある回路要素を強調表示するとともに、オン状態にある回路要素どうしを接続する接続線を強調表示する。これにより、ファンクション・ブロックを含むシーケンスプログラムの全体の実行状況が、電気回路の導通表示に模して表示されることとなり、視覚的に把握しやすくすることができる。   According to the second aspect of the present invention, in the monitor device for the programmable controller, the sequence program display means displays the ladder circuit of the sequence program on the display device. Then, the function block is displayed on the ladder circuit. Next, when an output terminal of one operation constituting the specific operation of this function block is selected by the selection means, the output terminal and the input terminal set for this function block by the related input information acquisition means The related input information indicating the connection relationship is acquired from the related input information storage means. Further, the signal state acquisition unit acquires the current signal states of the input terminal and the output terminal stored from the signal state storage unit. The input / output connection line drawing means draws a connection line connecting the output terminal and all the input terminals related to the selected output terminal on the function block based on the related input information and the current signal state. . The connection line with the input terminal whose signal state is in the on state is highlighted, and the connection line with the input terminal whose signal state is in the off state is not highlighted. On the other hand, the continuity display means highlights the circuit elements in which the signal state is on among the contacts and coils constituting the input circuit and output circuit of the function block, and connects the circuit elements in the on state to each other. Highlight the line. As a result, the entire execution status of the sequence program including the function blocks is displayed in a manner similar to the electrical circuit continuity display, which can be easily grasped visually.

本発明の第1の実施形態を示すモニタ装置とプログラマブルコントローラと設備機械の構成を示すブロック図。The block diagram which shows the structure of the monitor apparatus which shows the 1st Embodiment of this invention, a programmable controller, and an equipment machine. 図1の設備機械の部分概略図。The partial schematic diagram of the equipment machine of FIG. 図1のプログラマブルコントローラのアドレス設定。Address setting of the programmable controller of FIG. 図1のプログラマブルコントローラのシーケンスプログラムの主要部。The main part of the sequence program of the programmable controller of FIG. 図1のプログラマブルコントローラのシーケンスプログラムのファンクション・ブロック部。The function block part of the sequence program of the programmable controller of FIG. 本発明の第1の実施形態を示すモニタ装置の各種情報テーブル。The various information table of the monitor apparatus which shows the 1st Embodiment of this invention. 本発明の第1の実施形態を示すモニタ装置の監視アドレス設定処理のフローチャート。5 is a flowchart of monitoring address setting processing of the monitoring device according to the first embodiment of the present invention. 本発明の第1の実施形態を示すモニタ装置の入出力接続線描画処理の描画座標系。The drawing coordinate system of the input-output connection line drawing process of the monitor apparatus which shows the 1st Embodiment of this invention. 本発明の第1の実施形態を示すモニタ装置の入出力接続線描画処理のフローチャート。The flowchart of the input-output connection line drawing process of the monitor apparatus which shows the 1st Embodiment of this invention. 本発明の第1の実施形態を示すモニタ装置の表示例。The display example of the monitor apparatus which shows the 1st Embodiment of this invention. 本発明の第2の実施形態を示すモニタ装置の表示例。The display example of the monitor apparatus which shows the 2nd Embodiment of this invention.

[第1の実施形態]
以下、本発明の実施形態のモニタ装置100の構成を図面に従って説明する。なお、図中ファンクション・ブロックはFBと略記している。
図1に示すように、モニタ装置100の表示部110は、液晶表示板121と、その液晶表示板121上を被覆した透明の電極板からなるタッチパネル122とにより構成されている。モニタ装置100には、CPU111の内部バス112を介して、RAM114、ROM115、表示部インターフェース118、通信インターフェース119が接続されている。プログラマブルコントローラ10には、CPU11の内部バス12を介して、プログラムメモリ13、RAM14、ROM15、I/O制御回路17、通信インターフェース19が接続されている。プログラマブルコントローラ10とモニタ装置100は、それぞれの通信インターフェース19,119を介して接続されている。制御対象である設備機械50は、プログラマブルコントローラ10のI/O制御回路17を介して、装置1,2等の出力デバイス、およびセンサやスイッチ等の入力デバイス(図示せず)に接続されている。プログラマブルコントローラ10のROM15は、システムプログラム15aが格納されている。RAM14は、システムプログラム15aがシーケンスプログラム13aを実行する際に使用されるワークメモリ14aが設けられている。
[First Embodiment]
Hereinafter, the configuration of the monitor device 100 according to the embodiment of the present invention will be described with reference to the drawings. In the figure, the function block is abbreviated as FB.
As shown in FIG. 1, the display unit 110 of the monitor device 100 includes a liquid crystal display plate 121 and a touch panel 122 formed of a transparent electrode plate covering the liquid crystal display plate 121. A RAM 114, a ROM 115, a display unit interface 118, and a communication interface 119 are connected to the monitor device 100 via an internal bus 112 of the CPU 111. A program memory 13, a RAM 14, a ROM 15, an I / O control circuit 17, and a communication interface 19 are connected to the programmable controller 10 via an internal bus 12 of the CPU 11. The programmable controller 10 and the monitor device 100 are connected via respective communication interfaces 19 and 119. The equipment machine 50 to be controlled is connected to output devices such as apparatuses 1 and 2 and input devices (not shown) such as sensors and switches via the I / O control circuit 17 of the programmable controller 10. . The ROM 15 of the programmable controller 10 stores a system program 15a. The RAM 14 is provided with a work memory 14a used when the system program 15a executes the sequence program 13a.

プログラムメモリ13には、設備機械50を制御するためのシーケンスプログラム13aや装置1,2等に対応したファンクション・ブロックを含むファンクション・ブロック・プログラム13bが格納されている。なお、ファンクション・ブロック・プログラム13bには、論理回路の他にも、FB入出力情報等のデータが含まれている。システムプログラム15aは、CPU11により実行されてプログラマブルコントローラ10の全体を制御する。モニタ装置100のROM115は、システムプログラム116に含まれるシーケンスプログラム表示手段116a、信号状態取得手段116b、関連入力情報取得手段116c、入出力接続線描画手段116d、監視アドレス設定手段116e、が格納されている。RAM114は、システムプログラム116が、上記の表示手段116a〜116eを実行する際に使用されるワークメモリ114aが設けられている。システムプログラム116は、CPU111により実行されてモニタ装置100の全体を制御するとともに、オペレータの操作により、上記の表示手段116a〜116eを適宜呼び出す。上記の表示手段116a〜116eは、表示部インターフェース118を介して、表示部110に表示する。   The program memory 13 stores a sequence program 13a for controlling the equipment machine 50 and a function block program 13b including function blocks corresponding to the devices 1, 2 and the like. The function block program 13b includes data such as FB input / output information in addition to the logic circuit. The system program 15a is executed by the CPU 11 to control the entire programmable controller 10. The ROM 115 of the monitor device 100 stores sequence program display means 116a, signal state acquisition means 116b, related input information acquisition means 116c, input / output connection line drawing means 116d, and monitoring address setting means 116e included in the system program 116. Yes. The RAM 114 is provided with a work memory 114a used when the system program 116 executes the display means 116a to 116e. The system program 116 is executed by the CPU 111 to control the entire monitor device 100, and appropriately calls the display means 116a to 116e by an operator's operation. Said display means 116a-116e displays on the display part 110 via the display part interface 118. FIG.

次に、本実施形態の設備機械50の構成について説明する。
図2に示すように、設備機械50は、アーム装置51とハンド装置52により構成される部分を有している。アーム装置51は、ベース部に固定され、エアシリンダーにより水平方向に動作する。また、ハンド装置52は、アーム端部に固定され、エアシリンダーによりチャック動作する。また、ベース部にはアーム装置51のアーム位置Aおよびアーム位置Bを検出するリミットスイッチLS1,LS2がそれぞれ設けられている。リミットスイッチLS1は、アーム後退端のアーム位置Aにおいて信号状態がオンし、リミットスイッチLS2は、アーム前進端のアーム位置Bにおいて信号状態がオンするように配置されている。そして、アーム端部にはハンド装置52のアンチャック端およびチャック端の位置を検出するリミットスイッチLS3,LS4がそれぞれ設けられている。リミットスイッチLS3は、ハンド装置52のアンチャック端の位置において信号状態がオンし、リミットスイッチLS4は、ハンド装置52のチャック端の位置において信号状態がオンするように配置されている。また、アーム位置Bおよびアーム位置Aにおいて、ワークWの有無を検出するセンサP1,P2がそれぞれベース部に設けられている。
Next, the structure of the equipment machine 50 of this embodiment is demonstrated.
As shown in FIG. 2, the equipment machine 50 has a portion constituted by an arm device 51 and a hand device 52. The arm device 51 is fixed to the base portion and operates in the horizontal direction by an air cylinder. The hand device 52 is fixed to the end of the arm and chucked by an air cylinder. Further, limit switches LS1 and LS2 for detecting the arm position A and arm position B of the arm device 51 are provided in the base portion. The limit switch LS1 is arranged such that the signal state is turned on at the arm position A at the arm retracting end, and the limit switch LS2 is arranged so that the signal state is turned on at the arm position B at the arm proceeding end. Further, limit switches LS3 and LS4 for detecting the position of the unchuck end and the chuck end of the hand device 52 are provided at the end of the arm, respectively. The limit switch LS3 is arranged such that the signal state is turned on at the position of the unchuck end of the hand device 52, and the limit switch LS4 is arranged so that the signal state is turned on at the position of the chuck end of the hand device 52. In addition, at the arm position B and the arm position A, sensors P1 and P2 for detecting the presence or absence of the workpiece W are provided in the base portion.

次に、設備機械50の動作の概略について説明する。
初期状態において、アーム装置51を後退端のアーム位置Aとし、ハンド装置52をアンチャック端の位置として、待機する。(1)ワークWがセットされたことを検出すると、ハンド装置52によりワークWをチャックする。(2)次に、アーム装置51のアームを前進端のアーム位置Bまで前進させる。(3)次に、ハンド装置52をアンチャックして、ワークWを置き台に置く。(4)次に、アーム装置51のアームを後退端のアーム位置Aまで後退させる。(5)次のワークWがセットされるまで待機し、ワークWがセットされたことを検出されたら、(1)の動作に戻る。以下は繰り返しの動作となる。これらの動作は、エアシリンダー等からなるアクチュエータの前進動作と後退動作を制御するファンクション・ブロックFB200をアーム装置51およびハンド装置52に使用したシーケンスプログラム13aのラダー回路により記述されている。
Next, an outline of the operation of the equipment machine 50 will be described.
In the initial state, the arm device 51 is set to the arm position A at the backward end, and the hand device 52 is set to the position at the unchuck end to stand by. (1) When it is detected that the workpiece W is set, the workpiece W is chucked by the hand device 52. (2) Next, the arm of the arm device 51 is advanced to the arm position B at the forward end. (3) Next, the hand device 52 is unchucked, and the work W is placed on the table. (4) Next, the arm of the arm device 51 is retracted to the arm position A at the retracted end. (5) Wait until the next workpiece W is set, and when it is detected that the workpiece W is set, the operation returns to the operation (1). The following operations are repeated. These operations are described by a ladder circuit of the sequence program 13a in which the function block FB200 for controlling the forward and backward movements of the actuator composed of an air cylinder or the like is used for the arm device 51 and the hand device 52.

次に、本実施形態のシーケンスプログラム13aの概略を示す。
シーケンスプログラム13aは、図3に示されるアドレス設定を用いて、図4、図5に示すファンクション・ブロックを使用したラダー回路により記述されている。これらのアドレスはプログラマブルコントローラ10が認識可能な形式であり、先頭の識別文字に16進のワードアドレスを付加したものである。先頭の識別文字がMのアドレスは、プログラマブルコントローラ10のワークメモリ14a上のアドレスであることを示している。また、先頭の識別文字がXおよびYのアドレスは、それぞれI/O制御回路17を介して装置と接続され、装置と信号の入力および出力をおこなうアドレスである。図4に示すブロック番号0010〜0013は、上記(1)〜(5)の動作指示をおこなう。図5に示すブロック番号0020および0021は、それぞれファンクション・ブロックFB200を使用して、アーム装置51およびハンド装置52の動作を制御する。
Next, the outline of the sequence program 13a of this embodiment is shown.
The sequence program 13a is described by a ladder circuit using the function blocks shown in FIGS. 4 and 5 by using the address setting shown in FIG. These addresses are in a format recognizable by the programmable controller 10 and are obtained by adding a hexadecimal word address to the leading identification character. An address having a leading identification character M indicates an address on the work memory 14 a of the programmable controller 10. Also, addresses whose leading identification characters are X and Y are addresses that are connected to the apparatus via the I / O control circuit 17 and input and output signals to and from the apparatus. Block numbers 0010 to 0013 shown in FIG. 4 give the operation instructions (1) to (5). Block numbers 0020 and 0021 shown in FIG. 5 control the operations of the arm device 51 and the hand device 52 using the function block FB200, respectively.

ファンクション・ブロックFB200のファンクション.ブロック・論理回路は、エアシリンダー等からなるアクチュエータの特定動作を構成する前進動作と後退動作を制御するファンクション・ブロックであり、以下に示すように論理回路が構成されている。図5に示すように、ファンクション・ブロックFB200は、6個の入力端子と、4個の出力端子を有している。入力端子の前進指示IN1と、前進条件IN3と、後退端LSIN5の信号がオンし、前進端LSIN6の信号がオフにて、前進動作の出力端子OUT3の信号がオンする。前進動作の出力端子OUT3の信号は、前進端LSIN6の信号がオンにて、オフとなるとともに、遅延して前進端の出力端子OUT1の信号をオンする。入力端子の後退指示IN2と、後退前進条件IN4と、後退端LSIN5の信号がオフし、前進端LSIN6の信号がオンにて、後退動作の出力端子OUT4の信号がオンする。後退動作の出力端子OUT4の信号は、後退端LSIN5の信号がオンにて、オフとなるとともに、遅延して後退端の出力端子OUT2の信号をオンする。従って、前進動作の出力端子OUT3には、アクチュエータの前進動作指令となるコイルを接続し、後退動作の出力端子OUT4には、アクチュエータの後退動作指令となるコイルを接続する。また、後退端LSIN5には、アクチュエータの後退端にてオンするリミットスイッチの接点を接続し、前進端LSIN6には、アクチュエータの前進端にてオンするリミットスイッチの接点を接続する。   Function of function block FB200. The block / logic circuit is a function block that controls a forward operation and a backward operation that constitute a specific operation of an actuator composed of an air cylinder or the like. The logic circuit is configured as shown below. As shown in FIG. 5, the function block FB200 has six input terminals and four output terminals. The input terminal advance instruction IN1, the advance condition IN3, and the signal of the backward end LSIN5 are turned on, the signal of the forward end LSIN6 is turned off, and the signal of the forward operation output terminal OUT3 is turned on. The signal at the output terminal OUT3 of the forward movement is turned off when the signal at the forward end LSI N6 is on, and the signal at the output terminal OUT1 at the forward end is turned on with a delay. The input terminal reverse instruction IN2, the reverse advance condition IN4, and the signal of the reverse end LSIN5 are turned off, the signal of the forward end LSIN6 is turned on, and the signal of the output terminal OUT4 for the reverse operation is turned on. The signal at the output terminal OUT4 for the backward operation is turned off when the signal at the backward end LSIN5 is on, and the signal at the output terminal OUT2 at the backward end is turned on with a delay. Therefore, a coil serving as a forward movement command for the actuator is connected to the output terminal OUT3 for forward movement, and a coil serving as a backward movement command for the actuator is connected to the output terminal OUT4 for backward movement. Further, a limit switch contact that is turned on at the backward end of the actuator is connected to the backward end LSIN5, and a contact of a limit switch that is turned on at the forward end of the actuator is connected to the forward end LSIN6.

シーケンスプログラム13aは、上方から下方に順次実行され、下端まで実行されると、入出力信号をリフレッシュした後、上端から繰り返し実行する。入出力信号は、図1のI/O制御回路17を介して、装置2に相当するアーム装置51およびハンド装置52に受け渡される。なお、これらのシーケンスプログラム13aおよびファンクション・ブロック・プログラム13bは、周辺装置等によって作成されている。   The sequence program 13a is sequentially executed from the upper side to the lower side, and when executed to the lower end, the input / output signal is refreshed and then repeatedly executed from the upper end. The input / output signals are transferred to the arm device 51 and the hand device 52 corresponding to the device 2 via the I / O control circuit 17 of FIG. The sequence program 13a and function block program 13b are created by a peripheral device or the like.

次に、本実施形態の本実施形態のモニタ装置100の動作について説明する。
モニタ装置100は、オペレータがタッチパネル122上のシーケンスプログラム表示を選択すると、システムプログラム116により、シーケンスプログラム表示手段116aを呼び出す。シーケンスプログラム表示手段116aは、通信インターフェース118を介して、プログラマブルコントローラ10から、シーケンスプログラム13aおよびファンクション・ブロック・プログラム13bを読み出し、表示部インターフェース118を介して、表示部110にシーケンスプログラム13aを表示する。
Next, the operation of the monitor device 100 of this embodiment will be described.
When the operator selects the sequence program display on the touch panel 122, the monitor device 100 calls the sequence program display means 116a by the system program 116. The sequence program display means 116a reads the sequence program 13a and the function block program 13b from the programmable controller 10 through the communication interface 118, and displays the sequence program 13a on the display unit 110 through the display unit interface 118. .

また、システムプログラム116は、読み出されたシーケンスプログラム13aおよびファンクション・ブロック・プログラム13bから、図6(a)に示されるFB位置情報テーブル、図6(b)に示されるFB入出力情報テーブル、図6(c)に示されるメモリマップの各情報テーブルをワークメモリ14a上に生成する。   Further, the system program 116 reads the FB position information table shown in FIG. 6A, the FB input / output information table shown in FIG. 6B from the read sequence program 13a and function block program 13b, Each information table of the memory map shown in FIG. 6C is generated on the work memory 14a.

ファンクション・ブロック位置情報テーブルは、図6(a)に示すようにシーケンスプログラム13aに記述されたファンクション・ブロックの位置、ファンクション・ブロック名、ワークメモリの先頭アドレス、ワークメモリのサイズの情報を有している。   As shown in FIG. 6A, the function block position information table has information on the function block position, function block name, work memory start address, and work memory size described in the sequence program 13a. ing.

ファンクション・ブロック入出力情報テーブルは、図6(b)に示すようにファンクション・ブロックごとのタグ名、コメント文字列、データ型、オフセットサイズ、関連入力情報の情報を有している。タグ名とはファンクション・ブロックの入力端子および出力端子等の回路要素に設定される名称である。これらの情報は、ファンクション・ブロック・プログラム13bのプログラミングとともに、周辺装置等によって設定されている。   As shown in FIG. 6B, the function block input / output information table has information on a tag name, a comment character string, a data type, an offset size, and related input information for each function block. The tag name is a name set for a circuit element such as an input terminal and an output terminal of the function block. These pieces of information are set by a peripheral device or the like together with the function block program 13b.

関連入力情報は、出力端子に関連する入力端子についての情報を設定したものである。例えば、出力端子OUT3に設定された関連入力情報のIN1、IN3、IN5は、前進動作の出力端子OUT3が、入力端子の前進指示IN1と、前進条件IN3と、後退端LSIN5の信号が関連していることを示している。入力端子には、関連入力情報は設定されない。   The related input information sets information about input terminals related to output terminals. For example, the related input information IN1, IN3, and IN5 set in the output terminal OUT3 is related to the output terminal OUT3 of the forward operation, the forward instruction IN1 of the input terminal, the forward condition IN3, and the signal of the backward end LSIN5. It shows that. Related input information is not set in the input terminal.

メモリマップは、図6(c)に示すようにシーケンスプログラム13aに記述されたファンクション・ブロックごとに、ワークメモリ14a上に割り当てられたワークエリアの先頭アドレスの情報を有している。   As shown in FIG. 6C, the memory map has information on the start address of the work area allocated on the work memory 14a for each function block described in the sequence program 13a.

シーケンスプログラム表示手段116aにより、表示部110に表示されたシーケンスプログラム13aにおいて、選択手段のタッチパネル122からファンクション・ブロックの出力端子の1つをオペレータがタッチすると、システムプログラム116は、入出力接続線描画手段116dを呼び出す。入出力接続線描画手段116dは、関連入力情報取得手段116cと監視アドレス設定手段116eを呼び出し、選択されたファンクション・ブロックFB200の出力端子と、この出力端子に関連する入力端子とを接続する接続線を、ファンクション・ブロックFB200上に描画する。   When the operator touches one of the output terminals of the function block from the touch panel 122 of the selection means in the sequence program 13a displayed on the display unit 110 by the sequence program display means 116a, the system program 116 draws the input / output connection lines. Invoke means 116d. The input / output connection line drawing unit 116d calls the related input information acquisition unit 116c and the monitoring address setting unit 116e, and connects the output terminal of the selected function block FB200 and the input terminal related to this output terminal. Is drawn on the function block FB200.

以下、本実施形態の監視アドレス設定手段116eである監視アドレス設定処理を図7に示すフローチャートに従って説明する。   Hereinafter, the monitoring address setting process which is the monitoring address setting unit 116e of the present embodiment will be described with reference to the flowchart shown in FIG.

図7に示すように、監視アドレス設定処理は、表示部110に表示されたシーケンスプログラム13aから、選択手段により選択されたファンクション・ブロックのブロック番号を取得する。(ステップS001)次に、ファンクション・ブロック位置情報テーブルから、選択されたファンクション・ブロックのワークメモリの先頭アドレスWMを取得する。(ステップS002)例えば、図6(a)のファンクション・ブロック位置情報テーブルの場合、ブロック番号0020と、ファンクション・ブロックFB200から、ワークメモリの先頭アドレスWMのW008を取得する。なお、この先頭アドレスはプログラマブルコントローラ10が認識可能な形式であり、先頭の識別文字Wに16進のワードアドレスを付加したものである。次に、ファンクション・ブロック入出力情報テーブルから、ファンクション・ブロック先頭の入出力端子の情報を取得する。(ステップS003)例えば、図6(b)のファンクション・ブロック入出力情報テーブルの場合、入力端子のIN1を取得する。次に入出力端子のオフセットOFSを取得する。(ステップS004)例えば、図6(b)のファンクション・ブロック入出力情報テーブルの場合、入力端子IN1から、オフセットOFSの0ワードを取得する。次に入出力端子の監視アドレスTAを算出する。(ステップS005)例えば、ブロック番号0020のファンクション・ブロックFB200の入力端子のIN1の場合、ワークメモリの先頭アドレスWMがW008であり、オフセットOFSは0ワードであることから、アドレスTAは、WM+OFS=W008を算出する。次に、アドレスTAを監視アドレスリストに追加する。(ステップS006)次に、入出力端子が最大入出力端子の個数を超えているか判別する。入出力端子が最大入出力端子の個数を超えていた場合、監視アドレス設定処理を終了する。(ステップS007)入出力端子が最大入出力端子の個数を超えていなければ、ファンクション・ブロック入出力情報テーブルから、次の入出力端子の情報を取得し、ステップS004へジャンプする。(ステップS008)例えば、図6(b)のファンクション・ブロック入出力情報テーブルの場合、入力端子のIN2を取得する。   As shown in FIG. 7, in the monitoring address setting process, the block number of the function block selected by the selection unit is acquired from the sequence program 13a displayed on the display unit 110. (Step S001) Next, the start address WM of the work memory of the selected function block is acquired from the function block position information table. (Step S002) For example, in the case of the function block position information table of FIG. 6A, the block number 0020 and the W008 of the work memory start address WM are obtained from the function block FB200. The head address is in a format that can be recognized by the programmable controller 10 and is obtained by adding a hexadecimal word address to the head identification character W. Next, information on the input / output terminal at the head of the function block is acquired from the function block input / output information table. (Step S003) For example, in the case of the function block input / output information table of FIG. 6B, the input terminal IN1 is acquired. Next, the offset OFS of the input / output terminal is acquired. (Step S004) For example, in the case of the function block input / output information table of FIG. 6B, 0 word of the offset OFS is acquired from the input terminal IN1. Next, the monitoring address TA of the input / output terminal is calculated. (Step S005) For example, in the case of IN1 of the input terminal of the function block FB200 of the block number 0020, the start address WM of the work memory is W008 and the offset OFS is 0 words, so the address TA is WM + OFS = W008. Is calculated. Next, the address TA is added to the monitoring address list. (Step S006) Next, it is determined whether the number of input / output terminals exceeds the maximum number of input / output terminals. When the number of input / output terminals exceeds the maximum number of input / output terminals, the monitoring address setting process ends. (Step S007) If the number of input / output terminals does not exceed the maximum number of input / output terminals, information on the next input / output terminal is acquired from the function block input / output information table, and the process jumps to step S004. (Step S008) For example, in the case of the function block input / output information table of FIG. 6B, the input terminal IN2 is acquired.

このようにして、監視アドレス設定処理は、ファンクション・ブロックごとに割り付けられた入力端子および出力端子のアドレスを取得するとともに、信号状態記憶手段の監視アドレスとして関連付け、監視アドレスリストとして設定する。   In this way, the monitoring address setting process acquires the addresses of the input terminals and output terminals assigned to each function block, associates them with the monitoring addresses of the signal state storage means, and sets them as a monitoring address list.

以下、本実施形態の入出力接続線描画手段116dである入出力接続線描画処理を、入力端子IN1〜IN6と出力端子OUT1〜OUT4を有するファンクション・ブロックFB200を例として、図8に示す描画座標系と、図9に示すフローチャートに従って説明する。   Hereinafter, the input / output connection line drawing process which is the input / output connection line drawing means 116d of the present embodiment is performed using the function block FB200 having the input terminals IN1 to IN6 and the output terminals OUT1 to OUT4 as an example, and the drawing coordinates shown in FIG. The system will be described with reference to the flowchart shown in FIG.

図8に示すように、本実施形態の入出力接続線描画処理の座標系は、横方向をX軸とし、縦方向をY軸としている。ファンクション・ブロック310は、両端の垂直な二つの母線301,302とその間を水平に結ぶ平行な線上に、左上座標を(x1,y1)として、横方向長さw、縦方向長さhの長方形に描画している。   As shown in FIG. 8, in the input / output connection line drawing processing coordinate system of this embodiment, the horizontal direction is the X axis and the vertical direction is the Y axis. The function block 310 is a rectangle having a horizontal length w and a vertical length h on two parallel bus lines 301 and 302 at both ends and a parallel line horizontally connecting them, with the upper left coordinates being (x1, y1). Is drawing.

また、ファンクション・ブロックの入出力構成に従って、ファンクション・ブロック310の左辺には、入力端子IN1〜の端子ピン311を描画し、右辺には、出力端子OUT1〜の端子ピン311を描画している。ここでは、入力端子IN1〜IN6、出力端子OUT1〜OUT4の入出力構成からなるファンクション・ブロックを示している。また、入力端子IN1と出力端子OUT1の端子ピン311、入力端子IN2と出力端子OUT2の端子ピン311等、入力端子と同じ番号の出力端子の端子ピン311は、それぞれX軸に平行に配置している。各端子ピン311のY軸座標は、入力端子IN1〜IN6の端子ピン311に接続される入力回路の接続線303および出力端子OUT1〜OUT4に接続される出力回路の接続線304のY軸座標と同じである。また、各端子ピン311のY軸座標は、入力回路および出力回路のOR回路の行数により変化する。例えば、ファンクション・ブロック310は、入力端子IN1の入力回路はOR回路を1行有しているため、入力端子IN2の端子ピン311は座標(x1,y7)となり、平行する出力端子OUT2の端子ピン311は座標(x3,y7)となる。このように、ファンクション・ブロック310は、入力端子および出力端子の個数、入力回路および出力回路のOR回路の行数により、Y軸方向に伸長される。   Further, in accordance with the input / output configuration of the function block, the terminal pins 311 of the input terminals IN1 to IN1 are drawn on the left side of the function block 310, and the terminal pins 311 of the output terminals OUT1 to OUT are drawn on the right side. Here, a function block including input / output configurations of input terminals IN1 to IN6 and output terminals OUT1 to OUT4 is shown. Also, the terminal pins 311 of the output terminals having the same numbers as the input terminals, such as the terminal pins 311 of the input terminal IN1 and the output terminal OUT1, the terminal pins 311 of the input terminal IN2 and the output terminal OUT2, are arranged in parallel to the X axis. Yes. The Y-axis coordinates of each terminal pin 311 are the Y-axis coordinates of the input circuit connection line 303 connected to the terminal pins 311 of the input terminals IN1 to IN6 and the output circuit connection line 304 connected to the output terminals OUT1 to OUT4. The same. Further, the Y-axis coordinate of each terminal pin 311 changes depending on the number of rows of the OR circuit of the input circuit and the output circuit. For example, in the function block 310, since the input circuit of the input terminal IN1 has one row of OR circuits, the terminal pin 311 of the input terminal IN2 has coordinates (x1, y7) and is a terminal pin of the parallel output terminal OUT2. 311 is a coordinate (x3, y7). As described above, the function block 310 is expanded in the Y-axis direction depending on the number of input terminals and output terminals and the number of rows of the OR circuits of the input circuit and the output circuit.

入出力接続線は、ファンクション・ブロック310の長方形の内部に描画される。入出力接続線は、一方端が入力端子の端子ピン311と接続するX軸に平行な第1接続線321と、一方端が出力端子の端子ピン311と接続するX軸に平行な第2接続線322と、第1接続線321の他方端と第2接続線322の他方端とを接続するY軸に平行な第3接続線323から構成される。第1接続線321、第2接続線322、第3接続線323の描画において、描画時の属性1および属性0が指定できる。この属性1および属性0には、線の色や太さ等が含まれており、あらかじめ識別可能に設定している。   The input / output connection lines are drawn inside the rectangle of the function block 310. The input / output connection line has a first connection line 321 parallel to the X axis connected at one end to the terminal pin 311 of the input terminal, and a second connection parallel to the X axis connected at the one end to the terminal pin 311 of the output terminal. The line 322 includes a third connection line 323 parallel to the Y axis that connects the other end of the first connection line 321 and the other end of the second connection line 322. In the drawing of the first connection line 321, the second connection line 322, and the third connection line 323, attribute 1 and attribute 0 at the time of drawing can be designated. The attribute 1 and the attribute 0 include the color and thickness of the line, and are set in advance so that they can be identified.

図9に示すように、入出力接続線描画処理は、最初に選択されたファンクション・ブロックの監視アドレス設定処理を呼び出し、監視アドレスリストを生成する。(ステップS001)次に、関連入力情報取得手段116cである関連入力情報取得処理を呼び出し、選択されたファンクション・ブロックの出力端子に設定された関連入力情報を取得する。次に、関連入力情報のポインタを先頭位置とする。(ステップS002)次に、監視アドレスリストから、関連入力情報のポインタが示す入力端子のアドレスを取得する。(ステップS003)次に、信号状態取得手段により上記入力端子のアドレスに記憶された、現在の信号状態を取得する。(ステップS004)次に、信号状態がオン状態であるか判別する。(ステップS005)信号状態がオン状態ならば、上記入力端子の端子ピンと接続する第1接続線を属性1にて描画する。(ステップS006)そして、信号状態がオフ状態ならば、上記入力端子の端子ピンと接続する第1接続線を属性0にて描画する。(ステップS007)次に、関連入力情報のポインタが末尾位置を超えているか判別する。(ステップS008)関連入力情報のポインタが末尾位置を超えていた場合、監視アドレスリストから、上記出力端子のアドレスを取得する。(ステップS009)関連入力情報のポインタが末尾位置を超えていなければ、関連入力情報のポインタを次位置に更新して、ステップS003へジャンプする。(ステップS010)信号状態取得手段により上記出力端子のアドレスに記憶された、現在の信号状態を取得する。(ステップS011)次に、出力端子の信号状態がオン状態であるか判別する。(ステップS012)出力端子の信号状態がオン状態ならば、上記出力端子の端子ピンと接続する第2接続線を属性1にて描画する。(ステップS013)次に、第1接続線の他方端と、第2接続線の他方端とを接続する第3接続線を描画する。信号状態がオフ状態のすべての入力端子の第1接続線の他方端と、第2接続線の他方端を接続する第3接続線を属性0にて描画した後、信号状態がオン状態のすべての入力端子の第1接続線の他方端と、第2接続線の他方端を接続する第3接続線を属性1にて描画(上書き)する。(ステップS014)そして、出力端子の信号状態がオフ状態ならば、上記出力端子の端子ピンと接続する第2接続線を属性0にて描画する。(ステップS015)次に、入力端子番号が最小の第1接続線の他方端と、入力端子番号が最大の第1接続線の他方端を接続する第3接続線を属性0にて描画する。(ステップS016)   As shown in FIG. 9, in the input / output connection line drawing process, the monitoring address setting process of the function block selected first is called to generate a monitoring address list. (Step S001) Next, the related input information acquisition process which is the related input information acquisition means 116c is called, and the related input information set to the output terminal of the selected function block is acquired. Next, the pointer of the related input information is set as the head position. (Step S002) Next, the address of the input terminal indicated by the pointer of the related input information is acquired from the monitoring address list. (Step S003) Next, the current signal state stored at the address of the input terminal is acquired by the signal state acquisition means. (Step S004) Next, it is determined whether the signal state is on. (Step S005) If the signal state is on, the first connection line connected to the terminal pin of the input terminal is drawn with attribute 1. (Step S006) If the signal state is OFF, the first connection line connected to the terminal pin of the input terminal is drawn with attribute 0. (Step S007) Next, it is determined whether or not the pointer of the related input information exceeds the end position. (Step S008) When the pointer of the related input information exceeds the end position, the address of the output terminal is acquired from the monitoring address list. (Step S009) If the pointer of the related input information does not exceed the end position, the pointer of the related input information is updated to the next position, and the process jumps to Step S003. (Step S010) The current signal state stored at the address of the output terminal is acquired by the signal state acquisition means. (Step S011) Next, it is determined whether the signal state of the output terminal is on. (Step S012) If the signal state of the output terminal is ON, the second connection line connected to the terminal pin of the output terminal is drawn with attribute 1. (Step S013) Next, a third connection line that connects the other end of the first connection line and the other end of the second connection line is drawn. After drawing the third connection line connecting the other end of the first connection line of all the input terminals whose signal states are off and the other end of the second connection line with attribute 0, all the signal states are on. The third connection line connecting the other end of the first connection line of the input terminal and the other end of the second connection line is drawn (overwritten) with attribute 1. (Step S014) If the signal state of the output terminal is OFF, the second connection line connected to the terminal pin of the output terminal is drawn with attribute 0. (Step S015) Next, the third connection line connecting the other end of the first connection line with the smallest input terminal number and the other end of the first connection line with the largest input terminal number is drawn with attribute 0. (Step S016)

このようにして、入出力接続線描画処理は、選択されたファンクション・ブロックの出力端子と、この出力端子に関連する入力端子とを接続する接続線を、ファンクション・ブロック上に描画する。また、この時現在の入力端子および出力端子の信号状態に合わせた属性で接続線を描画する。   In this way, in the input / output connection line drawing process, a connection line that connects the output terminal of the selected function block and the input terminal related to this output terminal is drawn on the function block. At this time, the connection line is drawn with the attribute according to the signal state of the current input terminal and output terminal.

このように構成された本実施形態のプログラマブルコントローラ用のモニタ装置100によれば、例えば、本実施形態の設備機械50のアーム装置51が前進動作しない場合、以下のようにシーケンスプログラム13aのデバッグをおこなうことができる。   According to the monitor device 100 for the programmable controller of the present embodiment configured as described above, for example, when the arm device 51 of the equipment machine 50 of the present embodiment does not move forward, the sequence program 13a is debugged as follows. Can be done.

まず、モニタ装置100により、シーケンスプログラム13aを表示部110に表示する。そして、シーケンスプログラム13aにおいて、アーム装置51に対応するブロック番号0020のファンクション・ブロックFB200を表示する。そして、選択手段のタッチパネル122からファンクション・ブロックFB200の前進動作の出力端子OUT3をオペレータがタッチすると、システムプログラム116は、入出力接続線描画処理を呼び出す。   First, the sequence program 13 a is displayed on the display unit 110 by the monitor device 100. Then, in the sequence program 13a, the function block FB200 with the block number 0020 corresponding to the arm device 51 is displayed. When the operator touches the output terminal OUT3 of the forward movement operation of the function block FB200 from the touch panel 122 of the selection means, the system program 116 calls an input / output connection line drawing process.

入出力接続線描画処理は、監視アドレス設定処理を呼び出し、タッチされたブロック番号0020のファンクション・ブロックFB200の監視アドレス設定処理をおこなう。監視アドレス設定処理は、ブロック番号0020のファンクション・ブロックFB200の入力端子および出力端子のファンクション・ブロック・プログラム13bでのアドレスを、信号状態記憶手段の監視アドレスと関連付ける。これにより、入力端子IN1〜IN6および出力端子のOUT1〜OUT4のアドレスを監視アドレスとして、監視アドレスリストにW008〜W011が設定される。また、ファンクション・ブロック入出力情報テーブルから、出力端子OUT3に設定された関連入力情報のIN1、IN3、IN5を取得するとともに、入力端子IN1、IN3、IN5のアドレスを取得する。   In the input / output connection line drawing process, the monitor address setting process is called, and the monitor address setting process of the function block FB200 of the touched block number 0020 is performed. The monitoring address setting process associates the addresses in the function block program 13b of the input terminal and output terminal of the function block FB200 of block number 0020 with the monitoring address of the signal state storage means. As a result, W008 to W011 are set in the monitoring address list using the addresses of the input terminals IN1 to IN6 and the output terminals OUT1 to OUT4 as monitoring addresses. Further, from the function block input / output information table, the related input information IN1, IN3, IN5 set to the output terminal OUT3 is acquired, and the addresses of the input terminals IN1, IN3, IN5 are acquired.

次に、信号状態取得手段116bにより、信号状態記憶手段から記憶された入力端子IN1、IN3、IN5および出力端子OUT3の各アドレスの現在の各信号状態をプログラマブルコントローラ10の実行中に取得する。そして、図10に示すように、入出力接続線描画処理は、出力端子OUT3と、入力端子IN1、IN3、IN5とを、現在の入力端子および出力端子の信号状態に合わせた属性で接続線をファンクション・ブロックFB200上に描画する。ここでは、描画時の属性1を黒色の太線とし、属性0を灰色の太線としている。例えば、入力端子IN1の信号状態がオン状態、IN3の信号状態がオフ状態、IN5の信号状態がオン状態の場合、入力端子IN1とIN5の第1接続線321を属性1の黒色の太線で描画する。そして、入力端子IN3の第1接続線321および出力端子OUT3の第2接続線322および第3接続線323を属性0の灰色の太線で描画する。この出力端子OUT3と、入力端子IN1、IN3、IN5と、を接続する接続線により、前進動作の出力端子OUT3は、前進指示IN1と、前進条件IN3と、後退端LSIN5の信号が出力条件として関連していることが理解できる。この接続線のうち、入力端子IN3の第1接続線321が灰色の太線であることから、出力端子OUT3の信号状態がオン状態とならない原因を、入力端子IN3に特定することができる。さらに、入力端子IN3の信号状態をオフ状態としている原因を、入力端子IN3の入力回路に絞り込むことができる。   Next, the current signal states of the addresses of the input terminals IN1, IN3, IN5 and the output terminal OUT3 stored from the signal state storage unit are acquired by the signal state acquisition unit 116b while the programmable controller 10 is being executed. Then, as shown in FIG. 10, in the input / output connection line drawing process, the output terminal OUT3 and the input terminals IN1, IN3, and IN5 are connected with attributes that match the signal states of the current input terminal and output terminal. Draw on the function block FB200. Here, attribute 1 at the time of drawing is a black thick line, and attribute 0 is a gray thick line. For example, when the signal state of the input terminal IN1 is on, the signal state of IN3 is off, and the signal state of IN5 is on, the first connection line 321 of the input terminals IN1 and IN5 is drawn with a black thick line with attribute 1 To do. Then, the first connection line 321 of the input terminal IN3 and the second connection line 322 and the third connection line 323 of the output terminal OUT3 are drawn with a gray thick line of attribute 0. Due to the connection line connecting this output terminal OUT3 and the input terminals IN1, IN3, IN5, the forward operation output terminal OUT3 is related to the forward instruction IN1, the forward condition IN3, and the signal of the backward end LSIN5 as output conditions. I can understand that Among the connection lines, the first connection line 321 of the input terminal IN3 is a gray thick line, so that the cause of the signal state of the output terminal OUT3 not being turned on can be specified as the input terminal IN3. Further, the cause of the signal state of the input terminal IN3 being turned off can be narrowed down to the input circuit of the input terminal IN3.

[第2の実施形態]
図11は、本発明の第2の実施形態を示すモニタ装置の表示例である。
本実施形態では、モニタ装置100により、表示部110に表示されたシーケンスプログラム13aにおいて、アーム装置51に対応するブロック番号0020のファンクション・ブロックFB200を表示する。そして、選択手段のタッチパネル122からファンクション・ブロックFB200の出力端子OUT1をオペレータがタッチすると、システムプログラム116は、入出力接続線描画処理を呼び出す。また、ファンクション・ブロック入出力情報テーブルから、出力端子OUT1に設定された関連入力情報のIN6を取得するとともに、入力端子IN6のアドレスを取得する。
[Second Embodiment]
FIG. 11 is a display example of the monitor device showing the second embodiment of the present invention.
In the present embodiment, the function block FB200 of the block number 0020 corresponding to the arm device 51 is displayed by the monitor device 100 in the sequence program 13a displayed on the display unit 110. When the operator touches the output terminal OUT1 of the function block FB200 from the touch panel 122 of the selection means, the system program 116 calls an input / output connection line drawing process. Further, from the function block input / output information table, the related input information IN6 set to the output terminal OUT1 is acquired, and the address of the input terminal IN6 is acquired.

図11に示すように、入出力接続線描画処理は、出力端子OUT1と、入力端子IN6とを、現在の入力端子および出力端子の信号状態に合わせた強調表示の属性で接続線をファンクション・ブロックFB200上に描画する。ここでは、強調表示の属性を黒色の太線としている。例えば、出力端子OUT1と入力端子IN6の信号状態がオン状態の場合、入力端子IN1第1接続線321、第2接続線322、第3接続線323を黒色の太線で描画する。一方、導通表示手段は、ファンクション・ブロックFB200の入力回路および出力回路を構成する接点およびコイルのうち、信号状態がオン状態の接点とコイルとを接続する接続線303、304を、入出力接続線描画手段と同じ黒色の太線で描画する。これにより、シーケンスプログラム13a上において、ファンクション・ブロックFB200の入力端子IN6の入力回路から、入力端子IN6を介して信号が入力され、ファンクション・ブロックFB200を経由して、出力端子OUT1を介して信号が出力され、出力端子OUT1の出力回路に至る経路が、黒色の太線で描画される。このように、ファンクション・ブロックを含むシーケンスプログラム13aの全体の実行状況が、電気回路の導通表示に模して表示されることとなり、実行状況を視覚的に把握しやすくすることができる。   As shown in FIG. 11, in the input / output connection line drawing processing, the connection line is set to a function block with the highlighting attribute that matches the output terminal OUT1 and the input terminal IN6 with the signal states of the current input terminal and output terminal. Draw on FB200. Here, the highlighted attribute is a black thick line. For example, when the signal states of the output terminal OUT1 and the input terminal IN6 are on, the input terminal IN1 first connection line 321, second connection line 322, and third connection line 323 are drawn with black thick lines. On the other hand, the continuity display means includes connection lines 303 and 304 that connect the contacts and coils that are in the signal state among the contacts and coils that constitute the input circuit and output circuit of the function block FB200. Draw with the same black thick line as the drawing means. Thus, on the sequence program 13a, a signal is input from the input circuit of the input terminal IN6 of the function block FB200 via the input terminal IN6, and the signal is output via the function block FB200 via the output terminal OUT1. A path that is output and reaches the output circuit of the output terminal OUT1 is drawn with a black thick line. In this way, the entire execution status of the sequence program 13a including the function blocks is displayed in a manner similar to the electrical circuit continuity display, making it easy to visually grasp the execution status.

なお、本実施形態では、シーケンスプログラムのラダー回路上に配置されたファンクション・ブロックに入出力接続線を描画しているが、複数のファンクション・ブロックを平行に配置し、ファンクション・ブロックの出力端子と、他のファンクション・ブロックの入力端子とを接続可能に記述するファンクション・ブロック・ダイアグラムにも適用しても良い。ファンクション・ブロック・ダイアグラムの全体の実行状況が、電気回路の導通表示に模して表示されることとなり、実行状況を視覚的に把握しやすくすることができる。   In this embodiment, the input / output connection lines are drawn in the function block arranged on the ladder circuit of the sequence program. However, a plurality of function blocks are arranged in parallel, and the function block output terminal is connected to the function block. The present invention may also be applied to a function block diagram in which input terminals of other function blocks are described so as to be connectable. The entire execution status of the function block diagram is displayed in a manner similar to the electrical circuit continuity display, and the execution status can be easily grasped visually.

また、本実施形態では、モニタ装置100の選択手段としてタッチパネル122を使用しているが、マウスやキーボード等を用いても良い。   In this embodiment, the touch panel 122 is used as the selection unit of the monitor device 100, but a mouse, a keyboard, or the like may be used.

10:プログラマブルコントローラ、 11:CPU、 12:内部バス、
13:プログラムメモリ、 13a:シーケンスプログラム、
14:RAM、 14a:ワークメモリ、 15:ROM、
15a:システムプログラム、 19:通信インターフェース、
41:装置1、 42:装置2、 43:装置3、
50:設備機械、 51:アーム装置、 52:ハンド装置、
100:モニタ装置、 110:表示部、 111:CPU、
112:内部バス、 114:RAM、 114a:ワークメモリ、
115:ROM、 116:システムプログラム、
116a:シーケンスプログラム表示手段、
116b:信号状態取得手段、
116c:関連入力情報取得手段、
116d:入出力接続線描画手段、
116e:監視アドレス設定手段、
118:表示部インターフェース、 119:通信インターフェース、
121:液晶表示板、 122:タッチパネル、
201:第1ウィンドウ、 202:第2ウィンドウ、
301、302:母線、 303、304:接続線、
310:ファンクション・ブロック、 311:端子ピン、
321:第1接続線、 322:第2接続線、 323:第3接続線、
LS1,LS2,LS3,LS4:リミットスイッチ、
P1,P2:センサ、
W:ワーク
10: Programmable controller, 11: CPU, 12: Internal bus,
13: Program memory, 13a: Sequence program,
14: RAM, 14a: Work memory, 15: ROM,
15a: system program, 19: communication interface,
41: Device 1, 42: Device 2, 43: Device 3,
50: Equipment machine, 51: Arm device, 52: Hand device,
100: monitor device, 110: display unit, 111: CPU,
112: Internal bus 114: RAM 114a: Work memory
115: ROM, 116: System program,
116a: Sequence program display means,
116b: signal state acquisition means,
116c: related input information acquisition means,
116d: input / output connection line drawing means,
116e: monitoring address setting means,
118: Display interface, 119: Communication interface,
121: Liquid crystal display panel, 122: Touch panel,
201: first window, 202: second window,
301, 302: Busbar, 303, 304: Connection line,
310: Function block, 311: Terminal pin,
321: first connection line, 322: second connection line, 323: third connection line,
LS1, LS2, LS3, LS4: limit switch,
P1, P2: sensors,
W: Work

Claims (2)

装置をシーケンス制御するために、接点およびコイル等の回路要素を含むシーケンスプログラム・ラダー回路を構成するシーケンスプログラムと、
前記装置の特定動作をシーケンス制御するために、前記シーケンスプログラム・ラダー回路に入力端子および出力端子が接続されたファンクション・ブロックと、
前記入力端子および前記出力端子を含むファンクション・ブロック・論理回路を構成するファンクション・ブロック・プログラムと、
前記ファンクション・ブロックに対して設定され、前記出力端子の出力条件となる信号を入力する前記入力端子を前記出力端子に関連付けた関連入力情報を記憶する関連入力情報記憶手段と、
から構成されるプログラマブルコントローラ用のモニタ装置にして、
前記シーケンスプログラム・ラダー回路に前記入力端子および前記出力端子が接続された前記ファンクション・ブロックを描画した前記シーケンスプログラム・ラダー回路を表示装置に表示するシーケンスプログラム表示手段と、
前記表示装置に表示された前記ファンクション・ブロックの前記出力端子の1つを選択する選択手段と、
前記シーケンスプログラムの前記各回路要素、前記ファンクション・ブロックの前記各入力端子および前記各出力端子にそれぞれ割り付けられた監視アドレスに、信号状態記憶手段により記憶された前記各回路要素、前記各入力端子および前記各出力端子の現在の各信号状態を、前記信号状態記憶手段から取得する信号状態取得手段と、
前記選択手段により選択された前記ファンクション・ブロックの前記出力端子の前記関連入力情報を、取得する関連入力情報取得手段と、
前記関連入力情報および前記各入力端子および前記出力端子の現在の各信号状態に基づき、前記ファンクション・ブロック上に描画された前記出力端子のうち前記選択手段により選択された前記出力端子と、前記ファンクション・ブロック上に描画された前記入力端子のうち前記選択された出力端子に関連するすべての前記入力端子とを接続した接続線を前記ファンクション・ブロック上に描画するとともに、現在の前記信号状態がオフ状態にある前記入力端子の前記接続線と、オン状態にある前記入力端子の前記接続線を識別可能に描画する入出力接続線描画手段と、
を備えるプログラマブルコントローラ用のモニタ装置。
A sequence program comprising a sequence program / ladder circuit including circuit elements such as contacts and coils in order to control the sequence of the device;
In order to control a specific operation of the device in sequence, a function block having an input terminal and an output terminal connected to the sequence program ladder circuit;
A function block program comprising a function block logic circuit including the input terminal and the output terminal;
Related input information storage means for storing related input information in which the input terminal that is set for the function block and inputs a signal that is an output condition of the output terminal is associated with the output terminal ;
A monitor device for a programmable controller composed of
Sequence program display means for displaying on the display device the sequence program ladder circuit in which the function block having the input terminal and the output terminal connected to the sequence program ladder circuit is drawn;
Selecting means for selecting one of the output terminals of the function block displayed on the display device;
Each circuit element stored in the signal state storage means, each input terminal, and each monitoring element assigned to each circuit element of the sequence program, each input terminal and each output terminal of the function block, and Signal state acquisition means for acquiring the current signal states of the output terminals from the signal state storage means;
Related input information acquisition means for acquiring the related input information of the output terminal of the function block selected by the selection means;
The output terminal selected by the selection means among the output terminals drawn on the function block based on the related input information and the current signal states of the input terminals and the output terminals, and the function A connection line connecting all the input terminals related to the selected output terminal among the input terminals drawn on the block is drawn on the function block, and the current signal state is turned off. Input / output connection line drawing means for drawing the connection lines of the input terminals in a state and the connection lines of the input terminals in an on state in an identifiable manner;
A monitor device for a programmable controller.
請求項1に記載のプログラマブルコントローラ用のモニタ装置であって、
前記入出力接続線描画手段は、前記信号状態がオン状態にある前記入力端子の前記接続線を強調表示し、
前記シーケンスプログラム表示手段は、前記信号状態がオン状態の前記接点と前記コイルとを接続する接続線を、前記入出力接続線描画手段と同じ強調表示とする導通表示手段を備えるプログラマブルコントローラ用のモニタ装置。
A monitor device for a programmable controller according to claim 1,
The input / output connection line drawing means highlights the connection line of the input terminal in which the signal state is in an on state,
The sequence program display means is a monitor for a programmable controller comprising a continuity display means for highlighting the connection line connecting the coil and the contact point in which the signal state is in the same state as the input / output connection line drawing means. apparatus.
JP2011193700A 2011-09-06 2011-09-06 Monitor device for programmable controller Expired - Fee Related JP5849546B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011193700A JP5849546B2 (en) 2011-09-06 2011-09-06 Monitor device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011193700A JP5849546B2 (en) 2011-09-06 2011-09-06 Monitor device for programmable controller

Publications (2)

Publication Number Publication Date
JP2013054637A JP2013054637A (en) 2013-03-21
JP5849546B2 true JP5849546B2 (en) 2016-01-27

Family

ID=48131548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011193700A Expired - Fee Related JP5849546B2 (en) 2011-09-06 2011-09-06 Monitor device for programmable controller

Country Status (1)

Country Link
JP (1) JP5849546B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7359613B2 (en) 2019-09-17 2023-10-11 ファナック株式会社 Method and program generation device for generating a control program for a machine equipped with an input/output device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328613A (en) * 1995-05-30 1996-12-13 Meidensha Corp Method for preparing sequence/program and method for setting data
JP2000305765A (en) * 1999-04-19 2000-11-02 Yokogawa Electric Corp Construction device for process control system
JP2002182712A (en) * 2000-12-15 2002-06-26 Yaskawa Electric Corp Display method and display device for programmable controller
JP3797907B2 (en) * 2001-10-10 2006-07-19 株式会社デジタル Data creation apparatus for control system, data creation program, and recording medium recording the program
JP2003248504A (en) * 2002-02-22 2003-09-05 Digital Electronics Corp Method for debugging control program
JP3963174B2 (en) * 2003-03-14 2007-08-22 オムロン株式会社 Display / editing apparatus, display method, and program
JP2007109094A (en) * 2005-10-14 2007-04-26 Nippon Steel Corp Display control apparatus and method and computer program

Also Published As

Publication number Publication date
JP2013054637A (en) 2013-03-21

Similar Documents

Publication Publication Date Title
JP5724679B2 (en) Block execution order display device
JP5702811B2 (en) Operation program creation device
US7290182B2 (en) Software tool for monitoring faults in an automation device
CN105408823B (en) Engineering tools, program editing device and program editing system
US20140364992A1 (en) Machining-program generating apparatus, machining-program generating method, and recording medium
JP6333798B2 (en) Numerical controller
JP2013054636A (en) Monitoring device for programmable controllers
JP5849546B2 (en) Monitor device for programmable controller
JP2002172574A (en) Work data displaying device of robot
KR101566358B1 (en) System and method of alarming uncommon state of automatic process
JP2002304201A (en) Sensor processing unit, controller, sensor and sensor processing system
JP7039186B2 (en) Information processing method, program, recording medium, information processing device, manufacturing system, and manufacturing method of goods
JP2007213451A (en) Collected data monitoring method and device
JP6575130B2 (en) Screen information generator
JP3359562B2 (en) Display screen creation method for programmable display device
JP6812647B2 (en) Machine tool management system
US20090046066A1 (en) Operating device for operating a machine tool, a production machine and/or a machine in the form of a robot
JP2010152830A (en) Method for debugging or the like of produced ladder program on programming tool screen
JP7328473B1 (en) CONTROL DEVICE, INDUSTRIAL MACHINE SYSTEM, RUN HISTORY DATA DISPLAY METHOD, AND PROGRAM
WO2023026490A1 (en) Teaching device
JP7141846B2 (en) Ladder circuit display
JP5008520B2 (en) How to display data entry status in the display screen
JP6419399B1 (en) Alarm function setting device, alarm function setting system, and alarm function setting program
JP7022049B2 (en) Recognition device, system and recognition method
JP2008059488A (en) Sequence processing monitoring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140820

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150713

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151117

R150 Certificate of patent or registration of utility model

Ref document number: 5849546

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees