JP2000339009A - Positioning control unit, cpu unit and programmable controller system - Google Patents

Positioning control unit, cpu unit and programmable controller system

Info

Publication number
JP2000339009A
JP2000339009A JP11151650A JP15165099A JP2000339009A JP 2000339009 A JP2000339009 A JP 2000339009A JP 11151650 A JP11151650 A JP 11151650A JP 15165099 A JP15165099 A JP 15165099A JP 2000339009 A JP2000339009 A JP 2000339009A
Authority
JP
Japan
Prior art keywords
program
interrupt
interrupt request
unit
positioning
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
JP11151650A
Other languages
Japanese (ja)
Inventor
Shinji Shiraki
真二 白木
Yasuhiro Mori
康浩 森
Junichi Ueno
純一 植野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP11151650A priority Critical patent/JP2000339009A/en
Publication of JP2000339009A publication Critical patent/JP2000339009A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To make the cooperation between the positioning processing and the control of a finishing machine closer and to improve both machining accuracy and machining speed by notifying a CPU unit of the state of a positioning control program of an MC unit via the interrupt processing and executing the prescribed interrupt processing via the CPU unit. SOLUTION: The instructions are successively decoded from a positioning control program and at the same time an interrupt request instruction is decoded while the servo control is carried out (404). Under such conditions, the interrupt request processing is executed (405, 406). At the same time, an interrupt request is given to a CPU unit immediately or in the timing that is designated by the interrupt request instruction. The CPU unit receives the interrupt request and executes a designated interrupt program. Thus, an MC unit cooperates with the CPU unit to quickly perform a work machining process, etc.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、位置決め制御ユ
ニット、CPUユニット、並びに、それらを含むプログ
ラマブル・コントローラ・システムに係り、特に位置決
め制御ユニットとCPUユニットとが互いに連携して所
望の加工動作を行う場合などに好適なプログラマブル・
コントローラ・システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a positioning control unit, a CPU unit, and a programmable controller system including them, and more particularly to a positioning control unit and a CPU unit performing desired processing operations in cooperation with each other. Programmable
Related to the controller system.

【0002】[0002]

【従来の技術】プログラマブル・コントローラの本体部
分を構成するCPUユニットと、サーボ制御を用いて複
雑な位置決め動作を制御する位置決め制御ユニットと
を、システムバスを介して相互に交信可能に接続し、両
者を互いに連携させながら複雑な位置決め制御を精度良
く実現するようにしたプログラマブル・コントローラ・
システムは従来より知られている。
2. Description of the Related Art A CPU unit constituting a main body of a programmable controller and a positioning control unit for controlling a complicated positioning operation by using servo control are connected to each other via a system bus so that they can communicate with each other. Programmable controller that realizes complicated positioning control with high accuracy while linking
Systems are conventionally known.

【0003】この種の位置決め制御ユニットの基本的な
構成は、所定言語(BASIC言語,G言語等)で記述
された位置決め制御プログラムを格納するプログラム記
憶手段と、このプログラム記憶手段から動作命令を読み
出して解読することにより、対応する位置決め動作パタ
ーンを生成するプログラム実行手段と、このプログラム
実行手段で生成された位置決め動作パターンを目標パタ
ーンとしてサーボ演算により操作出力を生成するサーボ
制御手段とを有するものである。
The basic configuration of this type of positioning control unit is as follows: a program storage means for storing a positioning control program described in a predetermined language (BASIC language, G language, etc.), and an operation command read out from the program storage means And a servo control means for generating an operation output by a servo calculation using the positioning operation pattern generated by the program execution means as a target pattern. is there.

【0004】かかるプログラマブル・コントローラ・シ
ステムは、例えば、ワークを裁断機に位置決めする工程
と、裁断機を下降させてワークを裁断する工程とを高速
で繰り返す作業などに適用することができる。すなわ
ち、このような場合、ワークを裁断機に位置決めする動
作は、位置決め制御ユニットを用いて位置決め機構をサ
ーボ制御により正確に制御することにより行われ、一方
裁断機の下降タイミングあるいは下降条件などについて
は、CPUユニット側で通常のシーケンスプログラムを
実行することによって制御されることが普通である。
[0004] Such a programmable controller system can be applied to, for example, an operation in which a step of positioning a work on a cutting machine and a step of lowering the cutting machine to cut the work are repeated at a high speed. That is, in such a case, the operation of positioning the work on the cutting machine is performed by accurately controlling the positioning mechanism by the servo control using the positioning control unit. Is usually controlled by executing a normal sequence program on the CPU unit side.

【0005】このようなワークの裁断加工処理を、プロ
グラム・コントローラ・システムで実行する場合におけ
る、CPUユニットと位置決め制御ユニットとの間にお
ける信号のやりとりの様子が図8のフローチャートに概
略的に示されている。
FIG. 8 is a flow chart schematically showing how signals are exchanged between a CPU unit and a positioning control unit when such a cutting process of a workpiece is executed by a program controller system. ing.

【0006】同図に示されるように、CPUユニットの
側では、ラダープログラムの実行を繰り返しつつ(ステ
ップ802)、ほぼ一定の周期で各種センサ・スイッ
チ、並びに、位置決めユニットの状態を読み込み(ステ
ップ801)、その後、読み込まれた位置決めユニット
の状態に基づいて、位置決め開始の条件が整ったか(ス
テップ803)、前回の位置決めは完了したか(ステッ
プ805)、裁断機は下降したか(ステップ807)の
判定を行う。
As shown in FIG. 1, the CPU unit reads the states of various sensors and switches and the positioning unit at a substantially constant cycle while repeatedly executing the ladder program (step 802) (step 801). Then, based on the state of the positioning unit that has been read, whether the conditions for starting positioning have been satisfied (step 803), whether the previous positioning has been completed (step 805), or whether the cutting machine has descended (step 807) Make a decision.

【0007】ここで、位置決め開始の条件が整ったもの
と判定されれば(ステップ803YES)、位置決めユ
ニットに対して位置決め指令が与えられる(ステップ8
04)。また、前回の位置決めは完了したものと判定さ
れれば(ステップ805YES)、裁断機に対して下降
の指令が与えられる(ステップ806)。更に、裁断機
が下降したものと判定されれば(ステップ807YE
S)、裁断機に対して上昇の指令が与えられる(ステッ
プ808)。
Here, if it is determined that the conditions for starting the positioning are satisfied (step 803 YES), a positioning command is given to the positioning unit (step 8).
04). If it is determined that the previous positioning has been completed (YES in Step 805), a command to lower the cutting machine is given (Step 806). Further, if it is determined that the cutting machine has been lowered (step 807YE
S), a command to ascend is given to the cutter (step 808).

【0008】一方、位置決め制御ユニット側では、CP
Uユニット側から位置決めの指令が到来するのを待って
(ステップ811YES)、予めプログラムされた位置
決め制御プログラムを実行することによって、位置決め
動作を開始し(ステップ812)、位置決め動作が完了
するのを待って(ステップ813YES)、CPUユニ
ットへ位置決めが完了したことを通知する(ステップ8
14)。
On the other hand, on the positioning control unit side, CP
Waiting for a positioning command from the U unit (step 811 YES), the positioning operation is started by executing a pre-programmed positioning control program (step 812), and waiting for the positioning operation to be completed. (Step 813 YES), the CPU unit is notified that the positioning has been completed (step 8).
14).

【0009】尚、ここで言う『通知』とは、その時点で
直接CPUユニット側へとその旨のデータを送出するの
ではなく、当該位置決め制御ユニットのメモリ内に、位
置決めが完了した旨のデータを格納するだけの処理であ
る(ステップ814)。
The "notification" mentioned here does not mean that the data to that effect is sent directly to the CPU unit at that time, but the data indicating that the positioning has been completed is stored in the memory of the positioning control unit. (Step 814).

【0010】すると、この位置決め制御ユニット側のデ
ータは、CPUユニット側において、ラダープログラム
の実行時間によって定まる一定周期で読み込まれ(ステ
ップ801)、これにより位置決め制御ユニット側で所
定の位置決めが完了した旨がCPUユニット側ではじめ
て確認されるのである。
[0010] Then, the data on the positioning control unit side is read by the CPU unit at a constant period determined by the execution time of the ladder program (step 801), whereby the predetermined positioning on the positioning control unit side is completed. Is first confirmed on the CPU unit side.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のプログラマブル・コントローラ・システムに
あっては、位置決め制御ユニット側の処理(ステップ8
14)で生成された位置決め完了データを、CPUユニ
ット側の処理(ステップ801)で読み込むことによっ
て、位置決め制御ユニット側において位置決めが完了し
たか否かを判定するものであるため(ステップ80
5)、CPUユニット側に格納されるラダープログラム
の規模が増大して、いわゆるプログラム一巡実行時間が
長大化すると、位置決め制御ユニット側からCPUユニ
ット側への信号伝達遅れ時間が無視し得なくなり、先ほ
どの裁断機でワークを裁断する処理を繰り返すような場
合において、処理の高速化の妨げとなるという問題点が
指摘されている。
However, in such a conventional programmable controller system, processing on the positioning control unit side (step 8).
Since the positioning completion data generated in step 14) is read in the processing on the CPU unit side (step 801), it is determined whether or not positioning has been completed on the positioning control unit side (step 80).
5) If the scale of the ladder program stored in the CPU unit increases and the so-called program round execution time increases, the signal transmission delay time from the positioning control unit to the CPU unit cannot be ignored. It has been pointed out that when the processing of cutting the workpiece by the cutting machine described above is repeated, the processing speed is hindered.

【0012】この発明は、このような従来の問題点に着
目してなされたものであり、その目的とするところは、
例えば、位置決め制御ユニット側でワークの正確な位置
決めを制御しつつ、CPUユニット側で加工機械を制御
して、両者の連携により所望の加工動作を制御するよう
なアプリケーションを高速に実行可能としたプログラマ
ブル・コントローラ・システム、並びに、それに好適な
CPUユニット及び位置決め制御ユニットを提供するこ
とにある。
The present invention has been made in view of such a conventional problem.
For example, a programmable controller that controls the processing machine on the CPU unit while controlling the exact positioning of the workpiece on the positioning control unit, and can execute applications that control the desired processing operation in cooperation with each other at high speed. -To provide a controller system and a CPU unit and a positioning control unit suitable for the controller system.

【0013】[0013]

【課題を解決するための手段】この出願の請求項1に記
載の発明は、プログラマブル・コントローラ・システム
を構成する高機能ユニットの1つであって、所定言語で
記述された位置決め制御プログラムを格納するプログラ
ム記憶手段と、前記プログラム記憶手段から動作命令を
読み出して解読することにより、対応する位置決め動作
パターンを生成するプログラム実行手段と、前記プログ
ラム実行手段で生成された位置決め動作パターンを目標
パターンとしてサーボ演算により操作出力を生成するサ
ーボ制御手段と、を有するものであって、前記プログラ
ム記憶手段から割り込み要求命令が読み出されて解読さ
れた場合には、その割り込み要求命令に従って、割り込
み要求信号をCPUユニットへ繋がる割り込みラインに
送出する割り込み要求手段を設けたことを特徴とする位
置決め制御ユニットにある。
The invention described in claim 1 of the present application is one of high-performance units constituting a programmable controller system and stores a positioning control program described in a predetermined language. A program execution unit that generates a corresponding positioning operation pattern by reading and decoding an operation command from the program storage unit, and a servo that uses the positioning operation pattern generated by the program execution unit as a target pattern. And a servo control means for generating an operation output by calculation, wherein when an interrupt request command is read from the program storage means and decoded, an interrupt request signal is sent to the CPU according to the interrupt request command. Interrupts sent to the interrupt line connected to the unit In the positioning control unit, characterized in that a determined unit.

【0014】この出願の請求項2に記載の発明は、割り
込み要求手段が、割り込み要求信号に加えて、割り込み
プログラム指定情報をシステムバスへと送出することを
特徴とする請求項1に記載の位置決め制御ユニットにあ
る。
The invention according to claim 2 of the present application is characterized in that the interrupt request means sends interrupt program designation information to the system bus in addition to the interrupt request signal. In the control unit.

【0015】この出願の請求項3に記載の発明は、プロ
グラマブル・コントローラ・システムを構成するCPU
ユニットであって、所定言語で記述されたラダー図等の
常用ユーザプログラムを格納するプログラム記憶手段
と、前記プログラム記憶手段から常用プログラムを読み
出して解読実行するプログラム実行手段と、外部入出力
機器との間で入出力データの更新を行う入出力データ更
新手段と、を有するものであって、割り込み信号ライン
から割り込み要求信号が到来するのに応答して、常用ユ
ーザプログラムの実行を中断し、その間に所定の割り込
み用ユーザプログラムを実行する割り込み受け付け手段
を具備し、かつ該割り込み受け付け手段が、予め用意さ
れた2以上の割り込み用ユーザプログラムの中で、位置
決め制御ユニットから到来するプログラム指定情報で指
定された割り込み用ユーザプログラムを実行することを
特徴とするCPUユニットにある。
According to a third aspect of the present invention, there is provided a CPU constituting a programmable controller system.
A program storage unit for storing a regular user program such as a ladder diagram written in a predetermined language, a program execution unit for reading and decoding and executing a regular program from the program storage unit, and an external input / output device. Input / output data updating means for updating the input / output data between them, and interrupting the execution of the regular user program in response to the arrival of the interrupt request signal from the interrupt signal line, An interrupt receiving means for executing a predetermined interrupt user program is provided, and the interrupt receiving means is specified by program specification information coming from the positioning control unit among two or more prepared interrupt user programs. CPU user program for executing a user program for interruption Located in Tsu door.

【0016】この発明の請求項4に記載の発明は、シス
テムバスを介して相互に結ばれた位置決め制御ユニット
とCPUユニットとからなり、前記位置決め制御ユニッ
トには、所定言語で記述された位置決め制御プログラム
を格納するプログラム記憶手段と、前記プログラム記憶
手段から動作命令を読み出して解読することにより、対
応する位置決め動作パターンを生成するプログラム実行
手段と、前記プログラム実行手段で生成された位置決め
動作パターンを目標パターンとしてサーボ演算により操
作出力を生成するサーボ制御手段と、に加えて、前記プ
ログラム記憶手段から割り込み要求命令が読み出されて
解読された場合には、その割り込み要求命令で指定され
たタイミングで割り込み要求信号をCPUユニットへ繋
がる割り込みラインに送出する割り込み要求手段が設け
られており、かつ前記CPUユニットには、所定言語で
記述されたラダー図等の常用ユーザプログラムを格納す
るプログラム記憶手段と、前記プログラム記憶手段から
常用プログラムを読み出して解読実行するプログラム実
行手段と、外部入出力機器との間で入出力データの更新
を行う入出力データ更新手段と、に加えて、割り込み信
号ラインから割り込み要求信号が到来するのに応答し
て、常用ユーザプログラムの実行を中断し、その間に所
定の割り込み用ユーザプログラムを実行する割り込み受
け付け手段が設けられている、ことを特徴とする請求項
4に記載のプログラマブル・コントローラ・システムに
ある。
According to a fourth aspect of the present invention, a positioning control unit and a CPU unit are connected to each other via a system bus, and the positioning control unit includes a positioning control written in a predetermined language. Program storage means for storing a program, program execution means for generating a corresponding positioning operation pattern by reading and decoding operation instructions from the program storage means, and a positioning operation pattern generated by the program execution means In addition to servo control means for generating an operation output by servo calculation as a pattern, when an interrupt request instruction is read from the program storage means and decoded, the interrupt is generated at the timing designated by the interrupt request instruction. An interrupt line connecting the request signal to the CPU unit The CPU unit has a program storage means for storing a regular user program such as a ladder diagram described in a predetermined language, and reads a regular program from the program storage means. In addition to a program executing means for executing decoding and an input / output data updating means for updating input / output data between external input / output devices, in response to an interrupt request signal coming from an interrupt signal line, 5. The programmable controller system according to claim 4, further comprising an interrupt receiving means for interrupting execution of the regular user program and executing a predetermined interrupt user program during the interruption.

【0017】この発明の請求項5に記載の発明は、プロ
グラマブル・コントローラ・システムを構成する高機能
ユニットの1つであって、所定言語で記述された位置決
め制御プログラムを格納するプログラム記憶手段と、前
記プログラム記憶手段から動作命令を読み出して解読す
ることにより、対応する位置決め動作パターンを生成す
るプログラム実行手段と、前記プログラム実行手段で生
成された位置決め動作パターンを目標パターンとしてサ
ーボ演算により操作出力を生成するサーボ制御手段と、
を有するものであって、前記プログラム記憶手段から割
り込み要求命令が読み出されて解読された場合には、そ
の割り込み要求命令に従って、割り込み要求信号をCP
Uユニットへ繋がる割り込みラインに送出する割り込み
要求手段を設けたことを特徴とする位置決め制御ユニッ
トを実施するためのプログラムを格納するための記録媒
体にある。
According to a fifth aspect of the present invention, there is provided one of the high-performance units constituting the programmable controller system, wherein the program storage means stores a positioning control program described in a predetermined language, A program execution means for generating a corresponding positioning operation pattern by reading and decoding an operation command from the program storage means, and an operation output generated by a servo calculation using the positioning operation pattern generated by the program execution means as a target pattern Servo control means,
In the case where an interrupt request instruction is read out from the program storage means and decoded, the interrupt request signal is changed according to the interrupt request instruction.
The present invention is a recording medium for storing a program for implementing a positioning control unit, wherein an interrupt request means for transmitting an interrupt request to an interrupt line connected to a U unit is provided.

【0018】ここで、『記録媒体』には、MCユニット
に内蔵されたシステムプログラム格納用の半導体ROM
が含まれる。
Here, the "recording medium" includes a semiconductor ROM for storing a system program built in the MC unit.
Is included.

【0019】そして、請求項1,請求項4,請求項5に
記載の発明によれば、位置決め制御ユニット側において
所定の位置決め動作が完了したことを通常の入出力更新
サイクルを待つことなく、直ちに伝達することができ、
一方これに応答してCPU側において所望のプログラム
を直ちに実行させることができる。そのため、CPUユ
ニット側において所望の動作を割り込み用ユーザプログ
ラムとしてプログラミングしておけば、位置決め制御ユ
ニットとCPUユニットとの緊密な連携により、所望の
加工動作を高速に実行することができる。
According to the first, fourth and fifth aspects of the present invention, the completion of the predetermined positioning operation on the positioning control unit side can be immediately determined without waiting for a normal input / output update cycle. Can be communicated,
On the other hand, in response to this, the desired program can be immediately executed on the CPU side. Therefore, if the desired operation is programmed as an interrupting user program on the CPU unit side, the desired machining operation can be executed at high speed by close cooperation between the positioning control unit and the CPU unit.

【0020】更に、請求項2,請求項3に記載の発明に
よれば、CPUユニッ側に、2以上の割り込み用ユーザ
プログラムを格納する一方、これを位置決め制御ユニッ
ト側で選択して実行させることができ、位置決め制御ユ
ニットとCPUユニットとを連携しつつより複雑な制御
を高速で実行させることができる。
According to the second and third aspects of the present invention, two or more interrupt user programs are stored in the CPU unit and selected and executed by the positioning control unit. This makes it possible to execute more complicated control at high speed while coordinating the positioning control unit and the CPU unit.

【0021】[0021]

【発明の実施の形態】以下に、この発明の実施の一形態
を、図1〜図7を参照しつつ、詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to FIGS.

【0022】本発明が適用されたプログラマブル・コン
トローラ・システムの全体構成が図1に概略的に示され
ている。同図に示されるように、この種のプログラマブ
ル・コントローラ・システム1は、システムバスが敷設
されたラック上にブックケース型ハウジングを有する各
種のユニットをコネクタを介して装着して構成されてい
る。図では、それらのユニットの中で、本発明と関連す
る位置決め制御ユニット(MCユニットなどとも称され
る)100と、プログラマブル・コントローラの本体を
構成するCPUユニット200と、電源ユニット300
とが代表的に示されている。
FIG. 1 schematically shows the overall configuration of a programmable controller system to which the present invention is applied. As shown in FIG. 1, this type of programmable controller system 1 is configured by mounting various units having a bookcase-type housing via a connector on a rack on which a system bus is laid. In the figure, among these units, a positioning control unit (also referred to as an MC unit) 100 related to the present invention, a CPU unit 200 constituting a main body of a programmable controller, and a power supply unit 300
Are representatively shown.

【0023】位置決め制御ユニット100は、ケーブル
を介して4台のサーボドライバ110a〜110dに接
続されており、それらサーボドライバにはそれぞれサー
ボモータ120a〜120dが接続される。サーボモー
タ120a〜120dの回転軸には、ロータリエンコー
ダ130a〜130dが直結されており、これらのロー
タリエンコーダ130a〜130dからフィードバック
パルス列が得られることとなる。
The positioning control unit 100 is connected to four servo drivers 110a to 110d via cables, and servo motors 120a to 120d are connected to the servo drivers, respectively. Rotary encoders 130a to 130d are directly connected to the rotating shafts of the servo motors 120a to 120d, and a feedback pulse train is obtained from these rotary encoders 130a to 130d.

【0024】尚、図において、2はプログラミングツー
ル、140はティーチング時など微妙な位置合わせが必
要なときに使用されるマニュアルパルスゼネレータ、1
50はCCW限界入力、CW限界入力、原点近傍入力、
即停止入力などを入力するための専用端子台、160は
試運転・デバック・ティーチング等に使用されるティー
チングボックスである。
In the drawing, reference numeral 2 denotes a programming tool; 140, a manual pulse generator used when fine positioning is required, such as during teaching;
50 is CCW limit input, CW limit input, near origin input,
A dedicated terminal block 160 for inputting an instant stop input and the like, and 160 is a teaching box used for trial operation, debugging, teaching, and the like.

【0025】MCユニット100並びにCPUユニット
200の電気的なハードウェア構成が図2のブロック図
に概略的に示されている。同図に示されるように、MC
ユニット100内には、ユニット全体を統括制御するた
めのMPU100aと、ユーザが所定言語(この例では
G言語)を用いて作成した位置決め制御プログラムが格
納されるフラッシュメモリ100bと、ワーキングエリ
アなどとして使用されるRAM100cと、フィードバ
ックパルス列をカウントするカウンタ100dと、サー
ボドライバ110に対してアナログ操作出力を与えるた
めのD/Aコンバータ100eと、当該ユニット専用の
システムプログラムを格納するためのROM100f
と、本発明に関連する割り込み要求処理を実施するため
の割り込み要求回路100gと、CPUユニット200
との間でデータのやり取りを行うための共有メモリ10
0hとが設けられており、それらはMPUバス100i
を介して相互に接続されている。
The electrical hardware configuration of the MC unit 100 and the CPU unit 200 is schematically shown in the block diagram of FIG. As shown in FIG.
The unit 100 is used as an MPU 100a for overall control of the entire unit, a flash memory 100b in which a positioning control program created by a user using a predetermined language (G language in this example) is stored, and a working area. RAM 100c, a counter 100d for counting a feedback pulse train, a D / A converter 100e for providing an analog operation output to the servo driver 110, and a ROM 100f for storing a system program dedicated to the unit.
And an interrupt request circuit 100g for performing an interrupt request process related to the present invention, and a CPU unit 200
Shared memory 10 for exchanging data with the
0h, which are provided by the MPU bus 100i.
Connected to each other.

【0026】一方、CPUユニット200内には、ユニ
ット全体を統括制御するためのMPU200aと、当該
ユニット専用のシステムプログラムを格納するためのR
OM200bと、ラダー図プログラムなどのユーザプロ
グラムを格納するためのPROM200cと、入出力メ
モリやワーキングエリアなどとして使用されるRAM2
00dと、本発明に係る割り込み受付処理を実施するた
めの割り込み受付回路200eと、システムバス3をド
ライブするためのバスI/F回路200fとが設けられ
ており、それらはMPUバス200を介して互いに接続
されている。
On the other hand, in the CPU unit 200, an MPU 200a for totally controlling the entire unit and an RPU for storing a system program dedicated to the unit are provided.
An OM 200b, a PROM 200c for storing a user program such as a ladder diagram program, and a RAM 2 used as an input / output memory or a working area.
00d, an interrupt accepting circuit 200e for executing the interrupt accepting process according to the present invention, and a bus I / F circuit 200f for driving the system bus 3 are provided via the MPU bus 200. Connected to each other.

【0027】加えて、各種のユニットが装着される図示
しないラック上には、システムバス3に沿うようにして
平行に割り込みライン4が設けられており、それらの割
り込みライン4はMCユニット100内の割り込み要求
回路100gとCPUユニット200内の割り込み受付
回路200eとを結んで配線されている。尚、図におい
て110はサーボドライバ、120はサーボモータ、1
30はエンコーダである。
In addition, on a rack (not shown) on which various units are mounted, parallel interrupt lines 4 are provided along the system bus 3, and these interrupt lines 4 are provided in the MC unit 100. It is wired to connect the interrupt request circuit 100g and the interrupt receiving circuit 200e in the CPU unit 200. In the figure, 110 is a servo driver, 120 is a servo motor, 1
30 is an encoder.

【0028】CPUユニット並びにMCユニットのシス
テムプログラムの全体構成が図3のゼネラルフローチャ
ートに概略的に示されている。
The general structure of the system programs of the CPU unit and the MC unit is schematically shown in a general flowchart of FIG.

【0029】同図に示されるように、CPUユニット側
のシステムプログラムにおいては、電源投入直後のイニ
シャライズ処理を経た後(ステップ301)、入力リフ
レッシュ処理(ステップ302)、プログラム実行処理
(ステップ303)、出力リフレッシュ処理(ステップ
304)、及びシステムサービス処理(ステップ30
5)を繰り返し実行する。
As shown in the figure, in the system program on the CPU unit side, after an initialization process immediately after power-on (step 301), an input refresh process (step 302), a program execution process (step 303), Output refresh processing (step 304) and system service processing (step 30)
Repeat step 5).

【0030】即ち、入力リフレッシュ処理(ステップ3
02)では、図示しない入力ユニットから取り込まれた
入力データ並びにMCユニットから読み込まれた各種の
データを、RAM200d内の入力エリアあるいはデー
タエリアに書き込む処理を実行する。
That is, the input refresh processing (step 3)
In 02), a process of writing input data taken from an input unit (not shown) and various data read from the MC unit to an input area or data area in the RAM 200d is executed.

【0031】プログラム実行処理(ステップ303)で
は、RAM200d内の入出力エリアの双方並びに各種
のデータエリアを参照して、ラダー図プログラム等のユ
ーザプログラムを実行し、その実行結果に基づいて、R
AM200dの出力エリア並びにデータエリア等の書き
替えを行う。
In the program execution process (step 303), a user program such as a ladder diagram program is executed with reference to both the input / output area and various data areas in the RAM 200d, and R is executed based on the execution result.
The output area and data area of the AM 200d are rewritten.

【0032】出力リフレッシュ処理(ステップ304)
では、前述のプログラム実行処理(ステップ303)で
書き替えが完了した出力エリアの内容を、出力ユニット
やMCユニットへと書き込む処理を実行する。
Output refresh processing (step 304)
Then, a process of writing the contents of the output area, which has been rewritten in the above-described program execution process (step 303), to an output unit or an MC unit is executed.

【0033】システムサービス処理(ステップ305)
では、他の各種のユニットの間でデータの更新を行うこ
とにより、ユニット相互間の連携を行う。
System service processing (step 305)
Then, the units are linked with each other by updating data between other various units.

【0034】一方、MCユニットの側では、電源投入直
後のイニシャライズ処理(ステップ311)を経た後、
各種の処理を実行しつつ、その合間にプログラム実行処
理を行うことによって、位置決め制御プログラムの解読
実行を行う(ステップ312)。
On the other hand, on the MC unit side, after an initialization process (step 311) immediately after the power is turned on,
While executing various processes, a program execution process is performed in the meantime to decode and execute the positioning control program (step 312).

【0035】また、システムサービス処理(ステップ3
13)においては、CPUユニット側と協調しつつ、デ
ータの交換などを行う。
Further, the system service processing (step 3)
In 13), data exchange and the like are performed in cooperation with the CPU unit.

【0036】プログラム実行処理(ステップ312)の
詳細が図4のフローチャートに示されている。
The details of the program execution process (step 312) are shown in the flowchart of FIG.

【0037】同図において処理が開始されると、1動作
命令実行完了フラグがセットされていることを条件とし
て(ステップ401)、ユーザがG言語で作成された位
置決め制御プログラムから、次の命令を読み出す処理
(ステップ402)並びにその命令を解読する処理(ス
テップ403)が実行される。ここで解読されるべき命
令には、従来より直線補間命令、円弧補間命令などの様
々な命令が定義されており、それらは所定の命令コード
並びに第1修飾語、第2修飾語などによって識別可能に
なされている。
When the process is started in the figure, on condition that the one-operation-command execution completion flag is set (step 401), the user issues the next command from the positioning control program created in G language. A reading process (step 402) and a process of decoding the instruction (step 403) are executed. Various instructions such as a linear interpolation instruction and a circular interpolation instruction are conventionally defined as instructions to be decoded, and these can be identified by a predetermined instruction code, a first modifier, a second modifier, and the like. Has been made.

【0038】本発明では、それら命令語の中に新たに割
り込み要求命令を定義する。割り込み要求命令の一例が
図6に示されている。この例では、従前から存在した直
線補間命令に、さらに別の修飾語を追加することによっ
て割り込み要求命令を定義している。
In the present invention, an interrupt request instruction is newly defined in these instruction words. An example of the interrupt request instruction is shown in FIG. In this example, an interrupt request instruction is defined by adding another modifier to the existing linear interpolation instruction.

【0039】すなわち、同図において、プログラムステ
ップN003に記述された「G01X100 D10
0」が割り込み要求命令である。そのうち、「G01
X100」は直線補間命令であり、これに修飾語「D1
00」を追加することによって、割り込み要求命令と識
別可能になされている。
That is, in the figure, “G01X100 D10” described in program step N003
"0" is an interrupt request instruction. Among them, "G01
"X100" is a linear interpolation command, which is modified by the modifier "D1".
By adding “00”, it is possible to distinguish the instruction from the interrupt request instruction.

【0040】図4のフローチャートに戻って、命令解読
処理の結果(ステップ403)、図6に示される割り込
み要求命令であると判定されると(ステップ404YE
S)、割り込み要求信号をCPUユニットへ送出する処
理(ステップ405)並びに割り込みプログラム番号を
CPUユニットへと送出する処理(ステップ406)が
順次実行される。
Returning to the flowchart of FIG. 4, as a result of the instruction decoding process (step 403), when it is determined that the instruction is the interrupt request instruction shown in FIG. 6 (step 404YE).
S), a process of sending an interrupt request signal to the CPU unit (step 405) and a process of sending an interrupt program number to the CPU unit (step 406) are sequentially executed.

【0041】割り込み要求信号をCPUユニットへ送出
する処理(ステップ405)が実行されると、図2のブ
ロック図において、MCユニット100内の割り込み要
求回路100gが駆動されて、割り込みライン4に対し
割り込み要求信号が送出される。この割り込み要求信号
は、CPUユニット200内の割り込み受付回路200
eで受け付けられ、MPU200aに対して割り込みが
かけられる。
When the process of sending an interrupt request signal to the CPU unit (step 405) is executed, the interrupt request circuit 100g in the MC unit 100 is driven to interrupt the interrupt line 4 in the block diagram of FIG. A request signal is sent. This interrupt request signal is sent to the interrupt receiving circuit 200 in the CPU unit 200.
e, an interrupt is issued to the MPU 200a.

【0042】同時に、MCユニット100内のMPU1
00aからは該当する割り込みプログラム番号情報が送
出され、この割り込みプログラム番号情報は共有メモリ
100h内の所定エリアに書き込まれる。すると、CP
Uユニット200内のMPU200aは、割り込み受付
回路200eからの信号に応答して、それまで実行中の
処理をすべて中断・待避させた後、バスI/F回路20
0fを介して、MCユニット100内の共有メモリ10
0hにアクセスすることによって、それに記憶された割
り込みプログラム番号情報を取り出す。その後、予め用
意された2以上の割り込み用プログラムの中で、この割
り込みプログラム番号で指定される割り込み用ユーザプ
ログラムを実行することによって、所望の制御動作を実
現する。後に詳細に説明するように、例えば、MCユニ
ット100においてワークの位置決め動作を制御しつ
つ、CPUユニット200において裁断機の下降並びに
上昇動作を制御しつつ、高速にワークの裁断を行うよう
な場合、CPUユニット200のPROM200c内
に、何種類かの割り込み用ユーザプログラムを用意して
おき、それらのプログラムの中でワークの裁断に最適な
プログラムを読み出して割り込みで実行させることによ
って、そのようなワーク裁断処理を高速に実行させるこ
とができるのである。
At the same time, the MPU 1 in the MC unit 100
The corresponding interrupt program number information is sent from 00a, and this interrupt program number information is written to a predetermined area in the shared memory 100h. Then, CP
The MPU 200a in the U unit 200 responds to the signal from the interrupt accepting circuit 200e, suspends and saves all the processes being executed, and then returns to the bus I / F circuit 20.
0f via the shared memory 10 in the MC unit 100.
By accessing 0h, the interrupt program number information stored therein is retrieved. Thereafter, a desired control operation is realized by executing an interrupt user program designated by the interrupt program number among two or more interrupt programs prepared in advance. As will be described in detail later, for example, when controlling the work positioning operation in the MC unit 100 and controlling the lowering and raising operations of the cutter in the CPU unit 200, when cutting the work at high speed, By preparing several types of user programs for interrupts in the PROM 200c of the CPU unit 200 and reading out a program most suitable for cutting the work out of those programs and executing the program by interrupting, such a work cutting is performed. Processing can be executed at high speed.

【0043】図4のフローチャートに戻って、命令解読
処理の結果(ステップ403)、何らかの動作命令であ
ると判定された場合には(ステップ407YES)、当
該動作命令で規定される位置決め動作パターンの生成が
行われ(ステップ408)、その後位置決め動作パター
ン更新フラグセット処理(ステップ409)並びに1動
作命令実行完了フラグリセット処理(ステップ410)
を経た後、図5に示されるサーボ制御処理への制御の移
管が行われる。
Returning to the flowchart of FIG. 4, as a result of the command decoding process (step 403), if it is determined that the command is any operation command (step 407 YES), a positioning operation pattern specified by the operation command is generated. Is performed (step 408), and thereafter, the positioning operation pattern update flag setting processing (step 409) and the one operation instruction execution completion flag reset processing (step 410)
After that, the control is transferred to the servo control processing shown in FIG.

【0044】サーボ制御処理の詳細が図5のフローチャ
ートに示されている。尚、このサーボ制御処理は、タイ
マ割り込みによって例えば2m/sec毎に実行され
る。同図において処理が開始されると、位置決め動作パ
ターン更新フラグがセットされていることを条件として
(ステップ501SET)、先のステップ408で生成
された新たな位置決め動作パターンを取得する処理(ス
テップ502)及び位置決め動作パターン更新フラグの
リセット処理(ステップ503)を経た後、一連の処理
(ステップ504〜507)からなるサーボ演算が実行
される。
The details of the servo control processing are shown in the flowchart of FIG. This servo control process is executed, for example, every 2 m / sec by a timer interrupt. When the process is started in the figure, the process of acquiring the new positioning operation pattern generated in the previous step 408 (step 502), provided that the positioning operation pattern update flag is set (step 501SET). After a reset operation of the positioning operation pattern update flag (step 503), a servo operation including a series of processes (steps 504 to 507) is executed.

【0045】すなわち、まずステップ408で生成され
た位置決め動作パターンを目標パターンとして、その2
m/sec毎の瞬時値を指令値として生成する(ステッ
プ504)。続いて、図2のブロック図に示されるカウ
ンタ100dからフィードバックパルスのカウント値を
読み込むことによって、フィードバック値読み込み処理
を行う(ステップ505)。続いて、指令値とフィード
バック値との偏差に対して所定のサーボゲインパラメー
タ(G)を乗ずることにより、操作出力を生成する(ス
テップ506)。最後に、求められた操作出力をD/A
コンバータへ出力して、サーボドライバ100に対しア
ナログ操作出力を印加する(ステップ507)。以上の
処理が、ステップ508において1動作命令実行完了と
判定されるまで(ステップ508NO)、繰り返し実行
される。
That is, first, the positioning operation pattern generated in step 408 is set as a target pattern,
An instantaneous value every m / sec is generated as a command value (step 504). Subsequently, a feedback value reading process is performed by reading the count value of the feedback pulse from the counter 100d shown in the block diagram of FIG. 2 (step 505). Subsequently, an operation output is generated by multiplying a deviation between the command value and the feedback value by a predetermined servo gain parameter (G) (step 506). Finally, the obtained operation output is D / A
The output is output to the converter, and the analog operation output is applied to the servo driver 100 (step 507). The above processing is repeatedly executed until it is determined in step 508 that execution of one operation instruction is completed (step 508 NO).

【0046】これに対して、1動作命令実行完了と判定
されると(ステップ508YES)、1動作命令実行完
了フラグをセットする(ステップ509)。このように
して1動作命令実行完了フラグがセットされると、図4
のフローチャートに戻って、次の命令の読み出し処理
(ステップ402)並びに命令解読処理(ステップ40
3)が再び再開される。
On the other hand, when it is determined that the execution of one operation instruction is completed (YES in step 508), a one operation instruction execution completion flag is set (step 509). When the one-operation-instruction execution completion flag is set in this manner, FIG.
Returning to the flowchart of FIG. 5, the reading process of the next instruction (step 402) and the instruction decoding process (step 40)
3) is restarted again.

【0047】このように、この実施形態によれば、図4
のフローチャートに示されるように、位置決め制御プロ
グラムからその命令を順次解読しつつ、サーボ制御を実
現しながら、その間に割り込み要求命令が解読されると
(ステップ404)、割り込み要求処理を実行して(ス
テップ405,406)、その時点で直ちに、あるいは
その割り込み要求命令で指定されたタイミングで、CP
Uユニット側へ割り込み要求を行い、一方これをCPU
ユニット側が受け付けて指定された割り込みプログラム
を実行することによって、MCユニット100とCPU
ユニット200とが協働しつつ、相互に連携して、迅速
なワーク加工処理などを実現するのである。
As described above, according to this embodiment, FIG.
As shown in the flowchart of FIG. 7, while the servo control is realized while sequentially decoding the instructions from the positioning control program, if the interrupt request instruction is decoded during that time (step 404), the interrupt request processing is executed (step 404). Steps 405 and 406), immediately or at the timing specified by the interrupt request instruction.
Make an interrupt request to the U unit side, and send it to the CPU
When the unit side receives and executes the designated interrupt program, the MC unit 100 and the CPU
The unit 200 and the unit 200 cooperate with each other to realize rapid work processing and the like.

【0048】次に、以上の内部処理を前提として、CP
Uユニットと位置決め制御ユニットとを外部から観察し
たときの相互の動作を、図7のフローチャートを参照し
ながら説明する。
Next, assuming the above internal processing, the CP
The mutual operation when the U unit and the positioning control unit are observed from the outside will be described with reference to the flowchart of FIG.

【0049】CPUユニット側においては、従来例と同
様にして、各種センサ・スイッチ、位置決めユニットの
状態の読み込み(ステップ701)並びにラダープログ
ラムの実行処理(ステップ702)を行いつつ、ステッ
プ701で読み込んだ位置決めユニットの状態に基づい
て、位置決め開始の条件が整ったか(ステップ703)
並びに裁断機は下降したか(ステップ705)の判定を
繰り返す。
On the CPU unit side, in the same manner as in the conventional example, while reading the state of various sensors / switches and the positioning unit (step 701) and executing the ladder program (step 702), the CPU unit reads the state in step 701. Whether the conditions for starting positioning are satisfied based on the state of the positioning unit (step 703)
In addition, the determination whether the cutter has been lowered (step 705) is repeated.

【0050】この状態において、位置決め開始の状態が
整ったものと判定されると(ステップ703YES)、
位置決めユニットに対して位置決め指令が与えられる
(ステップ704)。
In this state, if it is determined that the state of the start of positioning has been completed (YES in step 703),
A positioning command is given to the positioning unit (step 704).

【0051】すると、位置決め制御ユニットの側では、
CPUユニットから位置決めの指令が来たことを確認し
た後(ステップ721YES)、位置決め動作プログラ
ムを実行することによって、位置決め動作を開始し(ス
テップ722)、その後位置決めが完了したか否かを待
機する(ステップ723NO)。この状態において、位
置決め動作の完了が確認されると(ステップ723)、
先ほど説明した割り込み要求命令が実行されることによ
って(ステップ405,406)、CPUユニットに対
して割り込みがかかり、これが受け付けられることによ
って指定された割り込みプログラムが実行され、裁断機
に対して下降の指令が与えられる(ステップ710)。
そのため、本発明によれば、位置決め制御ユニットによ
って位置決めが完了するのを待って、直ちに裁断機に対
する下降の指令が与えられることとなり(ステップ71
0)、かかる加工処理の高速化が達成される。
Then, on the side of the positioning control unit,
After confirming that a positioning command has been received from the CPU unit (YES in step 721), a positioning operation is started by executing a positioning operation program (step 722), and then, it waits for whether or not the positioning is completed (step 722). Step 723 NO). In this state, when the completion of the positioning operation is confirmed (step 723),
When the interrupt request command described above is executed (steps 405 and 406), an interrupt is applied to the CPU unit, and when the interrupt is accepted, the specified interrupt program is executed, and a descending command is issued to the cutter. Is provided (step 710).
Therefore, according to the present invention, a command to lower the cutting machine is given immediately after the positioning is completed by the positioning control unit (step 71).
0), speeding up of such processing is achieved.

【0052】[0052]

【発明の効果】以上の実施形態の説明でも明らかなよう
に、この発明によれば、MCユニット側で実行される位
置決め制御プログラムの状態を、割り込み処理を通じて
CPUユニット側へ通知し、これに基づきCPUユニッ
ト側で所定の割り込み処理を実行させるようにしたた
め、MCユニットでワークの位置決め処理を実行しつ
つ、CPUユニットで所定のシーケンスプログラムを実
行して加工機械を制御するような場合、両者の連携がよ
り密なものとなり、加工精度の向上と加工速度の高速化
を同時に達成することができる。
As is apparent from the above description of the embodiment, according to the present invention, the status of the positioning control program executed on the MC unit side is notified to the CPU unit side through interrupt processing. When the CPU unit executes the predetermined interrupt processing, the CPU unit executes the predetermined sequence program while controlling the work machine by executing the predetermined sequence program while performing the work positioning processing by the MC unit. , And the processing accuracy can be improved and the processing speed can be increased at the same time.

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

【図1】本発明が適用されたプログラム・コントローラ
・システムの全体構成を示すシステム構成図である。
FIG. 1 is a system configuration diagram showing an overall configuration of a program controller system to which the present invention is applied.

【図2】MCユニット並びにCPUユニット内部の電気
的なハードウェア構成を概略的に示すブロック図であ
る。
FIG. 2 is a block diagram schematically showing an electrical hardware configuration inside an MC unit and a CPU unit.

【図3】CPUユニット並びにMCユニットのシステム
プログラムの構成を概略的に示すゼネラルフローチャー
トである。
FIG. 3 is a general flowchart schematically showing a configuration of a system program of a CPU unit and an MC unit.

【図4】プログラム実行処理の詳細を示すフローチャー
トである。
FIG. 4 is a flowchart showing details of a program execution process.

【図5】サーボ制御処理の詳細を示すフローチャートで
ある。
FIG. 5 is a flowchart showing details of a servo control process.

【図6】割り込み要求命令の記述例を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing a description example of an interrupt request instruction.

【図7】本発明が適用されたCPUユニットと位置決め
制御ユニット相互間のデータのやりとりを示すフローチ
ャートである。
FIG. 7 is a flowchart showing data exchange between a CPU unit and a positioning control unit to which the present invention is applied.

【図8】従来のCPUユニットと位置決め制御ユニット
との相互間におけるデータのやりとりを示すフローチャ
ートである。
FIG. 8 is a flowchart showing data exchange between a conventional CPU unit and a positioning control unit.

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

1 プログラマブル・コントローラ・システム 100 位置決め制御ユニット(MCユニット) 200 CPUユニット 300 電源ユニット 110a〜110d サーボドライバ 120a〜120d サーボモータ 130a〜130d ロータリエンコーダ 3 システムバス 4 割り込みライン 100a MPU 100b フラッシュメモリ 110c RAM 110d カウンタ 110e D/Aコンバータ 110f ROM(記録媒体) 110g 割り込み要求回路 200a MPU 200b ROM 200c PROM 200d RAM 200e 割り込み受付回路 200f バスI/F回路 DESCRIPTION OF SYMBOLS 1 Programmable controller system 100 Positioning control unit (MC unit) 200 CPU unit 300 Power supply unit 110a-110d Servo driver 120a-120d Servo motor 130a-130d Rotary encoder 3 System bus 4 Interrupt line 100a MPU 100b Flash memory 110c RAM 110d Counter 110e D / A converter 110f ROM (recording medium) 110g Interrupt request circuit 200a MPU 200b ROM 200c PROM 200d RAM 200e Interrupt accepting circuit 200f Bus I / F circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 植野 純一 京都府京都市右京区花園土堂町10番地 オ ムロン株式会社内 Fターム(参考) 5H215 AA06 BB07 CC05 CC09 CX03 CX09 DD02 EE05 GG02 KK01 5H220 AA04 BB03 CC05 CC09 CX03 CX09 DD01 DD04 EE07 EE09 EE12 EE15 FF01 FF09 HH08 JJ12 JJ16 JJ26 JJ29 5H269 AB01 BB05 EE07 EE13 EE27 EE29 GG02 GG08 HH03 JJ02 JJ12 KK03 QB06 QB17 QC10 RB01 RB04  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Junichi Ueno 10th Hanazono Todocho, Ukyo-ku, Kyoto, Kyoto Prefecture F-term (reference) 5H215 AA06 BB07 CC05 CC09 CX03 CX09 DD02 EE05 GG02 KK01 5H220 AA04 BB03 CC05 CC09 CX03 CX09 DD01 DD04 EE07 EE09 EE12 EE15 FF01 FF09 HH08 JJ12 JJ16 JJ26 JJ29 5H269 AB01 BB05 EE07 EE13 EE27 EE29 GG02 GG08 HH03 JJ02 JJ12 KK03 QB06 QB17 QC10 RB01 RB10

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 プログラマブル・コントローラ・システ
ムを構成する高機能ユニットの1つであって、 所定言語で記述された位置決め制御プログラムを格納す
るプログラム記憶手段と、前記プログラム記憶手段から
動作命令を読み出して解読することにより、対応する位
置決め動作パターンを生成するプログラム実行手段と、
前記プログラム実行手段で生成された位置決め動作パタ
ーンを目標パターンとしてサーボ演算により操作出力を
生成するサーボ制御手段と、を有するものであって、 前記プログラム記憶手段から割り込み要求命令が読み出
されて解読された場合には、その割り込み要求命令に従
って、割り込み要求信号をCPUユニットへ繋がる割り
込みラインに送出する割り込み要求手段を設けたことを
特徴とする位置決め制御ユニット。
1. A high-performance unit constituting a programmable controller system, comprising: a program storage means for storing a positioning control program described in a predetermined language; and an operation instruction read from the program storage means. Program execution means for generating a corresponding positioning operation pattern by decoding
Servo control means for generating an operation output by servo calculation using the positioning operation pattern generated by the program execution means as a target pattern, wherein an interrupt request instruction is read from the program storage means and decoded. An interrupt request means for transmitting an interrupt request signal to an interrupt line connected to the CPU unit in accordance with the interrupt request command.
【請求項2】 割り込み要求手段が、割り込み要求信号
に加えて、割り込みプログラム指定情報をシステムバス
へと送出することを特徴とする請求項1に記載の位置決
め制御ユニット。
2. The positioning control unit according to claim 1, wherein the interrupt request means sends interrupt program designation information to a system bus in addition to the interrupt request signal.
【請求項3】 プログラマブル・コントローラ・システ
ムを構成するCPUユニットであって、 所定言語で記述されたラダー図等の常用ユーザプログラ
ムを格納するプログラム記憶手段と、前記プログラム記
憶手段から常用プログラムを読み出して解読実行するプ
ログラム実行手段と、外部入出力機器との間で入出力デ
ータの更新を行う入出力データ更新手段と、を有するも
のであって、 割り込み信号ラインから割り込み要求信号が到来するの
に応答して、常用ユーザプログラムの実行を中断し、そ
の間に所定の割り込み用ユーザプログラムを実行する割
り込み受け付け手段を具備し、かつ該割り込み受け付け
手段が、予め用意された2以上の割り込み用ユーザプロ
グラムの中で、位置決め制御ユニットから到来するプロ
グラム指定情報で指定された割り込み用ユーザプログラ
ムを実行することを特徴とするCPUユニット。
3. A CPU unit constituting a programmable controller system, comprising: a program storage means for storing a regular user program such as a ladder diagram described in a predetermined language; and a regular program read from the program storage means. A program executing means for performing decoding and an input / output data updating means for updating input / output data with an external input / output device, wherein the input / output data updating means responds to an interrupt request signal coming from an interrupt signal line. And interrupt interruption means for interrupting the execution of the regular user program and executing a predetermined interruption user program during the interruption, and the interruption acceptance means is provided in two or more interruption user programs prepared in advance. To specify the program designation information coming from the positioning control unit. CPU units and executes an interrupt for user programs.
【請求項4】 システムバスを介して相互に結ばれた位
置決め制御ユニットとCPUユニットとからなり、 前記位置決め制御ユニットには、所定言語で記述された
位置決め制御プログラムを格納するプログラム記憶手段
と、前記プログラム記憶手段から動作命令を読み出して
解読することにより、対応する位置決め動作パターンを
生成するプログラム実行手段と、前記プログラム実行手
段で生成された位置決め動作パターンを目標パターンと
してサーボ演算により操作出力を生成するサーボ制御手
段と、に加えて、 前記プログラム記憶手段から割り込み要求命令が読み出
されて解読された場合には、その割り込み要求命令で指
定されたタイミングで割り込み要求信号をCPUユニッ
トへ繋がる割り込みラインに送出する割り込み要求手段
が設けられており、かつ前記CPUユニットには、所定
言語で記述されたラダー図等の常用ユーザプログラムを
格納するプログラム記憶手段と、前記プログラム記憶手
段から常用プログラムを読み出して解読実行するプログ
ラム実行手段と、外部入出力機器との間で入出力データ
の更新を行う入出力データ更新手段と、に加えて、 割り込み信号ラインから割り込み要求信号が到来するの
に応答して、常用ユーザプログラムの実行を中断し、そ
の間に所定の割り込み用ユーザプログラムを実行する割
り込み受け付け手段が設けられている、 ことを特徴とする請求項4に記載のプログラマブル・コ
ントローラ・システム。
4. A positioning control unit and a CPU unit mutually connected via a system bus, wherein the positioning control unit has a program storage means for storing a positioning control program described in a predetermined language; A program execution means for generating a corresponding positioning operation pattern by reading and decoding an operation command from a program storage means, and an operation output is generated by servo calculation using the positioning operation pattern generated by the program execution means as a target pattern. In addition to the servo control means, when an interrupt request instruction is read from the program storage means and decoded, an interrupt request signal is transmitted to an interrupt line connecting to the CPU unit at a timing designated by the interrupt request instruction. The interrupt request means to send And the CPU unit has a program storage means for storing a regular user program such as a ladder diagram described in a predetermined language; a program execution means for reading and decoding and executing the regular program from the program storage means; In addition to input / output data updating means for updating input / output data with external input / output devices, execution of the regular user program is interrupted in response to an interrupt request signal coming from an interrupt signal line. 5. The programmable controller system according to claim 4, further comprising: an interrupt receiving unit for executing a predetermined interrupt user program therebetween.
【請求項5】 プログラマブル・コントローラ・システ
ムを構成する高機能ユニットの1つであって、 所定言語で記述された位置決め制御プログラムを格納す
るプログラム記憶手段と、前記プログラム記憶手段から
動作命令を読み出して解読することにより、対応する位
置決め動作パターンを生成するプログラム実行手段と、
前記プログラム実行手段で生成された位置決め動作パタ
ーンを目標パターンとしてサーボ演算により操作出力を
生成するサーボ制御手段と、を有するものであって、 前記プログラム記憶手段から割り込み要求命令が読み出
されて解読された場合には、その割り込み要求命令に従
って、割り込み要求信号をCPUユニットへ繋がる割り
込みラインに送出する割り込み要求手段を設けたことを
特徴とする位置決め制御ユニットを実施するためのプロ
グラムを格納するための記録媒体。
5. A program storage unit for storing a positioning control program described in a predetermined language, said program storage unit being one of high function units constituting a programmable controller system, and reading operation instructions from said program storage unit. Program execution means for generating a corresponding positioning operation pattern by decoding
Servo control means for generating an operation output by servo calculation using the positioning operation pattern generated by the program execution means as a target pattern, wherein an interrupt request instruction is read from the program storage means and decoded. Recording means for storing a program for implementing the positioning control unit, wherein an interrupt request means for sending an interrupt request signal to an interrupt line connected to the CPU unit in accordance with the interrupt request instruction is provided. Medium.
JP11151650A 1999-05-31 1999-05-31 Positioning control unit, cpu unit and programmable controller system Pending JP2000339009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11151650A JP2000339009A (en) 1999-05-31 1999-05-31 Positioning control unit, cpu unit and programmable controller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11151650A JP2000339009A (en) 1999-05-31 1999-05-31 Positioning control unit, cpu unit and programmable controller system

Publications (1)

Publication Number Publication Date
JP2000339009A true JP2000339009A (en) 2000-12-08

Family

ID=15523217

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11151650A Pending JP2000339009A (en) 1999-05-31 1999-05-31 Positioning control unit, cpu unit and programmable controller system

Country Status (1)

Country Link
JP (1) JP2000339009A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134568A (en) * 2007-11-30 2009-06-18 Mitsubishi Electric Corp Controller system
JP2016207088A (en) * 2015-04-27 2016-12-08 株式会社キーエンス Extension unit, programmable logic controller, and control method therefor
US11759956B2 (en) 2019-12-12 2023-09-19 Seiko Epson Corporation Robot system and control method for robot system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134568A (en) * 2007-11-30 2009-06-18 Mitsubishi Electric Corp Controller system
JP2016207088A (en) * 2015-04-27 2016-12-08 株式会社キーエンス Extension unit, programmable logic controller, and control method therefor
US11759956B2 (en) 2019-12-12 2023-09-19 Seiko Epson Corporation Robot system and control method for robot system

Similar Documents

Publication Publication Date Title
US7174225B2 (en) Method and system for simulating processing of a workpiece with a machine tool
JPS5971511A (en) Computer type numerical control system with customization window
WO2006025775A1 (en) A control system for real time applications for cooperative industrial robots
WO1988008559A1 (en) Numerical control device
EP3376322B1 (en) Control system, controller, and control method
CN100392587C (en) A guide for programming an intelligent module
US7574267B2 (en) Controller for a machine-tool or production machine
JP2000339009A (en) Positioning control unit, cpu unit and programmable controller system
JP2008282341A (en) Apparatus for supporting safety conformity program generation
WO1986001012A1 (en) System for controlling a programmable controller
JPS5829010A (en) Program controlling method of and apparatus for freely programmable control body
JP2662864B2 (en) Industrial robot controller
WO2017101700A1 (en) Computer aided manufacturing method, device and system in direct communication with numerical control system
WO1995029432A1 (en) Control system
WO2012124145A1 (en) Computation unit, assistance unit, assistance program, recording medium storing assistance program, and operation method in assistance device
JP3719044B2 (en) Positioning control device
CN110253568B (en) Robot control method, system, device and storage medium
WO1992009018A1 (en) Method for executing auxiliary function in numerical control equipment
JP2002328711A (en) Numerical control method and its device
JP2852986B2 (en) Processing system
JP3764436B2 (en) Machine control device
JP2001154719A (en) Method for interpolating free curve
JP2003052189A (en) Method for control information communication between motor driver and controller, and the motor driver, and system
JP3460747B2 (en) Numerical control unit
CN116125913A (en) TCP/IP-based numerical control machine tool communication system and working method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050926