JPH11224126A - Motion controller - Google Patents

Motion controller

Info

Publication number
JPH11224126A
JPH11224126A JP2471198A JP2471198A JPH11224126A JP H11224126 A JPH11224126 A JP H11224126A JP 2471198 A JP2471198 A JP 2471198A JP 2471198 A JP2471198 A JP 2471198A JP H11224126 A JPH11224126 A JP H11224126A
Authority
JP
Japan
Prior art keywords
motion control
motion
control process
execution
start command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2471198A
Other languages
Japanese (ja)
Inventor
Shinichi Muramatsu
信一 村松
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2471198A priority Critical patent/JPH11224126A/en
Publication of JPH11224126A publication Critical patent/JPH11224126A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)
  • Control By Computers (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the efficiency and performance of an object equipment to be controlled by the shortening of a tact time by shortening the operation start time of the object equipment. SOLUTION: This motion controller performs a motion control process MC1 at the start of the motion of the object equipment to be controlled as a periodic scanning process in start timer interruption for every specific fixed-time scan cycle t1 while the motion of the object equipment to be controlled is stopping. When a start command signal for a new motion instruction is inputted at specific time TI, a timer is reset in the input timing TI of this motion start instruction and gets ready to accept a start command, and a motion control process MC2 is started and carried out. After the motion control process is started, a motion control process MC3 at the time of operation is performed as a periodic scanning period for every fixed-time scanning cycle t1.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、産業用機械などの
制御対象機器のモーションを制御するモーション制御装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motion control device for controlling a motion of a device to be controlled such as an industrial machine.

【0002】[0002]

【従来の技術】従来より、モーションプログラムに基づ
いてサーボアンプ等を制御し、産業用機械などの位置決
め制御等を行うモーション制御装置が種々提案されてい
る。この種のモーション制御装置では、一般に外部から
の指令信号に従ってモーションプログラムを実行し、こ
のモーションプログラムに基づいて指令位置演算、サー
ボ系位置ループ制御を行って制御対象機器のモーション
を制御するようになっている。図5は従来のモーション
制御装置によるモーション制御処理実行タイミングを示
すタイミングチャートである。図において、MC1はモ
ーション停止中のモーション制御処理、MC2は起動受
付状態のモーション制御処理、MC3は動作状態のモー
ション制御処理を示し、t1はタイマによる定時スキャ
ン周期、TSはモーション制御処理の起動タイマ割り込
みタイミング、TIはモーション起動指令入力タイミン
グを示す。制御対象機器のモーション停止中には、所定
の定時スキャン周期t1毎に発生される起動タイマ割り
込みタイミングTSの時点より、定期スキャン処理とし
てモーション制御処理MC1が実行される。所定の時刻
TIにモーション命令の起動指令が入力されると、この
モーション起動指令入力タイミングTIの後の起動タイ
マ割り込みタイミングTSの時点に、起動指令受付状態
としてモーション制御処理MC2が実行される。モーシ
ョン制御処理の起動後においても、定時スキャン周期t
1毎の起動タイマ割り込みタイミングTSに、モーショ
ン制御処理MC3が実行される。このように従来のモー
ション制御装置では、指令位置演算やサーボ系位置ルー
プ制御などのモーション制御処理を一定のスキャン周期
に同期して実行しており、このスキャン周期は電源投入
時から固定のタイミングであり、このタイミングをずら
すことはできなかった。
2. Description of the Related Art Conventionally, various motion control devices have been proposed which control a servo amplifier or the like based on a motion program and perform positioning control of an industrial machine or the like. In this type of motion control device, a motion program is generally executed according to an external command signal, and a command position calculation and a servo system position loop control are performed based on the motion program to control the motion of the control target device. ing. FIG. 5 is a timing chart showing the timing of executing the motion control process by the conventional motion control device. In the figure, MC1 is a motion control process during a motion stop, MC2 is a motion control process in a start accepting state, MC3 is a motion control process in an operating state, t1 is a regular scan period by a timer, TS is a start timer of the motion control process. The interrupt timing and TI indicate a motion start command input timing. While the motion of the control target device is stopped, the motion control process MC1 is executed as a periodic scan process from the time point of the start timer interrupt timing TS generated every predetermined scan cycle t1. When a start command of a motion command is input at a predetermined time TI, the motion control process MC2 is executed as a start command accepting state at a start timer interrupt timing TS after the motion start command input timing TI. Even after the start of the motion control process, the scheduled scan period t
At each start timer interrupt timing TS, the motion control process MC3 is executed. As described above, in the conventional motion control device, motion control processes such as command position calculation and servo system position loop control are executed in synchronization with a fixed scan cycle. This scan cycle is performed at a fixed timing from power-on. Yes, this timing could not be shifted.

【0003】[0003]

【発明が解決しようとする課題】前述したように、従来
のモーション制御装置ではモーション制御処理を一定の
スキャン周期に同期して実行するようになっているた
め、図5に示すようにモーション命令の起動指令を受け
付けても実際に起動処理が実行されるのは次の定時スキ
ャン周期のタイミングで実行されるモーション制御処理
においてであり、起動指令の入力から実際の起動開始ま
でに遅れ時間が発生していた。
As described above, in the conventional motion control device, the motion control processing is executed in synchronization with a predetermined scan cycle. Therefore, as shown in FIG. Even if a start command is accepted, the start process is actually executed in the motion control process that is executed at the timing of the next scheduled scan cycle, and there is a delay between the input of the start command and the actual start of start. I was

【0004】本発明は、上記事情に鑑みてなされたもの
で、制御対象機器の動作起動遅れ時間を短縮することが
でき、タクトタイムの短縮による機器の効率及び性能の
向上を図ることが可能なモーション制御装置を提供する
ことを目的としている。
The present invention has been made in view of the above circumstances, and it is possible to shorten the operation start delay time of a device to be controlled, and to improve the efficiency and performance of the device by shortening the tact time. It is intended to provide a motion control device.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に記載のモーション制御装置は、一定のス
キャン時間毎のタイマ割り込みに同期してモーション命
令に基づく位置指令演算、サーボ系位置ループ制御など
のモーション制御処理を実行するモーション制御装置に
おいて、新たなモーション命令の起動指令信号を割り込
みとして取り込み、この起動指令信号入力時にモーショ
ン制御処理の起動を行うと共にタイマをリセットしてモ
ーション制御実行タイミングをずらし、以後は前記スキ
ャン時間毎のタイマ割り込みに同期してモーション制御
を実行する起動実行制御手段を備えたことを特徴とす
る。請求項2に記載のモーション制御装置は、一定のス
キャン時間毎のタイマ割り込みに同期してモーション命
令に基づく位置指令演算、サーボ系位置ループ制御など
のモーション制御処理を実行するモーション制御装置に
おいて、新たなモーション命令の起動指令信号を割り込
みとして取り込み、この起動指令信号の入力がモーショ
ン制御処理の実行中であった場合には実行中のモーショ
ン制御処理の完了直後に起動指令受付状態としてモーシ
ョン制御処理を再実行すると共にタイマをリセットして
モーション制御実行タイミングをずらし、以後は前記ス
キャン時間毎のタイマ割り込みに同期してモーション制
御を実行する起動実行制御手段を備えたことを特徴とす
る。請求項3に記載のモーション制御装置は、一定のス
キャン時間毎のタイマ割り込みに同期してモーション命
令に基づく位置指令演算、サーボ系位置ループ制御など
のモーション制御処理を実行するモーション制御装置に
おいて、新たなモーション命令の起動指令信号を割り込
みとして取り込み、この起動指令信号の入力がモーショ
ン制御処理の実行中であった場合には実行中のモーショ
ン制御処理の実行を中止して新たに起動指令受付状態と
してモーション制御処理を実行すると共にタイマをリセ
ットしてモーション制御実行タイミングをずらし、以後
は前記スキャン時間毎のタイマ割り込みに同期してモー
ション制御を実行する起動実行制御手段を備えたことを
特徴とする。上記構成により、起動指令信号を受信した
後、遅延無く直ちにモーション制御処理を開始すること
が可能となり、制御対象機器の実際の起動開始までの遅
れ時間が短縮される。
According to a first aspect of the present invention, there is provided a motion control apparatus comprising: a position controller for calculating a position command based on a motion command in synchronization with a timer interrupt at a predetermined scan time; In a motion control device that executes motion control processing such as loop control, the start command signal of a new motion instruction is captured as an interrupt, and when this start command signal is input, the motion control processing is started and the timer is reset to execute the motion control. There is provided a start-up execution control means for shifting the timing and thereafter performing motion control in synchronization with the timer interrupt for each scan time. The motion control device according to claim 2 is a motion control device that executes a motion control process such as a position command calculation based on a motion command and a servo system position loop control in synchronization with a timer interrupt for each predetermined scan time. If a start command signal of a motion command is received as an interrupt, and the input of the start command signal is during the execution of the motion control process, the motion control process is executed immediately after the motion control process being executed is completed. The present invention is further characterized in that there is provided a start-up execution control means for executing the motion control in synchronization with the timer interrupt for each scan time by shifting the motion control execution timing by resetting the timer at the same time as re-executing. A motion control device according to claim 3, wherein the motion control device performs a motion control process such as a position command calculation based on a motion command and a servo system position loop control in synchronization with a timer interrupt for each predetermined scan time. If a start command signal of a motion command is received as an interrupt, and if the input of this start command signal is executing a motion control process, the execution of the motion control process being executed is stopped and a new start command is accepted. The present invention is further characterized in that there is provided a start-up execution control means for executing the motion control process and resetting the timer to shift the motion control execution timing, and thereafter executing the motion control in synchronization with the timer interrupt for each scan time. According to the above configuration, the motion control process can be started immediately without delay after receiving the start command signal, and the delay time until the start of the actual start of the controlled device is reduced.

【0006】[0006]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1は本発明の一実施形態に係る
モーション制御装置の機能構成を示すブロック図であ
る。モーション制御装置は、モーションプログラムなど
によるモーション命令に基づいて産業用機械等の制御対
象機器に対し位置決め制御等のモーション制御を行うも
のであり、外部からの入力信号としてモーション命令の
起動を指令するための起動指令信号10を取り込む信号
入力部11と、前記起動指令信号10に基づいてモーシ
ョン命令の起動、停止等の制御を行う起動実行制御手段
としてのモーション命令歩進管理部12とを備えてい
る。モーション命令歩進管理部12は、所定のスキャン
時間を計測するタイマ13が接続され、このタイマ13
から出力される割り込みタイミング信号に従ってモーシ
ョン命令を実行するようになっている。モーション命令
歩進管理部12の出力段には、モーション命令に従って
制御量の演算を行う演算部14と、演算部14からの出
力データに基づいてサーボアンプ16への出力を制御す
るサーボ制御部15とを備えている。そして、前記サー
ボアンプ15から出力されるアナログ指令によりサーボ
モータ17が駆動制御され、サーボモータ17の回転情
報を示すエンコーダ等の位置検出器18からの出力信号
がサーボ制御部15に返されるように、産業用機械など
の制御対象機器の位置制御を行う位置制御フィードバッ
クループが構成されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a functional configuration of a motion control device according to one embodiment of the present invention. The motion control device performs motion control such as positioning control for a controlled device such as an industrial machine based on a motion command such as a motion program. A signal input unit 11 for receiving the start command signal 10 of the first embodiment, and a motion command step management unit 12 as a start execution control unit for controlling the start and stop of the motion command based on the start command signal 10. . The timer 13 for measuring a predetermined scan time is connected to the motion command step management unit 12.
The motion instruction is executed according to the interrupt timing signal output from the CPU. The output stage of the motion command step management unit 12 includes a calculation unit 14 that calculates a control amount according to the motion command, and a servo control unit 15 that controls output to a servo amplifier 16 based on output data from the calculation unit 14. And The drive of the servo motor 17 is controlled by an analog command output from the servo amplifier 15, and an output signal from a position detector 18 such as an encoder indicating rotation information of the servo motor 17 is returned to the servo control unit 15. A position control feedback loop for controlling the position of a device to be controlled such as an industrial machine is configured.

【0007】図2は本実施形態のモーション制御装置に
よるモーション制御処理実行タイミングの第1の例を示
したものである。図において、MC1はモーション停止
中のモーション制御処理、MC2は起動受付状態のモー
ション制御処理、MC3は動作状態のモーション制御処
理を示し、t1はタイマ13による定時スキャン周期、
TSはモーション制御処理の起動タイマ割り込みタイミ
ング、TIはモーション起動指令入力タイミングを示
す。モーション命令歩進管理部12は、タイマ13から
出力される割り込みタイミング信号に従い、モーション
命令に基づくモーション制御処理を実行する。制御対象
機器のモーション停止中には、所定の定時スキャン周期
t1毎にタイマ13から割り込みタイミング信号が出力
され、この起動タイマ割り込みタイミングTSに同期し
てモーション制御処理MC1が行われる。すなわち、モ
ーション停止中は定時スキャン周期t1毎に定期スキャ
ン処理として停止時のモーション制御処理MC1を実行
する。所定の時刻TIに新規のモーション命令の起動指
令信号10が入力されると、このモーション起動指令入
力タイミングTIの時点よりモーション制御処理MC2
が行われる。すなわち、モーション命令歩進管理部12
は、起動指令信号10の入力を検出すると、前記起動タ
イマ割り込みタイミングTSよりずれたタイミングであ
っても、この起動指令入力タイミングTIでタイマ13
をリセットし、起動指令受付状態としてモーション制御
処理MC2を起動し実行する。モーション制御処理の起
動後は、起動前と同様の定時スキャン周期t1毎にタイ
マ13から割り込みタイミング信号が出力され、起動タ
イマ割り込みタイミングTSに同期してモーション制御
処理MC3が行われる。すなわち、起動指令入力後は定
時スキャン周期t1毎に定期スキャン処理として動作時
のモーション制御処理MC3を実行する。
FIG. 2 shows a first example of the timing of executing a motion control process by the motion control device of the present embodiment. In the figure, MC1 indicates a motion control process during a motion stop, MC2 indicates a motion control process in a start receiving state, MC3 indicates a motion control process in an operation state, t1 indicates a regular scan period by the timer 13,
TS indicates a start timer interrupt timing of the motion control process, and TI indicates a motion start command input timing. The motion command step management unit 12 executes a motion control process based on the motion command according to the interrupt timing signal output from the timer 13. While the motion of the device to be controlled is stopped, an interrupt timing signal is output from the timer 13 every predetermined scan cycle t1, and the motion control process MC1 is performed in synchronization with the start timer interrupt timing TS. That is, while the motion is stopped, the stop motion control process MC1 is executed as a periodic scan process at every regular scan period t1. When a start command signal 10 of a new motion command is input at a predetermined time TI, the motion control process MC2 starts from the time of the motion start command input timing TI.
Is performed. That is, the motion command step management unit 12
When the input of the start command signal 10 is detected, even if the timing is shifted from the start timer interrupt timing TS, the timer 13
Is reset and the motion control process MC2 is started and executed in a start command receiving state. After the start of the motion control process, an interrupt timing signal is output from the timer 13 at the same regular scan cycle t1 as before the start, and the motion control process MC3 is performed in synchronization with the start timer interrupt timing TS. That is, after the start command is input, the motion control process MC3 at the time of operation is executed as a periodic scan process at every regular scan cycle t1.

【0008】図3はモーション制御処理実行タイミング
の第2の例を示したものである。この第2の例では、モ
ーション制御処理の実行中に起動指令信号が入力された
場合の処理を説明する。モーション停止中のモーション
制御処理MC1の実行中に起動指令信号10が入力され
ると、このモーション制御処理MC1が終了した直後に
モーション制御処理MC2が行われる。すなわち、モー
ション命令歩進管理部12は、モーション制御処理実行
中に起動指令信号10の入力を検出すると、このモーシ
ョン起動指令入力タイミングTIより後の実行中の処理
の完了直後にタイマ13をリセットし、起動指令受付状
態としてモーション制御処理MC2を起動し実行する。
以後は、定時スキャン周期t1毎にタイマ13から割り
込みタイミング信号が出力され、起動タイマ割り込みタ
イミングTSに同期して定期スキャン処理として動作時
のモーション制御処理MC3を実行する。
FIG. 3 shows a second example of the motion control processing execution timing. In the second example, processing when a start command signal is input during execution of the motion control processing will be described. When the start command signal 10 is input during the execution of the motion control process MC1 during the motion stop, the motion control process MC2 is performed immediately after the end of the motion control process MC1. That is, when detecting the input of the start command signal 10 during the execution of the motion control process, the motion command step management unit 12 resets the timer 13 immediately after the completion of the process being executed after the motion start command input timing TI. Then, the motion control process MC2 is started and executed as a start command receiving state.
Thereafter, an interrupt timing signal is output from the timer 13 at every regular scan period t1, and the motion control process MC3 during operation is executed as a periodic scan process in synchronization with the start timer interrupt timing TS.

【0009】このように、本実施形態では、起動指令信
号を割り込みとしてモーション制御装置に取り込み、こ
の割り込み処理によりスキャン処理の実行タイミングを
ずらし、直ちに起動指令受付状態としてモーション制御
処理を起動することにより、遅延無く即時にモーション
制御を開始するようになっている。これにより、起動指
令信号の入力から実際の起動開始までの遅れ時間を短縮
することが可能となり、タクトタイムの短縮による制御
対象機器の効率及び性能の向上を図ることができる。な
お、新たなモーション命令の起動指令が受け付けられる
のは制御対象機器のモーション停止中のみであり、モー
ション制御処理の実行タイミングが一瞬ずれても機器の
制御上の問題は発生しない。また、表示器等への状態表
示処理や入出力信号処理などのモーション制御に付随す
る制御処理については、バックグランド処理やレベルの
低い定時スキャン処理として実行する構造とすることに
より、モーション制御処理とは独立なタイミングで処理
することが可能である。また、モーション制御処理の実
行中に起動指令信号の割り込みが入力された場合、実行
中のモーション制御処理の実行完了直後に起動指令受付
状態としてモーション制御処理を直ちに再実行する。こ
のように起動指令の新規受付は制御対象機器のモーショ
ン動作の停止中のみになされ、このときのモーション制
御処理の負荷は軽いため処理の実行時間は短く、実行中
の処理の完了を待ってから新たにモーション制御処理を
再実行しても大きな遅れ時間は発生しない。
As described above, in the present embodiment, the start command signal is taken into the motion control device as an interrupt, the execution timing of the scan process is shifted by this interrupt process, and the motion control process is immediately started in the start command receiving state. The motion control is started immediately without delay. This makes it possible to reduce the delay time from the input of the start command signal to the actual start of the start, and to improve the efficiency and performance of the controlled device by shortening the tact time. It should be noted that the start command of the new motion command is accepted only while the motion of the control target device is stopped. Even if the execution timing of the motion control process is momentarily shifted, no problem occurs in control of the device. In addition, control processing accompanying motion control, such as status display processing on a display device and input / output signal processing, is structured to be executed as background processing or low-level regular scan processing, thereby achieving motion control processing and Can be processed at independent timing. Further, when an interrupt of the start command signal is input during the execution of the motion control process, the motion control process is immediately re-executed as the start command receiving state immediately after the execution of the motion control process being executed is completed. In this way, a new start command is accepted only while the motion operation of the control target device is stopped, and the load of the motion control process at this time is light, so the execution time of the process is short, and after waiting for the completion of the process being executed, Even if the motion control process is newly executed, no large delay time occurs.

【0010】図4はモーション制御処理実行タイミング
の第3の例を示したものである。この第3の例では、モ
ーション制御処理の実行中に起動指令信号が入力された
場合の変形例を説明する。図4において、MC4は実行
キャンセルされるモーション停止中のモーション制御処
理を示す。モーション停止中のモーション制御処理MC
1の実行中に起動指令信号10が入力されると、このモ
ーション起動指令入力タイミングTIより直ちにモーシ
ョン制御処理MC2が行われる。すなわち、モーション
命令歩進管理部12は、モーション制御処理実行中に起
動指令信号10の入力を検出すると、このモーション起
動指令入力タイミングTIの時点で実行中のモーション
制御処理MC4をキャンセルして強制終了処理を実行し
た上でタイマ13をリセットし、新たにモーション制御
処理MC2を起動し実行する。以後は、定時スキャン周
期t1毎にタイマ13から割り込みタイミング信号が出
力され、起動タイマ割り込みタイミングTSに同期して
定期スキャン処理として動作時のモーション制御処理M
C3を実行する。この第3の例によれば、起動指令割り
込み処理で実行中のモーション制御処理を中断、強制終
了してその直後に新たに起動受付状態としてモーション
制御処理を再実行することにより、モーション制御処理
実行中に起動指令が入力された場合の起動遅れ時間を回
避することが可能である。
FIG. 4 shows a third example of the motion control processing execution timing. In the third example, a modified example in which a start command signal is input during execution of the motion control process will be described. In FIG. 4, MC4 indicates a motion control process during a motion stop, which is canceled. Motion control processing MC during motion stop
When the start command signal 10 is input during the execution of Step 1, the motion control process MC2 is performed immediately from the motion start command input timing TI. That is, when detecting the input of the start command signal 10 during execution of the motion control process, the motion command step management unit 12 cancels the motion control process MC4 being executed at the time of the motion start command input timing TI and forcibly terminates. After executing the processing, the timer 13 is reset, and the motion control processing MC2 is newly started and executed. Thereafter, an interrupt timing signal is output from the timer 13 at each regular scan period t1, and the motion control process M during the operation as the periodic scan process is synchronized with the start timer interrupt timing TS.
Execute C3. According to the third example, the motion control process being executed is interrupted and forcibly terminated by the start command interrupt process, and immediately after that, the motion control process is re-executed as a new start accepting state, thereby executing the motion control process. It is possible to avoid a start delay time when a start command is input during the operation.

【0011】[0011]

【発明の効果】以上説明したように、本発明によれば、
新たなモーション命令の起動指令信号を割り込みとして
取り込み、この起動指令信号受信時にモーション制御処
理の起動を行うと共にタイマをリセットしてモーション
制御実行タイミングをずらし、以後は一定のスキャン時
間毎のタイマ割り込みに同期してモーション制御を実行
することにより、制御対象機器の動作起動遅れ時間を短
縮することができ、タクトタイムの短縮による機器の効
率及び性能の向上を図ることができるという効果があ
る。
As described above, according to the present invention,
A start command signal of a new motion command is taken as an interrupt. When the start command signal is received, the motion control process is started, and the timer is reset to shift the motion control execution timing. By executing the motion control in synchronization, the operation start delay time of the controlled device can be reduced, and the efficiency and performance of the device can be improved by shortening the tact time.

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

【図1】本発明の一実施形態に係るモーション制御装置
の機能構成を示すブロック図である。
FIG. 1 is a block diagram showing a functional configuration of a motion control device according to an embodiment of the present invention.

【図2】本実施形態のモーション制御装置によるモーシ
ョン制御処理実行タイミングの第1の例を示すタイミン
グチャートである。
FIG. 2 is a timing chart showing a first example of motion control processing execution timing by the motion control device of the present embodiment.

【図3】本実施形態のモーション制御装置によるモーシ
ョン制御処理実行タイミングの第2の例を示すタイミン
グチャートである。
FIG. 3 is a timing chart showing a second example of the motion control processing execution timing by the motion control device of the present embodiment.

【図4】本実施形態のモーション制御装置によるモーシ
ョン制御処理実行タイミングの第3の例を示すタイミン
グチャートである。
FIG. 4 is a timing chart showing a third example of the motion control process execution timing by the motion control device of the present embodiment.

【図5】従来のモーション制御装置によるモーション制
御処理実行タイミングを示すタイミングチャートであ
る。
FIG. 5 is a timing chart showing a timing of executing a motion control process by a conventional motion control device.

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

10 起動指令信号 11 信号入力部 12 モーション命令歩進管理部 13 タイマ 14 演算部 15 サーボ制御部 MC1 モーション停止中のモーション制御処理 MC2 起動受付状態のモーション制御処理 MC3 動作状態のモーション制御処理 MC4 実行キャンセルされるモーション停止中のモー
ション制御処理 t1 定時スキャン周期 TS 起動タイマ割り込みタイミング TI モーション起動指令入力タイミング
Reference Signs List 10 Start command signal 11 Signal input unit 12 Motion command step management unit 13 Timer 14 Operation unit 15 Servo control unit MC1 Motion control process during motion stop MC2 Motion control process in start acceptance state MC3 Motion control process in operation state MC4 Execution cancellation Control process during motion stop t1 Scheduled scan period TS Start timer interrupt timing TI Motion start command input timing

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 一定のスキャン時間毎のタイマ割り込み
に同期してモーション命令に基づく位置指令演算、サー
ボ系位置ループ制御などのモーション制御処理を実行す
るモーション制御装置において、 新たなモーション命令の起動指令信号を割り込みとして
取り込み、この起動指令信号入力時にモーション制御処
理の起動を行うと共にタイマをリセットしてモーション
制御実行タイミングをずらし、以後は前記スキャン時間
毎のタイマ割り込みに同期してモーション制御を実行す
る起動実行制御手段を備えたことを特徴とするモーショ
ン制御装置。
1. A motion control device that executes a motion control process such as a position command calculation based on a motion command and a servo system position loop control in synchronization with a timer interrupt at a predetermined scan time. A signal is captured as an interrupt, the motion control process is started when this start command signal is input, the timer is reset, the motion control execution timing is shifted, and thereafter, the motion control is executed in synchronization with the timer interrupt for each scan time. A motion control device comprising activation execution control means.
【請求項2】 一定のスキャン時間毎のタイマ割り込み
に同期してモーション命令に基づく位置指令演算、サー
ボ系位置ループ制御などのモーション制御処理を実行す
るモーション制御装置において、 新たなモーション命令の起動指令信号を割り込みとして
取り込み、この起動指令信号の入力がモーション制御処
理の実行中であった場合には実行中のモーション制御処
理の完了直後に起動指令受付状態としてモーション制御
処理を再実行すると共にタイマをリセットしてモーショ
ン制御実行タイミングをずらし、以後は前記スキャン時
間毎のタイマ割り込みに同期してモーション制御を実行
する起動実行制御手段を備えたことを特徴とするモーシ
ョン制御装置。
2. A motion control apparatus for executing a motion control process such as a position command calculation based on a motion command and a servo system position loop control in synchronization with a timer interrupt for each predetermined scan time. If the input of this start command signal is during the execution of the motion control process, the motion control process is re-executed immediately after the execution of the motion control process is completed and the timer is set to the start command accepting state. A motion control device comprising: a start execution control unit that resets the motion control execution timing, shifts the motion control execution timing, and thereafter executes the motion control in synchronization with the timer interrupt for each scan time.
【請求項3】 一定のスキャン時間毎のタイマ割り込み
に同期してモーション命令に基づく位置指令演算、サー
ボ系位置ループ制御などのモーション制御処理を実行す
るモーション制御装置において、 新たなモーション命令の起動指令信号を割り込みとして
取り込み、この起動指令信号の入力がモーション制御処
理の実行中であった場合には実行中のモーション制御処
理の実行を中止して新たに起動指令受付状態としてモー
ション制御処理を実行すると共にタイマをリセットして
モーション制御実行タイミングをずらし、以後は前記ス
キャン時間毎のタイマ割り込みに同期してモーション制
御を実行する起動実行制御手段を備えたことを特徴とす
るモーション制御装置。
3. A motion control device that executes a motion control process such as a position command calculation based on a motion command and a servo system position loop control in synchronization with a timer interrupt for every predetermined scan time. If the input of the start command signal is during the execution of the motion control process, the execution of the motion control process being executed is stopped, and the motion control process is newly performed with the start command received. And a start control unit for resetting the timer to shift the motion control execution timing and thereafter executing the motion control in synchronization with the timer interrupt for each scan time.
JP2471198A 1998-02-05 1998-02-05 Motion controller Pending JPH11224126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2471198A JPH11224126A (en) 1998-02-05 1998-02-05 Motion controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2471198A JPH11224126A (en) 1998-02-05 1998-02-05 Motion controller

Publications (1)

Publication Number Publication Date
JPH11224126A true JPH11224126A (en) 1999-08-17

Family

ID=12145765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2471198A Pending JPH11224126A (en) 1998-02-05 1998-02-05 Motion controller

Country Status (1)

Country Link
JP (1) JPH11224126A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101011032B1 (en) * 2008-06-27 2011-01-28 한국산업기술대학교산학협력단 Open Motion Control Method and System using Open Remote Control Driving Scheme
US9438363B2 (en) 2012-08-01 2016-09-06 Mitsubishi Electric Corporation Communication device, communication system, and synchronous control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101011032B1 (en) * 2008-06-27 2011-01-28 한국산업기술대학교산학협력단 Open Motion Control Method and System using Open Remote Control Driving Scheme
US9438363B2 (en) 2012-08-01 2016-09-06 Mitsubishi Electric Corporation Communication device, communication system, and synchronous control method

Similar Documents

Publication Publication Date Title
JPH07129418A (en) Program control system for multi-task environment
JPH11224126A (en) Motion controller
JPS6019028B2 (en) information processing equipment
JP2010102567A (en) Periodical task execution device, periodical task execution method, and program
US20100180279A1 (en) Field control device and field control method
JP2880658B2 (en) Runaway detection device for multitask program
CN110568821B (en) Numerical controller
JP2004005302A (en) Motion program execution device and motion program debugging device
JPH1195825A (en) Method for executing numerical control program
JPH0683652A (en) Microcomputer system
JPH07287660A (en) Interruption processing method for programmable controller
JP3350716B2 (en) Positioning device
CN113778640A (en) Task execution method and device, electronic equipment and storage medium
JP3074809B2 (en) Programmable controller
JP2000339037A (en) Motion control method
JPS63284604A (en) Programmable controller
JPS63211004A (en) Programmable controller
JPH07110773A (en) Task switching device
JPS61183705A (en) Operating trace processing method of programmable controller
JP2019200644A (en) Control device, control method, and control program
JPH08212085A (en) Information processor and communication processor
JPH02136927A (en) Language process program
JPH0883187A (en) Data processor
JPS61204704A (en) Computer system suitable for sequence control and servo-control
JP2002229616A (en) Executing method for motion program