JPH076058A - Method for monitoring process run time - Google Patents

Method for monitoring process run time

Info

Publication number
JPH076058A
JPH076058A JP5147483A JP14748393A JPH076058A JP H076058 A JPH076058 A JP H076058A JP 5147483 A JP5147483 A JP 5147483A JP 14748393 A JP14748393 A JP 14748393A JP H076058 A JPH076058 A JP H076058A
Authority
JP
Japan
Prior art keywords
time
unit
upper limit
traveling
margin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5147483A
Other languages
Japanese (ja)
Other versions
JP2826442B2 (en
Inventor
Junichi Kaneko
淳一 金子
弘明 ▲はが▼
Hiroaki Haga
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP5147483A priority Critical patent/JP2826442B2/en
Publication of JPH076058A publication Critical patent/JPH076058A/en
Application granted granted Critical
Publication of JP2826442B2 publication Critical patent/JP2826442B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To provide the method capable of remarkably improving time monitoring accuracy in a method which monitors the process time. CONSTITUTION:The upper limit of a run time is set (step 100) as to a specified unit among process units which are hierarchically called according to a user input and the process including the specified unit begins to repeatedly be executed (step 110); and the run time of the specified unit except the run time of units in layers below the unit is measured (step 120) each time the process is executed and when the measured run time reaches the upper limit of the set run time, it is informed as abnormality that the run time is exceeded (step 130).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、処理時間が予め設定さ
れた時間を超過したときに異常通知を行なう方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of notifying an abnormality when a processing time exceeds a preset time.

【0002】製造、加工などを行う装置の制御がコンピ
ュータを用いて行なわれるシステムでは、処理時間が厳
密に管理されることにより、適切なタイミングで駆動さ
れ、製造、加工等の作業が行われる。
In a system in which a computer for controlling manufacturing and processing is controlled by using a computer, the processing time is strictly managed so that the apparatus is driven at appropriate timing to perform manufacturing, processing, and other operations.

【0003】[0003]

【従来の技術】図14には鋼板切断の制御を行なうシス
テムの構成が示されており、鋼板1400は同図の右側
から左側へ搬送され、カッタ1402で一定の長さに切
断される。
2. Description of the Related Art FIG. 14 shows the structure of a system for controlling the cutting of a steel sheet. A steel sheet 1400 is conveyed from the right side to the left side in the figure, and is cut into a certain length by a cutter 1402.

【0004】さらに、カッタ1402はアクチュエータ
1404により駆動され、鋼板1400の搬送速度がセ
ンサ1406により検出されるそのセンサ1406の検
出信号は制御用コンピュータ1408に入力され、アク
チュエータ1404には制御用コンピュータ1408か
らカッタ駆動の制御信号が与えられる。
Further, the cutter 1402 is driven by an actuator 1404, and the conveyance speed of the steel plate 1400 is detected by a sensor 1406. The detection signal of the sensor 1406 is input to a control computer 1408, and the actuator 1404 is controlled by the control computer 1408. A control signal for driving the cutter is given.

【0005】また、制御用コンピュータ1408はネッ
トワーク1410を介して監視用コンピュータ1412
の本体1414と結ばれ、監視用コンピュータ1412
の本体1414には必要な情報をユーザに表示するディ
スプレイ1416,ユーザの操作するキーボード141
8が設けられる(ユーザが使用するディスプレイ,キー
ボードを制御用コンピュータ1408に設けても良
い)。
The control computer 1408 is also a monitoring computer 1412 via a network 1410.
Connected to the body 1414 of the computer 1412 for monitoring
A main body 1414 of the display 1416 for displaying necessary information to the user, a keyboard 141 operated by the user
8 is provided (a display and a keyboard used by the user may be provided in the control computer 1408).

【0006】制御用コンピュータ1408では図15の
ようにプロセスP1からプロセスP2が起動されてお
り、プロセス2においては、メインルーチンPM(ma
in)からサブルーチンPS1,PS3(PS1は鋼板
1400を次に切断するタイミングを求め、PS3は制
御信号を出力させてアクチュエータ1404にカッタ1
402を駆動させる)が呼び出され、サブルーチンPS
1から別のサブルーチンPS2(センサ1406の検出
信号から鋼板1400の搬送速度を算出する)が呼び出
される。
In the control computer 1408, processes P1 to P2 are activated as shown in FIG. 15, and in process 2, the main routine PM (ma)
in) from the subroutines PS1 and PS3 (PS1 determines the timing to cut the steel plate 1400 next, and PS3 outputs a control signal to the actuator 1404 to the cutter 1
Drive 402) is called and the subroutine PS
From 1 to another subroutine PS2 (calculate the transport speed of the steel plate 1400 from the detection signal of the sensor 1406) is called.

【0007】このように処理単位(ルーチン)が階層的
に呼び出される場合、従来においては、時間監視の対象
となる処理単位がそれ自身で走行する時間とその処理単
位から階層的に呼び出される処理単位の監視時間が合計
されたものとを和した時間が監視時間として設定され、
設定の監視時間を越えて監視対象の処理単位が走行する
ときに処理時間超過の異常がユーザへ通知される。
When the processing units (routines) are hierarchically called in this way, conventionally, the processing unit which is the object of time monitoring travels by itself and the processing unit which is hierarchically called from the processing unit. The sum of the total monitoring time of and the monitoring time is set as the monitoring time,
When the processing unit to be monitored runs for longer than the set monitoring time, the user is notified of the abnormality of the processing time excess.

【0008】例えば図16において、プロシージャPS
−Aが単独で走行する時間とプロシージャPS−Aから
呼び出されるプロシージャPS−Bの監視時間とを和し
たものがプロシージャPS−Aの監視時間として設定さ
れ、この監視時間を越えてプロシージャPS−Aが走行
するときに、処理時間超過の異常がユーザへ通知され
る。
For example, referring to FIG. 16, the procedure PS
The sum of the time that A-runs alone and the monitoring time of procedure PS-B called from procedure PS-A is set as the monitoring time of procedure PS-A. Beyond this monitoring time, procedure PS-A is exceeded. When the vehicle is traveling, the user is notified of an abnormality of excess processing time.

【0009】[0009]

【発明が解決しようとする課題】従来においては、対象
となる処理単位が走行する時間に下層側の監視時間が全
て積み上げられてその処理単位の監視時間が設定される
ので、処理単位呼び出しの階層構造が複雑なシステムの
場合、対象となる処理単位の監視時間が誤差の大きなも
のとなる。
In the prior art, since the monitoring time of the lower layer side is accumulated and the monitoring time of the processing unit is set at the time when the target processing unit is running, the processing unit calling hierarchy is set. In the case of a system having a complicated structure, the monitoring time of the target processing unit has a large error.

【0010】本発明は上記従来の事情に鑑みてなされた
ものであり、その目的は、処理時間の監視を正確に行な
うことが可能となる方法を提供することにある。
The present invention has been made in view of the above conventional circumstances, and an object of the present invention is to provide a method capable of accurately monitoring the processing time.

【0011】[0011]

【課題を解決するための手段】[Means for Solving the Problems]

第1発明:図1において、階層的に呼び出される処理単
位のうち指定された単位について走行時間の上限をユー
ザ入力に従い設定し(ステップ100)、指定された単
位を含む処理の繰り返し実行を開始し(ステップ11
0)、指定された単位の走行時間で該単位より下層側と
なる単位の走行時間が除かれる時間を処理実行毎に計測
し(ステップ120)、設定された走行時間の上限へ計
測された走行時間が達したときに走行時間超過の異常通
知を出力する(ステップ130)、ことを特徴としてい
る。
First invention: In FIG. 1, the upper limit of the running time is set according to a user input for a designated unit among the hierarchically called process units (step 100), and the repetitive execution of the process including the designated unit is started. (Step 11
0), the time when the traveling time of the unit on the lower layer side is excluded from the traveling time of the designated unit is measured for each processing execution (step 120), and the traveling time measured to the upper limit of the set traveling time is measured. It is characterized in that when the time has come, an abnormality notification indicating that the traveling time has exceeded is output (step 130).

【0012】第2発明:図2において、階層的に呼び出
される処理単位のうち指定された単位について走行時間
の上限をユーザ入力に従い設定し(ステップ100)、
ユーザ入力の割合で示される余裕分を設定された走行時
間の上限に加算して該上限を変更設定し(ステップ10
1)、指定された単位を含む処理の繰り返し実行を開始
し(ステップ110)、指定された単位の走行時間で該
単位より下層側となる単位の走行時間が除かれた時間を
前記処理の各実行中において計測し(ステップ12
0)、設定された走行時間の上限へ計測された走行時間
が達したときに走行時間超過の異常通知を出力する(ス
テップ130)、ことを特徴としている。
Second invention: In FIG. 2, the upper limit of the running time is set in accordance with a user input for a designated unit among the hierarchically called processing units (step 100),
The margin indicated by the ratio of the user input is added to the upper limit of the set traveling time and the upper limit is changed and set (step 10).
1) The repeated execution of the process including the designated unit is started (step 110), and the time obtained by excluding the traveling time of the unit on the lower layer side from the traveling time of the designated unit is used for each of the above processes. Measured during execution (step 12
0), when the measured traveling time reaches the upper limit of the set traveling time, the abnormality notification of the traveling time excess is output (step 130).

【0013】第3発明:図3において、階層的に呼び出
される処理単位のうち指定された単位より下層側となる
単位を全て特定し(ステップ102)、特定された各単
位について走行時間の上限をユーザ入力に従い設定し
(ステップ103)、ユーザ入力の割合で示される余裕
分を設定された走行時間の上限に加算し(ステップ10
4)、指定された単位が走行する時間の上限を余裕分が
加算された上限の積算により求めてユーザに通知し(ス
テップ105)、指定された単位を含む処理の繰り返し
実行を開始し(ステップ110)、特定された単位の走
行時間で該単位より下層側の単位が走行した時間の除か
れる時間を前記処理の各実行中において計測し(ステッ
プ120)、余裕分が加算された上限のいずれかへ該当
の計測時間が達したときに走行時間超過の異常通知を出
力する(ステップ130)、ことを特徴としている。
Third invention: In FIG. 3, all the units that are lower than the designated unit among the hierarchically called processing units are specified (step 102), and the upper limit of the running time is set for each specified unit. It is set according to the user input (step 103), and the margin shown by the ratio of the user input is added to the upper limit of the set traveling time (step 10).
4) Then, the upper limit of the traveling time of the designated unit is obtained by accumulating the upper limit to which the margin is added and notified to the user (step 105), and the repetitive execution of the process including the designated unit is started (step 105). 110), the time during which the unit running on the lower layer side is excluded from the running time of the specified unit is measured during each execution of the process (step 120), and any one of the upper limits to which the margin is added is measured. It is characterized in that when the corresponding measurement time is reached, an abnormality notification indicating that the traveling time has been exceeded is output (step 130).

【0014】第4発明:図4において、階層的に呼び出
される処理単位のうち指定された単位より下層側となる
単位を全て特定し(ステップ102)、特定された各単
位について走行時間の上限をユーザ入力に従い設定し
(ステップ103)、ユーザ入力の割合で示される余裕
分を設定された走行時間の上限に加算し(ステップ10
4)、指定された単位が走行する時間の上限を余裕分が
加算された上限の積算により求めてユーザに通知し(ス
テップ105)、指定された単位を含む処理の繰り返し
実行を開始し(ステップ110)、特定された単位の走
行時間で該単位より下層側の単位が走行した時間の除か
れる時間を前記処理の各実行中において計測し(ステッ
プ120)、余裕分が加算された上限のいずれかへ該当
の計測時間が達したときに走行時間超過の異常通知を出
力し(ステップ130)、指定された単位を含む処理が
正常終了する毎に各計測時間の平均値を求めて余裕分が
加算された上限を該当の平均値とユーザ入力の割合とに
より更新する(ステップ140)、ことを特徴としてい
る。
Fourth invention: In FIG. 4, all the units which are lower than the designated unit among the hierarchically called processing units are specified (step 102), and the upper limit of the running time of each specified unit is set. It is set according to the user input (step 103), and the margin shown by the ratio of the user input is added to the upper limit of the set traveling time (step 10).
4) Then, the upper limit of the traveling time of the designated unit is obtained by accumulating the upper limit to which the margin is added and notified to the user (step 105), and the repetitive execution of the process including the designated unit is started (step 105). 110), the time during which the unit running on the lower layer side is excluded from the running time of the specified unit is measured during each execution of the process (step 120), and any one of the upper limits to which the margin is added is measured. When the corresponding measurement time is reached, an abnormality notification indicating that the running time has been exceeded is output (step 130), and the average value of each measurement time is calculated each time the processing including the specified unit ends normally, and the margin is left. It is characterized in that the added upper limit is updated by the corresponding average value and the ratio of user input (step 140).

【0015】[0015]

【作用】図5では第1発明,第2発明の作用が、また、
図6では第3発明,第4発明の作用が各々説明されてい
る。
In FIG. 5, the operation of the first invention and the second invention is
In FIG. 6, the operations of the third invention and the fourth invention are respectively described.

【0016】第1発明においては、処理単位PS−aが
純粋に単独で走行する時間が監視時間(走行時間の上
限)として取り扱われ、処理単位PS−bの監視時間
(走行時間)は処理単位PS−aの監視時間から除かれ
る。
In the first aspect of the invention, the time when the processing unit PS-a runs purely is treated as the monitoring time (upper limit of the running time), and the monitoring time (running time) of the processing unit PS-b is the processing unit. It is excluded from the monitoring time of PS-a.

【0017】また第2発明においては、監視時間の余裕
分がその監視時間に対する割合の形でユーザ入力されて
走行時間の上限に加算され、この加算結果へ監視時間が
変更設定される。
In the second aspect of the invention, the margin of the monitoring time is input by the user in the form of a ratio to the monitoring time and added to the upper limit of the traveling time, and the monitoring time is changed and set to the addition result.

【0018】さらに第3発明においては、処理単位PS
−aの監視時間と処理単位PS−bの監視時間とが和さ
れてユーザへ通知され、したがって、ユーザは通知され
た監視時間の和から性能を評価できる。
Further, in the third invention, the processing unit PS
The monitoring time of -a and the monitoring time of the processing unit PS-b are summed and notified to the user. Therefore, the user can evaluate the performance from the sum of the notified monitoring times.

【0019】そして第4発明においては、処理単位PS
−aが正常終了する毎に、処理単位PS−aが走行した
時間(計測したもの)の平均値が求められ、この平均値
とユーザ入力の割合とを用いて処理単位PS−aの監視
時間が実際に即したものへ更新される。
In the fourth invention, the processing unit PS
Each time -a ends normally, the average value of the time (measured) that the processing unit PS-a has traveled is obtained, and the monitoring time of the processing unit PS-a is calculated using this average value and the ratio of user input. Will be updated to match the actual situation.

【0020】[0020]

【実施例】以下、図面に基づいて本発明にかかる処理走
行時間監視方法の好適な実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of a processing travel time monitoring method according to the present invention will be described below with reference to the drawings.

【0021】図7,図8においては実施例の作用がフロ
ーチャートを用いて説明されており、図9,図10,図
11,図12,図13ではユーザに表示出力される画面
の内容が示されている。
In FIGS. 7 and 8, the operation of the embodiment is described using a flow chart, and in FIGS. 9, 10, 11, 12 and 13, the contents of the screen displayed and output to the user are shown. Has been done.

【0022】ユーザ入力で図15におけるプロセスP2
(鋼板切断のメインルーチンPM:main)が指定さ
れると(ステップ700)、そのメインルーチンPMか
ら階層的に呼び出される全てのサブルーチンPS1,P
S2,PS3が特定される(ステップ702)。
User input, process P2 in FIG.
When (main routine PM for steel plate cutting: main) is designated (step 700), all subroutines PS1, P hierarchically called from the main routine PM.
S2 and PS3 are specified (step 702).

【0023】次に図9の画面表示が行なわれ、ブルーチ
ンPS1,PS2,PS3の監視時間(ユーザが想定す
る値)が図10のようにして順に入力される(ステップ
704)。
Next, the screen display of FIG. 9 is performed, and the monitoring times (values assumed by the user) of the routines PS1, PS2, PS3 are sequentially input as shown in FIG. 10 (step 704).

【0024】そして全てのユーザ想定値(見積動作時
間)が入力されると(図11のように、ここでは12m
sec,14msec,21msecが順に入力され
る)、サブルーチンPS1,PS2,PS3の走行時間
変動を考慮した余裕分がユーザ想定値に対する割合の形
で入力され(入力要求時には図11の画面表示が、入力
完了時には図12の画面表示が各々行なわれ、ここでは
余裕分を示す割合として10%が入力される)、ユーザ
想定値に該当の余裕分を加算したものを積算して得たメ
インルーチンPM(main)の監視時間が図12のよ
うに画面表示される(ステップ706,708:各サブ
ルーチンの監視時間を積算すると47msecとなるこ
とから、メインルーチンの監視時間として10%増の5
2msecが表示される)。
When all user estimated values (estimated operating time) are input (as shown in FIG. 11, here, 12 m
sec, 14 msec, and 21 msec are sequentially input), and a margin in consideration of running time fluctuations of the subroutines PS1, PS2, and PS3 is input in the form of a ratio to the user's assumed value (when the input request is made, the screen display of FIG. 11 is input. At the time of completion, the screen display of FIG. 12 is performed respectively, and 10% is input as the ratio indicating the margin here, and the main routine PM obtained by accumulating the sum of the user margin and the corresponding margin ( The monitoring time of (main) is displayed on the screen as shown in FIG. 12 (steps 706 and 708: when the monitoring time of each subroutine is added up to 47 msec, the monitoring time of the main routine is increased by 10% to 5).
2 msec is displayed).

【0025】このメインルーチン監視時間が表示される
と、ユーザの入力した指示に従い、サブルーチンPS1
の繰り返し実行が開始される(ステップ710:図14
の鋼板1400が搬送されながらカッタ1402で一定
の長さに切断されるタイミングを繰り返し求める)。
When the main routine monitoring time is displayed, the subroutine PS1 is executed in accordance with the instruction input by the user.
Is started repeatedly (step 710: FIG. 14).
The steel plate 1400 is repeatedly conveyed and the timing at which the cutter 1402 cuts the steel plate 1400 into a certain length is obtained.

【0026】サブルーチンPS1の処理が開始される
と、時間計測用のカウンタをリセットし時間計測制御用
のフラグ(図5参照)をセットするなどの初期処理(ス
テップ800)が最初に行なわれ、次に、時間計測用の
カウンタを一定の周期でインクリメントする計時処理が
開始される(ステップ802)。
When the processing of the subroutine PS1 is started, initial processing (step 800) such as resetting a counter for measuring time and setting a flag for controlling time measurement (see FIG. 5) is first performed, and then Then, the time counting process of incrementing the time measuring counter at a constant cycle is started (step 802).

【0027】そして、時間計測制御用フラグのセット有
無が判断され(ステップ804)、同フラグのセットが
確認された場合には時間計測用のカウンタをインクリメ
ントする計時処理が継続され(ステップ806)、リセ
ットが確認された場合には時間計測用カウンタのインク
リメントが中断される(ステップ808)。
Then, it is judged whether or not the time measurement control flag is set (step 804), and when the flag is confirmed to be set, the time measurement process for incrementing the time measurement counter is continued (step 806). If the reset is confirmed, the increment of the time measurement counter is interrupted (step 808).

【0028】また、下層側のルーチンPS2へ処理が渡
されているか否かが判断され(ステップ810)、処理
が渡されていない場合には時間計測制御用のフラグがセ
ットされ(ステップ812)、渡されている場合には同
フラグがリセットされる(ステップ814)。
Further, it is judged whether or not the processing has been passed to the lower layer side routine PS2 (step 810), and if the processing has not been passed, the time measurement control flag is set (step 812). If passed, the flag is reset (step 814).

【0029】さらに、カウンタ値の示す計測時間(実測
のルーチン走行時間)が該当の監視時間(余裕分が加え
られたもの)を越えるか否かが判断され(ステップ81
6)、越える場合にはプロセスP1へ時間超過の異常が
通知される(ステップ818)
Further, it is judged whether or not the measurement time indicated by the counter value (actually measured routine running time) exceeds the corresponding monitoring time (with a margin added) (step 81).
6) If it exceeds, the process P1 is notified of the time-excess abnormality (step 818).

【0030】カウンタ値の示す計測時間が該当の監視時
間を越え越えない場合には、サブルーチンPS1が終了
するか否かが判断され(ステップ820)、終了しない
場合にはフラグセット有無の判断(ステップ804)か
らこのサブルーチン処理が繰り返される。
If the measured time indicated by the counter value does not exceed the corresponding monitoring time, it is judged whether or not the subroutine PS1 is completed (step 820). If it is not completed, it is judged whether or not a flag is set (step 820). This subroutine process is repeated from 804).

【0031】そしてサブルーチンPS1が終了する場合
には、時間計測用カウンタの値を保存してこの値とそれ
までに保存されていたカウンタ値の平均が算出され(ス
テップ822)、算出の平均値とユーザ入力の割合(1
0%:図12参照)を用いてルーチンPS1の監視時間
が更新される(ステップ824:最小と最大のカウント
値は平均値の算出から除かれ、ファーストコール時など
の特別な要因による誤差の混入は排除する)。
When the subroutine PS1 ends, the value of the time measuring counter is stored and the average of this value and the counter value stored up to that point is calculated (step 822). Ratio of user input (1
0%: refer to FIG. 12) is used to update the monitoring time of the routine PS1 (step 824: the minimum and maximum count values are excluded from the calculation of the average value, and an error is mixed due to a special factor such as a first call). Is excluded).

【0032】この図8と同様な処理はサブルーチンPS
2,PS3についても行なわれており、したがって、サ
ブルーチンPS1,PS2,PS3のいずれかが監視時
間(余裕分が加算されたもので、サブルーチンが繰り返
される毎に、最適なものへ向かって更新される)を越え
て走行するときに、時間超過の異常がプロセス1へ通知
される。
A process similar to that of FIG. 8 is a subroutine PS.
2 and PS3 are also performed. Therefore, any one of the sub-routines PS1, PS2, and PS3 is the monitoring time (added the margin, and is updated toward the optimum one each time the sub-routine is repeated. ), The process 1 is notified of the time-out abnormality.

【0033】また、メインルーチンPM(main)は
サブルーチン終了時のカウンタ値で示される実測の時間
(9msec,19msec,12msecへ各々更新
されるものとする)とこれらの合計に余裕分を加算した
自己の監視時間(44msec)とを図13のように追
加した画面表示を行ない、ユーザはその表示からシステ
ムの動作状態を確認する。
Further, the main routine PM (main) is a self-timer obtained by adding a margin to the actual measurement time (renewed to 9 msec, 19 msec, 12 msec) indicated by the counter value at the end of the subroutine and these totals. Monitoring time (44 msec) is added as shown in FIG. 13, and the user confirms the operating state of the system from the display.

【0034】さらにメインルーチンPMは実測による自
己の監視時間(44msec)を越えるサブルーチンの
走行が確認されたときにも、時間超過の異常をプロセス
P1へ通知する。
Further, the main routine PM also notifies the process P1 of an abnormality of time excess even when it is confirmed by actual measurement that the subroutine has exceeded the monitoring time (44 msec).

【0035】例えば、サブルーチンPS1からサブルー
チンPS2が誤って2回呼び出された場合には、サブル
ーチン走行時間が52msec=(9+19*2)*
1.10となり、メインルーチンPMの実測時間(44
msec)を越えるので、時間超過の異常がプロセスP
1へ通知される。
For example, when the subroutine PS1 to the subroutine PS2 are mistakenly called twice, the subroutine running time is 52 msec = (9 + 19 * 2) *.
1.10, and the actual measurement time of the main routine PM (44
msec) is exceeded, so an abnormality of time excess is caused by process P.
1 is notified.

【0036】以上説明したように本実施例によれば、対
象となる処理単位(サブルーチンPS1,PS2,PS
3)の監視時間としてその処理単位自身の走行時間が設
定されるので、下層側の呼び出しによる誤差が対象とな
る処理単位の監視時間に含まれることはない。
As described above, according to this embodiment, the target processing unit (subroutines PS1, PS2, PS
Since the traveling time of the processing unit itself is set as the monitoring time of 3), the error due to the call on the lower layer side is not included in the monitoring time of the target processing unit.

【0037】このため、鋼板1400を搬送しながらカ
ッタ1402で一定の長さに切断させるシステムの制御
精度をさらに高めてその鋼板製品の品質をより向上させ
ることが可能となる。
Therefore, it is possible to further improve the control accuracy of the system for cutting the steel plate 1400 into a certain length by the cutter 1402 while conveying the steel plate 1400 and further improve the quality of the steel plate product.

【0038】しかも、対象となる処理単位の監視時間に
ユーザが余裕分をその監視時間に対する割合の形で上乗
せできることから、サブルーチン走行時間の変動を吸収
する監視時間調整のユーザ操作が極めて容易なものとな
る。
Moreover, since the user can add a margin to the monitoring time of the target processing unit in the form of a ratio to the monitoring time, it is extremely easy for the user to adjust the monitoring time to absorb the fluctuation of the subroutine running time. Becomes

【0039】その上、最上位となる処理単位(メインル
ーチンPM)の監視時間が下層側処理単位の監視時間か
ら求められて表示されるので、ユーザはこの表示からシ
ステムの性能を正確に評価することが可能となる。
In addition, since the monitoring time of the highest processing unit (main routine PM) is calculated and displayed from the monitoring time of the lower processing unit, the user can accurately evaluate the system performance from this display. It becomes possible.

【0040】さらに、システムの運転が継続されると監
視時間が学習により最適なものへ収束するので、システ
ムの制御精度を大幅に高めることが可能となる。そし
て、最適なものへ収束した各監視時間(実測の走行時
間:図13参照)を確認できるので、システムが次回以
降において起動された直後から、極めて精度の高い時間
監視を開始することが可能となる。
Further, since the monitoring time is converged to the optimum one by learning when the system operation is continued, it is possible to greatly improve the control accuracy of the system. Since each monitoring time (actually measured travel time: see FIG. 13) converged to the optimum one can be confirmed, it is possible to start extremely accurate time monitoring immediately after the system is started after the next time. Become.

【0041】[0041]

【発明の効果】以上説明したように本発明によれば、下
層側処理単位の呼び出しに伴なう誤差分が監視時間へ混
入しないので、時間監視の精度を著しく高めることが可
能となる。
As described above, according to the present invention, since the error amount due to the calling of the lower layer side processing unit is not mixed in the monitoring time, it is possible to remarkably improve the accuracy of time monitoring.

【図面の簡単な説明】[Brief description of drawings]

【図1】第1発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the first invention.

【図2】第2発明の原理説明図である。FIG. 2 is a diagram illustrating the principle of the second invention.

【図3】第3発明の原理説明図である。FIG. 3 is a diagram illustrating the principle of the third invention.

【図4】第4発明の原理説明図である。FIG. 4 is an explanatory view of the principle of the fourth invention.

【図5】第1発明及び第2発明の作用説明図である。FIG. 5 is an operation explanatory view of the first invention and the second invention.

【図6】第3発明及び第4発明の作用説明図である。FIG. 6 is an operation explanatory view of the third invention and the fourth invention.

【図7】実施例の作用を説明するフローチャートであ
る。
FIG. 7 is a flowchart illustrating the operation of the embodiment.

【図8】実施例の作用を説明するフローチャートであ
る。
FIG. 8 is a flowchart illustrating the operation of the embodiment.

【図9】実施例の画像表示説明図である。FIG. 9 is an image display explanatory diagram of the embodiment.

【図10】実施例の画像表示説明図である。FIG. 10 is an explanatory diagram of image display according to the embodiment.

【図11】実施例の画像表示説明図である。FIG. 11 is an explanatory diagram of image display according to the embodiment.

【図12】実施例の画像表示説明図である。FIG. 12 is an explanatory diagram of image display according to the embodiment.

【図13】実施例の画像表示説明図である。FIG. 13 is a diagram illustrating image display according to the embodiment.

【図14】鋼板切断システムの構成説明図である。FIG. 14 is a structural explanatory view of a steel plate cutting system.

【図15】鋼板切断システムのルーチン呼出構造説明図
である。
FIG. 15 is an explanatory diagram of a routine calling structure of a steel sheet cutting system.

【図16】従来技術の説明図である。FIG. 16 is an explanatory diagram of a conventional technique.

【符号の説明】[Explanation of symbols]

1400 鋼板 1402 カッタ 1404 アクチュエータ 1406 センサ 1408 コンピュータ 1410 ネットワーク 1412 コンピュータ 1414 コンピュータ本体 1416 ディスプレイ 1418 キーボード 1400 Steel plate 1402 Cutter 1404 Actuator 1406 Sensor 1408 Computer 1410 Network 1412 Computer 1414 Computer main body 1416 Display 1418 Keyboard

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 階層的に呼び出される処理単位のうち指
定された単位について走行時間の上限をユーザ入力に従
い設定し(ステップ100)、 指定された単位を含む処理の繰り返し実行を開始し(ス
テップ110)、 指定された単位の走行時間で該単位より下層側となる単
位の走行時間が除かれる時間を処理実行毎に計測し(ス
テップ120)、 設定された走行時間の上限へ計測された走行時間が達し
たときに走行時間超過の異常通知を出力する(ステップ
130)、 ことを特徴とした処理走行時間監視方法。
1. An upper limit of running time is set in accordance with a user input for a designated unit among hierarchically called process units (step 100), and repetitive execution of a process including the designated unit is started (step 110). ), The time when the traveling time of the unit lower than the unit is excluded from the traveling time of the designated unit is measured for each processing execution (step 120), and the traveling time measured to the upper limit of the set traveling time is measured. When the time has reached, a processing travel time monitoring method is characterized in that an abnormality notification of excess travel time is output (step 130).
【請求項2】 階層的に呼び出される処理単位のうち指
定された単位について走行時間の上限をユーザ入力に従
い設定し(ステップ100)、 ユーザ入力の割合で示される余裕分を設定された走行時
間の上限に加算して該上限を変更設定し(ステップ10
1)、 指定された単位を含む処理の繰り返し実行を開始し(ス
テップ110)、 指定された単位の走行時間で該単位より下層側となる単
位の走行時間が除かれた時間を前記処理の各実行中にお
いて計測し(ステップ120)、 設定された走行時間の上限へ計測された走行時間が達し
たときに走行時間超過の異常通知を出力する(ステップ
130)、 ことを特徴とした処理走行時間監視方法。
2. An upper limit of travel time is set according to a user input for a designated unit among processing units called hierarchically (step 100), and an allowance shown by a ratio of the user input is set for the set travel time. The upper limit is added to change and set the upper limit (step 10
1) The repeated execution of the process including the designated unit is started (step 110), and the time obtained by excluding the traveling time of the unit on the lower layer side from the traveling time of the designated unit is used for each of the above processes. It is measured during execution (step 120), and when the measured traveling time reaches the upper limit of the set traveling time, an abnormality notification indicating that the traveling time has exceeded is output (step 130). Monitoring method.
【請求項3】 階層的に呼び出される処理単位のうち指
定された単位より下層側となる単位を全て特定し(ステ
ップ102)、 特定された各単位について走行時間の上限をユーザ入力
に従い設定し(ステップ103)、 ユーザ入力の割合で示される余裕分を設定された走行時
間の上限に加算し(ステップ104)、 指定された単位が走行する時間の上限を余裕分が加算さ
れた上限の積算により求めてユーザに通知し(ステップ
105)、 指定された単位を含む処理の繰り返し実行を開始し(ス
テップ110)、 特定された単位の走行時間で該単位より下層側の単位が
走行した時間の除かれる時間を前記処理の各実行中にお
いて計測し(ステップ120)、 余裕分が加算された上限のいずれかへ該当の計測時間が
達したときに走行時間超過の異常通知を出力する(ステ
ップ130)、 ことを特徴とした処理走行時間監視方法。
3. A unit lower than a designated unit among the hierarchically called processing units is specified (step 102), and an upper limit of the running time is set for each specified unit according to a user input ( Step 103), the margin shown by the ratio of the user input is added to the upper limit of the set traveling time (step 104), and the upper limit of the traveling time of the designated unit is integrated by the upper limit to which the margin is added. The user is sought to notify the user (step 105), the process including the designated unit is repeatedly executed (step 110), and the running time of the specified unit is excluded from the running time of the unit lower than the unit. The running time is measured during each execution of the above process (step 120), and when the corresponding measured time reaches any of the upper limits to which the margin is added, the running time is exceeded. An abnormality notification is output (step 130).
【請求項4】 階層的に呼び出される処理単位のうち指
定された単位より下層側となる単位を全て特定し(ステ
ップ102)、 特定された各単位について走行時間の上限をユーザ入力
に従い設定し(ステップ103)、 ユーザ入力の割合で示される余裕分を設定された走行時
間の上限に加算し(ステップ104)、 指定された単位が走行する時間の上限を余裕分が加算さ
れた上限の積算により求めてユーザに通知し(ステップ
105)、 指定された単位を含む処理の繰り返し実行を開始し(ス
テップ110)、 特定された単位の走行時間で該単位より下層側の単位が
走行した時間の除かれる時間を前記処理の各実行中にお
いて計測し(ステップ120)、 余裕分が加算された上限のいずれかへ該当の計測時間が
達したときに走行時間超過の異常通知を出力し(ステッ
プ130)、 指定された単位を含む処理が正常終了する毎に各計測時
間の平均値を求めて余裕分が加算された上限を該当の平
均値とユーザ入力の割合とにより更新する(ステップ1
40)、 ことを特徴とした処理走行時間監視方法。
4. All of the processing units that are hierarchically called are specified on the lower layer side than the specified unit (step 102), and the upper limit of the running time is set for each specified unit according to the user input ( Step 103), the margin shown by the ratio of the user input is added to the upper limit of the set traveling time (step 104), and the upper limit of the traveling time of the designated unit is integrated by the upper limit to which the margin is added. The user is sought to notify the user (step 105), the process including the designated unit is repeatedly executed (step 110), and the running time of the specified unit is excluded from the running time of the unit lower than the unit. The running time is measured during each execution of the above process (step 120), and when the corresponding measured time reaches any of the upper limits to which the margin is added, the running time is exceeded. An abnormality notification is output (step 130), and the average value of each measurement time is calculated every time the processing including the specified unit is normally completed, and the upper limit to which the margin is added is set as the corresponding average value and the ratio of user input. Update by (Step 1
40), A process traveling time monitoring method characterized by the above.
JP5147483A 1993-06-18 1993-06-18 Processing time monitoring method Expired - Lifetime JP2826442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5147483A JP2826442B2 (en) 1993-06-18 1993-06-18 Processing time monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5147483A JP2826442B2 (en) 1993-06-18 1993-06-18 Processing time monitoring method

Publications (2)

Publication Number Publication Date
JPH076058A true JPH076058A (en) 1995-01-10
JP2826442B2 JP2826442B2 (en) 1998-11-18

Family

ID=15431420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5147483A Expired - Lifetime JP2826442B2 (en) 1993-06-18 1993-06-18 Processing time monitoring method

Country Status (1)

Country Link
JP (1) JP2826442B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116930A1 (en) * 2006-04-07 2007-10-18 Daikin Industries, Ltd. Control process stop method
CN100451978C (en) * 2005-06-30 2009-01-14 富士通株式会社 Raid apparatus, and communication-connection monitoring method and program
US7512946B2 (en) 2001-06-29 2009-03-31 International Business Machines Corporation Scheduling method and system for controlling execution of processes
WO2012070254A1 (en) * 2010-11-26 2012-05-31 三菱電機株式会社 Program generating device, program generating program, and program generating method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512946B2 (en) 2001-06-29 2009-03-31 International Business Machines Corporation Scheduling method and system for controlling execution of processes
CN100451978C (en) * 2005-06-30 2009-01-14 富士通株式会社 Raid apparatus, and communication-connection monitoring method and program
US7567514B2 (en) 2005-06-30 2009-07-28 Fujitsu Limited RAID apparatus, and communication-connection monitoring method and program
WO2007116930A1 (en) * 2006-04-07 2007-10-18 Daikin Industries, Ltd. Control process stop method
WO2012070254A1 (en) * 2010-11-26 2012-05-31 三菱電機株式会社 Program generating device, program generating program, and program generating method
CN103221926A (en) * 2010-11-26 2013-07-24 三菱电机株式会社 Program generating device, program generating program, and program generating method
JP5414911B2 (en) * 2010-11-26 2014-02-12 三菱電機株式会社 PROGRAM GENERATION DEVICE, PROGRAM GENERATION PROGRAM, AND PROGRAM GENERATION METHOD
US9122473B2 (en) 2010-11-26 2015-09-01 Mitsubishi Electric Corporation Program generating device, program generating program, and program generating method

Also Published As

Publication number Publication date
JP2826442B2 (en) 1998-11-18

Similar Documents

Publication Publication Date Title
US20140022086A1 (en) Data display device for machine tool for displaying information based on specified condition
JPH076058A (en) Method for monitoring process run time
US11669077B2 (en) Machine learning apparatus, numerical control apparatus, wire electric discharge machine, and machine learning method
CN107530806B (en) The process time estimation method of wire electric discharge machine and the control device of wire electric discharge machine
US20220043426A1 (en) Numerical control device and machine learning device
CN110959142B (en) Display, display method and display system
JP3255038B2 (en) Work simulation device
JP2009120300A (en) Inspection support method and program
JP2958978B2 (en) Learning control method
JP3391051B2 (en) Cutting machine
JP2609720B2 (en) Rounding standard generation method
JPH05127716A (en) Numerical controller
JP3642278B2 (en) Wire electric discharge machining method and apparatus
JPH01229634A (en) Set number command device
JPH06261574A (en) Control device of servomotor
JPS6357199B2 (en)
JP2786340B2 (en) Machining time calculation method in numerical control information creation device
CN112425064A (en) Setting support device
CN115818325A (en) Tension control method, system, device and computer readable storage medium
JPH01122864A (en) Automatic original feeding device
JP3306789B2 (en) Position control device
JP3441064B2 (en) Vehicle speed pulse detection method and device
CN116330407A (en) Continuous fixed-width cutting system and method for wooden door and door pocket
JP2767981B2 (en) Deceleration control method
JPH0934746A (en) Testing device for computer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080911

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080911

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090911

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090911

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090911

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090911

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100911

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100911

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110911

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120911

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20130911

Year of fee payment: 15

EXPY Cancellation because of completion of term