JP2000250630A - Drive system - Google Patents

Drive system

Info

Publication number
JP2000250630A
JP2000250630A JP11050281A JP5028199A JP2000250630A JP 2000250630 A JP2000250630 A JP 2000250630A JP 11050281 A JP11050281 A JP 11050281A JP 5028199 A JP5028199 A JP 5028199A JP 2000250630 A JP2000250630 A JP 2000250630A
Authority
JP
Japan
Prior art keywords
output
area
software
stored
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11050281A
Other languages
Japanese (ja)
Other versions
JP3376938B2 (en
Inventor
Yuko Tomita
祐子 冨田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5028199A priority Critical patent/JP3376938B2/en
Publication of JP2000250630A publication Critical patent/JP2000250630A/en
Application granted granted Critical
Publication of JP3376938B2 publication Critical patent/JP3376938B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily obtain the information showing the current feeding of a table within the designated length when the table is fed by a fixed size in a drive system where each part of a control object is repetitively operated in an optional mode and one of parts of the control object moves the table by the drive of a motor. SOLUTION: This drive system includes plural software/hardware structure having a fixed number of transmission software modules, the output software modules and. motors respectively, a drive device having a drive shaft software module and a sequential controller 5. In such a constitution, one of software/ hardware structures drives a prescribed table by its motor. Then output software module resets the position output at it's prescribed value according to the instruction given from the controller 5 every time the table is fed by a fixed size.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、複数のモータお
よびこれらを制御するソフトウエア等を用いて、連結シ
ャフト、クラッチ、ギア、カム等の機械的機構の機能を
具現し、所定の信号に同期して制御対象の各部を駆動制
御する駆動装置と、プログラマブルコントローラと、を
備えた駆動システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention realizes the functions of mechanical mechanisms such as a connecting shaft, a clutch, a gear and a cam by using a plurality of motors and software for controlling the motors, and synchronizes with a predetermined signal. The present invention relates to a drive system including a drive device that drives and controls each unit to be controlled, and a programmable controller.

【0002】[0002]

【従来の技術】図1は、このような駆動システムの一般
的な構成を示すハードウエア構成図である。図におい
て、1は位置決めコントローラであり、2a、2b、2
c、2dはサーボアンプである。3a、3b、3c、3
dはサーボモータ、4はいずれかのサーボモータの位置
検出を行うエンコーダ等の位置検出器、5はシーケンス
プログラムを繰返し実行し、位置決めコントローラ1に
起動信号を与えたり、位置決めコントローラ1と変数等
の情報をやりとりを行うプログラマブルコントローラ、
例えば、シーケンスコントローラである。6は位置決め
コントローラ1のプログラミングやモニタを行う周辺装
置、7は位置決め演算を実行するCPUである。8は位
置決めコントローラ1を動作させるためのO/Sが記憶
されているO/SROM、9はアプリケーションプログ
ラムを格納するプログラムメモリ、10はCPU7のワ
ークメモリ、11は位置決め制御に必要なパラメータを
格納する変数メモリ、12はシーケンスコントローラ5
と位置決めコントローラ1の間の通信インターフェー
ス、13は周辺装置6と位置決めコントローラ1の間の
周辺装置インタフェース、14は位置検出器4の出力を
位置決めコントローラ1に入力するための位置検出イン
タフェースである。15はサーボアンプ2a、2b、2
c、2dと位置決めコントローラ1との間に設けられて
いるサーボアンプインターフェース、16は外部機器
(図示せず)からの信号の入出力インターフェースであ
る。
2. Description of the Related Art FIG. 1 is a hardware configuration diagram showing a general configuration of such a drive system. In the figure, 1 is a positioning controller, 2a, 2b, 2
c and 2d are servo amplifiers. 3a, 3b, 3c, 3
d is a servomotor, 4 is a position detector such as an encoder for detecting the position of one of the servomotors, and 5 is a program that repeatedly executes a sequence program to give a start signal to the positioning controller 1 or to communicate with the positioning controller 1 A programmable controller that exchanges information,
For example, a sequence controller. Reference numeral 6 denotes a peripheral device for performing programming and monitoring of the positioning controller 1, and reference numeral 7 denotes a CPU for executing a positioning operation. Reference numeral 8 denotes an O / SROM in which an O / S for operating the positioning controller 1 is stored, 9 is a program memory for storing an application program, 10 is a work memory of the CPU 7, and 11 is a parameter for storing parameters required for positioning control. Variable memory, 12 is a sequence controller 5
Reference numeral 13 denotes a peripheral device interface between the peripheral device 6 and the positioning controller 1, and reference numeral 14 denotes a position detection interface for inputting an output of the position detector 4 to the positioning controller 1. 15 is a servo amplifier 2a, 2b, 2
A servo amplifier interface 16 provided between c and 2d and the positioning controller 1, and an input / output interface 16 for signals from an external device (not shown).

【0003】図10は、図1に示す駆動システムにおい
て、サーボアンプ2a〜2dに位置情報を出力する位置
決めコントローラ1における一例のソフトウエアの構成
を示すブロック図である。図において、520はサーボ
モータ3a〜3dを駆動するに当たり基準となる位置情
報を生成し出力する駆動シャフトソフトウェアモジュー
ル(以下、仮想駆動モジュールと呼ぶ)である。521
は複数のサーボモータの同期をとる連結シャフトソフト
ウェアモジュール(以下、仮想連結シャフトと呼ぶ)で
ある。この仮想連結シャフト521は、仮想駆動モジュ
ール520の出力情報を以下に説明するブロック1〜4
に伝達する機能を有している。522、523、52
4、525は、それぞれ1軸分のソフトウェアモジュー
ルを示すブロックである。526、528、531、5
33は、ギア等の機械的伝達機構をソフトウェアで表現
した伝達ソフトウェアモジュール(以下、仮想伝達モジ
ュールと呼ぶ)である。これらの仮想伝達モジュールに
は、仮想連結シャフト521からの情報が入力される。
529、534は、クラッチに相当する仮想伝達モジュ
ールである。535は変速機に相当する仮想伝達モジュ
ールであり、527、530、532、536は、サー
ボモータに指令を出力するとともに、制御や表示用の各
種の位置情報である補助出力Pを必要に応じて作成し出
力する出力ソフトウェアモジュール(以下、出力モジュ
ールと呼ぶ)である。
FIG. 10 is a block diagram showing an example of the software configuration of a positioning controller 1 for outputting position information to the servo amplifiers 2a to 2d in the drive system shown in FIG. In the figure, reference numeral 520 denotes a drive shaft software module (hereinafter, referred to as a virtual drive module) that generates and outputs position information serving as a reference when driving the servo motors 3a to 3d. 521
Is a connecting shaft software module for synchronizing a plurality of servomotors (hereinafter, referred to as a virtual connecting shaft). The virtual connection shaft 521 transmits output information of the virtual drive module 520 to blocks 1 to 4 described below.
It has the function of transmitting to 522, 523, 52
Blocks 4 and 525 indicate software modules for one axis. 526, 528, 531, 5
Reference numeral 33 denotes a transmission software module (hereinafter, referred to as a virtual transmission module) that expresses a mechanical transmission mechanism such as a gear by software. Information from the virtual connection shaft 521 is input to these virtual transmission modules.
529 and 534 are virtual transmission modules corresponding to clutches. Numeral 535 is a virtual transmission module corresponding to a transmission. Numerals 527, 530, 532, and 536 output commands to the servomotors and output auxiliary outputs P, which are various kinds of position information for control and display, as necessary. An output software module that is created and output (hereinafter, referred to as an output module).

【0004】図10に示す構成によれば、仮想駆動モジ
ュール520により生成された位置情報が仮想連結シャ
フト521を介してそれぞれのブロック1〜4に与えら
れ、ブロック1の出力モジュール527はサーボアンプ
2aに、ブロック2の出力モジュール530はサーボア
ンプ2bに、ブロック3の出力モジュール532はサー
ボアンプ2cに、ブロック4の出力モジュール536は
サーボアンプ2dに、それぞれ指令を与え、サーボモー
タ3a〜3dは位置情報に同期して駆動される。
According to the configuration shown in FIG. 10, the position information generated by the virtual drive module 520 is provided to each of the blocks 1 to 4 via the virtual connection shaft 521, and the output module 527 of the block 1 is connected to the servo amplifier 2a. The output module 530 of the block 2 gives commands to the servo amplifier 2b, the output module 532 of the block 3 gives commands to the servo amplifier 2c, the output module 536 of the block 4 gives commands to the servo amplifier 2d, and the servo motors 3a to 3d Driven in synchronization with information.

【0005】次に、特開平05073147号公報に開
示されている一例の出力モジュールについて説明する。
図11は、この出力モジュール(プログラムメモリ9に
格納されている所定のプログラム)が必要とする情報が
格納されているプログラムメモリ9内の所定のエリアの
メモリ構成図である。図において、20はモジュール番
号が格納されるエリア、21は接続情報が格納されるエ
リアである。この出力モジュールは、エリア21に格納
されている接続情報により示されるモジュールからの出
力情報をその入力データとする(以後、このようなソフ
トウエアモジュールの入力データをそのソフトウエアモ
ジュールの入力軸位置アドレスデータX(n)と呼
ぶ)。500は、サーボ出力Y(サーボモータの駆動情
報)を求める下記の式1を示す情報、および、補助出力
Pを求める式50を示す情報が格納されるエリアであ
る。補助出力Pは、ボールネジ(図示せず)により駆動
されるワークテーブル(図示せず)の位置アドレスを示
している。 Y = X(n)+ b 式 1 P= ( X(n)− z )× B1/N1 式 50 式1、式50において、bはバックラッシュ補正量、z
は原点位置オフセットである。bは、バックラッシュ補
正処理関数B( )により下記の式2のように表せる。 b = B(B3,u0,u) 式 2 式2において、B3はボールネジバックラッシュのパル
ス数換算値、u0はバックラッシュ有効回転方向、uは
今回の回転方向である。B3は、次式により求められ
る。 B3 = B2 × N1/B1 (但し、B2 ≧ 0) 上式において、N1は出力軸(ボールネジ)1回転当た
りのパルス数であり、B1はボールネジのピッチ、B2
はボールねじバックラッシュである。バックラッシュ有
効回転方向u0、および、原点位置オフセットzは、ワ
ークテーブルの原点位置合わせの実行時に決定される。
Next, an example of an output module disclosed in Japanese Patent Application Laid-Open No. 05073147 will be described.
FIG. 11 is a memory configuration diagram of a predetermined area in the program memory 9 in which information required by the output module (a predetermined program stored in the program memory 9) is stored. In the figure, reference numeral 20 denotes an area for storing module numbers, and reference numeral 21 denotes an area for storing connection information. This output module uses output information from the module indicated by the connection information stored in the area 21 as its input data (hereinafter, input data of such a software module is referred to as an input axis position address of the software module). Data X (n)). Reference numeral 500 denotes an area in which information indicating the following equation 1 for obtaining the servo output Y (servo motor drive information) and information indicating the equation 50 for obtaining the auxiliary output P are stored. The auxiliary output P indicates a position address of a work table (not shown) driven by a ball screw (not shown). Y = X (n) + b Equation 1 P = (X (n) −z) × B1 / N1 Equation 50 In Equations 1 and 50, b is a backlash correction amount, z
Is an origin position offset. b can be expressed by the following equation 2 by the backlash correction processing function B (). b = B (B3, u0, u) Equation 2 In Equation 2, B3 is the pulse number converted value of the ball screw backlash, u0 is the backlash effective rotation direction, and u is the current rotation direction. B3 is obtained by the following equation. B3 = B2 × N1 / B1 (where B2 ≧ 0) In the above equation, N1 is the number of pulses per revolution of the output shaft (ball screw), B1 is the pitch of the ball screw, B2
Is a ball screw backlash. The backlash effective rotation direction u0 and the origin position offset z are determined when the work table is aligned with the origin.

【0006】23は変数が格納されるエリアであり、こ
のエリア23にはこの従来システムにおいては、「無し」
を意味する情報が格納されている。24はサーボ出力軸
番号が、25はボールネジピッチB1が、26はボール
ネジバックラッシュB2が、27は出力軸(ボールネ
ジ)1回転当たりのパルス数が、それぞれ格納されるエ
リアである。
Reference numeral 23 denotes an area in which variables are stored. In this area 23, "none" is used in this conventional system.
Is stored. Reference numeral 24 denotes an area in which a servo output shaft number is stored, 25 is a ball screw pitch B1, 26 is a ball screw backlash B2, and 27 is an area for storing the number of pulses per rotation of the output shaft (ball screw).

【0007】図12は、位置決め装置1のワークメモリ
10において、出力モジュールに関する情報が格納され
るエリアのメモリ構成図である。図において、30は入
力軸位置アドレスデータ前回値x(n−1)が、31は入
力軸位置アドレスデータ今回値x(n)が、それぞれ格納
されるエリアである。
FIG. 12 is a memory configuration diagram of an area in the work memory 10 of the positioning device 1 in which information on output modules is stored. In the figure, reference numeral 30 denotes an area for storing the previous value x (n-1) of the input axis position address data, and reference numeral 31 denotes an area for storing the current value x (n) of the input axis position address data.

【0008】図5は、式1、式50により算出された結
果が格納されるプログラムメモリ9の所定エリアのメモ
リ構成図である。このエリアに格納された情報は、サー
ボ制御を行う際に使用される。図において、50a〜5
0cは補助出力情報1〜補助出力情報nが、51a〜5
1cはサーボ出力軸位置情報1〜サーボ出力軸情報n
が、それぞれ格納されるエリアである。
FIG. 5 is a memory configuration diagram of a predetermined area of the program memory 9 in which the results calculated by Expressions 1 and 50 are stored. The information stored in this area is used when performing servo control. In the figure, 50a-5
0c indicates that the auxiliary output information 1 to the auxiliary output information n are 51a to 5
1c is servo output axis position information 1 to servo output axis information n
Are areas respectively stored.

【0009】次に、この出力モジュールの動作につい
て、図13のフロー図により説明する。この出力モジュ
ールが実行されると、ステップS1200では、エリア
21に格納されている接続情報により指定される入力軸
位置アドレスデータ今回値X(n)を読込み、エリア3
1に格納する。
Next, the operation of the output module will be described with reference to the flowchart of FIG. When this output module is executed, in step S1200, the input axis position address data current value X (n) specified by the connection information stored in the area 21 is read, and the area 3 is read.
1 is stored.

【0010】ステップS1201では、入力軸位置アド
レスデータ今回値X(n)と、入力軸位置アドレスデー
タ前回値X(n−1)とから回転方向を検出し、式2に
おけるuとする。ステップS1202では、バックラッ
シュ補正量bを式2により算出する。ステップS120
3では、式1によりサーボ出力Yを算出する。ステップ
S1204では、算出結果をエリア24に格納されてい
るサーボ出力軸番号に対応するエリア(エリア51a〜
51cのうちの対応するエリア)に格納する。
In step S1201, the rotation direction is detected from the present value X (n) of the input axis position address data and the previous value X (n-1) of the input axis position address data, and is set as u in Expression 2. In step S1202, the backlash correction amount b is calculated by Expression 2. Step S120
In step 3, the servo output Y is calculated according to equation (1). In step S1204, the calculation result is stored in an area (areas 51a to 51a) corresponding to the servo output axis number stored in area 24.
51c).

【0011】ステップS1205では、補助出力Pを式
50により算出する。ステップS1206では、算出結
果をエリア24に格納されているサーボ出力軸番号に対
応するエリア(エリア50内の対応するエリア)に格納
する。ステップS1207では、入力軸位置アドレスデ
ータ今回値X(n)を入力軸位置アドレスデータ前回値X
(n−1)としてエリア30に格納し、次回の演算に備
える。
In step S1205, an auxiliary output P is calculated by equation (50). In step S1206, the calculation result is stored in an area (corresponding area in area 50) corresponding to the servo output axis number stored in area 24. In step S1207, the input axis position address data current value X (n) is set to the input axis position address data previous value X
(N-1) is stored in the area 30 to prepare for the next calculation.

【0012】ステップS1208では、エリア24に格
納されているサーボ出力軸番号に対応するエリア(エリ
ア51a〜51cのうちの対応するエリア)の内容を読
込み、これをそのサーボ出力軸番号のサーボアンプへ出
力し、動作を終了する。この図13のフロー図に示され
る動作はリアルタイム処理で実行されている。
In step S1208, the contents of the area corresponding to the servo output axis number (corresponding area among the areas 51a to 51c) stored in the area 24 are read, and are read into the servo amplifier of the servo output axis number. Output and end the operation. The operation shown in the flowchart of FIG. 13 is executed in real time processing.

【0013】このようなシステムにおいては、ユーザに
よる制御のアルゴリズムの指定は、シーケンスプログラ
ムを介して行われるように構成されている。この従来技
術においては、例えば、ある指定長分を繰り返し送る定
寸送りを行い、指定長内における特定の位置で何らかの
動作をさせる場合に、現在の送り位置が指定長内におい
ていずれの位置にあるかを示す情報を得るためには、シ
ーケンスコントローラ5側におけるシーケンスプログラ
ムの実行により位置決めコントローラ1から現在の送り
位置を読み出し、シーケンスコントローラ5側でシーケ
ンスプログラムにより指定長で割り算し、余りを求める
演算を行う必要があった。
In such a system, the control algorithm is specified by the user through a sequence program. In this conventional technique, for example, when performing fixed-size feed for repeatedly sending a specified length and performing some operation at a specific position within the specified length, the current feed position is at any position within the specified length. In order to obtain the information indicating whether the current feed position is read from the positioning controller 1 by executing the sequence program on the sequence controller 5 side, the sequence controller 5 divides the current feed position by the specified length by the sequence program, and calculates the remainder. Had to do.

【0014】次に、同じ特開平05073147号公報
に開示されている他の出力モジュールについて説明す
る。図14は、この出力モジュールが必要とする情報が
格納されているエリア(プログラムメモリ9内のエリ
ア)のメモリ構成図である。図14において、20はモ
ジュール番号が格納されるエリア、21は接続情報が格
納されるエリアである。このエリア21の内容により指
定されるモジュールからの出力が入力軸位置アドレスデ
ータ今回値X(n)となる。501は、下記のサーボ出
力Yを求める式5を示す情報、および、補助出力Pを求
める式51を示す情報が格納されるエリアである。補助
出力Pは、サーボ出力Yにもとづきサーボモータにより
回転駆動される回転テーブルの回転位置のパルス数換算
値である。 Y = X(n) 式5 P = ( x(n) % N1) / N1×360 (degree) 式51 式51において、%は剰余演算を示し、N1は出力軸1
回転当たりのパルス数(回転テーブル1回転当たりのパ
ルス数)を示す。
Next, another output module disclosed in the same Japanese Patent Application Laid-Open No. 05073147 will be described. FIG. 14 is a memory configuration diagram of an area (an area in the program memory 9) in which information required by the output module is stored. In FIG. 14, reference numeral 20 denotes an area for storing a module number, and reference numeral 21 denotes an area for storing connection information. The output from the module specified by the contents of this area 21 becomes the input axis position address data current value X (n). Reference numeral 501 denotes an area in which information indicating the following equation 5 for obtaining the servo output Y and information indicating the equation 51 for obtaining the auxiliary output P are stored. The auxiliary output P is a pulse number converted value of the rotational position of the rotary table driven to rotate by the servo motor based on the servo output Y. Y = X (n) Equation 5 P = (x (n)% N1) / N1 × 360 (degree) Equation 51 In Equation 51,% indicates remainder operation, and N1 indicates output shaft 1
The number of pulses per rotation (the number of pulses per rotation of the rotary table) is shown.

【0015】23は変数が格納されるエリアである。こ
のエリア23には、この出力モジュールの場合も、「無
し」を意味する情報が格納されている。24はサーボ出
力軸番号が格納されるエリア、61は出力軸1回転当た
りのパルス数(回転テーブル1回転当たりのパルス数)
が格納されるエリアである。
Reference numeral 23 denotes an area where variables are stored. In this area 23, information indicating "none" is stored also in the case of this output module. 24 is an area in which the servo output shaft number is stored, 61 is the number of pulses per rotation of the output shaft (the number of pulses per rotation of the rotary table)
Is an area where is stored.

【0016】図15は、ワークメモリ10内の所定のエ
リアのメモリ構成図である。図において、31は入力軸
位置アドレスデータ今回値x(n)が格納されるエリアで
ある。
FIG. 15 is a memory configuration diagram of a predetermined area in the work memory 10. In the figure, reference numeral 31 denotes an area for storing the current value x (n) of the input axis position address data.

【0017】次に、この出力モジュールの動作につい
て、図16のフロー図により説明する。出力モジュール
が実行されると、ステップS1210では、エリア21
に格納されている接続情報にもとづき入力軸位置アドレ
スデータX(n)を読込み、エリア31に格納する。ス
テップS1211では、エリア24に格納されているサ
ーボ出力軸番号に対応するエリア(エリア51a〜51
cのうちの対応するエリア)にX(n)を格納する。
Next, the operation of the output module will be described with reference to the flowchart of FIG. When the output module is executed, in step S1210, the area 21
The input axis position address data X (n) is read based on the connection information stored in the area 31 and stored in the area 31. In step S1211, the area corresponding to the servo output axis number stored in area 24 (areas 51a to 51a)
X (n) is stored in (corresponding area of c).

【0018】ステップS1212では、エリア24に格
納されているサーボ出力軸番号に対応する補助出力Pを
式51に従い算出し、ステップS1213で、この算出
結果をエリア50内の対応するエリアに格納する。
In step S1212, the auxiliary output P corresponding to the servo output axis number stored in the area 24 is calculated according to the equation 51, and the calculation result is stored in the corresponding area in the area 50 in step S1213.

【0019】ステップS1214では、エリア24に格
納されているサーボ出力軸番号のエリア(エリア51a
〜51cのうちの対応するエリア)の内容を読込み、こ
れをそのサーボ出力軸番号のサーボアンプへ出力し動作
を終了する。この図16のフロー図に示される動作はリ
アルタイム処理で実行されている。
In step S1214, the area of the servo output axis number stored in area 24 (area 51a)
The contents are read out from the corresponding area of .about.51c, output to the servo amplifier of the servo output axis number, and the operation is terminated. The operation shown in the flowchart of FIG. 16 is executed in real-time processing.

【0020】この従来技術においても、例えば、ある指
定角度分を繰り返し送る定角度送りを行い、指定角度内
における特定の角度で何らかの動作をさせる場合に、現
在の送り角度が指定角度内においていずれの角度にある
かを示す情報を得るためには、シーケンスコントローラ
5側におけるシーケンスプログラムの実行により位置決
めコントローラ1から現在の送り角度を読み出し、シー
ケンスコントローラ5側でシーケンスプログラムにより
指定角度で割り算し、余りを求める演算を行う必要があ
った。
In this prior art as well, for example, when a constant angle feed for repeatedly sending a specified angle is performed and a certain operation is performed at a specific angle within the specified angle, the current feed angle may be any one within the specified angle. In order to obtain the information indicating the angle, the current feed angle is read from the positioning controller 1 by executing the sequence program on the sequence controller 5 side, the sequence controller 5 side divides the current feed angle by the sequence program, and the remainder is obtained. The required calculation had to be performed.

【0021】[0021]

【発明が解決しようとする課題】制御対象の各部をそれ
ぞれ任意の態様で繰返し動作させ、制御対象の各部のう
ちのいずれかはモータ駆動によりテーブルを移動させる
ように構成されている従来の駆動システムにおいては、
定寸送り(ある指定長分、または、ある指定角度分を繰
り返し送るテーブル送り)を行う場合に、指定長または
指定角度内において特定の位置で何らかの動作を行うよ
うな場合に、現在の送り位置が指定長または指定角度内
においていずれの位置にあるかを示す情報を得たいとき
は、シーケンスコントローラ5側におけるシーケンスプ
ログラムの実行により位置決めコントローラ1から現在
の送り位置または現在の送り角度を読み出し、指定長ま
たは指定角度で割り算し、余りを求める演算を行う必要
があり、処理に時間を要し応答が遅れるという問題点が
あった。
A conventional drive system in which each part to be controlled is repeatedly operated in an arbitrary manner, and any one of the parts to be controlled is configured to move a table by driving a motor. In
The current feed position when performing a fixed-size feed (table feed for repeatedly sending a specified length or a specified angle) and performing an operation at a specific position within the specified length or angle When it is desired to obtain information indicating the position within the specified length or the specified angle, the sequence controller 5 reads the current feed position or current feed angle from the positioning controller 1 by executing a sequence program, and specifies the position. It is necessary to divide by the length or the designated angle to perform an operation for obtaining the remainder, which takes a long time for processing and has a problem that the response is delayed.

【0022】この発明は上述の問題点を解決するために
なされたもので、定寸送り(ある指定長分、または、あ
る指定角度分を繰り返し送るテーブル送り)を行う場合
に、現在の送り位置が指定長または指定角度内において
いずれの位置にあるかをプログラマブルコントローラ側
で容易に認知でき、応答性のよい駆動システムを得るこ
とを目的とする。
The present invention has been made in order to solve the above-mentioned problem. In the case where fixed-size feeding (table feeding for repeatedly feeding a specified length or a specified angle) is performed, the current feed position is set. It is an object of the present invention to obtain a drive system with good responsiveness in which the programmable controller can easily recognize which position is within a designated length or a designated angle.

【0023】[0023]

【課題を解決するための手段】この発明に係る駆動シス
テムは、所定数の伝達ソフトウエアモジュールと、所定
数の伝達ソフトウエアモジュールによる処理結果が入力
される出力ソフトウエアモジュールと、出力ソフトウエ
アモジュールからの駆動出力にもとづき駆動されるモー
タと、をそれぞれ有する複数のソフトウエアハードウエ
ア構成体と、複数のソフトウエアハードウエア構成体に
所定の情報を出力する駆動シャフトソフトウエアモジュ
ールと、を有する駆動装置と、プログラマブルコントロ
ーラと、を備えた駆動システムであって、いずれかのソ
フトウエアハードウエア構成体は、その出力ソフトウエ
アモジュールから駆動出力の他に位置情報である補助出
力が出力され、そのモータにより所定のテーブルが駆動
されるものであり、定寸送り(ある指定長分を繰り返し
送るテーブル送り)時に、定寸を送る毎にプログラマブ
ルコントローラ側から送られてくる指示にもとづき、補
助出力が所定値に戻されるようにしたものである。
A drive system according to the present invention includes a predetermined number of transmission software modules, an output software module to which processing results from the predetermined number of transmission software modules are input, and an output software module. A plurality of software hardware units each having a motor driven based on a drive output from the drive unit, and a drive shaft software module that outputs predetermined information to the plurality of software hardware units. A drive system comprising a device and a programmable controller, wherein any of the software hardware components outputs an auxiliary output as position information in addition to the drive output from its output software module, The predetermined table is driven by Feeding (repeatedly send table feed a length specified component in) sometimes based on instructions sent from the programmable controller side every sending a sizing, auxiliary output is obtained so as to be returned to the predetermined value.

【0024】また、所定数の伝達ソフトウエアモジュー
ルと、所定数の伝達ソフトウエアモジュールによる処理
結果が入力される出力ソフトウエアモジュールと、出力
ソフトウエアモジュールからの駆動出力にもとづき駆動
されるモータと、をそれぞれ有する複数のソフトウエア
ハードウエア構成体と、複数のソフトウエアハードウエ
ア構成体に所定の情報を出力する駆動シャフトソフトウ
エアモジュールと、を備えた駆動装置であって、いずれ
かのソフトウエアハードウエア構成体は、その出力ソフ
トウエアモジュールから駆動出力の他に角度情報である
補助出力が出力され、そのモータにより所定のテーブル
が回転駆動されるものであり、定角度送り(ある一定角
度分を繰り返し送るテーブル送り)時に、一定角度を送
る毎にプログラマブルコントローラ側から送られてくる
指示にもとづき、補助出力が所定値に戻されるようにし
たものである。
Also, a predetermined number of transmission software modules, an output software module to which processing results from the predetermined number of transmission software modules are input, a motor driven based on a drive output from the output software module, A drive device comprising: a plurality of software hardware components each having: and a drive shaft software module that outputs predetermined information to the plurality of software hardware components. In the wear component, an auxiliary output as angle information is output from the output software module in addition to the drive output, and a predetermined table is driven to rotate by the motor. When sending a table at a certain angle) Based on an instruction sent from Le controller side, the auxiliary output is obtained so as to be returned to the predetermined value.

【0025】[0025]

【発明の実施の形態】発明の実施の形態1.この発明の
実施の形態1による駆動装置のハードウエア構成は、メ
モリ内の記憶内容が異なる以外は、従来技術を示す図1
と同様である。図2は、この発明の実施の形態1におい
て、出力モジュールの実行に当たり必要な情報が格納さ
れているプログラムメモリ9内の所定のエリアのメモリ
構成図である。図において、20はモジュール番号が格
納されるエリアである。21は接続情報が格納されるエ
リアであり、この接続情報により示されるモジュールか
らの出力情報がこの出力モジュールの入力軸位置アドレ
スデータX(n)となる。22は、サーボ出力Yを求め
る前述の式1を示す情報、および、補助出力Pを求める
下記の式3を示す情報が格納されるエリアである。この
補助出力Pはワークテーブルの位置アドレスを示してい
る。ワークテーブルはボールネジを介して駆動され、こ
のボールネジはサーボ出力Yにもとづき駆動されるサー
ボモータにより回転駆動されるように構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 of the Invention The hardware configuration of the drive device according to the first embodiment of the present invention is similar to that of the prior art except that the contents stored in the memory are different.
Is the same as FIG. 2 is a memory configuration diagram of a predetermined area in the program memory 9 in which information necessary for executing the output module is stored in the first embodiment of the present invention. In the figure, reference numeral 20 denotes an area for storing a module number. Reference numeral 21 denotes an area in which connection information is stored, and output information from a module indicated by the connection information is input axis position address data X (n) of the output module. Reference numeral 22 denotes an area in which information indicating the above-described expression 1 for obtaining the servo output Y and information indicating the following expression 3 for obtaining the auxiliary output P are stored. This auxiliary output P indicates the position address of the work table. The work table is driven via a ball screw, and the ball screw is configured to be rotationally driven by a servo motor driven based on a servo output Y.

【0026】 P= ( X(n)− z )× B1/N1 + d 式 3 式3において、zは式50の場合と同様に原点位置オフ
セットである。dは下記の式4により算出される補助出
力変更補正値である。 d = A − (X−z)×B1/N1 式 4 A:補助出力変更値 X:補助出力変更要求時のX(n)
P = (X (n) −z) × B1 / N1 + d Equation 3 In Equation 3, z is the origin position offset as in Equation 50. d is an auxiliary output change correction value calculated by Expression 4 below. d = A− (X−z) × B1 / N1 Equation 4 A: Auxiliary output change value X: X (n) at the time of auxiliary output change request

【0027】23は変数が格納されるエリアであり、こ
の実施の形態1においては、「無し」を意味する情報が格
納される。24は実際に出力するサーボ出力軸番号が、
25はボールネジピッチB1が、26はボールネジバッ
クラッシュB2が、27は出力軸(ボールネジ)1回転
当たりのパルス数が、それぞれ格納されるエリアであ
る。
Reference numeral 23 denotes an area in which variables are stored. In the first embodiment, information meaning "none" is stored. 24 is the servo output axis number actually output,
An area 25 stores the ball screw pitch B1, an area 26 stores the ball screw backlash B2, and an area 27 stores the number of pulses per rotation of the output shaft (ball screw).

【0028】図3は、この出力モジュールが必要とする
情報が待避格納されるエリア(ワークメモリ10のエリ
ア)のメモリ構成を示す図である。図において、30は
入力軸位置アドレスデータ前回値X(n−1)が、31は
入力軸位置アドレスデータ今回値X(n)が、32は補助
出力変更補正値dが、それぞれ格納されるエリアであ
る。
FIG. 3 is a diagram showing a memory configuration of an area (an area of the work memory 10) in which information required by the output module is saved. In the figure, 30 is an area for storing the previous value of the input axis position address data X (n-1), 31 is the area for storing the current value of the input axis position address data X (n), and 32 is the area for storing the auxiliary output change correction value d. It is.

【0029】図4は、この出力モジュールが必要とする
情報が格納されるエリア(ワークメモリ10内のエリ
ア)のメモリ構成図である。図において、40は補助出
力の変更要求があるか否かを示す補助出力変更要求が、
41は補助出力の変更を行うサーボ出力軸番号が、42
は補助出力に新に設定する補助出力変更値Aが、それぞ
れ格納されるエリアである。これらのエリアに設定する
情報は、シーケンスコントローラ5から通信インターフ
ェース12に送られ、CPU7により通信インターフェ
ース12からエリア40〜エリア42に転送される。シ
ーケンスコントローラ5は、定寸を送る毎に、通信イン
ターフェース12およびCPU7を介してエリア40に
補助出力変更要求を設定する。
FIG. 4 is a memory configuration diagram of an area (an area in the work memory 10) in which information required by the output module is stored. In the figure, reference numeral 40 denotes an auxiliary output change request indicating whether there is an auxiliary output change request,
Reference numeral 41 denotes a servo output axis number for changing the auxiliary output.
Is an area in which an auxiliary output change value A newly set for the auxiliary output is stored. Information to be set in these areas is sent from the sequence controller 5 to the communication interface 12, and is transferred from the communication interface 12 to the areas 40 to 42 by the CPU 7. The sequence controller 5 sets an auxiliary output change request in the area 40 via the communication interface 12 and the CPU 7 each time the fixed size is sent.

【0030】式1、式3により算出された結果は、従来
技術の場合と同様に図5に示されるエリアに格納され
る。
The results calculated by Equations 1 and 3 are stored in the area shown in FIG. 5, as in the case of the prior art.

【0031】次に、この出力モジュールの動作について
図6のフロー図により説明する。この出力モジュールが
実行されると、ステップS1001で、エリア21に格
納されている接続情報により示されるモジュールからの
入力軸位置アドレスデータX(n)を読込み、エリア3
1に格納する。
Next, the operation of the output module will be described with reference to the flowchart of FIG. When this output module is executed, the input axis position address data X (n) from the module indicated by the connection information stored in the area 21 is read in step S1001, and
1 is stored.

【0032】ステップS1002で、入力軸位置アドレ
ス今回値X(n)と、入力軸位置アドレス前回値X(n
−1)とから回転方向を検出し、式2におけるuとす
る。ステップS1202では、バックラッシュ補正量b
を式2により算出する。ステップS1203では、式1
によりサーボ出力Yを算出する。ステップS1204で
は、算出結果をエリア24に格納されているサーボ出力
軸番号に対応するエリア(エリア51a〜51cのいず
れかの対応するエリア)に格納する。
In step S1002, the input axis position address current value X (n) and the input axis position address previous value X (n)
-1) and the rotation direction is detected, and is set as u in Expression 2. In step S1202, the backlash correction amount b
Is calculated by Expression 2. In step S1203, Expression 1
Is used to calculate the servo output Y. In step S1204, the calculation result is stored in the area corresponding to the servo output axis number stored in area 24 (one of areas 51a to 51c).

【0033】次に、ステップS1006では、エリア4
0に補助出力の変更を要求する情報が格納されているか
否かを判定し、格納されていればステップS1007に
進み、格納されていなければステップS1009に進
む。ステップS1007では、エリア41に格納されて
いるサーボ出力軸番号(補助出力の変更を行うサーボ出
力軸番号)と、エリア24に格納されているサーボ出力
軸番号とが一致しているか否かを判定し、一致していれ
ばステップS1008に進み、一致していなければステ
ップS1009に進む。ステップS1008では、エリ
ア42に格納されている補助出力変更値Aを読込むとと
もに、XをX(n)として、式4によりdを算出し、結果
をエリア32に格納する。
Next, in step S1006, area 4
It is determined whether or not information requesting the change of the auxiliary output is stored at 0. If the information is stored, the process proceeds to step S1007, and if not, the process proceeds to step S1009. In step S1007, it is determined whether or not the servo output axis number stored in the area 41 (servo output axis number for changing the auxiliary output) matches the servo output axis number stored in the area 24. If they match, the process proceeds to step S1008, and if they do not match, the process proceeds to step S1009. In step S1008, the auxiliary output change value A stored in the area 42 is read, and d is calculated by Expression 4 where X is X (n), and the result is stored in the area 32.

【0034】ステップS1205では、補助出力Pを式
50により算出する。ステップS1206では、エリア
24に格納されているサーボ出力軸番号に該当するエリ
ア(エリア50内のエリア)にステップS1205での
算出結果を格納する。ステップS1207では、入力軸
位置アドレスデータ今回値X(n)を入力軸位置アドレス
データ前回値X(n−1)としてエリア30に格納し、次
回の演算に備える。
In step S1205, the auxiliary output P is calculated by equation (50). In step S1206, the calculation result in step S1205 is stored in the area corresponding to the servo output axis number stored in area 24 (the area within area 50). In step S1207, the current value X (n) of the input axis position address data is stored in the area 30 as the previous value X (n-1) of the input axis position address data to prepare for the next calculation.

【0035】ステップS1208では、エリア24に格
納されているサーボ出力軸番号に対応するエリア(エリ
ア51a〜51cのいずれかの対応するエリア)の内容
を読込み、これを、そのサーボ出力軸番号のサーボアン
プに出力し、動作を終了する。このフロー図に示される
動作はリアルタイム処理で実行されている。この処理に
より得られた補助出力Pをシーケンスコントローラ5が
読み取ることにより、現在の送り位置が定寸送りにおけ
る指定長内においていずれの位置にあるかをシーケンス
コントローラ5側で容易に知ることができる。
In step S1208, the contents of the area (corresponding to one of the areas 51a to 51c) corresponding to the servo output axis number stored in the area 24 are read, and this is read as the servo of the servo output axis number. Output to the amplifier and end the operation. The operation shown in this flowchart is executed in real-time processing. The sequence controller 5 reads the auxiliary output P obtained by this processing, so that the sequence controller 5 can easily know which position the current feed position is within the designated length in the fixed length feed.

【0036】発明の実施の形態2.この発明の実施の形
態2による駆動装置のハードウエア構成は、メモリ内の
記憶内容が異なる以外は従来技術を示す図1と同様であ
る。図7は、この発明の実施の形態2において、出力モ
ジュールの実行に当たり必要となる情報が格納されるエ
リア(プログラムメモリ9内の所定のエリア)のメモリ
構成図である。図において、20、21、23は、図2
におけるエリアと同様のエリアである。24は実際に出
力するサーボ出力番号が、61は出力軸1回転当たりの
パルス数(回転テーブル1回転当たりのパルス数)が、
それぞれ格納されるエリアである。60は、サーボ出力
Yを求める下記の式5を示す情報、および、補助出力P
を求める下記の式6を示す情報が格納されるエリアであ
る。 Y = X(n) 式5 P = { (X(n) % N1)/N1×360 + d }% 360 (degree) 式6 上式において、%は剰余演算を行うことを示し、N1は
出力軸1回転当たりのパルス数(回転テーブル1回転当
たりのパルス数)、dは下記の式7により求められる値
である。 d = A − ( X % N1 )/N1 × 360 式7 式7において、Aは補助出力変更値、Xは補助出力変更
要求時の入力軸位置アドレスデータX(n)である。
Embodiment 2 of the Invention The hardware configuration of the driving device according to the second embodiment of the present invention is the same as that of the prior art shown in FIG. 1 except that the contents stored in the memory are different. FIG. 7 is a memory configuration diagram of an area (predetermined area in program memory 9) in which information necessary for execution of an output module is stored in the second embodiment of the present invention. In the figure, 20, 21, and 23 correspond to FIG.
Is an area similar to the area in. 24 is the servo output number actually output, 61 is the number of pulses per rotation of the output shaft (the number of pulses per rotation of the rotation table),
Each area is stored. Reference numeral 60 denotes information indicating the following equation 5 for obtaining the servo output Y, and the auxiliary output P
Is an area in which information indicating the following Expression 6 is stored. Y = X (n) Equation 5 P = {(X (n)% N1) / N1 × 360 + d}% 360 (degree) Equation 6 In the above equation,% indicates that a remainder operation is to be performed, and N1 is an output. The number of pulses per rotation of the shaft (the number of pulses per rotation of the rotary table), d, is a value obtained by the following equation (7). d = A− (X% N1) / N1 × 360 Equation 7 In Equation 7, A is an auxiliary output change value, and X is input axis position address data X (n) at the time of an auxiliary output change request.

【0037】図8は、この出力モジュールの実行に当た
り必要な情報が待避格納されるワークメモリ10の所定
のエリアのメモリ構成を示す図である。図において、3
1は入力軸位置アドレスデータ今回値X(n)が、32は
補助出力変更補正値dが、それぞれ格納されるエリアで
ある。シーケンスコントローラ5は、定角度を送る毎
に、通信インターフェース12およびCPU7を介して
エリア40に補助出力変更要求を設定する。
FIG. 8 is a diagram showing a memory configuration of a predetermined area of the work memory 10 in which information necessary for executing the output module is saved. In the figure, 3
1 is an area for storing the current value X (n) of the input axis position address data, and 32 is an area for storing the auxiliary output change correction value d. The sequence controller 5 sets an auxiliary output change request in the area 40 via the communication interface 12 and the CPU 7 every time the fixed angle is sent.

【0038】次に、この出力モジュールの動作について
図9のフロー図により説明する。この出力モジュールが
実行されると、ステップS1020で、エリア21に格
納されている接続情報により示されるモジュールからの
入力軸位置アドレスデータX(n)を読込み、エリア3
1に格納する。
Next, the operation of the output module will be described with reference to the flowchart of FIG. When this output module is executed, the input axis position address data X (n) from the module indicated by the connection information stored in the area 21 is read in step S1020, and the area 3
1 is stored.

【0039】ステップS1021で、エリア24に格納
されているサーボ出力軸番号に対応するエリア(エリア
51a〜51cのいずれかの対応するエリア)にX
(n)を格納する。
In step S1021, X is added to the area corresponding to the servo output axis number stored in area 24 (one of the areas 51a to 51c).
(N) is stored.

【0040】ステップS1022では、エリア40に補
助出力の変更を要求する情報が格納されているか否かを
判定し、格納されていればステップS1023に進み、
格納されていなければステップS1026に進む。ステ
ップS1023では、エリア41に格納されているサー
ボ出力軸番号(補助出力の変更を行うサーボ出力軸番
号)と、エリア24に格納されているサーボ出力軸番号
とが一致しているか否かを判定し、一致していればステ
ップS1024に進み、一致していなければステップS
1026に進む。ステップS1024では、エリア42
に格納されている補助出力変更値Aを読込むとともに、
Aが、0°から360°の範囲内にあるか否かを判定
し、範囲内であればステップS1025に進み、範囲外
であればステップS1026に進む。ステップS102
5では、XをX(n)として、式7によりdを算出し、結
果をエリア32に格納する。
In step S1022, it is determined whether or not information requesting a change in the auxiliary output is stored in the area 40. If the information is stored, the flow advances to step S1023;
If not, the process proceeds to step S1026. In step S1023, it is determined whether or not the servo output axis number stored in the area 41 (the servo output axis number for changing the auxiliary output) matches the servo output axis number stored in the area 24. If they match, the process proceeds to step S1024. If they do not match, the process proceeds to step S1024.
Proceed to 1026. In step S1024, the area 42
Read the auxiliary output change value A stored in the
It is determined whether or not A is within the range of 0 ° to 360 °. If A is within the range, the process proceeds to step S1025, and if A is outside the range, the process proceeds to step S1026. Step S102
In step 5, d is calculated by equation 7 with X as X (n), and the result is stored in area 32.

【0041】ステップS1026では、補助出力Pを式
6により算出する。ステップS1027では、この算出
結果をエリア24に格納されているサーボ出力軸番号に
該当するエリア(エリア50内のエリア)に格納する。
In step S1026, the auxiliary output P is calculated by equation (6). In step S1027, the calculation result is stored in the area corresponding to the servo output axis number stored in area 24 (the area within area 50).

【0042】ステップS1028では、エリア24に格
納されているサーボ出力軸番号に対応するエリア(エリ
ア51a〜51cのいずれかの対応するエリア)の内容
を読込み、これを、そのサーボ出力軸番号のサーボアン
プへ出力し動作を終了する。このフロー図に示される動
作はリアルタイム処理で実行されている。この処理によ
り得られた補助出力Pをシーケンスコントローラ5が読
み取ることにより、現在の送り位置が定角度送りにおけ
る指定角度内においていずれの角度にあるかをシーケン
スコントローラ5側で容易に知ることができる。
In step S1028, the contents of the area (one of the areas 51a to 51c) corresponding to the servo output axis number stored in the area 24 are read, and this is read as the servo of the servo output axis number. Output to amplifier and end operation. The operation shown in this flowchart is executed in real-time processing. The sequence controller 5 reads the auxiliary output P obtained by this processing, so that the sequence controller 5 can easily know which angle the current feed position is within the specified angle in the constant angle feed.

【0043】[0043]

【発明の効果】以上のように本発明によれば、駆動装置
は、駆動シャフトソフトウエアモジュールが複数のソフ
トウエアハードウエア構成体に所定の情報を出力し、複
数のソフトウエアハードウエア構成体のそれぞれは、入
力された情報を所定数の伝達ソフトウエアモジュールお
よび出力ソフトウエアモジュールにより処理しその処理
結果である駆動出力にもとづきモータを駆動し、いずれ
かのソフトウエアハードウエア構成体は、その出力ソフ
トウエアモジュールから駆動出力の他に位置情報である
補助出力が出力され、そのモータにより所定のテーブル
が駆動されるものであり、定寸送り(ある指定長分を繰
り返し送るテーブル送り)時に、定寸を送る毎にプログ
ラマブルコントローラ側から送られてくる指示にもとづ
き、補助出力が所定値に戻されるように構成したので、
定寸送りにおいて、現在の送り位置が定寸内においてい
ずれの位置にあるかをプログラマブルコントローラ側で
容易に認知でき、制御における応答性の低下を防止でき
る効果がある。
As described above, according to the present invention, in the drive device, the drive shaft software module outputs predetermined information to the plurality of software hardware components, and the drive shaft software module includes the plurality of software hardware components. Each of them processes input information by a predetermined number of transmission software modules and output software modules, and drives a motor based on a drive output as a result of the processing. An auxiliary output, which is positional information, is output from the software module in addition to the drive output, and a predetermined table is driven by the motor. Auxiliary output is provided based on the instruction sent from the programmable controller every time Since it is configured as back to a value,
In the fixed-size feed, the programmable controller side can easily recognize which position the current feed position is within the fixed size, and thus has an effect of preventing a decrease in responsiveness in control.

【0044】また、駆動装置は、駆動シャフトソフトウ
エアモジュールが複数のソフトウエアハードウエア構成
体に所定の情報を出力し、複数のソフトウエアハードウ
エア構成体のそれぞれは、入力された情報を所定数の伝
達ソフトウエアモジュールおよび出力ソフトウエアモジ
ュールにより処理しその処理結果である駆動出力にもと
づきモータを駆動し、いずれかのソフトウエアハードウ
エア構成体は、その出力ソフトウエアモジュールから駆
動出力の他に角度情報である補助出力が出力され、その
モータにより所定のテーブルが回転駆動されるものであ
り、定角度送り(ある一定角度分を繰り返し送るテーブ
ル送り)時に、一定角度を送る毎にプログラマブルコン
トローラ側から送られてくる指示にもとづき、補助出力
が所定値に戻されるように構成したので、定角度送りに
おいて、現在の送り角度が一定角度内においていずれの
角度にあるかをプログラマブルコントローラ側で容易に
認知でき、制御における応答性の低下を防止できる効果
がある。
Further, in the driving device, the driving shaft software module outputs predetermined information to the plurality of software hardware components, and each of the plurality of software hardware components converts the input information to a predetermined number. The motor is driven based on the drive output that is processed by the transmission software module and the output software module, and one of the software hardware components outputs the angle from the output software module in addition to the drive output. An auxiliary output, which is information, is output, and a predetermined table is driven to rotate by the motor. In the constant angle feed (table feed in which a certain angle is repeatedly sent), the programmable controller sends a constant angle every time a certain angle is sent. The auxiliary output is returned to the specified value based on the instruction sent. Since it is configured as, in fixed angle feed, the effect of the current feed angle can easily recognize whether the any angle in the programmable controller side in certain angular in, it is possible to prevent deterioration of responsiveness in the control.

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

【図1】 この発明の実施の形態1による駆動装置のハ
ードウエア構成である。
FIG. 1 is a hardware configuration of a driving device according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1による駆動装置にお
いて、出力モジュールが必要とする情報の格納エリア
(プログラムメモリ内の所定のエリア)のメモリ構成図
である。
FIG. 2 is a memory configuration diagram of a storage area (a predetermined area in a program memory) of information required by an output module in the driving device according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1による駆動装置にお
いて、出力モジュールが必要とする情報の格納エリア
(ワークメモリ内の所定のエリア)のメモリ構成図であ
る。
FIG. 3 is a memory configuration diagram of a storage area (a predetermined area in a work memory) of information required by an output module in the driving device according to the first embodiment of the present invention.

【図4】 この発明の実施の形態1および実施の形態2
による駆動装置において、出力モジュールが必要とする
情報の格納エリア(ワークメモリ内の所定のエリア)の
メモリ構成図である。
FIG. 4 is a view showing a first embodiment and a second embodiment of the present invention;
FIG. 2 is a memory configuration diagram of a storage area (a predetermined area in a work memory) of information required by an output module in a driving device according to the present invention.

【図5】 この発明の実施の形態1および実施の形態2
による駆動装置において、出力モジュールが必要とする
情報の格納エリア(ワークメモリ内の所定のエリア)の
メモリ構成図である。
FIG. 5 is a view showing a first embodiment and a second embodiment of the present invention;
FIG. 2 is a memory configuration diagram of a storage area (a predetermined area in a work memory) of information required by an output module in a driving device according to the present invention.

【図6】 この発明の実施の形態1による駆動装置にお
ける出力モジュールの動作を示すフロー図である。
FIG. 6 is a flowchart showing an operation of the output module in the driving device according to the first embodiment of the present invention.

【図7】 この発明の実施の形態2による駆動装置にお
いて、出力モジュールが必要とする情報の格納エリア
(プログラムメモリ内の所定のエリア)のメモリ構成図
である。
FIG. 7 is a memory configuration diagram of a storage area (a predetermined area in a program memory) of information required by an output module in the driving device according to the second embodiment of the present invention.

【図8】 この発明の実施の形態2による駆動装置にお
いて、出力モジュールが必要とする情報の格納エリア
(ワークメモリ内の所定のエリア)のメモリ構成図であ
る。
FIG. 8 is a memory configuration diagram of a storage area (a predetermined area in a work memory) of information required by an output module in the driving device according to the second embodiment of the present invention.

【図9】 この発明の実施の形態2による駆動装置にお
ける出力モジュールの動作を示すフロー図である。
FIG. 9 is a flowchart showing an operation of the output module in the driving device according to the second embodiment of the present invention.

【図10】 複数のサーボアンプに位置情報を出力する
ソフトウエア構成の一例を示すブロック図である。
FIG. 10 is a block diagram showing an example of a software configuration for outputting position information to a plurality of servo amplifiers.

【図11】 従来の駆動装置において、出力モジュール
が必要とする情報の格納エリア(プログラムメモリ内の
所定のエリア)のメモリ構成図である。
FIG. 11 is a memory configuration diagram of a storage area (a predetermined area in a program memory) of information required by an output module in a conventional driving device.

【図12】 従来の駆動装置において、出力モジュール
が必要とする情報の格納エリア(ワークメモリ内の所定
のエリア)のメモリ構成図である。
FIG. 12 is a memory configuration diagram of a storage area (a predetermined area in a work memory) of information required by an output module in a conventional driving device.

【図13】 従来の駆動装置における出力モジュールの
動作を示すフロー図である。
FIG. 13 is a flowchart showing an operation of an output module in a conventional driving device.

【図14】 従来の駆動装置において、出力モジュール
が必要とする情報の格納エリア(プログラムメモリ内の
所定のエリア)のメモリ構成図である。
FIG. 14 is a memory configuration diagram of a storage area (a predetermined area in a program memory) of information required by an output module in a conventional driving device.

【図15】 従来の駆動装置において、出力モジュール
が必要とする情報の格納エリア(ワークメモリ内の所定
のエリア)のメモリ構成図である。
FIG. 15 is a memory configuration diagram of a storage area (a predetermined area in a work memory) of information required by an output module in a conventional driving device.

【図16】 従来の駆動装置における出力モジュールの
動作を示すフロー図である。
FIG. 16 is a flowchart showing the operation of an output module in a conventional driving device.

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

1 位置決めコントローラ 2 サーボアンプ 3 サーボモータ 4 位置検出器 5 シーケンスコントローラ 6 周辺装置 7 CPU 8 O/SROM 9 プログラムメモリ 10 ワークメモリ 11 変数メモリ 12 通信インタフェース 13 周辺装置インタフェース 14 位置検出インタフェース 15 サーボアンプインタフェース 16 入出力インタフェース 20 モジュール番号 21 接続情報 22 演算式 23 変数 24 サーボ出力軸番号 25 ボールネジピッチ 26 ボールネジバックラッシュ 27 ボールネジ1回転パルス数 30 入力軸位置アドレスデータ前回値 31 入力軸位置アドレスデータ今回値 32 補助出力変更補正値 40 補助出力変更要求 41 サーボ出力軸番号 42 補助出力変更値 50 補助出力情報 51 サーボ出力軸番号 60 演算式 61 回転テーブル1回転パルス数 500、501 演算式 520 仮想駆動モジュール 521 仮想連結シャフト 522、523,524、525 ブロック 526、528、529、531、533、534、5
35 仮想伝達モジュール 527、530、532、536 出力モジュール
DESCRIPTION OF SYMBOLS 1 Positioning controller 2 Servo amplifier 3 Servomotor 4 Position detector 5 Sequence controller 6 Peripheral device 7 CPU 8 O / SROM 9 Program memory 10 Work memory 11 Variable memory 12 Communication interface 13 Peripheral device interface 14 Position detection interface 15 Servo amplifier interface 16 Input / output interface 20 Module number 21 Connection information 22 Operational expression 23 Variable 24 Servo output axis number 25 Ball screw pitch 26 Ball screw backlash 27 Number of rotation pulses of ball screw 30 Input axis position address data Previous value 31 Input axis position address data Current value 32 Auxiliary Output change correction value 40 Auxiliary output change request 41 Servo output axis number 42 Auxiliary output change value 50 Auxiliary output information 51 Servo output axis number 6 0 Operational expression 61 Number of rotation pulses per turntable 500, 501 Operational expression 520 Virtual drive module 521 Virtual connection shaft 522, 523, 524, 525 Block 526, 528, 529, 531, 533, 534, 5
35 Virtual transmission module 527, 530, 532, 536 Output module

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 所定数の伝達ソフトウエアモジュール
と、上記所定数の伝達ソフトウエアモジュールによる処
理結果が入力される出力ソフトウエアモジュールと、上
記出力ソフトウエアモジュールからの駆動出力にもとづ
き駆動されるモータと、をそれぞれ有する複数のソフト
ウエアハードウエア構成体と、上記複数のソフトウエア
ハードウエア構成体に所定の情報を出力する駆動シャフ
トソフトウエアモジュールと、を有する駆動装置と、プ
ログラマブルコントローラと、を備えた駆動システムで
あって、いずれかの上記ソフトウエアハードウエア構成
体は、その出力ソフトウエアモジュールから上記駆動出
力の他に位置情報である補助出力が出力され、そのモー
タにより所定のテーブルが駆動されるものであり、定寸
送り(ある指定長分を繰り返し送るテーブル送り)時
に、定寸を送る毎に上記プログラマブルコントローラ側
から送られてくる指示にもとづき、上記補助出力が所定
値に戻されることを特徴とする駆動システム。
1. A predetermined number of transmission software modules, an output software module to which processing results from the predetermined number of transmission software modules are input, and a motor driven based on a drive output from the output software module And a programmable controller, comprising: a plurality of software hardware components each having: a drive shaft software module that outputs predetermined information to the plurality of software hardware components. In any of the above-mentioned software hardware components, an auxiliary output as position information is output from the output software module in addition to the drive output, and a predetermined table is driven by the motor. Fixed-size feed (a certain specified length A drive system wherein the auxiliary output is returned to a predetermined value on the basis of an instruction sent from the programmable controller every time a fixed size is sent at the time of repeatedly sending a table.
【請求項2】 所定数の伝達ソフトウエアモジュール
と、上記所定数の伝達ソフトウエアモジュールによる処
理結果が入力される出力ソフトウエアモジュールと、上
記出力ソフトウエアモジュールからの駆動出力にもとづ
き駆動されるモータと、をそれぞれ有する複数のソフト
ウエアハードウエア構成体と、上記複数のソフトウエア
ハードウエア構成体に所定の情報を出力する駆動シャフ
トソフトウエアモジュールと、を有する駆動装置と、プ
ログラマブルコントローラと、を備えた駆動システムで
あって、いずれかの上記ソフトウエアハードウエア構成
体は、その出力ソフトウエアモジュールから上記駆動出
力の他に角度情報である補助出力が出力され、そのモー
タにより所定のテーブルが回転駆動されるものであり、
定角度送り(ある一定角度分を繰り返し送るテーブル送
り)時に、一定角度を送る毎に上記プログラマブルコン
トローラ側から送られてくる指示にもとづき、上記補助
出力が所定値に戻されることを特徴とする駆動システ
ム。
2. A predetermined number of transmission software modules, an output software module to which processing results from the predetermined number of transmission software modules are input, and a motor driven based on a drive output from the output software module And a programmable controller, comprising: a plurality of software hardware components each having: a drive shaft software module that outputs predetermined information to the plurality of software hardware components. In any of the above-mentioned software hardware components, an auxiliary output as angle information is output from the output software module in addition to the drive output, and a predetermined table is rotationally driven by the motor. Is to be
In the constant angle feed (table feed for repeatedly sending a certain angle), the auxiliary output is returned to a predetermined value based on an instruction sent from the programmable controller every time the fixed angle is sent. system.
JP5028199A 1999-02-26 1999-02-26 Drive system Expired - Lifetime JP3376938B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5028199A JP3376938B2 (en) 1999-02-26 1999-02-26 Drive system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5028199A JP3376938B2 (en) 1999-02-26 1999-02-26 Drive system

Publications (2)

Publication Number Publication Date
JP2000250630A true JP2000250630A (en) 2000-09-14
JP3376938B2 JP3376938B2 (en) 2003-02-17

Family

ID=12854557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5028199A Expired - Lifetime JP3376938B2 (en) 1999-02-26 1999-02-26 Drive system

Country Status (1)

Country Link
JP (1) JP3376938B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5174992B1 (en) * 2012-01-27 2013-04-03 三菱電機株式会社 Display method of synchronous control program for driving control of multi-axis synchronous control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5174992B1 (en) * 2012-01-27 2013-04-03 三菱電機株式会社 Display method of synchronous control program for driving control of multi-axis synchronous control device
WO2013111325A1 (en) * 2012-01-27 2013-08-01 三菱電機株式会社 Display method of synchronization control program which drive controls multi-axle synchronization control device
KR101453253B1 (en) 2012-01-27 2014-10-22 미쓰비시덴키 가부시키가이샤 Display method of synchronization control program which drive controls multi-axle synchronization control device
US9568904B2 (en) 2012-01-27 2017-02-14 Mitsubishi Electric Corporation Display method of synchronous control program for controlling driving of multi-axis synchronous control device

Also Published As

Publication number Publication date
JP3376938B2 (en) 2003-02-17

Similar Documents

Publication Publication Date Title
US4528632A (en) Industrial articulated robot linear interpolation control device
US6330493B1 (en) Control system for synchronously cooperative operation of plurality of robots
US20110166693A1 (en) Numerical control device
KR20010108037A (en) Numerical control device
JP2005293569A (en) Synchronous controller
US6246201B1 (en) Electronic cam control system
JP2010170435A (en) System and method for instructing motion control, and motion control system
JP4652661B2 (en) Apparatus and method for synchronizing a plurality of electric drive units
JPS63148881A (en) Speed control device for servo motor
JP2008117032A (en) Working control device and its program
JP2735209B2 (en) Numerical control unit
JP7327225B2 (en) Robot control system and control method
JP2007073008A (en) Positioning apparatus
US20230339113A1 (en) Path Generation Method Of Generating Path Of Robot Using Command From External Apparatus And Robot Control System
JP3376938B2 (en) Drive system
JP2008525870A (en) Module for simulating detector signals
JP4318120B2 (en) Pulse output IC for motor drive and electronic cam control system
CN111331577B (en) Robot control device and control method
JP6629817B2 (en) Control system and motor control method
CN106970652B (en) Motion controller
JPH11202915A (en) Controller for automatic machine
JP7345529B2 (en) Motor control system, motor control device, motor control method
JP3189650B2 (en) Robot controller
JP2996445B2 (en) Multi-axis drive
US20050273294A1 (en) Method for operating a positional-measurement device corresponding positional measurement device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071206

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081206

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091206

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091206

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101206

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111206

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111206

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121206

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121206

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131206

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term