JPH03102404A - Controller - Google Patents

Controller

Info

Publication number
JPH03102404A
JPH03102404A JP24001189A JP24001189A JPH03102404A JP H03102404 A JPH03102404 A JP H03102404A JP 24001189 A JP24001189 A JP 24001189A JP 24001189 A JP24001189 A JP 24001189A JP H03102404 A JPH03102404 A JP H03102404A
Authority
JP
Japan
Prior art keywords
control
controller
mode
instrumentation
programming device
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
JP24001189A
Other languages
Japanese (ja)
Inventor
Hideo Onishi
秀雄 大西
Juichi Koiwai
小祝 寿一
Tetsuo Ichikawa
哲夫 市川
Hisato Miyamura
宮村 寿人
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP24001189A priority Critical patent/JPH03102404A/en
Publication of JPH03102404A publication Critical patent/JPH03102404A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the control operations at both high and low speeds by unifying a microcontroller and a sequence controller into one body, separating a memory for instrumentation (DDC) from a memory for electrical control (one- person operator), and performing both the electrical control and the instrument control of a programming device in the same S mode. CONSTITUTION:A programming device 4 for instrumental control of a central computer 1 corrects or changes the set water level and applies the correction/ change to a controller 7 during its operation. Under such conditions, the computer 1 switches an automatic mode to a manual mode via an operating part 3. Then the computer performs a remote loading operation to memory 10 for instrumental control while the controller 7 is working in an electrical control (one-person control) mode. Thus the set water level and a program are changed. As a result, a due operation can be carried on with no stoppage of a lower rank controller (a plant equipment 14). Furthermore the instrumental control (DDC) is attained via an electrical control programming device 11. Thus the highly flexible control is ensured.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コントローラの電気・計装制御をプログミン
グ装置において、Sモード上でデバッグ(電気・計装制
御)が出来かっ、コンI一ローラの負荷を軽減出来る好
適なコン1ヘローラに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a programming device for electrical and instrumentation control of a controller, in which debugging (electrical and instrumentation control) cannot be performed in S mode. This invention relates to a suitable controller roller that can reduce the load on the roller.

〔従来の技術〕[Conventional technology]

従来のこの種のコントローラは計装制御(DDC)はマ
イクロコントローラで制御を行ない、電気制御(1人制
御)はシーケンスコントローラで制御を行なっていた。
In conventional controllers of this type, instrumentation control (DDC) was performed using a microcontroller, and electrical control (one-person control) was performed using a sequence controller.

この場合、プログラミング装置として、マイクロコン1
ヘローラどシーケンスコントローラに別々に設置されて
おり、計装制御(DDC)を変更修正する場合、マイク
ロコントローラを一時停止させ、プログラミング装置で
変更修正を行なっていた。この場合、シーケンスコント
ローラは、運転継続可能であった(設備運転継続)。
In this case, the microcomputer 1 is used as the programming device.
The Herola and other sequence controllers are installed separately, and when making changes to the instrumentation control (DDC), the microcontroller is temporarily stopped and the changes are made using a programming device. In this case, the sequence controller was able to continue operating (facility operation continued).

電気・計装]一体形のコントローラにしたため、計装制
御(DDC)を変更修正する場合にコントローラを一担
停止して(設備を一担停止を行なった後)変更修正を行
なわなUればならなかった。
Electricity/Instrumentation] Since the integrated controller is used, when changing or modifying the instrumentation control (DDC), it is necessary to stop the controller (after stopping the equipment) and make the changes. did not become.

これらの欠点を解決するため、コンI〜ローラのメモリ
を大きく2つに分け、]−つは電気制御用メモリと引装
制御用メモリを別々にもつことにより、計装制御(DD
C)は上位計算機用プログラミング装置より計装制御(
DDC)を斐更修正を行ない下位コン1〜ローラにリモ
ー1ヘローデングを行ないプログラム変更を行なう。こ
の場合、下位コントローラは電気制御メモリと計装制御
メモリとに別々にもうけている為、言1装制御メモリの
み変更修正を行むう。この時、電気制御(1人制御)は
中央計算機よりモートを自動モー1〜から手動モードに
変更している為、コン1〜ローラは運転継続中のまま変
更修正が出来る。また、上下水道設備は、」二位削算機
が最初より、導入されるケースが少ない、この為、プロ
グラミング装行で、電気・言1装制御が、Sモード上で
デバッグ出来る4!&能を有し、コントローラはプログ
ラミング装置で全てデバッグが出来、将来4、位計算機
が出来た場合、−1−位.i1算機より変更修正出来る
In order to solve these shortcomings, the memory for controllers I to rollers is divided into two parts.
C) is instrumentation control (
DDC), and perform remote loading to the lower controllers 1 to 1 to change the program. In this case, since the lower controller has separate electrical control memory and instrumentation control memory, only the one instrument control memory is modified. At this time, since the electric control (one-person control) changes the motes from automatic mode 1 to manual mode by the central computer, changes and corrections can be made to controllers 1 to rollers while they continue to operate. In addition, in water and sewage facilities, there are few cases in which second-place reducers are introduced from the beginning, so electrical and verbal control can be debugged in S mode with programming. & function, the controller can be fully debugged with a programming device, and if a 4-place computer is created in the future, -1-. Changes can be made using the i1 calculator.

また、特開昭55 − 69804号にプロセス制御シ
ステムがあるが、公知例では、中央マンマシンインタフ
エス装置より下位端末コントローラのモード切替(自動
モードより手動モードに切替)制御を行なっているもの
である。
Furthermore, Japanese Patent Laid-Open No. 55-69804 discloses a process control system, but in the known example, mode switching (switching from automatic mode to manual mode) of lower-level terminal controllers is controlled from a central man-machine interface device. be.

本発明は、丁;位コントローラ内のメモリを、電気制御
(1人制御)部分と計装制御部分に別々にメモリをもち
、又たメモリ内を大きく分{づ電気制御は下位コントロ
ーラのプログ゛ラミング装置にてプログラムを変更修正
を行ない七イFt=+算機にブロ−3 グラミング装置をゆうして計装制御(DDC)を変更修
正して下位コントローラにリモートローデイングを行な
い計装$1御(DDC)のみ変更修正を行なう、この場
合、電気制御(1人制御)は現状のままとし運転継続さ
せることが帛来る。
The present invention has separate memories in the controller for the electrical control (one-person control) part and the instrumentation control part, and the memory is largely divided into two parts. Change and correct the program using the programming device and blow to the computer 7-3 Ft = + 3 Change and correct the instrumentation control (DDC) using the programming device and perform remote loading to the lower controller and instrumentation $1 In this case, only the control (DDC) is changed and corrected, and in this case, the electric control (one-person control) is left as it is and the operation is continued.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、マイクロコン1〜ローラとシケンスコ
ントローラで別々に制御を行なっていた。
In the above-mentioned conventional technology, control is performed separately by the microcontroller 1 to the rollers and the sequence controller.

(電気制御は1人制御,計装制御は1) D C制御)
この場合、機器費が高くなりまた設置スペースも大きく
なっていた。
(Electrical control is controlled by one person, instrumentation control is controlled by one person) DC control)
In this case, the equipment cost is high and the installation space is also large.

本発明の目的は、マイクロコントローラとシーケンスコ
ントローラ〔計装制御(DDC)と電気制御(1人制御
)〕を1体形のコントローラとし、かつメモリを計装制
御(DDC)用と電気制御(1人制御)を別々にもうけ
る。
An object of the present invention is to integrate a microcontroller and a sequence controller [instrumentation control (DDC) and electrical control (one-person control)] into one controller, and to provide memories for instrumentation control (DDC) and electrical control (one-person control). control) separately.

また、プログラミング装置も電気制御と計装制御も同−
Sモード−Lで,【1j来ることにより従来の機能をみ
たすことにある。
Also, the programming device, electrical control, and instrumentation control are the same.
In S mode-L, [1j] is used to fulfill the conventional functions.

〔課題を解決するための手段〕[Means to solve the problem]

4 上記目的は、コントローラを1体形とし、計装制御(D
DC)と電気制御と別々にメモリをもうける。」っは電
気制御用プログラミング装置ともう1つは、計装制御用
は中央割算機にプログラミング機能をもうけ、別々にプ
ログラミング7I:f来かつ、プログラミング装置も電
気制御と計装制御が同一Sモート上で出来ることにより
、上位計算機がない場合でもデバッグ出来ることにより
達成される。
4 The above purpose is to make the controller into a single unit and to implement instrumentation control (D
DC), electrical control, and separate memory. The programming device for electrical control and the programming function for instrumentation control are added to the central divider and are programmed separately.And the programming device is also used for electrical control and instrumentation control. This is achieved by being able to debug even when there is no host computer by being able to do it on a remote computer.

〔作用〕 コントローラは、電気・計装1体形コントローラとして
、電気制御(1人制御)の部分に電気専用のプログラミ
ング装置をもうけ、計袋制御(DDC)においては、中
央割算機よりプログラミング装置機能をもうけて、中央
計算機より、リモートローディングを行なう。コンl・
ローラは、メモリを電気制御・計装制御用と大きく2つ
に分け別々にもうけることにより、中央計算機より言1
装制御(DDC)の部分を変更修正して、下位コントロ
ーラにリモー1−ローディングを行なう。この場合、下
位コン1一〇ーラは計装制御(DDC)メモリのみ変更
修正される為、コントローラは、電気制御のみで制御(
工人制御)を行なうことが出来るので、コン1〜口ーラ
を停止することなく運転が可能となる。また、上下水道
設備は、上位計算機が最初より導入されるケースが少な
い。この場合、プログラミング装置で電気・計装制御が
Sモート」二でデバッグでき、かつ、Sモード」二で、
電気制御は高速制御、計装制御は低速制御を行ない、S
モード上で電気・計装制御をデバッグ出来る機能を有し
、コントローラの負待を軽減させるため、計装制御のプ
ログラムをメニュー化し、この機能(メニュー)の中に
実行周期の機能及びピーク負荷の軽減の為、実行位相を
変える機能をSモード上で,行なうことが出来るのでコ
ントローラ制御が高速制御から低速制御まで富んだ制御
が可能となる。
[Function] The controller is a one-piece electric/instrument controller, and has a programming device dedicated to electricity in the electrical control (one-person control) part, and in the meter control (DDC), the programming device function is controlled by the central divider. , and perform remote loading from the central computer. CONL・
By dividing the memory into two main parts, one for electrical control and one for instrumentation control, the rollers can be used more easily than the central computer.
Modify the device control (DDC) part and perform remote 1-loading to the lower controller. In this case, since only the instrumentation control (DDC) memory of the lower controller 110 is modified, the controller is controlled only by electrical control (
Since it is possible to carry out manual control), it is possible to operate the controllers 1 to 2 without stopping them. Additionally, in water and sewage facilities, there are few cases in which high-level computers are installed from the beginning. In this case, the electrical/instrument control can be debugged using the programming device in S mode 2, and in S mode 2,
Electrical control performs high-speed control, instrumentation control performs low-speed control, and S
It has a function that allows you to debug electrical and instrumentation control on the mode, and in order to reduce the burden on the controller, the instrumentation control program is made into a menu, and this function (menu) includes the execution cycle function and peak load function. In order to reduce the burden, the function of changing the execution phase can be performed in the S mode, so that the controller can perform a wide range of control from high-speed control to low-speed control.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図により説明する。 An embodiment of the present invention will be described below with reference to FIG.

第1図に示す実施例は、中央計算機1−から伝送5を通
してコントローラ7によって構成される。
The embodiment shown in FIG. 1 is constituted by a controller 7 through a transmission 5 from a central computer 1-.

コン[・ローラ7は、メモリを電気制御用メモリ9と計
装制御用メモリ10とに大きく2つのメモリと伝送用メ
モリ8より構成する。電気制御用メモリ9は主に」−人
制御用(ラダーシーケンス)をうけもち、計装制御用メ
モリ10は主にDDC用を制御し、また伝送用メモリ8
は、伝送用メモリ主に伝送用にと、おのおの機能分担さ
せる様にした。
The controller 7 has two main memories: an electrical control memory 9 and an instrumentation control memory 10, and a transmission memory 8. The electrical control memory 9 is mainly used for human control (ladder sequence), the instrumentation control memory 10 is mainly used for DDC control, and the transmission memory 8
The transmission memory was mainly used for transmission, and the functions of each were divided.

この場合、プログラミング装置も大きく2つに分け、1
つは電気制御(1人制御)を行なう。電気制御用プログ
ラミング装置1lと、もう1つは計装制御(DI)C)
を行なう中央目算機1山のin狛制御用プログラミング
装置4より構戊される。通常コントローラの電気制御用
メモ1ノ9は、電気制御用プログラミング装置Lコによ
り変更修正を行なう。また、計装制御用メモリ10は、
中央計算機1の計装制御用プログラミング装置4を使用
して変更修正を行ないコントローラフに中央計算機1よ
り、リモー1一〇一デインク6により計装制御7− 用メモリ10に対して変更を行なう。さらに中央計算機
1は計装制御用プログラミング装置4をゆうして計装制
御(DDC)のプログラムを作戊する場合、表示部2,
操作部3を使用してDDCプログラムを作成し、コント
ローラ7に中央計算機1より、伝送用メモリ」25を通
して伝送5を経由してコントローラ7は伝送用メモリ8
を通して計装制御用メモリ」○に対してデータの変更修
正を行なう。コントローラ7は、プランj−設備コ4に
対して、電気制御(1人制御)用メモリ9より、ボンプ
エ2に対し起動・停止指令を行なう。また、計装制御用
メモリエ○より、検出端の水位1−3によりポンプを何
台起動するか台数制御を行ない電気制御用メモリ9に対
し起動・停止指令により、電気制御用メモリ9は、ボン
ブの土人制御を行なう。ポンプエ2に対して、起動・停
止指令を出してポンプ運転を行なう。また、上下水道設
備は、上位中央計算機1が最初より導入されるケースが
少ない。このため、プログラミング装置で電気・計装制
御が電気制御用プログラミング装置11の8 Sモード上で計装制御(DIDC)プログラムが作或出
来る機能を有し電気制御用ブログラミンク装置工上でコ
ントローラ7の電気制御用メモリ9のSモード上で計装
制御(DI)C)のプログラミングにコールできるサブ
ルーチン(メニュー)を作或し計装制御用メモリエ0に
電気制御用メモリ9よりSモードでコールされることに
より計装制御を行なう。コン]・ローラ7はプラン1・
設偵114に対して電気制#(1人制御)用メモリ9よ
りポンプエ2に対し起動・停止を行なう,,計装制御(
DDC)は電気制御用メモリ9よりSモード」二でサー
ブルーチンでコールし、計装制御用メモリ10より検出
端の水位1−3によりポンプを何台起動するか台数制御
を行ない電気制御用メモリ9はポンプの1人制御を行う
。ボンプ]−2に対して起動・停止指令を出してポンプ
の運転を行なう。将来中央訓算機工が導入された場合は
、中央計算機]−で計装制御が出来る。
In this case, the programming device is also roughly divided into two.
One is electrical control (one person control). 1l electrical control programming device and another instrumentation control (DI) C)
It is composed of a central computer and a programming device 4 for in-koma control. Normally, the electrical control memo 1 and 9 of the controller are changed and corrected by the electrical control programming device L. In addition, the instrumentation control memory 10 is
Changes and corrections are made using the instrumentation control programming device 4 of the central computer 1, and changes are made to the memory 10 for the instrumentation control 7- from the central computer 1 using the remote 1101 deink 6. Furthermore, when the central computer 1 creates an instrumentation control (DDC) program using the instrumentation control programming device 4, the display section 2,
A DDC program is created using the operation unit 3, and sent from the central computer 1 to the controller 7 via the transmission memory 25 and the transmission 5.
Data changes and corrections are made to the instrumentation control memory "○" through The controller 7 issues a start/stop command to the plan j-equipment 4 from the electrical control (one person control) memory 9 to the bomb 2. Also, the number of pumps to be started is controlled from the instrumentation control memory ○ according to the water level 1-3 at the detection end. control the natives. A start/stop command is issued to pump unit 2 to operate the pump. Furthermore, in water and sewage facilities, there are few cases in which the host central computer 1 is installed from the beginning. For this reason, the programming device has the function of creating an instrumentation control (DIDC) program on the 8S mode of the electrical control programming device 11, and the controller can be programmed on the electrical control programming device. Create a subroutine (menu) that can be called for instrumentation control (DI) programming on the S mode of the electrical control memory 9 of 7, or call it in the S mode from the electrical control memory 9 to the instrumentation control memory 0. Instrumentation control is performed by Con] Roller 7 is Plan 1.
The controller 114 starts and stops the pump 2 from the memory 9 for electrical control (one-person control).
DDC) is called by a subroutine in S mode 2 from the electrical control memory 9, and controls the number of pumps to start depending on the water level 1-3 at the detection end from the instrumentation control memory 10. 9 performs one-person control of the pump. Issue start/stop commands to pump]-2 to operate the pump. If a central computer is introduced in the future, instrumentation control will be possible using the central computer.

本発明によればコントローラ7が運転中5中央計算機1
の劃装制御用プログラミング装置4により水位の設定値
を変更修正して、コントローラ7に対して変更修正を行
なう場合、中央計算機1より操作部3により自動モード
より手動モードに切替えて、コントローラ7が電気制御
(1人制御)にて運転中、計装制御用メモリ」0に対し
中央計算機1より、リモートローデイングを行ない設定
値及びプログラムの変更が行なえることにより、下位コ
ンI一ローラが停止(プラン1・設備1−4が停止)す
ることなく運転継続することができ、かつ、電気制御用
プログラミング装置11でit 1制御(DDC)が行
なえる事により従来のマイクロコン1−〇ーラとシーケ
ンスコントローラの機能を1つの機能で出来る様になり
、安価で融通性の富んだ制御が出来る利点がある。
According to the invention, when the controller 7 is in operation 5 the central computer 1
When changing or correcting the water level set value using the programming device 4 for field control and making changes or corrections to the controller 7, the central computer 1 switches the automatic mode to the manual mode using the operation unit 3, and the controller 7 During operation under electric control (one-person control), the lower controller I and rollers can be stopped by remotely loading the instrument control memory 0 from the central computer 1 and changing set values and programs. (Plan 1/Equipment 1-4 stops), operation can be continued, and the electrical control programming device 11 can perform IT 1 control (DDC). It is possible to perform the functions of the sequence controller and the sequence controller in one function, and has the advantage of being able to perform inexpensive and flexible control.

第2図は、実施例が前記実施例と異なるところは、コン
トローラ7の電気制御用メモリ9と計装制御用メモリ1
0を同一電気制御・計装制御共用メモリ16として、同
一電気制御・計装制御共用メモリ]−6内をデュプレツ
クス方式にした点であり他の構或要素とは何ら変更ない
。つまり伝送用メモリ15を電気制御用メモリ9と計装
制御用メモリ10に分けて、デュプレツクス方式に構或
したものである。
In FIG. 2, the difference between the embodiment and the previous embodiment is that the electrical control memory 9 of the controller 7 and the instrumentation control memory 1
0 as the same electrical control/instrumentation control shared memory 16, and the same electrical control/instrumentation control shared memory]-6 is of a duplex type, and there is no change from other structural elements. That is, the transmission memory 15 is divided into an electrical control memory 9 and an instrumentation control memory 10, and is configured in a duplex manner.

第3図に示す実施例は、コンI〜ローラ7で電気制御用
メモリ9より、Sモードで演算するフロー図を示す。ま
ず電気制御用メモリ9のSモードはSモードにより、先
ず人力テータの並び換えを行ないSモード」二のサブル
ーチン実行により計装制御用メモリ10へ割込へかける
。計装制御用メモリ10は、Sモードより指定されたメ
ニューにより処理モードの判別を行ないパラメータで指
定された入力アドレスよりデータを取込み演算を行ない
結果を同様にパラメータで指定された入力アドレスより
データを取込み演算を行ない結果を同様にパラメータで
指定された出力アドレスにセツl〜する。パラメータ設
定の処理点数分が実行されると終了判別を行ないSモー
1〜へ戻ります。サブルーチンで出力されたデータを用
いSモーl・による出力処理を行なう。
The embodiment shown in FIG. 3 is a flowchart for calculating in the S mode from the electric control memory 9 in the controller I to the roller 7. First, in the S mode of the electrical control memory 9, the manual data is first rearranged, and then the instrumentation control memory 10 is interrupted by executing the second subroutine "S mode". The instrumentation control memory 10 determines the processing mode according to the menu specified by the S mode, reads data from the input address specified by the parameter, performs calculations, and reads the result from the input address specified by the parameter. A fetch operation is performed and the result is similarly set to the output address specified by the parameter. When the number of processing points set by the parameter has been executed, a termination determination is made and the process returns to S mode 1~. The data output by the subroutine is used to perform output processing using Smol.

第4図に示す実施例ば、コン[〜ローラ7で電気−11 制御用メモリ9より、Sモードで演算するフローを示す
。計装制御用メモリ10の計装制御(DDC)は、電気
制御用メモリ9により、Sモード」―に表記され、ファ
ンクションコイル(ADDR/FUNC)の起動条件A
が成立「1」とすると、コントローラの処理装置に割込
みがかかり、Sモード処理を−時中止し、計装制御用メ
モリ10で作られたサブルーチンのプログラムのプログ
ラムを実行する。このときSモードプログラムに記載さ
れた4つのパラメータをプログラムとして用いることが
出来る。■のパラメータは、Sモード上の入力データを
並び換えを行ない入力データ先頭アドレスを言己入する
。■のパラメータはサブノレーチンで出力されたデータ
を用いSモード上に出力データとして出力データ先頭ア
ドレスを記入する。
In the embodiment shown in FIG. 4, a flow is shown in which calculations are performed in the S mode using the controller 7 and the electric control memory 9. The instrumentation control (DDC) of the instrumentation control memory 10 is written in "S mode" by the electrical control memory 9, and the activation condition A of the function coil (ADDR/FUNC) is
When ``1'' is established, an interrupt is generated in the processing unit of the controller, the S-mode processing is stopped, and the subroutine program created in the instrumentation control memory 10 is executed. At this time, the four parameters described in the S mode program can be used as a program. The parameter (2) rearranges the input data on the S mode and inputs the input data start address. For the parameter (2), use the data output by the subnore trace and write the output data start address as output data on the S mode.

■のパラメータは計装制御用のTAGN○と処理周期及
び実行位相の処理を行なう。処理周期のパラメータは、
TAGNO単位に設定出来る様になっておりSモードサ
イクル毎実行または、SモードサイクルN回に1同実行
するかを指定できる様12 考慮されている。■のパラメータは機能メニューを表わ
す。メニューとしては、調節計機能と補助演算機能に2
つに分けて処理を行なう。
Parameter (2) processes TAGN◯ for instrumentation control, processing cycle, and execution phase. The processing cycle parameters are
It is designed to be able to be set in TAGNO units, and it is possible to specify whether to execute every S mode cycle or once every N S mode cycles. Parameters marked with ■ represent function menus. There are two menus for the controller function and auxiliary calculation function.
Process it separately.

検出端の水位13より、アナログを電気制御用メモリ9
よりSモードで処理し計装制御用メモリ10へ割込みが
かかり、Sモード処理を−時中止し、計装制御用メモリ
10で作られた、サブルーチン〔FUNC〕命令が実行
される。■入力プログラムによりbj.t; / wo
rd情報が指定されたSモードワークエリアにセツ1へ
される。◎( A. D I) R ’1命令が実行さ
れる。実際はアドレス情報をSモードプログラム上に登
録するためのダミー命令であり、何も処理せず終了する
。■はメニューにより当該命令のT A G N Oを
算出する。■はメニューにより処理周期の設定値を読み
、当該TAGのカウント値と比較し、実行の要否を判定
する。■T A. G N○より当該T A. Gのテ
ーブルの1〜ツブアドレスを算出する。■[ADDR]
命令のパラメータ部より、Sモートワークエリアのトッ
プアドレスを求める。■メニュ一部人カスペックを判断
し人力処理を行なう。■メニュ一部制御スペックを判断
し、制御演算を行う制御演算では、処理機能毎に種々の
パラメータが必要となるがパラメータぱあらかしめ当該
71’ A G N○のテープノレにセツ1〜されてお
り、このパラメータを用いて制御演算を行なう。■メニ
ュ一部出力スペックを判断して、出力処理を行う。■出
力プ口グラムよりP丁D処理された演算結果をもどにA
O出力計器故障処理を行なう。この場合、検出端の水位
13のアナログ人力偵及び出力値については、Sモード
」二で取込みD D C人出力データ・実データ表示が
出来る。
From the water level 13 at the detection end, the analog electrical control memory 9
Then, processing is performed in the S mode, an interrupt is applied to the instrumentation control memory 10, the S mode processing is stopped at - time, and the subroutine [FUNC] instruction created in the instrumentation control memory 10 is executed. ■Bj. t; / wo
rd information is sent to the specified S mode work area. ◎(A.DI)R'1 instruction is executed. It is actually a dummy instruction for registering address information on the S mode program, and ends without processing anything. (2) calculates the TAG NO of the instruction from the menu. (2) reads the setting value of the processing cycle from the menu, compares it with the count value of the TAG, and determines whether execution is necessary. ■TA. From G N○, the T A. Calculate the 1~tube address of the table of G. ■ [ADDR]
Find the top address of the S-motor work area from the parameter section of the command. ■Some of the menus are manually processed by determining the human specifications. ■Part of the menu: Control specifications are judged and control calculations are performed. Control calculations require various parameters for each processing function, but the parameters are set in the 71' A G N○ tape nore. , control calculations are performed using these parameters. ■Part of the menu Determine the output specifications and perform output processing. ■ Return A to the calculation result processed by PdD from the output program.
Perform O output instrument failure processing. In this case, analog human power detection and output values of the water level 13 at the detection end can be taken in in S mode and displayed as DDC human output data and actual data.

第5図に示す、実施例は、Sモードの周期で実行位相の
フローを示す。
The embodiment shown in FIG. 5 shows the flow of execution phases in S-mode cycles.

計装制御(DI)C)は、Sモートにリンクして実行さ
れており、1つのスタックとなっている。
Instrumentation control (DI) C) is executed linked to the S mote, forming one stack.

従って計装制御(DI)C)実行時は、Sモードが止ま
っている為、計装制御(DDC)処理が多くなるとSモ
ー1〜どしての処理時間が長くなる゛。そこで計装制御
(I)DC)がSモード周期にて常時実行しなくても良
いTAG関しては、ピーク負イq軽減の為、実行位相を
かえることにより負荷の軽減を図る。
Therefore, when instrumentation control (DI) C) is executed, since the S mode is stopped, if the number of instrumentation control (DDC) processes increases, the processing time for S modes 1 to 3 becomes longer. Therefore, regarding the TAG whose instrumentation control (I) DC) does not need to be executed constantly in the S mode period, the load is reduced by changing the execution phase in order to reduce the peak negative EQ.

本発明によると、−I二位計算機が最初より導入される
ケースが少ない。この場合、プログラミング装置で電気
・割装制御がSモード−七でデバッグでき、かつ、Sモ
ード上で電気制御は高速制御・計装制御は、高速及び低
速制御を行ない、Sモー1〜上で電気・計装制御をデバ
ッグ機能を有し、コンI〜ローラの負持を軽減させるた
め、M1袋制御のプログラムをメニュー化し、この機能
(メニュー)の中に実行周期及び実行位相の機能をSモ
ード上で行なうことが出来るので、コン1〜ローラ制御
が高速制御から低速制御まで富んだ制御が可能となる。
According to the present invention, there are few cases in which a -I second-place computer is introduced from the beginning. In this case, the electrical/split control can be debugged in S mode-7 using the programming device, and the electrical control is high-speed control in S mode, and the instrumentation control is high-speed and low-speed control, and in S mode 1 to above. In order to have a debug function for electrical/instrument control and reduce the load on the controller I~roller, the M1 bag control program is made into a menu, and the execution cycle and execution phase functions are included in this function (menu). Since the controller 1 to roller control can be performed in various modes, it is possible to perform a variety of controls from high-speed control to low-speed control.

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

本発明によれば、コントローラにおいてプログラミング
装置を大きく2つに分け、1つは電気制御用もうコ−つ
ば、上位計算機内プログラミング装置用と大きく2つの
プログラミンク装置を有し、コントローラ運転「II.
上位言1算機のプO夕゛ラミン45 グ装置より下位コントローラに対して変更修正する場合
下位コン[・ローラを停止することなく融通性に富んだ
制御が出来かっ、プログラミング装置のSモー1く上で
デバッグ出来さらに、SモードLで電気制御は高速制御
、計装制御は低速制御を行ない、Sモード上で電気・言
1装制御をデバッグ出来また、コントローラの負荷を軽
減させるため、a1装制御のプログラムをメニュー化し
、この機能(メ:.=L−)の中に,実行周期の機能及
びピーク負荷の軽減の為、実行位相を変える機能をSモ
ード上で行なうことが出来る為、融通性に富んだ制御が
出来る。
According to the present invention, the programming device in the controller is roughly divided into two, one for electrical control, and one for the programming device in the host computer, and the controller is operated "II.
When making changes to the lower-level controller from the programming device of the upper-level computer, it is not possible to perform flexible control without stopping the lower-level controller. In addition, in S mode L, electrical control performs high-speed control and instrumentation control performs low-speed control. The system control program is made into a menu, and in this function (Me:.=L-), the execution cycle function and the function of changing the execution phase to reduce peak load can be performed in S mode. Allows for flexible control.

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

第1図及び第2図は本発明に係る−実施例を示すシステ
ム構成図、第3図及び第4図は本発明に係る−実施例を
示す図、第5図は第3図A部の詳細図である。 1・・・中央割算機、2・・表示部、3 操作部、4・
計装制御用プログラミング装置、15・・・伝送用メモ
リ、S 伝送、6 ・リモートローデイング、716 ・・・コントローラ、8 ・伝送用メモリ、9・電気制
御用メモリ、12・・ポンプ、コ−3 水位、1−4プ
ラン1〜設備、16 ・電気制御・計装側御共用メ/2 第 1 図 第 2 図
1 and 2 are system configuration diagrams showing an embodiment according to the present invention, FIGS. 3 and 4 are system configuration diagrams showing an embodiment according to the present invention, and FIG. 5 is a system configuration diagram showing an embodiment according to the present invention. It is a detailed view. 1... Central divider, 2... Display section, 3 Operation section, 4.
Programming device for instrumentation control, 15... Memory for transmission, S transmission, 6 - Remote loading, 716... Controller, 8 - Memory for transmission, 9 - Memory for electrical control, 12... Pump, code 3 Water level, 1-4 Plan 1 ~ Equipment, 16 ・Electrical control/instrumentation side common use/2 Fig. 1 Fig. 2

Claims (1)

【特許請求の範囲】 1、1台のコントローラに、電気計装(E・ I )の制
御をもつコントローラにおいて、プログラミング装置を
大きく2つに分け、1つは電気制御を行なうプログラミ
ング装置と、もう1つは計装制御をゆうするプログラミ
ング装置を有し、計装制御をゆうするプログラミング装
置は、上位計算機内にもつことにより、大きく2つのプ
ログラミング装置をゆうし、コントローラ運転中上位計
算機より計装制御(DDC)を変更し修正を行なつてコ
ントローラにリモートローディングを行ない、この場合
コントローラ内の電気制御(1人制御)は処理を継続し
、計装制御(DDC)のみを修正変更出来、かつ、プロ
グラミング装置のSモード上でデバッグ出来ることを特
徴とするコントローラ。 2、コントローラにおいて、プログラミング装置は、S
モード上で電気制御は高速制御、計装制御は低速制御を
行ない、Sモード上で電気・計装制御をデバッグ出来る
機能を有し、コントローラの負荷を軽減させるため、計
装制御のプログラムをメニュー化し、この機能(メニュ
ー)の中に、実行周期の機能及びピーク負荷の軽減の為
、実行位相を変える機能をSモード上で行なうことが出
来ることを特徴とするコントローラ。
[Claims] 1. In a controller that has electrical instrumentation (E/I) control in one controller, the programming device is roughly divided into two parts: one is a programming device that performs electrical control, and the other is a programming device that performs electrical control. One has a programming device that performs instrumentation control, and the programming device that performs instrumentation control is located in the host computer, making it possible to have two programming devices. The control (DDC) can be changed and modified, and then remotely loaded into the controller. In this case, the electrical control (one-person control) in the controller continues processing, and only the instrumentation control (DDC) can be modified, and , a controller characterized in that it can be debugged on the S mode of a programming device. 2. In the controller, the programming device is S
In S mode, electrical control performs high-speed control and instrumentation control performs low-speed control, and it has a function that allows debugging of electrical and instrumentation control in S mode.In order to reduce the load on the controller, the instrumentation control program can be set in the menu. A controller characterized in that, among the functions (menu), an execution cycle function and a function of changing an execution phase for reducing peak load can be performed in S mode.
JP24001189A 1989-09-18 1989-09-18 Controller Pending JPH03102404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24001189A JPH03102404A (en) 1989-09-18 1989-09-18 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24001189A JPH03102404A (en) 1989-09-18 1989-09-18 Controller

Publications (1)

Publication Number Publication Date
JPH03102404A true JPH03102404A (en) 1991-04-26

Family

ID=17053137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24001189A Pending JPH03102404A (en) 1989-09-18 1989-09-18 Controller

Country Status (1)

Country Link
JP (1) JPH03102404A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400336B1 (en) * 2001-05-26 2003-10-01 박선우 Supply device of medicine used in automatic counting and packing system and supply method of medicine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400336B1 (en) * 2001-05-26 2003-10-01 박선우 Supply device of medicine used in automatic counting and packing system and supply method of medicine

Similar Documents

Publication Publication Date Title
JPH0561646B2 (en)
EP0397887A1 (en) Method of correcting machining program
CN101025622A (en) Numerical controller
JPH03102404A (en) Controller
JPH09128255A (en) Programable logic controller
US6009268A (en) Device for programming a stored program controller
JPH0410081B2 (en)
JPS58222357A (en) Debug system of drive control program
WO1990007739A1 (en) Control method for robot
JPS63239511A (en) Robot system
EP0408761A1 (en) Method of safely operating a robot
JPH04123105A (en) Motor control system
JPH0290209A (en) Operating state monitoring device
JPH0150933B2 (en)
JPS6247706A (en) Numerical controller
WO1992021073A1 (en) Method for debugging sequential program
JPH08278806A (en) Cnc macro variable debugging system
KR900008537B1 (en) The controller and its method of high level language program and off-line program
JPH02226307A (en) Numerical controller
JPS59191614A (en) Controller of robot
JPS6232505A (en) Numerical controller
JPS62254205A (en) Debug device
JPS58107906A (en) Process step type programmable controller
JPH04191906A (en) User program execution control system for programmable controller
Rajaraman A Microprocessor-Based Time Sequence Controller for Process Control Applications