JPS61226805A - Program control device - Google Patents

Program control device

Info

Publication number
JPS61226805A
JPS61226805A JP6704985A JP6704985A JPS61226805A JP S61226805 A JPS61226805 A JP S61226805A JP 6704985 A JP6704985 A JP 6704985A JP 6704985 A JP6704985 A JP 6704985A JP S61226805 A JPS61226805 A JP S61226805A
Authority
JP
Japan
Prior art keywords
target
value
change
program control
setting value
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
JP6704985A
Other languages
Japanese (ja)
Inventor
Fumio Kojima
文夫 小島
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6704985A priority Critical patent/JPS61226805A/en
Publication of JPS61226805A publication Critical patent/JPS61226805A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/045Programme control other than numerical control, i.e. in sequence controllers or logic controllers using logic state machines, consisting only of a memory or a programmable logic device containing the logic for the controlled machine and in which the state of its outputs is dependent on the state of its inputs or part of its own output states, e.g. binary decision controllers, finite state controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)

Abstract

PURPOSE:To execute the program control without fail by selecting respectively one necessary group out of the arrival target group and the target change ratio group corresponding to respective sequence steps of the program control and obtaining the target operating output. CONSTITUTION:When the selecting signal S1 is given from a sequence control part 13 to selecting circuits 11 and 12, the circuit 11 selects one out of arrival change value groups A, supplies to a change-over part 14, and the circuit 12 selects one out of target change ratio groups B and supplies to a change ratio limit part 15. The change-over part 14 fetches the target value selected by a change-over signal S2 from the control part 13 and supplies to the limit part 15. The limit part 15 receives a control signal S3, changes the target setting value toward the target value in accordance with the target change ratio from the circuit 12 and sends to a setting value selecting output part 16. An output part 16 changes over to a program control mode by a change-over S4, and then, sends the target setting value to a feed-back control part 17 and sends to the change-over part 14 while the change of the target setting value is stored. The control part 17 outputs the operating signal in accordance with the deviation with the target setting value and the process detecting value PV.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、プログラム制御装置の改良に関する。[Detailed description of the invention] [Technical field of invention] The present invention relates to improvements in program control devices.

〔発明の技術的背景とその問題点) 従来のこの種のプログラム制m+装置は、関数発生器や
プログラム設定器を用いて第3図に示すように、時間t
の経過に従って目標設定値s■を時々刻々変化させる折
線パターンを出力しながらプログラム制御を実行してい
る。従って、この装置にお、ける目標設定値の決定手段
は、第3図の折線パターンにしたがって時々刻々目II
設定値s■を変化させることに特徴を持ったものである
[Technical background of the invention and its problems] This type of conventional programmable m+ device uses a function generator and a program setting device to calculate the time t as shown in FIG.
The program control is executed while outputting a broken line pattern that changes the target set value s from time to time as the time progresses. Therefore, the means for determining the target setting value in this device is set at every moment according to the broken line pattern shown in FIG.
The feature is that the set value s■ is changed.

しかし、以上のような目標設定値決定手段をとった場合
、プログラムfsIIIIW@始時の目標設定値に対す
るトラッキング処理が難しく、またプログラムシーケン
スの進行に際しプログラム制御を一時的に停止させたり
、ある目標設定値に飛ばす制御を行う場合に前記折線パ
ターンの時間軸に合わせて処理する必要があるが、この
時間軸合せ処理が非常に複雑になる欠点がある。
However, when using the above target setting value determination means, it is difficult to track the target setting value at the beginning of the program fsIIIW@, and it is difficult to track the target setting value at the beginning of the program fsIIIW@. When performing control to jump to a value, it is necessary to perform processing in accordance with the time axis of the broken line pattern, but there is a drawback that this time axis alignment processing becomes extremely complicated.

〔発明の目的〕[Purpose of the invention]

本発明は上記実情にかんがみてなされたものであって、
従来のような折線パターンやそのパターンの時間軸合せ
処理を不要にし、簡単な処理により目標設定値または目
標操作出力値を決定してプログラム制御を実行するプロ
グラム制御装置を提供することにある。
The present invention has been made in view of the above circumstances, and
It is an object of the present invention to provide a program control device that eliminates the need for conventional polygonal line patterns and time axis alignment processing of the patterns, determines a target setting value or a target operation output value through simple processing, and executes program control.

〔発明の概要〕[Summary of the invention]

本発明は、予め各シーケンスステップに対応させて到達
目標値および目標変化率を定め、これらの到達目標値群
および目標変化率群の中から所定のシーケンスステップ
において必要とする到達目標値および目標変化率を選択
し、この到達目標値に向って前記選択せられた目標変化
率にしたがって目標設定値または目標操作出力値を変化
させながらプログラム制御を実行するプログラム制御装
置である。
In the present invention, a target value and a target change rate are determined in advance in correspondence with each sequence step, and a target value and a target change necessary for a predetermined sequence step are selected from among a group of target values and a group of target change rates. The present invention is a program control device that selects a rate and executes program control while changing a target setting value or a target operation output value in accordance with the selected target rate of change toward the target value.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例について第1図および第2図を
参照して説明する。先ず、本発明装置において例えば第
1因に示すようなプログラム制御を実行する場合、予め
各シーケンスステップに対応させて必要とする到達目標
値A1〜A4および目標変化率81〜B4等を定め、こ
れらの到達目標値群Aおよび目標変化率群Bを第2図に
示す選択回路11.12に供給する。この選択回路11
.12は、シーケンス制御部13から選択信号S1を受
けると前記到達目標値群Aおよび目標変化率群Bの中か
ら該当シーケンスステップに対応する到達目標値および
目標変化率の両方または何れか1つを選択して出力し、
後続の切換部14に供給する。前記シーケンス制御部1
3は、時間刻時手段を有し、第1図に示すプログラム制
御に基づいて定まる所定の時間に達するごとに各シーケ
ンスステップに対応する選択信号S1を出力するほか、
人為的またはプログラム制御によってプログラム制御モ
ードおよびマニュアル制御モードの設定を受けて例えば
切換信号S2、変化率制御信号S3および制御モード信
号S4を出力するようになっている。前記切換部14は
、切換信号S2を受けて現在の目標設定値S■1の入力
端および選択回路14から出力される到達目標値の入力
端とを切換選択する機能をもっている。15は変化率制
限部であって、シーケンス制御部13から出力される変
化率制御信号S3を受けて前記選択回路12で選択され
た目標変化率を取込み、前記切換部14から出力させる
到達目標値に向って該目標変化率にしたがって目標設定
値を変化させて出力する機能をもっている。16は切換
選択部および記憶部を有し、プログラム制御モードの時
に変化率制限部15から目標設定値を取込ん で出力するとともに、またレジスタ等の記憶部に記憶保
持させて現在の目標設定値として前記切換部14に与え
る設定値選択出力部である。なお、この設定値選択出力
部16はマニュアル制御モード時には図示されていない
が人為的に記憶部の内容を変更して目標設定値を出力で
きるものであり、このときも同様に切換部14にその目
標設定値が送られるものである。17は目標設定値とプ
ロセス検出値(制御値)PVとを比較してその偏差が零
となるような操作出力MVを得るフィードバック制御部
である。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. First, when executing program control as shown in the first factor in the apparatus of the present invention, the required target values A1 to A4 and target change rates 81 to B4, etc., are determined in advance in correspondence with each sequence step, and these are The target value group A and the target change rate group B are supplied to a selection circuit 11.12 shown in FIG. This selection circuit 11
.. 12, upon receiving the selection signal S1 from the sequence control unit 13, selects both or any one of the target value to be achieved and the target rate of change corresponding to the sequence step from the target value group A and the target rate of change group B. Select and output,
It is supplied to the subsequent switching section 14. The sequence control section 1
3 has a time clock means, and outputs a selection signal S1 corresponding to each sequence step every time a predetermined time determined based on the program control shown in FIG. 1 is reached.
In response to the settings of the program control mode and manual control mode, either manually or under program control, it outputs, for example, a switching signal S2, a rate of change control signal S3, and a control mode signal S4. The switching section 14 has a function of receiving the switching signal S2 and switching between the input terminal of the current target setting value S1 and the input terminal of the attained target value outputted from the selection circuit 14. Reference numeral 15 denotes a rate-of-change limiting unit which receives the rate-of-change control signal S3 output from the sequence control unit 13, takes in the target rate of change selected by the selection circuit 12, and outputs the target value from the switching unit 14. It has a function of changing and outputting the target setting value according to the target rate of change. Reference numeral 16 has a switching selection section and a storage section, which takes in and outputs the target setting value from the change rate limiting section 15 when in the program control mode, and also stores it in a storage section such as a register and stores the current target setting value. This is a set value selection output section which is applied to the switching section 14 as a set value. Although not shown in the figure, this set value selection output section 16 can output the target set value by artificially changing the contents of the storage section in the manual control mode, and at this time, the selection section 14 similarly outputs the target set value. The target setting value is sent. Reference numeral 17 denotes a feedback control unit that compares the target set value and the process detection value (control value) PV and obtains a manipulated output MV that makes the deviation zero.

次に、以上のように構成された装置の作用を説明する。Next, the operation of the device configured as above will be explained.

人為的またはシーケンスプログラムに基づいてプログラ
ム制御モードに設定されたと仮定し、このとき第1図に
示すプログラム制御を行うものとする。先ず、第1図に
示すスタート点STIにおいてシーケンス制御部13か
ら各選択回路11.12に選択信号S1が与えられると
、一方の選択回路11は到達目標値群Aの中から1つの
到達目標値A1を選択して切換部14に供給し、他方の
選択回路12は目標変化率群Bの中から1つの目標変化
率B1を選択して変化率制限部15に供給する。前記切
換部14においては、プログラム制御モード時にシーケ
ンス制御部13から選択回路11の出力を選択するため
の切換信号S2が与えられいるので、この切換信号を受
けて到達目標値A1を取込んで前記変化率制限部15に
供給する。ここで、変化率制限部15は、前記と同様に
プログラム制御モード時に変化率制御信号S3が入力さ
れているので、切換部14がら1つの到達目標IA1が
送られてくると、この到達目標(i[A1に向って前記
選択回路12からの目標変化率B1にしたがって目標設
定値を変化させて出力する。この結果、変化率制限部1
5からは第1図に示すイのような目標設定値が出力され
て設定値選択出力部16に送られる。この設定値選択出
力部16は、非プログラム制御モードからプログラム制
御モードに切換えると、変化率制限部15からの目標設
定値を取込んで後続のフィードバック制御部17に供給
するとともに、その目標設定値の変化値を記憶部に時々
刻々記憶保持させながら切換部14に送っている。フィ
ードバック制御部17は、第1図のイに基づく目標設定
値とプロセス検出値PVとを比較してその偏差に応じた
操作出力を得て図示しないプロセスを制御している。
Assume that the program control mode is set artificially or based on a sequence program, and then the program control shown in FIG. 1 is performed. First, when the selection signal S1 is given from the sequence control unit 13 to each selection circuit 11.12 at the start point STI shown in FIG. A1 is selected and supplied to the switching section 14, and the other selection circuit 12 selects one target change rate B1 from the target change rate group B and supplies it to the change rate limiting section 15. The switching unit 14 receives the switching signal S2 from the sequence control unit 13 for selecting the output of the selection circuit 11 in the program control mode, so upon receiving this switching signal, it takes in the target value A1 and selects the target value A1. The rate of change is supplied to the rate of change limiting section 15. Here, since the rate of change control signal S3 is inputted to the rate of change limiter 15 in the program control mode as described above, when one target IA1 is sent from the switching unit 14, this target ( i[A1, the target set value is changed and output according to the target change rate B1 from the selection circuit 12. As a result, the change rate limiting section 1
5 outputs a target setting value as shown in FIG. When the set value selection output section 16 switches from the non-program control mode to the program control mode, the set value selection output section 16 takes in the target set value from the change rate limiting section 15 and supplies it to the subsequent feedback control section 17, and also outputs the target set value. The change value is sent to the switching section 14 while being stored and held in the storage section from time to time. The feedback control unit 17 compares the target setting value based on A in FIG. 1 with the process detection value PV, obtains an operation output according to the deviation, and controls a process (not shown).

次に、時間の経過によっである時点ST2に達すると、
シーケンス制御部13から再び選択信号S1が出力され
て各選択回路11.12に与えられる。ここで、選択回
路11は、前述同様に到達目標値群Aの中から次の到達
目標値A2を選択した後、切換部14を介して前記変化
率制限部15に送られる。また、選択回路12において
も同様に目標変化率群Bの中から次の目標変化率B2を
選択して変化率制限部15に供給する。この結果、変化
率制限部15は、目標設定値A2に向って目標変・化率
B2にしたがって変化する目標設定値を出力して設定値
選択出力部16に供給する。この設定値選択出力部16
は、変化率制限部15からの目標設定値を取込んで後続
のフィードバック制御部17に供給する。この結果、フ
ィードバック制御部17は、第1図の口に基づく目標設
定値とプロセス検出値PVとを比較してその偏差に応じ
た操作出力を得て図示しないプロセスの操作端を制御す
ることになる。以上のようにして各シーケンスステップ
ごとに到達目標値群Aおよび目標変化率群B中から順次
到達目標値A1〜A4および目標変化率81〜B4を選
択して各シーケンスステップに対応する目標変化率で到
達目標値に到達するよう目標設定値を変化させながらフ
ィードバック制御部17に与えて操作出力を得、プロセ
スを制御するものである。
Next, as time passes and a certain point ST2 is reached,
The selection signal S1 is output again from the sequence control section 13 and applied to each selection circuit 11.12. Here, the selection circuit 11 selects the next attained target value A2 from the attained target value group A, as described above, and then sends the selected value to the change rate limiting section 15 via the switching section 14. Similarly, the selection circuit 12 selects the next target rate of change B2 from the target rate of change group B and supplies it to the rate of change limiter 15. As a result, the change rate limiting section 15 outputs a target setting value that changes toward the target setting value A2 according to the target change/change rate B2, and supplies it to the setting value selection output section 16. This setting value selection output section 16
takes in the target setting value from the change rate limiting section 15 and supplies it to the subsequent feedback control section 17 . As a result, the feedback control unit 17 compares the target setting value based on the position shown in FIG. Become. As described above, the target values A1 to A4 and the target change rates 81 to B4 are sequentially selected from the target value group A and the target change rate group B for each sequence step, and the target change rate corresponding to each sequence step is selected. While changing the target setting value so as to reach the target value, the feedback control unit 17 obtains an operation output and controls the process.

従って、以上のような実施例の構成によれば、各シーケ
ンスステップごとにシーケンス11111部13からの
選択信号、切換信号に基づいて到達目標値および目標変
化率を選択し、この選択値により目標設定値を定めてプ
ロセスを制御するようにしたので、単に各部11〜16
にタイミング信号を与えるだけでよ(、非常に簡単な処
理で確実にプログラムIIJIIIを実現できる。通常
、プログラム制御を実行する場合、単に目標設定値が折
線に沿って進めて行くだけでなく、その時の他のプロセ
ス検出値の状態によってプログラム制御を停止したり、
次のステップに飛ばす必要が生じてくるが、本装置では
シーケンス制御部13の各部の切換えにより簡単にプロ
グラム制御を停止したり、マニュアル制御に変更でき、
その切換時に設定値選択出力部16のプログラム制御の
目標設定値が記憶保持されているので、再R&1にその
記憶保持された目標設定値を使用してプログラム制御を
実行することができる。これに対して、従来のように折
線パターンに沿ってプログラム制御を実行するものは、
時間を止めたり、時間をジャンプさせたりする場合に時
間軸合せの処理が非常に繁雑なものとなる。
Therefore, according to the configuration of the embodiment as described above, the target value and target change rate are selected based on the selection signal and switching signal from the sequence 11111 section 13 for each sequence step, and the target setting is performed using the selected values. Since we decided to control the process by setting values, we simply set each part 11 to 16.
By simply giving a timing signal to the Depending on the state of other process detection values, program control can be stopped or
Although it may be necessary to skip to the next step, this device allows you to easily stop program control or change to manual control by switching each part of the sequence control section 13.
Since the target set value for program control of the set value selection output unit 16 is stored and held at the time of switching, the stored target set value can be used to execute program control in R&1 again. On the other hand, conventional programs that execute program control along a polyline pattern
When stopping time or jumping in time, the time axis alignment process becomes extremely complicated.

なお、上記実施例では、別体の信号ラインを用いて信号
S21′3よびS3を各切換部14および変化率制限部
15に供給する構成としたが、同一信号ラインを用いて
各部14.15に信号S2またはS3を供給するもので
もよい。また、切換信号S2はプログラム制御モード信
号S4と別体にて得ているが、これら両信号S2、S4
のアンド条件によって各信号を得るようにしてもよい。
In the above embodiment, separate signal lines are used to supply the signals S21'3 and S3 to each switching section 14 and rate of change limiting section 15, but the same signal line is used to supply signals S21'3 and S3 to each section 14, 15. It is also possible to supply the signal S2 or S3 to the signal S2 or S3. Furthermore, although the switching signal S2 is obtained separately from the program control mode signal S4, both signals S2 and S4
Each signal may be obtained using the AND condition.

また、上記実施例は目標設定値を得る例について述べた
が、目標操作出力を得る場合でも同様に適用できるもの
である。この場合にはフィードバック制御を必要とする
ものではなく、また到達目標値群Aおよび目標変化率群
Bはそれぞれ操作出力に対して定めるものとする。
Furthermore, although the above embodiment has been described with respect to an example of obtaining a target setting value, it can be similarly applied to obtaining a target operation output. In this case, feedback control is not required, and the target value group A and the target rate of change group B are respectively determined for the operation output.

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

以上詳記したように本発明によれば、プログラム111
11の各シーケンスステップに対応して到達目標値群お
よび目標変化率群の中からそれぞれ必要な1つを選択し
て目標設定値または目標操作出力を得るような構成とし
ているので、非常に簡単な処理により確実にプログラム
制御を実行でき、またプログラム制御の一時的な停止や
次のステップへの飛び越しi制御が容易に実現できるプ
ログラム制御81を提供できる。
As detailed above, according to the present invention, the program 111
The configuration is such that the target setting value or target operation output is obtained by selecting the required one from the target value group and target change rate group corresponding to each of the 11 sequence steps, so it is very simple. It is possible to provide program control 81 in which program control can be reliably executed through processing, and in which temporary stop of program control and control to jump to the next step can be easily realized.

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

第1図ないし第2図は本発明に係わるプログラム制御装
置の一実施例を説明するためのもので、第1図はプログ
ラム制御の到達目標値および目標変化率を説明する図、
第2図は装置の全体構成図、第3図は従来のプログラム
制御を説明する折線パターン図である。 11.12・・・選択回路、13・・・シーケンス制御
部、14・・・切換部、15・・・変化率制限部、16
・・・設定値選択出力部、17・・・フィードバック制
御部。
1 and 2 are for explaining an embodiment of the program control device according to the present invention, and FIG. 1 is a diagram for explaining the target value and target change rate of program control;
FIG. 2 is an overall configuration diagram of the device, and FIG. 3 is a broken line pattern diagram illustrating conventional program control. 11.12...Selection circuit, 13...Sequence control section, 14...Switching section, 15...Change rate limiting section, 16
... Set value selection output section, 17... Feedback control section.

Claims (1)

【特許請求の範囲】[Claims] 予め定められたプログラムシーケンスステツプにしたが
つてプログラム制御を実行するプログラム制御装置にお
いて、各シーケンスステツプに対応した到達目標値群お
よび目標変化率群が設けられ、これらの各群から所定の
シーケンスステツプにおける到達目標値および目標変化
率を選択して出力する選択手段と、現在の目標設定値ま
たは操作出力値と前記到達目標値とが入力され、プログ
ラム制御モード時に該到達目標値を選択して出力すると
ともに、この到達目標値に向つて前記選択された目標変
化率により前記目標設定値または目標操作出力値を変化
させて出力する変化率制御手段と、マニュアル制御モー
ドおよびプログラム制御モードによる設定手段を有し、
プログラム制御モードの時に前記変化率制御手段から出
力された前記目標設定値または目標操作出力値を記憶保
持して出力する設定値または操作出力値選択出力部とを
備えたことを特徴とするプログラム制御装置。
In a program control device that executes program control according to predetermined program sequence steps, a target value group and a target change rate group corresponding to each sequence step are provided, and from each group, the target value at a predetermined sequence step is determined. A selection means for selecting and outputting an attained target value and a target rate of change, a current target setting value or an operation output value, and the attained target value are input, and selects and outputs the attained target value in the program control mode. The apparatus also includes a change rate control means for changing and outputting the target setting value or target operation output value according to the selected target change rate toward the attained target value, and a setting means in a manual control mode and a program control mode. death,
Program control characterized by comprising a set value or manipulated output value selection output unit that stores and outputs the target set value or target manipulated output value output from the rate of change control means when in the program control mode. Device.
JP6704985A 1985-03-30 1985-03-30 Program control device Pending JPS61226805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6704985A JPS61226805A (en) 1985-03-30 1985-03-30 Program control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6704985A JPS61226805A (en) 1985-03-30 1985-03-30 Program control device

Publications (1)

Publication Number Publication Date
JPS61226805A true JPS61226805A (en) 1986-10-08

Family

ID=13333595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6704985A Pending JPS61226805A (en) 1985-03-30 1985-03-30 Program control device

Country Status (1)

Country Link
JP (1) JPS61226805A (en)

Similar Documents

Publication Publication Date Title
JPH02161524A (en) Branch system used for pipeline computer
JPS61226805A (en) Program control device
US4752909A (en) Sequence controller
JPH05204442A (en) Teaching device for robot
JPH0877133A (en) A/d conversion device
JP2002199742A (en) Pwm current control inductive load driver and its load current detecting method
JPH01250127A (en) Data input method
JPH01142939A (en) Microprogram sequence controller
JPS6323586A (en) Sepeed controller for induction motor
JP2504147B2 (en) Program controller
JPH01254021A (en) Frequency divider
JPH028927A (en) Analog input/output device
SU1064413A1 (en) Device for adjusting load current
JPH02309411A (en) Real time timer setting device
JPH0287221A (en) Microcomputer
JPH01123303A (en) Process controller
JPS63707A (en) Controller
JPH01103716A (en) Temperature controller
JPS63141102A (en) Input method for microcomputer controller
JPS59176804A (en) External interface circuit of nc device
JPH02151917A (en) Analog input circuit
JPH11231901A (en) Control system signal switching device
JPS62182805A (en) Numerical controller
JPS6474093A (en) Constant voltage controller
JPS55121501A (en) Sequence controller