JPH0633206U - Position control device - Google Patents

Position control device

Info

Publication number
JPH0633206U
JPH0633206U JP3955993U JP3955993U JPH0633206U JP H0633206 U JPH0633206 U JP H0633206U JP 3955993 U JP3955993 U JP 3955993U JP 3955993 U JP3955993 U JP 3955993U JP H0633206 U JPH0633206 U JP H0633206U
Authority
JP
Japan
Prior art keywords
position control
control
control device
counter
program
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
JP3955993U
Other languages
Japanese (ja)
Inventor
耕一 若山
佐藤  寛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP3955993U priority Critical patent/JPH0633206U/en
Publication of JPH0633206U publication Critical patent/JPH0633206U/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)

Abstract

(57)【要約】 【目的】定尺切断や割出し等に容易に適用できる。 【構成】エンコーダ1のパルスをカウントして位置を表
す位置カウンタ2と、この位置カウンタ2からの入力に
応じて位置設定メモリ3と位置カウンタ2との内容を比
較器4で比較し、比較器4の比較出力に応じて出力部6
への出力を制御する制御部5とからなる位置制御装置で
あって、位置設定メモリ3に格納される、位置制御装置
が適用されるシステムの位置制御工程を設定するプログ
ラムの最終工程に、絶対位置制御か一方向繰返し位置制
御かを示す制御命令を設定することにより、その最終工
程を開始する時点で内部の位置カウンタを各々プリセッ
トするか否かを判断できるようにしたことにより、絶対
位置制御と一方向繰返し制御とに位置制御装置を簡単に
使い分けることができる。
(57) [Summary] [Purpose] It can be easily applied to standard length cutting and indexing. [Structure] A position counter 2 which represents a position by counting pulses of an encoder 1 and a comparator 4 compares contents of a position setting memory 3 and a position counter 2 in accordance with an input from the position counter 2, and a comparator 4 Output unit 6 according to the comparison output of 4
A position control device configured to control the output to the position control device, and which is stored in the position setting memory 3 is used as a final step of a program for setting the position control process of the system to which the position control device is applied. By setting a control command indicating position control or one-way repetitive position control, it is possible to determine whether or not to preset each internal position counter at the time when the final process is started. It is possible to easily use the position control device for the one-way repetitive control and the one-way repetitive control.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、多数の加減算形プリセットカウンタを組合わせて、移動位置とその 位置に対する速度とを出力制御する位置制御装置に関する。 The present invention relates to a position control device that combines a large number of addition / subtraction type preset counters and outputs and controls a moving position and a speed relative to the position.

【0002】[0002]

【従来の技術】[Prior art]

図1は、従来のこの種の位置制御装置の構成例を示す。図1に示す位置制御装 置は、エンコーダ1,エンコーダ1のパルスをカウントして位置を表す位置カウ ンタ2,速度の変化位置とその制御速度を格納するメモリ3,位置カウンタ2か らの入力に応じてメモリ3と位置カウンタ2の内容とを比較する比較器4および 比較器4の出力に応じて出力部6への出力を制御する制御部5とで構成されてい る。 FIG. 1 shows a configuration example of a conventional position control device of this type. The position control device shown in FIG. 1 is an input from the position counter 2 that counts the pulses of the encoder 1 and the position counter 2 that represents the position, the memory 3 that stores the speed change position and its control speed, and the position counter 2. It comprises a memory 4 and a comparator 4 for comparing the contents of the position counter 2 in accordance with the above, and a control unit 5 for controlling the output to the output unit 6 according to the output of the comparator 4.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

図1に示す装置では、一般にプログラムで指定されたある位置(位置カウンタ 値)から別の指定位置へに位置制御(以下、絶対位置制御と称する)を行うこと を目的としているので、定尺切断装置や割出し装置のような一方向の繰返し位置 制御にこの種の装置を適用しようとする場合には、位置カウンタ2の容量により 切断や割出し回数が制限されることとなる。 Since the device shown in Fig. 1 is generally intended to perform position control (hereinafter referred to as absolute position control) from one position (position counter value) designated by the program to another designated position, fixed length cutting When this type of device is to be applied to one-way repetitive position control such as a device or an indexing device, the number of cutting and indexing is limited by the capacity of the position counter 2.

【0004】 一方、汎用のプリセットカウンタをこの一方向の繰返し位置制御の用途に使用 することもあるが、この場合には速度変化数×設定数の複数個数のプリセットカ ウンタを必要とし、さらにそれらを制御するシーケンス制御装置が必要となる。 そこで、本考案の目的は、定尺切断や割出し等に容易に適用可能な位置制御装 置を提供することにある。On the other hand, although a general-purpose preset counter is sometimes used for the purpose of this one-way repetitive position control, in this case, a plurality of preset counters of the number of speed changes × the set number are required, and further, these preset counters are required. A sequence control device for controlling is required. Therefore, an object of the present invention is to provide a position control device that can be easily applied to fixed length cutting, indexing and the like.

【0005】[0005]

【課題を解決するための手段】[Means for Solving the Problems]

前述の目的を達成するために本考案は、移動位置とその位置に対する速度とを 出力制御する位置制御装置において、プログラム入力に応じて位置制御工程プロ グラムの最終工程の記憶領域に絶対位置制御または一方向繰返し位置制御のいず れかを示す制御命令が格納された位置設定記憶手段と、該位置設定記憶手段に格 納された位置制御工程プログラムごとの開始時点で各位置制御工程プログラムの 最終工程の記憶領域に格納された制御命令を判断し、一方向繰返し位置制御の場 合に位置カウンタにプリセット値をプリセットして当該位置制御工程プログラム を実行し、絶対位置制御の場合に当該位置制御工程プログラムを最初のステップ から実行する制御手段とを具備したことを特徴とする。 In order to achieve the above-mentioned object, the present invention provides an absolute position control in a storage area of a final step of a position control process program according to a program input in a position control device which outputs and controls a moving position and a velocity with respect to the position. Position setting storage means in which a control command indicating one of the one-way repeated position control is stored, and the end of each position control process program at the start point of each position control process program stored in the position setting storage means. Judges the control command stored in the process storage area, presets a preset value in the position counter in the case of one-way repetitive position control, executes the position control process program, and executes the position control in the case of absolute position control. And a control means for executing the process program from the first step.

【0006】[0006]

【作用】[Action]

本考案の位置制御装置によれば、その位置制御装置が適用されるシステムの位 置制御工程を設定するプログラムの最終工程に、絶対位置制御かまたは一方向繰 返し位置制御かを示す制御命令を設定することにより、その最終工程を開始する 時点で内部の位置カウンタを各々プリセットするか,プリセットしないかを判断 でき、これにより絶対位置制御装置一方向繰返し位置制御とにを簡単に使い分け できる。 According to the position control device of the present invention, a control command indicating absolute position control or one-way repetitive position control is added to the final process of the program that sets the position control process of the system to which the position control device is applied. By setting, it is possible to judge whether to preset each internal position counter at the time of starting the final process, or not to preset, thereby easily using the absolute position control device for one-way repetitive position control.

【0007】[0007]

【考案の実施例】[Example of device]

以下、図面を参照してこの考案の一実施例を詳細に説明する。図2は本考案の プログラムの内容の一部を示し、図3はそのプログラムを実行した時のシステム 内部の動作例を示している。なお、本考案に適用する位置制御装置の構成は図1 の従来例と同様なので、その詳細な説明は省略する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 shows a part of the contents of the program of the present invention, and FIG. 3 shows an example of the internal operation of the system when the program is executed. The configuration of the position control device applied to the present invention is the same as that of the conventional example shown in FIG. 1, and therefore its detailed description is omitted.

【0008】 図2のPT1 は第1パターン,PT2 は第2パターン,PSはプリセット値の設定領 域であり、これらは予め図1の位置設定メモリ3に格納されている。前記第1パ ターンPT1 には絶対位置制御の設定、第2パターンPT2 には一方向繰返し位置制 御の設定がされている。さらに、プリセット値の設定領域PSは、一方向繰返し位 置制御の起動直後の位置カウンタの値を設定してある。In FIG. 2, PT1 is a first pattern, PT2 is a second pattern, and PS is a preset value setting area, which are stored in advance in the position setting memory 3 of FIG. The first pattern PT1 is set for absolute position control, and the second pattern PT2 is set for one-way repeated position control. Further, in the preset value setting area PS, the value of the position counter immediately after the activation of the one-way repetitive position control is set.

【0009】 図3は図2に示す設定命令を実行した結果を示す。第1パターンPT1 は第1ス テップS1でアドレス100 からアドレス1000へ進み、次の第2のステップS2でアド レス1500へ進み、第3ステップS3でアドレス100 へ戻るという動作となる。ここ で、アドレスは目的位置を示すものとする。第2パターンPT2 では、起動直後に 静止位置をプリセット値として格納してアドレス1000へ向い、起動ごとにこのプ リセット動作を繰返す。FIG. 3 shows a result of executing the setting instruction shown in FIG. The first pattern PT1 proceeds from address 100 to address 1000 in the first step S1, proceeds to address 1500 in the next second step S2, and returns to address 100 in the third step S3. Here, the address indicates the destination position. In the second pattern PT2, the stationary position is stored as a preset value immediately after startup and the address 1000 is set, and this preset operation is repeated after each startup.

【0010】 このように、運転パターンは、目的位置(アドレス)とそこに至る加減速のパ ターン情報とを組合わせたステップS1からS3で構成されている。すなわち、パタ ーンPT1 およびPT2 は不図示の入力手段からの入力により予め指定された運転の パターンであって、開始指令ごとに1ステップS1から順次に設定された目的位置 へと、加減速パターンから算出された変速位置と位置カウンタ2の値とを比較器 4で比較し、図3のように出力を制御する。As described above, the operation pattern is composed of steps S1 to S3 in which the target position (address) and the acceleration / deceleration pattern information reaching the target position are combined. That is, the patterns PT1 and PT2 are operation patterns designated in advance by the input from the input means (not shown), and the acceleration / deceleration pattern is set from the step S1 to the target position sequentially set for each start command. The shift position calculated from the above and the value of the position counter 2 are compared by the comparator 4, and the output is controlled as shown in FIG.

【0011】 この時、第1パターンPT1 には最終ステップに絶対位置制御を示す「終了」命 令が設定されているので、制御される位置(各ステップの終了時の位置カウンタ )は図3に示すようにアドレス1000→1500→100 と移動することとなる。また、 第2パターンPT2 には、最終ステップに一方向繰返し位置制御を示す「連続」命 令が設定されているので、制御される動作開始位置は別に設定したプリセット値 の100 となり、目的位置は1000となる。At this time, since the first pattern PT1 is set with an “end” command indicating absolute position control in the final step, the controlled position (position counter at the end of each step) is shown in FIG. As shown, the address moves from 1000 to 1500 to 100. Also, since the 2nd pattern PT2 is set to the “continuous” command indicating the one-way repeated position control in the final step, the operation start position to be controlled is 100, which is a preset value set separately, and the target position is It will be 1000.

【0012】 図4は、図2および図3で示す動作を実行する制御部5の制御手順の一例を示 す。この手順T1からT9は制御部5内のプログラムメモリに格納されている。まず 、駆動後(T1)、運転パターンの指定入力を不図示の入力手段(例えば、キーボ ード)で行い、図2に示すような運転パターンを位置設定メモリ3に格納する( T2) 。次いで、第1ステップS1であるか否かを判定し(T3)、肯定判定ならば、 最終ステップが「CNT (繰返し位置決めモード)」か否かを判定し(T4)、肯定 判定の場合は位置カウンタ2をプリセットする。従って、この肯定判定のときに は第2パターンの動作となる。また、この時、制御部5は、一方向繰返し位置制 御のパターンが起動された瞬間に位置カウンタ2をプリセット値100 に自動的に プリセットすることとなる。FIG. 4 shows an example of a control procedure of the control unit 5 that executes the operation shown in FIGS. 2 and 3. The procedures T1 to T9 are stored in the program memory in the control unit 5. First, after driving (T1), the operation pattern designation input is performed by input means (not shown) such as a keyboard, and the operation pattern as shown in FIG. 2 is stored in the position setting memory 3 (T2). Next, it is judged whether or not it is the first step S1 (T3), and if the judgment is affirmative, it is judged whether or not the final step is "CNT (repetitive positioning mode)" (T4). Preset counter 2. Therefore, when this affirmative determination is made, the operation is the second pattern. Further, at this time, the control unit 5 automatically presets the position counter 2 to the preset value 100 at the moment when the one-way repeated position control pattern is activated.

【0013】 次いで、加減速パターンにより目的位置への「方向」および「速度」を出力し (T6)、位置カウンタ2の値が目的位置に達したら(T7)、「方向」,「速度」 の出力をオフにし(T8)、ステップ数(図1のS1からS3が相当)を+1だけイン クリメントした後(T9)、最初の起動処理(T1) に戻り、T1からT9の処理を繰返 す。Next, the “direction” and “speed” to the target position are output according to the acceleration / deceleration pattern (T6), and when the value of the position counter 2 reaches the target position (T7), the “direction” and “speed” are changed. Turn off the output (T8), increment the number of steps (corresponding to S1 to S3 in Fig. 1) by +1 (T9), then return to the first startup processing (T1) and repeat the processing from T1 to T9. .

【0014】 一方、T3において、第1ステップS1でないと判断したときには上述のT6へ進み 、またT4においては最終ステップが「CNT 」でないと判定したときにもT6へ進む 。従って、このときはプリセット処理をせずに第1パターンPT1 の動作を実行す ることとなる。 なお、エンコーダ1はその入力として絶対位置制御に必要な2相のエンコーダ 用入力の他に、加算,減算用の単相エンコーダ入力も備えており、一方向繰返し 位置制御に適したものとなっている。On the other hand, in T3, when it is determined that the first step S1 is not performed, the process proceeds to T6 described above, and when it is determined that the final step is not “CNT” in T4, the process proceeds to T6. Therefore, at this time, the operation of the first pattern PT1 is executed without performing the preset processing. In addition to the two-phase encoder input required for absolute position control, the encoder 1 also has a single-phase encoder input for addition and subtraction, making it suitable for one-way repetitive position control. There is.

【0015】[0015]

【考案の効果】[Effect of device]

以上説明したように本考案によれば、移動位置とその位置に対する速度とを出 力制御する位置制御装置において、プログラム入力に応じて位置制御工程プログ ラムの最終工程の記憶領域に絶対位置制御または一方向繰返し位置制御のいずれ かを示す制御命令が格納された位置設定記憶手段と、該位置設定記憶手段に格納 された位置制御工程プログラムごとの開始時点で各位置制御工程プログラムの最 終工程の記憶領域に格納された制御命令を判断し、一方向繰返し位置制御の場合 に位置カウンタにプリセット値をプリセットして当該位置制御工程プログラムを 実行し、絶対位置制御の場合に当該位置制御工程プログラムを最初のステップか ら実行する制御手段とを設けたことにより、速度制御の可能な絶対位置制御装置 をプログラム設定だけの一方向繰返し制御装置に適用することができるので、こ の種の位置制御の高度化が低価格で実現できる。 As described above, according to the present invention, in the position control device for controlling the output of the moving position and the speed with respect to the position, the absolute position control or the absolute position control is performed in the storage area of the final process of the position control process program according to the program input. Position setting storage means in which a control command indicating one of the one-way repetitive position control is stored, and the start step of each position control step program stored in the position setting storage means Judge the control command stored in the memory area, preset the preset value in the position counter in the case of one-way repetitive position control and execute the position control process program, and execute the position control process program in the case of absolute position control. By providing a control means that executes from the first step, an absolute position control device capable of speed control is programmed. It is possible to apply in one direction repetitive controller only, advanced position control of this kind can be realized at low cost.

【0016】 また、この考案においては、運転パターンごとに2つの制御方式を選択できる ようにしたので、両方の制御が混在する複雑な位置制御が可能となり、各運転パ ターンの位置制御工程プログラムの最終工程を記憶領域のみに制御命令を格納す ればよいことから、位置制御工程プログラムを格納する位置設定記憶手段を節約 することができ、さらにそのプログラミングをより容易にすることができるとい う効果を有する。Further, in the present invention, since two control methods can be selected for each operation pattern, complicated position control in which both controls are mixed is possible, and the position control process program of each operation pattern can be performed. Since the control command is stored only in the storage area for the final process, the position setting storage means for storing the position control process program can be saved, and the programming can be made easier. Have.

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

【図1】本考案に係る位置制御装置の構成例を示すブロ
ック図
FIG. 1 is a block diagram showing a configuration example of a position control device according to the present invention.

【図2】本考案の制御命令を格納した位置設定メモリ3
の内容を示す説明図
FIG. 2 is a position setting memory 3 storing control commands of the present invention.
Explanatory diagram showing the contents of

【図3】図2の制御命令の実行例を示す速度線図FIG. 3 is a velocity diagram showing an example of executing the control instruction of FIG.

【図4】図1の位置制御装置の制御動作例を示すフロー
チャート
FIG. 4 is a flowchart showing an example of control operation of the position control device of FIG.

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

1 エンコーダ 2 位置カウンタ 3 位置設定メモリ 4 比較器 5 制御部 6 出力部 7 駆動源 1 Encoder 2 Position Counter 3 Position Setting Memory 4 Comparator 5 Control Section 6 Output Section 7 Drive Source

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】移動位置とその位置に対する速度とを出力
制御する位置制御装置において、プログラム入力に応じ
て位置制御工程プログラムの最終工程の記憶領域に絶対
位置制御または一方向繰返し位置制御のいずれかを示す
制御命令が格納された位置設定記憶手段と、該位置設定
記憶手段に格納された位置制御工程プログラムごとの開
始時点で各位置制御工程プログラムの最終工程の記憶領
域に格納された制御命令を判断し、一方向繰返し位置制
御の場合に位置カウンタにプリセット値をプリセットし
て当該位置制御工程プログラムを実行し、絶対位置制御
の場合に当該位置制御工程プログラムを最初のステップ
から実行する制御手段とを具備したことを特徴とする位
置制御装置。
1. A position control device for controlling output of a moving position and a velocity relative to the moving position, wherein either absolute position control or one-way repetitive position control is performed in a storage area of a final process of a position control process program in response to a program input. And a control command stored in the storage area of the final process of each position control process program at the start time of each position control process program stored in the position setting storage device. In the case of one-way repetitive position control, a preset value is preset in the position counter to execute the position control process program, and in the case of absolute position control, a control means to execute the position control process program from the first step. A position control device comprising:
JP3955993U 1993-07-21 1993-07-21 Position control device Pending JPH0633206U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3955993U JPH0633206U (en) 1993-07-21 1993-07-21 Position control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3955993U JPH0633206U (en) 1993-07-21 1993-07-21 Position control device

Publications (1)

Publication Number Publication Date
JPH0633206U true JPH0633206U (en) 1994-04-28

Family

ID=12556434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3955993U Pending JPH0633206U (en) 1993-07-21 1993-07-21 Position control device

Country Status (1)

Country Link
JP (1) JPH0633206U (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5025111A (en) * 1972-11-16 1975-03-17
JPS516294A (en) * 1974-07-05 1976-01-19 Mitsubishi Rayon Co Dai 1 dohaiijugotaino seizohoho
JPS54148976A (en) * 1978-05-15 1979-11-21 Komatsu Ltd Control method of nc tool machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5025111A (en) * 1972-11-16 1975-03-17
JPS516294A (en) * 1974-07-05 1976-01-19 Mitsubishi Rayon Co Dai 1 dohaiijugotaino seizohoho
JPS54148976A (en) * 1978-05-15 1979-11-21 Komatsu Ltd Control method of nc tool machine

Similar Documents

Publication Publication Date Title
JPH01164280A (en) Acceleration or deceleration controlling system
EP1182524A1 (en) Programmable controller
JPS61183707A (en) Position control device
JPH08339212A (en) Absolute origin return method of industrial controller
JP3208467B2 (en) Robot control device
JP2813079B2 (en) Numerical control unit
WO2002033815A1 (en) Method for controlling acceleration/deceleration of motor
JPH07111647B2 (en) Robot arm control method
JP4523506B2 (en) Positioning control device
JP2996445B2 (en) Multi-axis drive
JPH04257009A (en) Motor speed control method
JPH03204703A (en) Numerical controller
JP3852572B2 (en) Programmable controller
JP2002301673A (en) Robot
KR100244680B1 (en) Acceleration/deceleration controller of robot and method of the same
JP2003050610A (en) Robot
JPS61156308A (en) Program setting method for position controller
JPH08149891A (en) Method and apparatus for controlling stepper motor
JPH01145704A (en) Positioning unit for programmable controller
JP2642451B2 (en) Numerical control unit
JP2850568B2 (en) Positioning operation method
JP2762789B2 (en) Acceleration / deceleration control method for articulated robot
JPS6272008A (en) Buffer control method for robot
JP2630132B2 (en) Robot control device
JPH08241113A (en) Robot control method and control device