JPS6341908A - Monitor device for programmable controller - Google Patents

Monitor device for programmable controller

Info

Publication number
JPS6341908A
JPS6341908A JP18535786A JP18535786A JPS6341908A JP S6341908 A JPS6341908 A JP S6341908A JP 18535786 A JP18535786 A JP 18535786A JP 18535786 A JP18535786 A JP 18535786A JP S6341908 A JPS6341908 A JP S6341908A
Authority
JP
Japan
Prior art keywords
information
cpu
main cpu
dual port
port ram
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
JP18535786A
Other languages
Japanese (ja)
Inventor
Shigeru Yamamoto
山元 茂
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing Co 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP18535786A priority Critical patent/JPS6341908A/en
Publication of JPS6341908A publication Critical patent/JPS6341908A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To obtain a high-speed, flexible communicating function while minimizing the load on a main CPU by connecting a subordinate CPU exclusive for communication control to the main CPU through a dual port RAM and gathering information from plural PCs through this subordinate CPU. CONSTITUTION:When the numbers of programmable controllers (PC) and reference numbers in respective PC are specified, the setting procedure generation part 11 of the main CPU generates a table 12 for the reference numbers based on the information. Then, an optimum procedure generation part 13 generates subordinate CPU control information 14 based on the reference number table. The algorithm of the optimum procedure generation part 13 performs sorting according to the PC numbers and reference numbers and then groups information within a range wherein the information is obtained through a bus 7 by making a communication once. Then, control information 14 is placed on the dual port RAM 5 in line mode, the subordinate CPU 6 begins to scan the PCs individually on the basis of the control information, and the main CPU 3 obtains usually up-to-date information thereafter only by checking the dual port RAM 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラマブルコントローラ(以下PCと称
する)のモニタ装置に関するもので、さらに詳しくは、
PC本体の外部に設けられたモニタ機能内におけるモニ
タリング本来の仕事に付随した接点情報の収集に対する
負荷軽減と効率向上を目指すものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a monitor device for a programmable controller (hereinafter referred to as PC), and more specifically,
The aim is to reduce the load and improve the efficiency of collecting contact information associated with the original monitoring work within the monitor function provided outside the PC body.

〔従来の技術と問題点〕[Conventional technology and problems]

PCの外部に設けたコンピュータが、PCの動作状態を
モニタすること自体は公知である。(例えば、特公昭6
0−146303参照)ところが、従来の方法では、モ
ニタ画面等の作成から通信機能まで、コンピュータの汎
用言語で実現しなければならず、稼動させるまでに非常
な労力を必要とした。
It is well known that a computer provided outside a PC monitors the operating status of the PC. (For example, Tokuko Sho 6
(Refer to 0-146303) However, in the conventional method, everything from creating a monitor screen, etc. to communication functions had to be realized using a general-purpose computer language, and it required a great deal of effort to get it up and running.

プログラマブルコントローラのモニタ装置では、PCが
扱う接点の0N10FF状態を表示するために、表示に
関わる全ての接点情報が即座に必要となる。しかも、1
台のモニタ装置には複数のPCが接続されることが多い
。そして、表示プログラムは接点状態を表示するだけで
なく、必要とする接点情報を所定のPCから集めて来る
ことも行わなければならなかった。このため、複数のP
Cにまたがる接点情報の収集に適した収集順序なども考
慮しなければならず、表示レイアウト等の変更に伴い情
報収集に関する条件設定の変更をも行わねばならないな
ど、システムを固いものにしてしまっていた。
In a programmable controller monitor device, in order to display the 0N10FF state of the contacts handled by the PC, all contact information related to the display is immediately required. Moreover, 1
A plurality of PCs are often connected to a single monitor device. The display program must not only display the contact status but also collect necessary contact information from a predetermined PC. For this reason, multiple P
It is necessary to consider the appropriate collection order for collecting contact information that spans C, and it is also necessary to change the condition settings regarding information collection when changing the display layout, etc., making the system rigid. Ta.

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

本発明は、このような事情を考え、PC専用のモニタ装
置を構築するにあたり、PCとモニタ装置との間に、高
速でかつ必要情報の効率良い収集を自動的に行う機能を
持った通信手段を提供することを目的とするものである
In consideration of these circumstances, the present invention provides a communication means that has the function of automatically collecting necessary information at high speed and efficiently between the PC and the monitor device when constructing a monitor device exclusively for the PC. The purpose is to provide the following.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上記の問題点を解消するためになされたもの
で通信手段として高速性と柔軟性を両立させるために、
通信コントロール専用の副CP UをデュアルポートR
AMを介して主CPUと接続し、この副CPUを通して
複数のPCからの情報を収集するようにしたものである
The present invention was made to solve the above problems, and in order to achieve both high speed and flexibility as a communication means,
Dual port R for secondary CPU dedicated to communication control
It is connected to the main CPU via AM and collects information from a plurality of PCs through this sub-CPU.

〔作 用〕[For production]

本発明は、主CPUの負荷を小さくするとともに、通信
プロトコルの制約を考慮した上で、最も効率が良くなる
ような副CPUの制御手順を自動生成するという特徴を
持つ。
The present invention is characterized in that it reduces the load on the main CPU and automatically generates the most efficient control procedure for the sub-CPU in consideration of communication protocol constraints.

すなわち、副CPUは作成された表示プログラムにおけ
る必要情報のアドレスをテーブルとして生成し、これに
基づいて、複数のPCから効率良く情報を収集する順序
室てを行う手段を提供する。
That is, the sub-CPU generates a table containing the addresses of necessary information in the created display program, and based on this table provides means for efficiently collecting information from a plurality of PCs.

このため、副CPUは、単独ですべてのPCの走査を高
速に行ない、また主CPUはいつでも必要な情報をすぐ
に手に入れることができることになる。
Therefore, the sub CPU can independently scan all PCs at high speed, and the main CPU can immediately obtain necessary information at any time.

〔実施例〕〔Example〕

第1図は本発明の実施例のブロック図を示すもので、1
はキーボード2.主CPU、CRT4゜デュアルポート
RAM5及び副CPU6から成る本発明にか\るモニタ
装置である。
FIG. 1 shows a block diagram of an embodiment of the present invention.
is keyboard 2. This is a monitor device according to the present invention comprising a main CPU, a CRT 4° dual port RAM 5, and a sub CPU 6.

このモニタ装置1は各PC8,9と1本のハス7によっ
て結合されており、このバス7と主CPU3の間には、
1個の副CPU6とデュアルポートRAM5が介在して
いて、両CPU0間の通信は、このデュアルポートRA
M5を通じて行われる。
This monitor device 1 is connected to each PC 8, 9 by one lotus 7, and between this bus 7 and the main CPU 3,
One sub CPU 6 and dual port RAM 5 are interposed, and communication between both CPUs 0 is via this dual port RAM.
This is done through M5.

モニタ装置1は、エデイツトモード(グラフインク画面
作成1条件設定等)、ラインモード(PCのオンライン
監視)との2つのモードをもっているが、これらの各モ
ードでPCとの通信手段がどのように実現されているか
を、以下に詳しく説明する。
The monitor device 1 has two modes: edit mode (Graph Ink screen creation 1 condition setting, etc.) and line mode (online PC monitoring). How this has been achieved will be explained in detail below.

まず、エデイツトモードにおいて、オペレータはキーボ
ード2を使用して対話形式により各PC内部の接点情報
とモニタ装置に格納された表示画面との対応を、pc番
号(バス7上の各PCに割当てられている番号)と各P
C内部のリファレンス番号(PC内部の各コイルに割当
てられている番号)によって指定する。
First, in the edit mode, the operator uses the keyboard 2 to interactively check the correspondence between the contact information inside each PC and the display screen stored in the monitor device by the PC number (assigned to each PC on the bus 7). number) and each P
It is specified by a reference number inside the PC (a number assigned to each coil inside the PC).

これらの情報は、エデイツトモードが終了した時点で自
動的に次のように処理される。
This information is automatically processed as follows when the edit mode ends.

即ち、第2図に示すように、キーボード2によってpc
番号と各PC内部のリファレンス番号を指定すると、ま
ず主CPUの設定手順作成部11において、この情報か
らリファレンス番号のテーブル12を生成する。
That is, as shown in FIG.
When the number and the reference number inside each PC are specified, first, the setting procedure creation unit 11 of the main CPU generates a table 12 of reference numbers from this information.

次にこのリファレンス番号テーブルに基づいて最適手順
作成部13が副cpu制御情報14を生成する。
Next, the optimal procedure creation unit 13 creates the sub CPU control information 14 based on this reference number table.

この最適手順作成部13におけるアルゴリズムは、第3
図に示すように、pc番号及びリファレンス番号により
ソーティングした後、バス7の1回の通信で得られる範
囲内で、グループ分けするものである。
The algorithm in this optimal procedure creation unit 13 is based on the third
As shown in the figure, after sorting by PC number and reference number, the data are grouped within the range that can be obtained by one communication on the bus 7.

次に、ラインモードに入ると、前述の制御情報14はデ
ュアルポー1−RAM5の上に置かれ、副CPLJ6は
、それをもとに単独でPCの走査を始め、以後、主CP
U3は、デュアルポートRAM5を見るだけで常に最新
の情報が得られることになる。
Next, when the line mode is entered, the aforementioned control information 14 is placed on the dual port 1-RAM 5, and the sub CPLJ 6 starts scanning the PC independently based on it.
U3 can always obtain the latest information just by looking at the dual port RAM 5.

制御情報14は、主に2つのテーブルから成っており、
基本受信テーブルは、各pcの基本的なデータをサイク
リックに収集するためのもので、これに対して高速受信
テーブルで指定されたデータは、より高い頻度の走査が
保証される。これは、エデイツトモードの設定時に指定
が可能である。
The control information 14 mainly consists of two tables,
The basic reception table is for cyclically collecting basic data of each PC, whereas the data specified in the high speed reception table is guaranteed to be scanned more frequently. This can be specified when setting the edit mode.

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

従来、複数のプログラマブルコントローラの状態表示を
外部のプログラム可能なモニタ装置で行う場合、表示に
必要とする情報を収集するプログラムを、モニタ装置側
に作り込む事により、プログラマブルコントローラ側か
ら収集しなければならなかった。
Conventionally, when displaying the status of multiple programmable controllers using an external programmable monitor device, the information required for display had to be collected from the programmable controllers by creating a program in the monitor device. did not become.

これらの方法では、収集する情報の変更を、表示プログ
ラムの変更に伴い行わなければならず、しかも、複数の
プログラマブルコントローラから情報を収集するための
、効率良い順序量てなど、表示プログラムの作成と変更
以外の難しさがあった。
In these methods, the information to be collected must be changed in conjunction with the change in the display program, and moreover, it is necessary to create the display program and find an efficient sequence for collecting information from multiple programmable controllers. There were other difficulties besides the changes.

以上述べた本発明によれば、PC専用のモニタ装置にお
いて、モニタ装置の主CPUの負荷を最小限に押えなが
ら高速で柔軟な通信機能を実現し、また接点情報の収集
方法を意識せずにモニタプログラムの作成・変更を容易
に行うことが出来るなど大きな効果がある。
According to the present invention described above, in a monitor device dedicated to a PC, a high-speed and flexible communication function can be realized while minimizing the load on the main CPU of the monitor device, and the communication function can be realized without being aware of the method of collecting contact information. This has great effects, such as the ability to easily create and change monitor programs.

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

第1図は、本発明実施例のブロック図、第2図は、エデ
イツトモードにおける通信制御情報の流れ図、第3図は
、最適手順作成部での処理の流れを示す図である。 1・・・モニタ装置 2・・・キーボード 3・・・主CPU 4・・・CRT 5・・・デュアルポートRAM 6・・・副cpu 7・・・バス 8.9・・・プログラマブルコントローラ特許出願人 
株式会社安川電機製作、所 ′、)°・1同 代理人 
 服   部  修  二   −・′′−1−−−一
一。 糸 1 図 第 2 図 第 3I21
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart of communication control information in edit mode, and FIG. 3 is a diagram showing the flow of processing in an optimal procedure creation section. 1...Monitor device 2...Keyboard 3...Main CPU 4...CRT 5...Dual port RAM 6...Sub CPU 7...Bus 8.9...Programmable controller patent application Man
Yaskawa Electric Seisakusho Co., Ltd.',)°・1 Agent
Shuji Hattori -・′′-1---11. Thread 1 Figure 2 Figure 3I21

Claims (1)

【特許請求の範囲】[Claims] キーボード2と、このキーボード2により入力したプロ
グラマブルコントローラ番号と各プログラマブルコント
ローラ内部のリファレンス番号から副CPU制御情報を
作成する主CPU3と、前記副CPU制御情報を記憶す
るデュアルポートRAM5と、前記デュアルポートRA
M5の記憶情報に基づいて接続されたプログラマブルコ
ントローラ8、9・・・・・・を通信制御する副CPU
6と、CRT4を具備したことを特徴とするプログラマ
ブルコントローラのモニタ装置。
A keyboard 2, a main CPU 3 that creates sub-CPU control information from the programmable controller number input using the keyboard 2 and a reference number inside each programmable controller, a dual-port RAM 5 that stores the sub-CPU control information, and the dual-port RA.
A sub-CPU that communicates and controls the connected programmable controllers 8, 9, etc. based on the memory information of M5.
6, and a CRT4.
JP18535786A 1986-08-08 1986-08-08 Monitor device for programmable controller Pending JPS6341908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18535786A JPS6341908A (en) 1986-08-08 1986-08-08 Monitor device for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18535786A JPS6341908A (en) 1986-08-08 1986-08-08 Monitor device for programmable controller

Publications (1)

Publication Number Publication Date
JPS6341908A true JPS6341908A (en) 1988-02-23

Family

ID=16169371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18535786A Pending JPS6341908A (en) 1986-08-08 1986-08-08 Monitor device for programmable controller

Country Status (1)

Country Link
JP (1) JPS6341908A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615104A (en) * 1994-03-31 1997-03-25 Mitsubishi Denki Kabushiki Kaisha Monitoring method and apparatus using a programmable logic controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615104A (en) * 1994-03-31 1997-03-25 Mitsubishi Denki Kabushiki Kaisha Monitoring method and apparatus using a programmable logic controller

Similar Documents

Publication Publication Date Title
DE69028744T2 (en) Intelligent network interface circuit
US6711448B2 (en) Setting display apparatus for a programmable controller
JPS6341908A (en) Monitor device for programmable controller
JP2001313659A (en) Field device communication apparatus in distributed control system
CN104049603B (en) Slave computer parameter configuration inquiries system and method
JP2513029B2 (en) Task management method
JPH0973411A (en) Decentralized control system for access load
CN205608500U (en) Cross -platform open numerical control system based on QT
JP2002157304A (en) Schedule preparing device and its method and production system and recording medium
JPH0973405A (en) Display method for parallel program operation state
JPH0222711A (en) Nc machine tool
JPH031256A (en) Input/output control processing system for disk device in on-line terminal
CN1050099A (en) Processing station and method of operating thereof
JP2525059B2 (en) How to display sequence control
JPS61195446A (en) Terminal control device
JPH0720158B2 (en) Data transmission method
JPH07325778A (en) Process control system
JPS6134609A (en) Error output managing system
CN118368304A (en) Intelligent shield tunneling machine data interaction system
JPH0519839A (en) Numerical control group control system
JPH01258061A (en) Backup system for decentralized control system
JPH08171574A (en) Data logger device
JPH05244161A (en) Logical address number control system for lan connected work station and lan system
JPS62266604A (en) Remote programming console device
JPS60175104A (en) Numerical control device system