JPH10133889A - Method for setting control cycle for controller, and device therefor - Google Patents
Method for setting control cycle for controller, and device thereforInfo
- Publication number
- JPH10133889A JPH10133889A JP28492496A JP28492496A JPH10133889A JP H10133889 A JPH10133889 A JP H10133889A JP 28492496 A JP28492496 A JP 28492496A JP 28492496 A JP28492496 A JP 28492496A JP H10133889 A JPH10133889 A JP H10133889A
- Authority
- JP
- Japan
- Prior art keywords
- cycle
- controller
- control
- control program
- value
- 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.)
- Withdrawn
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、マルチタスクオ
ペレーションシステムが搭載されたコンピュータ上で動
作する制御プログラムによって制御されるコントローラ
の制御周期設定方法および装置に関し、特にコントロー
ラの制御周期を容易かつ適正に設定できるようにしたコ
ントローラの制御周期設定方法および装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for setting a control cycle of a controller controlled by a control program running on a computer on which a multitask operation system is mounted. The present invention relates to a method and an apparatus for setting a control cycle of a controller which can be set.
【0002】[0002]
【従来の技術】従来、マルチタスクオペレーションシス
テム(マルチタスクOS)が搭載されたコンピュータに
外部入出力回路(I/O)を接続し、該I/Oを介して
該コンピュータ上で動作する制御プログラムによって制
御対象を制御するように構成されたコントローラが知ら
れている。2. Description of the Related Art Conventionally, an external input / output circuit (I / O) is connected to a computer on which a multitask operation system (multitask OS) is mounted, and a control program operated on the computer via the I / O. 2. Description of the Related Art A controller configured to control an object to be controlled is known.
【0003】このようなコントローラにおいて、マルチ
タスクOSが搭載されたコンピュータ上では、上記制御
プログラム以外のアプリケーションも同一のコンピュー
タ上で動作させる必要がある。In such a controller, on a computer on which a multitask OS is mounted, it is necessary to run applications other than the control program on the same computer.
【0004】このため、上記制御プログラムの実行に割
り当てる時間(CPU時間)の設定が行なわれている。For this reason, a time (CPU time) allocated to the execution of the control program is set.
【0005】ところで、このようなコントローラにおい
ては、その制御周期を一定にすることが好ましい。Incidentally, in such a controller, it is preferable to make its control cycle constant.
【0006】そこで、上記制御プログラムによる制御周
期、すなわちコントローラの制御周期を設定し、この設
定した時間毎に上記制御プログラムの制御を行ない、空
いた時間でその他のアプリケーションを実行するように
した制御がとられている。Therefore, a control cycle based on the control program, that is, a control cycle of the controller is set, and the control program is controlled at every set time, and other applications are executed in a vacant time. Has been taken.
【0007】そして、従来、この種のコントローラの制
御周期の設定は、従来、上記制御プログラムの中でどの
ような命令がどれくらい使用されるかを計数し、この計
数値に基づき上記制御プログラムによる処理時間を予め
見積もっておき、その後、実際にコントローラを動作さ
せて、試行錯誤で上記制御プログラムの制御周期を適切
な値に設定することにより行なわれていた。Conventionally, the control cycle of this type of controller is conventionally set by counting what commands are used in the control program and how much, and processing the control program based on the count value. The time has been estimated in advance, and then the controller is actually operated, and the control cycle of the control program is set to an appropriate value by trial and error.
【0008】[0008]
【発明が解決しようとする課題】しかし、上記従来のコ
ントローラの制御周期の設定は非常に手間が掛かり、こ
れがこの種のコントローラにおける一つの問題点となっ
ていた。However, setting the control cycle of the above-mentioned conventional controller is very troublesome, and this has been a problem in this type of controller.
【0009】そこで、この発明は、コントローラの制御
周期の設定を容易かつ適正に行なうことができるように
したコントローラの制御周期設定方法および装置を提供
することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a method and an apparatus for setting a control cycle of a controller which can easily and properly set the control cycle of the controller.
【0010】[0010]
【課題を解決するための手段】上記目的を達成するた
め、この発明は、マルチタスクオペレーションシステム
が搭載されたコンピュータ上で動作する制御プログラム
によって制御されるコントローラの制御周期設定方法に
おいて、上記制御プログラムを上記コンピュータ上で一
定期間単独で動作させることにより該制御プログラムの
各周期を測定し、上記測定された上記制御プログラムの
各周期とユーザにより設定された上記制御プログラムお
よび他のアプリケーションの間の上記コンピュータを占
有する時間割合の設定値とに基づき上記コントローラの
制御周期を自動設定することを特徴とする。In order to achieve the above object, the present invention relates to a method for setting a control cycle of a controller controlled by a control program operating on a computer having a multitask operation system. By operating the computer alone for a certain period of time on the computer, each cycle of the control program is measured, and the cycle between the measured cycle of the control program and the control program and other applications set by the user is measured. The control cycle of the controller is automatically set based on a set value of a time ratio occupying the computer.
【0011】ここで、上記測定された上記制御プログラ
ムの各周期の平均値を算出し、該算出値と上記時間割合
の設定値とに基づき上記コントローラの制御周期を自動
設定するように構成することができる。Here, the average value of each cycle of the measured control program is calculated, and the control cycle of the controller is automatically set based on the calculated value and the set value of the time ratio. Can be.
【0012】また、上記測定された上記制御プログラム
の各周期の最大値を求め、該最大値と上記時間割合の設
定値とに基づき上記コントローラの制御周期を自動設定
するするように構成することができる。[0012] The maximum value of each cycle of the measured control program may be determined, and the control cycle of the controller may be automatically set based on the maximum value and the set value of the time ratio. it can.
【0013】また、上記測定された上記制御プログラム
の各周期の最小値を求め、該最小値と上記時間割合の設
定値とに基づき上記コントローラの制御周期を自動設定
するように構成することができる。[0013] The minimum value of each cycle of the measured control program may be determined, and the control cycle of the controller may be automatically set based on the minimum value and the set value of the time ratio. .
【0014】また、この発明は、マルチタスクオペレー
ションシステムが搭載されたコンピュータ上で動作する
制御プログラムによって制御されるコントローラの制御
周期設定装置において、上記制御プログラムを上記コン
ピュータ上で一定期間単独で動作させることにより該制
御プログラムの各周期を測定する周期測定手段と、上記
制御プログラムおよび他のアプリケーションの間の上記
コンピュータを占有する時間割合の設定値を設定する時
間割合設定手段と、上記周期測定手段で測定された上記
制御プログラムの各周期と上記時間割合設定手段で設定
された設定値とに基づき上記コントローラの制御周期を
自動設定する制御周期設定手段と、を具備することを特
徴とする。The present invention also provides a control cycle setting device for a controller controlled by a control program running on a computer on which a multitask operation system is mounted, wherein the control program is operated independently on the computer for a certain period of time. A period measuring means for measuring each period of the control program, a time ratio setting means for setting a set value of a time ratio occupying the computer between the control program and another application, and the period measuring means. Control cycle setting means for automatically setting the control cycle of the controller based on each measured cycle of the control program and the set value set by the time ratio setting means.
【0015】ここで、上記制御周期設定手段は、上記周
期測定手段で測定された上記制御プログラムの各周期か
ら該周期の平均値を算出する平均値算出手段と、上記平
均値算出手段で算出された算出値と上記時間割合設定手
段で設定された設定値とに基づき上記コントローラの制
御周期を自動設定する自動設定手段と、を具備して構成
することができる。Here, the control cycle setting means calculates the average value of each cycle of the control program measured by the cycle measuring means, and calculates the average value of the cycle by the average value calculating means. Automatic setting means for automatically setting the control cycle of the controller based on the calculated value and the set value set by the time ratio setting means.
【0016】また、上記制御周期設定手段は、上記周期
測定手段で測定された上記制御プログラムの各周期から
該周期の最大値を検出する最大値検出手段と、上記最大
値検出手段で検出された検出値と上記時間割合設定手段
で設定された設定値とに基づき上記コントローラの制御
周期を自動設定する自動設定手段と、を具備して構成す
ることができる。Further, the control cycle setting means includes a maximum value detecting means for detecting a maximum value of the cycle from each cycle of the control program measured by the cycle measuring means, and a maximum value detected by the maximum value detecting means. Automatic setting means for automatically setting the control cycle of the controller based on the detected value and the set value set by the time ratio setting means.
【0017】また、上記制御周期設定手段は、上記周期
測定手段で測定された上記制御プログラムの各周期から
該周期の最小値を検出する最小値検出手段と、上記最小
値検出手段で検出された検出値と上記時間割合設定手段
で設定された設定値とに基づき上記コントローラの制御
周期を自動設定する自動設定手段と、を具備して構成す
ることができる。Further, the control cycle setting means includes a minimum value detecting means for detecting a minimum value of the cycle from each cycle of the control program measured by the cycle measuring means, and a minimum value detected by the minimum value detecting means. Automatic setting means for automatically setting the control cycle of the controller based on the detected value and the set value set by the time ratio setting means.
【0018】[0018]
【発明の実施の形態】以下、この発明の実施の形態につ
いて添付図面を参照して詳細に説明する。Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
【0019】図1は、この発明に係わるコントローラの
制御周期設定方法および装置の一実施の形態を概略ブロ
ック図で示したものである。FIG. 1 is a schematic block diagram showing an embodiment of a method and an apparatus for setting a control cycle of a controller according to the present invention.
【0020】図1において、10は、マルチタスクOS
が搭載されたコンピュータ上で動作する図示しないコン
トローラの制御プログラムを示す。In FIG. 1, reference numeral 10 denotes a multitask OS.
Shows a control program of a controller (not shown) that operates on a computer on which is installed.
【0021】まず、このマルチタスクOSが搭載された
コンピュータ上では、制御周期設定モードで、この制御
プログラム10を動作させる。この状態においては、こ
のマルチタスクOSが搭載されたコンピュータ上で動作
する他のアプリケーションに対してはその実行のための
時間、すなわちCPU時間は与えない。すなわち、この
状態においては、制御プログラム10がこのマルチタス
クOSが搭載されたコンピュータを独占して動作する。First, on a computer equipped with the multitask OS, the control program 10 is operated in a control cycle setting mode. In this state, no time for executing the application, that is, the CPU time is given to another application running on the computer on which the multitask OS is mounted. That is, in this state, the control program 10 operates exclusively with the computer on which the multitask OS is mounted.
【0022】この状態で、サイクルタイム測定部20
は、制御プログラム10による1周期の時間を測定す
る。In this state, the cycle time measuring section 20
Measures the time of one cycle by the control program 10.
【0023】この、制御プログラム10がこのマルチタ
スクOSが搭載されたコンピュータを独占して動作する
状態は一定時間続けられ、サイクルタイム測定部20
は、この一定時間内で制御プログラム10による複数の
周期のそれぞれの時間を測定する。このとき、サイクル
タイム測定部20で測定される制御プログラム10によ
る周期の測定値は、このマルチタスクOSが搭載された
コンピュータ上で制御プログラム10だけが動作し、他
のアプリケーションが全く動作していない状態の値であ
る。The state in which the control program 10 operates exclusively with the computer on which the multitask OS is mounted is continued for a certain period of time.
Measures the time of each of a plurality of cycles by the control program 10 within this fixed time. At this time, the measured value of the cycle by the control program 10 measured by the cycle time measuring unit 20 is such that only the control program 10 operates on the computer on which the multitask OS is installed, and no other application operates at all. State value.
【0024】サイクルタイム測定部20で測定された制
御プログラム10による周期の測定値は、サイクルタイ
ム設定部30に入力される。The measured value of the cycle by the control program 10 measured by the cycle time measuring section 20 is input to the cycle time setting section 30.
【0025】サイクルタイム設定部30には、ユーザに
より予め設定されたこの制御プログラム10に割り当て
るCPU時間と、他のアプリケーションに割り当てるC
PU時間との割合いを示すCPU時間割合の設定値が入
力されている。The cycle time setting section 30 has a CPU time allocated to the control program 10 set in advance by the user and a C time allocated to another application.
A set value of the CPU time ratio indicating the ratio with the PU time is input.
【0026】サイクルタイム設定部30は、このユーザ
により設定された上記CPU時間割合の設定値と、サイ
クルタイム測定部20で測定された制御プログラム10
による周期の複数の測定値に基づき、制御プログラム1
0に対して制御プログラム10による制御周期、すなわ
ちコントローラの制御周期の自動設定を行なう。The cycle time setting unit 30 stores the set value of the CPU time ratio set by the user and the control program 10 measured by the cycle time measuring unit 20.
Control program 1 based on a plurality of measured values of
For 0, the control cycle by the control program 10, that is, the control cycle of the controller is automatically set.
【0027】このサイクルタイム設定部30によるコン
トローラの制御周期の設定の手法としては、次に示す手
法を採用することができる。As a method of setting the control cycle of the controller by the cycle time setting unit 30, the following method can be adopted.
【0028】1)サイクルタイム測定部20で測定され
た制御プログラム10による周期の複数の測定値からそ
の平均値を算出し、この算出した平均値と、ユーザによ
り設定されたCPU時間割合の設定値とに基づき、コン
トローラの制御周期の設定を行なう。1) An average value is calculated from a plurality of measured values of the cycle by the control program 10 measured by the cycle time measuring unit 20, and the calculated average value and a set value of the CPU time ratio set by the user are calculated. Based on this, the control cycle of the controller is set.
【0029】具体的には、図2において、上記算出した
制御プログラム10による周期の複数の測定値の平均値
を制御プログラム10に割り当てるCPU時間Aとし、
ユーザにより設定されたCPU時間割合の設定値から他
のアプリケーションに割り当てるCPU時間Bを決定
し、このCPU時間AとCPU時間Bとの和を制御プロ
グラム10に対してコントローラの制御周期として設定
する。つまり、CPU時間Aをサイクルタイム測定部2
0による測定値の平均値とし、このCPU時間AとCP
U時間Bとの比がユーザにより設定されたCPU時間割
合の設定値に一致するように、コントローラの制御周期
を自動設定する。More specifically, in FIG. 2, the CPU time A for allocating the average value of the plurality of measured values of the cycle calculated by the control program 10 to the control program 10 is shown in FIG.
The CPU time B to be allocated to another application is determined from the set value of the CPU time ratio set by the user, and the sum of the CPU time A and the CPU time B is set in the control program 10 as the control cycle of the controller. That is, the CPU time A is used as the cycle time measurement unit 2
CPU time A and CP
The control cycle of the controller is automatically set so that the ratio to the U time B matches the set value of the CPU time ratio set by the user.
【0030】この手法を採用した場合は、平均的に、制
御プログラム10と他のアプリケーションとのCPU時
間比が設定される。When this method is adopted, the CPU time ratio between the control program 10 and other applications is set on average.
【0031】2)サイクルタイム測定部20で測定され
た制御プログラム10による周期の複数の測定値からそ
の最大値を求め、この最大値と、ユーザにより設定され
たCPU時間割合の設定値とに基づき、コントローラの
制御周期の設定を行なう。2) A maximum value is obtained from a plurality of measured values of the cycle by the control program 10 measured by the cycle time measuring unit 20, and based on this maximum value and a set value of the CPU time ratio set by the user. Then, the control cycle of the controller is set.
【0032】具体的には、図2において、上記制御プロ
グラム10による周期の複数の測定値の最大値を制御プ
ログラム10に割り当てるCPU時間Aとし、ユーザに
より設定されたCPU時間割合の設定値から他のアプリ
ケーションに割り当てるCPU時間Bを決定し、このC
PU時間AとCPU時間Bとの和を制御プログラム10
に対してコントローラの制御周期として設定する。つま
り、CPU時間Aをサイクルタイム測定部20による測
定値の最大値とし、このCPU時間AとCPU時間Bと
の比がユーザにより設定されたCPU時間割合の設定値
に一致するように、コントローラの制御周期を自動設定
する。Specifically, in FIG. 2, the maximum value of the plurality of measured values of the cycle by the control program 10 is set as the CPU time A to be allocated to the control program 10, and the CPU time A is set based on the CPU time ratio set by the user. CPU time B to be allocated to the application
The control program 10 calculates the sum of the PU time A and the CPU time B.
Is set as the control cycle of the controller. That is, the CPU time A is set to the maximum value of the values measured by the cycle time measuring unit 20, and the controller is controlled so that the ratio between the CPU time A and the CPU time B matches the set value of the CPU time ratio set by the user. Set the control cycle automatically.
【0033】この手法を採用した場合は、制御プログラ
ム10の負荷が大きい場合を基準にして他のアプリケー
ションとのCPU時間比が設定される。この手法は、他
のアプリケーションにも常にCPU時間を割り当てたい
場合に適している。When this method is adopted, the CPU time ratio with another application is set based on the case where the load of the control program 10 is large. This method is suitable when it is desired to always allocate CPU time to other applications.
【0034】3)サイクルタイム測定部20で測定され
た制御プログラム10による周期の複数の測定値からそ
の最小値を求め、この最小値と、ユーザにより設定され
たCPU時間割合の設定値とに基づき、コントローラの
制御周期の設定を行なう。3) A minimum value is obtained from a plurality of measured values of the cycle by the control program 10 measured by the cycle time measuring unit 20, and based on this minimum value and a set value of the CPU time ratio set by the user. Then, the control cycle of the controller is set.
【0035】具体的には、図2において、上記制御プロ
グラム10による周期の複数の測定値の最小値を制御プ
ログラム10に割り当てるCPU時間Aとし、ユーザに
より設定されたCPU時間割合の設定値から他のアプリ
ケーションに割り当てるCPU時間Bを決定し、このC
PU時間AとCPU時間Bとの和を制御プログラム10
に対してコントローラの制御周期として設定する。つま
り、CPU時間Aをサイクルタイム測定部20による測
定値の最小値とし、このCPU時間AとCPU時間Bと
の比がユーザにより設定されたCPU時間割合の設定値
に一致するように、コントローラの制御周期を自動設定
する。Specifically, in FIG. 2, the minimum value of the plurality of measured values of the cycle by the control program 10 is set as the CPU time A to be assigned to the control program 10, and the CPU time A is set based on the CPU time ratio set by the user. CPU time B to be allocated to the application
The control program 10 calculates the sum of the PU time A and the CPU time B.
Is set as the control cycle of the controller. In other words, the CPU time A is set to the minimum value of the value measured by the cycle time measuring unit 20, and the controller is controlled so that the ratio between the CPU time A and the CPU time B matches the set value of the CPU time ratio set by the user. Set the control cycle automatically.
【0036】この手法を採用した場合は、制御プログラ
ム10の負荷が小さい場合を基準にして他のアプリケー
ションとのCPU時間比が設定される。この手法は、制
御プログラム10の制御を他のアプリケーションに優先
して実行したい場合に適している。When this method is adopted, the CPU time ratio with another application is set based on the case where the load of the control program 10 is small. This method is suitable when it is desired to execute the control of the control program 10 prior to other applications.
【0037】[0037]
【発明の効果】以上説明したようにこの発明によれば、
制御プログラムをマルチタスクオペレーションシステム
が搭載されたコンピュータ上で一定期間単独で動作させ
ることにより該制御プログラムの各周期を測定し、該測
定された制御プログラムの各周期とユーザにより設定さ
れた制御プログラムおよび他のアプリケーションの間の
コンピュータを占有する時間割合の設定値とに基づき制
御プログラムによって制御されるコントローラの制御周
期を自動設定するように構成したので、コントローラの
制御周期の設定を容易かつ適正に行なうことができると
いう効果を奏する。As described above, according to the present invention,
Each cycle of the control program is measured by operating the control program alone for a certain period of time on a computer equipped with a multitasking operation system, and each cycle of the measured control program and a control program set by a user. Since the control cycle of the controller controlled by the control program is automatically set based on the setting value of the time ratio of occupying the computer among other applications, the control cycle of the controller is easily and appropriately set. It has the effect of being able to do so.
【図1】この発明に係わるコントローラの制御周期設定
方法および装置の一実施の形態を示す概略ブロック図。FIG. 1 is a schematic block diagram showing an embodiment of a method and an apparatus for setting a control cycle of a controller according to the present invention.
【図2】図1に示したサイクルタイム設定部による制御
プログラムに対するコントローラの制御周期の設定処理
を説明する図。FIG. 2 is a view for explaining processing of setting a control cycle of a controller for a control program by a cycle time setting unit shown in FIG. 1;
10 制御プログラム 20 サイクルタイム測定部 30 サイクルタイム設定部 10 control program 20 cycle time measurement unit 30 cycle time setting unit
Claims (8)
搭載されたコンピュータ上で動作する制御プログラムに
よって制御されるコントローラの制御周期設定方法にお
いて、 上記制御プログラムを上記コンピュータ上で一定期間単
独で動作させることにより該制御プログラムの各周期を
測定し、 上記測定された上記制御プログラムの各周期とユーザに
より設定された上記制御プログラムおよび他のアプリケ
ーションの間の上記コンピュータを占有する時間割合の
設定値とに基づき上記コントローラの制御周期を自動設
定することを特徴とするコントローラの制御周期設定方
法。1. A control cycle setting method for a controller controlled by a control program running on a computer having a multi-task operation system mounted thereon, wherein the control program is operated independently on the computer for a certain period of time. Each cycle of the program is measured, and based on each cycle of the measured control program and a set value of a time ratio of occupying the computer between the control program and another application set by a user, the controller of the controller is determined. A control cycle setting method for a controller, wherein the control cycle is automatically set.
周期の平均値を算出し、該算出値と上記時間割合の設定
値とに基づき上記コントローラの制御周期を自動設定す
ることを特徴とする請求項1記載のコントローラの制御
周期設定方法。2. The method according to claim 1, wherein an average value of each cycle of the measured control program is calculated, and a control cycle of the controller is automatically set based on the calculated value and the set value of the time ratio. Item 2. The control cycle setting method of the controller according to Item 1.
周期の最大値を求め、該最大値と上記時間割合の設定値
とに基づき上記コントローラの制御周期を自動設定する
ことを特徴とする請求項1記載のコントローラの制御周
期設定方法。3. A control cycle of the controller is automatically set based on the measured maximum value of each cycle of the control program and the set value of the time ratio. 2. The control cycle setting method of the controller according to 1.
周期の最小値を求め、該最小値と上記時間割合の設定値
とに基づき上記コントローラの制御周期を自動設定する
ことを特徴とする請求項1記載のコントローラの制御周
期設定方法。4. The controller according to claim 1, wherein a minimum value of each cycle of said measured control program is obtained, and a control cycle of said controller is automatically set based on said minimum value and a set value of said time ratio. 2. The control cycle setting method of the controller according to 1.
搭載されたコンピュータ上で動作する制御プログラムに
よって制御されるコントローラの制御周期設定装置にお
いて、 上記制御プログラムを上記コンピュータ上で一定期間単
独で動作させることにより該制御プログラムの各周期を
測定する周期測定手段と、 上記制御プログラムおよび他のアプリケーションの間の
上記コンピュータを占有する時間割合の設定値を設定す
る時間割合設定手段と、 上記周期測定手段で測定された上記制御プログラムの各
周期と上記時間割合設定手段で設定された設定値とに基
づき上記コントローラの制御周期を自動設定する制御周
期設定手段と、 を具備することを特徴とするコントローラの制御周期設
定装置。5. A control cycle setting device for a controller controlled by a control program running on a computer on which a multitask operation system is mounted, wherein the control program is operated independently on the computer for a certain period of time. A period measuring means for measuring each period of the program; a time ratio setting means for setting a set value of a time ratio occupying the computer between the control program and another application; and the time ratio measured by the period measuring means. A control cycle setting device for automatically setting the control cycle of the controller based on each cycle of the control program and the set value set by the time ratio setting means.
周期から該周期の平均値を算出する平均値算出手段と、 上記平均値算出手段で算出された算出値と上記時間割合
設定手段で設定された設定値とに基づき上記コントロー
ラの制御周期を自動設定する自動設定手段と、 を具備することを特徴とする請求項5記載のコントロー
ラの制御周期設定装置。6. The control cycle setting means, comprising: an average value calculating means for calculating an average value of the cycle from each cycle of the control program measured by the cycle measuring means; 6. The controller control cycle setting device according to claim 5, further comprising: an automatic setting unit configured to automatically set a control cycle of the controller based on the calculated value and a setting value set by the time ratio setting unit. .
周期から該周期の最大値を検出する最大値検出手段と、 上記最大値検出手段で検出された検出値と上記時間割合
設定手段で設定された設定値とに基づき上記コントロー
ラの制御周期を自動設定する自動設定手段と、を具備す
ることを特徴とする請求項5記載のコントローラの制御
周期設定装置。7. The control cycle setting means includes: maximum value detection means for detecting a maximum value of the cycle from each cycle of the control program measured by the cycle measurement means; 6. The control cycle setting device for a controller according to claim 5, further comprising: an automatic setting unit configured to automatically set a control cycle of the controller based on a detected value and a setting value set by the time ratio setting unit. .
周期から該周期の最小値を検出する最小値検出手段と、 上記最小値検出手段で検出された検出値と上記時間割合
設定手段で設定された設定値とに基づき上記コントロー
ラの制御周期を自動設定する自動設定手段と、 を具備することを特徴とする請求項5記載のコントロー
ラの制御周期設定装置。8. The control cycle setting means, comprising: a minimum value detection means for detecting a minimum value of the cycle from each cycle of the control program measured by the cycle measurement means; 6. The control cycle setting device for a controller according to claim 5, further comprising: an automatic setting unit configured to automatically set a control cycle of the controller based on a detected value and a setting value set by the time ratio setting unit. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28492496A JPH10133889A (en) | 1996-10-28 | 1996-10-28 | Method for setting control cycle for controller, and device therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP28492496A JPH10133889A (en) | 1996-10-28 | 1996-10-28 | Method for setting control cycle for controller, and device therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10133889A true JPH10133889A (en) | 1998-05-22 |
Family
ID=17684829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP28492496A Withdrawn JPH10133889A (en) | 1996-10-28 | 1996-10-28 | Method for setting control cycle for controller, and device therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10133889A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005056196A (en) * | 2003-08-05 | 2005-03-03 | Fanuc Ltd | Programmable controller |
JP2011192166A (en) * | 2010-03-16 | 2011-09-29 | Fuji Electric Co Ltd | Task schedule device and task schedule method |
JP2011221751A (en) * | 2010-04-08 | 2011-11-04 | Hitachi Ltd | Information processor and information processing method |
WO2015136960A1 (en) * | 2014-03-13 | 2015-09-17 | オムロン株式会社 | Controller |
CN105426140A (en) * | 2014-09-12 | 2016-03-23 | 发纮电机株式会社 | Programmable display having I/O control function, and control system |
-
1996
- 1996-10-28 JP JP28492496A patent/JPH10133889A/en not_active Withdrawn
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005056196A (en) * | 2003-08-05 | 2005-03-03 | Fanuc Ltd | Programmable controller |
JP2011192166A (en) * | 2010-03-16 | 2011-09-29 | Fuji Electric Co Ltd | Task schedule device and task schedule method |
JP2011221751A (en) * | 2010-04-08 | 2011-11-04 | Hitachi Ltd | Information processor and information processing method |
WO2015136960A1 (en) * | 2014-03-13 | 2015-09-17 | オムロン株式会社 | Controller |
JP2015176191A (en) * | 2014-03-13 | 2015-10-05 | オムロン株式会社 | controller |
US10139799B2 (en) | 2014-03-13 | 2018-11-27 | Omron Corporation | Controller to modify an execution condition during program execution |
CN105426140A (en) * | 2014-09-12 | 2016-03-23 | 发纮电机株式会社 | Programmable display having I/O control function, and control system |
JP2016062125A (en) * | 2014-09-12 | 2016-04-25 | 発紘電機株式会社 | Programmable display with i/o control function, and control system |
CN105426140B (en) * | 2014-09-12 | 2018-07-10 | 发纮电机株式会社 | Programable display, control system with I/O control functions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4811276A (en) | Virtual computer diagnostic system with comparative monitoring of timestamped controller check signals and timestamped commands of individual virtual machines | |
JPH11272635A (en) | Multiprocessor control system, booting device and booting controller used for the same | |
JPH10133889A (en) | Method for setting control cycle for controller, and device therefor | |
JP6477260B2 (en) | Method and resource manager for executing an application | |
US10761512B2 (en) | Numerical controller | |
JP4330429B2 (en) | Profile information acquisition apparatus and method | |
JPH05189403A (en) | Virtual time measuring method for simulation | |
JP3145937B2 (en) | Runaway detection method for microcomputer | |
JPH11345129A (en) | Interval timer circuit | |
JPH04259045A (en) | Watchdog timer monitoring system | |
JPH10333931A (en) | Computer diagnostic system and diagnostic method | |
JPH04336334A (en) | Time slice value setting system | |
JPH0328938A (en) | Microcomputer device | |
JP2557785Y2 (en) | Single chip microcomputer | |
KR20040111568A (en) | Method for determining priority-dependent computer time distribution in a priority-controlled multiprocess computing system | |
JPH0362236A (en) | Watchdog timer device | |
JP2566002B2 (en) | Task dispatching method | |
JPH05241906A (en) | Programmable controller | |
JPH01265338A (en) | Automatic measuring method for cpu load reference value | |
JPS59146387A (en) | Stack control system of multiprocessing | |
JP2003015888A (en) | Cpu load measuring system | |
JPS6358563A (en) | Controller for interruption level of i/o interface | |
JPS61272843A (en) | Program execution supervisory system | |
JPH10133718A (en) | Method and device for input/output simulation of controller | |
JPH02267642A (en) | Measuring device for time exclusive for cpu |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20040106 |