JPH04160407A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH04160407A
JPH04160407A JP28677990A JP28677990A JPH04160407A JP H04160407 A JPH04160407 A JP H04160407A JP 28677990 A JP28677990 A JP 28677990A JP 28677990 A JP28677990 A JP 28677990A JP H04160407 A JPH04160407 A JP H04160407A
Authority
JP
Japan
Prior art keywords
programmable controller
monitor
comment
cpu
plc
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
JP28677990A
Other languages
Japanese (ja)
Inventor
Shunei Horikawa
堀川 俊英
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 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP28677990A priority Critical patent/JPH04160407A/en
Publication of JPH04160407A publication Critical patent/JPH04160407A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To increase the speed of a monitor display of the contents of the programmable controller PLC and to utilize one comment data effectively by transferring data mutually between a monitor CPU and a CPU for the PLC through a two-port RAM. CONSTITUTION:The system bus 2 of the monitor CPU 1 and the system bus 4 of the CPU 3 for the programmable controller PLC are connected to the two-port RAM 5 and the mutual data transfer is performed through the RAM 5. Then a data memory for a comment PLC contact number is secured in an area of a graphic memory 6, where comment data and PLC contact number corresponding to it are written from a keyboard 7; when a graphic or ladder circuit diagram is displayed on a CRT 9, the comment or PLC contact number is read out of the memory 9 and displayed.

Description

【発明の詳細な説明】 [産業上の利用分野〕 本発明は、モニタ機能を備えたプログラマブル・コント
ローラに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a programmable controller with a monitoring function.

[従来の技術] 従来、プログラマブル・コントローラにより制御される
システムを視覚で監視する場合、制御を行うプログラマ
ブル・コントローラと監視を行うモニタ装置とは通信手
段(例えば、R82323C等)によって接続されてい
るものが開示されている(例えば、特開昭60−181
926.62−86409’、62−86410.62
−219005号公報)。
[Prior Art] Conventionally, when visually monitoring a system controlled by a programmable controller, the programmable controller that performs control and the monitor device that performs monitoring are connected by a communication means (for example, R82323C, etc.). has been disclosed (for example, Japanese Patent Application Laid-open No. 181-1981)
926.62-86409', 62-86410.62
-219005).

[発明が解決しようとする課題] ところが、プログラマブル・コントローラとモニタ装置
との間の通信手段の通信速度に限界があるため、モニタ
装置に表示遅れが発生し、通信量が制限されるなどの欠
点があった。
[Problems to be Solved by the Invention] However, since there is a limit to the communication speed of the communication means between the programmable controller and the monitor device, there are disadvantages such as a display delay in the monitor device and a restriction on the amount of communication. was there.

また、プログラマブル・コントローラ内のメモリにプロ
グラミング・パネルよりコメントデータを書き込み、ま
たモニタ装置側でも同等の文字を表示させるために、コ
メントデータを書き込む必要があり、二重手間となって
いた。
Furthermore, it is necessary to write comment data into the memory in the programmable controller from the programming panel, and also to display the same characters on the monitor device side, resulting in double work.

本発明は、プログラマブル・コントローラとモニタ装置
とを2ポ一トRAMを介して接続し、上記課題を解決す
るものである。
The present invention solves the above problems by connecting a programmable controller and a monitor device via a two-point RAM.

[課題を解決するための手段] 本発明は、プログラマブル・コントローラ用CPUとモ
ニタ用C’PUとモニタ用入出力装置とを備えたプログ
ラマブル・コントローラにおいて、前記プログラマブル
・コントローラ用CPUとモニタ用CPUとを2ポ一ト
RAMを介して接続し、モニタ用メモリ領域内に所定の
操作でコメントデータおよび前記コメントデータに対応
するプログラマブル・コントローラ接点番号を登録し、
前記モニタ用メモリより該当コメントまたは前記プログ
ラマブル・コントローラ接点番号を読み出して前記モニ
タ用入出力装置に表示するものである。
[Means for Solving the Problems] The present invention provides a programmable controller including a programmable controller CPU, a monitor C'PU, and a monitor input/output device, in which the programmable controller CPU, the monitor CPU are connected via a two-point RAM, and register comment data and the programmable controller contact number corresponding to the comment data by a predetermined operation in the monitor memory area,
The corresponding comment or the programmable controller contact number is read from the monitor memory and displayed on the monitor input/output device.

[作用] モニタ用CP・Uと、プログラマブル・コントローラ用
CPUの互いのデータ授受を2ポ一トRAMを介して行
うようにしであるので、プログラマブル・コントローラ
の内容をモニタ表示する速度が速くなる。
[Operation] Since the monitor CPU/U and the programmable controller CPU exchange data between each other via the two-point RAM, the speed at which the contents of the programmable controller are displayed on the monitor is increased.

[実施例] 本発明を図に示す実施例について説明する。[Example] The present invention will be described with reference to embodiments shown in the drawings.

第1図は本発明の実施例を示すブロック図で、モニタ用
CPUIのシステムバス2とプログラマブル・コントロ
ーラ(以下、PLCという)用CPU3のシステムバス
4とを2ポ一トRAM5に接続し、互いのデータ授受を
この2ポ一トRAM5を介して行う。
FIG. 1 is a block diagram showing an embodiment of the present invention, in which a system bus 2 of a CPU for monitoring and a system bus 4 of a CPU 3 for a programmable controller (hereinafter referred to as PLC) are connected to a two-point RAM 5, and connected to each other. Data exchange is performed via this two-point RAM 5.

システムバス2にはモニタ用メモリとしてシステムプロ
グラムROM、ユーザプログラムRAMなどからなるグ
ラフィックメモリ6と、入出力のためのキーボード7、
磁気記録装置、プリンタなどの記録装置やCRT9など
の表示装置が接続されている。グラフィックメモリ6の
領域内にはコメント・PLC接点番号用のデータメモリ
を確保し、グラフィックメモリ6にキーボード7よりコ
メントデータと、これに該当するPLC接点番号を書き
込んでおき、CRT9によりグラフィックまたはラダー
回路図表示をするとき、グラフィックメモリ6より該当
コメントまたはPLC接点番号を読み出して表示するよ
うにしである。
The system bus 2 includes a graphic memory 6 consisting of a system program ROM, a user program RAM, etc. as a monitor memory, and a keyboard 7 for input/output.
A recording device such as a magnetic recording device and a printer, and a display device such as a CRT 9 are connected. A data memory for comments and PLC contact numbers is secured in the area of the graphic memory 6, and the comment data and the corresponding PLC contact number are written in the graphic memory 6 from the keyboard 7, and the graphic or ladder circuit is written using the CRT 9. When displaying a diagram, the corresponding comment or PLC contact number is read out from the graphic memory 6 and displayed.

システムバス4にはPLC用のシステムプログラムRO
M、ユーザプログラムRAMなどが接続されている。
System bus 4 has system program RO for PLC.
M, user program RAM, etc. are connected.

ここで、コメントデータの登録手順を第2図に示したフ
ローチャートにより説明する。
Here, the comment data registration procedure will be explained with reference to the flowchart shown in FIG.

コメントデータ・接点番号の登録のプログラムはモニタ
部がPLC側とのデータ授受をしない状態、すなわちオ
フラインモードで実行される。
The comment data/contact number registration program is executed in a state where the monitor section does not exchange data with the PLC side, that is, in offline mode.

このプログラムがスタートすると、登録順序カウンタ(
N)値をクリアする(ステップ101)。
When this program starts, the registration order counter (
N) Clear the value (step 101).

つぎに、キーボード7よりコメントデータの読み込みを
行う(ステップ102)。ここで、コメントデータ入力
を完了しくステップ103)、次に、再びキーボード7
より接点番号のデータを読み込む(ステップ104)。
Next, comment data is read from the keyboard 7 (step 102). At this point, enter the comment data in step 103), and then press the keyboard 7 again.
The contact number data is read (step 104).

接点番号入力完了を確認(ステップ105)した後、設
定を終了するが続行するか(ステップ106)をキーボ
ード7により入力する。
After confirming that the contact number input has been completed (step 105), the operator inputs via the keyboard 7 whether to terminate the setting or continue (step 106).

設定続行の場合は、登録順番カウンタ値に+1を行い(
ステップ107Lステツプ102〜106を繰り返し続
行する。
To continue the settings, add 1 to the registration order counter value (
Step 107L Steps 102-106 are repeated and continued.

設定完了を選択し、登録指示(ステップ108)をキー
ボード7で行うと、プログラムは接点番号の二重設定の
チエツクを実行しくステップ109)、(ステップ11
0)、チエツクOKでない場合は、修正処理を行い(ス
テップ1ll)、再度チエツクする。
When you select "Complete setting" and issue a registration instruction (step 108) on the keyboard 7, the program checks for double setting of contact numbers (step 109), (step 11).
0), if the check is not OK, perform correction processing (step 1ll) and check again.

チエツクOKで、コメントデータは第3図に示すように
、コメントデータエリアへ書き込まれ、コメント接点番
号とその接点番号に対応したコメントデータの格納先の
アドレスを接点番号メモリエリアに書き込み(ステップ
112) 、登録完了となる。
If the check is OK, the comment data is written to the comment data area as shown in Figure 3, and the comment contact number and the address of the storage destination of the comment data corresponding to that contact number are written to the contact number memory area (step 112). , registration is complete.

また、同じコメントデータを使用する場合、コメントの
キー人力回数を減らすため、第4図に示すように、一つ
のコメントデータに複数個の接点番号が登録できるよう
になっている。
Furthermore, when using the same comment data, in order to reduce the number of times the comment key is manually input, a plurality of contact numbers can be registered in one comment data, as shown in FIG. 4.

なお、コメントデータをグラフィック画面上で使用する
ときは第5図に示すように、グラフィック画面において
オフラインモードでコメントを表示させたい場所にカー
ソルを移動し、接点番号(コイル)のON、OFF条件
設定のみで簡単にグラフィック画面上にコメントデータ
が表示できるようになっている。オンラインではこの接
点番号(コイル)の条件にしたがって該当コメントを読
み出し表示する。
When using comment data on a graphic screen, as shown in Figure 5, move the cursor to the location on the graphic screen where you want the comment to be displayed in offline mode, and set the ON/OFF conditions for the contact number (coil). Comment data can be easily displayed on the graphic screen with just a touch. Online, the corresponding comment is read out and displayed according to the conditions of this contact number (coil).

[発明の効果] 以上述べたように、本発明によればモニタ用CPUと、
PLC用CPUの互いのデータ授受を2ポー)RAMを
介して行うようにしであるので、PLCの内容をモニタ
表示する速度が速くなるとともに、コメントデータメモ
リの確保により、グラフィック表示、またはラダー回路
図表示用として同じコメントデータが使用可能となるの
で、一つのコメントデータを有効に活用することができ
る効果がある。
[Effects of the Invention] As described above, according to the present invention, a monitor CPU,
Since the PLC CPUs exchange data with each other via the 2-port RAM, the speed at which the PLC contents can be displayed on the monitor becomes faster, and by securing comment data memory, it is possible to display graphics or ladder circuit diagrams. Since the same comment data can be used for display, there is an effect that one piece of comment data can be used effectively.

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

第1図は本発明の実施例を示すブロック図、第2図はコ
メント、接点番号の手順を示すフローチャートフローチ
ャート、第3図はコメント接点番号のメモリエリアの状
態を示す説明図、第4図はコメント接点番号の設定状態
(登録画面)の説明図、第5図はグラフィック表示画面
の例を示す説明図である。 1・・・モニタ用CPU、2・・・モニタ用システムバ
ス、3・・・PLC用CPU、4・・・PLC用システ
ムバス、5・・・2ポ一トRAM、6・・・グラフィッ
クメモリ、7・・・キーボード、8・・・プリンタ、9
・・・CRT特許出願人 株式会社 安川電機製作所第
2図 第3図 第4図
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a flowchart showing the procedure for comments and contact numbers, Fig. 3 is an explanatory diagram showing the state of the memory area for comment contact numbers, and Fig. 4 is an explanatory diagram showing the state of the memory area for comment contact numbers. An explanatory diagram of a comment contact number setting state (registration screen), and FIG. 5 is an explanatory diagram showing an example of a graphic display screen. 1... CPU for monitor, 2... System bus for monitor, 3... CPU for PLC, 4... System bus for PLC, 5... 2-point RAM, 6... Graphic memory , 7...keyboard, 8...printer, 9
...CRT patent applicant Yaskawa Electric Manufacturing Co., Ltd. Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】 1、プログラマブル・コントローラ用CPUとモニタ用
CPUとモニタ用入出力装置とを備えたプログラマブル
・コントローラにおいて、 前記プログラマブル・コントローラ用CPUとモニタ用
CPUとを2ポートRAMを介して接続し、 モニタ用メモリ領域内に所定の操作でコメントデータお
よび前記コメントデータに対応するプログラマブル・コ
ントローラ接点番号を登録し、前記モニタ用メモリより
該当コメントまたはプログラマブル・コントローラ接点
番号を読み出して前記モニタ用入出力装置に表示するこ
とを特徴とするプログラマブル・コントローラ。
[Claims] 1. In a programmable controller comprising a programmable controller CPU, a monitor CPU, and a monitor input/output device, the programmable controller CPU and monitor CPU are connected via a two-port RAM. connect, register the comment data and the programmable controller contact number corresponding to the comment data in the monitor memory area by a predetermined operation, read the corresponding comment or programmable controller contact number from the monitor memory, and use the monitor memory area to register the comment data and the programmable controller contact number corresponding to the comment data. A programmable controller characterized by displaying information on an input/output device.
JP28677990A 1990-10-23 1990-10-23 Programmable controller Pending JPH04160407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28677990A JPH04160407A (en) 1990-10-23 1990-10-23 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28677990A JPH04160407A (en) 1990-10-23 1990-10-23 Programmable controller

Publications (1)

Publication Number Publication Date
JPH04160407A true JPH04160407A (en) 1992-06-03

Family

ID=17708944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28677990A Pending JPH04160407A (en) 1990-10-23 1990-10-23 Programmable controller

Country Status (1)

Country Link
JP (1) JPH04160407A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6810437B1 (en) 1999-05-25 2004-10-26 Mitsubishi Denki Kabushiki Kaisha Peripheral unit for a programmable controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6810437B1 (en) 1999-05-25 2004-10-26 Mitsubishi Denki Kabushiki Kaisha Peripheral unit for a programmable controller

Similar Documents

Publication Publication Date Title
JPH04160407A (en) Programmable controller
JPS60201407A (en) Numerical control device having trace function of input/ output signals, and contents of memory
JP3138289B2 (en) Electronic equipment with matrix calculation and display functions
JPH04105101A (en) Abnormality processing form setting method for controller
JPH0720721Y2 (en) Programmable controller programmer
JP3562783B2 (en) How to debug a programmable display device
JP2776443B2 (en) Programmable controller
JP2002268737A (en) Intelligent type graphic control panel and component display method
JPS59218552A (en) Program loader
JP3134878B2 (en) Programmable controller
JP2797096B2 (en) Graph display control device and graph display control method
JP2997600B2 (en) Display control device
JPH01244502A (en) Pc program display system
JP2695930B2 (en) Intelligent I / O module
JPS62143108A (en) Data recorder
JPH08263245A (en) Display picture preparing device for programmable display
JP2597635B2 (en) All key operation check method and device
JPH0239346A (en) Screen shift control system
JPH07152585A (en) Priority control monitor system
JPS62229362A (en) Character processor
JPH02109101A (en) Monitoring device
JPS61121106A (en) Function setting method for programmable controller
JPH01292402A (en) Signal referencing system for pc device
JPS63317866A (en) Data output processing method
JPH01277904A (en) Program display system for pc