JPS63113704A - Programmable controller having measurement display function - Google Patents

Programmable controller having measurement display function

Info

Publication number
JPS63113704A
JPS63113704A JP61259850A JP25985086A JPS63113704A JP S63113704 A JPS63113704 A JP S63113704A JP 61259850 A JP61259850 A JP 61259850A JP 25985086 A JP25985086 A JP 25985086A JP S63113704 A JPS63113704 A JP S63113704A
Authority
JP
Japan
Prior art keywords
display
program
ladder
language
call instruction
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
JP61259850A
Other languages
Japanese (ja)
Inventor
Yasuharu Kudo
工藤 保晴
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 JP61259850A priority Critical patent/JPS63113704A/en
Publication of JPS63113704A publication Critical patent/JPS63113704A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To easily incorporate a display program to a programmable controller with use of a ladder language with no conversion of other program language including a basic language, etc., by giving a call instruction to display the control state in an input mode of a program produced by a ladder chart. CONSTITUTION:A call instruction 100 is put in the middle of the sequence control of a ladder chart and a user has input of an instruction SUB for shift to a subroutine together with its address number as a call instruction as shown in a diagram. The call instruction put into the ladder chart is executed in a ladder language to avoid such a troublesome job where a programming action is carried out after conversion into a basic language, etc. Thus a display program is supplied in a simple operation. When a call instruction is received, a subroutine is started by the call instruction to display the state of the sequence control. Then, the actual temperature of an electric furnace, for example, is measured. This measured temperature is supplied to a CPU8 and converted into the display data by a display data converting means 7.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明はPID制御(比例・積分・微分動作に基づく制
御)等の制御を行う対象の状態を計測して、CRT (
ブラウン管)画面上に表示することのできる計測表示機
能を有するプログラマブルコントローラの改良に関する
[Detailed Description of the Invention] [Industrial Field of Application] The present invention measures the state of an object to be controlled by PID control (control based on proportional, integral, and differential operations), etc.
This invention relates to an improvement of a programmable controller having a measurement display function that can be displayed on a cathode ray tube screen.

[従来の技術] 各種の自動加工ライン・製鉄加工ライン・その池多数の
機械が組合わされた生産設備におけるシーケンス制御を
行うプログラマブルコントローラが周知であり、このプ
ログラマブルコントローラは制御対象のシーケンス制御
を自動化して複雑かつ高度な制御を可能としている。
[Prior Art] Programmable controllers that perform sequence control in various automatic processing lines, steel processing lines, and other production facilities in which many machines are combined are well known. This enables complex and advanced control.

特に、近年の制御対象においては、コンピュータ、NC
装置あるいはロボット等が有機的に結合されており、こ
れらの機器をシーケンス制御するとともに、全体のライ
ンを監視し、異常検出、追跡・位置決めあるいは計測す
るための高機能のシーケンス制御が要求される。
In particular, in recent years, control objects such as computers,
Devices, robots, etc. are organically connected, and high-performance sequence control is required to sequence control these devices, monitor the entire line, detect abnormalities, track/position, or measure.

本発明はこのようなシーケンス制御を行うものであって
、プロセス制御を行うPID制御等の制御状態をCRT
画面上に表示するものであり、従来のプログラマブルコ
ントローラの主要構成が第4図に示されている。
The present invention performs such sequence control, and controls the control status of PID control etc. for process control using a CRT.
The main configuration of a conventional programmable controller is shown in FIG. 4, which is displayed on a screen.

第4図において、(1)はシーケンス回路のプログラム
を図式化された回路のままラダーチャート図に基づいて
ラダー言語により入力することのできるグラフィック・
プログラミング・パネル(G P P)、(2)はGP
P (1)から入力されたラダーチャートに従ってPI
D制御等のシーケンス制御処理する中央処理装置(CP
U)、(3)はPID制御される対象、例えば電気炉や
反応槽の温度を制御する場合に、その温度変化を表示す
るためのベーシック等のプログラムが組込まれているイ
ンテリジェントユニット、(4)はインテリジェントユ
ニット(3)からの表示データを入力し、CRT表示の
ためのビデオ信号に変換して出力する表示ユニット、(
5)は表示ユニット(4)からのビデオ信号に基づいて
画像表示するCRT表示器、(6)は制御対象等の外部
機器装置へのデータ信号の入出力を行う入出力(I 1
0)ユニットである。
In Fig. 4, (1) is a graphical system that allows the program of a sequence circuit to be input in a ladder language based on a ladder chart diagram without changing the circuit diagram.
Programming panel (GP P), (2) is GP
PI according to the ladder chart input from P (1)
A central processing unit (CP) that performs sequence control processing such as D control.
U) and (3) are intelligent units that have a built-in program such as a basic program for displaying temperature changes when controlling the temperature of an object to be PID controlled, such as an electric furnace or a reaction tank; (4) is a display unit that inputs display data from the intelligent unit (3), converts it into a video signal for CRT display, and outputs it.
5) is a CRT display that displays images based on the video signal from the display unit (4), and (6) is an input/output unit (I1) that inputs and outputs data signals to and from external devices such as controlled objects.
0) It is a unit.

このような構成からなるプログラマブルコントローラは
、比例・微分・積分操作によるPID制御等を行うこと
になるが、このためのシーケンス制御のプログラムは第
2図に示されるラダーチャート図に従ってGPP (1
)により入力することができる。
A programmable controller with such a configuration performs PID control using proportional, differential, and integral operations, and the sequence control program for this is based on the GPP (1
) can be input.

このGPP (1)はシーケンス回路をグラフィック入
力するもので、ベーシック言語等に変換することなく、
例えば入力を意味するX、出力を意味するY、論理演算
回路を意味するLD(ロード)等のラダー語により入力
することによって、容易にシーケンスプログラムを組む
ことができ、またこれによってプログラムの変更も容易
となっている。
This GPP (1) inputs sequence circuits graphically, without converting them into basic language etc.
For example, by inputting ladder words such as X for input, Y for output, and LD (load) for logical operation circuit, you can easily create a sequence program, and this also allows you to change the program. It's easy.

ところで、このようにして入力されたプログラムに従っ
てPID制御が行われる場合には、CRT表示器(5)
にその制御状態が画像表示されるが、従来では、これは
インテリジェントユニット(3)にて行われており、前
記ラダー言語で処理されている制御データをベーシック
等の表示用プログラムにて表示データに変換し、これに
よって計測された制御状態を画像表示することが行われ
ている。
By the way, when PID control is performed according to the program input in this way, the CRT display (5)
The control status is displayed as an image, but conventionally this is done in the intelligent unit (3), and the control data processed in the ladder language is converted into display data using a display program such as Basic. The control state measured by this conversion is displayed as an image.

[発明が解決しようとする聞届点コ しかしながら、前記表示データ変換用のインテリジェン
トユニット(3)では、画像表示のための制御プログラ
ムをベーシック言語等により作成しなければならず、画
像表示用プログラムの作成が煩雑で時間がかかるという
問題があり、特にこの表示用プログラムはユーザ自身が
作成しなければならないことから、作業の簡略化が要請
されている。
[Points to be solved by the invention]However, in the intelligent unit (3) for display data conversion, a control program for displaying an image must be created in a basic language, etc. There is a problem that creation is complicated and time-consuming, and in particular, the display program must be created by the user himself, so there is a demand for simplification of the work.

また、ベーシック言語等にてプログラム入力する場合に
は、作成プログラムのデバッグ等の処理を行う必要があ
り、この点でも時間の無駄が多かった。
Furthermore, when inputting a program in a basic language or the like, it is necessary to perform processing such as debugging the created program, which is also a waste of time.

発明の目的 本発明は前記従来の問題点に鑑みなされたものであり、
その目的は、ラダー言語にて画面表示用プログラムの作
成が容易にできる計測表示機能を有するプログラマブル
コントローラを提供することにある。
Purpose of the Invention The present invention has been made in view of the above-mentioned conventional problems.
The purpose is to provide a programmable controller having a measurement display function that allows easy creation of screen display programs in ladder language.

[問題点を解決するための手段] 前記目的を達成するために、本発明に係る計測表示機能
を有するプログラブルーントローラは、CPUに表示デ
ータ変換手段を設け、この表示データ変換手段はラダー
チャート図に組込まれたコール命令にて読出されるプロ
グラムデータを有し、制御対象の状態をCRT表示のた
めの表示データに変換するものとし、例えばマイコン等
にて構成する。
[Means for Solving the Problems] In order to achieve the above object, the program run controller having a measurement display function according to the present invention is provided with a display data converting means in the CPU, and this display data converting means is a ladder chart diagram. It has program data that is read out by a call command built into the computer, converts the state of a controlled object into display data for CRT display, and is configured by, for example, a microcomputer.

そして、ラダーチャート図によるプログラム入力時に前
記制御表示のためのコール命令を与えるようにしたこと
を特徴とする。
The present invention is characterized in that a call command for displaying the control is given when inputting a program using a ladder chart diagram.

[作用] 以上の構成によれば、PID制御の途中でラダー図に組
込まれたコール命令にてCRT表示のためのプログラム
データが読出されることになり、シーケンス制御がメイ
ンルーチンで行われるとするとCRT表示制御はサブル
ーチンにて行われることに相当し、このようにして読出
されたプログラムデータに従フて制御対象の状態表示の
ための演算処理を行うことになる。
[Operation] According to the above configuration, program data for CRT display is read by a call command incorporated in the ladder diagram during PID control, and if sequence control is performed in the main routine. CRT display control corresponds to being performed in a subroutine, and arithmetic processing for displaying the status of the controlled object is performed in accordance with the program data read out in this way.

従って、ユーザはラダーチャート図によるシーケンスプ
ログラムの入力時に制御状態表示のためのコール命令を
ラダー言語にて与えることにより、容易にCRT表示の
ためのプログラムを作成することができる。
Therefore, the user can easily create a program for CRT display by giving a call command for displaying the control status in the ladder language when inputting a sequence program based on a ladder chart diagram.

[実施例] 以下、図面に基づいて本発明の好適な実施例を説明する
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described based on the drawings.

第1図には、計測表示機能を有するプログラマブルコン
トローラが示されており、図において、(7)はコール
命令により読出される表示用プログラムデータを有し制
御対象の状態をCRT表示のための表示データに変換す
る表示データ変換手段、(8)はこの表示データ変換手
段を組込んだCPUである。実施例では、例えば電気炉
内の温度状態をPID制御する場合の表示について説明
する。
FIG. 1 shows a programmable controller having a measurement display function. In the figure, (7) has display program data read out by a call command, and a display for displaying the state of the controlled object on a CRT. Display data conversion means (8) for converting into data is a CPU incorporating this display data conversion means. In the embodiment, a display when, for example, PID control is performed on the temperature state inside the electric furnace will be described.

まず、第2図に示されるように、コール命令100がラ
ダーチャート図のシーケンス制御の途中に組込まれてお
り、ユーザは図のようなサブルーチン移行の命令SUB
とそのアドレスNOをコール命令として入力する。
First, as shown in FIG. 2, a call instruction 100 is incorporated in the middle of the sequence control of the ladder chart diagram, and the user calls the subroutine transition command SUB as shown in the figure.
and its address NO as a call command.

このようなラダーチャート図に組込まれるコール命令は
、ラダー言語にて行われ、従来のようなベーシック言語
等に変換してプログラムする必要がなく、簡単な操作に
て表示のためのプログラムを入力することが可能となる
The call commands incorporated in such ladder chart diagrams are performed in the ladder language, and there is no need to convert and program them into a basic language as in the past, and the program for display can be entered with a simple operation. becomes possible.

このようにしてコール命令が入力された場合には、シー
ケンス制御の途中で制御状態表示のためのサブルーチン
がコール命令によって開始され、電気炉の実際の温度の
計測がされることになり、計測された温度はCPU (
8)に供給され表示データ変換手段(7)にて計測温度
が表示データに変換される。そうすると、表示データ変
換手段(7)から表示データは表示ユニット(4)に供
給され、ここで、画像表示のためのビデオ信号に変換さ
れることになり、このビデオ信号はCRT表示器(5)
に供給される。
When a call command is input in this way, a subroutine for displaying the control status is started by the call command during sequence control, and the actual temperature of the electric furnace is measured. The temperature measured by the CPU (
8), and the measured temperature is converted into display data by the display data conversion means (7). Then, the display data is supplied from the display data conversion means (7) to the display unit (4), where it is converted into a video signal for image display, and this video signal is sent to the CRT display (5).
is supplied to

従って、例えば第3図に示されるように、電気炉内のA
、B、C場所において計測された温度が棒グラフ等でそ
れぞれ表示されることになる。
Therefore, for example, as shown in FIG.
The temperatures measured at locations , B, and C are displayed as a bar graph or the like.

なお、本発明では、ラダーチャート図中に単にコール命
令を組込むだけではなく、画像表示のために必要なプロ
グラムの設定・変更もラダー言語にて入力することによ
り、所望の表示状態を確保できる。
In addition, in the present invention, a desired display state can be ensured by not only simply incorporating a call command into the ladder chart diagram, but also inputting settings and changes of the program necessary for image display in the ladder language.

[発明の効果] 以上説明したように、本発明によれば、ラダーチャート
図にてシーケンス制御回路をプログラムする際に、画像
表示のためのプログラムも同時に行うことかができ、ベ
ーシック等の他のプログラム言語に変換することなく、
ラダー言語にて容易に表示用プログラムを組み込むこと
ができる。
[Effects of the Invention] As explained above, according to the present invention, when programming a sequence control circuit using a ladder chart diagram, a program for image display can also be executed at the same time, and other programs such as basic etc. without converting to a programming language.
Display programs can be easily incorporated using the ladder language.

従って、従来行っていたベーシック言語等によるユーザ
プログラム作成やプログラム入力時のデバッグ時間等が
不要となり、制御対象の画像表示のだめの作業を削減す
ることが可能となる。
Therefore, it is no longer necessary to create a user program in a basic language or the like and debug time when inputting a program, which has been done in the past, and it is possible to reduce the work required to display images of the controlled object.

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

第1図は本発明に係る計測表示機能を有するプログラマ
ブルコントローラの好適な実施例を示す構成図、第2図
は本発明のラダーチャート図、第3図はCRT表示器上
における電気炉温度の@制御状態の表示図、第4図は従
来装置を示す構成図、第5図は従来のラダーチャート図
である。 図において、(1)はグラフィック・プログラミングψ
パネル(GPP)、(2)は従来のCPU、(3)はイ
ンテリジェントユニット、(4)は表示ユニット、(5
)はCRT表示器、(6)はI10ユニット、(7)は
表示データ変換手段、(8)は本発明のCPUである。 尚、各図中同一符号は同−又は相当部分を示すものとす
る。
FIG. 1 is a configuration diagram showing a preferred embodiment of a programmable controller having a measurement display function according to the present invention, FIG. 2 is a ladder chart diagram of the present invention, and FIG. 3 is a diagram showing electric furnace temperature on a CRT display. A display diagram of the control state, FIG. 4 is a configuration diagram showing a conventional device, and FIG. 5 is a conventional ladder chart diagram. In the figure, (1) is graphic programming ψ
Panel (GPP), (2) is a conventional CPU, (3) is an intelligent unit, (4) is a display unit, (5)
) is a CRT display, (6) is an I10 unit, (7) is a display data conversion means, and (8) is a CPU of the present invention. Note that the same reference numerals in each figure indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] (1)ラダーチャート図に基づいてプログラムデータを
入力するグラフィック・プログラミング。 パネルを有し、CPUによりシーケンス制御される対象
の計測された制御状態をCRT画面上に表示する計測表
示機能を有するプログラマブルコントローラにおいて、
前記ラダーチャート図に組込まれるコール命令にて読出
される表示用プログラムデータを有し制御対象の状態を
CRT表示のための表示データに変換する表示データ変
換手段を前記CPUに設け、ラダーチャート図によるプ
ログラム入力時に制御状態表示のためのコール命令を与
えるようにしたことを特徴とする計測表示機能を有する
プログラマブルコントローラ。
(1) Graphic programming in which program data is input based on a ladder chart diagram. In a programmable controller that has a panel and has a measurement display function that displays the measured control state of an object that is sequence-controlled by a CPU on a CRT screen,
The CPU is provided with display data converting means that has display program data read out by a call command incorporated in the ladder chart diagram and converts the state of the controlled object into display data for CRT display, A programmable controller having a measurement display function, characterized in that a call command for displaying a control state is given when a program is input.
JP61259850A 1986-10-31 1986-10-31 Programmable controller having measurement display function Pending JPS63113704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61259850A JPS63113704A (en) 1986-10-31 1986-10-31 Programmable controller having measurement display function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61259850A JPS63113704A (en) 1986-10-31 1986-10-31 Programmable controller having measurement display function

Publications (1)

Publication Number Publication Date
JPS63113704A true JPS63113704A (en) 1988-05-18

Family

ID=17339844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61259850A Pending JPS63113704A (en) 1986-10-31 1986-10-31 Programmable controller having measurement display function

Country Status (1)

Country Link
JP (1) JPS63113704A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009074500A (en) * 2007-09-24 2009-04-09 Honda Motor Co Ltd Valve gear for sohc type internal combustion engine
JP2010055351A (en) * 2008-08-28 2010-03-11 Digital Electronics Corp Editor device, editor program, recording medium with the same program recorded thereon, and programmable display unit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51134229A (en) * 1975-05-14 1976-11-20 Sony Corp Sequence control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51134229A (en) * 1975-05-14 1976-11-20 Sony Corp Sequence control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009074500A (en) * 2007-09-24 2009-04-09 Honda Motor Co Ltd Valve gear for sohc type internal combustion engine
JP2010055351A (en) * 2008-08-28 2010-03-11 Digital Electronics Corp Editor device, editor program, recording medium with the same program recorded thereon, and programmable display unit

Similar Documents

Publication Publication Date Title
JPH01274202A (en) Loop controller
JPS63113704A (en) Programmable controller having measurement display function
JPH07319511A (en) Monitoring method
JPS58222357A (en) Debug system of drive control program
JPH01282653A (en) Automatic conrol system for window at time of exeucting batch processing
JPS60168206A (en) Numerical control device
JP3167245B2 (en) Programmable controller operating state monitoring device
JP2533373B2 (en) Control program creation method
JPH0521196Y2 (en)
JPS633222A (en) Automatic selection screen reservation type display device
JPS63116210A (en) Input/output control system for sequence controller
JPS61121105A (en) Programmable controller
JPH04335404A (en) Debug system for sequence program
JP3054920U (en) Mileage measuring device
JPH08286734A (en) Programmable display device
JPH0449422A (en) Formation of sequence program
JPH02226307A (en) Numerical controller
JPS63300327A (en) Self-diagnostic system for robot controller
JPH10105226A (en) Programmable display device
JPS6388604A (en) Programmable controller for pid control
JPS62245405A (en) Error display system for numerical controller
JPH05282024A (en) Nc machine tool
JPH02183803A (en) Display control panel for programmable controller
JPH08286827A (en) Data input device
JPS63239503A (en) Auxiliary output system for controller