WO2018216083A1 - Control device and editing device - Google Patents

Control device and editing device Download PDF

Info

Publication number
WO2018216083A1
WO2018216083A1 PCT/JP2017/019075 JP2017019075W WO2018216083A1 WO 2018216083 A1 WO2018216083 A1 WO 2018216083A1 JP 2017019075 W JP2017019075 W JP 2017019075W WO 2018216083 A1 WO2018216083 A1 WO 2018216083A1
Authority
WO
WIPO (PCT)
Prior art keywords
control program
control
unit
information
rollback
Prior art date
Application number
PCT/JP2017/019075
Other languages
French (fr)
Japanese (ja)
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 三菱電機株式会社
Priority to CN201780011408.0A priority Critical patent/CN109287123B/en
Priority to JP2017563626A priority patent/JP6305667B1/en
Priority to PCT/JP2017/019075 priority patent/WO2018216083A1/en
Publication of WO2018216083A1 publication Critical patent/WO2018216083A1/en

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 a control device that executes a control program to control a controlled device, and an editing device that can edit the control program.
  • Control devices such as a programmable logic controller (hereinafter referred to as PLC (Programmable Logic Controller)) that controls a controlled device by executing a control program are used in the field of industrial machinery.
  • PLC Programmable Logic Controller
  • Patent Document 1 discloses a control device that can rewrite a control program being executed without stopping the control program. With this configuration, the operating efficiency of the control device and the controlled device can be improved. This control device temporarily stores the control program before and after rewriting and the part of the control program being executed when the control program is rewritten, and deletes the temporarily stored information after rewriting the control program. Yes.
  • Patent Document 1 does not describe a rollback function that rewrites the control program and then returns to the original control program.
  • the control program may be returned to the control program before rewriting.
  • in the control device described in Patent Literature 1 in order to roll back the control program, it is necessary to rewrite the control program being executed after manually rewriting it to the original state, which is troublesome. .
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a control device that can easily return the control program to the state before the rewriting after rewriting the control program.
  • a control device includes a first storage unit that stores a control program including step and transition information, a second storage unit, and a first storage unit.
  • An execution unit for controlling the controlled device by executing the control program stored in the memory, an in-execution rewriting instruction for rewriting the control program stored in the first storage unit during execution of the control program, and a change in the control program
  • a communication unit that receives difference information indicating a portion, and a rewrite control unit that rewrites a control program.
  • the rewrite control unit Each time the rewrite control unit receives an in-execution rewrite instruction, the rewrite control unit obtains backup information including the control program before rewriting, difference information, and active information indicating the step being executed in the control program, from a plurality of backup information.
  • the control program is stored in the second storage unit together with order information indicating each order, and the control program is rewritten based on the difference information.
  • the control device has an effect that it is possible to easily return the control program to the state before rewriting after rewriting the control program.
  • FIG. 1 The figure which shows the structure of the control apparatus and editing apparatus concerning Embodiment 1 of this invention.
  • Explanatory drawing of the control program which the control apparatus shown in FIG. The figure which shows an example of the processing circuit which implement
  • the figure which shows an example of the edit of the control program which the editing apparatus shown in FIG. 1 performs FIG. 1 is a sequence diagram showing an operation of rewriting a control program executed by the control device shown in FIG.
  • the figure which shows the rewriting instruction screen in execution which the editing apparatus shown in FIG. 1 displays The figure which shows the confirmation screen which the editing apparatus shown in FIG.
  • FIG. 9 is a sequence diagram showing an operation of rolling back a control program executed by the control device according to the second embodiment of the present invention.
  • FIG. 12 is a diagram showing a rollback execution screen that is updated and displayed after the rollback execution screen shown in FIG.
  • FIG. 1 is a diagram illustrating the configuration of the control device 1 and the editing device 3 according to the first embodiment of the present invention.
  • the control device 1 controls the controlled device 2 by executing a control program.
  • the control device 1 is, for example, a PLC or the like, and controls a controlled device 2 used at a production site such as a processing device or an inspection device.
  • the editing device 3 is a device that edits a control program executed by the control device 1.
  • the editing device 3 is an information processing device such as a PC (Personal Computer), and executes an editing application for editing the control program.
  • the control device 1 includes a first storage unit 11, an execution unit 12, a communication unit 13, a rewrite control unit 14, a second storage unit 15, and a rollback control unit 16.
  • the first storage unit 11 stores a control program.
  • the execution unit 12 controls the controlled device 2 by reading and executing the control program stored in the first storage unit 11.
  • the communication unit 13 is a communication interface with an external device such as the editing device 3.
  • the rewrite control unit 14 controls rewriting of the control program stored in the first storage unit 11.
  • the rewrite control unit 14 rewrites the control program stored in the first storage unit 11 according to the difference information received together with the in-execution rewrite instruction every time an in-execution rewrite instruction is received from the editing device 3 via the communication unit 13.
  • the difference information indicates the changed part of the control program.
  • the rewrite control unit 14 backs up the control program being executed to the second storage unit 15 before rewriting the control program, and stores information necessary for rolling back the backed up control program as backup information in the second storage.
  • the backup information includes, for example, a control program before the change, activation information indicating a portion being executed in the control program, and difference information.
  • the rewrite control unit 14 may store the difference information received from the editing device 3 as backup information as it is, or store information generated based on the difference information, such as converting the data format of the difference information, as backup information. Also good.
  • the rollback control unit 16 rolls back the control program using the backup information stored in the second storage unit 15.
  • the rewrite control unit 14 generates backup information every time the control program is rewritten, and stores the backup information in the second storage unit 15 together with order information indicating the order in which the backup information is generated. For this reason, the rollback control unit 16 can perform a plurality of rollbacks, and each time the rollback is performed, the control program can be returned to the past state one by one.
  • the editing device 3 includes a communication unit 31, an editing unit 32, an input / output unit 33, and a storage unit 34.
  • the communication unit 31 is a communication interface with an external device such as the control device 1.
  • the editing unit 32 edits a control program executed by the control device 1.
  • the input / output unit 33 has a function of an input unit that generates an input signal according to a user's input operation and a function of an output unit that outputs a display screen and the like.
  • the input / output unit 33 includes, for example, a touch panel that combines the functions of the input unit and the output unit, a pointing device such as a mouse, an input device such as a keyboard, and a display device.
  • the storage unit 34 stores an editing program executed by the editing device 3, data generated during the execution of the editing program, and the like.
  • the editing unit 32 can edit the control program executed by the control device 1 based on the input signal generated by the input / output unit 33.
  • FIG. 2 is an explanatory diagram of a control program executed by the control device 1 shown in FIG.
  • the control program Prog1 is composed of a block BL0.
  • one control program is composed of one block, but one control program may be composed of a plurality of blocks.
  • the control program Prog1 is an SFC (Sequential Function Chart) program in which the block BL0 is composed of a plurality of steps and a plurality of transitions that are transition conditions. The step indicates each operation unit in a series of operations performed by the control device 1, and each step is connected by a transition.
  • SFC Sequential Function Chart
  • control device 1 executes the SFC program, it executes in order from the youngest block, repeats execution of the step and determination of whether or not the transition is established, and if the transition is established, the next step is executed. Run in order.
  • the control program Prog1 shown in FIG. 2 after executing step S0 of the block BL0, the control device 1 determines the transition TR0, and if the transition TR0 is established, executes the step S1 next. Similarly, the control device 1 performs the determination of the transition TR1, the execution of step S2, the determination of the transition TR2, the execution of step S3, and the determination of the transition TR3, and executes until the last step S4.
  • the control device 1 ends the processing of the block being executed.
  • FIG. 3 is a diagram illustrating an example of the processing circuit 92 that implements the functions of the control device 1 and the editing device 3 illustrated in FIG.
  • the processing circuit 92 illustrated in FIG. 3 includes a memory 93 and a processor 94.
  • the first storage unit 11, the execution unit 12, the rewrite control unit 14, the second storage unit 15 and the rollback control unit 16 of the control device 1, and the editing unit 32 and the storage unit 34 of the editing device 3 are stored in the memory 93. This is realized by the processor 94 reading and executing the computer program.
  • the memory 93 is a storage device such as a RAM (Random Access Memory), a ROM (Read Only Memory), a nonvolatile or volatile semiconductor memory such as a flash memory, a magnetic disk, a flexible disk, and an optical disk.
  • the processor 94 is a CPU (Central Processing Unit) and is also called a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, a DSP (Digital Signal Processor), or the like.
  • the first storage unit 11 that is an area for storing a control program executed by the execution unit 12 and the second storage unit 15 that is an area for storing backup information may be realized by a single storage device. It may be realized by a plurality of storage devices.
  • each function of the control device 1 may be realized by dedicated hardware, and a part may be realized by software or firmware. As described above, each function described above can be realized by hardware, software, firmware, or a combination thereof.
  • FIG. 4 is a diagram showing an example of editing of the control program Prog1 performed by the editing device 3 shown in FIG.
  • the editing device 3 edits the first version of the control program Prog1, generates a second version, instructs the control device 1 to rewrite during execution, then edits the second version to generate a third version, The controller 1 is instructed to rewrite during execution. Thereafter, the editing apparatus 3 instructs rollback to rewrite the third version of the control program Prog1 to the second version, and further instructs rollback to rewrite the second version of the control program Prog1 to the first version.
  • the second version of the control program Prog1 is obtained by adding steps S5 and S6 to the first version
  • the third version is obtained by adding steps S7 and S8 to the second version. It is.
  • the execution unit 12 of the control device 1 is executing step S0 of the block BL0 of the control program Prog1 .
  • the execution unit 12 of the control device 1 is executing step S1.
  • the changed part when the control program Prog1 is edited from the first version to the second version is from addresses “20” to “31”
  • the changed part when the control program is edited from the second version to the third version is The addresses are “32” to “41”.
  • the user can edit the control program Prog1 by using the editing device 3 to edit the operation contents of the existing steps, the transitions connecting the steps, or adding new steps and transitions. is there. New steps and transitions are added by arranging objects such as square blocks that are objects indicating steps and horizontal lines that are objects indicating transitions by dragging and dropping them on the screen.
  • FIG. 5 is a sequence diagram showing an operation of rewriting the control program executed by the control device 1 shown in FIG.
  • the editing unit 32 of the editing device 3 edits the first version of the control program Prog1 according to the user's operation to generate the second version (step S101).
  • the editing unit 32 of the editing device 3 transmits an in-execution rewrite instruction and difference information indicating the difference between the first version and the second version of the control program Prog1 to the control device 1. (Step S102).
  • FIG. 6 is a diagram showing an ongoing rewriting instruction screen 40 displayed by the editing device 3 shown in FIG.
  • This in-execution rewrite instruction screen 40 is a screen that can be displayed on the display unit of the input / output unit 33 after the editing unit 32 finishes editing the control program Prog1.
  • the editing unit 32 converts the operation indicated by the object edited on the screen into a program and performs control. Difference information indicating a program difference between the first version and the second version of the program Prog1 is generated.
  • the editing unit 32 may cause the input / output unit 33 to display the rollback function selection screen 42.
  • the rollback function selection screen 42 is a screen for accepting an operation for enabling the rollback function.
  • FIG. 7 is a diagram showing a confirmation screen 43 displayed by the editing device 3 shown in FIG.
  • “program conversion + rewriting during execution” is performed on the rewriting instruction screen 40 during execution.
  • a confirmation screen 43 shown in FIG. 7 is displayed.
  • the confirmation screen 43 shows an overview of the current settings related to rewriting during execution.
  • the option setting button is operated, the settings regarding rewriting during execution can be changed.
  • the “Yes” button 44 is operated on the confirmation screen 43, execution of rewriting during execution is confirmed, and the editing unit 32 transmits a rewriting instruction during execution and difference information to the control device 1.
  • the rewrite control unit 14 of the control device 1 executes the backup process # 1 before rewriting the control program Prog1 (step S103). Specifically, each time the rewrite control unit 14 receives an in-execution rewrite instruction, the rewrite control unit 14 stores the backup information in the second storage unit 15 together with order information indicating the order of each of the plurality of backup information.
  • FIG. 8 is a diagram showing information stored in the second storage unit 15 in the backup process performed by the rewrite control unit 14 shown in FIG.
  • the rewrite control unit 14 stores backup information in the second storage unit 15 together with order information indicating the order of each of the plurality of backup information.
  • the backup information includes the control program Prog1 before the change, the activation information indicating the step being executed in the control program Prog1, and the difference information for specifying the changed part of the control program Prog1.
  • the rewrite control unit 14 executes rewriting # 1 during execution of the control program Prog1 based on the difference information received in step S102 (step S104).
  • the control program Prog1 executed by the execution unit 12 is rewritten from the first version to the second version by rewriting # 1 during execution in step S104.
  • the rewriting control unit 14 transmits a completion notification for notifying that the ongoing rewriting # 1 is completed to the editing apparatus 3 (step S105).
  • the editing unit 32 of the editing device 3 Upon receiving the completion notification, the editing unit 32 of the editing device 3 reads and displays the control program, and accepts a user operation on the displayed control program.
  • the editing unit 32 edits the second version of the control program Prog1 according to the user's operation to generate a third version (step S106).
  • the editing unit 32 transmits an in-execution rewrite instruction and difference information indicating the difference between the second version and the third version of the control program Prog1 to the control device 1 (step S107). .
  • the rewrite control unit 14 of the control device 1 executes the backup process # 2 before rewriting the control program Prog1 (step S108). ). Specifically, each time the rewrite control unit 14 receives an in-execution rewrite instruction, the rewrite control unit 14 stores the backup information in the second storage unit 15 together with order information indicating the order of each of the plurality of backup information. At this time, the rewrite control unit 14 does not overwrite the backup information stored in the second storage unit 15 in the backup process # 1, and retains the backup information of the backup process # 2 while leaving the backup information of the backup process # 1. Memorize additionally.
  • the rewrite control unit 14 After the backup process # 2 is completed, the rewrite control unit 14 performs rewrite # 2 during execution of the control program Prog1 based on the difference information received in step S107 (step S109).
  • the control program Prog1 executed by the execution unit 12 is rewritten from the second version to the third version by rewriting # 2 during execution in step S109.
  • the rewriting control unit 14 transmits a completion notification for notifying that the ongoing rewriting # 2 is completed to the editing apparatus 3 (step S110).
  • FIG. 9 is a diagram illustrating a specific example of information stored in the first storage unit 11 and the second storage unit 15 during the rewrite operation illustrated in FIG.
  • the first storage unit 11 of the control device 1 stores the control program Prog1 being executed for each block.
  • the control program Prog1 is not yet stored in the area in which the control program before change prepared in the second storage unit 15 is saved. At this time, since there is no backup information yet, the value “0” is stored in the area for storing the backup information.
  • the rewrite control unit 14 includes the changed part of the backup control program Prog1 stored in the first storage unit 11 and includes the changed program.
  • the information is stored in the second storage unit 15 together with the order information indicating the order of each of the plurality of backup information.
  • the backup information includes the control program Prog1 before the change, difference information that is information for specifying a changed part of the control program Prog1, and activation information indicating a part being executed in the control program Prog1.
  • the block BL0 program which is a part of the program that is rewritten by the ongoing rewrite # 1 is stored in the second storage unit 15 as backup information.
  • the difference information is a program name, a block name, a step name, a start address and an end address of the changed part.
  • the activation information has a value “1” for a step being executed, and a value “0” when the step is not being executed.
  • the backup information includes the start address and the end address of the save area that stores the block BL0 program that is the rewrite target portion of the control program Prog1 before the change.
  • the order information may be any content as long as it is information indicating the order of each backup information.
  • the order information includes date information and management number of each backup information.
  • An area for storing backup information may be determined in advance in the order in which the backup information is generated. In this case, the area itself in which the respective backup information is stored becomes the order information.
  • the rewrite control unit 14 stores the block BL0 program of the control program Prog1 before the change in the second storage unit. It is stored in 15 evacuation areas.
  • the rewrite control unit 14 stores the first address “10000” and the last address “10050” in the second storage unit 15 as the addresses of the storage area that stores the block BL0 program of the control program Prog1 before the change, and indicates the changed part.
  • the program name Prog1, block name BL0, and step names S5 and S6 are stored in the second storage unit 15.
  • the control program Prog1 stored in the save area of the second storage unit 15 is the first version shown in FIG.
  • the rewrite control unit 14 stores “20161115” that is the date when the backup information is generated as the date information when the backup information is generated. Although the date information is used here, the date information may be used to specify the point in time when the backup information is generated more finely. Further, the rewrite control unit 14 writes “1” as the maximum value of the management number in the second storage unit 15. Then, since the control program Prog1 being executed is executing Step 0 of the block BL0, the rewrite control unit 14 stores the activation information whose value of Step 0 is “1”. After storing the above backup information, the rewrite control unit 14 executes in-execution rewrite # 1 and changes to the first storage unit 11 which is an area for storing the control program Prog1 being executed in the first storage unit 11 Write later BL0 program.
  • the rewrite control unit 14 stores the block BL0 program of the control program Prog1 before the change in the save area of the second storage unit 15. At this time, the rewrite control unit 14 stores the block BL0 program before the change in a storage area different from the block BL0 program stored by the backup process # 1.
  • the rewrite control unit 14 stores the first address “10050” and the last address “10100” as addresses of the storage area storing the block BL0 program of the control program Prog1 before the change, and the program name as the difference information indicating the changed part Prog1, block name BL0, step names S7 and S8, the number of changed parts “1”, a start address “20”, and an end address “31” are stored. Further, the rewrite control unit 14 stores “201611616” that is the date when the backup information is generated as the date information when the backup information is generated. Further, the rewrite control unit 14 updates the maximum value of the management number to “2”.
  • the rewrite control unit 14 since the control program Prog1 being executed is executing Step 1 of the block BL0, the rewrite control unit 14 generates and stores the activity information whose value of Step 1 is “1”. After storing the above backup information, the rewrite control unit 14 executes in-execution rewrite # 2 and changes to the first storage unit 11 which is an area for storing the control program Prog1 being executed in the first storage unit 11 Write later BL0 program.
  • the backup information is stored every time the control device 1 receives the execution rewrite instruction while executing the control program Prog1.
  • the backup information includes a control program before the change, difference information for specifying a changed part of the control program, and activation information indicating a step being executed in the control program.
  • the backup information is stored together with order information indicating the order of each of the plurality of backup information. For this reason, after rewriting the control program Prog1, it is possible to perform a rollback process for returning to the original state using the backup information a plurality of times. At this time, since the backup information includes the activation information, the execution state of the control program Prog1 can be returned to the original state after the rollback.
  • FIG. FIG. 10 is a sequence diagram illustrating an operation of rolling back the control program executed by the control device 1 according to the second embodiment of the present invention. Since the configurations of the control device 1 and the editing device 3 according to the second embodiment are the same as those of the first embodiment, description thereof is omitted here. It is assumed that the rollback process described below is performed after execution of rewriting # 1 and in-execution rewriting # 2 in the first embodiment. For this reason, it is assumed that the two backup information generated by the backup process # 1 and the backup process # 2 are stored in the second storage unit 15 of the control device 1 at the start of the rollback process.
  • the editing unit 32 transmits a data request which is a message requesting backup information to the control device 1 (step S202). ).
  • the rollback control unit 16 acquires the backup information stored in the second storage unit 15 (step S203). When a plurality of backup information is stored in the second storage unit 15, the rollback control unit 16 acquires a plurality of backup information. The rollback control unit 16 transmits the acquired backup information to the editing device 3 (step S204).
  • the editing unit 32 of the editing device 3 displays a rollback execution screen using the backup information acquired from the control device 1 (step S205).
  • FIG. 11 is a diagram showing a function selection screen 45 for selecting a rollback function displayed by the editing apparatus 3 according to the second embodiment of the present invention.
  • This function selection screen 45 includes a rollback execution menu 46.
  • step S201 in FIG. 10 the user operates the rollback execution menu 46 to select the rollback function, and the data request in step S202 is transmitted. Is done.
  • the editing unit 32 After operating the rollback execution menu 46, when backup information is not stored in the control device 1, the editing unit 32 displays a rollback error screen 47 using the display device of the input / output unit 33.
  • the rollback error screen 47 includes a message notifying that the backup information does not exist in the control device 1.
  • FIG. 12 is a diagram showing a rollback execution screen 48-1 linked from the screen for selecting the rollback function shown in FIG.
  • the editing unit 32 displays a rollback execution screen 48-1.
  • the rollback execution screen 48-1 includes a plurality of backup information acquired from the control device 1, a program display button 49 for displaying a control program included in each backup information, and an instruction for executing rollback. And a rollback execution button 50.
  • the rollback execution screen 48-1 shown in FIG. 12 includes two pieces of backup information.
  • Each backup information includes “No.” indicating the order of the respective backup information, “program name” indicating the target control program, “date” when the backup information is generated, and “changed portion changed by rewriting” ”And a“ program display ”button for displaying the contents of the control program to be rewritten when rolled back.
  • the backup information is newer as the order number is larger, and the latest backup information becomes the rollback target.
  • the second backup information is a rollback target.
  • FIG. 13 is a diagram showing a rollback program display screen 51 linked from the program display button 49 shown in FIG.
  • the editing unit 32 displays a rollback program display screen 51 that displays the control program Prog1 corresponding to the pressed program display button 49.
  • the rollback program display screen 51 shows a corresponding control program, and the user of the editing apparatus 3 refers to the rollback program display screen 51 to determine in which state the control program Prog1 is in a rollback state. You can check if you are going back.
  • the input / output unit 33 When the input / output unit 33 detects that the rollback execution button 50 on the rollback execution screen 48-1 shown in FIG. 12 is pressed (step S206), the input / output unit 33 edits operation information indicating the detected operation content. 32.
  • the editing unit 32 transmits a rollback instruction to the control device 1 based on the input operation information (step S207).
  • the rollback control unit 16 of the control device 1 selects the latest backup information based on the order information (step S208).
  • the rollback control unit 16 rewrites the control program using the selected backup information (step S209).
  • the rollback control unit 16 executes the control program Prog1 from the step indicated by the activation information included in the selected backup information (step S210).
  • the control program Prog1 is executed from step 1 of the block BL0 of the control program Prog1.
  • the rollback control unit 16 deletes one piece of backup information used for the rollback process (step S211). Thereafter, the rollback control unit 16 transmits a rollback completion notification to the editing device 3 (step S212).
  • FIG. 14 is a diagram showing a rollback execution screen 48-2 displayed after the rollback execution screen 38-1 shown in FIG. 12 is updated after the rollback is executed. Since the rollback processing is executed once and one piece of backup information is deleted, a rollback execution screen 48-2 including the remaining one backup information is displayed.
  • the input / output unit 33 When the input / output unit 33 detects that the rollback execution button 50 on the rollback execution screen 48-2 shown in FIG. 14 is pressed (step S214), the input / output unit 33 edits operation information indicating the detected operation content. 32.
  • the editing unit 32 transmits a rollback instruction to the control device 1 based on the input operation information (step S215).
  • the rollback control unit 16 of the control device 1 selects the latest backup information based on the order information (step S216).
  • the rollback control unit 16 rewrites the control program using the selected backup information (step S217).
  • the rollback control unit 16 executes the control program Prog1 from the step indicated by the activation information included in the selected backup information (step S218).
  • the control program Prog1 is executed from step 0 of the block BL0 of the control program Prog1.
  • the rollback control unit 16 deletes one piece of backup information used for the rollback process (step S219). Thereafter, the rollback control unit 16 transmits a rollback completion notification to the editing device 3 (step S220).
  • FIG. 15 is a diagram illustrating a specific example of information stored in the first storage unit 11 and the second storage unit 15 during the rollback operation illustrated in FIG.
  • step S211 of FIG. 10 when the rollback control unit 16 deletes one backup information, the backup information of management number 2 is deleted as shown in rollback # 2 of FIG. It is updated to “1”. Thereafter, when the rollback control unit 16 deletes one more backup information in step S219, the backup information with the management number 1 is deleted as shown in rollback # 1 in FIG. Deleted.
  • FIG. 16 is a diagram showing conditions under which an execution error of the rollback process occurs in the operation shown in FIG.
  • the control program executed by the control device 1 may be switched.
  • rollback is not performed as error processing.
  • FIG. 16 it is assumed that the block BL0 of the first version of the control program Prog1 is being executed, and then rewritten during execution to rewrite the block BL0 of the second version of the control program Prog1. .
  • the running control program Prog1 can be rolled back from the second version to the first version.
  • FIG. 17 is a flowchart showing an operation performed by the control device 1 when performing the rollback process of FIG.
  • the rollback control unit 16 of the control device 1 receives a rollback instruction from the editing device 3 (step S301).
  • the rollback control unit 16 compares the control program to be rolled back with the control program being executed by the execution unit 12 and determines whether or not the control program to be rolled back is a control program being executed ( Step S302).
  • the rollback control unit 16 performs rollback (step S303). If the control program to be rolled back is not a control program being executed (step S302: No), the rollback control unit 16 performs error processing (step S304).
  • the content of the error process is, for example, displaying an error message, and the rollback process is not executed.
  • FIG. 18 is a diagram showing an example of the effects of the first and second embodiments of the present invention.
  • the backup information is stored in the second storage unit 15 built in the control device 1.
  • the editing device 3 acquires and displays the backup information from the control device 1, and when the rollback instruction button is pressed, the rollback instruction is transmitted to the control device 1. Sent to. For this reason, the editing device 3 that has edited the control program and the editing device 3 that outputs the rollback instruction do not have to be the same device.
  • the editing apparatus # 1 that has edited the control program of the control apparatus # 1 is being used for other purposes and cannot output a rollback instruction to the control apparatus # 1.
  • the editing device # 3 can transmit a rollback instruction to the control device # 1.
  • each time the rollback control unit 16 receives a rollback instruction uses the backup information selected from a plurality of backup information based on the order information.
  • the control program stored in the first storage unit 11 is rewritten, and the execution unit 12 is instructed to start execution of the control program from the step indicated by the activation information included in the selected backup information.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

Abstract

A control device (1) is characterized by being provided with: a first storage unit (11) which stores a control program including information about steps and transitions; a second storage unit (15); an execution unit (12) which executes the control program stored in the first storage unit (11) and thereby controls a controlled device (2); a communication unit (13) which, during the execution of the control program stored in the first storage unit (11), receives both a run-time rewrite instruction, which is an instruction to rewrite the control program, and difference information indicating a portion of the control program that is to be changed; and a rewrite control unit (14) which, whenever a run-time rewrite instruction and difference information are received, causes the second storage unit (15) to store backup information that includes the control program currently stored in the first storage unit (11), the difference information, and activity information indicating an ongoing step in the control program, and rewrites the control program on the basis of the difference information, wherein the rewrite control unit (14) causes the second storage unit (15) to store a plurality of sets of such backup information, as well as order information indicating the order of these sets of backup information.

Description

制御装置および編集装置Control device and editing device
 本発明は、制御プログラムを実行して被制御装置を制御する制御装置と、制御プログラムを編集可能な編集装置とに関する。 The present invention relates to a control device that executes a control program to control a controlled device, and an editing device that can edit the control program.
 制御プログラムを実行して被制御装置を制御するプログラマブルロジックコントローラ(以下、PLC(Programmable Logic Controller)と称する)などの制御装置が、産業機械の分野で利用されている。制御装置の動作を変更する場合、制御プログラムを編集して、制御装置が実行する制御プログラムを書換える必要がある。 Control devices such as a programmable logic controller (hereinafter referred to as PLC (Programmable Logic Controller)) that controls a controlled device by executing a control program are used in the field of industrial machinery. When changing the operation of the control device, it is necessary to edit the control program and rewrite the control program executed by the control device.
 特許文献1には、制御プログラムを停止させずに実行中の制御プログラムを書換えることが可能な制御装置が開示されている。この構成により、制御装置および被制御装置の動作効率を向上させることができる。この制御装置は、書換え前後の制御プログラムと、制御プログラムを書換える際に実行している制御プログラムの部分とを一時記憶しており、一時記憶した情報を、制御プログラムを書換えた後に削除している。 Patent Document 1 discloses a control device that can rewrite a control program being executed without stopping the control program. With this configuration, the operating efficiency of the control device and the controlled device can be improved. This control device temporarily stores the control program before and after rewriting and the part of the control program being executed when the control program is rewritten, and deletes the temporarily stored information after rewriting the control program. Yes.
特開2005-309916号公報JP 2005-309916 A
 上記特許文献1には、制御プログラムを書換えた後、元の制御プログラムに戻すロールバック機能については記載されていない。制御プログラムを書換えた後、制御プログラムの内容を変更する必要が生じた際、書換え前の制御プログラムに戻すことがある。特許文献1に記載の制御装置では、制御プログラムをロールバックするためには、手作業で元の状態に書き換えた後、実行中の制御プログラムを書き換える必要があり、手間がかかるという問題があった。 The above Patent Document 1 does not describe a rollback function that rewrites the control program and then returns to the original control program. When it is necessary to change the contents of the control program after rewriting the control program, the control program may be returned to the control program before rewriting. In the control device described in Patent Literature 1, in order to roll back the control program, it is necessary to rewrite the control program being executed after manually rewriting it to the original state, which is troublesome. .
 本発明は、上記に鑑みてなされたものであって、制御プログラムを書換えた後、制御プログラムを書換え前の状態に容易に戻すことが可能な制御装置を得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a control device that can easily return the control program to the state before the rewriting after rewriting the control program.
 上述した課題を解決し、目的を達成するために、本発明にかかる制御装置は、ステップ及びトランジションの情報を含む制御プログラムを記憶する第1記憶部と、第2記憶部と、第1記憶部に記憶された制御プログラムを実行して被制御装置を制御する実行部と、制御プログラムを実行中に、第1記憶部に記憶された制御プログラムを書換える実行中書換え指示と、制御プログラムの変更部分を示す差分情報とを受信する通信部と、制御プログラムを書換える書換え制御部とを備える。書換え制御部は、実行中書換え指示を受信する毎に、書換え前の制御プログラムと、差分情報と、制御プログラムのうち実行中のステップを示す活性情報とを含むバックアップ情報を、複数のバックアップ情報のそれぞれの順序を示す順序情報と共に第2記憶部に記憶させ、差分情報に基づいて制御プログラムを書換えることを特徴とする。 In order to solve the above-described problems and achieve the object, a control device according to the present invention includes a first storage unit that stores a control program including step and transition information, a second storage unit, and a first storage unit. An execution unit for controlling the controlled device by executing the control program stored in the memory, an in-execution rewriting instruction for rewriting the control program stored in the first storage unit during execution of the control program, and a change in the control program A communication unit that receives difference information indicating a portion, and a rewrite control unit that rewrites a control program. Each time the rewrite control unit receives an in-execution rewrite instruction, the rewrite control unit obtains backup information including the control program before rewriting, difference information, and active information indicating the step being executed in the control program, from a plurality of backup information. The control program is stored in the second storage unit together with order information indicating each order, and the control program is rewritten based on the difference information.
 本発明にかかる制御装置は、制御プログラムを書換えた後、制御プログラムを書換え前の状態に容易に戻すことが可能であるという効果を奏する。 The control device according to the present invention has an effect that it is possible to easily return the control program to the state before rewriting after rewriting the control program.
本発明の実施の形態1にかかる制御装置および編集装置の構成を示す図The figure which shows the structure of the control apparatus and editing apparatus concerning Embodiment 1 of this invention. 図1に示す制御装置が実行する制御プログラムの説明図Explanatory drawing of the control program which the control apparatus shown in FIG. 図1に示す制御装置および編集装置の機能を実現する処理回路の一例を示す図The figure which shows an example of the processing circuit which implement | achieves the function of the control apparatus and editing apparatus which are shown in FIG. 図1に示す編集装置が行う制御プログラムの編集の一例を示す図The figure which shows an example of the edit of the control program which the editing apparatus shown in FIG. 1 performs 図1に示す制御装置の実行する制御プログラムを書換える動作を示すシーケンス図FIG. 1 is a sequence diagram showing an operation of rewriting a control program executed by the control device shown in FIG. 図1に示す編集装置が表示する実行中書換え指示画面を示す図The figure which shows the rewriting instruction screen in execution which the editing apparatus shown in FIG. 1 displays 図1に示す編集装置が表示する確認画面を示す図The figure which shows the confirmation screen which the editing apparatus shown in FIG. 1 displays 図1に示す書換え制御部が行うバックアップ処理において、第2記憶部に記憶される情報を示す図The figure which shows the information memorize | stored in a 2nd memory | storage part in the backup process which the rewriting control part shown in FIG. 1 performs 図5に示した書換え動作中に第1記憶部および第2記憶部に記憶される情報の具体例を示す図The figure which shows the specific example of the information memorize | stored in a 1st memory | storage part and a 2nd memory | storage part during the rewriting operation | movement shown in FIG. 本発明の実施の形態2にかかる制御装置の実行する制御プログラムをロールバックする動作を示すシーケンス図FIG. 9 is a sequence diagram showing an operation of rolling back a control program executed by the control device according to the second embodiment of the present invention. 本発明の実施の形態2にかかる編集装置が表示するロールバック機能を選択する画面を示す図The figure which shows the screen which selects the rollback function which the editing apparatus concerning Embodiment 2 of this invention displays. 図11に示すロールバック機能を選択する画面からリンクされたロールバック実行画面を示す図The figure which shows the rollback execution screen linked from the screen which selects the rollback function shown in FIG. 図12に示すプログラム表示ボタンからリンクされたロールバックプログラム表示画面を示す図The figure which shows the rollback program display screen linked from the program display button shown in FIG. 図12に示すロールバック実行画面がロールバック実行後に更新されて表示されるロールバック実行画面を示す図FIG. 12 is a diagram showing a rollback execution screen that is updated and displayed after the rollback execution screen shown in FIG. 図10に示したロールバック動作中に第1記憶部および第2記憶部に記憶されている情報の具体例を示す図The figure which shows the specific example of the information memorize | stored in the 1st memory | storage part and the 2nd memory | storage part during the rollback operation | movement shown in FIG. 図10に示す動作においてロールバック処理の実行エラーが発生する条件を示す図The figure which shows the conditions which the execution error of a rollback process generate | occur | produces in the operation | movement shown in FIG. 図10のロールバック処理を行う際に制御装置が実行する動作を示すフローチャートThe flowchart which shows the operation | movement which a control apparatus performs when performing the rollback process of FIG. 本発明の実施の形態1および2の効果の一例を示す図The figure which shows an example of the effect of Embodiment 1 and 2 of this invention
 以下に、本発明の実施の形態にかかる制御装置および編集装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a control device and an editing device according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
 図1は、本発明の実施の形態1にかかる制御装置1および編集装置3の構成を示す図である。制御装置1は、制御プログラムを実行して被制御装置2を制御する。制御装置1は、例えばPLCなどであり、加工装置、検査装置など生産現場で用いられる被制御装置2を制御する。編集装置3は、制御装置1が実行する制御プログラムを編集する装置である。編集装置3は、PC(Personal Computer)などの情報処理装置であり、制御プログラムを編集する編集アプリケーションを実行する。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating the configuration of the control device 1 and the editing device 3 according to the first embodiment of the present invention. The control device 1 controls the controlled device 2 by executing a control program. The control device 1 is, for example, a PLC or the like, and controls a controlled device 2 used at a production site such as a processing device or an inspection device. The editing device 3 is a device that edits a control program executed by the control device 1. The editing device 3 is an information processing device such as a PC (Personal Computer), and executes an editing application for editing the control program.
 制御装置1は、第1記憶部11と、実行部12と、通信部13と、書換え制御部14と、第2記憶部15と、ロールバック制御部16とを有する。第1記憶部11は、制御プログラムを記憶する。実行部12は、第1記憶部11に記憶された制御プログラムを読み出して実行することにより、被制御装置2を制御する。通信部13は、編集装置3などの外部装置との通信インタフェースである。書換え制御部14は、第1記憶部11に記憶された制御プログラムの書換えを制御する。書換え制御部14は、通信部13を介して編集装置3から実行中書換え指示を受信する毎に、実行中書換え指示と共に受信する差分情報に従って、第1記憶部11に記憶された制御プログラムを書換える。 The control device 1 includes a first storage unit 11, an execution unit 12, a communication unit 13, a rewrite control unit 14, a second storage unit 15, and a rollback control unit 16. The first storage unit 11 stores a control program. The execution unit 12 controls the controlled device 2 by reading and executing the control program stored in the first storage unit 11. The communication unit 13 is a communication interface with an external device such as the editing device 3. The rewrite control unit 14 controls rewriting of the control program stored in the first storage unit 11. The rewrite control unit 14 rewrites the control program stored in the first storage unit 11 according to the difference information received together with the in-execution rewrite instruction every time an in-execution rewrite instruction is received from the editing device 3 via the communication unit 13. The
 差分情報は、制御プログラムの変更部分を示す。書換え制御部14は、制御プログラムを書換える前に、実行中の制御プログラムを第2記憶部15にバックアップすると共に、バックアップした制御プログラムをロールバックする際に必要な情報をバックアップ情報として第2記憶部15に記憶する。バックアップ情報は、例えば、変更前の制御プログラムと、制御プログラムのうち実行中の箇所を示す活性情報と、差分情報とを含む。書換え制御部14は、編集装置3から受信した差分情報をそのままバックアップ情報として記憶してもよいし、差分情報のデータ形式を変換するなど差分情報に基づいて生成した情報をバックアップ情報として記憶してもよい。ロールバック制御部16は、第2記憶部15に記憶されたバックアップ情報を用いて、制御プログラムをロールバックする。書換え制御部14は、制御プログラムの書換えを行う度にバックアップ情報を生成して、バックアップ情報が生成された順序を示す順序情報と共に第2記憶部15に記憶する。このため、ロールバック制御部16は、複数回のロールバックを行うことが可能であり、ロールバックを行う度に制御プログラムを1つずつ過去の状態に戻すことができる。 The difference information indicates the changed part of the control program. The rewrite control unit 14 backs up the control program being executed to the second storage unit 15 before rewriting the control program, and stores information necessary for rolling back the backed up control program as backup information in the second storage. Store in unit 15. The backup information includes, for example, a control program before the change, activation information indicating a portion being executed in the control program, and difference information. The rewrite control unit 14 may store the difference information received from the editing device 3 as backup information as it is, or store information generated based on the difference information, such as converting the data format of the difference information, as backup information. Also good. The rollback control unit 16 rolls back the control program using the backup information stored in the second storage unit 15. The rewrite control unit 14 generates backup information every time the control program is rewritten, and stores the backup information in the second storage unit 15 together with order information indicating the order in which the backup information is generated. For this reason, the rollback control unit 16 can perform a plurality of rollbacks, and each time the rollback is performed, the control program can be returned to the past state one by one.
 編集装置3は、通信部31と、編集部32と、入出力部33と、記憶部34とを有する。通信部31は、制御装置1などの外部装置との通信インタフェースである。編集部32は、制御装置1が実行する制御プログラムを編集する。入出力部33は、ユーザの入力操作に従った入力信号を生成する入力部の機能と、表示画面などを出力する出力部の機能とを有する。入出力部33は、例えば、入力部の機能と出力部の機能とを合わせ持つタッチパネル、または、マウスなどのポインティングデバイス、キーボードといった入力装置および表示装置により構成される。記憶部34は、編集装置3が実行する編集プログラム、編集プログラムの実行中に生成されるデータなどを記憶する。編集部32は、入出力部33が生成する入力信号に基づいて、制御装置1が実行する制御プログラムを編集することができる。 The editing device 3 includes a communication unit 31, an editing unit 32, an input / output unit 33, and a storage unit 34. The communication unit 31 is a communication interface with an external device such as the control device 1. The editing unit 32 edits a control program executed by the control device 1. The input / output unit 33 has a function of an input unit that generates an input signal according to a user's input operation and a function of an output unit that outputs a display screen and the like. The input / output unit 33 includes, for example, a touch panel that combines the functions of the input unit and the output unit, a pointing device such as a mouse, an input device such as a keyboard, and a display device. The storage unit 34 stores an editing program executed by the editing device 3, data generated during the execution of the editing program, and the like. The editing unit 32 can edit the control program executed by the control device 1 based on the input signal generated by the input / output unit 33.
 図2は、図1に示す制御装置1が実行する制御プログラムの説明図である。制御プログラムProg1は、ブロックBL0から構成されている。図2の例では、1つの制御プログラムが1つのブロックから構成されているが、1つの制御プログラムが複数のブロックから構成される場合もある。制御プログラムProg1は、ブロックBL0が、複数のステップと移行条件である複数のトランジションとから構成されているSFC(Sequential Function Chart)プログラムである。ステップは、制御装置1が行う一連の動作におけるそれぞれの動作単位を示しており、各ステップは、トランジションで連結されている。制御装置1がSFCプログラムを実行する際には、若番ブロックから順に実行し、ステップの実行とトランジションが成立したか否かの判定とを繰り返し、トランジションが成立している場合、次のステップを順に実行する。図2に示す制御プログラムProg1の場合、制御装置1は、ブロックBL0のステップS0を実行した後、トランジションTR0を判定してトランジションTR0が成立している場合、次にステップS1を実行する。以下同様に、制御装置1は、トランジションTR1の判定、ステップS2の実行、トランジションTR2の判定、ステップS3の実行、およびトランジションTR3の判定を行い、最後のステップS4まで実行する。トランジションが成立していない場合、制御装置1は、実行中のブロックの処理を終了する。 FIG. 2 is an explanatory diagram of a control program executed by the control device 1 shown in FIG. The control program Prog1 is composed of a block BL0. In the example of FIG. 2, one control program is composed of one block, but one control program may be composed of a plurality of blocks. The control program Prog1 is an SFC (Sequential Function Chart) program in which the block BL0 is composed of a plurality of steps and a plurality of transitions that are transition conditions. The step indicates each operation unit in a series of operations performed by the control device 1, and each step is connected by a transition. When the control device 1 executes the SFC program, it executes in order from the youngest block, repeats execution of the step and determination of whether or not the transition is established, and if the transition is established, the next step is executed. Run in order. In the case of the control program Prog1 shown in FIG. 2, after executing step S0 of the block BL0, the control device 1 determines the transition TR0, and if the transition TR0 is established, executes the step S1 next. Similarly, the control device 1 performs the determination of the transition TR1, the execution of step S2, the determination of the transition TR2, the execution of step S3, and the determination of the transition TR3, and executes until the last step S4. When the transition is not established, the control device 1 ends the processing of the block being executed.
 図3は、図1に示す制御装置1および編集装置3の機能を実現する処理回路92の一例を示す図である。図3に示す処理回路92は、メモリ93とプロセッサ94とを備える。制御装置1の第1記憶部11、実行部12、書換え制御部14、第2記憶部15およびロールバック制御部16と、編集装置3の編集部32および記憶部34とは、メモリ93に記憶されたコンピュータプログラムをプロセッサ94が読み出して実行することにより実現される。メモリ93は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリーなどの不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスクなどの記憶装置である。プロセッサ94は、CPU(Central Processing Unit)であり、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、DSP(Digital Signal Processor)などとも呼ばれる。なお、実行部12が実行する制御プログラムを記憶する領域である第1記憶部11と、バックアップ情報を記憶する領域である第2記憶部15とは、1つの記憶装置により実現されてもよいし、複数の記憶装置により実現されてもよい。 FIG. 3 is a diagram illustrating an example of the processing circuit 92 that implements the functions of the control device 1 and the editing device 3 illustrated in FIG. The processing circuit 92 illustrated in FIG. 3 includes a memory 93 and a processor 94. The first storage unit 11, the execution unit 12, the rewrite control unit 14, the second storage unit 15 and the rollback control unit 16 of the control device 1, and the editing unit 32 and the storage unit 34 of the editing device 3 are stored in the memory 93. This is realized by the processor 94 reading and executing the computer program. The memory 93 is a storage device such as a RAM (Random Access Memory), a ROM (Read Only Memory), a nonvolatile or volatile semiconductor memory such as a flash memory, a magnetic disk, a flexible disk, and an optical disk. The processor 94 is a CPU (Central Processing Unit) and is also called a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, a DSP (Digital Signal Processor), or the like. The first storage unit 11 that is an area for storing a control program executed by the execution unit 12 and the second storage unit 15 that is an area for storing backup information may be realized by a single storage device. It may be realized by a plurality of storage devices.
 また、制御装置1の各機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。このように、ハードウェア、ソフトウェア、ファームウェア、またはこれらの組み合わせによって、上述の各機能を実現することができる。 Further, a part of each function of the control device 1 may be realized by dedicated hardware, and a part may be realized by software or firmware. As described above, each function described above can be realized by hardware, software, firmware, or a combination thereof.
 続いて、図1に示す制御装置1および編集装置3が行う実行中書換えについて具体例を用いて説明する。図4は、図1に示す編集装置3が行う制御プログラムProg1の編集の一例を示す図である。 Subsequently, rewriting during execution performed by the control device 1 and the editing device 3 shown in FIG. 1 will be described using a specific example. FIG. 4 is a diagram showing an example of editing of the control program Prog1 performed by the editing device 3 shown in FIG.
 編集装置3は、制御プログラムProg1の第1版を編集して第2版を生成し、制御装置1に実行中書換えを指示した後、さらに第2版を編集して第3版を生成し、制御装置1に実行中書換えを指示する。その後、編集装置3は、制御プログラムProg1の第3版を第2版に書換えるロールバックを指示し、さらに制御プログラムProg1の第2版を第1版に書換えるロールバックを指示する。 The editing device 3 edits the first version of the control program Prog1, generates a second version, instructs the control device 1 to rewrite during execution, then edits the second version to generate a third version, The controller 1 is instructed to rewrite during execution. Thereafter, the editing apparatus 3 instructs rollback to rewrite the third version of the control program Prog1 to the second version, and further instructs rollback to rewrite the second version of the control program Prog1 to the first version.
 制御プログラムProg1の第2版は、第1版にステップS5およびS6を追加する変更を行ったものであり、第3版は、第2版にステップS7およびステップS8を追加する変更を行ったものである。制御プログラムProg1の第1版を第2版に書換える実行中書換え指示を制御装置1が受信したときには、制御装置1の実行部12は、制御プログラムProg1のブロックBL0のステップS0を実行中である。制御プログラムProg1の第2版を第3版に書換える実行中書換え指示を制御装置1が受信したときには、制御装置1の実行部12は、ステップS1を実行中である。また、制御プログラムProg1の第1版から第2版に編集したときの変更部分は、アドレス「20」から「31」までであり、第2版から第3版に編集したときの変更部分は、アドレス「32」から「41」までである。 The second version of the control program Prog1 is obtained by adding steps S5 and S6 to the first version, and the third version is obtained by adding steps S7 and S8 to the second version. It is. When the control device 1 receives an in-execution rewrite instruction to rewrite the first version of the control program Prog1 to the second version, the execution unit 12 of the control device 1 is executing step S0 of the block BL0 of the control program Prog1 . When the control device 1 receives an in-execution rewrite instruction to rewrite the second version of the control program Prog1 to the third version, the execution unit 12 of the control device 1 is executing step S1. In addition, the changed part when the control program Prog1 is edited from the first version to the second version is from addresses “20” to “31”, and the changed part when the control program is edited from the second version to the third version is The addresses are “32” to “41”.
 ユーザは、編集装置3を用いて、既存のステップの動作内容、ステップ間を接続するトランジションを編集したり、新たなステップおよびトランジションを追加したりして、制御プログラムProg1を編集することが可能である。新たなステップおよびトランジションの追加は、ステップを示すオブジェクトである四角いブロック、トランジションを示すオブジェクトである横線などのオブジェクトを画面上でドラッグアンドドロップ操作して並べることにより行われる。 The user can edit the control program Prog1 by using the editing device 3 to edit the operation contents of the existing steps, the transitions connecting the steps, or adding new steps and transitions. is there. New steps and transitions are added by arranging objects such as square blocks that are objects indicating steps and horizontal lines that are objects indicating transitions by dragging and dropping them on the screen.
 図5は、図1に示す制御装置1の実行する制御プログラムを書換える動作を示すシーケンス図である。編集装置3の編集部32は、ユーザの操作に従って、制御プログラムProg1の第1版を編集して第2版を生成する(ステップS101)。制御プログラムProg1の編集が終わると、編集装置3の編集部32は、制御装置1に実行中書換え指示と、制御プログラムProg1の第1版と第2版との差分を示す差分情報とを送信する(ステップS102)。 FIG. 5 is a sequence diagram showing an operation of rewriting the control program executed by the control device 1 shown in FIG. The editing unit 32 of the editing device 3 edits the first version of the control program Prog1 according to the user's operation to generate the second version (step S101). When the editing of the control program Prog1 is finished, the editing unit 32 of the editing device 3 transmits an in-execution rewrite instruction and difference information indicating the difference between the first version and the second version of the control program Prog1 to the control device 1. (Step S102).
 図6は、図1に示す編集装置3が表示する実行中書換え指示画面40を示す図である。この実行中書換え指示画面40は、編集部32が制御プログラムProg1の編集を終えた後、入出力部33の表示部に表示することが可能な画面である。実行中書換え指示画面40に表示されたメニューの中から、「プログラム変換+実行中書換え」を選択すると、編集部32は、画面上で編集されたオブジェクトが示す動作をプログラムに変換すると共に、制御プログラムProg1の第1版と第2版とのプログラムの差分を示す差分情報を生成する。 FIG. 6 is a diagram showing an ongoing rewriting instruction screen 40 displayed by the editing device 3 shown in FIG. This in-execution rewrite instruction screen 40 is a screen that can be displayed on the display unit of the input / output unit 33 after the editing unit 32 finishes editing the control program Prog1. When “program conversion + rewriting during execution” is selected from the menu displayed on the in-execution rewriting instruction screen 40, the editing unit 32 converts the operation indicated by the object edited on the screen into a program and performs control. Difference information indicating a program difference between the first version and the second version of the program Prog1 is generated.
 「プログラム変換+実行中書換え」が選択された後、ロールバック機能が無効になっている場合、編集部32は、入出力部33にロールバック機能選択画面42を表示させてもよい。ロールバック機能選択画面42は、ロールバック機能を有効にする操作を受け付ける画面である。 When the rollback function is disabled after “program conversion + rewriting during execution” is selected, the editing unit 32 may cause the input / output unit 33 to display the rollback function selection screen 42. The rollback function selection screen 42 is a screen for accepting an operation for enabling the rollback function.
 図7は、図1に示す編集装置3が表示する確認画面43を示す図である。図6に示すロールバック機能選択画面42で「はい」を選択したとき、または、予めロールバック機能が有効になっている場合には実行中書換え指示画面40で「プログラム変換+実行中書換え」を選択した直後、図7に示す確認画面43が表示される。確認画面43は、実行中書換えに関する現在の設定の概要を示しており、オプション設定ボタンが操作されると、実行中書換えに関する設定を変更することが可能である。確認画面43で「はい」ボタン44が操作されると、実行中書換えの実行が確定され、編集部32は、実行中書換え指示と、差分情報とを制御装置1に送信する。 FIG. 7 is a diagram showing a confirmation screen 43 displayed by the editing device 3 shown in FIG. When “Yes” is selected on the rollback function selection screen 42 shown in FIG. 6 or when the rollback function is enabled in advance, “program conversion + rewriting during execution” is performed on the rewriting instruction screen 40 during execution. Immediately after the selection, a confirmation screen 43 shown in FIG. 7 is displayed. The confirmation screen 43 shows an overview of the current settings related to rewriting during execution. When the option setting button is operated, the settings regarding rewriting during execution can be changed. When the “Yes” button 44 is operated on the confirmation screen 43, execution of rewriting during execution is confirmed, and the editing unit 32 transmits a rewriting instruction during execution and difference information to the control device 1.
 図5の説明に戻る。編集装置3が送信した実行中書換え指示および差分情報を通信部13が受信すると、制御装置1の書換え制御部14は、制御プログラムProg1を書換える前に、バックアップ処理#1を実行する(ステップS103)。具体的には、書換え制御部14は、実行中書換え指示を受信する毎に、バックアップ情報を複数のバックアップ情報のそれぞれの順序を示す順序情報と共に第2記憶部15に記憶する。 Returning to the explanation of FIG. When the communication unit 13 receives the in-execution rewrite instruction and the difference information transmitted by the editing device 3, the rewrite control unit 14 of the control device 1 executes the backup process # 1 before rewriting the control program Prog1 (step S103). ). Specifically, each time the rewrite control unit 14 receives an in-execution rewrite instruction, the rewrite control unit 14 stores the backup information in the second storage unit 15 together with order information indicating the order of each of the plurality of backup information.
 図8は、図1に示す書換え制御部14が行うバックアップ処理において、第2記憶部15に記憶される情報を示す図である。書換え制御部14は、第2記憶部15に複数のバックアップ情報のそれぞれの順序を示す順序情報と共に、バックアップ情報を記憶する。バックアップ情報は、変更前の制御プログラムProg1と、制御プログラムProg1のうち実行中のステップを示す活性情報と、制御プログラムProg1の変更部分を特定するための差分情報とを含む。 FIG. 8 is a diagram showing information stored in the second storage unit 15 in the backup process performed by the rewrite control unit 14 shown in FIG. The rewrite control unit 14 stores backup information in the second storage unit 15 together with order information indicating the order of each of the plurality of backup information. The backup information includes the control program Prog1 before the change, the activation information indicating the step being executed in the control program Prog1, and the difference information for specifying the changed part of the control program Prog1.
 図5の説明に戻る。バックアップ処理#1が完了すると、書換え制御部14は、ステップS102で受信した差分情報に基づいて、制御プログラムProg1の実行中書換え#1を実行する(ステップS104)。ステップS104の実行中書換え#1によって、実行部12が実行する制御プログラムProg1は、第1版から第2版に書換えられる。実行中書換え#1が終わると、書換え制御部14は、実行中書換え#1が完了したことを通知する完了通知を編集装置3に送信する(ステップS105)。 Returning to the explanation of FIG. When the backup process # 1 is completed, the rewrite control unit 14 executes rewriting # 1 during execution of the control program Prog1 based on the difference information received in step S102 (step S104). The control program Prog1 executed by the execution unit 12 is rewritten from the first version to the second version by rewriting # 1 during execution in step S104. When the ongoing rewriting # 1 ends, the rewriting control unit 14 transmits a completion notification for notifying that the ongoing rewriting # 1 is completed to the editing apparatus 3 (step S105).
 編集装置3の編集部32は、完了通知を受信すると、制御プログラムを読み込んで表示し、表示した制御プログラムに対するユーザの操作を受け付ける。編集部32は、ユーザの操作に従って、制御プログラムProg1の第2版を編集して第3版を生成する(ステップS106)。制御プログラムProg1の編集が終わると、編集部32は、制御装置1に実行中書換え指示と、制御プログラムProg1の第2版と第3版との差分を示す差分情報とを送信する(ステップS107)。 Upon receiving the completion notification, the editing unit 32 of the editing device 3 reads and displays the control program, and accepts a user operation on the displayed control program. The editing unit 32 edits the second version of the control program Prog1 according to the user's operation to generate a third version (step S106). When the editing of the control program Prog1 is finished, the editing unit 32 transmits an in-execution rewrite instruction and difference information indicating the difference between the second version and the third version of the control program Prog1 to the control device 1 (step S107). .
 編集装置3が送信した実行中書換え指示および差分情報を通信部13が受信すると、制御装置1の書換え制御部14は、制御プログラムProg1を書換える前に、バックアップ処理#2を実行する(ステップS108)。具体的には、書換え制御部14は、実行中書換え指示を受信する毎に、バックアップ情報を複数のバックアップ情報のそれぞれの順序を示す順序情報と共に第2記憶部15に記憶する。このとき、書換え制御部14は、バックアップ処理#1において第2記憶部15に記憶したバックアップ情報を上書きすることなく、バックアップ処理#1のバックアップ情報を残したまま、バックアップ処理#2のバックアップ情報を追加で記憶する。 When the communication unit 13 receives the in-execution rewrite instruction and the difference information transmitted by the editing device 3, the rewrite control unit 14 of the control device 1 executes the backup process # 2 before rewriting the control program Prog1 (step S108). ). Specifically, each time the rewrite control unit 14 receives an in-execution rewrite instruction, the rewrite control unit 14 stores the backup information in the second storage unit 15 together with order information indicating the order of each of the plurality of backup information. At this time, the rewrite control unit 14 does not overwrite the backup information stored in the second storage unit 15 in the backup process # 1, and retains the backup information of the backup process # 2 while leaving the backup information of the backup process # 1. Memorize additionally.
 バックアップ処理#2が完了した後、書換え制御部14は、ステップS107で受信した差分情報に基づいて、制御プログラムProg1の実行中書換え#2を行う(ステップS109)。ステップS109の実行中書換え#2によって、実行部12が実行する制御プログラムProg1は、第2版から第3版に書換えられる。実行中書換え#2が終わると、書換え制御部14は、実行中書換え#2が完了したことを通知する完了通知を編集装置3に送信する(ステップS110)。 After the backup process # 2 is completed, the rewrite control unit 14 performs rewrite # 2 during execution of the control program Prog1 based on the difference information received in step S107 (step S109). The control program Prog1 executed by the execution unit 12 is rewritten from the second version to the third version by rewriting # 2 during execution in step S109. When the ongoing rewriting # 2 ends, the rewriting control unit 14 transmits a completion notification for notifying that the ongoing rewriting # 2 is completed to the editing apparatus 3 (step S110).
 図9は、図5に示した書換え動作中に第1記憶部11および第2記憶部15に記憶される情報の具体例を示す図である。 FIG. 9 is a diagram illustrating a specific example of information stored in the first storage unit 11 and the second storage unit 15 during the rewrite operation illustrated in FIG.
 制御プログラムProg1を変更する前、制御装置1の第1記憶部11には、実行中の制御プログラムProg1がブロック毎に記憶されている。第2記憶部15に準備された変更前の制御プログラムを退避するエリアには、まだ制御プログラムProg1が記憶されていない。このとき、バックアップ情報はまだないため、バックアップ情報を記憶する領域には値「0」が記憶されている。 Before changing the control program Prog1, the first storage unit 11 of the control device 1 stores the control program Prog1 being executed for each block. The control program Prog1 is not yet stored in the area in which the control program before change prepared in the second storage unit 15 is saved. At this time, since there is no backup information yet, the value “0” is stored in the area for storing the backup information.
 実行中書換え#1の前に行われるバックアップ処理#1において、書換え制御部14は、第1記憶部11に記憶されている変更前の制御プログラムProg1のうち、変更された部分のプログラムを含むバックアップ情報を、複数のバックアップ情報のそれぞれの順序を示す順序情報と共に第2記憶部15に記憶させる。バックアップ情報は、変更前の制御プログラムProg1と、制御プログラムProg1の変更部分を特定するための情報である差分情報と、制御プログラムProg1のうち実行中の部分を示す活性情報とを含む。具体的には、変更前の制御プログラムProg1は、実行中書換え#1によって書換えられる部分のプログラムであるブロックBL0プログラムがバックアップ情報として第2記憶部15に記憶される。差分情報は、図9に示す例では、プログラム名、ブロック名、ステップ名、変更部分のスタートアドレスおよびエンドアドレスである。活性情報は、実行中のステップについては値「1」となり、実行中でない場合に値「0」となる。制御プログラムProg1、差分情報、および活性情報の他に、バックアップ情報には、変更前の制御プログラムProg1の書換え対象部分であるブロックBL0プログラムを記憶した退避エリアの先頭アドレスおよび最終アドレスが含まれる。また順序情報は、それぞれのバックアップ情報の順序を示す情報であれば内容を問わない。順序情報は、それぞれのバックアップ情報の日付情報、管理番号などである。またバックアップ情報が生成された順に、予めバックアップ情報を記憶する領域を決めておいてもよい。この場合、それぞれのバックアップ情報が記憶された領域自体が順序情報となる。 In the backup process # 1 performed before the in-execution rewriting # 1, the rewrite control unit 14 includes the changed part of the backup control program Prog1 stored in the first storage unit 11 and includes the changed program. The information is stored in the second storage unit 15 together with the order information indicating the order of each of the plurality of backup information. The backup information includes the control program Prog1 before the change, difference information that is information for specifying a changed part of the control program Prog1, and activation information indicating a part being executed in the control program Prog1. Specifically, in the control program Prog1 before the change, the block BL0 program, which is a part of the program that is rewritten by the ongoing rewrite # 1, is stored in the second storage unit 15 as backup information. In the example shown in FIG. 9, the difference information is a program name, a block name, a step name, a start address and an end address of the changed part. The activation information has a value “1” for a step being executed, and a value “0” when the step is not being executed. In addition to the control program Prog1, the difference information, and the activation information, the backup information includes the start address and the end address of the save area that stores the block BL0 program that is the rewrite target portion of the control program Prog1 before the change. The order information may be any content as long as it is information indicating the order of each backup information. The order information includes date information and management number of each backup information. An area for storing backup information may be determined in advance in the order in which the backup information is generated. In this case, the area itself in which the respective backup information is stored becomes the order information.
 具体的には、図9に示す例では、実行中書換え#1の前に実行されるバックアップ処理#1において、書換え制御部14は、変更前の制御プログラムProg1のブロックBL0プログラムを第2記憶部15の退避エリアに記憶させる。書換え制御部14は、変更前の制御プログラムProg1のブロックBL0プログラムを記憶した記憶領域のアドレスとして、先頭アドレス「10000」および最終アドレス「10050」を第2記憶部15に記憶させ、変更部分を示す差分情報として、プログラム名Prog1、ブロック名BL0、ステップ名S5,S6を第2記憶部15に記憶させる。ここで第2記憶部15の退避エリアに記憶される制御プログラムProg1は、図4に示す第1版であり、変更部分は含まれておらず、変更部分のスタートアドレス、エンドアドレスはいずれも0のままである。また書換え制御部14は、バックアップ情報を生成した日付情報として、バックアップ情報を生成した日付である「20161115」を記憶する。なお、ここでは日付情報としたが、より細かくバックアップ情報を生成した時点を特定するために、日時情報としてもよい。また、書換え制御部14は、管理番号の最大値として「1」を第2記憶部15に書き込む。そして、実行中の制御プログラムProg1がブロックBL0のステップ0を実行しているため、書換え制御部14は、ステップ0の値が「1」である活性情報を記憶する。上記のバックアップ情報を記憶した後、書換え制御部14は、実行中書換え#1を実行して、第1記憶部11の実行中の制御プログラムProg1を記憶する領域である第1記憶部11に変更後のBL0プログラムを書き込む。 Specifically, in the example shown in FIG. 9, in the backup process # 1 executed before the ongoing rewrite # 1, the rewrite control unit 14 stores the block BL0 program of the control program Prog1 before the change in the second storage unit. It is stored in 15 evacuation areas. The rewrite control unit 14 stores the first address “10000” and the last address “10050” in the second storage unit 15 as the addresses of the storage area that stores the block BL0 program of the control program Prog1 before the change, and indicates the changed part. As the difference information, the program name Prog1, block name BL0, and step names S5 and S6 are stored in the second storage unit 15. Here, the control program Prog1 stored in the save area of the second storage unit 15 is the first version shown in FIG. 4, does not include the changed part, and the start address and end address of the changed part are both 0. Remains. Further, the rewrite control unit 14 stores “20161115” that is the date when the backup information is generated as the date information when the backup information is generated. Although the date information is used here, the date information may be used to specify the point in time when the backup information is generated more finely. Further, the rewrite control unit 14 writes “1” as the maximum value of the management number in the second storage unit 15. Then, since the control program Prog1 being executed is executing Step 0 of the block BL0, the rewrite control unit 14 stores the activation information whose value of Step 0 is “1”. After storing the above backup information, the rewrite control unit 14 executes in-execution rewrite # 1 and changes to the first storage unit 11 which is an area for storing the control program Prog1 being executed in the first storage unit 11 Write later BL0 program.
 続いて実行中書換え#2の前に実行されるバックアップ処理#2では、書換え制御部14は、変更前の制御プログラムProg1のブロックBL0プログラムを第2記憶部15の退避エリアに記憶する。このとき書換え制御部14は、バックアップ処理#1によって記憶したブロックBL0プログラムとは異なる記憶領域に変更前のブロックBL0プログラムを記憶する。書換え制御部14は、変更前の制御プログラムProg1のブロックBL0プログラムを記憶した記憶領域のアドレスとして、先頭アドレス「10050」および最終アドレス「10100」を記憶し、変更部分を示す差分情報として、プログラム名Prog1、ブロック名BL0、ステップ名S7,S8、および変更部分の個数「1」、スタートアドレス「20」、エンドアドレス「31」を記憶する。また書換え制御部14は、バックアップ情報を生成した日付情報として、バックアップ情報を生成した日付である「20161116」を記憶する。また、書換え制御部14は、管理番号の最大値を「2」に更新する。そして、実行中の制御プログラムProg1がブロックBL0のステップ1を実行しているため、書換え制御部14は、ステップ1の値が「1」である活性情報を生成して記憶する。上記のバックアップ情報を記憶した後、書換え制御部14は、実行中書換え#2を実行して、第1記憶部11の実行中の制御プログラムProg1を記憶する領域である第1記憶部11に変更後のBL0プログラムを書き込む。 Subsequently, in the backup process # 2 executed before the ongoing rewrite # 2, the rewrite control unit 14 stores the block BL0 program of the control program Prog1 before the change in the save area of the second storage unit 15. At this time, the rewrite control unit 14 stores the block BL0 program before the change in a storage area different from the block BL0 program stored by the backup process # 1. The rewrite control unit 14 stores the first address “10050” and the last address “10100” as addresses of the storage area storing the block BL0 program of the control program Prog1 before the change, and the program name as the difference information indicating the changed part Prog1, block name BL0, step names S7 and S8, the number of changed parts “1”, a start address “20”, and an end address “31” are stored. Further, the rewrite control unit 14 stores “201611616” that is the date when the backup information is generated as the date information when the backup information is generated. Further, the rewrite control unit 14 updates the maximum value of the management number to “2”. Then, since the control program Prog1 being executed is executing Step 1 of the block BL0, the rewrite control unit 14 generates and stores the activity information whose value of Step 1 is “1”. After storing the above backup information, the rewrite control unit 14 executes in-execution rewrite # 2 and changes to the first storage unit 11 which is an area for storing the control program Prog1 being executed in the first storage unit 11 Write later BL0 program.
 以上説明したように、本発明の実施の形態1によれば、制御装置1が制御プログラムProg1を実行中に、実行中書換え指示を受信する毎に、バックアップ情報が記憶される。バックアップ情報は、変更前の制御プログラムと、制御プログラムの変更部分を特定するための差分情報と、制御プログラムのうち実行中のステップを示す活性情報とを含む。バックアップ情報は、複数のバックアップ情報のそれぞれの順序を示す順序情報と共に記憶される。このため、制御プログラムProg1を書換えた後、バックアップ情報を用いて元の状態に戻すロールバック処理を複数回行うことが可能になる。このとき、バックアップ情報には活性情報が含まれているため、ロールバックした後に、制御プログラムProg1の実行状態も元の状態に戻すことが可能になる。 As described above, according to the first embodiment of the present invention, the backup information is stored every time the control device 1 receives the execution rewrite instruction while executing the control program Prog1. The backup information includes a control program before the change, difference information for specifying a changed part of the control program, and activation information indicating a step being executed in the control program. The backup information is stored together with order information indicating the order of each of the plurality of backup information. For this reason, after rewriting the control program Prog1, it is possible to perform a rollback process for returning to the original state using the backup information a plurality of times. At this time, since the backup information includes the activation information, the execution state of the control program Prog1 can be returned to the original state after the rollback.
実施の形態2.
 図10は、本発明の実施の形態2にかかる制御装置1の実行する制御プログラムをロールバックする動作を示すシーケンス図である。本実施の形態2にかかる制御装置1および編集装置3の構成は、実施の形態1と同様であるためここでは説明を省略する。なお、以下に説明するロールバック処理は、実施の形態1において、実行中書換え#1および実行中書換え#2が実行された後に行われるとする。このため、ロールバック処理の開始時点では、バックアップ処理#1およびバックアップ処理#2によって生成された2つのバックアップ情報が制御装置1の第2記憶部15に記憶されていることとする。
Embodiment 2. FIG.
FIG. 10 is a sequence diagram illustrating an operation of rolling back the control program executed by the control device 1 according to the second embodiment of the present invention. Since the configurations of the control device 1 and the editing device 3 according to the second embodiment are the same as those of the first embodiment, description thereof is omitted here. It is assumed that the rollback process described below is performed after execution of rewriting # 1 and in-execution rewriting # 2 in the first embodiment. For this reason, it is assumed that the two backup information generated by the backup process # 1 and the backup process # 2 are stored in the second storage unit 15 of the control device 1 at the start of the rollback process.
 ユーザが編集装置3の入出力部33を用いてロールバック機能を選択する(ステップS201)と、編集部32は、制御装置1にバックアップ情報を要求するメッセージであるデータ要求を送信する(ステップS202)。 When the user selects the rollback function using the input / output unit 33 of the editing device 3 (step S201), the editing unit 32 transmits a data request which is a message requesting backup information to the control device 1 (step S202). ).
 制御装置1がデータ要求を受信すると、通信部13を介してロールバック制御部16に入力される。ロールバック制御部16は、第2記憶部15に記憶されたバックアップ情報を取得する(ステップS203)。第2記憶部15に複数のバックアップ情報が記憶されている場合、ロールバック制御部16は、複数のバックアップ情報を取得する。ロールバック制御部16は、取得したバックアップ情報を編集装置3に送信する(ステップS204)。 When the control device 1 receives the data request, it is input to the rollback control unit 16 via the communication unit 13. The rollback control unit 16 acquires the backup information stored in the second storage unit 15 (step S203). When a plurality of backup information is stored in the second storage unit 15, the rollback control unit 16 acquires a plurality of backup information. The rollback control unit 16 transmits the acquired backup information to the editing device 3 (step S204).
 編集装置3の編集部32は、制御装置1から取得したバックアップ情報を用いて、ロールバック実行画面を表示する(ステップS205)。 The editing unit 32 of the editing device 3 displays a rollback execution screen using the backup information acquired from the control device 1 (step S205).
 図11は、本発明の実施の形態2にかかる編集装置3が表示するロールバック機能を選択する機能選択画面45を示す図である。この機能選択画面45は、ロールバック実行メニュー46を含み、図10のステップS201では、ユーザがロールバック実行メニュー46を操作することで、ロールバック機能が選択されて、ステップS202のデータ要求が送信される。 FIG. 11 is a diagram showing a function selection screen 45 for selecting a rollback function displayed by the editing apparatus 3 according to the second embodiment of the present invention. This function selection screen 45 includes a rollback execution menu 46. In step S201 in FIG. 10, the user operates the rollback execution menu 46 to select the rollback function, and the data request in step S202 is transmitted. Is done.
 ロールバック実行メニュー46を操作した後、制御装置1にバックアップ情報が記憶されていなかった場合、編集部32は、入出力部33の表示装置を用いて、ロールバックエラー画面47を表示する。ロールバックエラー画面47は、バックアップ情報が制御装置1内に存在しないことを通知するメッセージを含む。 After operating the rollback execution menu 46, when backup information is not stored in the control device 1, the editing unit 32 displays a rollback error screen 47 using the display device of the input / output unit 33. The rollback error screen 47 includes a message notifying that the backup information does not exist in the control device 1.
 図12は、図11に示すロールバック機能を選択する画面からリンクされたロールバック実行画面48-1を示す図である。図11に示すロールバック実行メニュー46を操作した後、制御装置1からバックアップ情報を取得すると、編集部32は、ロールバック実行画面48-1を表示する。ロールバック実行画面48-1は、制御装置1から取得した複数のバックアップ情報と、それぞれのバックアップ情報に含まれる制御プログラムを表示するためのプログラム表示ボタン49と、ロールバックの実行を指示するためのロールバック実行ボタン50とを含む。 FIG. 12 is a diagram showing a rollback execution screen 48-1 linked from the screen for selecting the rollback function shown in FIG. When the backup information is acquired from the control device 1 after operating the rollback execution menu 46 shown in FIG. 11, the editing unit 32 displays a rollback execution screen 48-1. The rollback execution screen 48-1 includes a plurality of backup information acquired from the control device 1, a program display button 49 for displaying a control program included in each backup information, and an instruction for executing rollback. And a rollback execution button 50.
 図12に示すロールバック実行画面48-1は、2つのバックアップ情報を含んでいる。各バックアップ情報は、それぞれのバックアップ情報の順序を示す「No.」と、対象の制御プログラムを示す「プログラム名」と、バックアップ情報が生成された「日付」と、書換えによって変更される「変更部分」と、ロールバックしたときに書換えられる制御プログラムの内容を表示するための「プログラム表示」ボタンとを含む。バックアップ情報は、順序を示す数字が大きいほど新しく、最新のバックアップ情報がロールバック対象となる。図12の例では、2番目のバックアップ情報がロールバック対象である。 The rollback execution screen 48-1 shown in FIG. 12 includes two pieces of backup information. Each backup information includes “No.” indicating the order of the respective backup information, “program name” indicating the target control program, “date” when the backup information is generated, and “changed portion changed by rewriting” ”And a“ program display ”button for displaying the contents of the control program to be rewritten when rolled back. The backup information is newer as the order number is larger, and the latest backup information becomes the rollback target. In the example of FIG. 12, the second backup information is a rollback target.
 図13は、図12に示すプログラム表示ボタン49からリンクされたロールバックプログラム表示画面51を示す図である。図12に示すプログラム表示ボタン49が押下されると、編集部32は、押下されたプログラム表示ボタン49に対応する制御プログラムProg1を表示するロールバックプログラム表示画面51を表示する。このロールバックプログラム表示画面51は、対応する制御プログラムが示されており、編集装置3のユーザは、ロールバックプログラム表示画面51を参照することで、ロールバックした場合に制御プログラムProg1がどの状態に戻るのかを確認することができる。 FIG. 13 is a diagram showing a rollback program display screen 51 linked from the program display button 49 shown in FIG. When the program display button 49 shown in FIG. 12 is pressed, the editing unit 32 displays a rollback program display screen 51 that displays the control program Prog1 corresponding to the pressed program display button 49. The rollback program display screen 51 shows a corresponding control program, and the user of the editing apparatus 3 refers to the rollback program display screen 51 to determine in which state the control program Prog1 is in a rollback state. You can check if you are going back.
 図10の説明に戻る。入出力部33が図12に示すロールバック実行画面48-1のロールバック実行ボタン50の押下を検知する(ステップS206)と、入出力部33は、検知した操作内容を示す操作情報を編集部32に入力する。編集部32は、入力された操作情報に基づいて、ロールバック指示を制御装置1に送信する(ステップS207)。 Returning to the explanation of FIG. When the input / output unit 33 detects that the rollback execution button 50 on the rollback execution screen 48-1 shown in FIG. 12 is pressed (step S206), the input / output unit 33 edits operation information indicating the detected operation content. 32. The editing unit 32 transmits a rollback instruction to the control device 1 based on the input operation information (step S207).
 制御装置1のロールバック制御部16は、ロールバック指示を受信すると、順序情報に基づいて、最新のバックアップ情報を選択する(ステップS208)。ロールバック制御部16は、選択したバックアップ情報を用いて、制御プログラムの書換えを行う(ステップS209)。ロールバック制御部16は、選択したバックアップ情報に含まれる活性情報が示すステップから制御プログラムProg1を実行する(ステップS210)。この例では、制御プログラムProg1のブロックBL0のステップ1から制御プログラムProg1が実行される。ロールバック制御部16は、ロールバック処理に用いたバックアップ情報を1つ削除する(ステップS211)。その後、ロールバック制御部16は、ロールバック完了通知を編集装置3に送信する(ステップS212)。 When receiving the rollback instruction, the rollback control unit 16 of the control device 1 selects the latest backup information based on the order information (step S208). The rollback control unit 16 rewrites the control program using the selected backup information (step S209). The rollback control unit 16 executes the control program Prog1 from the step indicated by the activation information included in the selected backup information (step S210). In this example, the control program Prog1 is executed from step 1 of the block BL0 of the control program Prog1. The rollback control unit 16 deletes one piece of backup information used for the rollback process (step S211). Thereafter, the rollback control unit 16 transmits a rollback completion notification to the editing device 3 (step S212).
 編集装置3の編集部32は、ロールバック完了通知を受信すると、ロールバック実行画面を更新して表示する(ステップS213)。図14は、図12に示すロールバック実行画面38-1がロールバック実行後に更新されて表示されるロールバック実行画面48-2を示す図である。ロールバック処理が1回実行されてバックアップ情報が1つ削除されたので、残る1つのバックアップ情報を含むロールバック実行画面48-2が表示される。 Upon receiving the rollback completion notification, the editing unit 32 of the editing device 3 updates and displays the rollback execution screen (step S213). FIG. 14 is a diagram showing a rollback execution screen 48-2 displayed after the rollback execution screen 38-1 shown in FIG. 12 is updated after the rollback is executed. Since the rollback processing is executed once and one piece of backup information is deleted, a rollback execution screen 48-2 including the remaining one backup information is displayed.
 入出力部33が図14に示すロールバック実行画面48-2のロールバック実行ボタン50の押下を検知する(ステップS214)と、入出力部33は、検知した操作内容を示す操作情報を編集部32に入力する。編集部32は、入力された操作情報に基づいて、ロールバック指示を制御装置1に送信する(ステップS215)。 When the input / output unit 33 detects that the rollback execution button 50 on the rollback execution screen 48-2 shown in FIG. 14 is pressed (step S214), the input / output unit 33 edits operation information indicating the detected operation content. 32. The editing unit 32 transmits a rollback instruction to the control device 1 based on the input operation information (step S215).
 制御装置1のロールバック制御部16は、ロールバック指示を受信すると、順序情報に基づいて、最新のバックアップ情報を選択する(ステップS216)。ロールバック制御部16は、選択したバックアップ情報を用いて、制御プログラムの書換えを行う(ステップS217)。ロールバック制御部16は、選択したバックアップ情報に含まれる活性情報が示すステップから制御プログラムProg1を実行する(ステップS218)。この例では、制御プログラムProg1のブロックBL0のステップ0から制御プログラムProg1が実行される。ロールバック制御部16は、ロールバック処理に用いたバックアップ情報を1つ削除する(ステップS219)。その後、ロールバック制御部16は、ロールバック完了通知を編集装置3に送信する(ステップS220)。 When receiving the rollback instruction, the rollback control unit 16 of the control device 1 selects the latest backup information based on the order information (step S216). The rollback control unit 16 rewrites the control program using the selected backup information (step S217). The rollback control unit 16 executes the control program Prog1 from the step indicated by the activation information included in the selected backup information (step S218). In this example, the control program Prog1 is executed from step 0 of the block BL0 of the control program Prog1. The rollback control unit 16 deletes one piece of backup information used for the rollback process (step S219). Thereafter, the rollback control unit 16 transmits a rollback completion notification to the editing device 3 (step S220).
 図15は、図10に示したロールバック動作中に第1記憶部11および第2記憶部15に記憶されている情報の具体例を示す図である。 FIG. 15 is a diagram illustrating a specific example of information stored in the first storage unit 11 and the second storage unit 15 during the rollback operation illustrated in FIG.
 図10に示す動作を開始する時点では、第1記憶部11および第2記憶部15に記憶されている情報は、図9の「実行中書換え#2」の状態である。図10のステップS211において、ロールバック制御部16がバックアップ情報を1つ削除すると、図15のロールバック#2に示すように、管理番号2のバックアップ情報が削除されて、管理番号の最大値が「1」に更新される。その後、ステップS219において、ロールバック制御部16がバックアップ情報をさらに1つ削除すると、図15のロールバック#1に示すように、管理番号1のバックアップ情報が削除されて、管理番号の最大値も削除される。 At the time of starting the operation shown in FIG. 10, the information stored in the first storage unit 11 and the second storage unit 15 is in the state of “Rewriting during execution # 2” in FIG. In step S211 of FIG. 10, when the rollback control unit 16 deletes one backup information, the backup information of management number 2 is deleted as shown in rollback # 2 of FIG. It is updated to “1”. Thereafter, when the rollback control unit 16 deletes one more backup information in step S219, the backup information with the management number 1 is deleted as shown in rollback # 1 in FIG. Deleted.
 図16は、図10に示す動作においてロールバック処理の実行エラーが発生する条件を示す図である。制御装置1が実行する制御プログラムは切り替えられる場合がある。実行中の制御プログラムが切り替えられた場合、本実施の形態2においては、異なる制御プログラムへのロールバックが指示された場合、エラー処理としてロールバックを行わない。具体的には、図16に示すように、制御プログラムProg1の第1版のブロックBL0を実行中であり、その後実行中書換えを行って、制御プログラムProg1の第2版のブロックBL0に書換えたとする。この場合、実行中の制御プログラムProg1を第2版から第1版にロールバックすることが可能である。 FIG. 16 is a diagram showing conditions under which an execution error of the rollback process occurs in the operation shown in FIG. The control program executed by the control device 1 may be switched. In the second embodiment, when the control program being executed is switched, when rollback to a different control program is instructed, rollback is not performed as error processing. Specifically, as shown in FIG. 16, it is assumed that the block BL0 of the first version of the control program Prog1 is being executed, and then rewritten during execution to rewrite the block BL0 of the second version of the control program Prog1. . In this case, the running control program Prog1 can be rolled back from the second version to the first version.
 実行中の制御プログラムがProg1の第2版から制御プログラムProg2の第1版に切り替えられた場合、この状態で制御プログラムProg1のロールバック実行ボタンが押下されても、ロールバック対象の制御プログラムと実行中の制御プログラムとが異なる場合、エラー処理が行われてロールバック処理は実行されない。制御プログラムProg2の第1版のブロックBL0を実行中に実行中書換えが行われて、制御プログラムProg2の第2版に書換えられた場合、ロールバック処理によって制御プログラムProg2の第1版にロールバックすることは可能である。しかしながら、制御プログラムProg2の第2版を実行中に制御プログラムProg1のロールバック実行ボタンが押下されても、ロールバック処理は実行されない。 When the currently executed control program is switched from the second version of Prog1 to the first version of the control program Prog2, even if the rollback execution button of the control program Prog1 is pressed in this state, the control program to be rolled back is executed. If the control program is different, error processing is performed and rollback processing is not executed. When rewriting is performed during execution of the block BL0 of the first version of the control program Prog2 and rewritten to the second version of the control program Prog2, the rollback process rolls back to the first version of the control program Prog2. It is possible. However, even if the rollback execution button of the control program Prog1 is pressed while the second version of the control program Prog2 is being executed, the rollback process is not executed.
 図17は、図10のロールバック処理を行う際に制御装置1が実行する動作を示すフローチャートである。制御装置1のロールバック制御部16は、編集装置3からロールバック指示を受信する(ステップS301)。ロールバック制御部16は、ロールバック対象の制御プログラムと実行部12が実行中の制御プログラムとを比較して、ロールバック対象の制御プログラムは実行中の制御プログラムであるか否かを判断する(ステップS302)。ロールバック対象の制御プログラムが実行中の制御プログラムである場合(ステップS302:Yes)、ロールバック制御部16は、ロールバックを実行する(ステップS303)。ロールバック対象の制御プログラムが実行中の制御プログラムでない場合(ステップS302:No)、ロールバック制御部16は、エラー処理を行う(ステップS304)。エラー処理の内容は、例えばエラーメッセージを表示することであり、ロールバック処理は実行されない。 FIG. 17 is a flowchart showing an operation performed by the control device 1 when performing the rollback process of FIG. The rollback control unit 16 of the control device 1 receives a rollback instruction from the editing device 3 (step S301). The rollback control unit 16 compares the control program to be rolled back with the control program being executed by the execution unit 12 and determines whether or not the control program to be rolled back is a control program being executed ( Step S302). When the control program to be rolled back is a control program being executed (step S302: Yes), the rollback control unit 16 performs rollback (step S303). If the control program to be rolled back is not a control program being executed (step S302: No), the rollback control unit 16 performs error processing (step S304). The content of the error process is, for example, displaying an error message, and the rollback process is not executed.
 図18は、本発明の実施の形態1および2の効果の一例を示す図である。本発明の実施の形態1では、バックアップ情報が制御装置1の内蔵する第2記憶部15に記憶される。そして、実施の形態2では、ロールバックを行う際に、編集装置3は、制御装置1からバックアップ情報を取得して表示し、ロールバック指示ボタンが押下されると、ロールバック指示が制御装置1に送信される。このため、制御プログラムの編集を行った編集装置3と、ロールバック指示を出力する編集装置3とは同一の装置でなくてもよい。例えば図18に示すように、制御装置#1の制御プログラムを編集していた編集装置#1が他の用途で使用中であって、制御装置#1にロールバック指示を出力することができない状態において、制御装置#1の制御プログラムをロールバックする必要が生じた場合、編集装置#3が制御装置#1にロールバック指示を送信することができる。 FIG. 18 is a diagram showing an example of the effects of the first and second embodiments of the present invention. In the first embodiment of the present invention, the backup information is stored in the second storage unit 15 built in the control device 1. In the second embodiment, when the rollback is performed, the editing device 3 acquires and displays the backup information from the control device 1, and when the rollback instruction button is pressed, the rollback instruction is transmitted to the control device 1. Sent to. For this reason, the editing device 3 that has edited the control program and the editing device 3 that outputs the rollback instruction do not have to be the same device. For example, as shown in FIG. 18, the editing apparatus # 1 that has edited the control program of the control apparatus # 1 is being used for other purposes and cannot output a rollback instruction to the control apparatus # 1. When the control program of the control device # 1 needs to be rolled back, the editing device # 3 can transmit a rollback instruction to the control device # 1.
 以上説明したように、本発明の実施の形態2によれば、ロールバック制御部16は、ロールバック指示を受信する毎に、複数のバックアップ情報から順序情報に基づいて選択したバックアップ情報を用いて、第1記憶部11に記憶された制御プログラムを書換えると共に、選択したバックアップ情報に含まれる活性情報が示すステップから制御プログラムの実行を開始するように実行部12に指示する。この構成により、ロールバック指示を受信する毎に、1つずつ制御プログラムを元の状態に戻して複数回のロールバックを実現することが可能になる。このとき、活性情報が示す部分から制御プログラムが実行されるため、実行状態まで書換え前の状態に戻すことが可能になる。 As described above, according to the second embodiment of the present invention, each time the rollback control unit 16 receives a rollback instruction, the rollback control unit 16 uses the backup information selected from a plurality of backup information based on the order information. In addition, the control program stored in the first storage unit 11 is rewritten, and the execution unit 12 is instructed to start execution of the control program from the step indicated by the activation information included in the selected backup information. With this configuration, each time a rollback instruction is received, the control program is returned to the original state one by one, and a plurality of rollbacks can be realized. At this time, since the control program is executed from the portion indicated by the activation information, it is possible to return to the state before rewriting until the execution state.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
 1 制御装置、2 被制御装置、3 編集装置、11 第1記憶部、12 実行部、13 通信部、14 書換え制御部、15 第2記憶部、16 ロールバック制御部、31 通信部、32 編集部、33 入出力部、34 記憶部、40 実行中書換え指示画面、42 ロールバック機能選択画面、43 確認画面、45 機能選択画面、46 ロールバック実行メニュー、47 ロールバックエラー画面、48-1,48-2 ロールバック実行画面、49 プログラム表示ボタン、50 ロールバック実行ボタン、92 処理回路、93 メモリ、94 プロセッサ。 1 control device, 2 controlled device, 3 editing device, 11 first storage unit, 12 execution unit, 13 communication unit, 14 rewrite control unit, 15 second storage unit, 16 rollback control unit, 31 communication unit, 32 editing Part, 33 input / output part, 34 storage part, 40 rewriting instruction screen during execution, 42 rollback function selection screen, 43 confirmation screen, 45 function selection screen, 46 rollback execution menu, 47 rollback error screen, 48-1, 48-2 Rollback execution screen, 49 program display button, 50 rollback execution button, 92 processing circuit, 93 memory, 94 processor.

Claims (5)

  1.  ステップ及びトランジションの情報を含む制御プログラムを記憶する第1記憶部と、
     第2記憶部と、
     前記第1記憶部に記憶された制御プログラムを実行して被制御装置を制御する実行部と、
     前記制御プログラムを実行中に、前記第1記憶部に記憶された前記制御プログラムを書換える実行中書換え指示と、前記制御プログラムの変更部分を示す差分情報とを受信する通信部と、
     前記実行中書換え指示を受信する毎に、書換え前の前記制御プログラムと、前記差分情報と、前記制御プログラムのうち実行中のステップを示す活性情報とを含むバックアップ情報を、複数の前記バックアップ情報のそれぞれの順序を示す順序情報と共に前記第2記憶部に記憶させ、前記差分情報に基づいて前記制御プログラムを書換える書換え制御部と、
     を備えることを特徴とする制御装置。
    A first storage unit for storing a control program including information on steps and transitions;
    A second storage unit;
    An execution unit for controlling the controlled device by executing the control program stored in the first storage unit;
    During execution of the control program, a communication unit that receives an in-execution rewrite instruction for rewriting the control program stored in the first storage unit, and difference information indicating a changed part of the control program;
    Each time the in-execution rewrite instruction is received, backup information including the control program before rewriting, the difference information, and active information indicating the step being executed in the control program is updated to a plurality of backup information. A rewrite control unit that stores the order information indicating each order in the second storage unit, and rewrites the control program based on the difference information;
    A control device comprising:
  2.  前記通信部は、前記制御プログラムを書換え前の状態に戻すロールバック指示を受信し、
     前記ロールバック指示を受信する毎に、前記順序情報に基づいて選択した前記バックアップ情報を用いて、前記第1記憶部に記憶された前記制御プログラムを書換えると共に、選択した前記バックアップ情報に含まれる前記活性情報が示すステップから前記制御プログラムの実行を開始するように前記実行部に指示するロールバック制御部、
     をさらに備えることを特徴とする請求項1に記載の制御装置。
    The communication unit receives a rollback instruction to return the control program to a state before rewriting,
    Each time the rollback instruction is received, the control information stored in the first storage unit is rewritten using the backup information selected based on the order information, and is included in the selected backup information. A rollback control unit that instructs the execution unit to start execution of the control program from the step indicated by the activity information;
    The control device according to claim 1, further comprising:
  3.  前記通信部は、前記バックアップ情報を要求するデータ要求を受信し、
     前記ロールバック制御部は、前記データ要求に応じて、前記第2記憶部に記憶されたバックアップ情報を要求元の装置に返送することを特徴とする請求項2に記載の制御装置。
    The communication unit receives a data request for requesting the backup information;
    The control device according to claim 2, wherein the rollback control unit returns the backup information stored in the second storage unit to the requesting device in response to the data request.
  4.  請求項3に記載の制御装置の前記制御プログラムを編集する編集装置であって、
     前記実行中書換え指示と前記差分情報とを前記制御装置に送信した後、前記データ要求を前記制御装置に送信して前記バックアップ情報を取得し、取得した前記バックアップ情報に含まれる変更前の前記制御プログラムを前記順序情報に従って表示部に表示する編集部、
     を備えることを特徴とする編集装置。
    An editing device for editing the control program of the control device according to claim 3,
    After the rewriting instruction during execution and the difference information are transmitted to the control device, the data request is transmitted to the control device to acquire the backup information, and the control before the change included in the acquired backup information An editing unit for displaying the program on the display unit according to the order information;
    An editing apparatus comprising:
  5.  ステップ及びトランジションの情報を含む制御プログラムを実行中に書換える複数回の実行中書換えの指示を受信した後、前記実行中書換えが行われる前の状態に前記制御プログラムを戻す複数回のロールバックの指示を受信すると、前記ロールバックの指示を受信した回数前の前記実行中書換えの指示を受信した時点で実行中であったステップから前記制御プログラムの実行を開始することを特徴とする制御装置。 After receiving an instruction to rewrite during execution of a plurality of rewrites during execution of a control program including step and transition information, the control program is returned to a state before the rewrite during execution is performed. When the instruction is received, the control apparatus starts execution of the control program from the step that was being executed when the in-execution rewriting instruction was received before the number of times the rollback instruction was received.
PCT/JP2017/019075 2017-05-22 2017-05-22 Control device and editing device WO2018216083A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201780011408.0A CN109287123B (en) 2017-05-22 2017-05-22 Control device and editing device
JP2017563626A JP6305667B1 (en) 2017-05-22 2017-05-22 Control device and editing device
PCT/JP2017/019075 WO2018216083A1 (en) 2017-05-22 2017-05-22 Control device and editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/019075 WO2018216083A1 (en) 2017-05-22 2017-05-22 Control device and editing device

Publications (1)

Publication Number Publication Date
WO2018216083A1 true WO2018216083A1 (en) 2018-11-29

Family

ID=61828562

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/019075 WO2018216083A1 (en) 2017-05-22 2017-05-22 Control device and editing device

Country Status (3)

Country Link
JP (1) JP6305667B1 (en)
CN (1) CN109287123B (en)
WO (1) WO2018216083A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112204479B (en) * 2018-05-29 2021-12-07 三菱电机株式会社 Program management system, program support device, program management method, and program support program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764614A (en) * 1993-06-23 1995-03-10 Hitachi Ltd Program control device and method and program producing device
JP2006330867A (en) * 2005-05-24 2006-12-07 Keyence Corp Management system of program change history, program editing device applied to the system, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5727170A (en) * 1994-12-29 1998-03-10 Siemens Energy & Automation, Inc. User defined port and protocol scheme for a programmable logic controller
US5659705A (en) * 1994-12-29 1997-08-19 Siemens Energy & Automation, Inc. Serial access memory cartridge for programmable logic controller
JP3679844B2 (en) * 1995-11-09 2005-08-03 ファナック株式会社 Sequence program execution device
US5777874A (en) * 1996-02-12 1998-07-07 Allen-Bradley Company, Inc. Programmable controller backup system
WO2008136407A1 (en) * 2007-04-26 2008-11-13 Kabushiki Kaisha Toshiba Debug system for diagram of orogrammable controller, its programming device and its program
JP5964077B2 (en) * 2012-02-27 2016-08-03 三菱重工業株式会社 Control program management system and control program change method
WO2013168224A1 (en) * 2012-05-08 2013-11-14 三菱電機株式会社 Programmable logic controller, programming tool, and program and parameter editing system
US10474121B2 (en) * 2016-01-27 2019-11-12 Mitsubishi Electric Corporation Control device and editing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764614A (en) * 1993-06-23 1995-03-10 Hitachi Ltd Program control device and method and program producing device
JP2006330867A (en) * 2005-05-24 2006-12-07 Keyence Corp Management system of program change history, program editing device applied to the system, and program

Also Published As

Publication number Publication date
CN109287123B (en) 2020-08-07
JP6305667B1 (en) 2018-04-04
CN109287123A (en) 2019-01-29
JPWO2018216083A1 (en) 2019-06-27

Similar Documents

Publication Publication Date Title
JP5140001B2 (en) Capture and rebuild application state after an unexpected application shutdown
WO2015136970A1 (en) Control apparatus and control system
US20080209390A1 (en) Pluggable model elements
JP2008152799A (en) Control system setting device
JP2005327263A (en) Control system setting device
JP6305667B1 (en) Control device and editing device
JP5052361B2 (en) Image processing system and image processing method
JP2006330867A (en) Management system of program change history, program editing device applied to the system, and program
JPWO2019026248A1 (en) Program development support apparatus, program development support method, and program development support program
JP2006164002A (en) Numerical controller
JP5266032B2 (en) Workflow server, workflow server control method, program, and recording medium
JP6541902B1 (en) Program management system, programming support apparatus, program management method, and programming support program
JP6794668B2 (en) Programming device
CN116249944A (en) Control device
JP6396084B2 (en) Engineering apparatus, engineering system, and download processing method
JP6725172B2 (en) Screen display
JP2009169731A (en) Manual creation support system
JP6580920B2 (en) Information processing apparatus, method for updating operating environment setting information of information processing apparatus, and program for updating operating environment setting information of information processing apparatus
JP7183482B1 (en) Programming support program, programming support device and programming support method
WO2020026738A1 (en) Support device and support program
TWI528267B (en) Programmable display device screen data editing apparatus
WO2020208793A1 (en) Data generation device, data transfer method, and data transfer program
WO2022190427A1 (en) Development support device, development support method, and development support program
JP6452922B1 (en) System construction support device, system construction support method, and system construction support program
JP6912218B2 (en) User data management means, data processing device, user data management method, and programs

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2017563626

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 17911223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17911223

Country of ref document: EP

Kind code of ref document: A1