WO2024096011A1 - シーケンスプログラムの編集プログラム - Google Patents

シーケンスプログラムの編集プログラム Download PDF

Info

Publication number
WO2024096011A1
WO2024096011A1 PCT/JP2023/039269 JP2023039269W WO2024096011A1 WO 2024096011 A1 WO2024096011 A1 WO 2024096011A1 JP 2023039269 W JP2023039269 W JP 2023039269W WO 2024096011 A1 WO2024096011 A1 WO 2024096011A1
Authority
WO
WIPO (PCT)
Prior art keywords
history information
selection
editing
user
program
Prior art date
Application number
PCT/JP2023/039269
Other languages
English (en)
French (fr)
Inventor
聖 加藤
竜二 田中
俊彦 川久保
佑介 安彦
Original Assignee
株式会社ジェイテクトエレクトロニクス
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 株式会社ジェイテクトエレクトロニクス filed Critical 株式会社ジェイテクトエレクトロニクス
Publication of WO2024096011A1 publication Critical patent/WO2024096011A1/ja

Links

Images

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

Definitions

  • the present invention relates to an editing program for a sequence program.
  • a typical sequence program is the ladder diagram defined in IEC 61131-3.
  • a sequence program written using a ladder diagram is also called a ladder program, and is widely used as a program for controlling equipment. Examples of sequence program editing and debugging devices include those described in Patent Documents 1 and 2.
  • Ladder programs are written in a format that mimics the relay circuits of control panels made up of numerous relays, which were used before programmable controllers became widespread, with the relay contacts described as operating conditions and the relay coils described as output signals. Furthermore, with the increasing sophistication and complexity of equipment control in recent years, instruction words such as arithmetic instructions, data transfer instructions, timer instructions, and counter instructions are also being used more frequently.
  • the present invention was made in consideration of the above circumstances, and its purpose is to provide a sequence program editing program that makes it easy to select appropriate command words from among the many command words that can be executed by a programmable controller.
  • the present invention provides an editing program for editing a sequence program executed in a programmable controller that controls equipment, the editing program causing a computer to function as: a storage unit that stores instruction word classification information in which instruction words executable by the programmable controller are classified into a plurality of groups; a first reception unit that displays a plurality of group identification information for identifying each of the plurality of groups on a display screen based on the instruction word classification information and receives a selection of the plurality of group identification information; a second reception unit that displays on the display screen a selection item for identifying one of the plurality of instruction words corresponding to the group identification information selected by the first reception unit and receives a selection of an option for the selection item; and an editing unit that adds the one instruction word identified based on the result of the selection received by the second reception unit to the sequence program.
  • the sequence program editing program of the present invention makes it easy to select an appropriate command from among the many commands that can be executed by a programmable controller.
  • FIG. 1 is a schematic diagram showing a computer or the like in which a sequence program editing program according to an embodiment of the present invention is installed.
  • FIG. 2 is a block diagram showing an example of the functional configuration of a CPU module of the programmable controller.
  • FIG. 3 is a block diagram showing an example of the functional configuration of a computer that functions as a program editing device.
  • FIG. 4 is an explanatory diagram showing an example of the contents of the instruction word classification information.
  • FIG. 5 is an explanatory diagram showing an example of a window that is displayed on the display screen of a computer when an editing program is executed.
  • FIG. 6 is an explanatory diagram showing an example of a dialog box that is displayed on the display screen when a group selection icon indicating the major category of "Timer" is selected.
  • FIG. 1 is a schematic diagram showing a computer or the like in which a sequence program editing program according to an embodiment of the present invention is installed.
  • FIG. 2 is a block diagram showing an example of the functional configuration of a
  • FIG. 7 is an explanatory diagram illustrating an example of the count information.
  • FIG. 8 is a block diagram showing an example of the functional configuration of a computer that functions as a program editing device according to the second embodiment.
  • FIG. 9A is an explanatory diagram showing an example of user history information.
  • FIG. 9B is an explanatory diagram illustrating an example of facility history information.
  • FIG. 1 is a schematic diagram showing a computer 1 on which a sequence program editing program according to an embodiment of the present invention is installed, a programmable controller 2 that executes the sequence program edited by the computer 1, an operation panel 3 connected to the programmable controller 2, and equipment 4 that is the target of control by the programmable controller 2.
  • Computer 1 is a general-purpose computer having an operating system such as Windows (registered trademark), and functions as a sequence program editing device when executing a sequence program editing program.
  • Windows registered trademark
  • the operation panel 3 is a touch panel computer equipped with a touch panel 31, and issues operational commands to the programmable controller 2 and monitors the operating status of the programmable controller 2.
  • the equipment 4 is, for example, a machine tool, and has various actuators 41 and sensors 42.
  • the programmable controller 2 is composed of a power supply module 21, a CPU module 22, an output module 23, an input module 24, a communication module 25, and a base 20 on which these modules are mounted.
  • the power supply module 21 supplies power to each of the modules 22 to 25 via the base 20.
  • the CPU module 22 is capable of communicating with the output module 23, the input module 24, and the communication module 25 via a bus circuit formed in the base 20.
  • the output module 23 has a plurality of output relays respectively connected to a plurality of actuators 41 of the equipment 4.
  • the plurality of actuators 41 are, for example, solenoids, motors, or electromagnetic switching valves that control hydraulic pressure.
  • the input module 24 has a plurality of input relays connected to a plurality of sensors 42 of the equipment 4.
  • the plurality of sensors 42 are, for example, proximity sensors, photoelectric sensors, or limit switches, and detect the operating state of the actuators 41, the position and machining state of the workpiece, etc.
  • the CPU module 22 stores the sequence program edited by the computer 1 and controls the equipment 4 based on this sequence program. Specifically, by executing the sequence program, the contacts of each output relay of the output module 23 are turned on/off according to the state of each input relay of the input module 24, etc.
  • computer 1 is a portable notebook computer, and has a keyboard 131 and pointing device 132 operated by a user such as a programmer who edits a sequence program, and a display unit 14 having a display screen 141.
  • Computer 1 may be shared by multiple users, or may be used exclusively by a single user. In this embodiment, the case where computer 1 is shared by multiple users will be described below.
  • the CPU module 22 is a block diagram showing an example of the functional configuration of the CPU module 22 of the programmable controller 2.
  • the CPU module 22 has a CPU 221 which is an arithmetic processing device, a memory 222 including a rewritable non-volatile semiconductor memory element, a communication circuit 223 which communicates with the computer 1, and a communication interface circuit 224 which communicates with the output module 23, the input module 24, and the communication module 25 via a bus circuit provided in the base 20.
  • Memory 222 stores a system program 222a for the operation of CPU 221, a sequence program 222b, IO data 222c indicating the on/off state of input and output relays, and register data 222d indicating the values of multiple data registers used as variables in sequence program 222b.
  • Sequence program 222b is a ladder program written using a ladder diagram defined in IEC 61131-3.
  • FIG. 3 is a block diagram showing an example of the functional configuration of a computer 1 that functions as a program editing device.
  • the computer 1 includes a CPU 11, which is an arithmetic processing device; a storage 12 that is configured with a semiconductor storage element, a magnetic storage medium such as a hard disk, and stores various information; an input unit 13 that has a keyboard 131 and a pointing device 132; a display unit 14 that displays a screen to the user; and a communication circuit 15 that communicates with the communication circuit 223 of the programmable controller 2.
  • the CPU 11 operates according to the editing program 121 to function as a first reception unit 111, a second reception unit 112, an editing unit 113, a history information generation unit 114, and a history information output unit 115. Details of each of these units 111 to 115 will be described later.
  • Storage 12 stores various information such as an installed editing program 121, instruction word classification information 122, a sequence program 123 being edited by computer 1, and count information 124 that counts the number of instruction words used in sequence program 123.
  • instruction word classification information 122 is classification information in which instruction words executable by programmable controller 2 are classified into a number of groups having a hierarchical structure.
  • the hierarchical structure has an upper layer (major classification) and a lower layer (minor classification).
  • FIG. 4 is an explanatory diagram showing an example of the contents of the instruction word classification information 122.
  • the instruction word classification information 122 has 20 items set as major categories: “contact (normally open)”, “contact (normally closed)", “rising contact”, “comparison”, “output coil”, “set coil”, “reset coil”, “timer”, “counter”, “calculation”, “drum”, “data shift”, “data copy”, “data search”, “subroutine call”, “repeat start”, “repeat end”, “program end”, “data reception”, and “data transmission”.
  • Each of these major categories has one or more command words grouped together.
  • the "Timer" group has eight command words: TMRH (10 ms timer), TMR (100 ms timer), TMRSH (10 ms accumulating timer), TMRS (100 ms accumulating timer), ETMRH (extended 10 ms timer), ETMR (extended 100 ms timer), ETMRSH (extended 10 ms accumulating timer), and ETMRS (extended 100 ms accumulating timer).
  • the instruction word classification information 122 is stored in the storage 12, for example, when the editing program 121 is installed.
  • the contents of the instruction word classification information 122 are referenced by the CPU 11 when the editing program 121 is executed.
  • the editing program 121 causes the computer 1 to function as a storage unit that stores the instruction word classification information 122.
  • the first reception unit 111 displays a plurality of group identification information identifying each of a plurality of groups, which are major classification items, on the display screen 141 based on the command word classification information 122, and receives a selection of a plurality of group identification information by the user. In this embodiment, the selection of any one of the group identification information of the above 20 items is received.
  • the second reception unit 112 displays on the display screen 141 selection items for identifying one of the multiple instruction words corresponding to the group identification information selected and received by the first reception unit 111, and receives the selection of options for this selection item.
  • the selection items relate to the function of each instruction word, i.e., the content that the instruction word executes in the sequence program.
  • FIG. 5 is an explanatory diagram showing an example of a window 5 displayed on the display screen 141 of the computer 1 when the editing program 121 is executed.
  • the window 5 has a group selection icon display area 51 that displays group selection icons 51a-51t including group names, which are the names of major classification items, and a sequence program display area 52 that displays the contents of the sequence program being edited or monitored.
  • the group names included in the group selection icons 51a-51t are an example of group identification information.
  • a selection operation e.g., double-clicking
  • the first reception unit 111 accepts the selection as if the group identification information indicated by that icon has been selected.
  • FIG. 6 is an explanatory diagram showing a dialog box 53 that is displayed on the display screen 141 when the eighth group selection icon 51h, which indicates the major category of "Timer", is selected.
  • the dialog box 53 has an address setting box 531 for setting the address number of the timer, a timer value setting box 532 for setting the timer value, a pull-down menu button 533 for setting the unit of the timer value, a first radio button 534 for selecting on delay (turning on with a delay of the timer value) or off delay (turning off with a delay of the timer value), a second radio button 535 for selecting whether to maintain or clear the timer value at that time when the enable signal that enables the timer to count is turned off, an OK button 536, a cancel button 537, and a help button 538.
  • the address setting box 531 is an input box for inputting the address number of a timer command in a sequence program.
  • the timer value to be set e.g., 50 ms
  • the timer value to be set is set either directly using a numerical value, or indirectly using the contents of a data register.
  • a numerical value is input into the timer value setting box 532, and in the case of indirect specification, the address of a data register is input.
  • Pull-down menu button 533, first radio button 534, and second radio button 535 are selection items for specifying one of the multiple command words belonging to the "timer" group.
  • the unit of the timer value e.g., ms or s (seconds) displayed when pull-down menu button 533 is clicked is an option of pull-down menu button 533.
  • On delay and off delay are options of first radio button 534.
  • Whether to maintain or clear the timer value when the enable signal is turned off is an option of second radio button 535.
  • the second reception unit 112 receives the selection of the option of each of these selection items by pull-down menu button 533, first radio button 534, and second radio button 535.
  • TMRH 10 ms timer
  • ETMRS extended 100 ms accumulation timer
  • OK button 536 is a button for confirming the contents provisionally selected by pull-down menu button 533, first radio button 534, and second radio button 535. In other words, the contents selected by pull-down menu button 533, first radio button 534, and second radio button 535 are not confirmed and remain provisionally selected until OK button 536 is clicked. In the provisionally selected state, the user can reselect options for each selection item by operating the button.
  • the Cancel button 537 is a button for closing the dialog box 53.
  • the Help button 538 is a button for displaying a help screen that explains how to set each item in the dialog box 53.
  • the editing unit 113 has the function of adding a command word specified according to the selection result based on the selection result of the option for the selection item accepted by the second acceptance unit 112 to the sequence program.
  • the location where the editing unit 113 adds the command word is a location specified by, for example, the user operating the pointing device 132 to click on any part of the sequence program displayed in the sequence program display area 52.
  • the user specifies the part of the sequence program where the command word is to be added before performing a selection operation on any of the group selection icons 51a to 51t.
  • the editing unit 113 also displays on the display screen 141 the command word added to the sequence program together with information indicating the content of the options accepted by the second accepting unit 112. Specifically, as shown in FIG. 5, for example, information indicating the content of the options selected by the pull-down menu button 533, the first radio button 534, and the second radio button 535 is displayed in the display area of the timer command 521 in the sequence program display area 52. In the example shown in FIG.
  • the display area of the timer command 521 includes a display area 521a showing the unit of the timer value selected by the pull-down menu button 533, a display area 521b showing the on-delay or off-delay selected by the first radio button 534, and a display area 521c showing whether to maintain or clear the timer value selected by the second radio button 535.
  • the sequence program display area 52 By displaying the sequence program display area 52 in this way, the user can easily check the contents that have been set by selection. If only the name of the instruction word such as "TMRH" were displayed in the display area of the timer instruction 521, the user would have to check the contents that the instruction word executes by, for example, referring to a programming manual. However, in this embodiment, instead of displaying the name of the instruction word on the display screen 141, the contents of the options accepted by the second acceptance unit 112 are displayed, making it easier to understand the processing contents of the instruction word in the sequence program, improving user convenience.
  • the second reception unit 112 has a function of provisionally selecting one of the multiple options of a selection item that is frequently selected based on history information indicating the history of selections made for the selection item. For example, in the dialog box 53 shown in FIG. 6, if "ms" is frequently selected with the pull-down menu button 533, on-delay is frequently selected with the first radio button 534, and clearing the timer value is frequently selected with the second radio button 535, when the eighth group selection icon 51h is selected, the dialog box 53 is displayed with each option provisionally selected in advance as shown in FIG. 6.
  • the information stored in the counting information 124 is used as history information, and the second reception unit 112 provisionally selects one of the frequently used options.
  • FIG. 7 is an explanatory diagram showing an example of the count information 124.
  • the history information generating unit 114 updates the count information 124 each time the selection of the option of the selection item presented to the user by the second receiving unit 112 is confirmed, that is, each time an instruction word is added to the sequence program being edited.
  • the count information 124 stores the number of times each instruction word, such as "TMRH” or "TMR", is used. For example, when the instruction word "TMR" is added to the sequence program being edited, the number of times "TMR" is used is incremented by 1.
  • the history information generating unit 114 subtracts the number of times the deleted instruction word is used. When a new sequence program is created, the number of times each instruction word is used in the count information 124 is zero.
  • the second reception unit 112 When presenting the selection items to the user, the second reception unit 112 refers to the count information 124, and among the command words belonging to the group (e.g., the "timer" group) selected by the first reception unit 111, the option corresponding to the most frequently used command word ("TMR" in the example shown in FIG. 7) is provisionally selected, and the dialog box 53 is displayed.
  • the group e.g., the "timer" group
  • TMR most frequently used command word
  • the second reception unit 112 refers to the information in the counting information 124 and presents each selection item to the user with the option corresponding to the most frequently used command word provisionally selected, thereby increasing the probability that the user will not need to reselect an option and reducing the operational burden on the user.
  • the second reception unit 112 can disable the function of provisionally selecting one of the options of a selection item based on history information through a user setting.
  • This setting to disable the function can be set, for example, from the option menu 54 displayed in the window 5 of the editing program 121 displayed on the display screen 141.
  • the editing program 121 also causes the CPU 11 to function as the history information output unit 115, making it possible to output the counting information 124 in a format that can be transferred to another computer.
  • the history information output unit 115 can perform this output by, for example, writing the contents of the counting information 124 as a data file together with the sequence program being edited onto a removable storage medium such as a USB memory attached to the computer 1. This output may also be performed by transferring the contents of the counting information 124 as history information via communication to another computer connected via a LAN line, for example.
  • the editing program 121 is installed in the other computer to which the history information is to be output, and the acquired counting information 124 is referenced when the editing program 121 of the other computer is executed. This allows editing work to be performed by passing the history information between computers, even when one user edits sequence programs using multiple computers.
  • FIG. 8 is a block diagram showing an example of the functional configuration of a computer 1 functioning as a program editing device in the second embodiment.
  • the storage 12 of the computer 1 stores user history information 125 and equipment history information 126 as history information indicating the history of selections made for selection items.
  • the history information generating unit 114 updates the user history information 125 and equipment history information 126 each time the selection content of the option for the selection item presented to the user by the second receiving unit 112 is confirmed, that is, each time an instruction word is added to the sequence program being edited.
  • the second reception unit 112 provisionally selects one of the multiple options for a selection item that is selected most frequently based on either or both of the user history information 125 and the equipment history information 126 generated by the history information generation unit 114.
  • the user history information 125 is history information linked to the user who started the editing program 121
  • the equipment history information 126 is history information linked to the equipment 4 that is the target of control by the programmable controller 2 that executes the sequence program.
  • FIG. 9A is an explanatory diagram showing an example of user history information 125.
  • FIG. 9B is an explanatory diagram showing an example of equipment history information 126.
  • a case is shown in which a command word resulting from a selection is stored as information indicating the history of selections made for selection items.
  • the selection results of each option of the selection items e.g., the above-mentioned pull-down menu button 533, first radio button 534, and second radio button 535) presented to the user by the second reception unit 112 may be stored in the user history information 125 and equipment history information 126 as history information indicating the selection history.
  • the command words added to the sequence program are stored together with the date and time of the addition and the user ID.
  • the user ID is obtained, for example, from login information for the computer 1.
  • the user ID may be stored in the user history information 125.
  • the command words added to the sequence program are stored together with the date and time of the addition and the equipment name.
  • the equipment name is linking information that links the sequence program to the equipment 4, and is registered by the user as one of the attribute information of the sequence program when creating a new sequence program, for example.
  • the history information generating unit 114 updates the user history information 125 and the equipment history information 126 and adds new history information each time the selection of an option for a selection item presented to the user by the second receiving unit 112 is finalized, that is, each time an instruction word is added to the sequence program.
  • the history information generating unit 114 stores history information for a predetermined number of times or a predetermined period in the user history information 125 and the equipment history information 126. Old history information that exceeds this number of times or period is sequentially erased.
  • the second reception unit 112 When presenting selection items to the user, the second reception unit 112 refers to at least one of the user history information 125 and the equipment history information 126, and provisionally selects one option that is selected most frequently among multiple options for the selection item. Whether the second reception unit 112 refers to the user history information 125, the equipment history information 126, or both the user history information 125 and the equipment history information 126 can be set by the user, for example.
  • the history information generating unit 114 may generate only the user history information 125.
  • the second receiving unit 112 refers to the user history information 125, and sets one option that is selected frequently among multiple options for a selection item to a provisionally selected state.
  • the history information generating unit 114 may generate only the equipment history information 126.
  • the second receiving unit 112 refers to the equipment history information 126, and sets one option that is selected frequently among multiple options for a selection item to a provisionally selected state.
  • the second reception unit 112 refers to the user history information 125, it refers to the history information stored in the user history information 125 that corresponds to the user ID of the user who is currently using the editing program 121, and presents each selection item to the user with the option corresponding to the most frequently used (used) command word provisionally selected.
  • the second reception unit 112 refers to the equipment history information 126, it refers to the history information stored in the equipment history information 126 that corresponds to the equipment name of the equipment 4 linked to the sequence program being edited at that time, and presents each selection item to the user with the option corresponding to the most frequently used (used number of times) command word provisionally selected.
  • the second reception unit 112 refers to the user history information 125 and the equipment history information 126, it refers to the history information stored in the user history information 125 and the equipment history information 126 that corresponds to the user ID of the user using the editing program 121 at that time, and the history information stored that corresponds to the equipment name of the equipment 4 linked to the sequence program being edited at that time, and presents each selection item to the user with the option corresponding to the most frequently used command word provisionally selected.
  • the second reception unit 112 refers to the history information in the user history information 125 and/or the equipment history information 126, and presents each selection item to the user with the option corresponding to the most frequently used command word provisionally selected, thereby increasing the probability that the user will not need to reselect an option and reducing the operational burden on the user.
  • the user can disable the function of provisionally selecting one of multiple options for a selection item based on the history information.
  • the history information output unit 115 can output the contents of the user history information 125 and the equipment history information 126 in a format that can be transferred to another computer.
  • REFERENCE SIGNS LIST 1 ... computer 111... first reception unit 112... second reception unit 113... editing unit 122... instruction word classification information 123... sequence program 124... counting information 125... user history information 126... equipment history information 2... programmable controller 4... equipment 51a to 51t... group selection icon

Landscapes

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

Abstract

プログラマブルコントローラ2において実行されるシーケンスプログラム222bを編集するための編集プログラム121は、コンピュータ1を、プログラマブルコントローラ2が実行可能な複数の命令語が複数のグループに分類された命令語分類情報122を記憶する記憶部と、命令語分類情報に基づいて表示画面141に複数のグループのそれぞれを識別する複数のグループ識別情報であるグループ選択アイコン51a~51tを表示し、その選択を受け付ける第1の受付部111と、選択を受け付けたグループ識別情報に対応する複数の命令語のうち一の命令語を特定するための選択項目を表示画面141に表示し、選択肢の選択を受け付ける第2の受付部121と、として機能させる。

Description

シーケンスプログラムの編集プログラム
 本発明は、シーケンスプログラムの編集プログラムに関する。
 従来、工作機械等の設備を制御するプログラマブルコントローラは、シーケンスプログラムの編集装置によって編集されたシーケンスプログラムを実行することによって設備のアクチュエータ等を動作させる。シーケンスプログラムの代表的なものとしては、IEC61131-3に規定されたラダーダイアグラムがある。ラダーダイアグラムによって記述されたシーケンスプログラムは、ラダープログラムとも呼ばれ、設備制御用のプログラムとして広く用いられている。なお、シーケンスプログラムの編集装置やデバッグ装置としては、例えば特許文献1、2に記載のものが知られている。
 ラダープログラムは、プログラマブルコントローラが普及する以前に用いられていた、多数のリレーによって構成された制御盤のリレー回路を模した形式で表され、リレーの接点を動作条件として、リレーのコイルを出力信号として、それぞれ記述される。また、近年の設備制御の高度化及び複雑化に伴い、算術命令やデータ転送命令、タイマ命令やカウンタ命令などの命令語も、多く用いられるようになっている。
特開2006-119884号公報 特開2003-122405号公報
 シーケンスプログラムの編集装置のユーザ(プログラマー)は、実現したい処理内容の目的に適した命令語を例えばプログラミングマニュアルを参照して選び出し、ラダープログラムを作成していた。しかし、ラダープログラムに用いられる命令語は、例えば500種類以上にも及び、目的に応じた適切な命令語を抽出する作業には、多くの手間を要していた。
 本発明は、上記の事情に鑑みてなされたものであり、その目的は、プログラマブルコントローラが実行可能な多数の命令語の中から適切な命令語を選択する作業を容易に行うことが可能なシーケンスプログラムの編集プログラムを提供することにある。
 本発明は、上記の目的を達成するため、設備を制御するプログラマブルコントローラにおいて実行されるシーケンスプログラムを編集するための編集プログラムであって、コンピュータを、前記プログラマブルコントローラが実行可能な複数の命令語が複数のグループに分類された命令語分類情報を記憶する記憶部と、前記命令語分類情報に基づいて表示画面に前記複数のグループのそれぞれを識別する複数のグループ識別情報を表示し、前記複数のグループ識別情報の選択を受け付ける第1の受付部と、前記第1の受付部が選択を受け付けた前記グループ識別情報に対応する前記複数の前記命令語のうち一つの命令語を特定するための選択項目を前記表示画面に表示し、前記選択項目の選択肢の選択を受け付ける第2の受付部と、前記第2の受付部が受け付けた選択の結果に基づいて特定された前記一つの命令語を前記シーケンスプログラムに追加する編集部と、として機能させる編集プログラム。を提供する。
 本発明に係るシーケンスプログラムの編集プログラムによれば、プログラマブルコントローラが実行可能な多数の命令語の中から適切な命令語を選択する作業を容易に行うことが可能となる。
図1は、本発明の実施の形態に係るシーケンスプログラムの編集プログラムがインストールされたコンピュータ等を示す概略構成図である。 図2は、プログラマブルコントローラのCPUモジュールの機能構成例を示すブロック図である。 図3は、プログラム編集装置として機能するコンピュータの機能構成例を示すブロック図である。 図4は、命令語分類情報の内容の一例を示す説明図である。 図5は、編集プログラムの実行時にコンピュータの表示画面に表示されるウインドウの一例を示す説明図である。 図6は、「タイマ」の大分類を示すグループ選択アイコンが選択されたときに表示画面に表示されるダイアログボックスの一例を示す説明図である。 図7は、計数情報の一例を示す説明図である。 図8は、第2の実施の形態に係るプログラム編集装置として機能するコンピュータの機能構成例を示すブロック図である。 図9Aは、ユーザ履歴情報の一例を示す説明図である。 図9Bは、設備履歴情報の一例を示す説明図である。
[実施の形態]
 本発明の実施の形態について、図1乃至図7を参照して説明する。なお、以下に説明する実施の形態は、本発明を実施する上での好適な具体例として示すものであり、技術的に好ましい種々の技術的事項を具体的に例示している部分もあるが、本発明の技術的範囲はこの具体的態様に限定されるものではない。
 図1は、本発明の実施の形態に係るシーケンスプログラムの編集プログラムがインストールされたコンピュータ1、このコンピュータ1によって編集されたシーケンスプログラムを実行するプログラマブルコントローラ2、プログラマブルコントローラ2に接続された操作盤3、及びプログラマブルコントローラ2による制御対象の設備4を示す概略構成図である。
 コンピュータ1は、例えばWindows(登録商標)等のオペレーティングシステムを有する汎用コンピュータであり、シーケンスプログラムの編集プログラムを実行する際にはシーケンスプログラムの編集装置として機能する。
 操作盤3は、タッチパネル31を備えたタッチパネルコンピュータであり、プログラマブルコントローラ2への動作指令や、プログラマブルコントローラ2の動作状態のモニタ等を行う。設備4は、例えば工作機械であり、各種のアクチュエータ41やセンサ42を有している。
 プログラマブルコントローラ2は、電源モジュール21、CPUモジュール22、出力モジュール23、入力モジュール24、通信モジュール25、及びこれら各モジュールが装着されたベース20を有して構成されている。電源モジュール21は、ベース20を介して各モジュール22~25に電源を供給する。CPUモジュール22は、ベース20に形成されたバス回路を介して、出力モジュール23、入力モジュール24、及び通信モジュール25との通信が可能である。
 出力モジュール23は、設備4の複数のアクチュエータ41にそれぞれ接続された複数の出力リレーを有している。複数のアクチュエータ41は、例えばソレノイドやモータ、あるいは油圧を制御する電磁切換弁等である。入力モジュール24は、設備4の複数のセンサ42に接続された複数の入力リレーを有している。複数のセンサ42は、例えば近接センサや光電センサ、あるいはリミットスイッチ等であり、アクチュエータ41の動作状態や、工作物の位置及び加工状態等を検出する。
 CPUモジュール22は、コンピュータ1によって編集されたシーケンスプログラムを記憶し、このシーケンスプログラムに基づいて設備4を制御する。具体的には、シーケンスプログラムを実行することで、入力モジュール24の各入力リレーの状態等に応じて出力モジュール23の各出力リレーの接点をオン/オフさせる。
 本実施の形態では、コンピュータ1が可搬型のノートパソコンであり、シーケンスプログラムを編集するプログラマー等のユーザが操作するキーボード131及びポインティングデバイス132、及び表示画面141を有する表示部14を有している。コンピュータ1は、複数のユーザに共用される場合もあれば、一人のユーザが占有して使用する場合もある。本実施の形態では、コンピュータ1が複数のユーザに共用される場合について、以下説明する。
 図2は、プログラマブルコントローラ2のCPUモジュール22の機能構成例を示すブロック図である。CPUモジュール22は、演算処理装置であるCPU221と、書き換え可能な不揮発性の半導体記憶素子を含むメモリ222と、コンピュータ1との間で通信を行う通信回路223と、ベース20に設けられたバス回路を介して出力モジュール23、入力モジュール24、及び通信モジュール25との通信を行う通信インタフェース回路224とを有している。
 メモリ222は、CPU221の動作のためのシステムプログラム222aと、シーケンスプログラム222bと、入力リレー及び出力リレーのオン/オフ状態を示すIOデータ222cと、シーケンスプログラム222bで変数として用いられる複数のデータレジスタの値を示すレジスタデータ222dとを記憶している。シーケンスプログラム222bは、IEC61131-3に規定されたラダーダイアグラムによって記述されたラダープログラムである。
 図3は、プログラム編集装置として機能するコンピュータ1の機能構成例を示すブロック図である。コンピュータ1は、演算処理装置であるCPU11と、半導体記憶素子やハードディスク等の磁気記憶媒体によって構成され、各種の情報を記憶するストレージ12と、キーボード131及びポインティングデバイス132を有する入力部13と、ユーザへの画面表示を行う表示部14と、プログラマブルコントローラ2の通信回路223との通信を行う通信回路15とを備えている。
 CPU11は、編集プログラム121に従って動作することにより、第1の受付部111、第2の受付部112、編集部113、履歴情報生成部114、及び履歴情報出力部115として機能する。これら各部111~115の詳細については後述する。
 ストレージ12には、インストールされた編集プログラム121、命令語分類情報122、コンピュータ1によって編集中のシーケンスプログラム123、シーケンスプログラム123に用いられている各命令語ごとの使用個数をカウントした計数情報124等の各種の情報が記憶されている。このうち、命令語分類情報122は、プログラマブルコントローラ2が実行可能な命令語が階層構造を有する複数のグループに分類された分類情報である。階層構造は、上層(大分類)、及び下層(小分類)を有する。
 図4は、命令語分類情報122の内容の一例を示す説明図である。命令語分類情報122には、大分類の項目として、「接点(ノーマルオープン)」、「接点(ノーマルクローズ)」、「立ち上がり接点」、「比較」、「出力コイル」、「セットコイル」、「リセットコイル」、「タイマ」、「カウンタ」、「演算」、「ドラム」、「データシフト」、「データコピー」、「データサーチ」、「サブルーチンコール」、「繰り返し開始」、「繰り返し終了」、「プログラム終了」、「データ受信」、及び「データ送信」の20の項目が設定されている。
 これらの大分類の項目には、それぞれ一つ以上の命令語がグループ化されている。例えば、「タイマ」のグループには、TMRH(10msタイマ)、TMR(100msタイマ)、TMRSH(10ms積算タイマ)、TMRS(100ms積算タイマ)、ETMRH(拡張10msタイマ)、ETMR(拡張100msタイマ)、ETMRSH(拡張10ms積算タイマ)、ETMRS(拡張100ms積算タイマ)の8個の命令語が分類されている。
 命令語分類情報122は、例えば編集プログラム121のインストール時にストレージ12に記憶される。命令語分類情報122の内容は、編集プログラム121の実行時にCPU11によって参照される。すなわち、編集プログラム121は、コンピュータ1を、命令語分類情報122を記憶する記憶部として機能させる。
 第1の受付部111は、命令語分類情報122に基づいて表示画面141に大分類の項目である複数のグループのそれぞれを識別する複数のグループ識別情報を表示し、ユーザによる複数のグループ識別情報の選択を受け付ける。本実施の形態では、上記の20の項目のうち、何れか一つのグループ識別情報の選択を受け付ける。
 第2の受付部112は、第1の受付部111により選択を受け付けたグループ識別情報に対応する複数の命令語のうち一つの命令語を特定するための選択項目を表示画面141に表示し、この選択項目における選択肢の選択を受け付ける。選択項目は、各命令語の機能、すなわちシーケンスプログラムにおいて命令語が実行する内容に関するものである。
 図5は、編集プログラム121の実行時にコンピュータ1の表示画面141に表示されるウインドウ5の一例を示す説明図である。ウインドウ5は、大分類の項目名であるグループ名を含むグループ選択アイコン51a~51tを表示するグループ選択アイコン表示領域51と、編集中又はモニタ中のシーケンスプログラムの内容を表示するシーケンスプログラム表示領域52とを有している。グループ選択アイコン51a~51tに含まれるグループ名は、グループ識別情報の一例である。第1の受付部111は、グループ選択アイコン51a~51tの何れかに対して選択操作(例えばダブルクリック)がされたとき、そのアイコンに示されるグループ識別情報が選択されたものとして、その選択を受け付ける。
 図6は、「タイマ」の大分類を示す第8のグループ選択アイコン51hが選択されたときに表示画面141に表示されるダイアログボックス53を示す説明図である。ダイアログボックス53は、タイマのアドレス番号を設定するアドレス設定枠531と、タイマ値を設定するタイマ値設定枠532と、タイマ値の単位を設定するプルダウンメニューボタン533と、オンディレイ(タイマ値分遅れてオンする)かオフディレイ(タイマ値分遅れてオフする)かを選択する第1のラジオボタン534と、タイマの計時を有効とするイネーブル信号がオフしたときにその時のタイマ値を維持するかクリアするかを選択する第2のラジオボタン535と、OKボタン536と、キャンセルボタン537と、ヘルプボタン538と、を有している。
 アドレス設定枠531は、シーケンスプログラムにおけるタイマ命令のアドレス番号を入力する入力枠である。タイマ値設定枠532には、設定するタイマ値(例えば50ms)を、数値による直接指定か、又はデータレジスタの内容によって指定する間接指定によって設定する。直接指定の場合には、数値をタイマ値設定枠532に入力し、間接指定の場合には、データレジスタのアドレスを入力する。
 プルダウンメニューボタン533、第1のラジオボタン534、及び第2のラジオボタン535は、「タイマ」のグループに属する複数の命令語のうち何れか一つの命令語を特定するための選択項目である。プルダウンメニューボタン533をクリックしたときに表示されるタイマ値の単位(例えばmsやs(秒))は、プルダウンメニューボタン533の選択肢である。オンディレイ及びオフディレイは、第1のラジオボタン534の選択肢である。イネーブル信号がオフしたときにタイマ値を維持するかクリアするかは、第2のラジオボタン535の選択肢である。第2の受付部112は、プルダウンメニューボタン533、第1のラジオボタン534、及び第2のラジオボタン535により、これら各選択項目の選択肢の選択を受け付ける。
 例えば、プルダウンメニューボタン533により「ms」が選択され、第1のラジオボタン534によりオンディレイが選択され、第2のラジオボタン535によりタイマ値をクリアすることが選択された場合には、TMRH(10msタイマ)が一つの命令語として特定される。また、プルダウンメニューボタン533により「s」が選択され、第1のラジオボタン534によりオフディレイが選択され、第2のラジオボタン535によりタイマ値をクリアしないことが選択された場合には、ETMRS(拡張100ms積算タイマ)が一つの命令語として特定される。
 OKボタン536は、プルダウンメニューボタン533、第1のラジオボタン534、及び第2のラジオボタン535により仮選択された内容を確定するためのボタンである。つまり、プルダウンメニューボタン533、第1のラジオボタン534、及び第2のラジオボタン535により選択された内容は、OKボタン536がクリックされるまでは確定せず、仮選択された状態である。仮選択の状態では、ユーザの操作により、各選択項目の選択肢を選びなおすことが可能である。
 キャンセルボタン537は、ダイアログボックス53をクローズするボタンである。ヘルプボタン538は、ダイアログボックス53における各内容の設定方法等を説明するヘルプ画面を表示させるためのボタンである。
 各選択項目の選択肢が選択され、OKボタン536がクリックされると、ダイアログボックス53の各選択項目における選択肢の選択内容が確定し、シーケンスプログラム表示領域52に表示されているシーケンスプログラムの所定の箇所に、編集部113の機能によって図5に符号521で示すタイマ命令が追加される。このように編集部113は、第2の受付部112が受け付けた選択項目の選択肢の選択結果に基づいて、その選択結果に応じて特定される命令語をシーケンスプログラムに追加する機能を有している。
 編集部113が命令語を追加する箇所は、例えばユーザによるポインティングデバイス132の操作により、シーケンスプログラム表示領域52に表示されたシーケンスプログラムの何れかの部位をクリックすることにより指定された箇所である。ユーザは、グループ選択アイコン51a~51tの何れかに対して選択操作を行う前に、命令語を追加するシーケンスプログラム上の部位を指定する。
 また、編集部113は、表示画面141に、シーケンスプログラムに追加した命令語を第2の受付部112によって受け付けた選択肢の内容を示す情報と共に表示する。具体的には、例えば図5に示すように、シーケンスプログラム表示領域52におけるタイマ命令521の表示領域に、プルダウンメニューボタン533、第1のラジオボタン534、及び第2のラジオボタン535によって選択された選択肢の内容を示す情報を表示する。図5に示す例では、プルダウンメニューボタン533によって選択されたタイマ値の単位の表示エリア521a、第1のラジオボタン534によって選択されたオンディレイ又はオフディレイを示す表示エリア521b、及び第2のラジオボタン535によって選択されたタイマ値を維持するかクリアするかを示す表示エリア521cが、タイマ命令521の表示領域に含まれている。
 このようにシーケンスプログラム表示領域52への表示がなされることにより、ユーザは、選択により設定した内容を容易に確認することができる。なお、仮にタイマ命令521の表示領域に「TMRH」等の命令語の名称のみを表示する場合には、その命令語が実行する内容を例えばプログラミングマニュアルを参照して確認しなければならないが、本実施の形態では、命令語の名称を表示画面141に表示するのではなく、第2の受付部112によって受け付けた選択肢の内容を表示するので、シーケンスプログラムにおける命令語の処理内容の把握が容易であり、ユーザの利便性が向上する。
 また、本実施の形態では、第2の受付部112が、選択項目に対して行われた選択の履歴を示す履歴情報に基づいて、選択項目の複数の選択肢のうち選択される頻度が高い一つの選択肢を仮選択された状態にする機能を有している。例えば、図6に示すダイアログボックス53において、プルダウンメニューボタン533により「ms」が選択される頻度が高く、第1のラジオボタン534によりオンディレイが選択される頻度が高く、第2のラジオボタン535によりタイマ値をクリアすることが選択される頻度が高い場合には、第8のグループ選択アイコン51hが選択されたときに、図6に示すように各選択肢が予め仮選択された状態でダイアログボックス53を表示する。本実施の形態では、計数情報124に記憶された情報を履歴情報として用い、第2の受付部112が使用頻度の高い一つの選択肢を仮選択された状態にする。
 図7は、計数情報124の一例を示す説明図である。履歴情報生成部114は、第2の受付部112によってユーザに提示される選択項目の選択肢の選択内容が確定するたびに、すなわち編集中のシーケンスプログラムに命令語が追加されるたびに計数情報124を更新する。計数情報124には、図7に示すように、「TMRH」や「TMR」等の各命令語ごとに、その使用個数が記憶される。例えば、編集中のシーケンスプログラムに「TMR」の命令語が追加された際には、「TMR」の使用個数に1を加算する。なお、編集中のシーケンスプログラムにおいて命令語が削除された場合には、履歴情報生成部114が削除された命令語の使用個数を減算する。シーケンスプログラムを新規作成する際には、計数情報124における各命令語の使用個数がゼロである。
 第2の受付部112は、ユーザに選択項目を提示する際、計数情報124を参照し、第1の受付部111が選択を受け付けたグループ(例えば「タイマ」のグループ)に属する命令語のうち、最も使用個数が多い命令語(図7に示す例では「TMR」)に対応する選択肢を仮選択された状態にしてダイアログボックス53を表示する。
 これにより、ユーザは、第2の受付部112の機能によって仮選択された選択肢をそのまま採用する場合には、改めて複数の選択肢の中から所望の選択肢を選択し直す必要がなく、操作負担が軽減される。つまり、本実施の形態では、第2の受付部112が計数情報124の情報を参照し、最も使用頻度が高い命令語に対応する選択肢を仮選択された状態で各選択項目をユーザに提示することで、ユーザが選択肢を選択し直さなくてもよい確率を高めることができ、ユーザの操作負担を軽減することができる。
 また、ユーザによっては、第2の受付部112が履歴情報に基づいて選択項目の何れかの選択肢を仮選択された状態にする機能が必要ないと判断される場合がある。このため、第2の受付部112は、ユーザの設定により、履歴情報に基づいて選択項目の複数の選択肢のうち何れかを仮選択された状態にする機能の無効化が可能である。この無効化の設定は、例えば表示画面141に表示される編集プログラム121のウインドウ5に表示されるオプションメニュー54から行うことが可能である。
 また、編集プログラム121は、CPU11を履歴情報出力部115として機能させることにより、計数情報124の情報を他のコンピュータに移行可能な形式で出力することが可能である。履歴情報出力部115は、例えば編集中のシーケンスプログラムと共に、コンピュータ1に装着されたUSBメモリ等の着脱可能な記憶媒体に計数情報124の内容をデータファイルとして書き出すことにより、この出力を行うことが可能である。また、例えばLAN回線を介して接続された他のコンピュータに対して通信によって計数情報124の内容を履歴情報として転送することにより、この出力を行ってもよい。
 履歴情報の出力対象である他のコンピュータには、編集プログラム121がインストールされており、取得した計数情報124が当該他のコンピュータの編集プログラム121の実行時に参照される。これにより、一人のユーザが複数のコンピュータを用いてシーケンスプログラムの編集を行う場合にも、履歴情報をコンピュータ間で引き継いで編集作業を行うことができる。
(第1の実施の形態の効果)
 以上説明した本実施の形態によれば、多数の命令語の中から適切な命令語を選択する作業を容易に行うことが可能となる。また、ユーザによる過去の選択肢の選択結果に基づいて、使用頻度が高い命令語に対応する選択肢を仮選択された状態で表示画面141への表示がなされるので、ユーザの操作負担を軽減することができる。
[第2の実施の形態]
 次に、本発明の第2の実施の形態について、図8ならびに図9A及び図9Bを参照して説明する。
 図8は、第2の実施の形態においてプログラム編集装置として機能するコンピュータ1の機能構成例を示すブロック図である。図8に示すように、コンピュータ1のストレージ12には、第1の実施の形態の計数情報124に替えて、選択項目に対して行われた選択の履歴を示す履歴情報として、ユーザ履歴情報125及び設備履歴情報126が記憶される。履歴情報生成部114は、第2の受付部112によってユーザに提示される選択項目の選択肢の選択内容が確定するたびに、すなわち編集中のシーケンスプログラムに命令語が追加されるたびに、ユーザ履歴情報125及び設備履歴情報126を更新する。
 第2の受付部112は、履歴情報生成部114によって生成されたユーザ履歴情報125及び設備履歴情報126の何れか又は両方により、選択項目の複数の選択肢のうち選択される頻度が高い一つの選択肢を仮選択された状態にする。ユーザ履歴情報125は、編集プログラム121を起動したユーザに紐付けられた履歴情報であり、設備履歴情報126は、シーケンスプログラムを実行するプログラマブルコントローラ2が制御対象とする設備4に紐付けられた履歴情報である。
 図9Aは、ユーザ履歴情報125の一例を示す説明図である。図9Bは、設備履歴情報126の一例を示す説明図である。ここでは、選択項目に対して行われた選択の履歴を示す情報として、その選択の結果である命令語を記憶する場合を示している。ただし、これに限らず、第2の受付部112によってユーザに提示される選択項目(例えば、上記のプルダウンメニューボタン533、第1のラジオボタン534、及び第2のラジオボタン535)の各選択肢の選択結果を、選択の履歴を示す履歴情報としてユーザ履歴情報125及び設備履歴情報126に記憶してもよい。
 ユーザ履歴情報125には、シーケンスプログラムに追加された命令語が、その追加の日時及びユーザIDと共に記憶される。ユーザIDは、例えばコンピュータ1へのログイン情報によって取得される。また、編集プログラム121の起動時にユーザIDやパスワードを入力する場合には、そのユーザIDをユーザ履歴情報125に記憶してもよい。
 設備履歴情報126には、シーケンスプログラムに追加された命令語が、その追加の日時及び設備名と共に記憶される。設備名は、シーケンスプログラムと設備4とを紐付けする紐付け情報であり、例えばシーケンスプログラムを新規作成する際にユーザによってシーケンスプログラムの属性情報の一つとして登録される。
 履歴情報生成部114は、第2の受付部112によってユーザに提示される選択項目の選択肢の選択内容が確定するたびに、すなわちシーケンスプログラムに命令語が追加されるたびに、ユーザ履歴情報125及び設備履歴情報126を更新し、新たな履歴情報を追加する。履歴情報生成部114は、過去の所定回数もしくは所定期間にわたる履歴情報をユーザ履歴情報125及び設備履歴情報126に記憶させる。この回数又は期間を越えた古い履歴情報は、順次消去される。
 第2の受付部112は、ユーザに選択項目を提示する際、ユーザ履歴情報125及び設備履歴情報126の少なくとも何れかを参照し、選択項目の複数の選択肢のうち選択される頻度が高い一つの選択肢を仮選択された状態にする。第2の受付部112がユーザ履歴情報125を参照するか、設備履歴情報126を参照するか、あるいはユーザ履歴情報125及び設備履歴情報126を参照するかは、例えばユーザによって設定することが可能である。
 なお、履歴情報生成部114が、ユーザ履歴情報125のみを生成するようにしてもよい。この場合には、第2の受付部112がユーザ履歴情報125を参照し、選択項目の複数の選択肢のうち選択される頻度が高い一つの選択肢を仮選択された状態にする。また、履歴情報生成部114が、設備履歴情報126のみを生成するようにしてもよい。この場合には、第2の受付部112が設備履歴情報126を参照し、選択項目の複数の選択肢のうち選択される頻度が高い一つの選択肢を仮選択された状態にする。
 第2の受付部112がユーザ履歴情報125を参照する場合には、ユーザ履歴情報125に記憶された履歴情報のうち、その時点において編集プログラム121を使用しているユーザのユーザIDに対応して記憶された履歴情報を参照し、最も使用頻度(使用回数)が高い命令語に対応する選択肢を仮選択された状態で各選択項目をユーザに提示する。
 また、第2の受付部112が設備履歴情報126を参照する場合には、設備履歴情報126に記憶された履歴情報のうち、その時点において編集されているシーケンスプログラムに紐付けられた設備4の設備名に対応して記憶された履歴情報を参照し、最も使用頻度(使用回数)が高い命令語に対応する選択肢を仮選択された状態で各選択項目をユーザに提示する。
 また、第2の受付部112がユーザ履歴情報125及び設備履歴情報126を参照する場合には、ユーザ履歴情報125及び設備履歴情報126に記憶された履歴情報のうち、その時点において編集プログラム121を使用しているユーザのユーザIDに対応して記憶された履歴情報、及びその時点において編集されているシーケンスプログラムに紐付けられた設備4の設備名に対応して記憶された履歴情報を参照し、最も使用頻度が高い命令語に対応する選択肢を仮選択された状態で各選択項目をユーザに提示する。
 これにより、ユーザは、第2の受付部112の機能によって仮選択された選択肢をそのまま採用する場合には、改めて複数の選択肢の中から所望の選択肢を選択し直す必要がなく、操作負担が軽減される。つまり、本実施の形態では、第2の受付部112がユーザ履歴情報125及び/又は設備履歴情報126の履歴情報を参照し、最も使用頻度が高い命令語に対応する選択肢を仮選択された状態で各選択項目をユーザに提示することで、ユーザが選択肢を選択し直さなくてもよい確率を高めることができ、ユーザの操作負担を軽減することができる。
 また、本実施の形態においても、第1の実施の形態と同様に、ユーザは、履歴情報に基づいて選択項目の複数の選択肢のうち何れかを仮選択された状態にする機能の無効化が可能である。また、履歴情報出力部115は、ユーザ履歴情報125及び設備履歴情報126の内容を他のコンピュータに移行可能な形式で出力することが可能である。
(付記)
 以上、本発明を第1及び第2の実施の形態に基づいて説明したが、これらの実施の形態は、特許請求の範囲に係る発明を限定するものではない。また、実施の形態の中で説明した特徴の組合せの全てが発明の課題を解決するための手段に必須であるとは限らない点に留意すべきである。また、本発明は、その趣旨を逸脱しない範囲で適宜変形して実施することが可能である。
1…コンピュータ
111…第1の受付部
112…第2の受付部
113…編集部
122…命令語分類情報
123…シーケンスプログラム
124…計数情報
125…ユーザ履歴情報
126…設備履歴情報
2…プログラマブルコントローラ
4…設備
51a~51t…グループ選択アイコン

Claims (8)

  1.  設備を制御するプログラマブルコントローラにおいて実行されるシーケンスプログラムを編集するための編集プログラムであって、
     コンピュータを、
     前記プログラマブルコントローラが実行可能な複数の命令語が複数のグループに分類された命令語分類情報を記憶する記憶部と、
     前記命令語分類情報に基づいて表示画面に前記複数のグループのそれぞれを識別する複数のグループ識別情報を表示し、前記複数のグループ識別情報の選択を受け付ける第1の受付部と、
     前記第1の受付部が選択を受け付けた前記グループ識別情報に対応する前記複数の前記命令語のうち一つの命令語を特定するための選択項目を前記表示画面に表示し、前記選択項目の選択肢の選択を受け付ける第2の受付部と、
     前記第2の受付部が受け付けた選択の結果に基づいて特定された前記一つの命令語を前記シーケンスプログラムに追加する編集部と、
     として機能させる編集プログラム。
  2.  前記第2の受付部は、前記選択項目に対して行われた選択の履歴を示す履歴情報に基づいて、前記選択項目の複数の選択肢のうち選択される頻度が高い一つの選択肢を仮選択された状態にする、
     請求項1に記載の編集プログラム。
  3.  前記履歴情報は、編集中のシーケンスプログラムに用いられている各命令語ごとの使用個数である、
     請求項2に記載の編集プログラム。
  4.  前記履歴情報は、前記編集プログラムを起動したユーザに紐付けられたユーザ履歴情報である、
     請求項2に記載の編集プログラム。
  5.  前記履歴情報は、前記シーケンスプログラムを実行する前記プログラマブルコントローラが制御対象とする前記設備に紐付けられた設備履歴情報である、
     請求項2に記載の編集プログラム。
  6.  前記第2の受付部は、ユーザの設定により、前記履歴情報に基づいて前記選択項目の選択肢のうち何れかを仮選択された状態にする機能の無効化が可能である、
     請求項2乃至5の何れか1項に記載の編集プログラム。
  7.  前記編集部は、前記表示画面に、前記シーケンスプログラムに追加した前記一つの命令語を前記選択肢の内容を示す情報と共に表示する、
     請求項1に記載の編集プログラム。
  8.  前記コンピュータを、前記履歴情報を他のコンピュータに移行可能な形式で出力する履歴情報出力部としてさらに機能させる、
     請求項2乃至5の何れか1項に記載の編集プログラム。
     
PCT/JP2023/039269 2022-11-04 2023-10-31 シーケンスプログラムの編集プログラム WO2024096011A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022177120 2022-11-04
JP2022-177120 2022-11-04

Publications (1)

Publication Number Publication Date
WO2024096011A1 true WO2024096011A1 (ja) 2024-05-10

Family

ID=90930724

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/039269 WO2024096011A1 (ja) 2022-11-04 2023-10-31 シーケンスプログラムの編集プログラム

Country Status (1)

Country Link
WO (1) WO2024096011A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580814A (ja) * 1991-06-18 1993-04-02 Fuji Electric Co Ltd プログラマブルコントローラ用プログラミング装置
JP2012079132A (ja) * 2010-10-01 2012-04-19 Fuji Electric Co Ltd ラダープログラム作成支援装置、そのプログラム
WO2016170713A1 (ja) * 2015-04-20 2016-10-27 京セラドキュメントソリューションズ株式会社 画像処理装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580814A (ja) * 1991-06-18 1993-04-02 Fuji Electric Co Ltd プログラマブルコントローラ用プログラミング装置
JP2012079132A (ja) * 2010-10-01 2012-04-19 Fuji Electric Co Ltd ラダープログラム作成支援装置、そのプログラム
WO2016170713A1 (ja) * 2015-04-20 2016-10-27 京セラドキュメントソリューションズ株式会社 画像処理装置

Similar Documents

Publication Publication Date Title
US8843885B2 (en) Program creation support device
US9483043B2 (en) Method and system for programmable numerical control
US8918216B2 (en) Robot system
US6366300B1 (en) Visual programming method and its system
US9122269B2 (en) Method and system for operating a machine from the field of automation engineering
WO2001016657A1 (fr) Editeur et support enregistre sur lequel le programme d'edition est enregistre
EP1624352A1 (en) Manual restart learning process and manual restart process for an automated system
US6587122B1 (en) Instruction syntax help information
US20050071802A1 (en) Numerical control with machine-tool simulator
AU2006336827B2 (en) Plant control system control program creation/display device
JP3847585B2 (ja) エディタの登録装置、登録プログラムおよびそれを記録した記録媒体
CN111993419B (zh) 基于pdps的机器人离线制作方法及其装置、计算机终端设备
WO2024096011A1 (ja) シーケンスプログラムの編集プログラム
JP6337810B2 (ja) 情報処理装置、情報処理方法、およびプログラム
CN104669094B (zh) 数控抛光机用的远程手持终端
US20090013308A1 (en) Programming interface for computer programming
JP4381793B2 (ja) プログラマブル表示器、表示制御プログラムおよびそのプログラムを記録した記録媒体、ならびに画面作成装置、画面作成プログラムおよびそのプログラムを記録した記録媒体
JP6939662B2 (ja) プログラミング支援装置、プログラミング支援方法及びプログラム
JP4372739B2 (ja) プログラマブル表示器、制御プログラムおよびそのプログラムを記録した記録媒体、ならびに画面作成装置、画面作成プログラムおよびそのプログラムを記録した記録媒体
JP2020170266A (ja) ラダー表示装置
JP2019192067A (ja) システム、およびシステム制御方法
JP2001075791A (ja) エディタ装置およびエディタプログラムを記録した記録媒体
JP4387288B2 (ja) 制御用表示装置、エディタ装置、プログラムおよび記録媒体
WO2024014364A1 (ja) ラダープログラム編集装置、編集方法および編集プログラム
JP2533372B2 (ja) 制御プログラム作成方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23885765

Country of ref document: EP

Kind code of ref document: A1