[go: up one dir, main page]

JP2004280585A - Ladder program editing apparatus - Google Patents

Ladder program editing apparatus Download PDF

Info

Publication number
JP2004280585A
JP2004280585A JP2003072409A JP2003072409A JP2004280585A JP 2004280585 A JP2004280585 A JP 2004280585A JP 2003072409 A JP2003072409 A JP 2003072409A JP 2003072409 A JP2003072409 A JP 2003072409A JP 2004280585 A JP2004280585 A JP 2004280585A
Authority
JP
Japan
Prior art keywords
comment
ladder program
comments
program editing
user
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.)
Withdrawn
Application number
JP2003072409A
Other languages
Japanese (ja)
Inventor
Manabu Tsukamoto
学 塚本
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.)
Koyo Seiko Co Ltd
Original Assignee
Koyo Seiko 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 Koyo Seiko Co Ltd filed Critical Koyo Seiko Co Ltd
Priority to JP2003072409A priority Critical patent/JP2004280585A/en
Publication of JP2004280585A publication Critical patent/JP2004280585A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a ladder program editing apparatus capable of displaying comments in a manner compatible with various users. <P>SOLUTION: A comment storage means 22 which is capable of storing a second comment as well as a first comment is provided so that, for example, a user can store comments in a second language as well as comments in Japanese. One kind of comment is selected by a comment selecting means 23 and displayed in the vicinity of symbols constituting a ladder program. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、プログラマブルコントローラ用のラダープログラムの編集を行うラダープログラム編集装置に関する。
【0002】
【従来の技術】
プログラマブルコントローラにおけるラダープログラムの編集(書き込みも含む。)は、外部接続されたラダープログラム編集装置によって行われる。代表的なラダープログラム編集装置はパーソナルコンピュータであり、オペレーティングシステム上で動作するツールによって、入出力接点や出力命令等の記号を画面上で貼り付ける操作をすることによりラダープログラムを作成することができる。また、記号の上部には論理番号を、下部にコメントを、それぞれ表示することができる。プログラマブルコントローラで制御するシステムをユーザに提供する場合には、メーカー側でユーザプログラムを用意するが、このとき、コメントは日本語で作成している。海外ユーザへシステムを納入した場合には、動作確認やプログラム変更のためユーザがラダープログラムを見るとき、日本語のコメントでは理解が困難である。しかしながら、英語でコメントを記載すると、日本での動作確認やデバッグには不便である。
【0003】
そこで、翻訳機能を搭載し、日本語コメントを英語コメントに翻訳して表示するラダープログラム編集装置も提案されている(例えば、特許文献1参照。)。この装置では、日英翻訳は、ラダープログラムに登場する日本語の単語と英語の単語とを対応させた変換テーブルを用いて行われ、「日英コメント変換」というメニュー操作により、ラダープログラム全体としてコメントが日本語から英語に変換される。これにより、英語圏の海外ユーザが使用する際の便宜を図っている。
【0004】
【特許文献1】
特許第2585930号公報(第3頁、図8)
【0005】
【発明が解決しようとする課題】
上記のような従来のラダープログラム編集装置における「日英コメント変換」では、英語圏以外の外国ユーザには対応できない。しかし、英語以外の各種言語をも想定した多言語で変換テーブルを用意するのは面倒であり、現実的でない。
【0006】
上記のような従来の問題点に鑑み、本発明は、各種ユーザに対応できるコメント表示が可能なラダープログラム編集装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明は、プログラマブルコントローラ用のラダープログラムの編集を行うラダープログラム編集装置であって、ラダープログラムを構成する記号ごとに入力された複数種類のコメントを記憶するコメント記憶手段と、画面に表示する一種類のコメントを、前記複数種類のコメントから選択するコメント選択手段と、前記コメント選択手段により選択されたコメントを画面上の記号の近傍に表示するコメント表示手段とを備えたものである。
【0008】
上記のように構成されたラダープログラム編集装置では、コメント記憶手段によって記憶された複数種類のコメントから、コメント選択手段により一種類のコメントを選択して記号の近傍に表示することができる。従って、例えばユーザが所望の言語のコメントを記憶させておくことにより、それを表示することができる。
【0009】
【発明の実施の形態】
図1は、プログラマブルコントローラ(PLC)1に、本発明の一実施形態によるラダープログラム編集装置としてのパーソナルコンピュータ2を接続した状態を示す図である。パーソナルコンピュータ2とプログラマブルコントローラ1とは、RS232Cやイーサネット(登録商標:富士ゼロックス株式会社)等の通信用ケーブル3を介して互いに接続される。プログラマブルコントローラ1は、CPUやメモリ等を内蔵するCPUユニット11と、集中配置又は分散してローカル配置されるI/Oユニット、DA・AD変換ユニット等の拡張ユニット12とによって構成され、当該拡張ユニット12を介して、制御対象の設備及び、各種入出力機器、計器等と接続される。パーソナルコンピュータ2は、マルチタスクのオペレーションシステムを搭載し、かつ、プログラマブルコントローラのラダープログラムの編集(書き込みを含む。)及び動作状態のモニタリングを行う機能を有するツールを搭載している。
【0010】
図2は、上記ツールを搭載したパーソナルコンピュータ2の機能のうち、本発明に関連する部分のみを示すブロック図である。図において、パーソナルコンピュータ2は、入力装置(ポインティングデバイスやキーボード)21と、ツールがパーソナルコンピュータ2のハードウェアを用いて達成する機能としてのコメント記憶手段22、コメント選択手段23及びコメント表示手段24と、ディスプレイ25とを備えている。
【0011】
コメント記憶手段22は、ラダープログラムを構成する記号ごとに、入力装置21により入力された複数種類のコメントを記憶する。コメント選択手段23は、入力装置21の入力に基づいて、画面に表示する一種類のコメントを複数種類のコメントから選択する。また、コメント表示手段24は、コメント選択手段23により選択されたコメントを、ディスプレイ25の画面上における記号の近傍に表示する。
以下、これらの手段について実際の操作を例に、具体的に説明する。
【0012】
図3は、ユーザが、ディスプレイ25の画面上に、ツールによってラダープログラムの一部を表示した状態を示す図である。図4は、図3におけるIV部の拡大図である。ここで、ユーザは、入力装置21のポインティングデバイスによって記号(図示の例は論理番号M237の接点)を選択し、ダブルクリックするか又はEnterキーを押すと、図5に示すように、この記号の属性を示すダイアログボックス30が開く。
【0013】
このダイアログボックス30内に表示されているのは、命令語31、論理番号32、及び、コメント33である。コメント33には、第1欄331及び第2欄332があり、各欄にコメントを入力してOKボタン34をクリックすることにより、各コメントが記憶される(コメント記憶手段22の動作)。ここで、第1欄331にはメーカー側で既に日本語のコメントが入力されている。
第2欄332には、ユーザが任意にコメントを入力することができる。そこで、例えば図示のように、ユーザは、使用したい言語のコメントを入力する。入力したコメントは、OKボタン34をクリックすることにより記憶される。このようにして、各記号ごとに、第2のコメントを入力することができる。なお、コメント入力を中止する場合にはキャンセルボタン35をクリックすればよい。
【0014】
上記のようにして各記号について「コメント2」を入力し、記憶させた後、記憶させた「コメント2」を画面に表示したい場合、ユーザは、図6にしめすメニューバーの「表示」をクリックし、プルダウンメニューから「コメント選択」を選び、「コメント2」を選択する。これにより、表示するコメントとして、コメント2の内容が選択される(コメント選択手段23の動作)。但し、それ以前に選択されていたのは「コメント1」である。これにより、第1欄331に記憶されているコメントに代えて、第2欄332のコメントを一斉に表示することができる(コメント表示手段24の動作)。こうして、ユーザが表示したい言語でコメントを表示することができる。
なお、ラダープログラムをプリントする場合には、コメント1,2の対応を確認し易いように、また、用紙の無駄を省くため、ツールは、コメント1及びコメント2を2段に併記して印字させる。
【0015】
なお、上記実施形態ではコメントの欄は2つであるが、必要により3つ以上設けてもよい。この場合は、コメント選択機能も複数種類からの択一となる。
また、日本語ユーザであれば、第2言語に限らず、使用上の便宜を考慮した任意の第2コメント等を入力することもできる。
【0016】
【発明の効果】
以上のように構成された本発明のラダープログラム編集装置では、コメント記憶手段によって記憶された複数種類のコメントから、コメント選択手段により一種類のコメントを選択して記号の近傍に表示することができるので、例えばユーザが所望の言語のコメントを記憶させておくことにより、それを表示することができる。こうして、各種ユーザに対応できるコメント表示がユーザサイドで実施可能なラダープログラム編集装置を提供することができる。
【図面の簡単な説明】
【図1】プログラマブルコントローラ(PLC)に、本発明の一実施形態によるラダープログラム編集装置としてのパーソナルコンピュータを接続した状態を示す図である。
【図2】ツールを搭載したパーソナルコンピュータの機能の一部を示すブロック図である。
【図3】ユーザが、ラダープログラム編集装置を用いて、そのディスプレイの画面上に、ツールによってラダープログラムの一部を表示した状態を示す図である。
【図4】図3におけるIV部の拡大図である。
【図5】ラダープログラムの記号の属性を示すダイアログボックスが開いた状態を示す図である。
【図6】コメント選択のプルダウンメニューを開いた状態を示す図である。
【符号の説明】
1 プログラマブルコントローラ
2 ラダープログラム編集装置
22 コメント記憶手段
23 コメント選択手段
24 コメント表示手段
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a ladder program editing device that edits a ladder program for a programmable controller.
[0002]
[Prior art]
Editing (including writing) of the ladder program in the programmable controller is performed by an externally connected ladder program editing device. A typical ladder program editing device is a personal computer, and a ladder program can be created by performing an operation of pasting symbols such as input / output contacts and output instructions on a screen by a tool operating on an operating system. . Also, a logical number can be displayed above the symbol, and a comment can be displayed below the symbol. To provide a user with a system controlled by a programmable controller, a manufacturer prepares a user program. At this time, comments are created in Japanese. When the system is delivered to an overseas user, it is difficult for the user to understand Japanese comments when viewing the ladder program to check the operation or change the program. However, writing comments in English is inconvenient for checking and debugging operations in Japan.
[0003]
Therefore, a ladder program editing device that incorporates a translation function and translates Japanese comments into English comments and displays the translated comments has been proposed (for example, see Patent Document 1). In this device, Japanese-to-English translation is performed using a conversion table that maps Japanese words and English words that appear in the ladder program. Comments are converted from Japanese to English. In this way, convenience is provided for overseas users in English-speaking countries.
[0004]
[Patent Document 1]
Japanese Patent No. 2585930 (page 3, FIG. 8)
[0005]
[Problems to be solved by the invention]
The above-described "Japanese-English comment conversion" in the conventional ladder program editing apparatus cannot handle foreign users who are not in English-speaking countries. However, it is troublesome to prepare the conversion table in a multi-language assuming various languages other than English, which is not practical.
[0006]
In view of the above-described conventional problems, an object of the present invention is to provide a ladder program editing device capable of displaying comments that can respond to various users.
[0007]
[Means for Solving the Problems]
The present invention relates to a ladder program editing device for editing a ladder program for a programmable controller, comprising: comment storage means for storing a plurality of types of comments input for each symbol constituting the ladder program; A comment selecting unit for selecting a type of comment from the plurality of types of comments; and a comment displaying unit for displaying the comment selected by the comment selecting unit near a symbol on a screen.
[0008]
In the ladder program editing device configured as described above, one type of comment can be selected by the comment selection unit from the plurality of types of comments stored by the comment storage unit and displayed near the symbol. Therefore, for example, when the user stores a comment in a desired language, the comment can be displayed.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a diagram showing a state in which a personal computer 2 as a ladder program editing device according to an embodiment of the present invention is connected to a programmable controller (PLC) 1. The personal computer 2 and the programmable controller 1 are connected to each other via a communication cable 3 such as RS232C or Ethernet (registered trademark: Fuji Xerox Co., Ltd.). The programmable controller 1 includes a CPU unit 11 having a built-in CPU, memory, and the like, and an extension unit 12 such as an I / O unit and a DA / AD conversion unit which are centrally arranged or distributed locally. Through 12, it is connected to equipment to be controlled, various input / output devices, meters, and the like. The personal computer 2 has a multitasking operation system, and a tool having a function of editing (including writing) a ladder program of the programmable controller and monitoring an operation state.
[0010]
FIG. 2 is a block diagram showing, of the functions of the personal computer 2 equipped with the above-mentioned tool, only those parts relevant to the present invention. In the figure, a personal computer 2 includes an input device (pointing device or keyboard) 21, a comment storage unit 22, a comment selection unit 23, and a comment display unit 24, which are functions achieved by the tool using hardware of the personal computer 2. , A display 25.
[0011]
The comment storage unit 22 stores a plurality of types of comments input by the input device 21 for each symbol constituting the ladder program. The comment selecting means 23 selects one type of comment to be displayed on the screen from a plurality of types of comments based on the input from the input device 21. Further, the comment display means 24 displays the comment selected by the comment selection means 23 in the vicinity of the symbol on the screen of the display 25.
Hereinafter, these means will be specifically described by taking an actual operation as an example.
[0012]
FIG. 3 is a diagram illustrating a state in which the user has displayed a part of the ladder program on the screen of the display 25 using a tool. FIG. 4 is an enlarged view of an IV section in FIG. Here, the user selects a symbol (in the illustrated example, the contact point of the logical number M237) with the pointing device of the input device 21 and double-clicks or presses the Enter key, as shown in FIG. A dialog box 30 showing the attributes opens.
[0013]
Displayed in this dialog box 30 are a command word 31, a logical number 32, and a comment 33. The comment 33 has a first column 331 and a second column 332. By entering a comment in each column and clicking the OK button 34, each comment is stored (operation of the comment storage unit 22). Here, a Japanese comment has already been entered in the first column 331 by the manufacturer.
In the second column 332, the user can arbitrarily input a comment. Therefore, for example, as shown in the figure, the user inputs a comment in a language desired to be used. The input comment is stored by clicking the OK button 34. In this way, a second comment can be input for each symbol. To cancel the comment input, the user may click the cancel button 35.
[0014]
After inputting and storing “comment 2” for each symbol as described above, if the user wants to display the stored “comment 2” on the screen, the user clicks “display” on the menu bar shown in FIG. Then, select "comment selection" from the pull-down menu, and select "comment 2". Thereby, the content of the comment 2 is selected as the comment to be displayed (operation of the comment selecting unit 23). However, "comment 1" was selected before that. As a result, the comments in the second column 332 can be simultaneously displayed instead of the comments stored in the first column 331 (operation of the comment display means 24). Thus, the comment can be displayed in the language that the user wants to display.
When the ladder program is printed, the tool prints the comment 1 and the comment 2 in two rows so that the correspondence between the comments 1 and 2 can be easily confirmed and the waste of paper is reduced. .
[0015]
In the above embodiment, the number of comment columns is two, but three or more may be provided as necessary. In this case, the comment selection function can be selected from a plurality of types.
In addition, a Japanese user can input an arbitrary second comment or the like in consideration of convenience in use, not limited to the second language.
[0016]
【The invention's effect】
In the ladder program editing apparatus of the present invention configured as described above, one kind of comment can be selected by the comment selecting means from a plurality of kinds of comments stored by the comment storing means and displayed near the symbol. Therefore, for example, when the user stores a comment in a desired language, the comment can be displayed. In this way, it is possible to provide a ladder program editing device capable of displaying comments on the user side that can respond to various users.
[Brief description of the drawings]
FIG. 1 is a diagram showing a state in which a personal computer as a ladder program editing device according to an embodiment of the present invention is connected to a programmable controller (PLC).
FIG. 2 is a block diagram showing a part of functions of a personal computer equipped with a tool.
FIG. 3 is a diagram showing a state in which a user displays a part of a ladder program on a display screen of the display using a tool using a ladder program editing device.
FIG. 4 is an enlarged view of an IV section in FIG. 3;
FIG. 5 is a diagram illustrating a state in which a dialog box indicating the attribute of a symbol of a ladder program is opened.
FIG. 6 is a diagram showing a state where a pull-down menu for comment selection is opened.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Programmable controller 2 Ladder program editing device 22 Comment storage means 23 Comment selection means 24 Comment display means

Claims (1)

プログラマブルコントローラ用のラダープログラムの編集を行うラダープログラム編集装置であって、
ラダープログラムを構成する記号ごとに入力された複数種類のコメントを記憶するコメント記憶手段と、
画面に表示する一種類のコメントを、前記複数種類のコメントから選択するコメント選択手段と、
前記コメント選択手段により選択されたコメントを画面上の記号の近傍に表示するコメント表示手段と
を備えたことを特徴とするラダープログラム編集装置。
A ladder program editing device for editing a ladder program for a programmable controller,
Comment storage means for storing a plurality of types of comments input for each symbol constituting the ladder program,
Comment selecting means for selecting one type of comment to be displayed on the screen from the plurality of types of comments,
A ladder program editing device comprising: comment display means for displaying a comment selected by the comment selection means near a symbol on a screen.
JP2003072409A 2003-03-17 2003-03-17 Ladder program editing apparatus Withdrawn JP2004280585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003072409A JP2004280585A (en) 2003-03-17 2003-03-17 Ladder program editing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003072409A JP2004280585A (en) 2003-03-17 2003-03-17 Ladder program editing apparatus

Publications (1)

Publication Number Publication Date
JP2004280585A true JP2004280585A (en) 2004-10-07

Family

ID=33288608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003072409A Withdrawn JP2004280585A (en) 2003-03-17 2003-03-17 Ladder program editing apparatus

Country Status (1)

Country Link
JP (1) JP2004280585A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7152030B2 (en) * 2004-01-29 2006-12-19 Fanuc Ltd Numerical control apparatus
JP2007034813A (en) * 2005-07-28 2007-02-08 National Institute Of Advanced Industrial & Technology Software description generation system for multiple natural languages
JP2008117376A (en) * 2006-09-29 2008-05-22 Rockwell Automation Technologies Inc Custom language support for project documentation and editing
JP2008186311A (en) * 2007-01-31 2008-08-14 National Institute Of Advanced Industrial & Technology File conversion system for source files with comments in multiple natural languages
JPWO2008093734A1 (en) * 2007-01-31 2010-05-20 独立行政法人産業技術総合研究所 Source file management system
WO2010141151A3 (en) * 2009-06-03 2011-03-31 Siemens Industry, Inc. A system and method for free form comments for a programmable logic controller

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7152030B2 (en) * 2004-01-29 2006-12-19 Fanuc Ltd Numerical control apparatus
JP2007034813A (en) * 2005-07-28 2007-02-08 National Institute Of Advanced Industrial & Technology Software description generation system for multiple natural languages
JP2008117376A (en) * 2006-09-29 2008-05-22 Rockwell Automation Technologies Inc Custom language support for project documentation and editing
JP2008186311A (en) * 2007-01-31 2008-08-14 National Institute Of Advanced Industrial & Technology File conversion system for source files with comments in multiple natural languages
JPWO2008093734A1 (en) * 2007-01-31 2010-05-20 独立行政法人産業技術総合研究所 Source file management system
WO2010141151A3 (en) * 2009-06-03 2011-03-31 Siemens Industry, Inc. A system and method for free form comments for a programmable logic controller
CN102460323A (en) * 2009-06-03 2012-05-16 西门子工业公司 System and method for free form comments for a programmable logic controller
CN102460323B (en) * 2009-06-03 2015-08-05 西门子工业公司 For the system and method that the free form of programmable logic controller (PLC) annotates

Similar Documents

Publication Publication Date Title
JP2004280585A (en) Ladder program editing apparatus
JP6388756B2 (en) Electronic manual output system, electronic manual output method, and electronic manual output program
JP2020027353A (en) Text input support system, text input support method, and text input support program
JP2019192120A (en) Display editing apparatus, server apparatus, display editing system and program
JP7160327B2 (en) Information processing device, information processing method and information processing program
JP2001265791A (en) Electronic book display device and storage medium storing electronic book display program
Wiklund et al. Making medical device interfaces more user-friendly
JP2003316775A (en) Statement creation support device
JP2005258589A (en) Character display device, character display method, and program
JP3892806B2 (en) Natural language processing dictionary registration device, natural language processing dictionary registration method and program
JP2005276159A (en) Device for creating circuit drawing display data, its program, and method for creating circuit drawing display data
CN113961578B (en) A method for updating an auxiliary database, an auxiliary device and an auxiliary translation method thereof
JP5168771B2 (en) Screen generation apparatus and program
JPH0944502A (en) Information receiving device and machine translation device
KR100331443B1 (en) Apparatus and method for generating a control program using graphics
JP4755622B2 (en) Multilingual display device and multilingual display method
KR100238178B1 (en) How to use application programs on your computer
KR100522797B1 (en) Apparatus and method for translating simbol code of arabic
JPS5816342A (en) Japanese word processor
JP6521047B2 (en) Formula display control device, formula display control method, formula display control program
JP2005084742A (en) Information input device
JP5197508B2 (en) Source code management device
JP2729996B2 (en) Document processing apparatus and method
JPH09274615A (en) Stylistic converter
JP2002297383A (en) Natural language description-type user interface constructing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060606