WO1995031758A1 - Systeme d'edition de programme sequentiel - Google Patents

Systeme d'edition de programme sequentiel Download PDF

Info

Publication number
WO1995031758A1
WO1995031758A1 PCT/JP1995/000798 JP9500798W WO9531758A1 WO 1995031758 A1 WO1995031758 A1 WO 1995031758A1 JP 9500798 W JP9500798 W JP 9500798W WO 9531758 A1 WO9531758 A1 WO 9531758A1
Authority
WO
WIPO (PCT)
Prior art keywords
program
identification name
display
sequence
subprogram
Prior art date
Application number
PCT/JP1995/000798
Other languages
English (en)
French (fr)
Inventor
Yasushi Onishi
Yoshiharu Saiki
Original Assignee
Fanuc 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
Priority claimed from JP6101473A external-priority patent/JPH07311604A/ja
Priority claimed from JP6128510A external-priority patent/JPH07334213A/ja
Application filed by Fanuc Ltd filed Critical Fanuc Ltd
Priority to EP95916037A priority Critical patent/EP0710903A4/en
Publication of WO1995031758A1 publication Critical patent/WO1995031758A1/ja

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
    • 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/056Programming the PLC

Definitions

  • the present invention relates to a sequence / program editing method executed by a PC (programmable controller), and in particular to a sequence having a large number of sub-programs.
  • sequence program consists of a main program that shows the general flow and a number of subprograms that make up each part. This can simplify program creation and improve execution efficiency.
  • sequence program is the main part of the machine.
  • the creators differ depending on the contents, such as those who create programs for peripherals and those who create programs for peripheral devices. This creates administrative security issues if anyone can view and edit all programs. In the past, at the start of editing, anyone could view and edit all programs, for example, by entering a password. Disclosure of the invention
  • the present invention has been made in view of such a point, and an object of the present invention is to provide a sequence / program editing method in which a subprogram editing operation is easy.
  • Another object of the present invention is to provide an editing method of a sequence program that can be referred to and edited only by a person who has a right to manage each program.
  • a program input means for giving an identification name to each subprogram and inputting the subprogram is provided.
  • a program storage unit for storing the subprograms given with the respective identification names, and an identification name display instruction unit for instructing the display of the identification names; and a display instruction of the identification names is issued.
  • An identifier reading unit that reads only the identifier from the program storage unit, a display controller that displays the read identifier on a display screen, and an instruction to select one of the displayed identifiers.
  • An identification name selection instructing means for reading, and a subprogram of the identification name instructed to be selected is read from the program storage means and displayed on the display control means.
  • the program storage means stores the inputted sub-program with each identification name.
  • the identifier reading means reads only the identifier from the program storage means.
  • the display control means displays the read identification name on a display screen.
  • the program reading means reads out the subprogram of the selected identifier from the program storage means and displays it. To be displayed.
  • a program input means for assigning a right code indicating an editing right level and a program identification name to each subprogram and inputting them.
  • Program storage means for storing each of the subprograms input with the rights code and the identification name, and the identification name together with the input of the operator code indicating the editing right level of the operator.
  • An identification name display instruction means for instructing display of the identification name; an identification name reading means for reading out only the identification name from the program storage means when an instruction for displaying the identification name is issued; Is displayed on the display screen, and the input of the input operation code and the right code corresponding to the right level are given.
  • Display control means for only DN to distinguish display has an identification name selection command means for selecting command one of the display identification name, the distinguished displays identification And a program reading means for reading a subprogram of the selected identification name from the program storage means and displaying it on the display control means only when a name is instructed to be selected.
  • Program editing method is provided.
  • the storage means stores the information.
  • the identifier display commanding means instructs the display of the identifier along with the input of the operator code indicating the operator's editing right level
  • the identifier reading means reads only the identifier from the program storage means and reads the identifier.
  • the display control means displays the distinguished name on the display screen, and distinguishes and displays only the distinguished name given the rights code of the right level corresponding to the input operator code.
  • the program reading means only executes the subcommand of the selected identification name only when the distinguished and displayed identification code is selected and instructed.
  • FIG. 1 is a diagram showing the concept of the function of the first embodiment
  • FIG. 2 is a block diagram of hardware of an automatic programming device for implementing the present invention.
  • Figure 3 shows a part of the contents in RAM where the created sequence program is stored.
  • Figure 4 shows an example of the identification name display screen.
  • Figure 5 shows an example of the program display screen.
  • Fig. 6 is a flowchart showing the main procedure on the processor side
  • Fig. 7 is a diagram showing the concept of the function of the second embodiment
  • Figure 8 shows the created sequence 'RA containing the program
  • FIG. 9 is a diagram showing an example of the identification name display screen
  • FIG. 10 is a diagram showing an example of a program display screen
  • Figure 11 is a flowchart showing the main steps on the processor side.
  • FIG. 1 is a diagram showing the concept of the function of the first embodiment.
  • the memory 2 as the program storage means is provided with the main program and each sub-program to which the identification name is added. Is stored.
  • the identification name reading means 3 reads only the identification name from the memory 2, and the display control means 5 displays the read identification name on the display screen 6. To be displayed.
  • the program of the selected identifier is read out from the memory 2 by the program reading means 4 and displayed through the display control means 5. Displayed on screen 6.
  • FIG. 2 shows an automatic programming device for carrying out the present invention.
  • the processor 11 controls the entire automatic programming device according to the system program stored in the R ⁇ M 12.
  • the RAMI 3 stores internal data, created sequence 'programs, and the like. Sequence. An identifier is also provided for the main program and each subprogram of the program.
  • the graphic control circuit 14 converts the display data from the processor 11 into a display signal and sends it to the display device 15.
  • the display device 15 displays a screen in response to the display signal.
  • a CRT a liquid crystal display device, or the like is used as the display device 15.
  • the keyboard 16 includes operation keys used for data input, function keys, and the like. Data input is also performed by a tablet 17 or a mouse (not shown).
  • the HDD (Hard Disk Drive) 18 stores data to be saved even after the power is turned off, such as created sequences and programs.
  • the FDD (Floppy Disk 'Disk' Drive) 19 drives the floppy disk '19a to read out sequence programs, etc. and floppy disk programs created or edited. ⁇ Can write to disk 19a.
  • the created sequence program can be output to the plotter 20 and the printer ZPTP (paper tape puncher) 21. These components are connected to each other by a bus 10.
  • FIG. 3 is a diagram showing a part of the contents in the RAM 13 where the created sequence / program is stored.
  • RAM I3 the main program Main of the sequence program executed by the PC (programmable controller) and the subprograms Pl, P2, P100, P101, ⁇ 10 2 ⁇ ⁇ ⁇ are stored with their respective distinguished names.
  • the operator When editing a sequence program stored in this manner, the operator performs display instruction on the identification name display screen using, for example, the keyboard 16.
  • FIG. 4 is a diagram showing an example of the identification name display screen.
  • an identification name display screen 30 is displayed, and on the identification name display screen 30, each identification name Ma in, PI, P of the created sequence program is displayed. 2, ⁇ 1 0 0, ⁇ 1 0 1, ⁇ 1 0 2 ⁇ ⁇ ⁇ ⁇ are displayed.
  • the operator moves the cursor 31 to the identification name of the program to be edited from among these identification names, selects it, and designates it with the return key of the keyboard 16 or the like.
  • the display screen 15a is switched to the program display screen 40 as shown in FIG.
  • a ladder diagram of the selected subprogram is displayed. The operator can perform editing on the program display screen 40.
  • the desired program can be easily edited by switching and displaying the identification name display screen 30 in FIG. 4 again.
  • FIG. 6 is a flowchart showing the main steps of the processor 11 for performing such an editing operation.
  • step S1 It is determined whether or not there is a command to display an identification name. If there is, the process proceeds to step S2, and if not, repeats step S1.
  • the identification names of the main program and each subprogram are displayed on the identification name display screen 30, and the program selected and designated by the cursor 31 is displayed on the program display screen 40. And since it can be edited, it is easy to grasp the configuration of the entire sequence program, and it is easy to search for subprograms. Therefore, the efficiency of editing work is improved.
  • an example of an automatic programming device is described as a device having a sequence program editing function, but these editing functions may be stored in a PC.
  • each subprogram to which an identifier is assigned is stored, and when an instruction to display the identifier is issued, only the identifier is read out, displayed on the display screen, and displayed.
  • Identification When any one of the names is selected, the program of the selected and identified identifier is read out and displayed on the display screen, so that the configuration of the entire sequence program can be easily grasped and the sub-program can be easily understood. You can easily search for a gram. Therefore, the efficiency of editing work is improved.
  • FIG. 7 is a diagram illustrating the concept of the function of the second embodiment.
  • the keyboard 51 has the functions of program input means, identification name display instruction means, and identification name selection instruction means.
  • the keyboard 51 gives each program 57 of the main program and subprogram a rights code 57b indicating the level of editing rights and a program identification name 57a, which are input.
  • Each of these programs 57 is stored in the memory 52 together with the right code 57 b and the identifier 57 a.
  • the identification name reading means 53 is transmitted from the memory 52 to the identification name.
  • FIG. 8 is a diagram showing a part of the contents in RAM 13 in which the created sequence program is stored.
  • RAM I3 the main program Main of the sequence program executed by the PC (programmable controller) and the subprograms P1, P2, P100, ⁇ 101, ⁇ 1 0 2 ⁇ ⁇ ⁇ Power is stored with a rights code and a distinguished name assigned.
  • each program is given one of three types of rights codes A, II, and C.
  • the right code ⁇ is, for example, a program of the main part of the machine, and shows low-level programs in the peripheral part in the order of right codes B and C.
  • the operator who edits the program can view and edit only the program with the same or lower level of rights.
  • the operator's privilege level is determined by entering the password (operator code) possessed only by that operator at the start of the operation, for example, using the keyboard 16 (FIG. 2).
  • the password used to enter the password
  • the identification name display screen of each program is displayed on the display screen of the display device 15 (FIG. 2).
  • FIG. 9 is a diagram showing an example of the identification name display screen.
  • an identification name display screen 60 On the display screen 15a of the display device 15, an identification name display screen 60 is displayed.
  • Identifier name display screen 60 shows each identifier of the sequence program Main, Pl, P2, P100, P101, P102,--are displayed.
  • the right level of the operator who operates this screen is, for example, the level of right code B
  • the identifiers of the programs of the right code B P 1 0 0, P 1 0 1 and the lower-level rights code C program identifier P 102 are distinguished from other programs, for example, by being displayed in different colors.
  • a blinking display or the like is used for the distinction display in addition to the color.
  • the operator moves the cursor 31 to the identifier of the program to be edited from among the distinguished names displayed as such, selects the program, and designates the program using the return key of the keyboard 16 or the like. This causes the display screen 15a to switch to the program display screen 70 as shown in FIG. However, if the distinguished name specified by the cursor is other than the one that is distinguished, the screen does not switch to the program display screen 70. On the program display screen 70, a ladder diagram of the selected subprogram is displayed. The operator can perform editing on the program display screen 70.
  • the desired program can be easily edited by switching and displaying the identification name display screen 60 in FIG. 9 again.
  • an identification name display screen 60 may be displayed on the program display screen 70 in a window format.
  • FIG. 11 is a flowchart showing the main steps of the processor 11 for performing such an editing operation.
  • S11 It is determined whether or not a password has been input and a command to display an identifier has been issued. If so, the process proceeds to step S12, and if not, the process repeats step S11.
  • step S15 It is determined whether the rights code of the selected program corresponds to the rights level of the operating password, and if so, the process proceeds to step S15. Return to step S13.
  • an example of an automatic programming device has been described as a device having a sequence 'program editing function.
  • these editing functions may be stored in a PC.
  • each subprogram is provided with the right code indicating the right of editing and the program identification name.
  • a command to display an identifier is made in conjunction with the input of an operator's editing code indicating the level of editing right of the operator, only the identifier is read out and displayed on the display screen. Only the distinguished name given to the entered operator code and the rights code of the right level corresponding to the entered operator code is distinguished, and only when the distinguished displayed distinguished code is selected and selected, the selected identification is performed. Since the name of the subprogram is read and displayed, the contents of the subprogram will not be referenced or edited by persons without editing rights.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Description

明 細 書 シーケンス · プログラムの編集方式 技 術 分 野
本発明は P C (プログラマブル ' コ ン トローラ) で実行する シーケンス · プログラムの編集方式に関し、 特に多数のサブプ ログラムを有するシーケンス ■ プログラムの編集方式に関する < 背 景 技 術
近年、 P Cで処理すべき対象の増大に伴い、 P C (プログラ マブル · コ ン トロ一ラ) で実行するシーケンス · プログラムも 膨大な量になってきている。 このため、 シーケンス ' プログラ 厶は、 全体の大まかな流れを示すメイ ンプログラムと、 各部分 を構成する多数のサブプログラムとから構成されるようになつ ている。 これにより、 プログラム作成の簡略化や実行効率の向 上を図るこ とができる。
しかし、 このような多数のサブプログラムを有するシーゲン ス · プログラムの編集を行うためには、 最初にメイ ンプログラ ムを画面上に呼び出し、 さ らにカーソル操作等によって目的の サブプログラムを選択指定して表示させる必要があった。 この ため、 従来は、 目的のサブプログラムを呼び出すのに手間や時 間がかかっていた。 特に、 サブプログラムのさ らに下位にある サブプログラムを呼び出すには、 複数の操作手順を踏まな く て はならず、 操作がより困難となっていた。
一方、 シーケンス · プログラムは、 機械のメイ ンとなる部分 のプログラムを作成する人や、 周辺の機器のプログラムを作成 する人など、 その内容によって作成者が異なっている。 このた め、 すべてのプログラムを誰でも見たり編集したりできては、 管理上の安全性に問題がある。 従来は、 編集開始時に、 例えば パスヮー ドを入力することにより、 誰でもすベてのプログラム の参照や編集ができてしまっていた。 発 明 の 開 示
本発明はこのような点に鑑みてなされたものであり、 サブプ ログラムの編集操作が簡単なシーケンス · プログラムの編集方 式を提供することを目的とする。
また、 本発明の他の目的は、 各プログラムを管理する権利の ある人だけが参照、 編集できるようにしたシーケンス · プログ ラムの編集方式を提供することである。
本発明では上記課題を解決するために、 P C (プログラマブ ル ' コ ン トローラ) で実行するシーケンス · プログラムの編集 方式において、 各サブプログラムに識別名を付与して入力する プログラム入力手段と、 前記各識別名を付与して入力された前 記各サブプログラムを記憶するプログラム記憶手段と、 前記識 別名の表示を指令する識別名表示指令手段と、 前記識別名の表 示の指令がなされると、 前記プログラム記憶手段から前記識別 名のみを読み出す識別名読み出し手段と、 前記読み出された識 別名を表示画面上に表示する表示制御手段と、 前記表示された 識別名の何れかを選択指合する識別名選択指令手段と、 前記選 択指令された識別名のサブプログラムを前記プログラム記憶手 段から読み出して前記表示制御手段に表示させるプログラム読 み出し手段と、 を有することを特徴とするシーケ ンス · プログ ラムの編集方式が提供される。
プログラム入力手段によって識別名が付与された各サブプロ グラムが入力されると、 プログラム記憶手段が各識別名を付し て入力された各サブプログラムを記憶する。 識別名表示指合手 段により識別名の表示の指令がなされると、.識別名読み出し手 段がプログラム記憶手段から識別名のみを読み出す。 表示制御 手段は、 この読み出された識別名を表示画面上に表示する。 こ う して表示された識別名の何れかを識別名選択指合手段に選択 指令されると、 選択指令された識別名のサブプログラムをプロ グラム読み出し手段がプログラム記憶手段から読み出して表示 制御手段に表示させる。
また、 P C (プログラマブル ' コン トローラ) で実行するシ 一ケンス · プログラムの編集方式において、 各サブプログラム に編集の権利レベルを示す権利コー ドとプログラムの識別名と を付与して入力するプログラム入力手段と、 前記権利コ一 ドぉ よび識別名を付与して入力された前記各サブプログラムを記憶 するプログラム記憶手段と、 オペレータの前記編集の権利レべ ルを示すオペレータコー ドの入力とともに前記識別名の表示を 指令する識別名表示指令手段と、 前記識別名の表示の指令がな されると、 前記プログラム記憶手段から前記識別名のみを読み 出す識別名読み出し手段と、 前記読み出された識別名を表示画 面上に表示するとともに、 前記入力されたォペレ一夕コー ドと 対応する権利レベルの権利コ一ドの付与された識別名のみを区 別表示する表示制御手段と、 前記表示された識別名の何れかを 選択指令する識別名選択指令手段と、 前記区別表示された識別 名が選択指令されたときのみ、 前記選択指令された識別名のサ ブプログラムを前記プログラム記憶手段から読み出して前記表 示制御手段に表示させるプログラム読み出し手段と、 を有する こ とを特徴とするシーケンス · プログラムの編集方式が提供さ れる。
プログラム入力手段により各サブプログラムに編集の権利レ ベルを示す権利コー ドとプログラムの識別名とを付与して入力 すると、 その権利コー ドおよび識別名を付与して入力された各 サブプログラムをプログラム記憶手段が記憶する。 識別名表示 指令手段がオペレータの編集の権利レベルを示すオペレータコ ー ドの入力とともに識別名の表示を指令すると、 識別名読み出 し手段がプログラム記憶手段から識別名のみを読み出し、 この 読み出された識別名を表示制御手段が表示画面上に表示すると ともに、 入力されたオペレータコー ドと対応する権利レベルの 権利コー ドの付与された識別名のみを区別表示する。 識別名選 択指令手段が表示された識別名の何れかを選択指令すると、 プ ログラム読み出し手段は、 区別表示された識別コー ドが選択指 令されたときのみ、 選択指令された識別名のサブプログラムを プログラム記憶手段から読み出して表示制御手段に表示させる c 図 面 の 簡 単 な 説 明
図 1 は第 1 実施例の機能の概念を示す図、
図 2は本発明を実施するための自動プログラ ミ ング装置のハ 一ドウエアのブロ ッ ク図、
図 3は作成されたシーケンス · プログラムが格納された R A M内の内容の一部を示す図、 図 4 は識別名表示画面の一例を示す図、
図 5 はプログラム表示画面の一例を示す図、
図 6はプロセッサ側の主な手順を示すフローチャー ト、 図 7は第 2実施例の機能の概念を示す図、
図 8 は作成されたシーケンス ' プログラムが格納された R A
M内の内容の一部を示す図、 .
図 9は識別名表示画面の一例を示す図、
図 1 0 はプログラム表示画面の一例を示す図、
図 1 1 はプロセッサ側の主な手順を示すフローチヤ一 トであ る。 発明を実施するための最良の形態
以下、 本発明の一実施例を図面に基づいて説明する。
図 1 は第 1 実施例の機能の概念を示す図である。 キーボー ド 1 で、 識別名が付与されたメイ ンプログラムおよび各サブプロ グラムが入力されると、 プログラム記憶手段としてのメモリ 2 が各識別名を付与して入力されたメイ ンプログラムおよび各サ ブプログラムを記憶する。 また、 キーボー ド 1 により識別名の 表示の指令がなされると、 識別名読み出し手段 3がメモリ 2か ら識別名のみを読み出し、 表示制御手段 5力 この読み出され た識別名を表示画面 6上に表示する。 こう して表示された識別 名の何れかがキーボー ド 1 により選択指令されると、 選択指令 された識別名のプログラムをプログラム読み出し手段 4がメモ リ 2から読み出して表示制御手段 5を介して表示画面 6上に表 示する。
図 2は本発明を実施するための自動プログラ ミ ング装置のハ — ドウ エアのブロ ッ ク図である。 プロセッサ 1 1 は、 R〇 M 1 2 に格納されているシステムプログラムに従って自動プログラ ミ ング装置全体を制御する。 R A M I 3 には、 内部データや作 成されたシーケ ンス ' プログラム等が格納される。 シーケ ンス . プログラムのメイ ンプログラムおよび各サブプログラムには. 識別名 も付与されている。
グラフ ィ ッ ク制御回路 1 4 は、 プロセッサ 1 1 からの表示デ 一夕を表示信号に変換し、 表示装置 1 5 に送る。 表示装置 1 5 は、 この表示信号を受けて画面表示を行う。 この表示装置 1 5 には C R T、 液晶表示装置等が使用される。
キーボー ド 1 6 はデータ入力に使用される操作キーや、 フ ァ ンク シヨ ンキー等を備えている。 また、 データ入力は、 タブレ ッ ト 1 7や、 図示されていないマウス等によっても行われる。
H D D (ハー ド · ディ スク · ドライブ) 1 8 は、 作成された シーケ ンス · プログラム等、 電源遮断後も保存すべきデータが 格納される。 F D D (フロ ッ ピ一 ' ディ スク ' ドライブ) 1 9 は、 フロ ッ ピー ' ディ スク 1 9 aを駆動させてシーケンス ' プ ログラム等を読み出したり、 作成または編集されたシーケンス • プログラムをフロ ッ ピー · ディ スク 1 9 a に書き込むこ とが できる。
また、 作成されたシーケンス · プログラムは、 プロ ッ タ 2 0、 プリ ンタ Z P T P (紙テープパンチヤー) 2 1 に出力するこ と もできる。 なお、 これらの構成要素はバス 1 0で互いに結合さ れている。
次に、 本実施例のシーケ ンス · プログラムの編集方式の具体 的な手順を説明する。 図 3は作成されたシーケンス · プログラ厶が格納された R A M l 3内の内容の一部を示す図である。 RAM I 3内には、 P C (プログラマブル ' コン トローラ) で実行するシーケンス · プログラムのメイ ンプログラム M a i nと、 各サブプログラム P l, P 2 , P 1 0 0 , P 1 0 1 , Ρ 1 0 2 · · · とが、 それ ぞれ識別名が付与された状態で格納されている。
このように格納されたシーケンス · プログラムを編集する場 合には、 ォペレ一夕は、 例えばキーボー ド 1 6によって識別名 表示画面の表示指合を行う。
図 4は識別名表示画面の一例を示す図である。 表示装置 1 5 の表示画面 1 5 a上には識別名表示画面 3 0が表示されている, 識別名表示画面 3 0には、 作成したシーケ ンス · プログラムの 各識別名 Ma i n, P I , P 2 , Ρ 1 0 0 , Ρ 1 0 1 , Ρ 1 0 2 · · · が表示される。 オペレータは、 これらの識別名の中か ら編集を行いたいプログラムの識別名にカーソル 3 1を移動し て選択し、 キーボー ド 1 6のリ ターンキー等で指定する。 これ により、 表示画面 1 5 aは、 図 5に示すようにプログラム表示 画面 4 0に切り替わる。 プログラム表示画面 4 0では、 選択さ れたサブプログラムのラダ一図が表示される。 オペレータは、 このプログラム表示画面 4 0上で編集を行う ことができる。
これに続いて他のプログラムの編集を行う場合は、 再び図 4 の識別名表示画面 3 0を切り換え表示させることにより、 容易 に所望のプログラムの編集を行う ことができる。
なお、 他のプログラム編集を行う場合には、 そのプログラム 表示画面 4 0上に識別名表示画面 3 0をウイ ン ドウ形式で表示 させるようにしてもよい。 図 6 はこのような編集操作を行うためのプロセ ッサ 1 1 側の 主な手順を示すフローチヤ一トである。
〔 S 1 〕 識別名の表示の指令があるか否かを判断し、 あればス テツプ S 2 に進み、 なければステップ S 1 を繰り返す。
〔 S 2〕 識別名表示画面 3 0 を表示画面 1 5 a に表示する。 〔 S 3〕 特定の識別名のプログラムが選択指定されたか否かを 判断し、 されればステップ S 4 に進み、 されなければステップ
S 3 を繰り返す。
〔 S 4〕 プ。グラム表示画面 4 0上に選択指定されたプログラ ムを表示する。
〔 S 5 〕 表示されたプログラムの編集作業を受け付ける。
このように、 本実施例では、 識別名表示画面 3 0 によってメ イ ンプログラムおよび各サブプログラムの識別名を表示し、 力 一ソル 3 1 で選択指定されたプログラムをプログラム表示画面 4 0で表示し、 それを編集できるようにしたので、 シーケンス • プログラム全体の構成を把握し易く なり、 サブプログラムの 検索を簡単に行う こ とができる。 したがって、 編集作業の効率 が向上する。
また、 サブプログラムを他のプログラムで利用するこ とも簡 単になる。
なお、 本実施例では、 シーケ ンス · プログラムの編集機能を 有する装置と して自動プログラ ミ ング装置の例を示したが、 P Cにこれらの編集機能を格納するようにしてもよい。
以上説明したように第 1 実施例では、 識別名が付与された各 サブプログラムを記憶し、 識別名の表示の指令がなされると、 識別名のみを読み出して表示画面上に表示し、 表示された識別 名の何れかが選択指令されると、 選択指合された識別名のプロ グラムを読み出して表示画面に表示させるようにしたので、 シ 一ケンス · プログラ厶全体の構成を把握し易くなり、 サブプロ グラムの検索を簡単に行う こ とができる。 したがって、 編集作 業の効率が向上する。
また、 サブプログラムを他のプログラムで利用するこ とも簡 単になる。
図 7は第 2実施例の機能の概念を示す図である。 こ こで、 キ 一ボー ド 5 1 は、 プログラム入力手段、 識別名表示指令手段お よび識別名選択指令手段の機能を有している。 キーボー ド 5 1 により、 メイ ンプログラムおよびサブプログラムの各プログラ 厶 5 7に編集の権利レベルを示す権利コー ド 5 7 b とプログラ ムの識別名 5 7 a とが付与して入力されると、 これら各プログ ラム 5 7は、 権利コー ド 5 7 bおよび識別名 5 7 a とともにメ モリ 5 2に格納される。 そして、 キーボー ド 5 1 により、 オペ レ一夕の編集の権利レベルを示すオペレータコー ドが入力され て識別名の表示が指令されると、 識別名読み出し手段 5 3がメ モリ 5 2から識別名 5 7 aのみを読み出し、 この読み出された 識別名 5 7 aを表示制御手段 5 5が表示画面 5 6上に表示する c このとき、 表示制御手段 5 5は、 入力されたォペレ一夕コー ド と対応する権利レベルの権利コー ド 5 7 bの付与された識別名 5 7 aのみを区別表示する。 この状態で、 キーボー ド 5 1 によ り、 表示された識別名 5 7 aの何れかが選択指令されると、 プ ログラム読み出し手段 5 4 は、 表示画面 5 6上で区別表示され た識別名 5 7 aが選択指令されたときのみ、 選択指令された識 別名 5 7 aのプログラムをメモリ 5 2から読み出して表示制御 手段 5 5 に表示させる。
なお、 第 2実施例を実施するための自動プログラ ミ ング装置 のハー ドウェアは第 1 実施例の図 2 と同じである。
次に、 第 2実施例のシーケ ンス ' プログラムの編集方式の具 体的な手順を説明する。
図 8は作成されたシーケンス · プログラムが格納された R A M l 3内の内容の一部を示す図である。 R AM I 3内には、 P C (プログラマブル · コ ン トローラ) で実行するシーケンス · プログラムのメイ ンプログラム M a i n、 各サブプログラム P 1, P 2 , P 1 0 0, Ρ 1 0 1 , Ρ 1 0 2 · · · 力 、 それぞれ 権利コー ドおよび識別名が付与された状態で格納されている。 こ こでは、 各プログラムには、 3種類の権利コー ド A, Β, C の何れかが与えられている。 権利コー ド Αは例えば機械のメィ ンとなる部分のプログラムであり、 権利コー ド B, Cの順に周 辺部分の低レベルのプログラムを示す。
プログラムの編集に当たるオペレータは、 自身の権利レベル と同じかまたは低レベルの権利コー ドのプログラ厶だけが参照 および編集可能になっている。 オペレータの権利レベルは、 そ のオペレータのみが有するパスワー ド (オペレータコー ド) を 操作の開始時に例えばキーボー ド 1 6 (図 2 ) で入力するこ と により判断される。 オペレー夕がパスワー ドを入力すると、 表 示装置 1 5 (図 2 ) の表示画面上には、 各プログラムの識別名 表示画面が表示される。
図 9は識別名表示画面の一例を示す図である。 表示装置 1 5 の表示画面 1 5 a上には識別名表示画面 6 0が表示されている。 識別名表示画面 6 0には、 シーケ ンス · プログラムの各識別名 M a i n , P l , P 2 , P 1 0 0 , P 1 0 1 , P 1 0 2 · - - が表示される。 この画面の操作を行っているオペレータの権利 レベルが例えば権利コ一 ド Bのレベルであるとすると、 識別名 表示画面 6 0上では権利コー ド Bのプログラムの識別名 P 1 0 0 , P 1 0 1 と、 それより も低レベルの権利コー ド Cのプログ ラムの識別名 P 1 0 2等が、 例えば色別表示されるこ とによつ て、 他のプログラムと区別表示される。 この区別表示には、 色 以外にも、 点滅表示等が使用される。
オペレータは、 これらの区別表示された識別名の中から編集 を行いたいプログラムの識別名にカーソル 3 1 を移動して選択 し、 キーボー ド 1 6のリ ターンキー等で指定する。 これにより - 表示画面 1 5 aは、 図 1 0 に示すようにプログラム表示画面 7 0に切り換わる。 ただし、 カーソル指定された識別名が区別表 示された以外のものの場合には、 プログラム表示画面 7 0 には 切り換わらない。 プログラム表示画面 7 0では、 選択されたサ ブプログラムのラダ一図が表示される。 オペレータは、 このプ ログラム表示画面 7 0上で編集を行う こ とができる。
なお、 プログラム表示画面 7 0の状態から他のプログラムの 編集を行う場合は、 再び図 9 の識別名表示画面 6 0を切り換え 表示させることにより、 容易に所望のプログラムの編集を行う ことができる。
また、 他のプログラム編集を行う場合には、 そのプログラム 表示画面 7 0上に識別名表示画面 6 0をウィ ン ドウ形式で表示 させるようにしてもよい。
図 1 1 はこのような編集操作を行うためのプロセッサ 1 1側 の主な手順を示すフローチヤ一トである。 〔 S 1 1 〕 パスワー ドが入力され、 識別名の表示の指令がなさ れたか否かを判断し、 なされればステップ S 1 2に進み、 そう でなければステップ S 1 1 を繰り返す。
〔S 1 2〕 識別名表示画面 6 0を表示画面 1 5 aに表示する。 C S 1 3〕 特定の識別名のプログラムが選択指定されたか否か を判断し、 されればステップ S 1 4 に進み、 されなければステ ップ S 1 3を繰り返す。
C S 1 4〕 選択指定されたプログラムの権利コー ドがオペレー 夕のパスワー ドの権利レベルに対応しているか否かを判断し、 対応していればステップ S 1 5 に進み、 していなければステツ プ S 1 3に戻る。
C S 1 5〕 プログラム表示画面 7 0上に選択指定されたプログ ラムを表示する。
〔S 1 6〕 表示されたプログラムの編集作業を受け付ける。 このように、 本実施例では、 予めメイ ンプログラムおよびサ ブプログラムに権利コー ドを付して R A M 1 3等に格納してお き、 オペレータの指令によって識別名表示画面 3 0でそれらの 識別名を表示するとともに、 オペレータの権利レベルに応じた 権利コー ドを有するプログラムの識別名を区別表示し、 その区 別表示されたプログラムのみを参照および編集可能としたので、 シーケンス · プログラムの安全な管理が可能となる。
なお、 第 2実施例では、 シーケンス ' プログラムの編集機能 を有する装置として自動プログラ ミ ング装置の例を示したが、 P Cにこれらの編集機能を格納するようにしてもよい。
以上説明したように第 2実施例では、 各サブプログラムに編 集の権利レベルを示す権利コー ドとプログラムの識別名とを付 与して記憶しておき、 オペレータの編集の権利レベルを示すォ ペレ一夕コ一 ドの入力とともに識別名の表示の指令がなされる と、 識別名のみを読み出して表示画面上に表示するとともに、 入力されたオペレータコー ドと対応する権利レベルの権利コー ドの付与された識別名のみを区別表示し、 この区別表示された 識別コー ドが選択指合されたときのみ、 選択指令された識別名 のサブプログラムを読み出して表示するようにしたので、 編集 の権利のない人間によってサブプログラムの内容が参照や編集 されるこ とがない。
したがって、 シーケ ンス · プログラムの安全な管理が可能と なる。

Claims

請 求 の 範 囲
1 . P C (プログラマブル ' コ ン トローラ) で実行するシー ケンス · プログラムの編集方式において、
各サブプログラムに識別名を付与して入力するプログラム入 力手段と、
前記各識別名を付与して入力された前記各サブプログラムを 記憶するプログラム記憶手段と、
前記識別名の表示を指令する識別名表示指令手段と、 前記識別名の表示の指合がなされる と、 前記プログラム記憶 手段から前記識別名のみを読み出す識別名読み出し手段と、 前記読み出された識別名を表示画面上に表示する表示制御手 段と、
前記表示された識別名の何れかを選択指令する識別名選択指 令手段と、
前記選択指合された識別名のサブプログラムを前記プログラ ム記憶手段から読み出して前記表示制御手段に表示させるプロ グラム読み出し手段と、
を有するこ とを特徴とするシーケンス · プログラムの編集方 式。
2 . 前記表示制御手段は、 前記識別名および前記サブプログ ラムを切り換えて表示するように構成されているこ とを特徴と する請求項 1 記載のシーケ ンス · プログラムの編集方式。
3 . 前記表示制御手段は、 前記識別名を前記サブプログラム の表示画面上でウイ ン ドウ形式で表示するように構成されてい るこ とを特徴とする請求項 1 記載のシーケンス ■ プログラムの 編集方式。
4 . 前記プログラム入力手段は、 メイ ンプログラムにも前記 識別名を付与するように構成されているこ とを特徴とする請求 項 1 記載のシーケンス ■ プログラムの編集方式。
5 . P C (プログラマブル ' コ ン トローラ) で実行するシ一 ケンス · プログラムの編集方式において、
各サブプロダラムに編集の権利レベルを示す権利コー ドとプ ログラムの識別名とを付与して入力するプログラム入力手段と- 前記権利コー ドおよび識別名を付与して入力された前記各サ ブプログラムを記憶するプログラム記憶手段と、
オペレータの前記編集の権利レベルを示すオペレータコー ド の入力とともに前記識別名の表示を指令する識別名表示指合手 段と、
前記識別名の表示の指令がなされると、 前記プログラム記憶 手段から前記識別名のみを読み出す識別名読み出し手段と、 前記読み出された識別名を表示画面上に表示するとともに、 前記入力されたオペレータコ一 ドと対応する権利レベルの権利 コー ドの付与された識別名のみを区別表示する表示制御手段と、 前記表示された識別名の何れかを選択指合する識別名選択指 令手段と、
前記区別表示された識別名が選択指令ざれたときのみ、 前記 選択指令された識別名のサブプログラムを前記プログラム記憶 手段から読み出して前記表示制御手段に表示させるプログラム 読み出し手段と、
を有することを特徵とするシーケンス · プログラムの編集方 式。
6 . 前記表示制御手段は、 前記識別名の表示画面および前記 サブプログラムの表示画面を切り換えて表示するように構成さ れているこ とを特徴とする請求項 5記載のシーケンス · プログ ラムの編集方式。
7 . 前記表示制御手段は、 前記識別名を前記サブプログラム の表示画面上でウイ ン ドウ形式で表示するように構成されてい るこ とを特徴とする請求項 5記載のシーケンス · プログラムの ώ集力
8 . 前記プログラム入力手段は、 メイ ンプログラムにも前記 権利コー ドおよび前記識別名を付与するように構成されている こ とを特徴とする請求項 5記載のシーケンス · プログラムの編 集 ¾式。
9 . 前記区別表示は、 色の区別によって行われるように構成 されているこ とを特徴とする請求項 5記載のシーケンス · プロ グラムの編集方式。
1 0 . 前記表示制御手段は、 前記入力されたオペレータコー ドと前記権利レベルが同じか低い権利コ一ドの付与された識別 名を区別表示するように構成されているこ とを特徴とする請求 項 5記載のシーケンス · プログラムの編集方式。
1 1 . 前記オペレータコー ドは、 前記オペレータのみの所有 するパスヮー ドであるこ とを特徴とする請求項 5記載のシーケ ンス · プログラムの編集方式。
PCT/JP1995/000798 1994-05-17 1995-04-21 Systeme d'edition de programme sequentiel WO1995031758A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP95916037A EP0710903A4 (en) 1994-05-17 1995-04-21 SYSTEM FOR EDITING A SEQUENTIAL PROGRAM

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP6101473A JPH07311604A (ja) 1994-05-17 1994-05-17 シーケンス・プログラムの編集方式
JP6/101473 1994-05-17
JP6/128510 1994-06-10
JP6128510A JPH07334213A (ja) 1994-06-10 1994-06-10 シーケンス・プログラムの編集方式

Publications (1)

Publication Number Publication Date
WO1995031758A1 true WO1995031758A1 (fr) 1995-11-23

Family

ID=26442349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1995/000798 WO1995031758A1 (fr) 1994-05-17 1995-04-21 Systeme d'edition de programme sequentiel

Country Status (3)

Country Link
EP (1) EP0710903A4 (ja)
KR (1) KR0157147B1 (ja)
WO (1) WO1995031758A1 (ja)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100817364B1 (ko) * 2006-04-05 2008-03-26 미쓰비시덴키 가부시키가이샤 프로그래머블 로직 컨트롤러의 주변 장치 및 그 프로그램작성 방법
KR101972163B1 (ko) 2016-01-26 2019-04-24 조성빈 조립식 건축용 셀 블록 및 그 제조방법, 그리고 조립식 건축용 셀 블록을 이용하여 시공된 조립식 건축물
KR102059463B1 (ko) 2017-08-25 2019-12-26 천민승 프리텐션 콘크리트 보 및 이를 이용한 구조물 시공방법
KR102002972B1 (ko) 2019-02-21 2019-07-23 세화자동차주식회사 폐기물 수집 운반차량

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56168263A (en) * 1980-05-30 1981-12-24 Hitachi Ltd Program making device
JPS62100805A (ja) * 1985-10-28 1987-05-11 Omron Tateisi Electronics Co 制御装置
JPH01177606A (ja) * 1988-01-08 1989-07-13 Fanuc Ltd シーケンスプログラム作成方法
JPH0227403A (ja) * 1988-07-15 1990-01-30 Matsushita Electric Works Ltd シーケンスコントローラ
JPH02173801A (ja) * 1988-12-27 1990-07-05 Fanuc Ltd Pcのパスワード解読方式
JPH05341815A (ja) * 1992-06-08 1993-12-24 Fanuc Ltd シーケンス・プログラムの編集方式
JPH0667712A (ja) * 1992-08-21 1994-03-11 Enshu Ltd ラダープログラム編集方法
JPH06222815A (ja) * 1993-01-26 1994-08-12 Matsushita Electric Works Ltd プログラマブルコントローラ

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2112974B (en) * 1981-11-18 1986-01-22 Omron Tateisi Electronics Co Monitoring interlock instructions for programmable controller
EP0275826A1 (en) * 1986-12-16 1988-07-27 Ciba-Geigy Ag Control system for a sample preparation system
US4991193A (en) * 1988-11-25 1991-02-05 Picker International, Inc. System safety monitor for CT scanners
JP2907858B2 (ja) * 1989-03-20 1999-06-21 株式会社日立製作所 表示装置および方法
US5243511A (en) * 1989-06-30 1993-09-07 Icom, Inc. Method and apparatus for block move re-addressing in ladder logic programs
US5267145A (en) * 1989-06-30 1993-11-30 Icom, Inc. Method and apparatus for program navigation and editing for ladder logic programs by determining which instructions reference a selected data element address

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56168263A (en) * 1980-05-30 1981-12-24 Hitachi Ltd Program making device
JPS62100805A (ja) * 1985-10-28 1987-05-11 Omron Tateisi Electronics Co 制御装置
JPH01177606A (ja) * 1988-01-08 1989-07-13 Fanuc Ltd シーケンスプログラム作成方法
JPH0227403A (ja) * 1988-07-15 1990-01-30 Matsushita Electric Works Ltd シーケンスコントローラ
JPH02173801A (ja) * 1988-12-27 1990-07-05 Fanuc Ltd Pcのパスワード解読方式
JPH05341815A (ja) * 1992-06-08 1993-12-24 Fanuc Ltd シーケンス・プログラムの編集方式
JPH0667712A (ja) * 1992-08-21 1994-03-11 Enshu Ltd ラダープログラム編集方法
JPH06222815A (ja) * 1993-01-26 1994-08-12 Matsushita Electric Works Ltd プログラマブルコントローラ

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP0710903A4 *

Also Published As

Publication number Publication date
KR0157147B1 (ko) 1999-02-18
KR950033745A (ko) 1995-12-26
EP0710903A4 (en) 1997-07-02
EP0710903A1 (en) 1996-05-08

Similar Documents

Publication Publication Date Title
EP1655661A2 (en) Programmable display device
WO1991019237A1 (en) Graphical programming interface for machine/process controllers
WO1995031758A1 (fr) Systeme d&#39;edition de programme sequentiel
JPH11296217A (ja) Nc装置におけるプログラムファイルの転送方法およびその装置
JP2768770B2 (ja) プラント操作装置
JP2001075790A (ja) エディタ装置およびエディタプログラムを記録した記録媒体
JPH02220102A (ja) シーケンス・プログラム編集方式
WO2023042295A1 (ja) 画面作成装置、及びコンピュータが読み取り可能な記憶媒体
JP3579220B2 (ja) プログラミング装置並びに割込処理記述方法、プログラマブルコントローラ、及び記録媒体
JPH07334213A (ja) シーケンス・プログラムの編集方式
JPH05341815A (ja) シーケンス・プログラムの編集方式
JPH11353762A (ja) 情報記録再生装置およびその動作テスト方法
JP2001075616A (ja) エディタ装置およびエディタプログラムを記録した記録媒体
JP2700887B2 (ja) 数値制御装置
JP2533373B2 (ja) 制御プログラム作成方法
WO1989001198A1 (en) Interactive programming apparatus
JPH0863218A (ja) 数値制御装置のプログラム構成表示方式
JPS61278909A (ja) 対話形プログラミング装置
JP2687327B2 (ja) 数値制御装置
JPH10323476A (ja) 縫製システム
JPH07311604A (ja) シーケンス・プログラムの編集方式
JP4823885B2 (ja) 表示器に対するネットワーク設定情報の設定方法
Ooe et al. Operation and monitoring functions of centum CS 3000
JP2002244705A (ja) エディタ装置のデータ転送システムおよびデータ転送プログラム
JP2007280093A (ja) 画面データ作成方法

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE

ENP Entry into the national phase

Ref country code: US

Ref document number: 1996 581597

Date of ref document: 19960105

Kind code of ref document: A

Format of ref document f/p: F

WWE Wipo information: entry into national phase

Ref document number: 1995916037

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 1995916037

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1995916037

Country of ref document: EP