JPH1195817A - Sequencer - Google Patents
SequencerInfo
- Publication number
- JPH1195817A JPH1195817A JP25873197A JP25873197A JPH1195817A JP H1195817 A JPH1195817 A JP H1195817A JP 25873197 A JP25873197 A JP 25873197A JP 25873197 A JP25873197 A JP 25873197A JP H1195817 A JPH1195817 A JP H1195817A
- Authority
- JP
- Japan
- Prior art keywords
- data
- control
- sequencer
- display device
- output
- 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
Links
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、工場やビル等の各
種施設内に設けられた機器等からなる制御対象の動作や
状態を制御するシーケンサに係わり、特に制御対象の状
態や制御対象に対する操作データを外部表示装置に表示
出力するようにしたシーケンサに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sequencer for controlling the operation and state of a controlled object including devices provided in various facilities such as factories and buildings, and more particularly to a sequencer for controlling the state and the controlled object. The present invention relates to a sequencer for displaying and outputting data to an external display device.
【0002】[0002]
【従来の技術】各種施設内に組込まれて各種の機器の動
作や状態を制御する簡単な制御装置として、例えは、P
LC(Programmable logic controller : プログラマブ
ル論理制御回路)等で代表されるシーケンサが広く使用
されている。一般に、このシーケンサに組込まれる制御
プログラムは、例えばグラフィック表示可能なラダー言
語等で代表されるシーケンス言語で記述されている。2. Description of the Related Art As a simple control device incorporated in various facilities to control the operation and state of various devices, for example, P
Sequencers represented by LC (Programmable logic controller) and the like are widely used. Generally, a control program incorporated in the sequencer is described in a sequence language represented by, for example, a ladder language capable of displaying graphics.
【0003】このように、制御プログラムをベーシック
言語やC言語やC++言語等の汎用の高級言語ではなく
て、制御専用のシーケンス言語で記述することよって、
たとえ高級言語に不慣れな者であっても、簡単に制御プ
ログラムを作成してこのシーケンサにロードすることが
可能である。As described above, a control program is described in a control-specific sequence language instead of a general-purpose high-level language such as a basic language, C language, or C ++ language.
Even those who are unfamiliar with high-level languages can easily create control programs and load them into this sequencer.
【0004】よって、このシーケンサを製造したメーカ
の技術者のみならず、このシーケンサが設置された工場
等の施設の係員(ユーザ)でも簡単に制御内容を変更可
能である。[0004] Therefore, not only a technician of a maker that manufactures the sequencer but also a staff (user) of a facility such as a factory where the sequencer is installed can easily change the control contents.
【0005】近年、制御対象に対する制御精度の向上が
要求され、かつ制御内容の表示が要求されている。した
がって、外部に表示装置を接続可能にしたシーケンサが
実用化されている。図5は、シーケンサ1とこのシーケ
ンサ1に接続された機器等の制御対象2と表示装置3と
の関係を示す模式図である。[0005] In recent years, there has been a demand for improved control accuracy for controlled objects, and a need to display control details. Therefore, a sequencer in which a display device can be connected to the outside has been put to practical use. FIG. 5 is a schematic diagram showing a relationship between the sequencer 1, a control target 2 such as a device connected to the sequencer 1, and the display device 3.
【0006】シーケンサ1は制御対象2から出力される
プロセスデータPVを取込んで、このプロセスデータP
Vに対して制御プログラムに基づいて制御演算を実行
し、演算結果を操作(量)データMVとして制御対象2
へ送出する。The sequencer 1 fetches the process data PV output from the control target 2 and
A control operation is performed on V based on a control program, and the operation result is set as operation (amount) data MV on the control target 2.
Send to
【0007】さらに、シーケンサ1は制御対象2から入
力される入力データ(プロセスデータPV)や制御対象
2へ送出する出力データ(操作データMV)を表示装置
3へ送出して表示出力する。Further, the sequencer 1 sends input data (process data PV) input from the control target 2 and output data (operation data MV) to be sent to the control target 2 to the display device 3 for display and output.
【0008】表示装置3は、例えば図6に示すように、
複数の単位7セグメント表示器4からなる7セグメント
LED表示器5で構成されており、受信した入力データ
又は出力データを数値表示する。The display device 3 is, for example, as shown in FIG.
It is constituted by a 7-segment LED display 5 composed of a plurality of unit 7-segment displays 4, and numerically displays the received input data or output data.
【0009】この複数の単位7セグメント表示器4から
なる7セグメントLED表示器5に入力データや出力デ
ータを表示するために、図7に示すように、シーケンサ
1内に出力部6が組込まれている。この出力部6にはト
ランジスタ等のハードウェアとソフトウエアとが組込ま
れている。In order to display input data and output data on a 7-segment LED display 5 composed of a plurality of unit 7-segment displays 4, an output section 6 is incorporated in the sequencer 1 as shown in FIG. I have. The output unit 6 incorporates hardware such as transistors and software.
【0010】ハードウエアは主に出力トランジスタであ
り、ソフトウェアは、主として、2進符号(バイナリ・
コード)で示される入力データ又は出力データに対する
7セグメンコード(表示データ)への変換、マイナス表
示への変換、小数点の表示、多数桁表示への変換等を実
行するためのプログラムである。The hardware is mainly output transistors, and the software is mainly binary code (binary code).
This is a program for executing conversion of input data or output data indicated by (code) into a 7-segment code (display data), conversion into a minus display, display of a decimal point, conversion into a multi-digit display, and the like.
【0011】そして、例えば図7に示すように、3桁の
7セグメントLED表示器5を直接駆動する場合は、各
単位7セグメント表示器4に対して共通線を含めて8本
の信号線およぴ8個の出力トランジスタが必要であるの
で、合計24本の信号線及び出力トランジスタが必要で
ある。When the three-digit seven-segment LED display 5 is directly driven, as shown in FIG. 7, for example, eight signal lines and a common line are provided for each unit seven-segment display 4. Since about eight output transistors are required, a total of 24 signal lines and output transistors are required.
【0012】また、図8に示すよように、3桁の7セグ
メントLED表示器5を各桁毎にダイナミック表示を実
施する場合は、3個の単位7セグメント表示器4を順番
に選択していく選択回路7が表示装置3側又はシーケン
ス1側に組込む必要がある。As shown in FIG. 8, when a three-digit seven-segment LED display 5 performs dynamic display for each digit, three unit seven-segment displays 4 are sequentially selected. Some selection circuits 7 need to be incorporated in the display device 3 side or the sequence 1 side.
【0013】この場合、ハードウェアとしては選択回路
7と8本の信号線と3本の桁切換用信号線及び11個の
出力トランジスタが必要である。また、ソフトウェアと
しては、図7に示した記した3桁の7セグメントLED
表示器5を直接駆動する場合に必要な各処理の他に、ダ
イナミック表示するための切換えタイミング制御等が必
要である。In this case, the hardware requires a selection circuit 7, eight signal lines, three digit switching signal lines, and eleven output transistors. The software is a 3-digit 7-segment LED shown in FIG.
In addition to the various processes required when the display 5 is directly driven, switching timing control for dynamic display is required.
【0014】[0014]
【発明が解決しようとする課題】しかしながら、上述し
たシーケンサ1にもまた改良すべき次のような課題があ
った、通常、トランジスタや出力端子や各信号線や選択
回路7等のハードウェアはこのシーケンサ1の製造メー
カが作成して、予めこのシーケンサ1に組込んだ状態で
出荷する。However, the above-described sequencer 1 also has the following problems to be improved. Usually, hardware such as transistors, output terminals, signal lines, and selection circuits 7 are provided with the following problems. The sequencer 1 is created by a manufacturer and shipped in a state where the sequencer 1 is assembled in advance.
【0015】しかし、入力データや出力データを表示装
置3の例えば7セグメントLED表示器5に表示するた
めの前述したコード変換を含むソフトウェアは制御演算
のための制御プログラムの一部とみなされるので、この
シーケンサ1が設置される施設の技術者(ユーザ)が制
御プログラムど同時に作成して、このシーケンサ1へロ
ードしていた。However, since the software including the above-described code conversion for displaying the input data and the output data on, for example, the 7-segment LED display 5 of the display device 3 is regarded as a part of the control program for the control operation, A technician (user) of the facility where the sequencer 1 is installed creates a control program and the like at the same time and loads it into the sequencer 1.
【0016】しかしながら、前述したように、プログラ
ムはラダー言語で代表されるシーケンス言語で記述され
るので、ユーザにとって制御プログラム本体は比較的簡
単に作成できる。しかし、上述した表示用のプログラム
を制御用のシーケンス言語で記述するにはかなり面倒で
あり煩雑である。However, as described above, since the program is described in the sequence language represented by the ladder language, the control program body can be created relatively easily for the user. However, describing the above-described display program in a control sequence language is rather cumbersome and complicated.
【0017】その結果、ユーザは、このシーケンサ1に
対して新規制御プログラムを作成したり、稼働中のシー
ケンサ1の制御内容を変更する場合に、その都度、制御
プログラム本体の他に表示用のプログラムをシーケンス
言語で作成する必要がある。よって、このシーケンサ1
のユーザに多大の手間と労力を強いることになる。As a result, each time the user creates a new control program for the sequencer 1 or changes the control content of the running sequencer 1, the display program is displayed in addition to the control program itself. Must be written in sequence language. Therefore, this sequencer 1
This requires a great deal of time and effort for the user.
【0018】また、図7に示す3桁の7セグメントLE
D表示器5を直接駆動する場合や、図8に示す3桁の7
セグメントLED表示器5を各桁毎にダイナミック表示
を実施する場合においても、必要とする信号線や出力ト
ランジスタ等のハードアェア構成が複雑化し、シーケン
サ1自体の製造費が上昇する問題があった。Also, a 3-digit 7-segment LE shown in FIG.
When the D display 5 is directly driven, or when the three-digit 7
Even when the segment LED display 5 performs dynamic display for each digit, there is a problem that the hardware configuration of necessary signal lines and output transistors is complicated, and the manufacturing cost of the sequencer 1 itself is increased.
【0019】本発明はこのような実状に鑑みてなされた
ものであり、内部に組込む制御プログラムを制御本体部
分のみとすることによって、制御対象に対する制御仕様
に応じてユーザが簡単に制御プログラムを作成又は変更
でき、ユーザにとって使い勝手のよいシーケンサを提供
することを目的とする。The present invention has been made in view of such a situation, and a user can easily create a control program according to the control specification for a control target by using only a control main body as a control program incorporated therein. It is another object of the present invention to provide a sequencer which can be changed and is easy to use for a user.
【0020】[0020]
【課題を解決するための手段】本発明は、制御対象から
の入力データに対して所定の制御演算を実行して演算結
果を操作データとして制御対象へ出力すると共に入力デ
ータ又は操作データを外部表示装置に表示出力するシー
ケンサに適用される。SUMMARY OF THE INVENTION According to the present invention, a predetermined control operation is performed on input data from a control object to output a calculation result as operation data to the control object, and the input data or operation data is externally displayed. Applied to sequencers that display and output to devices.
【0021】そして、上記課題を解消するために、本発
明のシーケンサにおいては、外部からロードされるシー
ケンス言語で記述された制御プログラムに従って制御演
算を実行する演算制御部と、この演算制御部から出力さ
れ、外部表示装置に表示出力するデータを一時記憶する
データレジスタと、このデータレジスタに記憶されたデ
ータを表示データに変換するデコーダ回路と、このデコ
ーダ回路で変換された表示データを外部表示装置へ送出
する出力回路とを備えている。According to another aspect of the present invention, there is provided a sequencer according to the present invention, comprising: an operation control unit for executing a control operation in accordance with a control program described in a sequence language loaded from the outside; A data register for temporarily storing data to be displayed and output to an external display device, a decoder circuit for converting the data stored in the data register into display data, and a display data converted by the decoder circuit to the external display device. And an output circuit for sending.
【0022】このように構成されたシーケンサにおいて
は、制御対象に対する具体的制御動作は演算制御部で実
行される。そして、入力データや操作データはデータレ
ジスタに書込まれる。そして、このデータレジスタに書
込まれたデータはデコーダ回路で表示データに変換され
たのち出力回路を介して外部表示装置へ送出される。In the sequencer configured as described above, a specific control operation for the control target is executed by the arithmetic and control unit. Then, the input data and the operation data are written into the data register. Then, the data written in the data register is converted into display data by a decoder circuit and then sent to an external display device via an output circuit.
【0023】このデータレジスタ,デコーダ回路、出力
回路はたとえ演算制御部にロードされたシーケンス制御
プログラムが変更になったとしても、変更する必要がな
い。したがって、シーケンサの製造者が予め作成してこ
のシーケンサに組込んでから発売すればよい。このこと
は、このシーケンサを用いるユーザとしては、制御対象
に対する制御仕様に基づいてシーケンス言語で作成して
シーケンサにロードする制御プログラムにおいては、入
力データや操作データをデータレジスタに書込むまでで
よく、それ以降の該当データを表示するためのプログラ
ムを作成したりロードする必要がない。The data register, decoder circuit and output circuit do not need to be changed even if the sequence control program loaded in the operation control unit is changed. Therefore, the manufacturer of the sequencer has only to prepare in advance, assemble it into this sequencer, and then sell it. This means that as a user using this sequencer, in a control program that is created in a sequence language based on the control specifications for the control target and is loaded into the sequencer, it is sufficient to write input data and operation data to the data register, There is no need to create or load a program to display subsequent data.
【0024】したがって、ユーザが新規に制御プログラ
ムを作成したり、修正する場合の作業量が減少するの
で、制御仕様に合わせてユーザは簡単に制御プログラム
の作成及び変更ができる。Accordingly, the amount of work required when the user creates or modifies a new control program is reduced, so that the user can easily create and change the control program according to the control specifications.
【0025】また、別の発明は、上記シーケンサにおい
て、外部からロードされるシーケンス言語で記述された
制御プログラムに従って制御演算を実行する演算制御部
と、この演算制御部から出力され、外部表示装置に表示
出力するデータを一時記憶するデータレジスタと、この
データレジスタに記憶されたデータを、外部表示装置内
に設けられたデータを表示データに変換するデコーダ回
路へ送出する出力回路とを備えたものである。According to another aspect of the present invention, in the above sequencer, an operation control unit for executing a control operation according to a control program described in a sequence language loaded from the outside, and output from the operation control unit to an external display device A data register for temporarily storing data to be displayed and output, and an output circuit for sending the data stored in the data register to a decoder circuit provided in an external display device for converting data into display data. is there.
【0026】このように構成されたシーケンサにおいて
は、シーケンサ内には、データレジスタと出力回路のみ
が組込まれている。そして、デコーダ回路は外部表示装
置側に組込まれている。In the sequencer configured as described above, only the data register and the output circuit are incorporated in the sequencer. The decoder circuit is incorporated in the external display device.
【0027】このような構成であっても、制御プログラ
ムは演算制御部のみにロードすればよく、表示に関する
プログラムをユーサが作成したり、ロードする必要がな
い。さらに、別の発明は、上記シーケンサにおいて、外
部からロードされるシーケンス言語で記述された制御プ
ログラムに従って制御演算を実行する演算制御部と、こ
の演算制御部から出力され、外部表示装置に表示出力す
るデータ及び該当データの表示桁数を一時記憶するデー
タレジスタと、このデータレジスタに記憶されたデータ
を表示データに変換するデコーダ回路と、表示桁数及び
デコーダ回路で変換された表示データを外部表示装置へ
送出する出力回路とを備えている。Even with such a configuration, the control program need only be loaded into the arithmetic and control unit, and there is no need for the user to create or load a display-related program. Still another aspect of the present invention is the above-mentioned sequencer, wherein the sequencer executes a control operation in accordance with a control program described in a sequence language loaded from the outside, and is output from the operation control unit and displayed on an external display device. A data register for temporarily storing data and the number of display digits of the data, a decoder circuit for converting data stored in the data register into display data, and an external display device for converting the number of display digits and the display data converted by the decoder circuit to an external display device And an output circuit for sending the signal to
【0028】このような構成のシーケンサにおいては、
データレジスタに外部表示装置に表示出力するデータ及
び該当データの表示桁数が一時記憶される。したがっ
て、データを表示する場合の制御情報が増加するので、
デコーダ回路でデータ値から表示桁数を判定する必要が
ないので、このデータレジスタ以降におけるデコーダ回
路や出力回路の構成を簡素化できる。In the sequencer having such a configuration,
The data to be displayed on the external display device and the number of display digits of the data are temporarily stored in the data register. Therefore, since the control information for displaying data increases,
Since it is not necessary for the decoder circuit to determine the number of display digits from the data value, the configurations of the decoder circuit and the output circuit after this data register can be simplified.
【0029】[0029]
【発明の実施の形態】以下本発明の実施形態を図面を用
いて説明する。 (第1実施形態)図1は本発明の第1実施形態のシーケ
ンサの概略構成を示すブロック図である。Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a block diagram showing a schematic configuration of a sequencer according to a first embodiment of the present invention.
【0030】このシーケンサ10は、例えばPLC(プ
ログラマブル論理制御回路)で構成されており、内部に
演算制御部11が設けられている。そして、この演算制
御部11に対して入力インタフェース12及び出力イン
タフェース13を介して機器等の制御対象14が接続さ
れている。さらに、この演算制御部11には、必要に応
じてプログラムローダ16から制御プログラムが入力さ
れる入力インタフェース15が接続されている。The sequencer 10 is composed of, for example, a PLC (programmable logic control circuit), and has an arithmetic control unit 11 therein. A control target 14 such as a device is connected to the arithmetic control unit 11 via an input interface 12 and an output interface 13. Further, an input interface 15 to which a control program is input from a program loader 16 as necessary is connected to the arithmetic control unit 11.
【0031】この演算制御部11には、制御対象14に
対する制御仕様を満たす例えばラダー言語で代表される
シーケンス言語で記述された制御プログラムが記憶され
ている。したがって、この演算制御部11は制御対象1
4から一定周期で出力されるプロセスデータPV(入力
データ)を入力インタフェース12を介して取込んで、
この入力データに対して制御仕様で定まる制御演算を実
行して、その演算結果を操作データMV(出力データ)
として出力インタフェース13を介して制御対象14へ
送出する。The arithmetic control unit 11 stores a control program that satisfies the control specifications for the control target 14 and is described in, for example, a sequence language represented by a ladder language. Therefore, the arithmetic control unit 11 controls the control target 1
4 fetches process data PV (input data) output at a constant cycle via the input interface 12,
A control operation determined by the control specification is executed on the input data, and the operation result is stored in operation data MV (output data).
To the control target 14 via the output interface 13.
【0032】また、この演算制御部11には図2に示す
よう複数のレジスタ17aを有するデータレジスタ17
が接続されている。そして、このデータレジスタ17の
出力側にはデコーダ回路18及び出力回路19が接続さ
れている。The arithmetic control unit 11 has a data register 17 having a plurality of registers 17a as shown in FIG.
Is connected. The output side of the data register 17 is connected to a decoder circuit 18 and an output circuit 19.
【0033】演算制御部11は、制御対象14から入力
される回転数,速度,温度、流量,電圧、電流、電力等
の各種の入力データのうち外部に接続された表示装置2
0に表示出力すべき入力データ、及び算出された各種の
出力データのうち前記表示装置20に表示出力すべき出
力データを抽出してデータレジスタ17の各レジスタ1
7aへ設定する。したがって、このデータレジスタ17
の各レジスタ17aに一時記憶される入力データ又は出
力データは制御対象14に対する制御周期に同期して最
新デーテに自動更新される。The arithmetic and control unit 11 controls the externally connected display device 2 among various input data such as rotation speed, speed, temperature, flow rate, voltage, current, power and the like input from the control object 14.
0 of the input data to be displayed and output, and the output data to be displayed and output on the display device 20 among the various types of calculated output data.
7a. Therefore, this data register 17
The input data or output data temporarily stored in each of the registers 17a is automatically updated to the latest data in synchronization with the control cycle for the control target 14.
【0034】図2に示すデータレジスタ17おける複数
のレジスタ17aのうちどのレジスタ17aにどの入力
データを又はどの出力データを割付けるかは、予め取り
決められている。Which input data or which output data is to be assigned to which register 17a among the plurality of registers 17a in the data register 17 shown in FIG. 2 is determined in advance.
【0035】データレジスタ17の各レジスタ17aに
一時記憶された各データはデコーダ回路18で、表示装
置20の表示形態に対応した表示データに変換される。
例えば、図1に示すように、表示装置20が3個の単位
7セグメント表示器21aからなる3桁の7セグメント
LED表示器21及び各単位7セグメント表示器21a
を駆動する駆動回路22で構成されていた場合、レジス
タ17aの各データは、表示桁を示す桁データD1 と、
各桁の数値を示すセグメントデータD2とに変換され
る。具体的には、このデコーダ回路18は例えばゲート
アレイやASIC等のLSIで形成されている。Each data temporarily stored in each register 17a of the data register 17 is converted by the decoder circuit 18 into display data corresponding to the display mode of the display device 20.
For example, as shown in FIG. 1, the display device 20 includes a three-digit 7-segment LED display 21 including three unit 7-segment displays 21a and a 7-segment display 21a for each unit.
, Each data of the register 17a includes digit data D 1 indicating a display digit,
It is converted into the segment data D 2 indicating the numerical value of each digit. Specifically, the decoder circuit 18 is formed by an LSI such as a gate array or an ASIC.
【0036】デコーダ回路18で変換された桁データD
1 とセグメントデータD2 とからなる表示データは次の
出力回路19へ送出される。出力回路19は桁データD
1 とセグメントデータD2 を表示装置20の駆動回路2
2へ信号ケーブルを介して出力するための複数の出力ト
ランジスタと複数の出力端子とで構成されている。The digit data D converted by the decoder circuit 18
The display data composed of 1 and the segment data D 2 is sent to the next output circuit 19. The output circuit 19 outputs the digit data D.
1 and the segment data D 2 to the drive circuit 2 of the display device 20
2 comprises a plurality of output transistors for outputting via a signal cable and a plurality of output terminals.
【0037】出力回路19はデコーダ回路18で変換さ
れた桁データD1 とセグメントデータD2 とからなる表
示データと書込信号Wとを表示装置20の駆動回路22
へ送出する。駆動回路22は駆動電源を内臓しており、
シーケンサ10から入力された桁データD1 とセグメン
トデータD2 と書込信号Wとに基づいて、各単位7セグ
メント表示器21aの各セグメントを駆動して、数値を
表示する。The output circuit 19 outputs the display data composed of the digit data D 1 and the segment data D 2 converted by the decoder circuit 18 and the write signal W to the drive circuit 22 of the display device 20.
Send to The drive circuit 22 incorporates a drive power supply,
Based on the digit data D 1 is input from the sequencer 10 and the segment data D 2 and the write signal W, by driving each segment of each unit 7 segment displays 21a, displaying numbers.
【0038】このように構成されたシーケンサ10にお
いては、このシーケンサ10が設置される施設の技術者
(ユーザ)が、施設に組込まれた機器等の制御対象14
の制御仕様に従って、この制御対象14を制御する制御
プログラムをシーケンス言語を用いて作成して、この作
成された制御プログラムをプログラムローダ16を用い
てシーケンサ10の演算制御部11内へロードする。In the sequencer 10 configured as described above, a technician (user) of the facility where the sequencer 10 is installed is controlled by a control object 14 such as a device incorporated in the facility.
According to the control specification, a control program for controlling the control target 14 is created using a sequence language, and the created control program is loaded into the arithmetic control unit 11 of the sequencer 10 using the program loader 16.
【0039】この場合、制御対象14に対する制御仕様
に基づいてシーケンス言語で作成されて演算制御部11
にロードされる制御プログラムは、表示装置20に表示
すべき入力データや操作データをデータレジスタ17の
各レジスタ17aに書込むまである。In this case, the operation control unit 11 is prepared in a sequence language on the basis of the control specification for the control target 14.
The control program to be loaded into the data register 17 is such that input data and operation data to be displayed on the display device 20 are written into each register 17a of the data register 17.
【0040】そして、制御プログラムがロードされた演
算制御部11はこの制御プログラムに従って制御対象1
4を制御するとともに必要に応じて入力データ及び出力
データをデータレジスタ17の指定されたレジスタ17
aに設定する。データレジスタ17の各レジスタ17a
に設定された各データはデコーダ回路18で自動的に表
示データに変換され、出力回路19を介して表示装置2
0へ送信されて表示出力される。Then, the arithmetic and control unit 11 loaded with the control program executes the control of the control target 1 in accordance with the control program.
4 and, if necessary, input data and output data to the designated register 17 of the data register 17.
Set to a. Each register 17a of the data register 17
Are automatically converted into display data by the decoder circuit 18 and output to the display device 2 via the output circuit 19.
0 to be displayed and output.
【0041】したがって、このシーケンサ10を用いる
ユーザとしては、制御対象14に対する制御仕様に基づ
いて、入力データ(プロセスデータ)や出力データ(操
作データ)をデータレジスタに書込むまで記述した制御
プログラムを演算制御部11にロードするのみでよく、
それ以降の該当データを表示するためのプログラムを作
成したりロードする必要がない。Therefore, a user who uses the sequencer 10 operates a control program in which input data (process data) and output data (operation data) are described until the input data (process data) and the output data (operation data) are written in the data register based on the control specifications for the control target 14. It only needs to be loaded into the control unit 11,
There is no need to create or load a program to display subsequent data.
【0042】したがって、ユーザが新規に制御プログラ
ムを作成したり、修正する場合の作業量が減少するの
で、制御仕様に合わせてユーザは簡単に制御プログラム
の作成及び変更ができる。Accordingly, the amount of work required when the user creates or modifies a new control program is reduced, so that the user can easily create and change the control program according to the control specifications.
【0043】また、出力回路19における必要な出力ト
ランジスタ数,出力端子数及び信号線数を減少でき、シ
ーケンサ10全体の製造費を節減できる。 (第2実施形態)図3は本発明の第2実施形態のシーケ
ンサ10aの要部を取出して示す図である、この第2実
施形態のシーケンサ10aに組込まれた複数のレジスタ
17aからなるデータレジスタ17においては、表示装
置20に表示すべき各データは図示するように隣接する
3つのレジスタ17aからなるブロック23に書込まれ
る。Further, the number of output transistors, the number of output terminals, and the number of signal lines required in the output circuit 19 can be reduced, and the manufacturing cost of the entire sequencer 10 can be reduced. (Second Embodiment) FIG. 3 is a view showing a main part of a sequencer 10a according to a second embodiment of the present invention. The data register is composed of a plurality of registers 17a incorporated in the sequencer 10a according to the second embodiment. At 17, each data to be displayed on the display device 20 is written into a block 23 comprising three adjacent registers 17a as shown.
【0044】具体的には、各ブロック23の先頭のレジ
スタ17aには該当データの単位セグメント表示器21
aの使用桁数を示し、各ブロック23の中央のレジスタ
17aには該当データの小数点位置を示し、各ブロック
23の最終のレジスタ17aに表示すべきデータ(小数
点を外したデータ)が設定される。Specifically, the register 17a at the head of each block 23 stores the unit segment display 21 of the corresponding data.
a indicates the number of digits to be used, the central register 17a of each block 23 indicates the position of the decimal point of the corresponding data, and data to be displayed (data without the decimal point) is set in the final register 17a of each block 23. .
【0045】この場合、ユーザは、制御対象14を制御
するための制御プログラムを作成するに際して、制御対
象14からの入力データ及び制御対象14へ送出する出
力データを表示装置20へ表示する場合に、この各デー
タを上述した桁数と、小数点位置と、小数点を外したデ
ータとに分割して、各ブロック23の各レジスタ17a
へ設定すると記述すればよい。In this case, when the user creates a control program for controlling the control target 14, the input data from the control target 14 and the output data to be transmitted to the control target 14 are displayed on the display device 20. Each of the data is divided into the number of digits, the decimal point position, and the data with the decimal point removed, and each register 17a of each block 23 is divided.
It can be described as setting to.
【0046】また、デコーダ回路18は、表示すべきデ
ータが既に3つの要素に分割されているので、使用桁数
及び小数点位置は各レジスタ17aの値を表示データと
してそのまま採用し、小数点を外したデータをセグメン
トデータに変換するのみでよい。したがって、デコーダ
回路18の回路構成を簡素化できる。Further, since the data to be displayed has already been divided into three elements, the decoder circuit 18 uses the value of each register 17a as it is as the display data for the number of digits to be used and the position of the decimal point, and removes the decimal point. It is only necessary to convert the data into segment data. Therefore, the circuit configuration of the decoder circuit 18 can be simplified.
【0047】このように構成された第2実施形態のシー
ケンサ10aにおいては、例えば制御対象14から入力
されて、表示装置20に表示すべきデータが例えば温度
等の(+)(−)の極性と小数点が含まれるデータや、
値が大きく変動しそれに伴なって桁数も変化するような
データの場合にあっても、図3の点線で囲む表示例に示
すように、小数点位置や表示桁が即座に変化して、監視
者にとって非常に見やすい。In the sequencer 10a according to the second embodiment having the above-described configuration, data to be displayed on the display device 20, for example, input from the control target 14, and the polarity of (+) (-) such as temperature and the like. Data with decimal points,
Even in the case of data in which the value fluctuates greatly and the number of digits changes accordingly, as shown in a display example surrounded by a dotted line in FIG. Very easy for people to see.
【0048】(第3実施形態)図4は本発明の第3実施
形態のシーケンサ10bの概略構成を示すブロック図で
ある。図1に示す第1実施形態のシーケンサ10と同一
部分には同一符号を付して重複する部分の詳細説明を省
略する。(Third Embodiment) FIG. 4 is a block diagram showing a schematic configuration of a sequencer 10b according to a third embodiment of the present invention. The same parts as those of the sequencer 10 of the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and detailed description of the overlapping parts will be omitted.
【0049】この第3実施形態のシーケンサ10bにお
いて、デコーダ回路18は表示装置20側に組込まれて
いる。すなわち、データレジスタ17の各レジスタ17
aに一時記憶された各データは出力回路19を介して直
接表示装置20のデコーダ回路18へ送信される。表示
装置20のデコーダ回路18は入力された各データを表
示データに変換して駆動回路22へ印加する。その結
果、表示装置20には制御対象14からの入力データ及
び制御対象14への出力データが表示される。In the sequencer 10b of the third embodiment, the decoder circuit 18 is incorporated in the display device 20. That is, each register 17 of the data register 17
Each data temporarily stored in a is directly transmitted to the decoder circuit 18 of the display device 20 via the output circuit 19. The decoder circuit 18 of the display device 20 converts each input data into display data and applies the display data to the drive circuit 22. As a result, the input data from the control target 14 and the output data to the control target 14 are displayed on the display device 20.
【0050】このように構成された第3実施形態のシー
ケンサ10bにおいても、図1に示す第1実施形態のシ
ーケンサ10と同様に、演算制御部11に書込まれる制
御プログラムは、入力データや操作データをデータレジ
スタ17に書込むまででよく、それ以降の該当データを
表示するための部分をを作成したりロードする必要がな
い。In the sequencer 10b of the third embodiment configured as described above, similarly to the sequencer 10 of the first embodiment shown in FIG. 1, the control program written in the arithmetic and control unit 11 includes input data and operation data. It is sufficient to write the data into the data register 17, and there is no need to create or load a portion for displaying the corresponding data thereafter.
【0051】したがって、第1実施形態のシーケンサ1
0aと同様に、ユーザが新規に制御プログラムを作成し
たり、修正する場合の作業量が減少するので、制御仕様
に合わせてユーザは簡単に制御プログラムの作成及び変
更ができる。Therefore, the sequencer 1 of the first embodiment
As in the case of Oa, the amount of work when the user newly creates or modifies the control program is reduced, so that the user can easily create and change the control program according to the control specifications.
【0052】なお、本発明は上述した各実施形態に限定
されるものではない。各実施形態における表示装置20
は7セグメントLED表示器21を採用したが、特に7
セグメントLED表示器21に限定されるものではなく
て、例えばドットマトリックス表示器等の他の方式の表
示装置であってもよい。The present invention is not limited to the above embodiments. Display device 20 in each embodiment
Adopted a 7-segment LED display 21,
The display device is not limited to the segment LED display 21 but may be another type of display device such as a dot matrix display.
【0053】[0053]
【発明の効果】以上説明したように本発明においては、
制御対象に対する実際の制御を実施する演算制御部にユ
ーザが書込む制御プログラムの範囲を表示装置に表示出
力するデータをデータレジスタに書込むまでとし、デー
タレジスタから表示装置までのデータ処理を共通化して
予めシーケンサ内に組込んでいる。As described above, in the present invention,
The range of the control program written by the user to the arithmetic and control unit that performs the actual control of the control target is displayed until the data to be output to the display device is written to the data register, and the data processing from the data register to the display device is shared. Is incorporated in the sequencer in advance.
【0054】したがって、このシーケンサを実際に使用
する施設のユーザは、制御対象に対する制御仕様に応じ
て簡単に制御プログラムを作成したり変更でき、ユーザ
にとって使い勝手のよいシーケンサを提供できる。Therefore, the user of the facility that actually uses the sequencer can easily create or change the control program according to the control specifications for the control target, and can provide a user-friendly sequencer.
【図1】 本発明の第1実施形態のシーケンサの概略構
成を示すブロック図FIG. 1 is a block diagram showing a schematic configuration of a sequencer according to a first embodiment of the present invention;
【図2】 同第1実施形態のシーケンサのデータレジス
タの記憶内容と表示状態との関係を示す図FIG. 2 is a diagram showing a relationship between storage contents of a data register and a display state of the sequencer according to the first embodiment;
【図3】 本発明の第2実施形態のシーケンサの要部を
取出して示す図FIG. 3 is a diagram illustrating a main part of a sequencer according to a second embodiment of the present invention.
【図4】 本発明の第3実施形態のシーケンサの概略構
成を示すブロック図FIG. 4 is a block diagram showing a schematic configuration of a sequencer according to a third embodiment of the present invention.
【図5】 一般的なシーケンサと制御対象と表示装置と
の関係を示す図FIG. 5 is a diagram showing a relationship between a general sequencer, a control target, and a display device.
【図6】 7セグメント方式を採用した表示装置を示す
模式図FIG. 6 is a schematic view showing a display device adopting a seven-segment system.
【図7】 従来のシーケンサの問題点を説明するための
図FIG. 7 is a diagram for explaining a problem of a conventional sequencer.
【図8】 同じく従来のシーケンサの問題点を説明する
ための図FIG. 8 is a diagram for explaining a problem of the conventional sequencer.
10,10a,10b…シーケンサ 11…演算制御部 14…制御対象 16…プログラムローダ 17…データレジスタ 17a…レジスタ 18…デコーダ回路 19…出力回路 20…表示装置 21…7セグメントLED表示器 21a…単位セグメント表示器 22…駆動回路 23…ブロック 10, 10a, 10b ... sequencer 11 ... operation control unit 14 ... controlled object 16 ... program loader 17 ... data register 17a ... register 18 ... decoder circuit 19 ... output circuit 20 ... display device 21 ... 7 segment LED display 21a ... unit segment Display 22 ... Drive circuit 23 ... Block
Claims (3)
の制御演算を実行して演算結果を操作データとして前記
制御対象へ出力すると共に前記入力データ又は操作デー
タを外部表示装置に表示出力するシーケンサにおいて、 外部からロードされるシーケンス言語で記述された制御
プログラムに従って前記制御演算を実行する演算制御部
と、 この演算制御部から出力され、前記外部表示装置に表示
出力するデータを一時記憶するデータレジスタと、 このデータレジスタに記憶されたデータを表示データに
変換するデコーダ回路と、 このデコーダ回路で変換された表示データを前記外部表
示装置へ送出する出力回路とを備えたシーケンサ。1. A sequencer that executes a predetermined control operation on input data from a control target, outputs a calculation result as operation data to the control target, and displays and outputs the input data or operation data to an external display device. An arithmetic control unit that executes the control operation according to a control program described in a sequence language loaded from the outside; and a data register that temporarily stores data output from the arithmetic control unit and displayed and output to the external display device. A sequencer comprising: a decoder circuit for converting data stored in the data register into display data; and an output circuit for sending the display data converted by the decoder circuit to the external display device.
の制御演算を実行して演算結果を操作データとして前記
制御対象へ出力すると共に前記入力データ又は操作デー
タを外部表示装置に表示出力するシーケンサにおいて、 外部からロードされるシーケンス言語で記述された制御
プログラムに従って前記制御演算を実行する演算制御部
と、 この演算制御部から出力され、前記外部表示装置に表示
出力するデータを一時記憶するデータレジスタと、 このデータレジスタに記憶されたデータを、前記外部表
示装置内に設けられたデータを表示データに変換するデ
コーダ回路へ送出する出力回路とを備えたシーケンサ。2. A sequencer for executing a predetermined control operation on input data from a control target, outputting a calculation result as operation data to the control target, and displaying and outputting the input data or operation data to an external display device. An arithmetic control unit for executing the control operation in accordance with a control program described in a sequence language loaded from the outside; and a data register for temporarily storing data output from the arithmetic control unit and displayed and output to the external display device And an output circuit for sending the data stored in the data register to a decoder circuit for converting data provided in the external display device into display data.
の制御演算を実行して演算結果を操作データとして前記
制御対象へ出力すると共に前記入力データ又は操作デー
タを外部表示装置に表示出力するシーケンサにおいて、 外部からロードされるシーケンス言語で記述された制御
プログラムに従って前記制御演算を実行する演算制御部
と、 この演算制御部から出力され、前記外部表示装置に表示
出力するデータ及び該当データの表示桁数を一時記憶す
るデータレジスタと、 このデータレジスタに記憶されたデータを表示データに
変換するデコーダ回路と、 前記表示桁数及び前記デコーダ回路で変換された表示デ
ータを前記外部表示装置へ送出する出力回路とを備えた
シーケンサ。3. A sequencer for executing a predetermined control operation on input data from a control target, outputting a calculation result as operation data to the control target, and displaying and outputting the input data or operation data to an external display device. An arithmetic control unit for executing the control operation in accordance with a control program described in a sequence language loaded from the outside; data output from the arithmetic control unit and displayed on the external display device; and display digits of the data. A data register for temporarily storing numbers, a decoder circuit for converting data stored in the data register into display data, and an output for sending the display digits and display data converted by the decoder circuit to the external display device. Sequencer with a circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25873197A JPH1195817A (en) | 1997-09-24 | 1997-09-24 | Sequencer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP25873197A JPH1195817A (en) | 1997-09-24 | 1997-09-24 | Sequencer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH1195817A true JPH1195817A (en) | 1999-04-09 |
Family
ID=17324315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP25873197A Pending JPH1195817A (en) | 1997-09-24 | 1997-09-24 | Sequencer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH1195817A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100460935C (en) * | 2003-07-23 | 2009-02-11 | 株式会社瑞萨科技 | Display drive control device, driving method thereof, electronic device, and semiconductor integrated circuit |
-
1997
- 1997-09-24 JP JP25873197A patent/JPH1195817A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100460935C (en) * | 2003-07-23 | 2009-02-11 | 株式会社瑞萨科技 | Display drive control device, driving method thereof, electronic device, and semiconductor integrated circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6010644B2 (en) | Sequence display control method | |
JPH01274202A (en) | Loop controller | |
JPH0148487B2 (en) | ||
JPH1195817A (en) | Sequencer | |
CN1007663B (en) | World timepiece | |
JP2003131709A (en) | Control display system, control program and recording medium storing the program | |
GB2288674A (en) | Monitoring method and apparatus using a programmable logic controller | |
WO1992009940A1 (en) | Method for executing program for cnc equipment | |
ES2212526T3 (en) | INFORMATION TRANSMISSION SYSTEM. | |
JP2963676B2 (en) | Programmable controller | |
JPH03154104A (en) | Positioning controller | |
JP2001228274A (en) | Electronic counter | |
JP2000214921A (en) | Display device | |
JP2003228418A (en) | Control apparatus for industrial purpose robot, and display method for the apparatus | |
JP2752771B2 (en) | Programming training equipment | |
JPH025103A (en) | Programmable controller | |
JPS63113704A (en) | Programmable controller having measurement display function | |
JPH08286734A (en) | Programmable display device | |
JPS5856121B2 (en) | sequence programmer | |
JPS61125635A (en) | On/off data setting system for program timer | |
JP2647428B2 (en) | Control devices for automatic control systems | |
JPH027476B2 (en) | ||
JP2666312B2 (en) | Programmable controller | |
JPH08328609A (en) | Program display controller | |
JPH11109907A (en) | Input / output data display device, data input / output system and input / output data display method |