JP2575973B2 - Task scheduling method for measurement data processing system - Google Patents

Task scheduling method for measurement data processing system

Info

Publication number
JP2575973B2
JP2575973B2 JP3175972A JP17597291A JP2575973B2 JP 2575973 B2 JP2575973 B2 JP 2575973B2 JP 3175972 A JP3175972 A JP 3175972A JP 17597291 A JP17597291 A JP 17597291A JP 2575973 B2 JP2575973 B2 JP 2575973B2
Authority
JP
Japan
Prior art keywords
task
processing
immediate
executed
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP3175972A
Other languages
Japanese (ja)
Other versions
JPH04372022A (en
Inventor
章 稲垣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitutoyo Corp
Original Assignee
Mitutoyo 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 Mitutoyo Corp filed Critical Mitutoyo Corp
Priority to JP3175972A priority Critical patent/JP2575973B2/en
Publication of JPH04372022A publication Critical patent/JPH04372022A/en
Application granted granted Critical
Publication of JP2575973B2 publication Critical patent/JP2575973B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)
  • Stored Programmes (AREA)
  • Length Measuring Devices With Unspecified Measuring Means (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、マイクロコンピュータ
のリアルタイムモニターにおけるタスク管理方式に関
し、特にマルチタスク方式の測定データ処理システムに
おける実行タスクのスケジューリング方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a task management method in a real-time monitor of a microcomputer, and more particularly to a scheduling method of an execution task in a multitask measurement data processing system.

【0002】[0002]

【従来の技術】測定機のデータ処理装置等においては、
センサやアクチュエータの位置決め処理を行ったり測定
データをサンプリング及び処理するため、所定のタスク
をみかけ上(実際は数msおきに起動)常時実行させる
必要がある。また、この種の装置では、キーボードやマ
ウス等のマンマシンインタフェース操作に応じて数百m
sおきに実行される即時処理型のタスクも存在する。前
者を常時処理型タスク、後者を即時処理型タスクと呼ぶ
ことにすると、前者は監視処理や長時間の計算処理を行
うために常時実行性が要求され、後者はマンマシンイン
タフェースの操作上、即時実行性が要求される。
2. Description of the Related Art In a data processing device of a measuring instrument,
In order to perform positioning processing of sensors and actuators and to sample and process measurement data, it is necessary to always execute a predetermined task apparently (actually, start every few ms). In addition, this type of device requires several hundred meters depending on man-machine interface operations such as a keyboard and a mouse.
There is also an immediate processing type task executed every s. If the former is called an always-processing task and the latter is called an immediate-processing task, the former requires constant execution to perform monitoring and long-term calculation processing, and the latter requires immediate execution in man-machine interface operation. Execution is required.

【0003】従来の一般的なタスク処理では、各タスク
にあらかじめ優先順位を設けておき、タスクスケジュー
ラはこの優先順位の高いタスクから順番に実行状態にし
て行く。同一の優先順位を持つタスクが複数あって、そ
れらが実行可能状態にある場合には、同一順位内では一
定の順序で順次実行状態にしていく、いわゆるラウンド
ロビン方式がとられる。更に、タスク管理が時分割機能
を有する場合には、タスクは、時分割グループと非時分
割りグループに分けられる。時分割グループのタスク
は、実行可能時間が設定される。ここで、あるタスクが
実行状態にある事を想定すると、このタスクの実行が中
断又は終了するのは、タスクの実行が完了するか、より
優先順位の高いタスクが実行可能状態になるか、また
は、現在実行状態にあるタスクが何らかの待ち状態にな
るかのいずれかの場合であり、更にそのタスクが時分割
タスクである場合には、設定されている実行可能時間が
経過した場合にも、そのタスクの実行は中断される。従
って、一般的には、常時処理型タスクと即時処理型タス
クを混在させる必要がある場合には、マウス押下等のイ
ベント処理は即時処理型タスクとし、且つ常時処理型タ
スクより優先順位を上位に設定する方法がとられてい
る。
In the conventional general task processing, priorities are set in advance for each task, and the task scheduler places the tasks in the execution state in order from the task having the highest priority. When there are a plurality of tasks having the same priority and they are in an executable state, a so-called round-robin method is adopted in which the tasks are sequentially executed in a fixed order within the same priority. Further, when the task management has a time division function, the tasks are divided into a time division group and a non-time division group. The executable time of the task of the time division group is set. Here, assuming that a certain task is in an execution state, execution of this task is interrupted or terminated when execution of the task is completed, a task with a higher priority becomes ready for execution, or If the currently executing task is in any of the waiting states, and if the task is a time-division task, the task is executed even if the set executable time has elapsed. Execution of the task is suspended. Therefore, in general, when it is necessary to mix an always-processed task and an immediate-processed task, event processing such as mouse pressing is regarded as an immediate-processed task, and has a higher priority than the always-processed task. The method of setting is taken.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この場
合、常時処理型タスクの常時実行性を損なわないように
するためには、即時処理型タスクを細切れに作成し、プ
ログラム上で一定時間毎にタスクの優先度を変更するこ
とにより、常時処理型タスクを即時処理型タスクの間に
割込ませる必要がある。一般に割込みルーチンを作成す
る場合には、CPUのスタックやレジスタ等、システム
の細かな部分を考慮にいれて割込み処理内容を決定する
必要がある。そのうえ、上記の処理を行う場合には、即
時処理型タスクを細切れに作成しなくてはならないた
め、プログラム作成が極めて複雑になるという問題点が
あった。また、例えばマンマシンインタフェース処理用
のタスクを複数同時的に実行させる場合、上記のプログ
ラムに加えて、各タスクの優先順序を一定時間毎に変更
するプログラムが別途必要になり、プログラムが更に複
雑になるという問題点があった。
However, in this case, in order to avoid impairing the always-executable performance of the always-processing task, the immediate-processing task is created in small pieces, and the task is executed on the program at regular intervals. It is necessary to interrupt the always-processing task between the immediate-processing tasks by changing the priority of the task. In general, when an interrupt routine is created, it is necessary to determine the details of an interrupt process in consideration of the details of the system, such as the CPU stack and registers. In addition, when performing the above-described processing, there is a problem that the program creation becomes extremely complicated because the immediate processing type task must be created in small pieces. Further, for example, when a plurality of tasks for man-machine interface processing are to be executed simultaneously, a program for changing the priority order of each task at regular time intervals is additionally required in addition to the above-mentioned program, which further complicates the program. There was a problem of becoming.

【0005】本発明は、常時処理型タスクの常時実行性
と即時処理型タスクの即時処理性を同時に確保し、しか
もプログラム作成が極めて容易になる測定データ処理シ
ステム用タスクスケジューリング方式を提供することを
目的とする。
An object of the present invention is to provide a task scheduling method for a measurement data processing system which simultaneously secures the always-executable performance of a constantly-processed task and the immediate-processability of an immediately-processed task, and makes it extremely easy to create a program. Aim.

【0006】[0006]

【課題を解決するための手段】本発明に係る測定データ
処理システム用タスクスケジューリング方法は、一定の
間隔中に常時実行すべき常時処理型タスクを優先的に実
行させる第1の期間と即時実行を要求する事象の発生に
よって実行すべき即時処理型タスクを優先的に実行させ
る第2の期間とを設定し、前記常時処理型タスクを前記
即時実行を要求する事象の発生の有無に拘らず一定の間
隔で発生する前記第1の期間に実行状態にさせると共
に、前記即時処理型タスクを前記第2の期間に実行さ
、且つ前記第1及び第2の期間を、前記常時処理型タ
スク又は前記即時処理型タスクによる負荷状況に応じて
調整することを特徴とする。
According to the present invention, there is provided a task scheduling method for a measurement data processing system, comprising: a first period in which a constant processing type task to be always executed during a predetermined interval is preferentially executed; A second period in which the immediate processing type task to be executed is preferentially executed by the occurrence of the requested event is set, and the constant processing type task is set to a fixed time regardless of the occurrence of the event requiring the immediate execution. The execution state is set to the execution state during the first period occurring at intervals, the immediate processing type task is executed during the second period , and the first and second periods are set to the constant processing type task .
Depending on the load status of the task or the immediate processing type task
Adjust be characterized by Rukoto.

【0007】[0007]

【作用】従来のタスク管理方式では、イベント発生がな
いとタスクの切替が行われなかったが、本発明によれ
ば、常時処理型タスクをイベント発生の有無に拘らず、
それが優先的に実行される第1の期間に常に一定の間隔
で実行状態にするようにタスク切替を行い、上記一定の
間隔中に常時処理型タスクが実行しない期間(第2の期
間)を設定し、即時処理型タスクをこの期間に実行させ
るようにリアルタイムモニター上でタスクのスケジュー
リングを行っている。このため、常時処理型タスクと即
時処理型タスクとを同時並列的に実行させる場合でも、
タスクを細切れにしたり、割込みを入れるといったプロ
グラム上の操作が不要になり、プログラムの作成が極め
て容易になるという利点がある。
According to the conventional task management method, task switching is not performed unless an event occurs. However, according to the present invention, a constant processing type task can be set regardless of whether an event occurs.
The task switching is performed so that the task is always set to the execution state at a constant interval during the first period in which the task is executed with priority, and the period (second period) during which the constant processing type task is not executed during the constant interval.
Set between), and performs scheduling of tasks on the real-time monitoring so as to perform an immediate processing type tasks during this period. For this reason, even when the always-processing task and the immediate-processing task are executed simultaneously and in parallel,
This eliminates the need for operations on the program, such as shredding tasks and inserting interrupts, and has the advantage that program creation becomes extremely easy.

【0008】また、本発明は、即時処理型タスク及び常
時処理型タスクの少なくとも一方が複数存在する場合、
これらのスケジューリングにおいて、いわゆるラウンド
ロビンスケジューリングを採用することにより、即時処
理型タスクや常時処理型タスクの個別の優先度をプログ
ラム上で全く意識せずに即時処理型タスクや常時処理型
タスクの並列的な実行が可能になる。また、即時処理型
タスクや常時処理型タスクが複数存在する場合、これら
のスケジューリングを優先順位スケジューリングとする
ことも可能である。これらは、タスクの重要性や同時実
行性等を考慮して任意に設定可能である。なお、常時処
理型タスクの実行割当て時間を、即時処理型タスクの実
行状況に応じて自動的に調整するように設定しておく
と、即時処理型タスクが実行されていないときには、常
時処理型タスクを連続的にCPUに割当てることができ
るので、CPUの使用効率の低下を防止することができ
る。
[0008] Further, the present invention, when there is a plurality of at least one of the immediate processing type task and the continuous processing type task,
In these schedulings, the so-called round-robin scheduling is adopted, so that the immediate priority of the immediate processing task or the constant processing task can be controlled in parallel without any awareness of the individual priority of the task in the program. Execution is possible. Further, when there are a plurality of immediate processing tasks and a plurality of constant processing tasks, these schedulings can be set as priority scheduling. These can be arbitrarily set in consideration of the importance of tasks, concurrency, and the like. If the execution allocation time of the always-processed task is set to be automatically adjusted according to the execution status of the immediately-processed task, when the immediately-processed task is not executed, Can be continuously assigned to the CPU, so that a decrease in the efficiency of use of the CPU can be prevented.

【0009】[0009]

【実施例】以下、添付の図面を参照して本発明の実施例
を説明する。図1および図2は、本発明の一実施例を示
すCPU内蔵型表面粗さ測定機の分割されたブロック図
である。図1は主としてCPUとその入出力回路を示す
部分ブロック図である。これに対し、図2は表面性状測
定機特有の構成を示す部分ブロック図である。これらの
図を結ぶ共通バス10はアドレスバス、データバス、ク
ロックライン等を含んでいる。
Embodiments of the present invention will be described below with reference to the accompanying drawings. 1 and 2 are divided block diagrams of a surface roughness measuring device with a built-in CPU showing an embodiment of the present invention. FIG. 1 is a partial block diagram mainly showing a CPU and its input / output circuit. On the other hand, FIG. 2 is a partial block diagram showing a configuration unique to the surface texture measuring device. The common bus 10 connecting these figures includes an address bus, a data bus, a clock line, and the like.

【0010】図1において、11は制御中枢となるCP
U(中央処理装置)である。このCPU11は見かけ上
常時実行している処理(常時処理型タスクの実行)とイ
ベント発生の際に即時的に実行すべき処理(即時処理型
タスクの実行)を行う。リアルタイムクロック発生器1
1aは出力クロックで一定時間(例えば5ms)毎に実
行タスク切替のための信号を出力し、常時処理型タスク
を断続的に実行させる。このCPU11は共通バス10
を介してメモリ12を使用する。このメモリ12にはR
AM(ランダムアクセスメモリ)とROM(リードオン
リメモリ)とが含まれる。このうち、ROMには主とし
てCPU11の動作プログラムや各種処理用の定数テー
ブルが格納されている。これに対し、RAMは各種測定
条件や収集データ等の格納に使用され、必要に応じて電
源オフ後にもデータが消滅しないようにバッテリ等でバ
ックアップされる。
In FIG. 1, reference numeral 11 denotes a CP serving as a control center.
U (central processing unit). The CPU 11 performs a process that is apparently always executed (execution of an always-processed task) and a process that should be executed immediately when an event occurs (execution of an immediate-processed task). Real-time clock generator 1
Reference numeral 1a denotes an output clock, which outputs a signal for switching an execution task at regular intervals (for example, every 5 ms) so as to intermittently execute the always-processing task. This CPU 11 is a common bus 10
Via the memory 12. This memory 12 has R
It includes an AM (random access memory) and a ROM (read only memory). Of these, the ROM mainly stores operation programs of the CPU 11 and constant tables for various processes. On the other hand, the RAM is used for storing various measurement conditions, collected data, and the like, and is backed up by a battery or the like as necessary so that the data does not disappear even after the power is turned off.

【0011】このCPU11の周辺にはプリンタ13や
CRTディスプレイ14等の出力機器、およびキーボー
ド15、マウス16、スイッチ17等の入力機器が接続
される。プリンタ13は各種の測定条件や収集データ等
を文字やグラフ等で印字出力するためのもので、このイ
ンターフェースには例えばセントロニクスタイプの出力
回路12aが使用される。CRTディスプレイ14はビ
デオメモリ14bに格納された測定条件や測定データ等
をCRT画面に表示する。ビデオ制御回路14aはディ
スプレイ14の水平掃引および垂直掃引の同期制御、お
よびビデオメモリ14bのリード、ライト制御を行う。
ビデオメモリ14bには、例えばカラーグラフィックデ
ィスプレイの使用時には、ディスプレイ14に表示され
る各画素の色情報が格納される。
Output devices such as a printer 13 and a CRT display 14 and input devices such as a keyboard 15, a mouse 16 and a switch 17 are connected around the CPU 11. The printer 13 prints and outputs various measurement conditions, collected data, and the like in characters, graphs, and the like. For this interface, for example, a Centronics type output circuit 12a is used. The CRT display 14 displays measurement conditions, measurement data, and the like stored in the video memory 14b on a CRT screen. The video control circuit 14a performs synchronous control of horizontal and vertical sweeps of the display 14, and performs read / write control of the video memory 14b.
For example, when a color graphic display is used, color information of each pixel displayed on the display 14 is stored in the video memory 14b.

【0012】キーボード15はアルファベットキー、数
字キー等を有し、各キーのオン情報をエンコード回路1
5bでコード化してCPU11へ入力する。15aはこ
のとき使用されるキー入力回路である。マウス16は2
軸のエンコーダとスイッチを内蔵し、エンコーダ出力は
計数器16bで計数される。この計数器16bの計数値
はマウス入力回路16aを介してCPU11へ入力され
る。このとき、マウス16のスイッチ信号もマウス入力
回路16aを介してCPU11へ入力する。スイッチ1
7は各種の押ボタンスイッチ、選択スイッチ、リミット
スイッチ等からなり、各スイッチの信号はスイッチ入力
回路17aを介してCPU11へ入力する。ここで使用
される信号には、検出器の上昇、下降、左行、右行等の
指示を与える手動操作信号や、測定スタート等の自動操
作信号、更には機構部分の動作ストロークオーバ信号等
がある。
The keyboard 15 has alphabet keys, numeric keys, and the like.
It is coded in 5b and input to the CPU 11. Reference numeral 15a denotes a key input circuit used at this time. Mouse 16 is 2
A shaft encoder and a switch are built in, and the encoder output is counted by a counter 16b. The count value of the counter 16b is input to the CPU 11 via the mouse input circuit 16a. At this time, the switch signal of the mouse 16 is also input to the CPU 11 via the mouse input circuit 16a. Switch 1
Reference numeral 7 denotes various types of pushbutton switches, selection switches, limit switches, and the like. The signals of the switches are input to the CPU 11 via the switch input circuit 17a. The signals used here include a manual operation signal for giving instructions such as raising, lowering, left and right rows of the detector, an automatic operation signal for starting measurement, and an operation stroke over signal of a mechanism portion. is there.

【0013】一方、図2の構成には粗さ検出器21、記
録計22、検出器送り位置スケール23、検出器送りユ
ニット24、コラム25、傾斜補正用載物台26が含ま
れる。粗さ検出器21は、例えば機械的な触針を測定物
表面に接触させ、必要に応じて前記触針を移動させなが
ら測定物表面の凹凸を検出する。この検出器21の出力
はレベルが低く雑音の影響を受け易いので、これをノイ
ズ除去用のブリッジ21aに入力し、さらにその出力
(正弦波信号)を同期整流器21bに入力する。このブ
リッジ21aと同期整流器21bは共に発振器21cか
らの正弦波信号を入力されているので、この部分で同期
整流することにより触針の上下変位に応じた直流電圧だ
けが出力される。同期整流器21bの出力は測定レンジ
(倍率)決定用の増幅器21dで増幅された後、A/D
変換器21eでディジタル信号に変換され、検出器信号
入力回路21fを通してCPU11に取り込まれる。
On the other hand, the configuration of FIG. 2 includes a roughness detector 21, a recorder 22, a detector feed position scale 23, a detector feed unit 24, a column 25, and a stage 26 for tilt correction. The roughness detector 21, for example, contacts a mechanical stylus to the surface of the object to be measured, and detects irregularities on the surface of the object to be measured while moving the stylus as necessary. Since the output of the detector 21 has a low level and is easily affected by noise, the output is input to a noise removing bridge 21a, and the output (sine wave signal) is input to a synchronous rectifier 21b. Since both the bridge 21a and the synchronous rectifier 21b receive a sine wave signal from the oscillator 21c, by performing synchronous rectification at this portion, only a DC voltage corresponding to the vertical displacement of the stylus is output. The output of the synchronous rectifier 21b is amplified by an amplifier 21d for determining a measurement range (magnification), and then amplified by an A / D converter.
The signal is converted into a digital signal by the converter 21e, and is taken into the CPU 11 through the detector signal input circuit 21f.

【0014】以上の基本的な構成に対し、加算器27a
で零点調整用のオフセット電圧(零調整値)が加算され
る。このオフセット電圧は、触針の変位量とは独立して
零点を決定できるようにするもので、CPU11から出
力される。但し、CPU11の出力はディジタル量であ
るので、これをオフセット出力回路27cを介してD/
A変換器27bに入力し、ここでアナログ電圧に変換し
てから使用する。一方、増幅器21dの増幅度を切換え
るレンジ切替信号はCPU11から出力され、レンジ切
替出力回路28aを介して増幅器21dに与えられる。
このレンジ切替信号の値を変えると増幅器21dの増幅
度を変化させることができるので、これにより測定デー
タに適した拡大倍率で表示或いは印字等を行うことがで
きる。
In addition to the above basic configuration, an adder 27a
, An offset voltage (zero adjustment value) for zero point adjustment is added. This offset voltage enables the zero point to be determined independently of the displacement amount of the stylus, and is output from the CPU 11. However, since the output of the CPU 11 is a digital quantity, it is output to the D / D through the offset output circuit 27c.
The signal is input to the A converter 27b, where it is converted into an analog voltage before use. On the other hand, a range switching signal for switching the degree of amplification of the amplifier 21d is output from the CPU 11 and supplied to the amplifier 21d via the range switching output circuit 28a.
By changing the value of the range switching signal, the amplification degree of the amplifier 21d can be changed, so that display or printing or the like can be performed at a magnification suitable for the measurement data.

【0015】記録計22は主として触針変位を波形とし
て記録するものであるため、CPU11は触針変位値に
対し予め決められている定数値を乗算し、その結果を記
録計用出力回路22aを介して出力する。この出力回路
22aの出力はディジタル値であるので、これをD/A
変換器22bでアナログ値に変換して記録計22へ入力
する。
Since the recorder 22 mainly records the stylus displacement as a waveform, the CPU 11 multiplies the stylus displacement value by a predetermined constant value and outputs the result to the recorder output circuit 22a. Output via Since the output of the output circuit 22a is a digital value, it is converted to a D / A
The data is converted into an analog value by the converter 22 b and input to the recorder 22.

【0016】上述した粗さ検出器21と記録計22に関
係する部分は表面性状測定器の検出および記録に関する
ものであり、後述する検出器送り位置スケール23から
傾斜補正用載物台26までは測定対象とする測定物と触
針の位置関係を適正化したり、検出器を摺動させたりす
る機構部分に関する。
The portions related to the roughness detector 21 and the recorder 22 relate to the detection and recording of the surface texture measuring device, and include a detector feed position scale 23 and a tilt correction stage 26 described later. The present invention relates to a mechanism for optimizing the positional relationship between a measurement object to be measured and a stylus and sliding a detector.

【0017】検出器送り位置スケール23は、粗さ検出
器21(ここでは機械式の触針を想定する)を測定物の
表面と平行な方向に送った場合の平行方向位置、即ちデ
ィスプレイ14や記録計22における拡大記録図形の横
軸方向の位置を検出するためのスケールである。このス
ケール23がインクリメンタル型である場合、所定の移
動量毎に1パルス発生するという出力形態をとるので、
後段の計数器23bでこのパルスを計数してスタート位
置からの積算移動量(これを検出器の送り位置と呼ぶ)
を求める。CPU11はこの送り位置を表示や印字制御
上必要とするので、これを送り位置入力回路23aを介
してCPU11へ転送する。
The detector feed position scale 23 is a parallel position when the roughness detector 21 (here, a mechanical stylus is assumed) is sent in a direction parallel to the surface of the object to be measured, that is, the display 14 or the like. This is a scale for detecting the position of the enlarged recorded figure in the horizontal axis direction in the recorder 22. When the scale 23 is of an incremental type, an output form is used in which one pulse is generated for every predetermined movement amount.
This pulse is counted by the counter 23b at the subsequent stage, and the accumulated movement amount from the start position (this is called a detector feed position)
Ask for. The CPU 11 needs this feed position for display and print control, and transfers this to the CPU 11 via the feed position input circuit 23a.

【0018】尚、計数器23bが所定の送り位置毎に距
離信号を発生する機能を有していると、この距離信号で
CPU11に割り込みをかけることができる。この割り
込みは、検出器21の実際の位置に応じたものであるた
め、リアルタイムクロックによる定期的なタスク切替と
は別に、表示或いは記録制御上便利な使い方ができる。
If the counter 23b has a function of generating a distance signal for each predetermined feed position, the CPU 11 can be interrupted by this distance signal. Since this interruption is in accordance with the actual position of the detector 21, it can be used conveniently for display or recording control, apart from periodic task switching by a real-time clock.

【0019】検出器送りユニット24は、図3に示すよ
うに検出器21を水平方向(矢印H方向)に移動させる
機構である。上述のスケール23はこの送りユニット2
4による検出器21の移動量を計測する。送りユニット
24はコラム機構25によって上下動可能であり、これ
により測定物(ワーク)30との垂直方向(矢印V方
向)の距離を任意に調整することができる。測定物30
は傾斜補正用載物台(オートレベリングテーブル)26
上に載置され、所定の範囲内で任意に水平度(角度θ)
を調整できる。31は載物台30や送りユニット24等
を安定した位置関係に保つ定盤である。
The detector feed unit 24 is a mechanism for moving the detector 21 in the horizontal direction (the direction of arrow H) as shown in FIG. The above-mentioned scale 23 is provided by the feed unit 2
4 is used to measure the amount of movement of the detector 21. The feed unit 24 can be moved up and down by a column mechanism 25, so that the distance in the vertical direction (the direction of the arrow V) from the workpiece 30 can be arbitrarily adjusted. Measurement object 30
Is a stage for tilt correction (auto leveling table) 26
Placed on top and arbitrarily horizontality (angle θ) within a predetermined range
Can be adjusted. Reference numeral 31 denotes a surface plate for maintaining the stage 30 and the feed unit 24 in a stable positional relationship.

【0020】検出器送りユニット24の駆動源には例え
ば直流電動モータを使用する。この場合、CPU11は
送り速度の指令信号を出力して送りユニット24の送り
位置を制御する。この送り速度信号(ディジタル量)は
送り速度出力回路24aで取り込まれ、D/A変換器2
4bでアナログ量に変換される。そして、このアナログ
電圧を駆動時間に変換するためパルス幅変調器24cを
使用し、その出力を直流駆動モータの駆動増幅器24d
に入力する。
As a drive source of the detector feed unit 24, for example, a DC electric motor is used. In this case, the CPU 11 outputs a feed speed command signal to control the feed position of the feed unit 24. This feed speed signal (digital amount) is taken in by the feed speed output circuit 24a, and the D / A converter 2
At 4b, it is converted to an analog quantity. Then, a pulse width modulator 24c is used to convert this analog voltage into a drive time, and the output is used as a drive amplifier 24d for a DC drive motor.
To enter.

【0021】検出器送りユニット24を上下動作させる
コラム機構25の駆動源に例えばパルスモータを使用し
た場合、CPU11が出力する上下移動データを上下移
動出力回路25aで取り込み、これをパルス発生器25
bでパルス列に変換する。このパルスは単位移動量当た
り1パルスとなるように発生され、パルス計数器25c
で計数される。そして、この計数値を駆動増幅器25d
に入力することでコラム機構25の上下移動量を制御で
きる。
When, for example, a pulse motor is used as a drive source of a column mechanism 25 for vertically moving the detector feed unit 24, the up / down movement data output from the CPU 11 is fetched by an up / down movement output circuit 25a.
The signal is converted into a pulse train by b. This pulse is generated so that one pulse per unit movement amount, and the pulse counter 25c
Is counted. Then, this count value is used as the drive amplifier 25d.
Of the column mechanism 25 can be controlled.

【0022】測定物30の水平度を調整する傾斜補正用
載物台26の駆動源にパルスモータを使用した場合は、
CPU11からの補正角度データを補正角度出力回路2
6aで取り込む。あとはコラム25の場合と同様にパル
ス発生器26b、パルス計数器26c、駆動増幅器26
dを用いてパルスモータを駆動し、測定物30を載置し
た載物台26の傾きを調整する。
When a pulse motor is used as a drive source of the tilt correction stage 26 for adjusting the level of the measurement object 30,
The correction angle output circuit 2 outputs the correction angle data from the CPU 11
Capture at 6a. After that, similarly to the case of the column 25, the pulse generator 26b, the pulse counter 26c, the drive amplifier 26
The pulse motor is driven by using d to adjust the inclination of the stage 26 on which the object 30 is placed.

【0023】以上のように構成された表面性状測定器に
おいて、本発明の要旨となる部分は、CPU11のリア
ルタイムモニターであり、より具体的には、リアルタイ
ムモニター中のタスクスケジューラである。図4に示す
ように、タスクスケジューラ41は、リアルタイムクロ
ック11aからのクロック信号及び入出力管理部42を
介して入力される外部入力機器からのイベント情報に基
づいて、複数のタスクa,b,…,Nの実行を管理す
る。
In the surface texture measuring device configured as described above, the essential part of the present invention is the real-time monitor of the CPU 11, and more specifically, the task scheduler during the real-time monitor. As shown in FIG. 4, the task scheduler 41 generates a plurality of tasks a, b,... Based on a clock signal from the real-time clock 11a and event information input from the external input device via the input / output management unit 42. , N.

【0024】タスクスケジューラ41で管理される常時
処理型タスクとしては、検出器信号入力回路21fから
の検出信号のサンプリング及びデータ処理、検出器送り
位置スケール23からの距離信号の定期的な入力処理、
検出器送りユニット24、コラム機構25及び傾斜補正
用載物台26の駆動制御等がある。また、タスクスケジ
ューラ41で管理される即時処理型タスクとしては、プ
リンタ13、CRTディスプレイ14及び記録計22へ
の出力制御、キーボード15、マウス16及びスイッチ
17からの信号入力処理等がある。
The constant processing tasks managed by the task scheduler 41 include sampling and data processing of a detection signal from the detector signal input circuit 21f, periodic input processing of a distance signal from the detector feed position scale 23,
There are drive control of the detector feed unit 24, the column mechanism 25, and the stage 26 for tilt correction. The immediate processing tasks managed by the task scheduler 41 include output control to the printer 13, the CRT display 14, and the recorder 22, signal input processing from the keyboard 15, mouse 16, and switch 17, and the like.

【0025】図5は、常時処理用タスクaの実行中に、
例えばマウス16が押下され(イベント発生)、これに
応答するための即時処理型タスクbが実行可能状態にな
った場合のタスクスケジューリングを示すタイムチャー
トである。タスクスケジューラ41は、一定の間隔(例
えば5ms)を常時処理型タスクの実行インターバルT
Aとしてタスクの実行を管理しているが、t0〜t1期間で
イベントが発生すると、次の実行インターバルTA(t1
〜t2)から常時処理型タスクaの実行期間(第1の期
間)TBを短縮し、残りの期間(第2の期間)を即時処
理型タスクbの実行期間に割当てる。t2〜t3期間で即時
処理型タスクの実行が終了すると、t3からはインターバ
ルTAの全ての時間についてCPU11は常時処理型タ
スクaに割当てられる。
FIG. 5 shows that the constant processing task a is executed.
6 is a time chart showing task scheduling when, for example, the mouse 16 is depressed (event occurrence) and an immediate processing type task b for responding to the depression is in an executable state. The task scheduler 41 sets a constant interval (for example, 5 ms) to the execution interval T of the always-processing task.
Although the execution of the task is managed as A, if an event occurs during the period from t0 to t1, the next execution interval TA (t1
~ T2) to the execution period of the constant processing type task a (first period)
( Interval ) TB is reduced, and the remaining period (second period) is allocated to the execution period of the immediate processing task b. When the execution of the immediate processing type task is completed in the period from t2 to t3, the CPU 11 is allocated to the always processing type task a for all time of the interval TA from t3.

【0026】以上の処理によって、常時処理型タスクa
の処理を中断させることなく、即時処理に対応すること
が可能になる。なお、即時処理型タスクbの実行が終了
すると、インターバルTAの殆どの時間で常時処理型タ
スクaがCPU11を占有することになるので、CPU
11の使用効率が低下することはない。
With the above processing, the always-processing type task a
It is possible to respond to an immediate process without interrupting the process. When the execution of the immediate processing type task b is completed, the processing type a always occupies the CPU 11 for most of the interval TA.
The use efficiency of 11 does not decrease.

【0027】図6及び図7は、複数の即時処理型タスク
i,j,kを実行させるためのタスクスケジューリング
を夫々示すタイムチャートである。タスクスケジューラ
41は、実行インターバルTAのうちの一部の期間TB
を常時処理型タスクaの実行時間に割当て、残りの期間
を即時処理型タスクi,j,kの実行期間に割当てる。
図6は、即時処理型タスクi,j,kをラウンドロビン
スケジューリングによってCPU11に割当てた例を示
す図である。この場合、即時処理型タスクi,j,k
は、同一の優先度を有し、各インターバル毎に順番に実
行されるので、タスクi,j,kはみかけ上並列実行状
態となる。この処理によれば、複数の即時処理型タスク
の優先度を何ら考慮する必要がないため、プログラムが
容易になるという利点がある。
FIGS. 6 and 7 are time charts showing task scheduling for executing a plurality of immediate processing tasks i, j, and k, respectively. The task scheduler 41 determines a part of the period TB of the execution interval TA.
Is allocated to the execution time of the always-processing task a, and the remaining period is allocated to the execution period of the immediate-processing tasks i, j, and k.
FIG. 6 is a diagram illustrating an example in which immediate processing tasks i, j, and k are assigned to the CPU 11 by round robin scheduling. In this case, the immediate processing tasks i, j, k
Have the same priority and are executed in order at each interval, so that tasks i, j, and k are apparently in a parallel execution state. According to this processing, there is no need to consider the priorities of a plurality of immediate processing tasks, so that there is an advantage that the program becomes easy.

【0028】図7は、即時処理型タスクi,j,kを優
先順位スケジューリングによってCPU11に割当てた
例を示す図である。この場合には、即時処理型タスクの
優先順位は、i,j,kの順であり、タスクiの処理が
終了したのちにタスクjの処理が実行され、最後にタス
クkの処理が実行されることになる。なお、これらの場
合においても、複数の即時処理型タスクi,j,kの負
荷状況に応じて常時処理型タスクaの実行割当て時間T
Bを自動的に調整することにより、CPU11の使用効
率を低下させずに、即時処理型タスクの即時処理性と常
時処理型タスクの常時処理性とを確保した効果的なタス
クスケジューリングを行うことができる。
FIG. 7 is a diagram showing an example in which immediate processing tasks i, j, and k are assigned to the CPU 11 by priority scheduling. In this case, the priority of the immediate processing type task is in the order of i, j, k. After the processing of the task i is completed, the processing of the task j is executed, and finally, the processing of the task k is executed. Will be. In these cases as well, the execution allocation time T of the always-executable task a depends on the load status of the plurality of immediate-process tasks i, j, and k.
By automatically adjusting B, it is possible to perform effective task scheduling that secures the immediate processing performance of the immediate processing task and the constant processing performance of the continuous processing task without lowering the usage efficiency of the CPU 11. it can.

【0029】図8及び図9は、複数の常時処理型タスク
a,b,cを実行させるためのタスクスケジューリング
を夫々示すタイムチャートである。タスクスケジューラ
41は、実行インターバルTAのうちの一部の期間TB
を常時処理型タスクa,b,cの実行時間に割当て、残
りの期間を即時処理型タスクiの実行期間に割当てる。
図8は、常時処理型タスクa,b,cをラウンドロビン
スケジューリングによってCPU11に割当てた例を示
す図である。この場合、常時処理型タスクa,b,c
は、同一の優先度を有し、各インターバル毎に順番に実
行されるので、タスクa,b,cはみかけ上並列実行状
態となる。この処理においても、複数の常時処理型タス
クの優先度を何ら考慮する必要がないため、プログラム
が容易になる。
FIGS. 8 and 9 are time charts respectively showing task scheduling for executing a plurality of constantly-processed tasks a, b, and c. The task scheduler 41 determines a part of the period TB of the execution interval TA.
Is allocated to the execution time of the always-processing tasks a, b, and c, and the remaining period is allocated to the execution time of the immediate-processing task i.
FIG. 8 is a diagram illustrating an example in which the always-processing tasks a, b, and c are assigned to the CPU 11 by round-robin scheduling. In this case, the always-processing tasks a, b, and c
Have the same priority and are executed sequentially at each interval, so that tasks a, b, and c are apparently in a parallel execution state. Also in this processing, there is no need to consider the priorities of a plurality of constant processing tasks, so that the program becomes easy.

【0030】図9は、常時処理型タスクa,b,cを優
先順位スケジューリングによってCPU11に割当てた
例を示す図である。この場合には、即時処理型タスクの
優先順位は、a,b,cの順であり、タスクaの処理が
終了したのちにタスクbの処理が実行され、最後にタス
クcの処理が実行されることになる。なお、これらの場
合においても、即時処理型タスクiの負荷状況に応じて
常時処理型タスクa,b,cの実行割当て時間TBを自
動的に調整することにより、CPU11の使用効率を低
下させずに、即時処理型タスクの即時処理性と常時処理
型タスクの常時処理性とを確保した効果的なタスクスケ
ジューリングを行うことができる。
FIG. 9 is a diagram showing an example in which the always-processing tasks a, b, and c are assigned to the CPU 11 by priority scheduling. In this case, the priorities of the immediate processing type tasks are in the order of a, b, and c. The processing of task b is executed after the processing of task a is completed, and the processing of task c is executed last. Will be. Even in these cases, the use efficiency of the CPU 11 is not reduced by automatically adjusting the execution allocation time TB of the always-processing tasks a, b, and c according to the load situation of the immediate-processing task i. In addition, it is possible to perform effective task scheduling while ensuring the immediate processing performance of the immediate processing task and the constant processing performance of the continuous processing task.

【0031】図10は、リアルタイムクロックによって
起動されるタスクスケジューラ41の動作を示すフロー
チャートである。リアルタイムクロック発生器11a
は、タスクスケジューラ41に実行インターバルTAの
開始点(図11のP1)及び期間TBの終了点(図11
のP2)で割り込みが発生するように設定される。割り
込みが発生すると、先ず、直前に実行していたタスク
(常時処理型タスク又は即時処理型タスク)の実行状態
を示すCPUレジスタの値等をセーブする(S1)。続
いて、前回のタスクスケジューリング時にステップS3
でセーブしておいた時刻と、リアルタイムクロック発生
器11aから入力される現在の時刻とを比較して時間T
Aが経過したかどうかを判定し(S2)、時間TAが経
過しているときには、時間TAの経過による割り込み
(図11のP1)と判断してステップS3の処理に移行
し、時間TAが経過していないときには、時間TBの経
過による割り込み(図11のP2)と判断してステップ
S12の処理に移行する。
FIG. 10 is a flowchart showing the operation of the task scheduler 41 started by the real-time clock. Real-time clock generator 11a
The start time of the execution interval TA (P1 in FIG. 11) and the end point of the period TB (FIG.
In P2), an interrupt is set. When an interrupt occurs, first, a value of a CPU register indicating an execution state of a task (always processing type task or immediate processing type task) executed immediately before is saved (S1). Then, at the time of the previous task scheduling, step S3
Is compared with the current time input from the real-time clock generator 11a, and the time T
It is determined whether or not A has elapsed (S2). If the time TA has elapsed, it is determined that an interruption due to the lapse of the time TA (P1 in FIG. 11) has occurred, and the process proceeds to step S3, where the time TA has elapsed. If not, it is determined that the interruption is due to the lapse of the time TB (P2 in FIG. 11), and the process proceeds to step S12.

【0032】ステップS3では、現在時刻をセーブし、
即時処理タスクのうち実行可能なものがあるかどうか
(例えばマウスのスイッチが押下されたかどうか等)を
探し(S4)、実行可能なものがない場合には、常時処
理タスクにインターバルTAの全時間を使えるようにす
るため、TBをTAに変更する(S5,S6)。実行可
能なものがある場合には、TBを前もって決められてい
る値(例えばTA=5ms、TB=1ms)に設定する
(S5,S7)。次に、実行可能な常時処理タスクがあ
るかどうかを判断し(S8)、実行できるタスクがない
場合には、TAの全時間を即時処理タスクに割当てるた
め、TB=0に設定し、ステップS12に移行する(S
9,S10)。また、実行できるタスクがある場合に
は、これから実行しようとする常時処理タスクの以前の
実行状態、即ちタスクスケジューラ41によって実行を
中断される前の状態を復元する(S9,S11)。
In step S3, the current time is saved.
A search is made to see if any of the immediate processing tasks can be executed (for example, whether or not a mouse switch has been pressed) (S4). The TB is changed to TA so that can be used (S5, S6). If there is an executable one, TB is set to a predetermined value (for example, TA = 5 ms, TB = 1 ms) (S5, S7). Next, it is determined whether there is an always-executable task that can be executed (S8). If there is no task that can be executed, TB = 0 is set in order to allocate the entire TA time to the immediate processing task, and step S12 is performed. (S
9, S10). If there is a task that can be executed, the previous execution state of the constant processing task to be executed, that is, the state before the execution is interrupted by the task scheduler 41 is restored (S9, S11).

【0033】一方、処理がステップS12に移行した場
合には、実行できる即時処理タスクを探し(S12)、
実行できるタスクがある場合には、即時処理タスクにつ
いて、ステップS11と同様に、これから実行しようと
する即時処理タスクの以前の実行状態、即ちタスクスケ
ジューラ41によって実行を中断される前の状態を復元
する(S13,S14)。実行できるタスクがない場合
には、ステップS16に進み、TAの全時間を常時処理
タスクに割当てるようにする(S13,S16)。
On the other hand, if the processing has shifted to step S12, an immediate processing task that can be executed is searched for (S12).
If there is a task that can be executed, the previous execution state of the immediate processing task to be executed, that is, the state before the execution is interrupted by the task scheduler 41, is restored for the immediate processing task as in step S11. (S13, S14). If there is no task that can be executed, the process proceeds to step S16, and the entire time of the TA is always assigned to the processing task (S13, S16).

【0034】なお、ステップS11及びS14におい
て、復元に必要となる以前の状態データとしては、ステ
ップS1でセーブされたもののうち、該当タスクの状態
データを使用する。また、実行しようとするタスクが初
めて起動された場合には、以前の状態データが存在しな
いため、全て初期状態データを使用する。
In the steps S11 and S14, the state data of the corresponding task from among those saved in the step S1 is used as the state data before being required for restoration. When the task to be executed is started for the first time, the initial state data is used because there is no previous state data.

【0035】[0035]

【発明の効果】以上述べたように本発明によれば、常時
処理型タスクを即時処理イベント発生の有無に拘らず一
定の間隔で実行状態にし、上記一定の間隔中に常時処理
型タスクが実行しない期間を設定し、即時処理型タスク
をこの期間に実行させるようにリアルタイムモニター上
でタスクのスケジューリングを行っているので、常時処
理型タスクと即時処理型タスクとを同時並列的に実行さ
せるためのプログラム上の複雑な操作が不要になり、プ
ログラムの作成が極めて容易になるという効果を奏す
る。
As described above, according to the present invention, the always-processing task is set to the execution state at a constant interval regardless of the presence or absence of the immediate processing event, and the always-processing task is executed during the above-mentioned fixed interval. Since the task is scheduled on the real-time monitor so that the immediate processing task is executed during this period, it is necessary to execute the continuous processing task and the immediate processing task simultaneously and in parallel. This eliminates the need for complicated operations on the program and makes it extremely easy to create the program.

【0036】また、本発明は、複数の即時処理型タスク
のスケジューリングにおいて、特にラウンドロビンスケ
ジューリングを採用すると、即時処理型タスクの個別の
優先度を全く意識する必要がなくなり、更にプログラム
作成が容易になる。また、常時処理型タスクの実行割当
て時間を、即時処理型タスクの実行状況に応じて自動的
に調整するように設定しておくと、即時処理型タスクが
実行されていないときには、常時処理型タスクを空き時
間を発生させることなく連続的にCPUに割当てること
ができるので、CPUの使用効率を向上させることがで
きる。
In the present invention, when a plurality of immediate processing tasks are scheduled, especially when round robin scheduling is adopted, there is no need to be aware of the individual priorities of the immediate processing tasks at all, and program creation is further facilitated. Become. In addition, if the execution allocation time of the always-processed task is set to be automatically adjusted according to the execution status of the immediately-processed task, when the immediately-processed task is not being executed, the always-processed task is not executed. Can be continuously assigned to the CPU without generating idle time, so that the efficiency of use of the CPU can be improved.

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

【図1】 本発明の実施例を示す一部ブロック図であ
る。
FIG. 1 is a partial block diagram showing an embodiment of the present invention.

【図2】 本発明の実施例を示す残部ブロック図であ
る。
FIG. 2 is a remaining block diagram showing an embodiment of the present invention.

【図3】 表面性状測定器の機構図である。FIG. 3 is a mechanism diagram of a surface texture measuring device.

【図4】 本発明の実施例におけるCPUのリアルタイ
ムモニターの概念図である。
FIG. 4 is a conceptual diagram of a real-time monitor of a CPU according to the embodiment of the present invention.

【図5】 本発明の実施例の動作を示すタイミングチャ
ートである。
FIG. 5 is a timing chart showing the operation of the embodiment of the present invention.

【図6】 即時処理型タスクをラウンドロビンスケジュ
ーリングした実施例を示すタイミングチャートである。
FIG. 6 is a timing chart showing an embodiment in which an immediate processing type task is subjected to round robin scheduling.

【図7】 即時処理型タスクを優先順位スケジューリン
グした実施例を示すタイミングチャートである。
FIG. 7 is a timing chart showing an embodiment in which an immediate processing type task is prioritized and scheduled.

【図8】 常時処理型タスクをラウンドロビンスケジュ
ーリングした実施例を示すタイミングチャートである。
FIG. 8 is a timing chart showing an embodiment in which a constant processing type task is subjected to round robin scheduling.

【図9】 常時処理型タスクを優先順位スケジューリン
グした実施例を示すタイミングチャートである。
FIG. 9 is a timing chart showing an embodiment in which a constant processing type task is scheduled by priority.

【図10】 本実施例におけるタスクスケジューラの動
作を示すフローチャートである。
FIG. 10 is a flowchart illustrating the operation of the task scheduler according to the present embodiment.

【図11】 同タスクスケジューラの割込みタイミング
を説明するためのタイミングチャートである。
FIG. 11 is a timing chart for explaining interrupt timing of the task scheduler.

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

10…共通バス、11…CPU、12…メモリ、13…
プタ、14…CRTディスプレイ、15…キーボード、
16…マウス、17…スイッチ、21…粗さ検出器、2
2…記録計、23…検出器送り位置スケール、24…検
出器送りユニット、25…コラム機構、26…傾斜補正
用載物台、27c…オフセット出力回路、28a…レン
ジ切替出力回路、30…測定物。
10: common bus, 11: CPU, 12: memory, 13 ...
14… CRT display, 15… Keyboard,
16 mouse, 17 switch, 21 roughness detector, 2
2: Recorder, 23: Detector feed position scale, 24: Detector feed unit, 25: Column mechanism, 26: Stage for tilt correction, 27c: Offset output circuit, 28a: Range switching output circuit, 30: Measurement Stuff.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一定の間隔中に常時実行すべき常時処理
型タスクを優先的に実行させる第1の期間と即時実行を
要求する事象の発生によって実行すべき即時処理型タス
クを優先的に実行させる第2の期間とを設定し、前記常
時処理型タスクを前記即時実行を要求する事象の発生の
有無に拘らず一定の間隔で発生する前記第1の期間に実
行状態にさせると共に、前記即時処理型タスクを前記第
2の期間に実行させ、且つ前記第1及び第2の期間を、
前記常時処理型タスク又は前記即時処理型タスクによる
負荷状況に応じて調整することを特徴とする測定データ
処理システム用タスクスケジューリング方法
1. A first period in which an always-executing task to be always executed during a predetermined interval is preferentially executed, and an immediate-processing task to be executed due to occurrence of an event requiring immediate execution is preferentially executed. And setting the second process to be executed in the first period in which the constant processing type task occurs at a constant interval regardless of the occurrence of the event requiring immediate execution. Causing the processing type task to be executed in the second period, and setting the first and second periods in
By the always-processing task or the immediate-processing task
Measurement data processing task scheduling method for a system which is characterized that you adjusted according to load conditions.
【請求項2】 前記常時処理型タスク及び前記即時処理
型タスクの少なくとも一方を、ラウンドロビンスケジュ
ーリングによって割当てることを特徴とする請求項1記
載の測定データ処理システム用タスクスケジューリング
方法
2. The task scheduling for a measurement data processing system according to claim 1, wherein at least one of the continuous processing task and the immediate processing task is assigned by round robin scheduling.
How .
【請求項3】 前記常時処理型タスク及び前記即時処理
型タスクの少なくとも一方を、優先順位スケジューリン
グによって割当てることを特徴とする請求項1記載の測
定データ処理システム用タスクスケジューリング方法
3. The task scheduling method for a measurement data processing system according to claim 1, wherein at least one of the continuous processing task and the immediate processing task is assigned by priority scheduling.
JP3175972A 1991-06-20 1991-06-20 Task scheduling method for measurement data processing system Expired - Lifetime JP2575973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3175972A JP2575973B2 (en) 1991-06-20 1991-06-20 Task scheduling method for measurement data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3175972A JP2575973B2 (en) 1991-06-20 1991-06-20 Task scheduling method for measurement data processing system

Publications (2)

Publication Number Publication Date
JPH04372022A JPH04372022A (en) 1992-12-25
JP2575973B2 true JP2575973B2 (en) 1997-01-29

Family

ID=16005467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3175972A Expired - Lifetime JP2575973B2 (en) 1991-06-20 1991-06-20 Task scheduling method for measurement data processing system

Country Status (1)

Country Link
JP (1) JP2575973B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2574983B2 (en) * 1993-04-06 1997-01-22 本田技研工業株式会社 Multitask control system
JP2007257106A (en) * 2006-03-22 2007-10-04 Fuji Electric Fa Components & Systems Co Ltd Programmable controller
JP2008171111A (en) * 2007-01-10 2008-07-24 Hokkaido Univ Measurement control method using computer and its program
US8060884B2 (en) 2007-07-10 2011-11-15 Sharp Laboratories Of America, Inc. Deterministic task scheduling in a computing device
JP4894961B1 (en) 2011-03-15 2012-03-14 オムロン株式会社 PLC CPU unit, PLC system program, and recording medium storing PLC system program
JP7433052B2 (en) * 2020-01-06 2024-02-19 Ntn株式会社 Condition monitoring device and wind power generator equipped with condition monitoring device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5769344A (en) * 1980-10-13 1982-04-28 Nippon Telegr & Teleph Corp <Ntt> Controller of stored program
JPS61223950A (en) * 1985-03-29 1986-10-04 Toshiba Corp Scheduler

Also Published As

Publication number Publication date
JPH04372022A (en) 1992-12-25

Similar Documents

Publication Publication Date Title
US4034353A (en) Computer system performance indicator
US5327163A (en) Display integrated type position reading apparatus
JP2575973B2 (en) Task scheduling method for measurement data processing system
CN102582291A (en) Information processing apparatus for controlling electric power consumption, information processing method
CN100498495C (en) Stepping motor control circuit, electronic camera, and stepping motor control method
US5945619A (en) Asynchronous computation of tone parameter with subsequent synchronous synthesis of tone waveform
JP2585482B2 (en) Surface texture measuring machine
JP2688030B2 (en) Surface texture measuring machine
JP2749636B2 (en) Computer system overload status display processing device
JP2566002B2 (en) Task dispatching method
JPS5826583B2 (en) Data collection
JPH01292544A (en) Calculation processing system for cumulative cpu application time
JP2937554B2 (en) Measuring machine
JP2715973B2 (en) Numerical data input device and numerical data input method
KR20000074930A (en) apparatus for reforming object state in computing apparatus for touch pannel and method therefor
JPH10116153A (en) Display integrated position reader
JPH0485610A (en) Cyclic timer controller
JPH04198986A (en) Information processor
JP2001249708A (en) Programmable controller
JPH0510777A (en) Measuring instrument equipped with function of automatically adjusting offset
JPH03282266A (en) Pulse input apparatus
JPH05297933A (en) Execution time monitoring device for programmable controller
JP2000252827A (en) Single-chip microcomputer incorporating a/d conversion function
JPH0628135A (en) Information processor
KR20000046817A (en) Analog/digital interface circuit