JP2007213449A - Collected data monitoring method and device - Google Patents

Collected data monitoring method and device Download PDF

Info

Publication number
JP2007213449A
JP2007213449A JP2006034507A JP2006034507A JP2007213449A JP 2007213449 A JP2007213449 A JP 2007213449A JP 2006034507 A JP2006034507 A JP 2006034507A JP 2006034507 A JP2006034507 A JP 2006034507A JP 2007213449 A JP2007213449 A JP 2007213449A
Authority
JP
Japan
Prior art keywords
time
pulse
cursor
series
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006034507A
Other languages
Japanese (ja)
Inventor
Masaaki Fujii
昌明 藤井
Tadamitsu Shinsenji
忠光 秦泉寺
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2006034507A priority Critical patent/JP2007213449A/en
Publication of JP2007213449A publication Critical patent/JP2007213449A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To quickly measure and display on-time or off-time of an arbitrary on-pulse or off-pulse on a pulse train waveform in displaying a pulse train waveform corresponding to a series of time-series bit data related to each of a plurality of variables collected by a data collection unit on a screen of an image display unit by, for example, arranging the waveform over a plurality of lines. <P>SOLUTION: Based on the on/off state at one point in the direction of a time axis specified by a predetermined cursor on each pulse train waveform, and the anteroposterior continuity of the on-state or off-state on the time-series bit data of the on/off state, the time point corresponding to the starting point and the end point of the one on-pulse or the one off-pulse is obtained, and the on-time or the off-time corresponding to the pulse width of the one on-pulse or the one off-pulse is generated from the starting time point and the end time point. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、データ収集ユニットがプログラマブル・コントローラのメモリから収集した複数の変数の各収集時点の値のそれぞれに相当する一連の時系列ビットデータを画像表示器を介してモニタするための方法及び装置に関する。   The present invention relates to a method and an apparatus for monitoring a series of time-series bit data corresponding to each value at each collection time of a plurality of variables collected from a memory of a programmable controller by a data collection unit via an image display. About.

プログラマブル・コントローラ(PLC)のメモリ(例えば、入出力メモリ、データメモリ等々)から各種変数(入出力信号)のオンオフ状態のそれぞれに相当する一連の時系列ビットデータを自動的に収集する装置としては、データ収集ユニット(SPU)が従来より知られている(特許文献1参照)。また、この種のデータ収集装置にて収集された一連の時系列ビットデータ列を画像表示器を介してモニタすることも従来より知られている(特許文献2参照)。   As a device that automatically collects a series of time-series bit data corresponding to the on / off states of various variables (input / output signals) from a programmable controller (PLC) memory (eg, input / output memory, data memory, etc.) A data collection unit (SPU) is conventionally known (see Patent Document 1). It has also been conventionally known that a series of time-series bit data sequences collected by this type of data collection device is monitored via an image display (see Patent Document 2).

この種のモニタ装置では、データ収集ユニットにて収集された複数の変数のそれそれに関する一連の時系列ビットデータに相当するパルス列波形を、画像表示器の画面上に複数行にわたり並べて表示させるのが通例である。   In this type of monitor device, a pulse train waveform corresponding to a series of time-series bit data related to each of a plurality of variables collected by a data collection unit is displayed side by side on a screen of an image display device over a plurality of lines. It is customary.

PLCの制御対象となる生産ライン等において、タクトタイムの改善のための様々な試行が行われた場合、その結果は、モニタ装置の画面上に表示される各変数対応のパルス列波形における1若しくは2以上のオンパルスのパルス幅(オン時間)又はオフパルスのパルス幅(オフ時間)の変化として現れることが多い。   When various trials for improving the tact time are performed in a production line or the like to be controlled by the PLC, the result is 1 or 2 in the pulse train waveform corresponding to each variable displayed on the screen of the monitor device. It often appears as a change in the pulse width (on time) of the above on pulse or the pulse width (off time) of the off pulse.

また、PLCの制御対象となる生産ライン等において、それに組み込まれたセンサやアクチュエータに経年劣化(摩耗、潤滑油切れ、過負荷等々)が生じた場合にも、その影響は、モニタ装置の画面上に表示される各変数対応のパルス列波形における1若しくは2以上のオンパルスのパルス幅(オン時間)又はオフパルスのパルス幅(オフ時間)の変化として現れることが多い。   In addition, when a sensor or actuator incorporated in a production line or the like to be controlled by the PLC undergoes aging (wearing, running out of lubricating oil, overload, etc.), the effect will be affected on the monitor screen. It often appears as a change in the pulse width (on time) of one or two or more on pulses or the pulse width (off time) of off pulses in the pulse train waveform corresponding to each variable.

そのため、この種のモニタ装置のユーザは、PLCの制御対象となる生産ライン等の稼働状況を分析するためには、モニタ装置の画面上に複数列に亘って表示された各変数毎のパルス列波形のそれぞれにおいて、複数のオンパルス又はオフパルスのオン時間又はオフ時間を素早く計測せねばならない。   For this reason, in order to analyze the operating status of a production line or the like to be controlled by the PLC, a user of this type of monitoring device can display a pulse train waveform for each variable displayed over a plurality of rows on the screen of the monitoring device. In each of these, the on-time or off-time of a plurality of on-pulses or off-pulses must be measured quickly.

一般に、収集された一連の時系列ビットデータに基づいて描かれたパルス列波形表示から任意の2点間の時間差を求めるためには、始点と終点とのそれぞれを指定するための2本の直線状カーソルを使用する手法が知られている。すなわち、この手法にあっては、始点指定用カーソルの位置から該当するビットデータの取得時刻を求めると共に、終点指定用カーソルの位置から該当するビットデータの取得時刻を求め、それら時刻の差から任意の2点間の時間差が求められる。
特開2005−128721 特開2003−21650
In general, in order to obtain a time difference between two arbitrary points from a pulse train waveform display drawn based on a series of collected time-series bit data, two linear shapes for designating each of a start point and an end point are used. A technique using a cursor is known. That is, in this method, the acquisition time of the corresponding bit data is obtained from the position of the cursor for designating the start point, and the acquisition time of the corresponding bit data is obtained from the position of the cursor for designating the end point. The time difference between the two points is obtained.
JP 2005-128721 A JP 2003-21650

しかしながら、上述の2本のカーソルを使用する時間差計測手法にあっては、2本のカーソルのそれぞれを測定したい区間の始点及び終点に別々に位置合わせしなければならないことから、カーソルの位置合わせに時間が掛かる他、オン時間又はオフ時間を計測しようとすると、オンパルス又はオフパルスの前方エッジ及び後方エッジのそれぞれに正確にカーソルを位置合わせしなければならず、操作性が極めて悪いと言う問題点があった。   However, in the time difference measurement method using the two cursors described above, each of the two cursors must be separately aligned with the start point and end point of the section to be measured. In addition to taking time, when trying to measure the on-time or off-time, the cursor must be accurately positioned at each of the front and rear edges of the on-pulse or off-pulse, and the operability is extremely poor. there were.

この発明は、上述の問題点に着目してなされたものであり、その目的とするところは、データ収集ユニットにて収集された複数の変数のそれそれに関する一連の時系列ビットデータに相当するパルス列波形を、画像表示器の画面上に例えば複数行にわたり並べて表示させる場合において、パルス列波形上において任意のオンパルス又はオフパルスのオン時間又はオフ時間を簡単な操作でかつ素早く計測して表示させることが可能な収集データのモニタ方法を提供することにある。   The present invention has been made paying attention to the above-mentioned problems, and its object is to provide a pulse train corresponding to a series of time-series bit data related to each of a plurality of variables collected by a data collection unit. When the waveform is displayed on the screen of the image display side by side, for example, across multiple lines, the on-time or off-time of any on-pulse or off-pulse can be quickly measured and displayed on the pulse train waveform with a simple operation. It is to provide a method for monitoring collected data.

この発明のさらに他の目的並びに作用効果については、明細書の以下の記述を参照することにより、当業者であれば容易に理解されるであろう。   Other objects and operational effects of the present invention will be easily understood by those skilled in the art by referring to the following description of the specification.

この発明は、上記の目的を達成するために、次のような構成を採用するものである。すなわち、この発明の収集データのモニタ方法(又は装置)は、データ収集ユニットがプログラマブル・コントローラのメモリから収集した複数の変数の各収集時点の値のそれぞれに相当する一連の時系列ビットデータを画像表示器を介してモニタするための方法であって、前記収集された複数の変数のそれそれに関する一連の時系列ビットデータのうちの1又は2以上に相当するパルス列波形を前記画像表示器の画面上に1行又は2行以上にわたり並べて表示させると共に、当該パルス列波形表示領域上における時間軸方向の1点を指定可能な所定カーソルを表示させる第1のステップ(又は手段)と、前記カーソルの所定の確定操作が検出されたことを条件として、前記1行又は2行以上に表示されたパルス列波形上において、前記カーソルにより指定された時間軸方向の1点が属する1のオンパルス又は1のオフパルスのパルス幅に相当するオン時間又はオフ時間を前記一連の時系列ビットデータに基づいて生成する第2のステップ(又は手段)と、前記第3のステップで生成されたオン時間又はオフ時間に対応するオン時間表示又はオフ時間表示を前記画面上の所定位置に行う第3のステップ(又は手段)と、を具備する、ことを特徴とするものである。   In order to achieve the above object, the present invention employs the following configuration. That is, the collected data monitoring method (or apparatus) according to the present invention images a series of time-series bit data corresponding to each of the values at the time of collection of a plurality of variables collected by the data collection unit from the memory of the programmable controller. A method for monitoring via a display, wherein a pulse train waveform corresponding to one or more of a series of time-series bit data relating to each of the collected variables is displayed on the screen of the image display A first step (or means) for displaying a predetermined cursor capable of designating one point in the time axis direction on the pulse train waveform display area, and displaying the predetermined cursor on the pulse train waveform display area; On the pulse train waveform displayed in the one or more rows, on the condition that the confirming operation is detected. A second step (or a step of generating an on time or an off time corresponding to a pulse width of one on pulse or one off pulse to which one point in the time axis direction specified by the data belongs based on the series of time series bit data (or And a third step (or means) for performing on-time display or off-time display corresponding to the on-time or off-time generated in the third step at a predetermined position on the screen. It is characterized by that.

このような構成によれば、特定のオンパルスのオン時間又はオフパルスのオフ時間を測定しようとする場合、それらのオンパルス又はオフパルスに含まれる任意の1点にカーソルを合わせて所定の確定操作を行えば、その1点を含むオンパルス又はオフパルスのオン時間又はオフ時間が自動的に計測されて表示されるから、カーソルの位置合わせのための労力が半減され、様々な位置に存在するパルスのオン時間又はオフ時間を迅速に計測することができる。   According to such a configuration, when the on-time of a specific on-pulse or the off-time of an off-pulse is to be measured, a predetermined confirming operation is performed by placing the cursor on any one point included in those on-pulse or off-pulse. Since the on-time or off-time of the on-pulse or off-pulse including the one point is automatically measured and displayed, the labor for aligning the cursor is halved, and the on-time of the pulses existing at various positions or The off time can be measured quickly.

本発明においては、第2のステップ(又は手段)としては、各パルス列波形上において前記カーソルにより指定された時間軸方向の1点におけるオンオフ状態とそのオンオフ状態の時系列ビットデータ上における各前後へのオン状態又はオフ状態の連続性とに基づいて、当該1のオンパルス又は1のオフパルスの始点及び終点に相当する時刻を求め、それら始点時刻と終点時刻とから1のオンパルス又は1のオフパルスのパルス幅に相当するオン時間又はオフ時間を生成するように構成することもできる。   In the present invention, as the second step (or means), the on / off state at one point in the time axis direction designated by the cursor on each pulse train waveform and the time series bit data of the on / off state before and after Based on the continuity of the on-state or off-state, a time corresponding to the start point and end point of the one on-pulse or one off-pulse is obtained, and one on-pulse or one off-pulse pulse is determined from the start point time and end point time. An on time or an off time corresponding to the width may be generated.

ここで、「オンオフ状態とそのオンオフ状態の時系列ビットデータ上における各前後へのオン状態又はオフ状態の連続性」とは、指定された1点の前後に前方エッジと後方エッジとの双方が存在する場合は勿論のこと、データ列が途切れたことにより前方エッジ又は後方エッジのいずれか一方しか存在しない場合、さらには、表示領域の全長に亘りオン状態又はオフ状態が連続していることにより、前方エッジ及び後方エッジの双方が存在しない場合のすべてを想定しているこを意味している。   Here, “on-off state and the continuity of the on-state or the off-state on each time-series bit data of the on-off state” means that both the front edge and the rear edge are before and after a designated point. Of course, when there is only one of the front edge or the rear edge due to the interruption of the data string, or when the ON state or OFF state continues over the entire length of the display area. This means that all cases where both the front edge and the rear edge do not exist are assumed.

このような構成によれば、画面のパルス波形表示領域のどこにカーソルが位置している場合であったとしても、オン時間又はオフ時間に相当する表示を支障なく行わせることができる。   According to such a configuration, display corresponding to the on-time or the off-time can be performed without any trouble regardless of where the cursor is positioned in the pulse waveform display area of the screen.

また、前記第2のステップ(又は手段)におけるカーソルの所定の確定操作としては、カーソルの移動が停止したのち、所定時間以上にわたり、同じ位置に留まっていることことである、とすることもできる。   Further, the predetermined determination operation of the cursor in the second step (or means) may be that the cursor remains at the same position for a predetermined time or longer after the movement of the cursor is stopped. .

このような構成によれば、例えばマウスのクリック操作等のような特別な操作を行わずとも、単に、カーソルを所望の位置に移動させて静止させるだけで、オン時間又はオフ時間を表示させることができる一方、カーソルの移動中にあってはオン時間又はオフ時間の計測のための演算は行われないから、カーソルの移動もスムーズになり、ひいては操作性を格段に向上させることができる。   According to such a configuration, the on time or the off time can be displayed simply by moving the cursor to a desired position and making it stand still without performing a special operation such as a mouse click operation. On the other hand, since the calculation for measuring the on time or the off time is not performed during the movement of the cursor, the movement of the cursor becomes smooth, and the operability can be remarkably improved.

なお、前記第1のステップ(又は手段)において表示されるカーソルとしては、前記パルス列波形表示領域を時間軸と直交する方向へと横切る1本の直線状カーソルを採用することもできる。   As the cursor displayed in the first step (or means), a single linear cursor that crosses the pulse train waveform display area in a direction orthogonal to the time axis may be employed.

このような構成によれば、複数行に並べられパルス列波形を対象として、それらを一括指定することにより、直線状カーソルと交差するオンパルス又はオフパルスのオン時間又はオフ時間を一括して計測表示させることができる。   According to such a configuration, the on-time or off-time of the on-pulse or off-pulse intersecting the linear cursor can be collectively measured and displayed by collectively specifying the pulse train waveforms arranged in a plurality of rows. Can do.

また、前記第3のステップ(又は手段)にてオン時間表示又はオフ時間表示が行われる画面上の所定位置が、各変数のパルス列波形の表示行毎に設けられており、かつ各オン時間表示又はオフ時間表示にはオンオフ状態表示がさらに付設されている、ものであってもよい。   Also, a predetermined position on the screen where the on-time display or off-time display is performed in the third step (or means) is provided for each display row of the pulse train waveform of each variable, and each on-time display. Alternatively, an on / off state display may be added to the off time display.

このような構成によれば、たまたま、パルスの前方エッジ又は後方エッジの真上にカーソルが位置してすることにより、表示されている時間がオン時間かオフ時間かが判別しがたい場合にも、オンオフ状態表示がオン状態又はオフ状態のいずれであるかを見れば、表示されている時間がオン時間かオフ時間かを容易に判別することができる。   According to such a configuration, it may happen that it is difficult to determine whether the displayed time is on time or off time because the cursor is positioned just above the front edge or rear edge of the pulse. By checking whether the on / off state display is the on state or the off state, it is possible to easily determine whether the displayed time is the on time or the off time.

上述した本発明の収集データのモニタ方法は、そのような方法をコンピュータにより実行させるためのコンピュータプログラムとして具現化することもできる。   The collected data monitoring method of the present invention described above can also be embodied as a computer program for causing a computer to execute such a method.

本発明の収集データのモニタ方法(又は手段)によれば、特定のオンパルスのオン時間又はオフパルスのオフ時間を測定しようとする場合、それらのオンパルス又はオフパルスに含まれる任意の1点にカーソルを合わせて所定の確定操作を行えば、その1点を含むオンパルス又はオフパルスのオン時間又はオフ時間が自動的に計測されて表示されるから、カーソルの位置合わせのための労力が半減され、様々な位置に存在するパルスのオン時間又はオフ時間を迅速に計測することができる。   According to the method (or means) for monitoring collected data of the present invention, when measuring the on-time of a specific on-pulse or the off-time of an off-pulse, the cursor is placed on any one point included in those on-pulse or off-pulse. If the predetermined confirmation operation is performed, the on-time or off-time of the on-pulse or off-pulse including that one point is automatically measured and displayed. The on-time or off-time of the pulse existing in can be quickly measured.

以下に、本発明に係る収集データのモニタ方法の好適な実施の一形態を添付図面を参照しつつ詳細に説明する。   Hereinafter, a preferred embodiment of a method for monitoring collected data according to the present invention will be described in detail with reference to the accompanying drawings.

データ収集ユニット(データ収集装置)を含むプログラマブル・ロジック・コントローラ(以下、PLCと言う)システムの構成図が図1に示されている。同図に示されるように、このPLCシステムは、PLC10と、ツール装置として機能するパーソナル・コンピュータ(以下、PCと言う)20と、プログラマブル・表示器として機能する表示器35とを中心として構成されている。なお、34はPLC10と表示器35とを結ぶシリアル通信ラインである。   A block diagram of a programmable logic controller (hereinafter referred to as PLC) system including a data collection unit (data collection device) is shown in FIG. As shown in the figure, this PLC system is composed mainly of a PLC 10, a personal computer (hereinafter referred to as a PC) 20 that functions as a tool device, and a display 35 that functions as a programmable display. ing. Reference numeral 34 denotes a serial communication line that connects the PLC 10 and the display 35.

PLC10は、この例ではビルディング・ブロック型で構成されており、そのバックプレーンに敷設されたバス上のコネクタには、各種の機能ユニットが差込接続される。これらの機能ユニットとしては、図示例にあっては、制御の中枢を担うCPUユニット11と、他のPLCとのデータ交換(図示せず)を司る通信ユニット12と、外部のアクチュエータ(リレー、電磁弁、流体シリンダ、ランプ等々)32や外部のセンサ(光電スイッチ、近接スイッチ、リミットスイッチ等々)33に接続されるI/Oユニット15と、本発明の要部に関連するデータ収集装置(SPU)と、を含んでいる。   The PLC 10 is configured as a building block type in this example, and various functional units are plugged into a connector on a bus laid on the backplane. As these functional units, in the illustrated example, a CPU unit 11 that plays a central role in control, a communication unit 12 that manages data exchange (not shown) with other PLCs, and an external actuator (relay, electromagnetic A valve, a fluid cylinder, a lamp, etc.) 32 and an external sensor (photoelectric switch, proximity switch, limit switch, etc.) 33, and a data collection device (SPU) related to the main part of the present invention. And.

PC20は、本発明に係るモニタ方法(又は手段)の実現手段として機能するものであり、マウスやキーボードを含む入力装置(図示せず)と、表示装置やプリンタ装置を含む出力装置と、イーサネット(登録商標)通信等の情報系通信を行うための通信装置と、それらを統括制御するマイクロプロセッサを含む本体装置を有している。   The PC 20 functions as means for realizing the monitoring method (or means) according to the present invention, and includes an input device (not shown) including a mouse and a keyboard, an output device including a display device and a printer device, an Ethernet ( It has a communication device for performing information communication such as registered trademark communication, and a main body device including a microprocessor that performs overall control thereof.

PLC10を構成するCPUユニットは、周知のように、I/Oユニット13における実I/OとCPUユニット10内のI/Oメモリ(図示せず)やデータメモリの該当データとの間におけるI/Oリフレッシュ処理、ユーザメモリ(図示せず)からユーザプログラムを順次読み出しつつ行う命令実行処理、通信ユニット12を介する外部との通信を含む周辺サービス処理を1サイクルとして、これを高速に繰り返す。   As is well known, the CPU unit constituting the PLC 10 has an I / O between an actual I / O in the I / O unit 13 and an I / O memory (not shown) in the CPU unit 10 or corresponding data in the data memory. The O refresh process, the instruction execution process performed while sequentially reading the user program from the user memory (not shown), and the peripheral service process including communication with the outside via the communication unit 12 are repeated as one cycle, and this is repeated at high speed.

データ収集ユニット(SPU)15は、I/Oリフレッシュ処理にてCPUユニット11とI/Oユニット13とがバスを介してデータ交換を行うときに、I/Oメモリやデータメモリの内容(アナログ変数、ビット変数)の全部又は指定された一部に相当するデータを読み取って、データ収集ユニット(SPU)15内のメモリ(図示せず)に格納する。こうして、格納される各変数に相当するデータ列の各データには、収集時刻を示すタイムスタンプが付される。この例では、データ収集の周期は、結果として、PLCのサイクルタイムの整数倍とされる。   When the data collection unit (SPU) 15 performs data exchange between the CPU unit 11 and the I / O unit 13 via the bus in the I / O refresh process, the contents of the I / O memory and the data memory (analog variables) , Bit variables) or data corresponding to a specified part is read and stored in a memory (not shown) in the data collection unit (SPU) 15. Thus, a time stamp indicating the collection time is attached to each data in the data string corresponding to each stored variable. In this example, the period of data collection is consequently an integer multiple of the PLC cycle time.

PC20は、PLC10に対するツール装置として構成され、ユーザプログラムのプログラミング機能、PLCへのダウンロード機能やPLCからのアップロード機能、PLC内の各種データやプログラムの実行状態に関するモニタ機能等々が組み込まれている。そして、本発明のモニタ方法(又は手段)は、上述のモニタ機能の一部として組み込まれる。   The PC 20 is configured as a tool device for the PLC 10 and incorporates a user program programming function, a function of downloading to the PLC, a function of uploading from the PLC, a monitor function regarding various data in the PLC and the execution state of the program, and the like. The monitoring method (or means) of the present invention is incorporated as a part of the monitoring function described above.

すなわち、PLC10に付設された情報収集ユニット(SPU)15のメモリ内にある変数データ(ビットデータ、アナログデータを含む)は、PC20とPLC10とが通信線30を介して交信する際に、PLC10からPC20へと送られ、PC20内のメモリ(内部テーブル)に格納され、PC20における画面表示を介するデータモニタに供される。   That is, the variable data (including bit data and analog data) in the memory of the information collection unit (SPU) 15 attached to the PLC 10 is transmitted from the PLC 10 when the PC 20 and the PLC 10 communicate via the communication line 30. The data is sent to the PC 20, stored in a memory (internal table) in the PC 20, and used for data monitoring via screen display on the PC 20.

本発明のモニタ方法(又は装置)に関連して実行されるPC20の表示処理全体を示すゼネラルフローチャートが図2に示されている。同図に示されるように、表示処理の全体は、データの読出処理(ステップ201)、内部テーブルへの格納処理(ステップ202)、グラフの描画処理(ステップ203)、及びON/OFF時間表示処理(ステップ204)からなる4つの処理を含んでいる。   A general flowchart showing the entire display process of the PC 20 executed in connection with the monitoring method (or apparatus) of the present invention is shown in FIG. As shown in the figure, the entire display processing includes data reading processing (step 201), storage processing in an internal table (step 202), graph drawing processing (step 203), and ON / OFF time display processing. Four processes consisting of (Step 204) are included.

まず、データの読出処理(ステップ201)であるが、この処理は、先に説明したように、データ収集ユニット(SPU)15のメモリ内から、全ての変数データまたは予め指定された変数データを読み出す処理に相当する。先に説明したように、こうして読み出される各変数データの配列は、PLC10内のメモリ(入出力メモリ、データメモリ等々)内の変数配列に対応したものとなっている。   First, a data reading process (step 201) is performed. As described above, this process reads all variable data or pre-designated variable data from the memory of the data collection unit (SPU) 15. It corresponds to processing. As described above, the array of each variable data read in this way corresponds to the variable array in the memory (input / output memory, data memory, etc.) in the PLC 10.

続く内部テーブル格納処理(ステップ202)では、図5(c)及び図6(c)に示されるように、読み出された変数データ(この例では、ビットデータのみを示す)はPC20内に用意された変数テーブルに格納される。それらの図から明らかなように、各変数データ(変数No.1,変数No.2,・・・)のそれぞれには、データインデックス(0,1,2,・・・)及びタイムスタンプ(t)が付されている。   In the subsequent internal table storage process (step 202), as shown in FIGS. 5C and 6C, the read variable data (in this example, only bit data is shown) is prepared in the PC 20. Stored in the variable table. As is clear from these figures, each variable data (variable No. 1, variable No. 2,...) Has a data index (0, 1, 2,...) And a time stamp (t ) Is attached.

続くグラフ描画処理(ステップ203)においては、公知の画面表示処理を用いて、例えば図8の画面全体のイメージ図に示されるように、収集された複数の変数のそれぞれに関する一連の時系列ビットデータのうちの1又は2以上に相当するパルス列波形がPC20の画像表示器の画面上に1行又は2行以上にわたって並べて表示され、同時に当該パルス列波形表示領域上における時間軸方向の一点を指定可能な所定カーソル111が画面上に表示される。   In the subsequent graph drawing process (step 203), using a known screen display process, for example, as shown in an image diagram of the entire screen in FIG. A pulse train waveform corresponding to one or more of them is displayed side by side on one or two or more rows on the screen of the image display of the PC 20, and at the same time, one point in the time axis direction on the pulse train waveform display area can be designated. A cursor 111 is displayed on the screen.

ここで図8の画面全体のイメージ図を参照して、表示内容を具体的に説明する。図から明らかなように、画像表示器の画面100には、ビット波形表示領域110と、アナログ波形表示領域120と、ビット関連情報表示領域130と、アナログ関連情報表示領域140とが設けられている。   Here, the display contents will be specifically described with reference to an image diagram of the entire screen of FIG. As is apparent from the figure, the screen 100 of the image display device is provided with a bit waveform display area 110, an analog waveform display area 120, a bit related information display area 130, and an analog related information display area 140. .

ビット波形表示領域110には、上下方向16本の表示行L1,L2,L3〜L16が設けられている。これらの表示行L1,L2,L3〜L16のそれぞれには、複数のビット変数のそれぞれに相当するパルス列波形が表示可能となっている。ここで、ビット変数とは、オン状態とオフ状態との2通りの状態をとる二値化信号のことを意味している。   In the bit waveform display area 110, 16 display rows L1, L2, L3 to L16 in the vertical direction are provided. In each of these display rows L1, L2, L3 to L16, a pulse train waveform corresponding to each of a plurality of bit variables can be displayed. Here, the bit variable means a binary signal that takes two states, an on state and an off state.

アナログ表示領域120には、複数のアナログ変数のそれぞれに相当するアナログ波形が表示可能になされている。ここでアナログ波形とは、温度データや圧力データ等々といったように、任意のアナログ値を取り得る信号のことを意味している。アナログ波形の場合、各変数毎に取り得る値の範囲はまちまちであるから、ビット波形表示領域110のように表示行L1〜L16は設けられていない。すなわち、アナログ波形表示領域120においては、各アナログ変数に相当する波形が適宜重ねて表示される。もっとも各変数毎に固有の色が付されるから、視認性を損ねることはない。この点は、先に説明したビット波形表示領域110においても同様である。すなわち、各ビット変数のそれぞれに対応するパルス列波形にはそれぞれ固有の色が付される。   In the analog display area 120, an analog waveform corresponding to each of a plurality of analog variables can be displayed. Here, the analog waveform means a signal that can take an arbitrary analog value such as temperature data, pressure data, and the like. In the case of an analog waveform, since the range of values that can be taken for each variable varies, the display rows L1 to L16 are not provided unlike the bit waveform display area 110. That is, in the analog waveform display area 120, waveforms corresponding to the respective analog variables are displayed so as to be overlapped appropriately. However, since a unique color is assigned to each variable, visibility is not impaired. This also applies to the bit waveform display area 110 described above. That is, a unique color is assigned to each pulse train waveform corresponding to each bit variable.

ビット波形表示領域110の右隣には、ビット関連情報表示領域130が設けられる。そして、このビット関連情報表示領域130には、それぞれ上下方向へと配列された、チェックボックス列131と、波形色ボックス列132と、アドレス/コメント列133と、ビット値色ボックス列134と、ビット値文字列135と、ON/OFF時間ボックス列136とが設けられている。   A bit related information display area 130 is provided on the right side of the bit waveform display area 110. In the bit related information display area 130, a check box column 131, a waveform color box column 132, an address / comment column 133, a bit value color box column 134, and a bit arranged in the vertical direction, respectively. A value character string 135 and an ON / OFF time box string 136 are provided.

チェックボックス列131は、これにチェックマークをカーソル操作で入れることにより、それと対応する表示行をアクティブとするか否かを決定する。   The check box column 131 determines whether or not to activate the corresponding display row by putting a check mark in the check box column by a cursor operation.

波形色ボックス列132は、その対応する表示行に表示されたパルス列波形の使用色に着色される。従って、その行に対応する変数が表示領域110においてどのような色に着色されているかを容易に判別できる。   The waveform color box column 132 is colored with the used color of the pulse column waveform displayed in the corresponding display row. Therefore, it is possible to easily determine what color the variable corresponding to the row is colored in the display area 110.

アドレス/コメント列133には、当該行の変数に関するPLC上の信号名が表示される。この信号名は、PLCで使用するアドレス名とユーザに理解しやすいコメントとの何れかで切り替え表示可能となっている。この切り替えは、切り替えボタン137の操作により実行される。アドレス/コメント列133のアドレス表示状態を図8に示し、コメント表示状態を図12に示す。   In the address / comment column 133, a signal name on the PLC related to the variable of the row is displayed. The signal name can be switched and displayed by either an address name used in the PLC or a comment easy to understand for the user. This switching is executed by operating the switching button 137. The address display state of the address / comment column 133 is shown in FIG. 8, and the comment display state is shown in FIG.

ビット値色ボックス列134は、その行に対応するパルス列波形上において、カーソル線111と交差する時点におけるその信号のオン状態またはオフ状態に対応する2色の何れかに着色される。そのため、このビット値色ボックス列134内の着色に基づいて、ビット波形表示領域110内における該当する信号のカーソル位置におけるオンオフ状態を直感的に理解することができる。   The bit value color box column 134 is colored in one of two colors corresponding to the ON state or OFF state of the signal at the time of crossing the cursor line 111 on the pulse column waveform corresponding to the row. Therefore, the on / off state at the cursor position of the corresponding signal in the bit waveform display area 110 can be intuitively understood based on the coloring in the bit value color box column 134.

ビット値文字列135は、各表示行におけるカーソル線111と交差する1点における信号のオンオフ状態に対応する文字列を表示するものである。従って、ボックス列130及び135を参照することによって、カーソル線111の示す位置が画面上において、オンパルスまたはオフパルスのエッジ付近にあって、そのオンオフ状態が判別しがたい場合であっても、ビット値色ボックス列134及びビット文字列135の表示に基づいて、オン状態であるかオフ状態であるかを容易に判別できる。   The bit value character string 135 displays a character string corresponding to an on / off state of a signal at one point intersecting the cursor line 111 in each display row. Accordingly, by referring to the box rows 130 and 135, even if the position indicated by the cursor line 111 is near the edge of the on-pulse or off-pulse on the screen and the on-off state is difficult to determine, the bit value Based on the display of the color box row 134 and the bit character row 135, it can be easily determined whether the state is the on state or the off state.

ON/OFF時間ボックス列136は、本発明の要部に相当するものであって、これらのボックスのそれぞれには、該当する表示行のパルス列波形において、カーソル線111と交差するオンパルス又はオフパルスのオン時間又はオフ時間が数値表示される。そのため、この数値表示に基づいて、任意のオンパルス又はオフパルスのパルス幅に相当するオン時間又はオフ時間を容易に判別することができる。なお、後述するように、各ボックス内にオン時間又はオフ時間に相当する数値が表示されるのは、図2に示されるON/OF時間表示処理(ステップ204)が実行されたのちであり、グラフ表示処理(ステップ203)の段階では、未だ、数値表示は行われていない。   The ON / OFF time box column 136 corresponds to a main part of the present invention, and each of these boxes includes an ON pulse or an OFF pulse that crosses the cursor line 111 in the pulse column waveform of the corresponding display row. The time or off time is displayed numerically. Therefore, on-time or off-time corresponding to the pulse width of any on-pulse or off-pulse can be easily determined based on this numerical display. As will be described later, the numerical value corresponding to the on time or the off time is displayed in each box after the ON / OF time display process (step 204) shown in FIG. At the stage of the graph display process (step 203), numerical values are not yet displayed.

アナログ波形表示領域120の右隣には、アナログ関連情報表示領域140が設けられる。このアナログ関連情報表示領域140には、それぞれ上下方向へと配列された、チェックボックス列141と、波形色ボックス列142と、アドレス/コメント列143と、アナログ値ボックス列144とが設けられている。チェックボックス列141、波形色ボックス列142、アドレス/コメント列143のそれぞれについては、ビット関連情報表示領域130に含まれるチェックボックス列131、波形色ボックス列132、アドレス/コメント列133と同様であるから説明は省略する。   An analog related information display area 140 is provided on the right side of the analog waveform display area 120. The analog related information display area 140 is provided with a check box column 141, a waveform color box column 142, an address / comment column 143, and an analog value box column 144, which are arranged in the vertical direction. . The check box column 141, the waveform color box column 142, and the address / comment column 143 are the same as the check box column 131, the waveform color box column 132, and the address / comment column 133 included in the bit related information display area 130, respectively. The description will be omitted.

アナログ値ボックス列144には、色で識別される各アナログ波形上において、カーソル線111が示される時点のアナログデータの値が、数値表示される。従って、このアナログ値ボックス列144内の数値表示によって、時間軸方向における任意のカーソル位置におけるアナログデータの値を容易に判別することができる。   In the analog value box column 144, the value of the analog data at the time when the cursor line 111 is shown on each analog waveform identified by color is numerically displayed. Therefore, the value of the analog data at an arbitrary cursor position in the time axis direction can be easily determined by the numerical display in the analog value box column 144.

以上説明の中で、カーソル線111については、図から明らかなように、ビット波形表示領域110及びアナログ波形表示領域120を上下方向へ横切る直線上カーソル線とされている。つまり、このカーソル線111は、波形表示領域を時間軸と直交する方向へと横切る直線上カーソル線とされている。   In the above description, the cursor line 111 is a straight cursor line that crosses the bit waveform display area 110 and the analog waveform display area 120 in the vertical direction, as is apparent from the figure. That is, the cursor line 111 is a straight cursor line that crosses the waveform display area in a direction orthogonal to the time axis.

図2のフローチャートに戻って、ON/OFF時間表示処理204においては、カーソルの所定の確定操作が検出されたことを条件として、前記1行又は2行以上に表示されたパルス列波形上において、カーソルにより指定された時間軸方向の1点が属する位置のオンパルス又はオフパルスのパルス幅に相当するオン時間又はオフ時間を前記一連の時系列ビットデータに基づいて生成する処理と、生成されたオン時間又はオフ時間に対応するオン時間表示又はオフ時間表示を画面上の所定位置に行う処理とが実行される。   Returning to the flowchart of FIG. 2, in the ON / OFF time display processing 204, the cursor is displayed on the pulse train waveform displayed in the one line or two or more lines on condition that a predetermined confirming operation of the cursor is detected. A process for generating an on time or an off time corresponding to a pulse width of an on pulse or an off pulse at a position to which one point in the time axis direction designated by Processing for performing on-time display or off-time display corresponding to the off-time at a predetermined position on the screen is executed.

ON/OFF時間表示処理の詳細フローチャートが図3に示されている。同図において、処理が開始されると、カーソルの移動を繰り返しチェックしながら(ステップ301)、カーソルが移動したか又は停止したかを判定する(ステップ302)。すなわちこの例にあっては、カーソルの所定の確定操作は、クリックボタンなどの操作ではなくて、単にカーソルを一定時間以上停止状態に維持することによって実現されている。   A detailed flowchart of the ON / OFF time display process is shown in FIG. In the figure, when processing is started, it is determined whether the cursor has moved or stopped (step 302) while repeatedly checking the movement of the cursor (step 301). In other words, in this example, the predetermined confirmation operation of the cursor is realized not by an operation of a click button or the like but merely by maintaining the cursor in a stopped state for a certain time or more.

カーソル移動判定処理の詳細フローチャートが図4に示されている。同図において処理が開始されると、まずタイマを起動した後(ステップ401)、公知の手法で検出されるカーソル座標に基づき、カーソルが動いたか否か(ステップ402)及びタイマがタイムアップしたか(ステップ403)が繰り返し判定される。   A detailed flowchart of the cursor movement determination process is shown in FIG. When processing is started in the figure, after starting the timer (step 401), based on the cursor coordinates detected by a known method, whether the cursor has moved (step 402) and whether the timer has timed out (Step 403) is repeatedly determined.

ここで、カーソルが移動したものと判定されれば(ステップ402YES)、そのままカーソルは移動したとの判断が行われるのに対し(ステップ405)、カーソルが動かない状態のままで(ステップ402NO)、タイマがタイムアップした場合には(ステップ403YES)、カーソルは移動していないものとの判断が行われる(ステップ404)。   Here, if it is determined that the cursor has moved (YES in step 402), it is determined that the cursor has moved (step 405), while the cursor remains stationary (NO in step 402). If the timer has expired (step 403 YES), it is determined that the cursor has not moved (step 404).

これにより、ユーザは、上下方向へ伸びる直線状カーソル111を、時間軸方向の任意の位置へと移動させた後、その位置で所定時間以上停止させておくだけで、カーソルの確定操作が認識され、後述するように、表示のための演算が自動的に起動されることとなる。 再び図3に戻って、カーソルが移動しないものと判定されれば(ステップ302NO)、続いて、カーソルが指すデータインデックスを求める処理(ステップ303)及び現在のON/OFF状態の取得処理(ステップ304)が順次実行される。   As a result, the user can move the linear cursor 111 extending in the vertical direction to an arbitrary position in the time axis direction, and then stop the cursor at the position for a predetermined time or more, so that the cursor confirmation operation is recognized. As will be described later, calculation for display is automatically started. Returning to FIG. 3 again, if it is determined that the cursor does not move (NO in step 302), then a process for obtaining the data index pointed to by the cursor (step 303) and a process for acquiring the current ON / OFF state (step 304). ) Are executed sequentially.

ここで、図5(c)及び図6(c)に示されるように、PC20のメモリ内に設けられた内部テーブルには、データインデックスを示す数値と、データ取得時刻を示すタイムスタンプ(t)と、そのデータ取得時刻に得られた複数の変数のそれぞれのオンオフ状態を示すデータ列とが対となって、時系列的に格納されている。従って、先のステップ303,304においては、カーソル座標に基づき該当するデータインデックスを求め、そのデータインデックスに対応する複数の変数(変数No.1,変数No.2,・・・)のそれぞれのオンオフ状態を内部テーブルに基づき生成するわけである。   Here, as shown in FIGS. 5C and 6C, an internal table provided in the memory of the PC 20 includes a numerical value indicating a data index and a time stamp (t) indicating a data acquisition time. And a data string indicating the on / off state of each of the plurality of variables obtained at the data acquisition time are stored in a time series as a pair. Therefore, in the previous steps 303 and 304, the corresponding data index is obtained based on the cursor coordinates, and each of the plurality of variables (variable No. 1, variable No. 2,...) Corresponding to the data index is turned on / off. The state is generated based on the internal table.

続いて、前方の状態変化点(t1)の算出処理(ステップ305)が実行される。図5(a)に示されるように、前方の状態変化点算出処理においては、まず、データインデックスを1つずつデクリメントさせながら、その都度ON/OFF状態が変化したかどうか(ステップ502)及び先頭データへ達したか(ステップ503)の判定を行う。   Subsequently, a calculation process (step 305) of the front state change point (t1) is executed. As shown in FIG. 5A, in the forward state change point calculation process, first, while decrementing the data index one by one, whether the ON / OFF state has changed each time (step 502) and the head It is determined whether data has been reached (step 503).

今仮に、図5(b)に示されるように、カーソル111が指し示すデータインデックスが『3』であったとすれば、データインデックスのデクリメント処理(ステップ501)を2回繰り返すことによって、データインデックスを『3』から『1』まで戻すと、変数No.1に関しては、オン状態(“1”)からオフ状態(“0”)への状態変化が認められる。このとき、データインデックス『1』に対応して、タイムスタンプ(t)の値(2005/01/01 01:00:01)が求められる。   As shown in FIG. 5B, if the data index pointed to by the cursor 111 is “3”, the data index decrement process (step 501) is repeated twice, thereby changing the data index to “ If you return from “3” to “1”, the variable No. Regarding 1, the state change from the on state (“1”) to the off state (“0”) is recognized. At this time, the value of the time stamp (t) (2005/01/01 01:00:01) is obtained corresponding to the data index “1”.

一方、内部テーブル上において、データインデックスをデクリメントした結果(ステップ501)、ON/OFF状態が変化しないまま(ステップ502NO)、先頭データまで達してしまった場合には(ステップ503)、同様にして、データインデックス『0』に対応するタイムスタンプの値(2005/01/01 01:00:00)が算出される。   On the other hand, as a result of decrementing the data index on the internal table (step 501), if the ON / OFF state remains unchanged (NO in step 502) and the top data has been reached (step 503), similarly, A time stamp value (2005/01/01 01: 00: 00: 00) corresponding to the data index “0” is calculated.

このことが図5(b)のパルス列波形に概念的に示されている。すなわち、図5(a)のフローチャートに示される処理が実行される結果、カーソル111の指し示す位置はデータインデックス『3』であるのに対し、そのオンパルスの「始点」である時刻t1に相当するタイムスタンプデータが自動的に取得されるわけである。   This is conceptually shown in the pulse train waveform of FIG. That is, as a result of executing the processing shown in the flowchart of FIG. 5A, the position indicated by the cursor 111 is the data index “3”, while the time corresponding to the time t1 that is the “starting point” of the on-pulse. Stamp data is automatically acquired.

再び図3のフローチャートに戻って、続いて、後方の状態変化点(t2)の算出処理(ステップ306)が実行される。図6(a)に示されるように、処理が開始されると、データインデックスを1つずつインクリメントしながら(ステップ601)、その都度ON/オフ状態が変化したか(ステップ602)及び最終データに達したか(ステップ603)の判定が繰り返し実行される。   Returning to the flowchart of FIG. 3 again, the calculation process (step 306) of the rear state change point (t2) is executed. As shown in FIG. 6A, when the process is started, the data index is incremented by 1 (step 601), and each time the ON / OFF state changes (step 602) and the final data is displayed. The determination of whether or not it has been reached (step 603) is repeatedly executed.

すると、図6(b)に示されるように、当初のカーソル位置はデータインデックス『3』であるから、データインデックスを2回インクリメントしてデータインデックスの値が『5』になった時点で、ON/OFF状態の変化が検出され(ステップ602YES)、直ちにそのオンパルスの「終点」である時刻t2に相当するデータインデックス『4』(インデックスを1つ戻す)に対応するタイムスタンプの値(2005/01/01 01:00:04)が取得される。   Then, as shown in FIG. 6B, since the initial cursor position is the data index “3”, it is turned ON when the data index is incremented twice and the value of the data index becomes “5”. / OFF state change is detected (YES in step 602), and the value of the time stamp (2005/01) corresponding to the data index “4” (returns one index) corresponding to the time t2, which is the “end point” of the on-pulse immediately. / 01 01:00:04) is acquired.

一方、データインデックスのインクリメントを続けた結果(ステップ601)、ON/オフ状態が変化しないまま(ステップ602NO)、最終データにまで達した場合には(ステップ603YES)、同様にして、データインデックス『7』に対応するタイムスタンプ(t)の値(2005/01/01 01:00:07)の算出が実行される(ステップ604)。   On the other hand, as a result of continuing incrementing the data index (step 601), when the ON / OFF state remains unchanged (NO in step 602) and the final data is reached (YES in step 603), the data index “7” is similarly processed. ”(2005/01/01 01:00:07) corresponding to the time stamp (t) is calculated (step 604).

再び図3に戻って、続いて時間差の計算処理が実行される(ステップ307)。図7(a),(b)に示されるように、以上の後方処理ならびに前方処理が完了すると、後方の状態変化に対応してはデータインデックス『4』が、また前方の状態変化に対してはデータインデックス『1』が取得され、それらに基づいて2つの時刻情報(2005/01/01 01:00:04,2005/01/01 00:00:01)が求められる。従って、それらのタイムスタンプで示される時刻情報を差引演算することによって、カーソル111で指し示されたオンパルス又はオフパルスのパルス幅に相当するオン時間又はオフ時間が求められる。   Returning to FIG. 3 again, a time difference calculation process is subsequently executed (step 307). As shown in FIGS. 7A and 7B, when the above backward process and forward process are completed, the data index “4” corresponds to the backward state change, and the forward state change also occurs. The data index “1” is acquired, and two pieces of time information (2005/01/01 01:00:04, 2005/01/01 00:00:01) are obtained based on the data index “1”. Accordingly, by subtracting the time information indicated by these time stamps, the on time or off time corresponding to the pulse width of the on pulse or off pulse indicated by the cursor 111 is obtained.

再び図3に戻って、最後にこうして得られた時間差情報は画面100上に表示される(ステップ308)。図9(a)に示されるように、カーソル111が時間軸上において例えば表示列L1のパルス列におけるオンパルス上に位置する場合、ON/OFF時間ボックス列136には、カーソル111がオンパルス上に位置するかオフパルス上に位置するかに応じて、オン時間又はオフ時間が数値表示される。   Returning again to FIG. 3, the time difference information thus obtained is finally displayed on the screen 100 (step 308). As shown in FIG. 9A, when the cursor 111 is positioned on the on-pulse in the pulse train of the display train L1, for example, the cursor 111 is located on the on-pulse in the ON / OFF time box train 136. Depending on whether it is located on the off pulse, the on time or off time is displayed numerically.

同図(b)に示されるように、カーソル111が、表示行L1に対応するパルス列波形上においてオフパルス上にあるときには、同様にして各表示行に対応するON/OFF時間ボックス列136には、カーソル位置が示すオンパルス又はオフパルスのオン時間又はオフ時間がそれぞれ数値表示される。   As shown in FIG. 5B, when the cursor 111 is on an off pulse on the pulse train waveform corresponding to the display row L1, the ON / OFF time box row 136 corresponding to each display row is similarly The ON time or OFF time of the ON pulse or OFF pulse indicated by the cursor position is numerically displayed.

このとき、図から明らかなように、オン時間表示又はオフ時間表示(136)には、これと隣接してオンオフ状態表示(134,135)が設けられているため、例えばカーソル線111がオンパルス又はオフパルスの前後エッジ位置に位置していて、カーソル線と波形エッジとの関係が見にくい場合にも、表示された数値がオン時間を表しているかオフ時間を表しているかを見誤ることはない。   At this time, as apparent from the figure, the on-time display or the off-time display (136) is provided with an on / off state display (134, 135) adjacent thereto, so that the cursor line 111 is turned on or off, for example. Even when the relationship between the cursor line and the waveform edge is difficult to see because it is located at the front and rear edge positions of the off pulse, it is not mistaken whether the displayed numerical value represents the on time or the off time.

最後に、テーブルのデータ構造を示す説明図が図10に示されている。同図(a)に示される変数テーブルは、データ収集ユニット(SPU)15から読み出されるもので、PC20内に格納され、この変数テーブルを参照して、同図(b)に示される内部テーブルが作成される。先に説明したように、この内部テーブルは、データ取得時刻に対応するタイムスタンプ毎に、そのとき取得された複数の変数を一括して記憶し、これを1レコードとしてデータインデックス毎に蓄積して時系列的に構成したものである。   Finally, an explanatory diagram showing the data structure of the table is shown in FIG. The variable table shown in FIG. 9A is read from the data collection unit (SPU) 15 and is stored in the PC 20, and the internal table shown in FIG. Created. As described above, this internal table stores a plurality of variables acquired at a time for each time stamp corresponding to the data acquisition time, and accumulates this for each data index as one record. It is constructed in time series.

また、図11に示されるものは、先に説明した、前方の状態変化点算出処理(ステップ305)及び後方の状態変化点算出処理(ステップ306)の要部の詳細を示すものである。同図(a)に示されるように、カーソル111が指し示す位置を挟んでその前後に状態変化点が存在する場合には、その状態変化に基づいて、始点及び終点を認識することができる。また、同図(b)に示されるように、カーソル111で示される位置の後方にデータが途絶えている場合には、その途絶えた点を始点としてオン時間又はオフ時間の算出が行われる。さらに、同図(c)に示されるように、カーソル111で指し示される位置を挟んでその前後いずれにも状態変化点が存在せず、データが途切れているような場合には、そのデータの途切れた時点を始点及び終点としてオン時間又はオフ時間の算出が行われる。   FIG. 11 shows the details of the main parts of the front state change point calculation process (step 305) and the rear state change point calculation process (step 306) described above. As shown in FIG. 6A, when there are state change points before and after the position indicated by the cursor 111, the start point and the end point can be recognized based on the state change. Also, as shown in FIG. 5B, when the data is interrupted behind the position indicated by the cursor 111, the on time or the off time is calculated from the point at which the data was interrupted. Furthermore, as shown in FIG. 6C, when there is no state change point before and after the position indicated by the cursor 111 and the data is interrupted, The on-time or off-time is calculated with the point of interruption as the start point and end point.

従って、取得された変数がたまたま画面の表示エリアにおいてオン状態からオフ状態又はオフ状態からオン状態への変化がなかったり、あるいは全く状態変化が存在しないような場合においても、オン時間表示又はオフ時間表示において、表示不能を来すことがないという利点がある。   Therefore, even when the acquired variable happens to change from the on state to the off state, from the off state to the on state, or there is no state change at all in the display area of the screen, the on time display or off time is displayed. There is an advantage that display cannot be disabled in display.

この発明によれば、特定のオンパルスのオン時間又はオフパルスのオフ時間を測定しようとする場合、それらのオンパルス又はオフパルスに含まれる任意の1点にカーソルを合わせて所定の確定操作を行えば、その1点を含むオンパルス又はオフパルスのオン時間又はオフ時間が自動的に計測されて表示されるから、カーソルの位置合わせのための労力が半減され、様々な位置に存在するパルスのオン時間又はオフ時間を迅速に計測することができる。   According to the present invention, when the on-time of a specific on-pulse or the off-time of an off-pulse is to be measured, if a predetermined confirming operation is performed by placing the cursor on any one point included in those on-pulse or off-pulse, Since the on-time or off-time of an on-pulse or off-pulse including one point is automatically measured and displayed, the labor for aligning the cursor is halved, and the on-time or off-time of pulses present at various positions Can be measured quickly.

データ収集ユニットを含むPLCシステムの構成図である。It is a block diagram of a PLC system including a data collection unit. PCの表示処理全体を示すゼネラルフローチャートである。It is a general flowchart which shows the whole display process of PC. ON/OFF時間表示処理の詳細フローチャートである。It is a detailed flowchart of ON / OFF time display processing. カーソル移動判定処理の詳細フローチャートである。It is a detailed flowchart of a cursor movement determination process. 前方の状態変化点算出処理の詳細フローチャートである。It is a detailed flowchart of a state change point calculation process ahead. 後方の状態変化点算出処理の詳細フローチャートである。It is a detailed flowchart of a rear state change point calculation process. 時間差計算処理の説明図である。It is explanatory drawing of a time difference calculation process. 画面全体のイメージ図である。It is an image figure of the whole screen. 本発明の作用を説明する画面イメージ図である。It is a screen image figure explaining the effect | action of this invention. テーブルのデータ構造を示す説明図である。It is explanatory drawing which shows the data structure of a table. ON時間の演算態様の変形例を示す図である。It is a figure which shows the modification of the calculation aspect of ON time. コメント表示状態における画面要部を示す図である。It is a figure which shows the screen principal part in a comment display state.

符号の説明Explanation of symbols

10 プログラマブル・ロジック・コントローラ(PLC)
11 CPUユニット
12 通信ユニット
13 I/Oユニット
15 データ収集ユニット(SPU)
20 パーソナル・コンピュータ(PC)
30 情報系のネットワーク
31 入出力信号ライン
32 アクチュエータ
33 センサ
34 シリアル通信ライン
35 表示器
100 画面
101 左シフトボタン
102 センタリングボタン
103 右シフトボタン
110 ビット波形表示領域
111 直線上カーソル線
120 アナログ波形表示領域
130 ビット関連情報表示領域
131 チェックボックス列
132 波形色ボックス列
133 アドレス/コメント列
134 ビット値色ボックス列
135 ビット値文字列
136 ON/OFF時間ボックス列
137 切り替えボタン
140 アナログ関連情報表示領域
141 チェックボックス列
142 波形色ボックス列
143 アドレス/コメント列
144 アナログ値ボックス列
L1〜L16 表示行
t1 始点
t2 終点
10 Programmable logic controller (PLC)
11 CPU unit 12 Communication unit 13 I / O unit 15 Data collection unit (SPU)
20 Personal computer (PC)
30 Information System Network 31 Input / Output Signal Line 32 Actuator 33 Sensor 34 Serial Communication Line 35 Display 100 Screen 101 Left Shift Button 102 Centering Button 103 Right Shift Button 110 Bit Waveform Display Area 111 Linear Cursor Line 120 Analog Waveform Display Area 130 Bit related information display area 131 Check box row 132 Waveform color box row 133 Address / comment row 134 Bit value color box row 135 Bit value character string 136 ON / OFF time box row 137 Switch button 140 Analog related information display region 141 Check box row 142 waveform color box column 143 address / comment column 144 analog value box column L1 to L16 display line t1 start point t2 end point

Claims (5)

データ収集ユニットがプログラマブル・コントローラのメモリから収集した複数の変数の各収集時点の値のそれぞれに相当する一連の時系列ビットデータを画像表示器を介してモニタするための方法であって、
前記収集された複数の変数のそれそれに関する一連の時系列ビットデータのうちの1又は2以上に相当するパルス列波形を前記画像表示器の画面上に1行又は2行以上にわたり並べて表示させると共に、当該パルス列波形表示領域上における時間軸方向の1点を指定可能な所定カーソルを表示させる第1のステップと、
前記カーソルの所定の確定操作が検出されたことを条件として、前記1行又は2行以上に表示されたパルス列波形上において、前記カーソルにより指定された時間軸方向の1点が属する1のオンパルス又は1のオフパルスのパルス幅に相当するオン時間又はオフ時間を前記一連の時系列ビットデータに基づいて生成する第2のステップと、
前記第3のステップで生成されたオン時間又はオフ時間に対応するオン時間表示又はオフ時間表示を前記画面上の所定位置に行う第3のステップと、を具備する、
ことを特徴とする収集データのモニタ方法。
A method for monitoring, via an image display, a series of time-series bit data corresponding to each of the collection time values of a plurality of variables collected from a memory of a programmable controller by a data collection unit,
A pulse train waveform corresponding to one or more of a series of time-series bit data related to each of the collected variables is displayed side by side on one or more lines on the screen of the image display; A first step of displaying a predetermined cursor capable of designating one point in the time axis direction on the pulse train waveform display region;
On the condition that a predetermined confirming operation of the cursor is detected, one on-pulse to which one point in the time axis direction designated by the cursor belongs on the pulse train waveform displayed on the one line or two or more lines A second step of generating an on time or an off time corresponding to a pulse width of one off pulse based on the series of time-series bit data;
A third step of performing on-time display or off-time display corresponding to the on-time or off-time generated in the third step at a predetermined position on the screen,
A method for monitoring collected data.
前記第2のステップが、各パルス列波形上において前記カーソルにより指定された時間軸方向の1点におけるオンオフ状態とそのオンオフ状態の時系列ビットデータ上における各前後へのオン状態又はオフ状態の連続性とに基づいて、当該1のオンパルス又は1のオフパルスの始点及び終点に相当する時刻を求め、それら始点時刻と終点時刻とから1のオンパルス又は1のオフパルスのパルス幅に相当するオン時間又はオフ時間を生成する、
ことを特徴とする請求項1に記載の収集データのモニタ方法。
In the second step, the on / off state at one point in the time axis direction designated by the cursor on each pulse train waveform and the continuity of the on / off state before and after each on the time-series bit data of the on / off state Based on the above, the time corresponding to the start point and end point of the one on pulse or one off pulse is obtained, and the on time or off time corresponding to the pulse width of one on pulse or one off pulse from the start point time and end point time Generate
The method for monitoring collected data according to claim 1.
データ収集ユニットがプログラマブル・コントローラのメモリから収集した複数の変数の各収集時点の値のそれぞれに相当する一連の時系列ビットデータを画像表示器を介してモニタするための装置であって、
前記収集された複数の変数のそれそれに関する一連の時系列ビットデータのうちの1又は2以上に相当するパルス列波形を前記画像表示器の画面上に1行又は2行以上にわたり並べて表示させると共に、当該パルス列波形表示領域上における時間軸方向の1点を指定可能な所定カーソルを表示させる第1の手段と、
前記カーソルの所定の確定操作が検出されたことを条件として、前記1行又は2行以上に表示されたパルス列波形上において、前記カーソルにより指定された時間軸方向の1点が属する1のオンパルス又は1のオフパルスのパルス幅に相当するオン時間又はオフ時間を前記一連の時系列ビットデータに基づいて生成する第2の手段と、
前記第3のステップで生成されたオン時間又はオフ時間に対応するオン時間表示又はオフ時間表示を前記画面上の所定位置に行う第3の手段と、を具備する、
ことを特徴とする収集データのモニタ装置。
An apparatus for monitoring a series of time-series bit data corresponding to each value at each collection time of a plurality of variables collected from a memory of a programmable controller by a data collection unit via an image display,
A pulse train waveform corresponding to one or more of a series of time-series bit data related to each of the collected plurality of variables is displayed side by side over one or more lines on the screen of the image display; First means for displaying a predetermined cursor capable of designating one point in the time axis direction on the pulse train waveform display region;
On the condition that a predetermined confirming operation of the cursor is detected, one on-pulse to which one point in the time axis direction designated by the cursor belongs on the pulse train waveform displayed on the one line or two or more lines Second means for generating an on time or an off time corresponding to a pulse width of one off pulse based on the series of time-series bit data;
And third means for performing on-time display or off-time display corresponding to the on-time or off-time generated in the third step at a predetermined position on the screen,
An apparatus for monitoring collected data.
前記第2の手段が、各パルス列波形上において前記カーソルにより指定された時間軸方向の1点におけるオンオフ状態とそのオンオフ状態の時系列ビットデータ上における各前後へのオン状態又はオフ状態の連続性とに基づいて、当該1のオンパルス又は1のオフパルスの始点及び終点に相当する時刻を求め、それら始点時刻と終点時刻とから1のオンパルス又は1のオフパルスのパルス幅に相当するオン時間又はオフ時間を生成する、
ことを特徴とする請求項3に記載の収集データのモニタ装置。
The second means is a continuity between the on / off state at one point in the time axis direction designated by the cursor on each pulse train waveform and the on / off state before and after each on the time-series bit data of the on / off state. Based on the above, the time corresponding to the start point and end point of the one on pulse or one off pulse is obtained, and the on time or off time corresponding to the pulse width of one on pulse or one off pulse from the start point time and end point time Generate
The collected data monitoring apparatus according to claim 3.
請求項1又は2に記載の方法をコンピュータにより実行させるためのコンピュータプログラム。   A computer program for causing a computer to execute the method according to claim 1.
JP2006034507A 2006-02-10 2006-02-10 Collected data monitoring method and device Pending JP2007213449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006034507A JP2007213449A (en) 2006-02-10 2006-02-10 Collected data monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006034507A JP2007213449A (en) 2006-02-10 2006-02-10 Collected data monitoring method and device

Publications (1)

Publication Number Publication Date
JP2007213449A true JP2007213449A (en) 2007-08-23

Family

ID=38491806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006034507A Pending JP2007213449A (en) 2006-02-10 2006-02-10 Collected data monitoring method and device

Country Status (1)

Country Link
JP (1) JP2007213449A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780656A (en) * 2018-07-31 2020-02-11 佳能株式会社 Production system and method for producing articles
US11227567B2 (en) 2019-01-28 2022-01-18 Mitsubishi Electric Corporation Device state reproduction device, device state reproduction method, and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10143237A (en) * 1996-11-14 1998-05-29 Matsushita Electric Works Ltd Control operation analyzing method and analyzer using the method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10143237A (en) * 1996-11-14 1998-05-29 Matsushita Electric Works Ltd Control operation analyzing method and analyzer using the method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780656A (en) * 2018-07-31 2020-02-11 佳能株式会社 Production system and method for producing articles
CN110780656B (en) * 2018-07-31 2024-03-05 佳能株式会社 Production system and method for producing articles
US11227567B2 (en) 2019-01-28 2022-01-18 Mitsubishi Electric Corporation Device state reproduction device, device state reproduction method, and storage medium

Similar Documents

Publication Publication Date Title
US10754332B2 (en) Monitoring device that performs monitoring on operations of an actual machine
JP6626315B2 (en) Monitoring device for programmable logic controller and programmable logic controller system
JP2020013527A (en) Programmable logic controller and program formation assistance device
US10139805B2 (en) Ladder diagram monitoring device capable of additionally displaying operation situation of CNC in comment
CA2795531A1 (en) Method for displaying a programmable sequence for one or more machines that follow a cyclic sequence of operations
US20040210868A1 (en) Icons and icon representation of process steps for graphic visualization of task-oriented steps
JP2007213449A (en) Collected data monitoring method and device
JP2007213451A (en) Collected data monitoring method and device
JP6474447B2 (en) Information processing device
CN104142897A (en) Visual configuration method for integrated circuit production line monitoring system
JP5996150B2 (en) Programmable display and drawing software
US20230244360A1 (en) Automation management interface with multiple asset display
CN115210047A (en) Offline programming device and offline programming method
JP2006285496A (en) Programmable display unit, display control program and recording medium with the program recorded thereon
CN113557493B (en) Development support device, control method for development support device, and recording medium
CN106463095B (en) Drawing practice
CN113348415B (en) Device state reproducing device, method and storage medium
KR101916771B1 (en) Method for managing a monitoring apparatus
JP2007219658A (en) Monitor method and device for collection data
JP7247808B2 (en) Control system, analysis method and program
US11971696B2 (en) Programmable logic controller
JP2007010891A (en) Display device, control program, and recording medium having the program recorded therein
US20220317648A1 (en) Programmable logic controller
JP6773732B2 (en) Trace device
EP4062271A1 (en) Automation management interface with multiple asset display

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110316

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110323

A02 Decision of refusal

Effective date: 20110816

Free format text: JAPANESE INTERMEDIATE CODE: A02