JPH01145704A - Positioning unit for programmable controller - Google Patents

Positioning unit for programmable controller

Info

Publication number
JPH01145704A
JPH01145704A JP30390787A JP30390787A JPH01145704A JP H01145704 A JPH01145704 A JP H01145704A JP 30390787 A JP30390787 A JP 30390787A JP 30390787 A JP30390787 A JP 30390787A JP H01145704 A JPH01145704 A JP H01145704A
Authority
JP
Japan
Prior art keywords
acceleration
deceleration
time
positioning
positioning unit
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
JP30390787A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Sugiyama
杉山 美幸
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 JP30390787A priority Critical patent/JPH01145704A/en
Publication of JPH01145704A publication Critical patent/JPH01145704A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To shorten the positioning time and to cope with plural control patterns by providing a selecting signal for selecting plural acceleration/ deceleration times on an interface, and also, providing additionally a memory which can store plural pieces of acceleration/deceleration times and selecting separately the acceleration time and the deceleration time. CONSTITUTION:When plural acceleration/deceleration times are stored in advance in an acceleration/deceleration time storage memory 15, an acceleration time selecting signal 13 and a deceleration time selecting signal 14 adapted to a program of a PC 1 are determined, and by these signals 13, 14, a positioning command to a positioning unit 2 is outputted. When the command is received, the acceleration/deceleration times and other necessary data which have been stored in a memory 7 of the positioning unit 2 and the acceleration/ deceleration time storage memory 15 are referred to, and positioning is executed by controlling the acceleration and deceleration. Accordingly, the acceleration/ deceleration times can be selected from plural acceleration/deceleration times. In such a way, the positioning time is shortened, and it is possible to cope with plural control patterns.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はプログラマブルコントローラ(以下rPcJと
称す)用位置決めユニットに関し、特に位置決め時にお
ける加減速パターンを複数有する位置決めユニットに関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a positioning unit for a programmable controller (hereinafter referred to as rPcJ), and particularly to a positioning unit having a plurality of acceleration/deceleration patterns during positioning.

〔従来の技術〕[Conventional technology]

従来のこの種の装置を第3図及び第4図に基ついて説明
する。第3図は従来のPC用位置決めユニットを示すブ
ロック図で、同図中、(1)はPCl(2)は位置決め
ユニット、(3)は位置決めユニット(2)とのインタ
ーフェース、(4)はPC(1)とのインターフェース
、(5)はP C(1)からの指令に基づいて位置決め
の演算処理を行なうマイクロコンピュータ、(6)はシ
ステムROM、(7)は位置決め運転に必要なデータが
格納されている他、位置決めユニット(2)を勅かして
いるオペレーティングシステムのワークエリアとしても
使用しているメモリ、(8)は外部入出力インターフェ
ースである。
A conventional device of this type will be explained with reference to FIGS. 3 and 4. FIG. 3 is a block diagram showing a conventional positioning unit for a PC, in which (1) is a PCl (2) is a positioning unit, (3) is an interface with the positioning unit (2), and (4) is a PC (1) interface, (5) is a microcomputer that performs positioning calculations based on commands from PC (1), (6) is system ROM, and (7) stores data necessary for positioning operation. In addition, the memory (8) is used as a work area for the operating system that controls the positioning unit (2), and is an external input/output interface.

然して上記構成を有する位置決めユニット(2)は、P
 C(1)からの位置決め指令に基づいて、例えば第4
図に示した加減速パターンで位置決め指令を発する。そ
の際該パターンに必要な加速時間(9A)、減速時間(
9B)は予めメモリ(7)に記憶させておく。斯くして
P C(1)から位置決めユニット(2)に対し位置決
め始動の指令が出力されると、位置決めユニット(2)
は予め記憶された加速時間(9A)に従って、外部への
出力速度を加速過程(1o)に従って徐々に加速し、や
がて設定速度に達するとその速度(11)を維持する。
However, the positioning unit (2) having the above configuration has P
Based on the positioning command from C(1), for example, the fourth
A positioning command is issued using the acceleration/deceleration pattern shown in the figure. At that time, the acceleration time (9A) and deceleration time (9A) required for the pattern
9B) is stored in the memory (7) in advance. In this way, when the positioning start command is output from the PC (1) to the positioning unit (2), the positioning unit (2)
gradually accelerates the output speed to the outside according to the acceleration process (1o) according to the acceleration time (9A) stored in advance, and when the set speed is eventually reached, the speed (11) is maintained.

その後目的位置に近づくと、予め記憶された減速時間(
9B)に従って減速過程(12)に従って、徐々に減速
し、目的位置にスムーズに停止する。
After that, when approaching the target position, the pre-stored deceleration time (
9B), the vehicle gradually decelerates according to the deceleration process (12), and smoothly stops at the target position.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の位置決めユニット(2)は以上のように構成され
ているので位置決め運転中の加速時間と減速時間は必ず
同じ時間で制御されてしまい、ゆっくり加速して急減速
する制御または急加速してゆっくり減速する制御などが
できず、場合によっては必要以上の加速時間または/及
び減速時間を要し位置決め上の時間的ロスを免れ得なか
った。
Since the conventional positioning unit (2) is configured as described above, the acceleration time and deceleration time during positioning operation are always controlled to be the same time, and the control is performed to accelerate slowly and then decelerate rapidly, or to accelerate rapidly and then slowly. It is not possible to control deceleration, and in some cases, more acceleration time and/or deceleration time than necessary is required, resulting in an unavoidable time loss in positioning.

また、別の異なった加減速時間で運転しようとした場合
、加減速時間を再度位置決めユニット(2)のメモリ(
7)に記憶し直してから、位置決め始動の指令を出力せ
ねばならず、時間と手間がかかり使用上の難を回避し得
なかった。
Also, if you try to drive with a different acceleration/deceleration time, the acceleration/deceleration time will be reset to the memory of the positioning unit (2).
7), it is necessary to output a positioning start command after re-memorizing the information in step 7), which takes time and effort, and it is not possible to avoid difficulties in use.

本発明は上記問題点を解決するためになされたもので、
複数の加減速時間のうちから位置決め運転ごとに加減速
時間を適宜選択することができ、かつ加速時間と減速時
間を個別に選択することのできる位置決めユニットを得
ることを目的としている。
The present invention has been made to solve the above problems,
It is an object of the present invention to provide a positioning unit that can appropriately select an acceleration/deceleration time from among a plurality of acceleration/deceleration times for each positioning operation, and can also separately select an acceleration time and a deceleration time.

〔問題点を解決するための手段〕[Means for solving problems]

本発明に係るPC用位置決めユニットはインターフェー
スに複数の加減速時間を選択する選択信号を備え、かつ
加減速時間を複数個記憶できるメモリを追加装備し、加
速時間、減速時間を個別に選択することのできるように
したものである。
The PC positioning unit according to the present invention has an interface with a selection signal for selecting a plurality of acceleration/deceleration times, is additionally equipped with a memory capable of storing a plurality of acceleration/deceleration times, and can individually select acceleration and deceleration times. It was designed so that it could be done.

〔作用〕[Effect]

本発明によれば、メモリが加減速時間を複数個記憶して
おり、PCのプログラムに即した指令をインターフェー
スにおける加速時間選択信号、減速時間選択信号によフ
て予め記憶している加減速時間のうちいずれかの加速時
間を選択し、またいずれかの減速時間を選択して各位置
決め運転ごとに位置決めユニットを作動させる。
According to the present invention, the memory stores a plurality of acceleration/deceleration times, and the acceleration/deceleration times are stored in advance by using the acceleration time selection signal and the deceleration time selection signal in the interface to provide commands according to the PC program. Select one of the acceleration times and select one of the deceleration times to operate the positioning unit for each positioning operation.

〔実施例〕〔Example〕

以下第1図及び第2図に示す実施例に基づいて従来と同
−又は相当部分には同一符号を付してその説明は省略し
、本発明の特徴を中心に説明する。
Hereinafter, based on the embodiment shown in FIGS. 1 and 2, the same or equivalent parts as those in the conventional art will be given the same reference numerals, and the description thereof will be omitted, and the description will focus on the features of the present invention.

本実施例装置では、インターフェース(3)、(4)間
において2本の加速時間選択信号(13)、2木の減速
時間選択信号(14)を備えている。これらの信号はP
 C(1)のプログラムによって2本の信号をON10
 F Fすることによって「0.〜3」の値を表現し、
それぞれに上記4本の加速時間選択信号(13)及び減
速時間選択信号(14)を対応させて構成されている。
The device of this embodiment is provided with two acceleration time selection signals (13) and two deceleration time selection signals (14) between the interfaces (3) and (4). These signals are P
Turn the two signals ON10 by the program in C(1).
Express the value of "0.~3" by FF,
Each of the four acceleration time selection signals (13) and deceleration time selection signals (14) is configured to correspond to each other.

そして各信号の選択はユーザのもつプログラムの内容に
即していずれか1対の加減速時間選択信号(13)、(
14)が選択されてインターフェース(4)に受信され
ることになる。
The selection of each signal is made in accordance with the contents of the user's program.
14) will be selected and received by the interface (4).

また本実施例装置では、位置決めユニット(2)に上述
した複数の加速時間及び減速時間を記憶する加減速時間
記憶メモリ(15)を備えている。従ってインターフェ
ース(4)からの加減速時間選択信号(13)、(14
)に基づいていずれかの加速時間及び減速時間をメモリ
(15)において参照して加減速制御するように構成さ
れている。
Further, in the apparatus of this embodiment, the positioning unit (2) is provided with an acceleration/deceleration time storage memory (15) for storing the plurality of acceleration times and deceleration times described above. Therefore, the acceleration/deceleration time selection signals (13), (14) from the interface (4)
), the acceleration/deceleration control is performed by referring to either acceleration time or deceleration time in a memory (15).

従って本実施例装置は以下のように動作する。Therefore, the device of this embodiment operates as follows.

予め複数の加減速時間を加減速時間記憶メモリ(15)
に記憶させておくと、PC(1)のプログラムに即した
加速時間選択信号(13)及び減速時間選択信号(14
)が決まり、これらの信号(13)、(14)によって
位置決めユニット(2)に対する位置決め指令を出力す
る。指令を受けると位置決めユニット(2)のメモリ(
7)、加減速時間記憶メモリ(15)に記憶された加減
速時間その他必要なデータを参照して、例えば第2図に
示したように加減速制御して位置決めをする。本実施例
では、加速時間(9A)よりも減速時間(9B)を短く
設定して加減速制御するものである。ところが従来であ
れば加速時間(9A)と減速時間(9B)とが第4図に
も示したように同一時間として制御せざるを得す、本実
施例に比べ時間(tl−t2)  (第2図参照)のロ
スタイムの生ずることを余儀なくされていた。
Acceleration/deceleration time storage memory (15) that stores multiple acceleration/deceleration times in advance
By storing the acceleration time selection signal (13) and deceleration time selection signal (14) in accordance with the program of the PC (1),
) are determined, and a positioning command to the positioning unit (2) is output based on these signals (13) and (14). When a command is received, the memory of the positioning unit (2) (
7) With reference to the acceleration/deceleration time and other necessary data stored in the acceleration/deceleration time storage memory (15), positioning is performed by controlling acceleration/deceleration as shown in FIG. 2, for example. In this embodiment, acceleration/deceleration control is performed by setting the deceleration time (9B) shorter than the acceleration time (9A). However, in the conventional case, the acceleration time (9A) and the deceleration time (9B) must be controlled to be the same time as shown in FIG. (See Figure 2) was forced to result in loss time.

従って本実施例装置では、加減速時間を複数の中から選
択することができるために位置決め時間を短縮すること
ができるとともに、加減速時間を設定し直すまでもなく
複数の制御パターンに対処することができる。
Therefore, in the device of this embodiment, since the acceleration/deceleration time can be selected from a plurality of options, the positioning time can be shortened, and multiple control patterns can be handled without the need to reset the acceleration/deceleration time. Can be done.

〔発明の効果〕〔Effect of the invention〕

以上本発明によれば、位置決めを短時間に行なうことが
できるとともに、プログラム内容に即して複数の制御パ
ターンを自動的に応動させることができ操作上の利便が
得られる。
As described above, according to the present invention, positioning can be performed in a short time, and a plurality of control patterns can be automatically applied in accordance with the program contents, thereby providing operational convenience.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係るPC用位置決めユニットの一実施
例の構成を示すブロック図、第2図はその制御パターン
を示す図、第3図は従来装置を示す第1図相当図、第4
図はその制御パターンを示す図である。 図において、 (1)はpc。 (2)は位置決めユニット、 (3) 、 (4)はインターフェース、(13)は加
速時間選択信号、 (14)は減速時間選択信号、 (15)は加減速時間記憶メモリである。 尚、各図中、同一符号は同−又は相当部分を示す。
FIG. 1 is a block diagram showing the configuration of an embodiment of a PC positioning unit according to the present invention, FIG. 2 is a diagram showing its control pattern, FIG. 3 is a diagram equivalent to FIG. 1 showing a conventional device, and FIG.
The figure is a diagram showing the control pattern. In the figure, (1) is pc. (2) is a positioning unit, (3) and (4) are interfaces, (13) is an acceleration time selection signal, (14) is a deceleration time selection signal, and (15) is an acceleration/deceleration time storage memory. In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] プログラマブルコントローラに対してインターフェース
を介して接続されて該プログラマブルコントローラのプ
ログラム内容に従って加減速制御して位置決め指令を発
する位置決めユニットにおいて、上記インターフェース
には加速時間選択信号及び減速時間選択信号を各々複数
備え、上記プログラム内容に応じていずれか一の加速時
間選択信号及び減速時間選択信号を選択するとともに、
上記位置決めユニットには上記複数の加速時間及び減速
時間を記憶するメモリを備え上記インターフェースの受
信した加速時間選択信号及び減速時間選択信号に基づい
て上記メモリから加速時間及び減速時間を選択して加速
及び減速指令を発することを特徴とするプログラマブル
コントローラ用位置決めユニット。
In a positioning unit that is connected to a programmable controller via an interface and performs acceleration/deceleration control and issues positioning commands according to the program contents of the programmable controller, the interface is provided with a plurality of acceleration time selection signals and a plurality of deceleration time selection signals, respectively; In addition to selecting one of the acceleration time selection signal and deceleration time selection signal according to the above program contents,
The positioning unit includes a memory for storing the plurality of acceleration times and deceleration times, and selects an acceleration time and a deceleration time from the memory based on the acceleration time selection signal and deceleration time selection signal received by the interface, and performs acceleration and deceleration. A positioning unit for a programmable controller characterized by issuing a deceleration command.
JP30390787A 1987-12-01 1987-12-01 Positioning unit for programmable controller Pending JPH01145704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30390787A JPH01145704A (en) 1987-12-01 1987-12-01 Positioning unit for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30390787A JPH01145704A (en) 1987-12-01 1987-12-01 Positioning unit for programmable controller

Publications (1)

Publication Number Publication Date
JPH01145704A true JPH01145704A (en) 1989-06-07

Family

ID=17926702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30390787A Pending JPH01145704A (en) 1987-12-01 1987-12-01 Positioning unit for programmable controller

Country Status (1)

Country Link
JP (1) JPH01145704A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH044310U (en) * 1990-04-23 1992-01-16
JPH04260105A (en) * 1991-02-15 1992-09-16 Mitsubishi Electric Corp Motion controller
JP2007086904A (en) * 2005-09-20 2007-04-05 Brother Ind Ltd Acceleration trajectory generation device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH044310U (en) * 1990-04-23 1992-01-16
JPH04260105A (en) * 1991-02-15 1992-09-16 Mitsubishi Electric Corp Motion controller
JP2007086904A (en) * 2005-09-20 2007-04-05 Brother Ind Ltd Acceleration trajectory generation device

Similar Documents

Publication Publication Date Title
US20030041089A1 (en) Distributed process control
JP2735209B2 (en) Numerical control unit
JPH01145704A (en) Positioning unit for programmable controller
JPS6022212A (en) Robot controller
JPS6333168B2 (en)
JP3310229B2 (en) Program generation method and apparatus
JP7473653B2 (en) Numerical control device having a function of changing a setting parameter for controlling a controlled object at a predetermined timing and a setting parameter changing method thereof
JP2000293215A (en) Method for commanding work program of numerical controller
JPH08137502A (en) Load changeover system for motor
JP2519867B2 (en) Differentiating device for controller for construction machine actuator
JPH0969007A (en) Multi-robot reproduction control system
JPH08286717A (en) Numerical control device
WO1989005483A1 (en) Cnc control system
JP2850567B2 (en) Positioning control method
JPH07100780A (en) Controller for industrial robot
JPH02182688A (en) Cooperation control device for plural robots
JPS63250712A (en) Control device for numerical control working machine
JP3072918B2 (en) Schedule operation method
JPH01124001A (en) Robot control system
JPH0326404B2 (en)
JPS6318401A (en) Programming device for programmable controller
JPS63184109A (en) Numerical controller
JPH0883113A (en) Controller for nc machine tool
JPS61183707A (en) Position control device
JPH08314531A (en) Computer controlled machine tool and operation condition change device in auxiliary peripheral device for general industrial machine