JPS6148009A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPS6148009A
JPS6148009A JP59170270A JP17027084A JPS6148009A JP S6148009 A JPS6148009 A JP S6148009A JP 59170270 A JP59170270 A JP 59170270A JP 17027084 A JP17027084 A JP 17027084A JP S6148009 A JPS6148009 A JP S6148009A
Authority
JP
Japan
Prior art keywords
monitor
command
information
input
external crt
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
JP59170270A
Other languages
Japanese (ja)
Inventor
Takashi Hinoyama
隆 日野山
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP59170270A priority Critical patent/JPS6148009A/en
Publication of JPS6148009A publication Critical patent/JPS6148009A/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/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/052Linking several PLC's

Abstract

PURPOSE:To speed up the monitor processing by reading the I/O information required for the picture plane designated by a registration request command from an I/O buffer memory to edit and regist and by monitoring solely the delivery of picture plane table number from the external CRT monitor device side. CONSTITUTION:After the initial processing during the serial interface service, YES or NO is decided for the input of any command from external CRT monitor device 1. When the command is put in, the contents thereof are analyzed and when the command requires the registering of monitor information, the I/O information required for the picture plane designated by the command is read from an I/O buffer memory 23 to edit into the monitor information and to register the information on the corresponding picture plane table. When the command requires additionally the registering of monitor information, the monitor information of the table corresponding to the picture plane designated by the commant is read out to send it to the external CRT device.

Description

【発明の詳細な説明】 (発明の分野) この発明は、外部CRTモニタ装置を接続可能としたプ
ログラマブル・コントローラに関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a programmable controller to which an external CRT monitor device can be connected.

(従来技術とその問題点) 従来、外部CRTモニタ装置(パソコンなど)を伝送ラ
インを介して接続可能としたプログラマブル・コントロ
ーラにあっては、まず外部CRTモニタ装置側において
モニタに必要な情報(例えばI10アドレス、Iil集
方決方法)を画面情報から作成し、これをシリアル伝送
によって要求コマンドの形でプログラマブル・コントロ
ーラ本体側へと送出し、他方プログラマブル・コントロ
ーラ本体側においては、この要求コマンドを解析した後
、必要な入出力情報を入出力バッフ1メモリから読み出
すとともに、これをモニタ情報に編集して外部CRTモ
ニタ装置側へと返送していた。
(Prior art and its problems) Conventionally, in a programmable controller that can connect an external CRT monitor device (such as a personal computer) via a transmission line, the information necessary for the monitor (for example, I10 address, Iil collection determination method) is created from the screen information and sent to the programmable controller main unit in the form of a request command via serial transmission, and on the other hand, the programmable controller main unit analyzes this request command. After that, necessary input/output information is read from the input/output buffer 1 memory, and this is edited into monitor information and sent back to the external CRT monitor device.

しかしながら、このような方式にあっては、プログラマ
ブル・コントローラ本体側において要求コマンドを受は
取るたびμ二、コマ−ノドの解析9データ取込み、モニ
タ情報への編集等の複雑な作業が必要であるため、モニ
タ処理に時間がかかり、その分だけプログラマブル・コ
ントローラにおける本来の命令実行速度が制約を受ける
などの悪影響があった。
However, with this type of system, every time a request command is received on the programmable controller side, complex operations such as command node analysis9 data import and editing into monitor information are required. Therefore, monitoring processing takes time, which has an adverse effect, such as restricting the original instruction execution speed of the programmable controller.

(発明の目的) この発明の目的は、この種の外部CRTモニタ装置を接
続可能としたプログラマブル・コントローラにおいて、
モニタ処理の高速化を達成することにある。
(Object of the Invention) The object of the present invention is to provide a programmable controller to which this type of external CRT monitor device can be connected.
The objective is to achieve faster monitoring processing.

(発明の構成と効果) この発明は上記の目的を達成するために、外部CRTモ
ニタ装置から与えられる登録要求コマンドに応答して、
該コマンドで指定された画面に必要な入出力情報を入出
力バッファメモリから読出し、これをモニタ情報に41
1集して該当する画面テーブルに登録する登録制御手段
と、外部CRTモニタ装置から与えられるモニタ要求コ
マンドに応答して、該コマンドで指定された画面に対応
するテーブルのモニタ情報を外部CRTモニタ装置へ送
出するモニタ情報送出手段とを具備することを特徴とす
るものである。
(Structure and Effects of the Invention) In order to achieve the above object, the present invention responds to a registration request command given from an external CRT monitor device.
Reads the input/output information necessary for the screen specified by the command from the input/output buffer memory and uses it as monitor information.
A registration control means that collects all the information and registers it in the corresponding screen table; and in response to a monitor request command given from the external CRT monitor device, monitor information of the table corresponding to the screen specified by the command is sent to the external CRT monitor device. The apparatus is characterized by comprising a monitor information transmitting means for transmitting monitor information to.

このような構成によれば、モニタ時にあっても外部CR
Tモニタ′4A置側にあっては画面テーブル番号を送出
するのみで済み、他方プログラマブル・コントローラ本
体側においても、情報の解析。
According to such a configuration, even when monitoring, the external CR
On the T monitor '4A side, it is only necessary to send the screen table number, and on the other hand, on the programmable controller main body side, the information can also be analyzed.

変換、処理が不要となる。No conversion or processing is required.

このため、外部CRTモニタ装置とプログラマブル・コ
ントローラ本体の処理時間、伝送損が減少し、モニタ処
理の高速化を図ることができる。
Therefore, the processing time and transmission loss between the external CRT monitor device and the programmable controller main body are reduced, and the speed of monitoring processing can be increased.

(実施例の説明) 第1図は、この発明を概念的に説明するブロック図であ
り、同図において外部CRTモニタ装置1は、パソコン
などのデータ処理装置とCRTとから構成されており、
この外部CRTモニタ装置1はシリアル伝送ラインを介
して、プログラマブル・コントローラ本体装置2へと接
続される。
(Description of Embodiments) FIG. 1 is a block diagram conceptually explaining the present invention. In the figure, an external CRT monitor device 1 is composed of a data processing device such as a personal computer and a CRT.
This external CRT monitor device 1 is connected to a programmable controller main body device 2 via a serial transmission line.

プログラマブル・コントローラ本体装置2側では、外部
CRTモニタ装置1から与えられる登録要求コマンドに
応答して、該コマンドで指定された画面に必要な入出力
情報を入出カバソファメモリから続出し、これをモニタ
情報に編集して該当する画面テーブルに登録する。
On the programmable controller main unit 2 side, in response to the registration request command given from the external CRT monitor device 1, input/output information necessary for the screen specified by the command is successively outputted from the input/output cover sofa memory and monitored. Edit the information and register it in the corresponding screen table.

また、外部CRTモニタ装置1から与えられるモニタ要
求コマンドに応答して、該コマンドで指定された画面に
対応するテーブルのモニタ情報を外部CRTモニタ装置
1へと返送するようになっている。
Further, in response to a monitor request command given from the external CRT monitor device 1, the monitor information of the table corresponding to the screen specified by the command is sent back to the external CRT monitor device 1.

次に、本発明をより具体的に説明する。第2図はプログ
ラマブル・コントローラ本体装置2のハードウェア構成
を示すブロック図である。
Next, the present invention will be explained more specifically. FIG. 2 is a block diagram showing the hardware configuration of the programmable controller main unit 2. As shown in FIG.

このプログラマブル・コントローラ本体装置は、CPU
20.システムプログラムメモリ21.ワーキングメモ
リ229人出力バッフ1メモリ23゜ユーザプログラム
メモリ24.シリアル伝送インターフェイス25および
入出力4!置26等によって構成されており、シリアル
伝送インターフェイス25はシリアル伝送ラインを介し
て外部CRTモニタ装冒1に接続されている。
This programmable controller main unit has a CPU
20. System program memory 21. Working memory 229 people output buffer 1 memory 23° user program memory 24. Serial transmission interface 25 and input/output 4! The serial transmission interface 25 is connected to the external CRT monitor device 1 via a serial transmission line.

CPU20は、本体装置の全体を統括制御するものであ
り、システムプログラムメモリ21には、第3図に小寸
如きシステム制御タスクおよび第4図に示す如きシリア
ルインターフェイスタスクが格納されている。
The CPU 20 centrally controls the entire main unit, and the system program memory 21 stores a system control task as shown in FIG. 3 and a serial interface task as shown in FIG. 4.

ワーキングメモリ22は、演算処理の際のワーキングエ
リアとして利用されるほか、この発明に係るモニタ情報
登録テーブルが設けられている。
The working memory 22 is used as a working area during arithmetic processing, and is also provided with a monitor information registration table according to the present invention.

ここで、モニタ情報登録テーブルは、外部CRTモニタ
装置装置名画面に対応して複数設けられている。
Here, a plurality of monitor information registration tables are provided corresponding to the device name screen of the external CRT monitor device.

人出力バッフ1メモリ23は、入出力装置26の入出カ
ニリアに対応した記憶容■が設けられており、後述する
入出力更新処理によって、入出力装置26からの入力デ
ータの更新J5よび入出力装置26への出力データの更
新が行なわれるようになっている。
The human output buffer 1 memory 23 is provided with a storage capacity corresponding to the input/output capacity of the input/output device 26, and is updated J5 of the input data from the input/output device 26 and input/output device by the input/output update process described later. The output data is updated to 26.

ユーザプログラムメモリ24には、ユーザが適宜設定し
たラダーダイヤグラム図に対応した命令tBが順次格納
されることとなる。
The user program memory 24 sequentially stores instructions tB corresponding to the ladder diagram appropriately set by the user.

次に、第3図および第4図を参照して、このプログラマ
ブル・コントローラ装置の動作を説明づ−る。
Next, the operation of this programmable controller device will be explained with reference to FIGS. 3 and 4.

まず、電源投入等によりプログラムがスタートすると、
イニシャル処理が実行された後(ステップ100)、図
示しないプログラミングコンソールにおいて命令実行モ
ードに設定されるまでの間、プログラミングコンソール
処理(ステップ101)、シリアルインターフェイスサ
ービス(ステップ102 ) J5よび出力クリア処理
(ステップ104)が繰り返し実行される。
First, when the program starts by turning on the power, etc.,
After initial processing is executed (step 100), programming console processing (step 101), serial interface service (step 102), J5 and output clear processing (step 104) is repeatedly executed.

プログラミングコンソール処理(ステップ101)とは
、プログラミングコンソールに451′jるキー人力操
作に応じて、入力データに応じた各種の処理を実行する
ものである。
The programming console process (step 101) is to execute various processes according to input data in response to manual key operations 451'j on the programming console.

シリアルインターフェイスサービス処理(ステップ10
2)は本発明に関連して新たに設Gすたちので、その詳
細は第3図を参照しながら後述することとする。
Serial interface service processing (step 10)
2) has been newly established in connection with the present invention, and its details will be described later with reference to FIG.

出力リセット処理(ステップ104)では、入出力装置
26の外部出力ラッチをすべてり1ノアする処理が行な
われる。
In the output reset process (step 104), all external output latches of the input/output device 26 are reset to 1NOR.

以上の動作を繰りMt間に、プログラミングコンソール
において命令実行モードへの設定が(テなわれるとくス
テップ103肖定)、プログラムカウンタPCは初期設
定された後(ステップ105)、ユーザ命令の実行処理
が開始される。
After repeating the above operations, the instruction execution mode is set on the programming console (step 103), the program counter PC is initialized (step 105), and the user instruction execution process is started. Begins.

すなわち、ユーザプログラムメモリから命令語を1語ず
つ読出しくステップ106) 、この命令を実行しくス
テップ108)、次いでプログラムカウンタPCを更新
しては同様な動作を繰り返しくステップ109)、この
間にEND命令が読み出されたならば(ステップ107
肯定)、入出力更新処理を実行するくステップ110〉
That is, step 106) reads the instruction words one by one from the user program memory, steps 108) executes the instructions, then updates the program counter PC and repeats the same operation step 109), during which the END instruction is executed. is read out (step 107
(Yes), execute input/output update processing (step 110)
.

そして、入出力更新処理が実行完了したならG、?(ス
テップ110)、プログラミングコンソール処理(ステ
ップ101)、シリアルインターフェイスサービス(ス
テップ102)および一連の命令実行処II(ステップ
105〜109)および入出力更新処理(ステップ11
0)を繰り返し実行することとなる。
Then, if the input/output update processing is completed, G? (Step 110), programming console processing (Step 101), serial interface service (Step 102), a series of instruction execution processing II (Steps 105 to 109), and input/output update processing (Step 11).
0) will be executed repeatedly.

次に、第4図を参照しながらシリアルインター7エイス
サービスの詳細を説明する。この処理では、まずイニシ
ャル処理を経た後(ステップ1020)、外部CRTモ
ニタ装置1からなんらf’Xのコマンドが到来したか否
を判定しくステップ1021)、コマンドが到来したな
らばその内容を解析する。
Next, details of the serial interface service will be explained with reference to FIG. In this process, after initial processing (step 1020), it is determined whether any f'X command has arrived from the external CRT monitor device 1 (step 1021), and if a command has arrived, its contents are analyzed. .

ここで、コマンドがモニタ情報登録要求コマンドであれ
ば(ステップ1022肖定)、このコマンドで指定され
た画面に必要な入゛出力情報を人出カバラフアメモリ2
3から読出し、これをモニタ情報に編集して該当する画
面テーブルに登録する(ステップ1023>a また、到来したコマンドがモニタ情報要求コマンドであ
れば(ステップ1024肯定)、このコマンドで指定さ
れる画面に対応するテーブルのモニタ情報を読出しくス
テップ1025>、これを外部CRTモニタ装同へと送
出するくステップ1026)。
Here, if the command is a monitor information registration request command (step 1022), input/output information necessary for the screen specified by this command is stored in the crowd cover far memory 2.
3, edit this into monitor information, and register it in the corresponding screen table (step 1023>a. Also, if the incoming command is a monitor information request command (step 1024 affirmative), the screen specified by this command The monitor information in the table corresponding to the table is read out (step 1025), and the information is sent to the external CRT monitor device (step 1026).

また、その他のコマンドであればそれぞれ該当するコマ
ンド処理を行ないくステップ1027)、以後コマンド
入力持ら(ステップ1021)以降の処理を繰り返すこ
ととなる。
If it is another command, the corresponding command processing is performed (step 1027), and the processing after the command input (step 1021) is repeated.

したがって、このプログラマブル・コントローラによれ
ば、予め外部CRTモニタ装置1側から、各画面に対応
した必要モニタ情報を登録コマンドの形でプログラマブ
ル・コントローラ本体側へ与えておきさえすれば、これ
に応答して本体装置2側ではこのコマンドで指定された
画面に必要な入出力情報を入出力バッフ7メモリ23か
ら読出しこれをモニタ情報に編集して該当する画面テー
ブルに登録が行なわれるため、以後外部CRTモニタ′
3A置1側から画面テーブル番号とともにモニタ情報要
求コマンドを送出するだけで、直ちに必要画面に対応し
たモニタ情報が外部CRTモニタ装置1側に送出される
こととなる。
Therefore, according to this programmable controller, as long as the necessary monitor information corresponding to each screen is given in advance from the external CRT monitor device 1 to the programmable controller main body in the form of a registration command, it is possible to respond to this. On the main unit 2 side, the input/output information necessary for the screen specified by this command is read from the input/output buffer 7 memory 23, edited as monitor information, and registered in the corresponding screen table. monitor'
By simply sending a monitor information request command together with the screen table number from the 3A unit 1 side, monitor information corresponding to the required screen is immediately sent to the external CRT monitor device 1 side.

ここで、モニタ要求コマンドは数バイトで収まり、コマ
ンド情報を解析する必要がないため、次のシリアルイン
ターフェイスサービス時にデータが直ちに取込め、この
点からもレスポンス応答スピードが向上することとなる
Here, since the monitor request command only takes a few bytes and there is no need to analyze the command information, the data can be taken in immediately during the next serial interface service, which also improves the response speed.

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

第1図は本発明を概念的に説明するブロック図、第2図
はプログラマブル・コントローラ装置のハードウェア溝
成を示すブロック図、第3図はシステムプログラムの全
体溝成を示すフローチャート、第4図はシリアルインタ
ーフェイスタスクの詳細を示ずフローチャートである。 1・・・外部CRTモニタ装置 2・・・プログラマブル・コントローラ本体装置20・
・・CPU 21・・・システムプログラムメモリ 22・・・ワーキングメモリ 23・・・人出ツノバッフ1メモリ 24・・・ユーザプログラムメモリ 25・・・シリアル伝送インターフェイス26・・・入
出力装置
FIG. 1 is a block diagram conceptually explaining the present invention, FIG. 2 is a block diagram showing the hardware configuration of the programmable controller device, FIG. 3 is a flowchart showing the overall system program configuration, and FIG. 4 is a flowchart without showing details of the serial interface task. 1... External CRT monitor device 2... Programmable controller main unit 20.
... CPU 21 ... System program memory 22 ... Working memory 23 ... Attendance buffer 1 memory 24 ... User program memory 25 ... Serial transmission interface 26 ... Input/output device

Claims (1)

【特許請求の範囲】[Claims] (1)外部CRTモニタ装置から与えられる登録要求コ
マンドに応答して、該コマンドで指定された画面に必要
な入出力情報を入出力バッファメモリから読出し、これ
をモニタ情報に編集して該当する画面テーブルに登録す
る登録制御手段と;外部CRTモニタ装置から与えられ
るモニタ要求コマンドに応答して、該コマンドで指定さ
れた画面に対応するテーブルのモニタ情報を外部CRT
モニタ装置へ送出するモニタ情報送出手段とを具備する
ことを特徴とするプログラマブル・コントローラ。
(1) In response to a registration request command given from an external CRT monitor device, input/output information necessary for the screen specified by the command is read from the input/output buffer memory, edited into monitor information, and displayed on the corresponding screen. Registration control means for registering in a table; in response to a monitor request command given from an external CRT monitor device, monitor information in the table corresponding to the screen specified by the command is registered in the external CRT monitor;
A programmable controller comprising monitor information sending means for sending out to a monitor device.
JP59170270A 1984-08-15 1984-08-15 Programmable controller Pending JPS6148009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59170270A JPS6148009A (en) 1984-08-15 1984-08-15 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59170270A JPS6148009A (en) 1984-08-15 1984-08-15 Programmable controller

Publications (1)

Publication Number Publication Date
JPS6148009A true JPS6148009A (en) 1986-03-08

Family

ID=15901822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59170270A Pending JPS6148009A (en) 1984-08-15 1984-08-15 Programmable controller

Country Status (1)

Country Link
JP (1) JPS6148009A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0351882A2 (en) * 1988-07-22 1990-01-24 Hitachi, Ltd. Programmable controller
US5487609A (en) * 1991-05-13 1996-01-30 Thk Co., Ltd. Slide unit for linear motion
DE3990964C2 (en) * 1988-08-16 1996-02-15 Thk Co Ltd Straight sliding bearing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0351882A2 (en) * 1988-07-22 1990-01-24 Hitachi, Ltd. Programmable controller
DE3990964C2 (en) * 1988-08-16 1996-02-15 Thk Co Ltd Straight sliding bearing
US5487609A (en) * 1991-05-13 1996-01-30 Thk Co., Ltd. Slide unit for linear motion

Similar Documents

Publication Publication Date Title
JPS62169242A (en) Decentralized editing system
JPS6148009A (en) Programmable controller
JPH10161902A (en) Computer control system and operation reproducing device therefor
JPH025101A (en) Programmable controller system
JPH08194634A (en) Test execution system
JPH01267759A (en) System for supervising terminal in time sharing system
JPH08263107A (en) Editing system for sequence program
JPH06168203A (en) Centralized picture transition managing system
JPH1021191A (en) Command history managing device for information processor
JPH03290741A (en) Error logging method
JP2631778B2 (en) Computer program test equipment
JPH01244502A (en) Pc program display system
JP3399709B2 (en) Data extraction method in programmable controller and programmable controller
JP2639224B2 (en) Method of sharing process selection between multiple processes
JPH04171569A (en) Statistical analyzing system
JPS63292313A (en) Succession method for parameter value
JPH02259859A (en) Data entry system
JPH02165364A (en) Input/output picture maintenance processing system
JPS6142290B2 (en)
JPH06250732A (en) Programmable controller
JPH0497448A (en) Interactive type simplex testing system
JPH01274269A (en) Text input control system
JPS62133512A (en) Menu guide screen managing device for interactive system
JPH04213149A (en) Terminal output control system
JPH03273338A (en) Data input device for expert system