JPH04259006A - Address display method using pcm - Google Patents

Address display method using pcm

Info

Publication number
JPH04259006A
JPH04259006A JP4129691A JP4129691A JPH04259006A JP H04259006 A JPH04259006 A JP H04259006A JP 4129691 A JP4129691 A JP 4129691A JP 4129691 A JP4129691 A JP 4129691A JP H04259006 A JPH04259006 A JP H04259006A
Authority
JP
Japan
Prior art keywords
address
addresses
display area
displaying
read
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
JP4129691A
Other languages
Japanese (ja)
Inventor
Yasushi Onishi
靖史 大西
Masashi Hakojima
箱嶋 将志
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP4129691A priority Critical patent/JPH04259006A/en
Publication of JPH04259006A publication Critical patent/JPH04259006A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily detect such mistakes as the double writing, etc., by judging easily the using states of addresses like the address using frequency, the distinctions between the read and write accesses, etc. CONSTITUTION:The using frequence is shown in the number of dots 23 in the read and write access display areas 21 and 22 respectively included in each bit address display area 24. Meanwhile, the symbols ']' are shown beside the addresses that undergo the read accesses in a byte address display area 25. Furthermore, the numbers of nets where those byte addresses are used in a ladder chart are shown beside the symbols ']'. Then the marks ']' are added under the net numbers of those byte addresses that undergo the write accesses.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はラダー・プログラム上で
のアドレスの使用状態を表示するPMCの使用アドレス
表示方法に関し、特にアドレスの使用状態を確認しやす
くするPMCの使用アドレス表示方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for displaying used addresses in a PMC for displaying the usage status of addresses on a ladder program, and more particularly to a method for displaying used addresses in a PMC that makes it easier to confirm the usage status of addresses.

【0002】0002

【従来の技術】PMCでは、ラダー形式のプログラムが
広く使用されている。これらのラダー・プログラムは、
リレー論理形式で表現され、1行の論理ラインをネット
という。一般に、ラダー・プログラムの作成後は、各ア
ドレスの使用状態を表示画面に表示し、間違い等がない
かをチェックする。このアドレスの使用状態を表示する
方法としては、クロスリファレンスによるものがある。 これは、リードアクセスまたはライトアクセスに使用さ
れているネットの番号をビットアドレスおよびバイトア
ドレス毎に羅列するものである。
2. Description of the Related Art Ladder type programs are widely used in PMC. These ladder programs are
It is expressed in relay logic format, and one logical line is called a net. Generally, after creating a ladder program, the usage status of each address is displayed on a display screen to check for errors. One way to display the usage status of this address is by cross-referencing. This lists the numbers of nets used for read access or write access for each bit address and byte address.

【0003】0003

【発明が解決しようとする課題】しかし、従来のネット
番号を羅列する方法では、アドレスの使用回数を調べる
のに時間がかかったり、リードアクセスとライトアクセ
スとの区別がしにくかった。そのため、一つの信号で二
重書き込み等のミスがあっても判断するのが難しいとい
う問題点があった。本発明はこのような点に鑑みてなさ
れたものであり、アドレスの使用回数や、リードアクセ
スとライトアクセスの区別等、アドレスの使用状態を容
易に判断することができるPMCの使用アドレス表示方
法を提供することを目的とする。
[Problems to be Solved by the Invention] However, with the conventional method of enumerating net numbers, it takes time to check the number of times an address has been used, and it is difficult to distinguish between read access and write access. Therefore, there is a problem in that it is difficult to judge even if there is a mistake such as double writing in one signal. The present invention has been made in view of these points, and provides a method for displaying used addresses in a PMC that allows easy determination of address usage status, such as the number of times an address has been used and the distinction between read access and write access. The purpose is to provide.

【0004】0004

【課題を解決するための手段】上記課題を解決するため
に本発明では、アドレスの使用状態を表示するPMCの
使用アドレス表示方法において、ラダー・プログラム上
での前記アドレスのリードアクセス回数およびライトア
クセス回数をそれぞれ表示画面上に表示することを特徴
とするPMCの使用アドレス表示方法が提供される。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides a method for displaying addresses in use by a PMC that displays the usage status of addresses, including the number of read accesses and write accesses to the address on a ladder program. A method for displaying used addresses of a PMC is provided, which is characterized by displaying the number of times on a display screen.

【0005】[0005]

【作用】アドレスのリードアクセス回数およびライトア
クセス回数がそれぞれ表示画面上に表示されるので、一
見してアドレスの使用状態が判断でき、2重書き込み等
のミスが容易に判断できる。
[Operation] Since the number of read accesses and the number of write accesses to an address are displayed on the display screen, the use status of the address can be determined at a glance, and mistakes such as double writing can be easily determined.

【0006】[0006]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図2は本発明を実施するためのプログラミング
装置のブロック図である。プログラミング装置1はプロ
セッサ2を中心として構成されている。プロセッサ2に
は、バス5を介してプログラムメモリ3とデータメモリ
4とが結合されている。プログラムメモリ3にはプログ
ラミング装置1を機能させるためのシステム・プログラ
ムが格納されている。データメモリ4にはプログラミン
グ装置1で作成されたラダー・プログラムが格納される
。ラダー・プログラムはキーボード6から入力され、必
要に応じて表示装置7に表示される。また、ラダー・プ
ログラムはマウス11によって編集したり、プリンタ8
にプリントアウトすることもできる。ラダー・プログラ
ムは、データメモリ4よりインターフェイス9を介して
ROMライタ10に送られ、そこでROMに書き込まれ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram of a programming device for implementing the present invention. The programming device 1 is configured with a processor 2 as its center. A program memory 3 and a data memory 4 are coupled to the processor 2 via a bus 5 . A system program for operating the programming device 1 is stored in the program memory 3. A ladder program created by the programming device 1 is stored in the data memory 4. The ladder program is input from the keyboard 6 and displayed on the display device 7 as necessary. Additionally, the ladder program can be edited using the mouse 11 or edited using the printer 8.
You can also print it out. The ladder program is sent from the data memory 4 via the interface 9 to the ROM writer 10, where it is written into the ROM.

【0007】プログラミング装置1には、アドレスデー
タメモリ12が設けられている。このアドレスデータメ
モリ12には、作成されたラダー・プログラムにおける
アドレスの使用状態、すなわち、ビット単位およびバイ
ト単位でのリードアクセス回数およびライトアクセス回
数が格納されている。このアドレスデータは、オペレー
タの指示によって表示装置7に表示される。
The programming device 1 is provided with an address data memory 12 . This address data memory 12 stores the use status of addresses in the created ladder program, that is, the number of read accesses and the number of write accesses in bit units and byte units. This address data is displayed on the display device 7 according to an operator's instruction.

【0008】図1は表示装置7の表示画面7aに表示さ
れたアドレスデータ画面を示す図である。図1では、内
部レジスタのアドレスデータ画面20が表示されている
。このアドレスデータ画面20は、図3のアドレスデー
タ選択画面30上でキーボード6またはマウス11によ
り選択された部分を拡大表示したものである。なお、ア
ドレスデータ選択画面30でも、おおよそのアドレス使
用状態がわかるようになっている。
FIG. 1 is a diagram showing an address data screen displayed on the display screen 7a of the display device 7. As shown in FIG. In FIG. 1, an internal register address data screen 20 is displayed. This address data screen 20 is an enlarged display of the portion selected by the keyboard 6 or mouse 11 on the address data selection screen 30 of FIG. Note that the address data selection screen 30 also allows the user to see the approximate address usage status.

【0009】図1に戻り、アドレスデータ画面20では
、アドレスR0〜R5までのアドレス使用状態が表示さ
れている。各ビットアドレス表示領域24には、リード
アクセス表示領域21と、ライトアクセス表示領域22
とが設けられている。これらの領域21,22内には、
それぞれの使用回数がドット23の数で表示されている
。例えば、ビットアドレスR0.7は、リードアクセス
回数が5回、ライトアクセス回数が1回であることが容
易に分かる。
Returning to FIG. 1, the address data screen 20 displays the address usage status of addresses R0 to R5. Each bit address display area 24 includes a read access display area 21 and a write access display area 22.
is provided. Within these areas 21 and 22,
The number of times each item has been used is indicated by the number of dots 23. For example, it can be easily seen that the bit address R0.7 has five read accesses and one write access.

【0010】また、アドレスデータ画面20には、バイ
トアドレスの使用範囲を表示するバイトアドレス表示領
域25が設けられている。この表示領域25では、リー
ドアクセスされているバイトアドレスの右側に記号26
が表示され、さらにその横には、ラダー図上でそのバイ
トアドレスが使用されているネットの番号が表示されて
いる。また、ライトアクセスされているバイトアドレス
のネット番号の下には、マーク27が付されている。し
たがって、図1では、ラダー図のネット10でバイトア
ドレスR0が、ネット30でバイトアドレスR2〜R5
がそれぞれリードアクセスされ、一方、ネット20でバ
イトアドレスR1およびR2がライトアクセスされてい
ることが分かる。
The address data screen 20 is also provided with a byte address display area 25 for displaying the usage range of byte addresses. In this display area 25, a symbol 26 is to the right of the byte address being read accessed.
is displayed, and next to it, the number of the net in which that byte address is used on the ladder diagram is displayed. Further, a mark 27 is attached below the net number of the byte address being write accessed. Therefore, in FIG. 1, net 10 of the ladder diagram has byte address R0, and net 30 has byte addresses R2 to R5.
It can be seen that byte addresses R1 and R2 in net 20 are respectively read accessed, while byte addresses R1 and R2 are write accessed.

【0011】このように、ビットアドレスにおいては、
ビットアドレス表示領域24を設けてリードアクセスお
よびライトアクセスのそれぞれの回数をドット23で表
示し、一方、バイトアドレスにおいては、バイトアドレ
ス表示領域25内に記号26と、ネット番号およびマー
ク27を表示することによって、その使用状態が一目で
判断することができる。したがって、二重書き込み等の
ミスを容易に判断することができる。
[0011] In this way, in the bit address,
A bit address display area 24 is provided to display the number of read accesses and write accesses using dots 23, while for byte addresses, a symbol 26, a net number, and a mark 27 are displayed in the byte address display area 25. This allows you to judge its usage status at a glance. Therefore, errors such as double writing can be easily determined.

【0012】0012

【発明の効果】以上説明したように本発明では、ラダー
・プログラム上でのアドレスのリードアクセス回数およ
びライトアクセス回数をそれぞれ表示画面上に表示する
ように構成した。このため、一見してアドレスの使用状
態が判断でき、二重書き込み等のミスが容易に判断でき
る。
As described above, in the present invention, the number of read accesses and the number of write accesses of an address on a ladder program are respectively displayed on the display screen. Therefore, the use status of an address can be determined at a glance, and mistakes such as double writing can be easily determined.

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

【図1】本発明のPMCの使用アドレス表示方法による
アドレスデータ画面を示す図である。
FIG. 1 is a diagram showing an address data screen according to a method of displaying addresses used in a PMC according to the present invention.

【図2】本発明を実施するためのプログラミング装置の
ブロック図である
FIG. 2 is a block diagram of a programming device for implementing the present invention.

【図3】アドレスデータ選択画面である。FIG. 3 is an address data selection screen.

【符号の説明】[Explanation of symbols]

1  プログラミング装置 2  CPU 7  表示装置 7a  表示画面 12  アドレスデータメモリ 20  アドレスデータ画面 21  リードアクセス表示領域 22  ライトアクセス表示領域 23  ドット 24  ビットアドレス表示領域 25  バイトアドレス表示領域 30  アドレスデータ選択画面 1 Programming device 2 CPU 7 Display device 7a Display screen 12 Address data memory 20 Address data screen 21 Read access display area 22 Write access display area 23 dots 24 Bit address display area 25 Byte address display area 30 Address data selection screen

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】  アドレスの使用状態を表示するPMC
(プログラマブル・マシン・コントローラ)の使用アド
レス表示方法において、ラダー・プログラム上での前記
アドレスのリードアクセス回数およびライトアクセス回
数をそれぞれ表示画面上に表示することを特徴とするP
MCの使用アドレス表示方法。
[Claim 1] PMC that displays address usage status
A method for displaying addresses used in a programmable machine controller (programmable machine controller), characterized in that the number of read accesses and the number of write accesses of the address on a ladder program are respectively displayed on a display screen.
How to display the address used by MC.
【請求項2】  前記表示画面上には、各ビットアドレ
スの使用状態を表示するビットアドレス表示領域と、バ
イトアドレスの使用状態を表示するバイトアドレス表示
領域とが設けられていることを特徴とする請求項1記載
のPMCの使用アドレス表示方法。
2. The display screen is characterized in that a bit address display area for displaying the usage status of each bit address and a byte address display area for displaying the usage status of byte addresses are provided. A method for displaying addresses used in a PMC according to claim 1.
【請求項3】  前記ビットアドレス表示領域には、前
記ビットアドレスの前記リードアクセス回数を表示する
リードアクセス表示領域と前記ライトアクセス回数を表
示するライトアクセス表示領域とが設けられていること
を特徴とする請求項2記載のPMCの使用アドレス表示
方法。
3. The bit address display area is provided with a read access display area that displays the number of read accesses of the bit address and a write access display area that displays the number of write accesses. 3. The method for displaying addresses used in a PMC according to claim 2.
【請求項4】  前記リードアクセス回数および前記ラ
イトアクセス回数の表示は、それぞれドットの数によっ
て行われることを特徴とする請求項1,2または3記載
のPMCの使用アドレス表示方法。
4. The method of displaying used addresses of a PMC according to claim 1, 2 or 3, wherein the number of read accesses and the number of write accesses are each displayed by the number of dots.
【請求項5】  前記バイトアドレス表示領域では、ラ
ダー図上の一つのネットでリードアクセスまたはライト
アクセスされているバイトアドレスの範囲を記号で示し
、前記記号に前記ネットの番号を付すことを特徴とする
請求項2記載のPMCの使用アドレス表示方法。
5. In the byte address display area, a range of byte addresses that are accessed for read or write access in one net on the ladder diagram is indicated by a symbol, and the number of the net is attached to the symbol. 3. The method for displaying addresses used in a PMC according to claim 2.
【請求項6】  前記バイトアドレスがライトアクセス
されている場合には、前記ネットの番号にマークを付す
ことを特徴とする請求項5記載のPMCの使用アドレス
表示方法。
6. The method for displaying addresses used in a PMC according to claim 5, further comprising adding a mark to the number of the net when the byte address is write-accessed.
JP4129691A 1991-02-13 1991-02-13 Address display method using pcm Pending JPH04259006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4129691A JPH04259006A (en) 1991-02-13 1991-02-13 Address display method using pcm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4129691A JPH04259006A (en) 1991-02-13 1991-02-13 Address display method using pcm

Publications (1)

Publication Number Publication Date
JPH04259006A true JPH04259006A (en) 1992-09-14

Family

ID=12604497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4129691A Pending JPH04259006A (en) 1991-02-13 1991-02-13 Address display method using pcm

Country Status (1)

Country Link
JP (1) JPH04259006A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251207A (en) * 2001-02-21 2002-09-06 Mitsubishi Electric Corp Programmable controller, peripheral equipment, and debug method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251207A (en) * 2001-02-21 2002-09-06 Mitsubishi Electric Corp Programmable controller, peripheral equipment, and debug method
JP4569011B2 (en) * 2001-02-21 2010-10-27 三菱電機株式会社 Programmable controller and peripheral device thereof

Similar Documents

Publication Publication Date Title
JPH024938B2 (en)
JPH04259006A (en) Address display method using pcm
JPS6129016B2 (en)
JPH0117185B2 (en)
JP2001282661A (en) Device and method for setting peripheral equipment, and computer-readable recording medium having recorded peripheral equipment setting program
JPH03196188A (en) Display system for information processor
EP0059758A1 (en) Numerical control unit
JP3666888B2 (en) Color processing apparatus and method
RU2120660C1 (en) Interface method for computer system
JPH0522933B2 (en)
JP2904488B2 (en) Character processor
JP2862369B2 (en) Image display control device
JPS62111283A (en) Expansion pattern converter
JP3409663B2 (en) Numerical data processing device and computer readable recording medium recording numerical data processing program
JPH0327468A (en) Document processor
JPS5553736A (en) Display unit
JPH0145111B2 (en)
JPH0217552A (en) Performance data measuring system
JPH0322041A (en) Real-time tracer
JPS61110264A (en) Character processor
JPS5911931B2 (en) Keyboard control method
JPS61175765A (en) Format setting system for document processor
JPS61110260A (en) Character processor
JPH1185733A (en) Document editing device and its method and recording medium
JPH02129737A (en) Information processor