WO2016013111A1 - Engineering tool - Google Patents

Engineering tool Download PDF

Info

Publication number
WO2016013111A1
WO2016013111A1 PCT/JP2014/069693 JP2014069693W WO2016013111A1 WO 2016013111 A1 WO2016013111 A1 WO 2016013111A1 JP 2014069693 W JP2014069693 W JP 2014069693W WO 2016013111 A1 WO2016013111 A1 WO 2016013111A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
programmable logic
project
item
file
Prior art date
Application number
PCT/JP2014/069693
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 JP2015521177A priority Critical patent/JP5980422B2/en
Priority to PCT/JP2014/069693 priority patent/WO2016013111A1/en
Publication of WO2016013111A1 publication Critical patent/WO2016013111A1/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/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts

Definitions

  • the present invention relates to an engineering tool for managing project data used in a programmable logic controller (hereinafter referred to as PLC).
  • PLC programmable logic controller
  • a PLC that controls various devices communicates with an engineering tool realized by executing an engineering tool program on a computer, and is set, maintained, and managed from the engineering tool.
  • parameters such as parameters set in the PLC and referred to by the PLC, and data written in the PLC and executed by the PLC are collectively managed in a management unit called a project.
  • Data including parameters managed in a project is called project data.
  • Patent Documents 1 and 2 are known as related technologies.
  • Patent Document 1 assigns one project to one PLC and assigns a subproject to each of a plurality of CPU modules mounted on one PLC.
  • Patent Document 1 does not describe a method for managing a plurality of PLCs.
  • Japanese Patent Application Laid-Open No. 2004-228561 describes that the signal definition is shared among the subprojects, but does not describe that the program is shared and modularized between the subprojects.
  • Patent Document 2 assigns a project to each of a plurality of CPU units mounted on one PLC, and performs parameter setting that is consistent between the projects. That is, a plurality of devices mounted on one PLC. The parameter setting is made consistent between the CPU units.
  • Patent Document 2 does not describe a method for managing a plurality of PLCs. Further, Patent Document 2 describes that parameter settings that are consistent between projects are performed, but does not describe that a program is shared and modularized between projects.
  • the present invention has been made in view of the above, and an object thereof is to provide an engineering tool that can easily manage a plurality of PLCs.
  • an engineering tool is an engineering tool that communicates with a plurality of programmable logic controllers, and a plurality of project data used in the plurality of programmable logic controllers.
  • a project management unit that manages a project having a read / write data management unit that manages combination data representing a combination of each of the plurality of programmable logic controllers and project data used in each of the plurality of programmable logic controllers; Based on the combination data, project data used in each of the plurality of programmable logic controllers is converted into each of the plurality of programmable logic controllers.
  • a communication unit for transmitting for transmitting.
  • the present invention by managing a plurality of project data used in a plurality of PLCs in one project, standardization, structuring, componentization, and reuse of project data are facilitated. Thereby, the efficiency of the operator's project data creation can be improved.
  • FIG. 1 is a diagram illustrating an FA system using an engineering tool according to a first embodiment of the present invention.
  • FIG. 2 is a flowchart showing a project creation process of the engineering tool according to the first embodiment of the present invention.
  • FIG. 3 is a diagram showing an example of a recording screen of the engineering tool according to the first embodiment of the present invention.
  • FIG. 4 is a flowchart showing the project data writing process to the PLC of the engineering tool according to the first embodiment of the present invention.
  • FIG. 5 is a diagram illustrating an example of a writing screen of the engineering tool according to the first embodiment of the present invention.
  • FIG. 6 is a flowchart showing collation processing between the data held in the PLC and the project data of the engineering tool according to the first embodiment of the present invention.
  • FIG. 7 is a diagram illustrating an example of a matching screen of the engineering tool according to the first embodiment of the present invention.
  • FIG. 1 is a diagram illustrating an FA system using an engineering tool according to a first embodiment of the present invention.
  • This FA system includes a personal computer 1, a first device 100, a second device 110, and a third device 120.
  • the personal computer 1 and the first device 100, the second device 110, and the third device 120 can communicate with each other by wire or wirelessly.
  • the first device 100 is connected to the first PLC 101 and is controlled by the first PLC 101.
  • the second device 110 is connected to the second PLC 111 and is controlled by the second PLC 111.
  • the third device 120 is connected to the third PLC 121 and is controlled by the third PLC 121.
  • the first device 100 is a device that fills a 2 liter container with a beverage
  • the second device 110 is a device that fills a 1.5 liter container with a beverage
  • the third device is an apparatus which fills a 500 milliliter container with a drink, this invention is not limited to this.
  • the personal computer 1 has an engineering tool 10.
  • the engineering tool 10 is realized by a CPU (Central Processing Unit) in the personal computer 1 executing an engineering tool program recorded on a recording medium in the personal computer 1.
  • Examples of the recording medium include ROM (Read Only Memory), RAM (Random Access Memory), flash memory (registered trademark), SSD (Solid State Drive), and HDD (Hard Disk Drive).
  • the engineering tool 10 includes a project management unit 11, a read / write data management unit 12, a data write unit 13, a data collation unit 14, and a communication unit 15.
  • the project management unit 11 manages the project 20.
  • the project 20 is set in the first PLC 101, the second PLC 111, and the third PLC 121, and is set in the program group 30, the first PLC 101, the second PLC 111, and the third PLC 121 that are executed by the first PLC 101, the second PLC 111, and the third PLC 121.
  • connection information group 60 which describes the connection of a plurality of sensors and actuators data between the connection and the 3PLC121 plurality of terminals of the third device 120 is a management unit for managing.
  • the project may be a data structure recorded on a recording medium of the personal computer 1. Further, the project management unit 11 can manage a plurality of projects.
  • the program group 30 includes a “MAIN1” file 31, a “MAIN2” file 32, and a “MAIN3” file 33.
  • the parameter group 40 includes a “PARAM1” file 41, a “PARAM2” file 42, and a “PARAM3” file 43.
  • the device memory group 50 includes a “DEVMEM1” file 51, a “DEVMEM2” file 52, and a “DEVMEM3” file 53.
  • the connection information group 60 includes first device connection information 61 describing connections between a plurality of terminals of the first PLC 101 and a plurality of sensors and actuators of the first device 100, a plurality of terminals of the second PLC 111, and a plurality of terminals of the second device 110.
  • Second device connection information 62 describing connections between sensors and actuators
  • third device connection information 63 describing connections between a plurality of terminals of the third PLC 121 and a plurality of sensors and actuators of the third device 120 are included.
  • the operations of the first device 100, the second device 110, and the third device 120 are common in the basic point that the beverage is sequentially filled in the container, while the size of the container and the type of the beverage It differs in that it depends on the interval at which the beverage is packed. Therefore, the file read / written to / from the first PLC 101 from the engineering tool 10, the file read / written from the engineering tool 10 to the second PLC 111, and the file read / written from the engineering tool 10 to the third PLC 121 are partly common, but the other part Is different.
  • the project management unit 11 collectively manages the files read / written to / from the first PLC 101, the second PLC 111, and the third PLC 121 with one project 20.
  • the read / write data management unit 12 defines data 70 for the first device that defines a file to be read from and written to the first PLC 101 that controls the first device 100, and a file that is read from and written to the second PLC 111 that controls the second device 110. It manages the specified second device data 80 and the third device data 90 that defines the files to be read from and written to the third PLC 121 that controls the third device 120.
  • the first device data 70, the second device data 80, and the third device data 90 correspond to the combination data of the present invention.
  • the first PLC 101 executes the programs “MAIN1” file 31 and “MAIN2” file 32.
  • the parameters of the “PARAM1” file 41 are referred to.
  • the first PLC 101 uses the work memory area defined in the “DEVMEM1” file 51. The connection between the plurality of terminals of the first PLC 101 and the plurality of sensors and actuators of the first device 100 is described in the first device connection information 61.
  • the data 70 for the first apparatus includes “MAIN1” specifying information 71 that is information specifying the “MAIN1” file 31, “MAIN2” specifying information 72 that is information specifying the “MAIN2” file 32, and “PARAM1” file.
  • “DEVMEM1” specifying information 74 which is information specifying the “DEVMEM1” file 51
  • first device connection information specifying which is information specifying the first device connection information 61 Information 75 is included.
  • the engineering tool 10 reads / writes the file specified by the specific information in the first device data 70 to / from the first PLC 101 based on the information in the first device data 70.
  • each specifying information is not a program file, a parameter file, a device memory file, and a connection information file itself, but information that uniquely specifies them.
  • the specific information is exemplified by a file name, a file identifier, and a symbolic link to the file.
  • the program of the “MAIN1” file 31 is executed in the second PLC 111.
  • the parameters of the “PARAM2” file 42 are referred to.
  • the work memory area defined in the “DEVMEM2” file 52 is used. The connection between the plurality of terminals of the second PLC 111 and the plurality of sensors and actuators of the second device 110 is described in the second device connection information 62.
  • the data 80 for the second device includes “MAIN1” specifying information 81 that is information specifying the “MAIN1” file 31, “PARAM2” specifying information 82 that is information specifying the “PARAM2” file 42, and “DEVMEM2” file.
  • 52 includes “DEVMEM2” specifying information 83 that is information for specifying 52 and second device connection information specifying information 84 that is information for specifying second device connection information 62.
  • the engineering tool 10 reads / writes the file specified by the specific information in the second device data 80 to / from the second PLC 111 based on the information in the second device data 80.
  • the third PLC 121 executes the programs “MAIN2” file 32 and “MAIN3” file 33.
  • the parameters of the “PARAM3” file 43 are referred to.
  • a work memory area defined in the “DEVMEM3” file 53 is used. The connection between the plurality of terminals of the third PLC 121 and the plurality of sensors and actuators of the third device 120 is described in the third device connection information 63.
  • the data 90 for the third apparatus includes “MAIN2” specifying information 91 that is information specifying the “MAIN2” file 32, “MAIN3” specifying information 92 that is information specifying the “MAIN3” file 33, and “PARAM3” file.
  • “DEVMEM3” specifying information 94 which is information specifying “DEVMEM3” file 53
  • third device connection information specifying which is information specifying third device connection information 63 Information 95 is included.
  • the engineering tool 10 reads / writes the file specified by the specific information in the third device data 90 to / from the third PLC 121 based on the information of the third device data 90.
  • the communication unit 15 reads / writes the file specified by the specific information in the first device data 70 to / from the first PLC 101, reads / writes the file specified by the specific information in the second device data 80 to / from the second PLC 111, and The file specified by the specific information in the data 90 for the three devices is read from and written to the third PLC 121.
  • the data writing unit 13 writes the file specified by the specific information in the first device data 70 to the first PLC 101, writes the file specified by the specific information in the second device data 80 to the second PLC 111, and When writing the file specified by the specific information in the data 90 for the third device to the third PLC 121, the communication unit 15 is controlled.
  • the data collating unit 14 collates the data in the first PLC 101 and the file specified by the specific information in the first device data 70
  • the data collating unit 14 uses the data in the second PLC 111 and the specific information in the second device data 80.
  • the communication unit 15 is controlled when collating the specified file and when collating the data in the third PLC 121 and the file specified by the specific information in the data 90 for the third device.
  • Each identification information is not a program file, a parameter file, a device memory file, and a connection information file itself, but is information that uniquely identifies a program file, a parameter file, a device memory file, and a connection information file.
  • the MAIN1 file 31 is executed by the first PLC 101 and also by the second PLC 111.
  • the program in the MAIN1 file 31 needs to be corrected.
  • the operator only needs to correct the MAIN1 file 31.
  • the MAIN1 specifying information 71 in the first device data 70 and the MAIN1 specifying information 81 in the second device data 80 are information for specifying the MAIN1 file 31, not the program file itself.
  • the corrected MAIN1 file 31 is transferred to the first PLC 101 and the second PLC 111. Is done. Therefore, it is possible to improve the efficiency of the worker's file correction work and reduce errors in the file correction work.
  • FIG. 2 is a flowchart showing a project creation process of the engineering tool according to the first embodiment of the present invention.
  • the project management unit 11 of the engineering tool 10 creates a project in the recording medium of the personal computer 1 in response to input from the operator.
  • step S102 the project management unit 11 generates project data, that is, a program file, a parameter file, a device memory file, and a connection information file in response to input from the worker, and records them in the project.
  • project data that is, a program file, a parameter file, a device memory file, and a connection information file in response to input from the worker, and records them in the project.
  • step S104 the project management unit 11 receives the input from the worker and records the list data of the device and the project data.
  • the operator identifies an item that identifies the first device 100, the second device 110, and the third device 120 (for example, a “2 liter container” that means a device that fills a 2 liter container with a beverage).
  • Character string "1.5 liter container” meaning a device for filling beverages in a 1.5 liter container, "500 milliliter container” character string meaning a device for filling beverages in a 500 milliliter container”
  • the worker identifies items for identifying each file (for example, a character string of “common line” indicating a program executed in common in each device, and a parameter for filling a beverage in a 2 liter container “
  • the character string “PARAM2000” (character string “DEVMEM2000”, which means a device memory for filling beverages in a 2 liter container) is input to the project management unit 11.
  • step S106 the read / write data management unit 12 of the engineering tool 10 receives the input from the operator and records the combination data of the device and the project data used in the device. More specifically, the read / write data management unit 12 displays a combination data recording screen based on the list data input in step S104, and receives input from the operator.
  • FIG. 3 is a diagram showing an example of a recording screen of the engineering tool according to the first embodiment of the present invention.
  • items 211, 212, 213, and 214 for identifying the device are displayed.
  • the item 211 has a character string “2l container” that identifies the device that fills the 2 liter container with the beverage, that is, the first device 100.
  • Item 212 has a string of “1.5 liter container” that identifies the device that fills the 1.5 liter container with the beverage or second device 110.
  • Item 213 has the string “500 ml container” identifying the device that fills the 500 milliliter container with the beverage, ie, the third device 120.
  • Item 214 has the string “350 ml container” identifying the device that fills the 350 ml container with beverage.
  • items 221, 222,... That identify program files are displayed in an area 220 extending in the vertical direction in the left part of the drawing of the recording screen 200.
  • the item 221 has a character string of “common line” that identifies a program file that is executed in common in each apparatus.
  • Item 222 has a character string “PROG2000” that identifies a program file that is executed by the device that fills the 2 liter container with a beverage.
  • an item 2301,... For identifying a parameter file is displayed in a region 230 extending in the vertical direction below the region 220 of the recording screen 200.
  • the item 231 has a character string “PARAM2000” that identifies a parameter file that is referred to by a device that fills a 2-liter container with a beverage.
  • Item 241 has the string “DEVMEM2000” identifying the device memory file that defines the work memory area of the device that fills the 2 liter container with beverage.
  • connection information is not displayed on the recording screen 200 due to space limitations, but may be displayed in the same manner as the program, parameter, and device memory.
  • the device identified by the item 211 that is the character string “2l container”, that is, the first device 100 is a device that fills the 2-liter container with the beverage, it is identified by the item 221 that is the character string “common line”. And the file program identified by the item 222 which is the character string “PROG2000” are executed.
  • the operator inputs a check into a check box 251 displayed at the intersection of the direction from the item 211 to the lower side in the figure and the direction from the item 221 to the right side in the figure.
  • the operator inputs a check into a check box 252 displayed at the intersection of the direction from the item 211 toward the lower side in the figure and the direction from the item 222 toward the right side in the figure.
  • the device identified by the item 211 that is the character string “2l container”, that is, the first device 100 is a device that fills the 2-liter container with the beverage, it is identified by the item 231 that is the character string “PARAM2000”. Refers to the parameter of the file to be processed.
  • the operator inputs a check into a check box 253 displayed at the intersection of the direction from the item 211 to the lower side in the figure and the direction from the item 231 to the right side in the figure.
  • the device identified by the item 211 that is the character string “2l container”, that is, the first device 100 is a device that fills the 2-liter container with the beverage, it is identified by the item 241 that is the character string “DEVMEM2000”.
  • the work memory area specified for the file to be used is used.
  • the worker inputs a check into a check box 254 displayed at the intersection of the direction from the item 211 to the lower side in the figure and the direction from the item 241 to the right side in the figure.
  • the read / write data management unit 12 in the engineering tool 10 is identified by the item 222, which specifies the file identified by the item 221 based on the check in the check boxes 251, 252, 253 and 254.
  • Creating and recording data 70 for the first device on the recording medium of the personal computer 1 including information specifying the file to be identified, information identifying the file identified by the item 231 and information identifying the file identified by the item 241 .
  • the read / write data management unit 12 in the engineering tool 10 discards the check input on the recording screen 200 and does not create the first device data 70.
  • FIG. 4 is a flowchart showing the project data writing process to the PLC of the engineering tool according to the first embodiment of the present invention.
  • the data writing unit 13 of the engineering tool 10 acquires the device and project data list data created in step S104 and the combination data of the device and project data created in step S106. .
  • step S202 the data writing unit 13 displays a writing screen and displays a list of devices and project data.
  • FIG. 5 is a diagram showing an example of the writing screen of the engineering tool according to the first embodiment of the present invention.
  • Items 3101, 312, 313, and 314 for identifying devices are displayed in an area 310 extending in the horizontal direction at the top of the writing screen 300 in the drawing.
  • the item 311 has a character string “2l container” for identifying a device that fills a 2 liter container with a beverage, that is, the first device 100.
  • Item 312 has the string “1.5 l container” that identifies the device that fills the 1.5 liter container with the beverage, ie, the second device 110.
  • Item 313 has the string “500 ml container” identifying the device that fills the 500 milliliter container with the beverage, ie, the third device 120.
  • Item 314 has a “350 ml container” string that identifies the device that fills the 350 ml container with beverage.
  • a check box 317 for selecting a device for filling a beverage in a 500 milliliter container, that is, the third device 120 is displayed.
  • a check box 318 for selecting that a device for filling a 350 ml container with a beverage is to be written is displayed to the left of the item 314.
  • the worker inputs a check into the check box 315.
  • the worker may input a check into the check box 316, 317, or 318.
  • items 321, 322,... That identify program files are displayed in an area 320 that extends in the vertical direction on the left side of the writing screen 300 in the drawing.
  • the item 321 includes a character string of “common line” that identifies a program file that is executed in common in each apparatus.
  • the item 322 has a character string “PROG2000” that identifies a program file to be executed by the apparatus for filling a 2 liter container with a beverage.
  • the item 331 has a character string “PARAM2000” that identifies a parameter file that is referred to by a device that fills a 2-liter container with a beverage.
  • Item 341 has the string “DEVMEM2000” identifying the device memory file that defines the work memory area of the device that fills the 2 liter container with beverage.
  • connection information is not displayed on the writing screen 300 due to space limitations, but may be displayed in the same manner as the program, parameter, and device memory.
  • step S106 of the project creation process described above the device identified by the item 311, that is, the first device 100 is identified by the file identified by the item 321, the file identified by the item 322, and identified by the item 331.
  • the combination data indicating that the file to be used and the file identified by the item 341 are used are recorded on the recording medium of the personal computer 1.
  • the data writing unit 13 checks, based on the combination data, as an initial value that is displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 321 to the right side in the figure. A check is displayed in the box 351, and the file identified by the item 321 is selected. Similarly, the data writing unit 13 checks the check box 352 displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 322 to the right side in the figure as an initial value. And the file identified by the item 322 is selected.
  • the data writing unit 13 checks the check box 353 displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 331 to the right side in the figure. A file that is displayed and identified by the item 331 is selected.
  • the data writing unit 13 checks the check box 354 displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 341 to the right side in the figure. A file that is displayed and identified by the item 341 is selected.
  • the plurality of check boxes 355 are displayed in a thin state so that the check cannot be input, but the direction from the items 312, 313, and 314 toward the lower side in the figure as an initial value based on the combination data. And the check box displayed at the intersection of the direction from the item 321, 322,... Thereby, the worker can visually recognize a plurality of project data used in the apparatus identified by the items 312, 313 and 314.
  • the data writing unit 13 accepts selection of project data used by the writing target device, that is, the first device 100, on the writing screen 300.
  • the worker when increasing or decreasing the file to be written to the device identified by the item 311, that is, the first device 100 on the writing screen 300, the worker positions the item 311 in the downward direction in the figure. Add or remove checks from the check boxes.
  • a check is displayed based on the combination data, and the project data to be written to the PLC of the writing destination device is selected. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program.
  • step S206 the data writing unit 13 executes the writing of the selected project data to the PLC of the designated device when the designation of the device and the execution instruction of the writing are input.
  • the data writing unit 13 is based on the check in the check boxes 351, 352, 353, and 354.
  • the file identified by the item 321, the file identified by the item 322, the file identified by the item 331, and the file identified by the item 341 are read from the project 20, and the first device 100 of the first device 100 is read via the communication unit 15. Write to the first PLC 101.
  • the operator clicks a button 361 having a character string “cancel” when not writing to the first PLC 101.
  • the data writing unit 13 does not execute writing to the first PLC 101.
  • the engineering tool 10 can select the project data to be written in the PLC of the writing destination device on the writing screen 300, the project data used in the PLC of the writing destination device can be easily and It is possible to reliably write to the PLC of the writing destination device. As a result, the work efficiency of the operator can be improved, and mistakes in writing project data can be reduced.
  • the engineering tool 10 assumes that the project data to be written to the PLC of the writing destination apparatus is selected as the initial value on the writing screen 300 based on the combination data. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program. As a result, the work efficiency of the operator can be improved, and mistakes in writing project data can be reduced.
  • FIG. 6 is a flowchart showing a collation process between the data held in the PLC and the project data of the engineering tool according to the first embodiment of the present invention.
  • the data verification unit 14 of the engineering tool 10 acquires the device and project data list data created in step S104 and the combination data of the device and project data created in step S106. .
  • step S302 the data collation unit 14 displays a collation screen and displays a list of devices and project data.
  • FIG. 7 is a diagram showing an example of the verification screen of the engineering tool according to the first embodiment of the present invention.
  • Items 410, 412, 413, and 414 for identifying the device are displayed in an area 410 extending in the horizontal direction in the upper part of the verification screen 400 in the drawing.
  • the item 411 includes a character string “2l container” that identifies the device that fills the 2 liter container with the beverage, that is, the first device 100.
  • Item 412 has a string of “1.5 liter container” that identifies the device that fills the 1.5 liter container with beverage, or second device 110.
  • Item 413 has a string of “500 ml container” that identifies the device that fills the 500 milliliter container with the beverage, ie, the third device 120.
  • Item 414 has the string “350 ml container” identifying the device that fills the 350 ml container with beverage.
  • a check box 415 for selecting that a device for filling a beverage in a 2 liter container, that is, the first device 100, is displayed on the left side of the item 411 is displayed.
  • a check box 416 for selecting a device for filling a 1.5 liter container with a beverage, that is, the second device 110 is displayed.
  • a check box 417 for selecting a device for filling a beverage in a 500 ml container, that is, the third device 120 is displayed.
  • the worker inputs a check into the check box 415.
  • the operator may input a check into the check box 416, 417, or 418.
  • items 421, 422,... For identifying program files are displayed in an area 420 extending in the vertical direction on the left side of the verification screen 400 in the drawing.
  • the item 421 has a character string of “common line” that identifies a program file that is executed in common in each apparatus.
  • Item 422 has a string of “PROG2000” that identifies the program file that is executed on the device that fills the 2 liter container with the beverage.
  • an area 430 extending in the vertical direction under the area 420 of the verification screen 400 displays items 431,... For identifying a parameter file.
  • the item 431 has a character string “PARAM2000” that identifies a parameter file that is referred to by a device that fills a 2-liter container with a beverage.
  • an area 440 extending in the vertical direction below the area 430 of the verification screen 400 displays items 441 for identifying the device memory file.
  • Item 441 has the string “DEVMEM2000” identifying the device memory file that defines the work memory area of the device that fills the 2 liter container with beverage.
  • connection information is not displayed on the collation screen 400 due to space limitations, but may be displayed in the same manner as the program, parameter, and device memory.
  • step S106 of the project creation process described above the device identified by the item 411, that is, the first device 100 is identified by the file identified by the item 421, the file identified by the item 422, and identified by the item 431.
  • the combination data indicating that the file to be used and the file identified by the item 441 are used are recorded on the recording medium of the personal computer 1.
  • the data collation unit 14 checks the initial values displayed at the intersections of the direction from the item 411 to the lower side in the figure and the direction from the item 421 to the right side in the figure. A check is displayed in the box 451, and the file identified by the item 421 is selected. Similarly, the data collation unit 14 checks the check box 452 displayed at the intersection of the direction from the item 411 to the lower side in the figure and the direction from the item 422 to the right side in the figure as an initial value. And the file identified by the item 422 is selected.
  • the data collation unit 14 checks the check box 453 displayed at the intersection of the direction from the item 411 toward the lower side in the figure and the direction from the item 431 to the right side in the figure as an initial value. A file that is displayed and identified by the item 431 is selected.
  • the data collation unit 14 checks the check box 454 displayed at the intersection of the direction from the item 411 to the lower side in the figure and the direction from the item 441 to the right side in the figure. A file that is displayed and identified by the item 441 is selected.
  • the plurality of check boxes 455 are displayed in a thin state so that a check cannot be input. However, based on the combination data, as an initial value, the direction from the items 412, 413, and 414 to the lower side in the figure. And the check box displayed at the intersection of the items 421, 422,... Thereby, the worker can visually recognize a plurality of project data used in the apparatus identified by the items 412, 413 and 414.
  • step S ⁇ b> 304 the data collation unit 14 accepts selection of collation target project data held in the collation target device, that is, the first PLC 101 of the first device 100 on the collation screen 400.
  • a check is displayed as an initial value based on the combination data, and the verification target project data held in the PLC of the verification target device is selected. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program.
  • step S306 the data collating unit 14 reads the project data to be collated from the PLC of the designated collation target device when an instruction to specify the device and execution of collation are input. To do.
  • the data collation unit 14 is based on the check in the check boxes 451, 452, 453, and 454. , The file identified by the item 421, the file identified by the item 422, the file identified by the item 431, and the file identified by the item 441 via the communication unit 15, the device to be verified, that is, the first device 100. Read from the first PLC 101.
  • step S308 the data matching unit 14 is identified by the file identified by the item 421, the file identified by the item 422, and the item 431 based on the checks in the check boxes 451, 452, 453, and 454. And the file identified by the item 441 are read from the project 20. Then, the data collating unit 14 collates the collation target file read from the collation target device, that is, the first PLC 101 of the first device 100, with the file read from the project 20. If the collation target file read from the first PLC 101 of the first device 100 matches the file read from the project 20 as a result of the collation, the data collation unit 14 displays a match. If the verification target file read from the first PLC 101 of the first device 100 and the file read from the project 20 do not match, a message indicating that they do not match is displayed.
  • the engineering tool 10 can select the project data held in the PLC of the verification target device on the verification screen 400, so the project data held in the PLC of the verification target device. And the project data in the project 20 can be easily and reliably collated. As a result, it is possible to improve the work efficiency of the operator and reduce project data collation errors.
  • the engineering tool 10 assumes that the verification target project data held in the PLC of the verification target device is selected as the initial value on the verification screen 400 based on the combination data. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program. As a result, it is possible to improve the work efficiency of the operator and reduce project data collation errors.
  • each of a plurality of project data managed by the project 20, that is, a program, a parameter, a device memory, and connection information is a file.
  • the present invention is not limited to this.
  • the project data may be described directly in the project 20 and the entire project 20 may be a single file.
  • each of the plurality of project data is a part of one file.
  • the engineering tool 10 manages a plurality of project data used in a plurality of PLCs, that is, the first PLC 101, the second PLC 111, and the third PLC 121 in one project 20, thereby standardizing and structuring the project data.
  • Componentization and reuse are easy, and horizontal development to all PLCs using the modified project data is facilitated by modifying only one project data.
  • the efficiency of the operator's project data creation can be improved, and mistakes in file correction work can be reduced.
  • the engineering tool 10 manages the combination data of the device PLC and the project data used in the device PLC by the read / write data management unit 12 so that the project data is written to the PLC and the project data is collated.
  • the writing target is selected on the writing screen 300
  • the verification target project data is selected on the verification screen 400.
  • the engineering tool program according to the present invention is suitable for managing a plurality of PLCs.
  • 1 personal computer 10 engineering tool, 11 project management unit, 12 read / write data management unit, 13 data writing unit, 14 data verification unit, 15 communication unit, 20 project, 30 program group, 40 parameter group, 50 device memory group, 60 Connection information group, 70 1st device data, 80 2nd device data, 90 3rd device data, 100 1st device, 101 1st PLC, 110 2nd device, 111 2nd PLC, 120 3rd device, 121st 3PLC.

Landscapes

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

Abstract

An engineering tool is provided with: a project management unit (11) that manages a project including a plurality of items of project data used in a plurality of programmable logic controllers; a read/write data management unit (12) that manages combination data indicating a combination of each of the plurality of programmable logic controllers and the project data used by each of the plurality of programmable logic controllers; and a communication unit (15) that transmits the project data used by each of the plurality of programmable logic controllers to each of the plurality of programmable logic controllers on the basis of the combination data.

Description

エンジニアリングツールEngineering tools
 本発明は、プログラマブルロジックコントローラ(Programmable Logic Controller、以下PLCという)で使用されるプロジェクトデータを管理するエンジニアリングツールに関する。 The present invention relates to an engineering tool for managing project data used in a programmable logic controller (hereinafter referred to as PLC).
 FA(Factory Automation)分野において、各種装置を制御するPLCは、エンジニアリングツールプログラムがコンピュータで実行されることで実現されるエンジニアリングツールと通信を行い、エンジニアリングツールから設定、保守及び管理される。 In the FA (Factory Automation) field, a PLC that controls various devices communicates with an engineering tool realized by executing an engineering tool program on a computer, and is set, maintained, and managed from the engineering tool.
 従来のエンジニアリングツールにおいては、PLCに設定されてPLCで参照されるパラメータ、PLCに書き込まれてPLCで実行されるプログラムをはじめとするデータは、プロジェクトと呼ばれる管理単位で一括管理されている。また、プロジェクトで管理されるパラメータをはじめとするデータは、プロジェクトデータと呼ばれている。 In a conventional engineering tool, parameters such as parameters set in the PLC and referred to by the PLC, and data written in the PLC and executed by the PLC are collectively managed in a management unit called a project. Data including parameters managed in a project is called project data.
 従来のエンジニアリングツールにおいては、PLCに対して設定、保守及び管理を行う際に、作業者のわかり易さ及び使い易さの観点から、PLCとエンジニアリングツール上のプロジェクトとは、1対1の関係となっていた。 In the conventional engineering tool, when setting, maintaining and managing the PLC, the PLC and the project on the engineering tool have a one-to-one relationship from the viewpoint of easy understanding and use of the operator. It was.
 しかし、昨今は、PLCで使用されるデータは、標準化、構造化及び再利用による品質の確保及びコスト削減が求められている。そのため、部品化された複数のデータを組み合わせることで、複数の装置つまり複数のPLCに対応することが求められている。 However, recently, data used in PLCs is required to ensure quality and reduce costs by standardization, structuring and reuse. Therefore, it is required to support a plurality of devices, that is, a plurality of PLCs, by combining a plurality of componentized data.
 従来は、第1の装置向けに作成したデータを、第1の装置に類似した別の第2の装置向けに再利用する場合、第1の装置向けに作成した第1のプロジェクトをコピーした第2のプロジェクトを第2の装置向けに使用していた。そのため、第1の装置及び第2の装置で共通して使用されるプログラムの修正時には、第1のプロジェクト及び第2のプロジェクトの両方を修正するという重複作業が発生し、作業効率が低下していた。 Conventionally, when the data created for the first device is reused for another second device similar to the first device, the first project created for the first device is copied. Two projects were used for the second device. For this reason, when a program used in common in the first device and the second device is modified, a duplicate work of modifying both the first project and the second project occurs, resulting in a reduction in work efficiency. It was.
 また、1つのプロジェクトが複数のプログラムを有している場合、作業者が、装置つまりPLCに書込むプログラムや照合するプログラムを手動で選択する必要がある。そのため、作業者がプログラムの選択を忘れたり、間違えたりすることがあった。 In addition, when one project has a plurality of programs, it is necessary for an operator to manually select a program to be written into a device, that is, a PLC, or a program to be verified. For this reason, the operator may forget to select a program or make a mistake.
 関連する技術として、下記の特許文献1及び2が知られている。 The following Patent Documents 1 and 2 are known as related technologies.
特開2007-94898号公報JP 2007-94898 A 特開2012-141722号公報JP 2012-141722 A
 特許文献1に記載の技術は、1つのPLCに1つのプロジェクトを割り当て、1つのPLCに搭載される複数のCPUモジュールの各々にサブプロジェクトを割り当てるものである。しかし、特許文献1には、複数のPLCを管理する手法については記載されていない。また、特許文献1には、各サブプロジェクト間で信号定義を共通化することが記載されているが、各サブプロジェクト間でプログラムを共通化、モジュール化することは記載されていない。 The technology described in Patent Document 1 assigns one project to one PLC and assigns a subproject to each of a plurality of CPU modules mounted on one PLC. However, Patent Document 1 does not describe a method for managing a plurality of PLCs. Japanese Patent Application Laid-Open No. 2004-228561 describes that the signal definition is shared among the subprojects, but does not describe that the program is shared and modularized between the subprojects.
 特許文献2に記載の技術は、1つのPLCに搭載される複数のCPUユニットの各々にプロジェクトを割り当て、プロジェクト間で整合の取れたパラメータ設定を行う、つまり、1つのPLCに搭載される複数のCPUユニット間で整合の取れたパラメータ設定を行うものである。しかし、特許文献2には、複数のPLCを管理する手法については記載されていない。また、特許文献2には、各プロジェクト間で整合の取れたパラメータ設定を行うことが記載されているが、各プロジェクト間でプログラムを共通化、モジュール化することは記載されていない。 The technology described in Patent Document 2 assigns a project to each of a plurality of CPU units mounted on one PLC, and performs parameter setting that is consistent between the projects. That is, a plurality of devices mounted on one PLC. The parameter setting is made consistent between the CPU units. However, Patent Document 2 does not describe a method for managing a plurality of PLCs. Further, Patent Document 2 describes that parameter settings that are consistent between projects are performed, but does not describe that a program is shared and modularized between projects.
 本発明は、上記に鑑みてなされたものであって、複数のPLCの管理を容易に行うことができるエンジニアリングツールを提供することを目的とする。 The present invention has been made in view of the above, and an object thereof is to provide an engineering tool that can easily manage a plurality of PLCs.
 上述した課題を解決し、目的を達成するために、本発明にかかるエンジニアリングツールは、複数のプログラマブルロジックコントローラと通信するエンジニアリングツールであって、前記複数のプログラマブルロジックコントローラで使用される複数のプロジェクトデータを有するプロジェクトを管理するプロジェクト管理部と、前記複数のプログラマブルロジックコントローラの各々と前記複数のプログラマブルロジックコントローラの各々で使用されるプロジェクトデータとの組み合わせを表す組み合わせデータを管理する読み書きデータ管理部と、前記組み合わせデータに基づいて、前記複数のプログラマブルロジックコントローラの各々で使用されるプロジェクトデータを前記複数のプログラマブルロジックコントローラの各々に送信する通信部と、を備える。 In order to solve the above-described problems and achieve the object, an engineering tool according to the present invention is an engineering tool that communicates with a plurality of programmable logic controllers, and a plurality of project data used in the plurality of programmable logic controllers. A project management unit that manages a project having a read / write data management unit that manages combination data representing a combination of each of the plurality of programmable logic controllers and project data used in each of the plurality of programmable logic controllers; Based on the combination data, project data used in each of the plurality of programmable logic controllers is converted into each of the plurality of programmable logic controllers. And a communication unit for transmitting.
 本発明によれば、複数のPLCで使用される複数のプロジェクトデータを1つのプロジェクトで管理することにより、プロジェクトデータの標準化、構造化、部品化及び再利用が容易になる。これにより、作業者のプロジェクトデータ作成の効率を向上させることができる。 According to the present invention, by managing a plurality of project data used in a plurality of PLCs in one project, standardization, structuring, componentization, and reuse of project data are facilitated. Thereby, the efficiency of the operator's project data creation can be improved.
図1は、本発明の実施の形態1にかかるエンジニアリングツールを用いたFAシステムを示す図である。FIG. 1 is a diagram illustrating an FA system using an engineering tool according to a first embodiment of the present invention. 図2は、本発明の実施の形態1にかかるエンジニアリングツールのプロジェクト作成処理を示すフローチャートである。FIG. 2 is a flowchart showing a project creation process of the engineering tool according to the first embodiment of the present invention. 図3は、本発明の実施の形態1にかかるエンジニアリングツールの記録画面の一例を示す図である。FIG. 3 is a diagram showing an example of a recording screen of the engineering tool according to the first embodiment of the present invention. 図4は、本発明の実施の形態1にかかるエンジニアリングツールの、PLCへのプロジェクトデータ書込み処理を示すフローチャートである。FIG. 4 is a flowchart showing the project data writing process to the PLC of the engineering tool according to the first embodiment of the present invention. 図5は、本発明の実施の形態1にかかるエンジニアリングツールの書込み画面の一例を示す図である。FIG. 5 is a diagram illustrating an example of a writing screen of the engineering tool according to the first embodiment of the present invention. 図6は、本発明の実施の形態1にかかるエンジニアリングツールの、PLCに保持されているデータとプロジェクトデータとの照合処理を示すフローチャートである。FIG. 6 is a flowchart showing collation processing between the data held in the PLC and the project data of the engineering tool according to the first embodiment of the present invention. 図7は、本発明の実施の形態1にかかるエンジニアリングツールの照合画面の一例を示す図である。FIG. 7 is a diagram illustrating an example of a matching screen of the engineering tool according to the first embodiment of the present invention.
 以下に、本発明にかかるエンジニアリングツールの実施の形態を図面に基づいて詳細に説明する。なお、これらの実施の形態によりこの発明が限定されるものではない。 Hereinafter, an embodiment of an engineering tool according to the present invention will be described in detail based on the drawings. Note that the present invention is not limited to these embodiments.
実施の形態1.
 図1は、本発明の実施の形態1にかかるエンジニアリングツールを用いたFAシステムを示す図である。このFAシステムは、パーソナルコンピュータ1と、第1装置100と、第2装置110と、第3装置120と、を有する。パーソナルコンピュータ1と、第1装置100、第2装置110及び第3装置120とは、有線又は無線で通信可能である。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating an FA system using an engineering tool according to a first embodiment of the present invention. This FA system includes a personal computer 1, a first device 100, a second device 110, and a third device 120. The personal computer 1 and the first device 100, the second device 110, and the third device 120 can communicate with each other by wire or wirelessly.
 第1装置100は、第1PLC101に接続されており、第1PLC101によって制御される。第2装置110は、第2PLC111に接続されており、第2PLC111によって制御される。第3装置120は、第3PLC121に接続されており、第3PLC121によって制御される。 The first device 100 is connected to the first PLC 101 and is controlled by the first PLC 101. The second device 110 is connected to the second PLC 111 and is controlled by the second PLC 111. The third device 120 is connected to the third PLC 121 and is controlled by the third PLC 121.
 なお、本実施の形態1では、第1装置100は、2リットル容器に飲料を充填する装置であり、第2装置110は、1.5リットル容器に飲料を充填する装置であり、第3装置120は、500ミリリットル容器に飲料を充填する装置であるものとするが、本発明はこれに限定されるものではない。 In the first embodiment, the first device 100 is a device that fills a 2 liter container with a beverage, the second device 110 is a device that fills a 1.5 liter container with a beverage, and the third device. Although 120 is an apparatus which fills a 500 milliliter container with a drink, this invention is not limited to this.
 パーソナルコンピュータ1は、エンジニアリングツール10を有する。エンジニアリングツール10は、パーソナルコンピュータ1内のCPU(Central Processing Unit)がパーソナルコンピュータ1内の記録媒体に記録されたエンジニアリングツールプログラムを実行することにより、実現される。なお、記録媒体は、ROM(Read Only Memory)、RAM(Random Access Memory)、フラッシュメモリ(登録商標)、SSD(Solid State Drive)、HDD(Hard Disk Drive)が例示される。 The personal computer 1 has an engineering tool 10. The engineering tool 10 is realized by a CPU (Central Processing Unit) in the personal computer 1 executing an engineering tool program recorded on a recording medium in the personal computer 1. Examples of the recording medium include ROM (Read Only Memory), RAM (Random Access Memory), flash memory (registered trademark), SSD (Solid State Drive), and HDD (Hard Disk Drive).
 エンジニアリングツール10は、プロジェクト管理部11と、読み書きデータ管理部12と、データ書込み部13と、データ照合部14と、通信部15と、を有する。 The engineering tool 10 includes a project management unit 11, a read / write data management unit 12, a data write unit 13, a data collation unit 14, and a communication unit 15.
 プロジェクト管理部11は、プロジェクト20を管理する。ここで、プロジェクト20は、第1PLC101、第2PLC111及び第3PLC121に書き込まれて第1PLC101、第2PLC111及び第3PLC121で実行されるプログラム群30、第1PLC101、第2PLC111及び第3PLC121に設定されて第1PLC101、第2PLC111及び第3PLC121で参照されるパラメータ群40、第1PLC101、第2PLC111及び第3PLC121に設定されて第1PLC101、第2PLC111及び第3PLC121のワークメモリ領域を規定するデバイスメモリ群50、並びに、第1PLC101の複数の端子と第1装置100の複数のセンサ及びアクチュエータとの接続、第2PLC111の複数の端子と第2装置110の複数のセンサ及びアクチュエータとの接続及び第3PLC121の複数の端子と第3装置120の複数のセンサ及びアクチュエータとの接続を記述した接続情報群60と、を管理する管理単位である。なお、プロジェクトは、パーソナルコンピュータ1の記録媒体に記録されたデータ構造体であっても良い。また、プロジェクト管理部11は、複数のプロジェクトを管理することができる。 The project management unit 11 manages the project 20. Here, the project 20 is set in the first PLC 101, the second PLC 111, and the third PLC 121, and is set in the program group 30, the first PLC 101, the second PLC 111, and the third PLC 121 that are executed by the first PLC 101, the second PLC 111, and the third PLC 121. A parameter group 40 referred to by the second PLC 111 and the third PLC 121, a device memory group 50 that is set in the first PLC 101, the second PLC 111, and the third PLC 121 and defines a work memory area of the first PLC 101, the second PLC 111, and the third PLC 121, and the first PLC 101 Connection between a plurality of terminals and a plurality of sensors and actuators of the first device 100, a plurality of terminals of the second PLC 111 and a plurality of sensors and actuators of the second device 110 And connection information group 60 which describes the connection of a plurality of sensors and actuators data between the connection and the 3PLC121 plurality of terminals of the third device 120 is a management unit for managing. The project may be a data structure recorded on a recording medium of the personal computer 1. Further, the project management unit 11 can manage a plurality of projects.
 プログラム群30は、「MAIN1」ファイル31、「MAIN2」ファイル32及び「MAIN3」ファイル33を含む。 The program group 30 includes a “MAIN1” file 31, a “MAIN2” file 32, and a “MAIN3” file 33.
 パラメータ群40は、「PARAM1」ファイル41、「PARAM2」ファイル42及び「PARAM3」ファイル43を含む。 The parameter group 40 includes a “PARAM1” file 41, a “PARAM2” file 42, and a “PARAM3” file 43.
 デバイスメモリ群50は、「DEVMEM1」ファイル51、「DEVMEM2」ファイル52及び「DEVMEM3」ファイル53を含む。 The device memory group 50 includes a “DEVMEM1” file 51, a “DEVMEM2” file 52, and a “DEVMEM3” file 53.
 接続情報群60は、第1PLC101の複数の端子と第1装置100の複数のセンサ及びアクチュエータとの接続を記述した第1装置接続情報61、第2PLC111の複数の端子と第2装置110の複数のセンサ及びアクチュエータとの接続を記述した第2装置接続情報62及び第3PLC121の複数の端子と第3装置120の複数のセンサ及びアクチュエータとの接続を記述した第3装置接続情報63を含む。 The connection information group 60 includes first device connection information 61 describing connections between a plurality of terminals of the first PLC 101 and a plurality of sensors and actuators of the first device 100, a plurality of terminals of the second PLC 111, and a plurality of terminals of the second device 110. Second device connection information 62 describing connections between sensors and actuators, and third device connection information 63 describing connections between a plurality of terminals of the third PLC 121 and a plurality of sensors and actuators of the third device 120 are included.
 プロジェクト20で管理される「MAIN1」ファイル31、「MAIN2」ファイル32、「MAIN3」ファイル33、「PARAM1」ファイル41、「PARAM2」ファイル42、「PARAM3」ファイル43、「DEVMEM1」ファイル51、「DEVMEM2」ファイル52、「DEVMEM3」ファイル53、第1装置接続情報61、第2装置接続情報62及び第3装置接続情報63の各々は、プロジェクトデータである。 “MAIN1” file 31, “MAIN2” file 32, “MAIN3” file 33, “PARAM1” file 41, “PARAM2” file 42, “PARAM3” file 43, “DEVMEM1” file 51, “DEVMEM2” managed by the project 20 ”File 52,“ DEVMEM 3 ”file 53, first device connection information 61, second device connection information 62, and third device connection information 63 are project data.
 本実施の形態1において、第1装置100、第2装置110及び第3装置120の動作は、飲料を容器に順次充填するという基本的な点で共通する一方、容器の大きさ、飲料の種類、飲料を詰める間隔などに依る点で異なる。そのため、エンジニアリングツール10から第1PLC101に読み書きされるファイル、エンジニアリングツール10から第2PLC111に読み書きされるファイル及びエンジニアリングツール10から第3PLC121に読み書きされるファイルは、一部が共通するが、他の一部が異なる。プロジェクト管理部11は、第1PLC101、第2PLC111及び第3PLC121に読み書きされるファイルを、1つのプロジェクト20で一括管理する。 In the first embodiment, the operations of the first device 100, the second device 110, and the third device 120 are common in the basic point that the beverage is sequentially filled in the container, while the size of the container and the type of the beverage It differs in that it depends on the interval at which the beverage is packed. Therefore, the file read / written to / from the first PLC 101 from the engineering tool 10, the file read / written from the engineering tool 10 to the second PLC 111, and the file read / written from the engineering tool 10 to the third PLC 121 are partly common, but the other part Is different. The project management unit 11 collectively manages the files read / written to / from the first PLC 101, the second PLC 111, and the third PLC 121 with one project 20.
 読み書きデータ管理部12は、第1装置100を制御する第1PLC101に対して読み書きされるファイルを規定した第1装置向けデータ70、第2装置110を制御する第2PLC111に対して読み書きされるファイルを規定した第2装置向けデータ80及び第3装置120を制御する第3PLC121に対して読み書きされるファイルを規定した第3装置向けデータ90を管理する。これら第1装置向けデータ70、第2装置向けデータ80及び第3装置向けデータ90が、本発明の組み合わせデータに対応する。 The read / write data management unit 12 defines data 70 for the first device that defines a file to be read from and written to the first PLC 101 that controls the first device 100, and a file that is read from and written to the second PLC 111 that controls the second device 110. It manages the specified second device data 80 and the third device data 90 that defines the files to be read from and written to the third PLC 121 that controls the third device 120. The first device data 70, the second device data 80, and the third device data 90 correspond to the combination data of the present invention.
 本実施の形態1において、第1PLC101では、「MAIN1」ファイル31及び「MAIN2」ファイル32のプログラムが実行されるものとする。また、第1PLC101では、「PARAM1」ファイル41のパラメータが参照されるものとする。また、第1PLC101では、「DEVMEM1」ファイル51に規定されたワークメモリ領域を利用するものとする。また、第1PLC101の複数の端子と第1装置100の複数のセンサ及びアクチュエータとの接続は、第1装置接続情報61に記述されている。 In the first embodiment, it is assumed that the first PLC 101 executes the programs “MAIN1” file 31 and “MAIN2” file 32. In the first PLC 101, the parameters of the “PARAM1” file 41 are referred to. Further, the first PLC 101 uses the work memory area defined in the “DEVMEM1” file 51. The connection between the plurality of terminals of the first PLC 101 and the plurality of sensors and actuators of the first device 100 is described in the first device connection information 61.
 そこで、第1装置向けデータ70は、「MAIN1」ファイル31を特定する情報である「MAIN1」特定情報71、「MAIN2」ファイル32を特定する情報である「MAIN2」特定情報72、「PARAM1」ファイル41を特定する情報である「PARAM1」特定情報73、「DEVMEM1」ファイル51を特定する情報である「DEVMEM1」特定情報74及び第1装置接続情報61を特定する情報である第1装置接続情報特定情報75を含む。 Therefore, the data 70 for the first apparatus includes “MAIN1” specifying information 71 that is information specifying the “MAIN1” file 31, “MAIN2” specifying information 72 that is information specifying the “MAIN2” file 32, and “PARAM1” file. “PARAM1” specifying information 73, which is information specifying 41, “DEVMEM1” specifying information 74, which is information specifying the “DEVMEM1” file 51, and first device connection information specifying, which is information specifying the first device connection information 61 Information 75 is included.
 エンジニアリングツール10は、第1装置向けデータ70の情報に基づいて、第1装置向けデータ70内の特定情報で特定されるファイルを第1PLC101に読み書きする。 The engineering tool 10 reads / writes the file specified by the specific information in the first device data 70 to / from the first PLC 101 based on the information in the first device data 70.
 なお、各特定情報は、プログラムファイル、パラメータファイル、デバイスメモリファイル及び接続情報ファイルそのものではなく、これらを一意に特定する情報である。特定情報は、ファイル名、ファイル識別子、ファイルへのシンボリックリンクが例示される。 Note that each specifying information is not a program file, a parameter file, a device memory file, and a connection information file itself, but information that uniquely specifies them. The specific information is exemplified by a file name, a file identifier, and a symbolic link to the file.
 本実施の形態1において、第2PLC111では、「MAIN1」ファイル31のプログラムが実行されるものとする。また、第2PLC111では、「PARAM2」ファイル42のパラメータが参照されるものとする。また、第2PLC111では、「DEVMEM2」ファイル52に規定されたワークメモリ領域を利用するものとする。また、第2PLC111の複数の端子と第2装置110の複数のセンサ及びアクチュエータとの接続は、第2装置接続情報62に記述されている。 In the first embodiment, it is assumed that the program of the “MAIN1” file 31 is executed in the second PLC 111. In the second PLC 111, the parameters of the “PARAM2” file 42 are referred to. In the second PLC 111, it is assumed that the work memory area defined in the “DEVMEM2” file 52 is used. The connection between the plurality of terminals of the second PLC 111 and the plurality of sensors and actuators of the second device 110 is described in the second device connection information 62.
 そこで、第2装置向けデータ80は、「MAIN1」ファイル31を特定する情報である「MAIN1」特定情報81、「PARAM2」ファイル42を特定する情報である「PARAM2」特定情報82、「DEVMEM2」ファイル52を特定する情報である「DEVMEM2」特定情報83及び第2装置接続情報62を特定する情報である第2装置接続情報特定情報84を含む。 Therefore, the data 80 for the second device includes “MAIN1” specifying information 81 that is information specifying the “MAIN1” file 31, “PARAM2” specifying information 82 that is information specifying the “PARAM2” file 42, and “DEVMEM2” file. 52 includes “DEVMEM2” specifying information 83 that is information for specifying 52 and second device connection information specifying information 84 that is information for specifying second device connection information 62.
 エンジニアリングツール10は、第2装置向けデータ80の情報に基づいて、第2装置向けデータ80内の特定情報で特定されるファイルを第2PLC111に読み書きする。 The engineering tool 10 reads / writes the file specified by the specific information in the second device data 80 to / from the second PLC 111 based on the information in the second device data 80.
 本実施の形態1において、第3PLC121では、「MAIN2」ファイル32及び「MAIN3」ファイル33のプログラムが実行されるものとする。また、第3PLC121では、「PARAM3」ファイル43のパラメータが参照されるものとする。また、第3PLC121では、「DEVMEM3」ファイル53に規定されたワークメモリ領域を利用するものとする。また、第3PLC121の複数の端子と第3装置120の複数のセンサ及びアクチュエータとの接続は、第3装置接続情報63に記述されている。 In the first embodiment, it is assumed that the third PLC 121 executes the programs “MAIN2” file 32 and “MAIN3” file 33. In the third PLC 121, the parameters of the “PARAM3” file 43 are referred to. In the third PLC 121, a work memory area defined in the “DEVMEM3” file 53 is used. The connection between the plurality of terminals of the third PLC 121 and the plurality of sensors and actuators of the third device 120 is described in the third device connection information 63.
 そこで、第3装置向けデータ90は、「MAIN2」ファイル32を特定する情報である「MAIN2」特定情報91、「MAIN3」ファイル33を特定する情報である「MAIN3」特定情報92、「PARAM3」ファイル43を特定する情報である「PARAM3」特定情報93、「DEVMEM3」ファイル53を特定する情報である「DEVMEM3」特定情報94及び第3装置接続情報63を特定する情報である第3装置接続情報特定情報95を含む。 Therefore, the data 90 for the third apparatus includes “MAIN2” specifying information 91 that is information specifying the “MAIN2” file 32, “MAIN3” specifying information 92 that is information specifying the “MAIN3” file 33, and “PARAM3” file. “PARAM3” specifying information 93 which is information specifying 43, “DEVMEM3” specifying information 94 which is information specifying “DEVMEM3” file 53, and third device connection information specifying which is information specifying third device connection information 63 Information 95 is included.
 エンジニアリングツール10は、第3装置向けデータ90の情報に基づいて、第3装置向けデータ90内の特定情報で特定されるファイルを第3PLC121に読み書きする。 The engineering tool 10 reads / writes the file specified by the specific information in the third device data 90 to / from the third PLC 121 based on the information of the third device data 90.
 通信部15は、第1装置向けデータ70内の特定情報で特定されるファイルを第1PLC101に読み書きし、第2装置向けデータ80内の特定情報で特定されるファイルを第2PLC111に読み書きし、第3装置向けデータ90内の特定情報で特定されるファイルを第3PLC121に読み書きする。 The communication unit 15 reads / writes the file specified by the specific information in the first device data 70 to / from the first PLC 101, reads / writes the file specified by the specific information in the second device data 80 to / from the second PLC 111, and The file specified by the specific information in the data 90 for the three devices is read from and written to the third PLC 121.
 データ書込み部13は、第1装置向けデータ70内の特定情報で特定されるファイルを第1PLC101に書き込む際、第2装置向けデータ80内の特定情報で特定されるファイルを第2PLC111に書き込む際及び第3装置向けデータ90内の特定情報で特定されるファイルを第3PLC121に書き込む際に、通信部15を制御する。 The data writing unit 13 writes the file specified by the specific information in the first device data 70 to the first PLC 101, writes the file specified by the specific information in the second device data 80 to the second PLC 111, and When writing the file specified by the specific information in the data 90 for the third device to the third PLC 121, the communication unit 15 is controlled.
 データ照合部14は、第1PLC101内のデータと第1装置向けデータ70内の特定情報で特定されるファイルとを照合する際、第2PLC111内のデータと第2装置向けデータ80内の特定情報で特定されるファイルとを照合する際及び第3PLC121内のデータと第3装置向けデータ90内の特定情報で特定されるファイルとを照合する際に、通信部15を制御する。 When the data collating unit 14 collates the data in the first PLC 101 and the file specified by the specific information in the first device data 70, the data collating unit 14 uses the data in the second PLC 111 and the specific information in the second device data 80. The communication unit 15 is controlled when collating the specified file and when collating the data in the third PLC 121 and the file specified by the specific information in the data 90 for the third device.
 なお、各特定情報が、プログラムファイル、パラメータファイル、デバイスメモリファイル及び接続情報ファイルそのものではなく、プログラムファイル、パラメータファイル、デバイスメモリファイル及び接続情報ファイルを一意に特定する情報であることで、次の効果を奏する。例えば、MAIN1ファイル31は、第1PLC101で実行されるとともに、第2PLC111でも実行される。ここで、MAIN1ファイル31内のプログラムを修正する必要が生じたとする。この場合、作業者は、MAIN1ファイル31だけを修正すれば良い。第1装置向けデータ70内のMAIN1特定情報71及び第2装置向けデータ80内のMAIN1特定情報81は、プログラムファイル自体ではなく、MAIN1ファイル31を特定する情報である。従って、作業者が、MAIN1ファイル31だけを修正し、後述するように第1PLC101への書込み処理及び第2PLC111への書込み処理を実行すれば、修正後のMAIN1ファイル31が第1PLC101及び第2PLC111に転送される。従って、作業者のファイル修正作業の効率を向上させることができるとともに、ファイル修正作業のミスを低減することができる。 Each identification information is not a program file, a parameter file, a device memory file, and a connection information file itself, but is information that uniquely identifies a program file, a parameter file, a device memory file, and a connection information file. There is an effect. For example, the MAIN1 file 31 is executed by the first PLC 101 and also by the second PLC 111. Here, it is assumed that the program in the MAIN1 file 31 needs to be corrected. In this case, the operator only needs to correct the MAIN1 file 31. The MAIN1 specifying information 71 in the first device data 70 and the MAIN1 specifying information 81 in the second device data 80 are information for specifying the MAIN1 file 31, not the program file itself. Therefore, if the worker corrects only the MAIN1 file 31 and executes the writing process to the first PLC 101 and the writing process to the second PLC 111 as will be described later, the corrected MAIN1 file 31 is transferred to the first PLC 101 and the second PLC 111. Is done. Therefore, it is possible to improve the efficiency of the worker's file correction work and reduce errors in the file correction work.
 図2は、本発明の実施の形態1にかかるエンジニアリングツールのプロジェクト作成処理を示すフローチャートである。まず、エンジニアリングツール10のプロジェクト管理部11は、ステップS100において、作業者からの入力を受けて、パーソナルコンピュータ1の記録媒体内にプロジェクトを作成する。 FIG. 2 is a flowchart showing a project creation process of the engineering tool according to the first embodiment of the present invention. First, in step S100, the project management unit 11 of the engineering tool 10 creates a project in the recording medium of the personal computer 1 in response to input from the operator.
 次に、プロジェクト管理部11は、ステップS102において、作業者からの入力を受けて、プロジェクトデータつまりプログラムファイル、パラメータファイル、デバイスメモリファイル及び接続情報ファイルを作成し、プロジェクトに記録する。 Next, in step S102, the project management unit 11 generates project data, that is, a program file, a parameter file, a device memory file, and a connection information file in response to input from the worker, and records them in the project.
 次に、プロジェクト管理部11は、ステップS104において、作業者からの入力を受けて、装置及びプロジェクトデータの一覧データを記録する。本実施の形態1において、作業者は、第1装置100、第2装置110及び第3装置120を識別する項目(例えば、2リットル容器に飲料を充填する装置を意味する「2リットル容器」の文字列、1.5リットル容器に飲料を充填する装置を意味する「1.5リットル容器」の文字列、500ミリリットル容器に飲料を充填する装置を意味する「500ミリリットル容器」の文字列)をプロジェクト管理部11に入力する。また、作業者は、各ファイルを識別する項目(例えば、各装置で共通に実行されるプログラムを意味する「共通ライン」の文字列、2リットル容器に飲料を充填するためのパラメータを意味する「PARAM2000」の文字列、2リットル容器に飲料を充填するためのデバイスメモリを意味する「DEVMEM2000」の文字列)をプロジェクト管理部11に入力する。 Next, in step S104, the project management unit 11 receives the input from the worker and records the list data of the device and the project data. In the first embodiment, the operator identifies an item that identifies the first device 100, the second device 110, and the third device 120 (for example, a “2 liter container” that means a device that fills a 2 liter container with a beverage). Character string, "1.5 liter container" meaning a device for filling beverages in a 1.5 liter container, "500 milliliter container" character string meaning a device for filling beverages in a 500 milliliter container) Input to the project management unit 11. In addition, the worker identifies items for identifying each file (for example, a character string of “common line” indicating a program executed in common in each device, and a parameter for filling a beverage in a 2 liter container “ The character string “PARAM2000” (character string “DEVMEM2000”, which means a device memory for filling beverages in a 2 liter container) is input to the project management unit 11.
 次に、エンジニアリングツール10の読み書きデータ管理部12は、ステップS106において、作業者からの入力を受けて、装置と装置で使用されるプロジェクトデータとの組み合わせデータを記録する。より具体的には、読み書きデータ管理部12は、ステップS104で入力された一覧データに基づいて、組み合わせデータの記録画面を表示し、作業者からの入力を受ける。 Next, in step S106, the read / write data management unit 12 of the engineering tool 10 receives the input from the operator and records the combination data of the device and the project data used in the device. More specifically, the read / write data management unit 12 displays a combination data recording screen based on the list data input in step S104, and receives input from the operator.
 図3は、本発明の実施の形態1にかかるエンジニアリングツールの記録画面の一例を示す図である。記録画面200の図中上部において横方向に延在する領域210には、装置を識別する項目211、212、213及び214が表示されている。項目211は、2リットル容器に飲料を充填する装置つまり第1装置100を識別する「2l容器」の文字列を有する。項目212は、1.5リットル容器に飲料を充填する装置つまり第2装置110を識別する「1.5l容器」の文字列を有する。項目213は、500ミリリットル容器に飲料を充填する装置つまり第3装置120を識別する「500ml容器」の文字列を有する。項目214は、350ミリリットル容器に飲料を充填する装置を識別する「350ml容器」の文字列を有する。 FIG. 3 is a diagram showing an example of a recording screen of the engineering tool according to the first embodiment of the present invention. In an area 210 extending in the horizontal direction at the top of the recording screen 200 in the figure, items 211, 212, 213, and 214 for identifying the device are displayed. The item 211 has a character string “2l container” that identifies the device that fills the 2 liter container with the beverage, that is, the first device 100. Item 212 has a string of “1.5 liter container” that identifies the device that fills the 1.5 liter container with the beverage or second device 110. Item 213 has the string “500 ml container” identifying the device that fills the 500 milliliter container with the beverage, ie, the third device 120. Item 214 has the string “350 ml container” identifying the device that fills the 350 ml container with beverage.
 また、記録画面200の図中左部において縦方向に延在する領域220には、プログラムファイルを識別する項目221、222、・・・が表示されている。項目221は、各装置で共通に実行されるプログラムファイルを識別する「共通ライン」の文字列を有する。項目222は、2リットル容器に飲料を充填する装置で実行されるプログラムファイルを識別する「PROG2000」の文字列を有する。 Further, items 221, 222,... That identify program files are displayed in an area 220 extending in the vertical direction in the left part of the drawing of the recording screen 200. The item 221 has a character string of “common line” that identifies a program file that is executed in common in each apparatus. Item 222 has a character string “PROG2000” that identifies a program file that is executed by the device that fills the 2 liter container with a beverage.
 また、記録画面200の領域220の下隣において縦方向に延在する領域230には、パラメータファイルを識別する項目231、・・・が表示されている。項目231は、2リットル容器に飲料を充填する装置で参照されるパラメータファイルを識別する「PARAM2000」の文字列を有する。 In addition, an item 2301,... For identifying a parameter file is displayed in a region 230 extending in the vertical direction below the region 220 of the recording screen 200. The item 231 has a character string “PARAM2000” that identifies a parameter file that is referred to by a device that fills a 2-liter container with a beverage.
 また、記録画面200の領域230の下隣において縦方向に延在する領域240には、デバイスメモリファイルを識別する項目241、・・・が表示されている。項目241は、2リットル容器に飲料を充填する装置のワークメモリ領域を規定するデバイスメモリファイルを識別する「DEVMEM2000」の文字列を有する。 Further, in the area 240 extending vertically below the area 230 of the recording screen 200, items 241 for identifying the device memory file are displayed. Item 241 has the string “DEVMEM2000” identifying the device memory file that defines the work memory area of the device that fills the 2 liter container with beverage.
 また、記録画面200の項目211、212、213及び214から図中下側に向かう方向と、項目221、222、・・・、231、・・・、241、・・・から図中右側に向かう方向と、との交点には、チェックボックスがマトリクス状に表示されている。 Also, the direction from the items 211, 212, 213, and 214 on the recording screen 200 to the lower side in the figure, and the items 221, 222,..., 231,. Check boxes are displayed in a matrix at intersections of directions.
 なお、図3において、紙面の都合により、接続情報については記録画面200に表示されていないが、プログラム、パラメータ及びデバイスメモリと同様に表示するようにすれば良い。 In FIG. 3, the connection information is not displayed on the recording screen 200 due to space limitations, but may be displayed in the same manner as the program, parameter, and device memory.
 ここで、作業者が2リットル容器に飲料を充填する装置つまり第1装置100と、第1装置100で使用されるプロジェクトデータと、の組み合わせを入力する場合について、説明する。 Here, a case where an operator inputs a combination of a device that fills a 2-liter container with a beverage, that is, the first device 100, and project data used in the first device 100 will be described.
 「2l容器」の文字列である項目211で識別される装置つまり第1装置100は、2リットル容器に飲料を充填する装置であるので、「共通ライン」の文字列である項目221で識別されるファイルのプログラム及び「PROG2000」の文字列である項目222で識別されるファイルのプログラムを実行する。 Since the device identified by the item 211 that is the character string “2l container”, that is, the first device 100 is a device that fills the 2-liter container with the beverage, it is identified by the item 221 that is the character string “common line”. And the file program identified by the item 222 which is the character string “PROG2000” are executed.
 そこで、作業者は、項目211から図中下側に向かう方向と、項目221から図中右側に向かう方向と、との交点に表示されているチェックボックス251に、チェックを入力する。同様に、作業者は、項目211から図中下側に向かう方向と、項目222から図中右側に向かう方向と、との交点に表示されているチェックボックス252に、チェックを入力する。 Therefore, the operator inputs a check into a check box 251 displayed at the intersection of the direction from the item 211 to the lower side in the figure and the direction from the item 221 to the right side in the figure. Similarly, the operator inputs a check into a check box 252 displayed at the intersection of the direction from the item 211 toward the lower side in the figure and the direction from the item 222 toward the right side in the figure.
 また、「2l容器」の文字列である項目211で識別される装置つまり第1装置100は、2リットル容器に飲料を充填する装置であるので、「PARAM2000」の文字列である項目231で識別されるファイルのパラメータを参照する。 In addition, since the device identified by the item 211 that is the character string “2l container”, that is, the first device 100 is a device that fills the 2-liter container with the beverage, it is identified by the item 231 that is the character string “PARAM2000”. Refers to the parameter of the file to be processed.
 そこで、作業者は、項目211から図中下側に向かう方向と、項目231から図中右側に向かう方向と、との交点に表示されているチェックボックス253に、チェックを入力する。 Therefore, the operator inputs a check into a check box 253 displayed at the intersection of the direction from the item 211 to the lower side in the figure and the direction from the item 231 to the right side in the figure.
 また、「2l容器」の文字列である項目211で識別される装置つまり第1装置100は、2リットル容器に飲料を充填する装置であるので、「DEVMEM2000」の文字列である項目241で識別されるファイルに規定されたワークメモリ領域を利用する。 Further, since the device identified by the item 211 that is the character string “2l container”, that is, the first device 100 is a device that fills the 2-liter container with the beverage, it is identified by the item 241 that is the character string “DEVMEM2000”. The work memory area specified for the file to be used is used.
 そこで、作業者は、項目211から図中下側に向かう方向と、項目241から図中右側に向かう方向と、との交点に表示されているチェックボックス254に、チェックを入力する。 Therefore, the worker inputs a check into a check box 254 displayed at the intersection of the direction from the item 211 to the lower side in the figure and the direction from the item 241 to the right side in the figure.
 次に、作業者が「実行」という文字列を有するボタン260をクリックする。これを受けて、エンジニアリングツール10内の読み書きデータ管理部12は、チェックボックス251、252、253及び254内のチェックに基づいて、項目221で識別されるファイルを特定する情報、項目222で識別されるファイルを特定する情報、項目231で識別されるファイルを特定する情報及び項目241で識別されるファイルを特定する情報を含む第1装置向けデータ70をパーソナルコンピュータ1の記録媒体に作成及び記録する。 Next, the worker clicks the button 260 having the character string “execute”. In response to this, the read / write data management unit 12 in the engineering tool 10 is identified by the item 222, which specifies the file identified by the item 221 based on the check in the check boxes 251, 252, 253 and 254. Creating and recording data 70 for the first device on the recording medium of the personal computer 1 including information specifying the file to be identified, information identifying the file identified by the item 231 and information identifying the file identified by the item 241 .
 なお、作業者は、記録画面200に入力したチェックを破棄する場合には、「キャンセル」という文字列を有するボタン261をクリックする。この場合、エンジニアリングツール10内の読み書きデータ管理部12は、記録画面200に入力されたチェックを破棄し、第1装置向けデータ70を作成しない。 The operator clicks a button 261 having a character string “cancel” when canceling the check input on the recording screen 200. In this case, the read / write data management unit 12 in the engineering tool 10 discards the check input on the recording screen 200 and does not create the first device data 70.
 図4は、本発明の実施の形態1にかかるエンジニアリングツールの、PLCへのプロジェクトデータ書込み処理を示すフローチャートである。まず、エンジニアリングツール10のデータ書込み部13は、ステップS200において、ステップS104で作成された装置及びプロジェクトデータの一覧データと、ステップS106で作成された装置とプロジェクトデータとの組み合わせデータと、を取得する。 FIG. 4 is a flowchart showing the project data writing process to the PLC of the engineering tool according to the first embodiment of the present invention. First, in step S200, the data writing unit 13 of the engineering tool 10 acquires the device and project data list data created in step S104 and the combination data of the device and project data created in step S106. .
 次に、データ書込み部13は、ステップS202において、書込み画面を表示し、装置及びプロジェクトデータの一覧を表示する。 Next, in step S202, the data writing unit 13 displays a writing screen and displays a list of devices and project data.
 図5は、本発明の実施の形態1にかかるエンジニアリングツールの書込み画面の一例を示す図である。書込み画面300の図中上部において横方向に延在する領域310には、装置を識別する項目311、312、313及び314が表示されている。項目311は、2リットル容器に飲料を充填する装置つまり第1装置100を識別する「2l容器」の文字列を有する。項目312は、1.5リットル容器に飲料を充填する装置つまり第2装置110を識別する「1.5l容器」の文字列を有する。項目313は、500ミリリットル容器に飲料を充填する装置つまり第3装置120を識別する「500ml容器」の文字列を有する。項目314は、350ミリリットル容器に飲料を充填する装置を識別する「350ml容器」の文字列を有する。 FIG. 5 is a diagram showing an example of the writing screen of the engineering tool according to the first embodiment of the present invention. Items 3101, 312, 313, and 314 for identifying devices are displayed in an area 310 extending in the horizontal direction at the top of the writing screen 300 in the drawing. The item 311 has a character string “2l container” for identifying a device that fills a 2 liter container with a beverage, that is, the first device 100. Item 312 has the string “1.5 l container” that identifies the device that fills the 1.5 liter container with the beverage, ie, the second device 110. Item 313 has the string “500 ml container” identifying the device that fills the 500 milliliter container with the beverage, ie, the third device 120. Item 314 has a “350 ml container” string that identifies the device that fills the 350 ml container with beverage.
 ここで、作業者が2リットル容器に飲料を充填する装置つまり第1装置100の第1PLC101にプロジェクトデータを書込む場合について、説明する。 Here, a case where the operator writes the project data into the first PLC 101 of the first device 100, that is, the device that fills the 2 liter container with the beverage will be described.
 項目311の左隣には、2リットル容器に飲料を充填する装置つまり第1装置100を書込み対象とすることを選択するためのチェックボックス315が、表示されている。項目312の左隣には、1.5リットル容器に飲料を充填する装置つまり第2装置110を書込み対象とすることを選択するためのチェックボックス316が、表示されている。項目313の左隣には、500ミリリットル容器に飲料を充填する装置つまり第3装置120を書込み対象とすることを選択するためのチェックボックス317が、表示されている。項目314の左隣には、350ミリリットル容器に飲料を充填する装置を書込み対象とすることを選択するためのチェックボックス318が、表示されている。ここでは、作業者は、チェックボックス315にチェックを入力するものとするが、チェックボックス315に加えて、チェックボックス316、317又は318にチェックを入力しても良い。 A check box 315 for selecting a device for filling a beverage in a 2 liter container, that is, the first device 100, is displayed on the left side of the item 311. A check box 316 for selecting a device for filling a 1.5 liter container with a beverage, that is, the second device 110, is displayed on the left side of the item 312. On the left side of the item 313, a check box 317 for selecting a device for filling a beverage in a 500 milliliter container, that is, the third device 120, is displayed. A check box 318 for selecting that a device for filling a 350 ml container with a beverage is to be written is displayed to the left of the item 314. Here, the worker inputs a check into the check box 315. However, in addition to the check box 315, the worker may input a check into the check box 316, 317, or 318.
 また、書込み画面300の図中左部において縦方向に延在する領域320には、プログラムファイルを識別する項目321、322、・・・が表示されている。項目321は、各装置で共通に実行されるプログラムファイルを識別する「共通ライン」の文字列を有する。項目322は、2リットル容器に飲料を充填する装置で実行されるプログラムファイルを識別する「PROG2000」の文字列を有する。 Further, items 321, 322,... That identify program files are displayed in an area 320 that extends in the vertical direction on the left side of the writing screen 300 in the drawing. The item 321 includes a character string of “common line” that identifies a program file that is executed in common in each apparatus. The item 322 has a character string “PROG2000” that identifies a program file to be executed by the apparatus for filling a 2 liter container with a beverage.
 また、書込み画面300の領域320の下隣において縦方向に延在する領域330には、パラメータファイルを識別する項目331、・・・が表示されている。項目331は、2リットル容器に飲料を充填する装置で参照されるパラメータファイルを識別する「PARAM2000」の文字列を有する。 Further, in the area 330 extending vertically below the area 320 of the writing screen 300, items 331,... For identifying the parameter file are displayed. The item 331 has a character string “PARAM2000” that identifies a parameter file that is referred to by a device that fills a 2-liter container with a beverage.
 また、書込み画面300の領域330の下隣において縦方向に延在する領域340には、デバイスメモリファイルを識別する項目341、・・・が表示されている。項目341は、2リットル容器に飲料を充填する装置のワークメモリ領域を規定するデバイスメモリファイルを識別する「DEVMEM2000」の文字列を有する。 In the area 340 extending vertically below the area 330 on the writing screen 300, items 341,... For identifying a device memory file are displayed. Item 341 has the string “DEVMEM2000” identifying the device memory file that defines the work memory area of the device that fills the 2 liter container with beverage.
 また、書込み画面300の項目311、312、313及び314から図中下側に向かう方向と、項目321、322、・・・、331、・・・、341、・・・から図中右側に向かう方向と、との交点には、チェックボックスがマトリクス状に表示されている。 Further, the direction from the items 311, 312, 313 and 314 of the writing screen 300 to the lower side in the figure, and the items 321, 322,..., 331,. Check boxes are displayed in a matrix at intersections of directions.
 なお、ここでは、チェックボックス316、317及び318にチェックが入力されていないので、項目312、313及び314から図中下側に向かう方向と、項目321、322、・・・、331、・・・、341、・・・から図中右側に向かう方向と、との交点に位置する複数のチェックボックス355は、薄く表示されており、チェックを入力できない状態にされている。 Here, since no check is input in the check boxes 316, 317, and 318, the direction from the items 312, 313, and 314 toward the lower side in the figure and the items 321, 322,..., 331,. A plurality of check boxes 355 located at the intersections between 341,... And the direction toward the right side in the drawing are displayed in a thin state so that a check cannot be input.
 なお、図5において、紙面の都合により、接続情報については書込み画面300に表示されていないが、プログラム、パラメータ及びデバイスメモリと同様に表示するようにすれば良い。 In FIG. 5, the connection information is not displayed on the writing screen 300 due to space limitations, but may be displayed in the same manner as the program, parameter, and device memory.
 先に説明したプロジェクト作成処理(図2参照)のステップS106において、項目311で識別される装置つまり第1装置100は項目321で識別されるファイル、項目322で識別されるファイル、項目331で識別されるファイル及び項目341で識別されるファイルを使用することを表す組み合わせデータがパーソナルコンピュータ1の記録媒体に記録されている。 In step S106 of the project creation process described above (see FIG. 2), the device identified by the item 311, that is, the first device 100 is identified by the file identified by the item 321, the file identified by the item 322, and identified by the item 331. The combination data indicating that the file to be used and the file identified by the item 341 are used are recorded on the recording medium of the personal computer 1.
 そこで、データ書込み部13は、組み合わせデータに基づいて、初期値として、項目311から図中下側に向かう方向と、項目321から図中右側に向かう方向と、との交点に表示されているチェックボックス351にチェックを表示し、項目321で識別されるファイルが選択されている状態とする。同様に、データ書込み部13は、初期値として、項目311から図中下側に向かう方向と、項目322から図中右側に向かう方向と、との交点に表示されているチェックボックス352内にチェックを表示し、項目322で識別されるファイルが選択されている状態とする。 Therefore, the data writing unit 13 checks, based on the combination data, as an initial value that is displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 321 to the right side in the figure. A check is displayed in the box 351, and the file identified by the item 321 is selected. Similarly, the data writing unit 13 checks the check box 352 displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 322 to the right side in the figure as an initial value. And the file identified by the item 322 is selected.
 また、データ書込み部13は、初期値として、項目311から図中下側に向かう方向と、項目331から図中右側に向かう方向と、との交点に表示されているチェックボックス353内にチェックを表示し、項目331で識別されるファイルが選択されている状態とする。 In addition, as an initial value, the data writing unit 13 checks the check box 353 displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 331 to the right side in the figure. A file that is displayed and identified by the item 331 is selected.
 また、データ書込み部13は、初期値として、項目311から図中下側に向かう方向と、項目341から図中右側に向かう方向と、との交点に表示されているチェックボックス354内にチェックを表示し、項目341で識別されるファイルが選択されている状態とする。 In addition, as an initial value, the data writing unit 13 checks the check box 354 displayed at the intersection of the direction from the item 311 to the lower side in the figure and the direction from the item 341 to the right side in the figure. A file that is displayed and identified by the item 341 is selected.
 なお、複数のチェックボックス355は、薄く表示されており、チェックを入力できない状態にされているが、組み合わせデータに基づいて、初期値として、項目312、313及び314から図中下側に向かう方向と、項目321、322、・・・から図中右側に向かう方向と、との交点に表示されているチェックボックスにチェックが薄く表示されている。これにより、作業者は、項目312、313及び314で識別される装置で使用される複数のプロジェクトデータを視認できる。 Note that the plurality of check boxes 355 are displayed in a thin state so that the check cannot be input, but the direction from the items 312, 313, and 314 toward the lower side in the figure as an initial value based on the combination data. And the check box displayed at the intersection of the direction from the item 321, 322,... Thereby, the worker can visually recognize a plurality of project data used in the apparatus identified by the items 312, 313 and 314.
 再び図4を参照すると、データ書込み部13は、ステップS204において、書込み画面300上で、書込み対象の装置つまり第1装置100が使用するプロジェクトデータの選択を受け付ける。 Referring to FIG. 4 again, in step S204, the data writing unit 13 accepts selection of project data used by the writing target device, that is, the first device 100, on the writing screen 300.
 再び図5を参照すると、作業者は、書込み画面300において、項目311で識別される装置つまり第1装置100に書き込むファイルを増減する場合には、項目311から図中下側に向かう方向に位置するチェックボックスにチェックを追加したり削除したりする。 Referring again to FIG. 5, when increasing or decreasing the file to be written to the device identified by the item 311, that is, the first device 100 on the writing screen 300, the worker positions the item 311 in the downward direction in the figure. Add or remove checks from the check boxes.
 なお、書込み画面300において、初期値として、組み合わせデータに基づいてチェックが表示され、書込み先の装置のPLCに書込むプロジェクトデータが選択された状態とされている。そのため、作業者は、装置又はプログラムに特段の変更がない限り、チェックを追加したり削除したりする必要は少ないと考えられる。 In the writing screen 300, as an initial value, a check is displayed based on the combination data, and the project data to be written to the PLC of the writing destination device is selected. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program.
 再び図4を参照すると、データ書込み部13は、ステップS206において、装置の指定及び書込みの実行指示が入力されたら、選択されたプロジェクトデータの指定された装置のPLCへの書込みを実行する。 Referring to FIG. 4 again, in step S206, the data writing unit 13 executes the writing of the selected project data to the PLC of the designated device when the designation of the device and the execution instruction of the writing are input.
 再び図5を参照すると、作業者が書込み画面300において、「実行」という文字列を有するボタン360をクリックすると、データ書込み部13は、チェックボックス351、352、353及び354内のチェックに基づいて、項目321で識別されるファイル、項目322で識別されるファイル、項目331で識別されるファイル及び項目341で識別されるファイルをプロジェクト20から読み出し、通信部15を介して、第1装置100の第1PLC101に書込む。 Referring again to FIG. 5, when the operator clicks the button 360 having the character string “execute” on the writing screen 300, the data writing unit 13 is based on the check in the check boxes 351, 352, 353, and 354. The file identified by the item 321, the file identified by the item 322, the file identified by the item 331, and the file identified by the item 341 are read from the project 20, and the first device 100 of the first device 100 is read via the communication unit 15. Write to the first PLC 101.
 なお、作業者は、第1PLC101への書込みを行わない場合には、「キャンセル」という文字列を有するボタン361をクリックする。この場合、データ書込み部13は、第1PLC101への書込みを実行しない。 Note that the operator clicks a button 361 having a character string “cancel” when not writing to the first PLC 101. In this case, the data writing unit 13 does not execute writing to the first PLC 101.
 以上説明したように、エンジニアリングツール10は、書込み画面300において、書込み先の装置のPLCに書込むプロジェクトデータを選択できるようにしたので、書込み先の装置のPLCで使用されるプロジェクトデータを容易且つ確実に書込み先の装置のPLCに書込むことができる。これにより、作業者の作業効率を向上させることができるとともに、プロジェクトデータの書込みミスを低減することができる。 As described above, since the engineering tool 10 can select the project data to be written in the PLC of the writing destination device on the writing screen 300, the project data used in the PLC of the writing destination device can be easily and It is possible to reliably write to the PLC of the writing destination device. As a result, the work efficiency of the operator can be improved, and mistakes in writing project data can be reduced.
 また、エンジニアリングツール10は、書込み画面300において、初期値として、組み合わせデータに基づいて書込み先の装置のPLCに書込むプロジェクトデータが選択された状態とする。そのため、作業者は、装置又はプログラムに特段の変更がない限り、チェックを追加したり削除したりする必要は少ないと考えられる。これにより、作業者の作業効率を向上させることができるとともに、プロジェクトデータの書込みミスを低減することができる。 In addition, the engineering tool 10 assumes that the project data to be written to the PLC of the writing destination apparatus is selected as the initial value on the writing screen 300 based on the combination data. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program. As a result, the work efficiency of the operator can be improved, and mistakes in writing project data can be reduced.
 図6は、本発明の実施の形態1にかかるエンジニアリングツールの、PLCに保持されているデータとプロジェクトデータとの照合処理を示すフローチャートである。まず、エンジニアリングツール10のデータ照合部14は、ステップS300において、ステップS104で作成された装置及びプロジェクトデータの一覧データと、ステップS106で作成された装置とプロジェクトデータとの組み合わせデータと、を取得する。 FIG. 6 is a flowchart showing a collation process between the data held in the PLC and the project data of the engineering tool according to the first embodiment of the present invention. First, in step S300, the data verification unit 14 of the engineering tool 10 acquires the device and project data list data created in step S104 and the combination data of the device and project data created in step S106. .
 次に、データ照合部14は、ステップS302において、照合画面を表示し、装置及びプロジェクトデータの一覧を表示する。 Next, in step S302, the data collation unit 14 displays a collation screen and displays a list of devices and project data.
 図7は、本発明の実施の形態1にかかるエンジニアリングツールの照合画面の一例を示す図である。照合画面400の図中上部において横方向に延在する領域410には、装置を識別する項目411、412、413及び414が表示されている。項目411は、2リットル容器に飲料を充填する装置つまり第1装置100を識別する「2l容器」の文字列を有する。項目412は、1.5リットル容器に飲料を充填する装置つまり第2装置110を識別する「1.5l容器」の文字列を有する。項目413は、500ミリリットル容器に飲料を充填する装置つまり第3装置120を識別する「500ml容器」の文字列を有する。項目414は、350ミリリットル容器に飲料を充填する装置を識別する「350ml容器」の文字列を有する。 FIG. 7 is a diagram showing an example of the verification screen of the engineering tool according to the first embodiment of the present invention. Items 410, 412, 413, and 414 for identifying the device are displayed in an area 410 extending in the horizontal direction in the upper part of the verification screen 400 in the drawing. The item 411 includes a character string “2l container” that identifies the device that fills the 2 liter container with the beverage, that is, the first device 100. Item 412 has a string of “1.5 liter container” that identifies the device that fills the 1.5 liter container with beverage, or second device 110. Item 413 has a string of “500 ml container” that identifies the device that fills the 500 milliliter container with the beverage, ie, the third device 120. Item 414 has the string “350 ml container” identifying the device that fills the 350 ml container with beverage.
 ここで、作業者が2リットル容器に飲料を充填する装置つまり第1装置100の第1PLC101に保持されているデータとプロジェクト20内のプロジェクトデータとを照合する場合について、説明する。 Here, a case where an operator collates data held in the first PLC 101 of the first device 100 with the device that fills the 2 liter container with beverage, that is, the project data in the project 20 will be described.
 項目411の左隣には、2リットル容器に飲料を充填する装置つまり第1装置100を照合対象とすることを選択するためのチェックボックス415が、表示されている。項目412の左隣には、1.5リットル容器に飲料を充填する装置つまり第2装置110を照合対象とすることを選択するためのチェックボックス416が、表示されている。項目413の左隣には、500ミリリットル容器に飲料を充填する装置つまり第3装置120を照合対象とすることを選択するためのチェックボックス417が、表示されている。項目414の左隣には、350ミリリットル容器に飲料を充填する装置を照合対象とすることを選択するためのチェックボックス418が、表示されている。ここでは、作業者は、チェックボックス415にチェックを入力するものとするが、チェックボックス415に加えて、チェックボックス416、417又は418にチェックを入力しても良い。 A check box 415 for selecting that a device for filling a beverage in a 2 liter container, that is, the first device 100, is displayed on the left side of the item 411 is displayed. On the left side of the item 412, a check box 416 for selecting a device for filling a 1.5 liter container with a beverage, that is, the second device 110, is displayed. On the left side of the item 413, a check box 417 for selecting a device for filling a beverage in a 500 ml container, that is, the third device 120, is displayed. On the left side of the item 414, there is displayed a check box 418 for selecting that a device for filling a beverage in a 350 ml container is to be checked. Here, the worker inputs a check into the check box 415. However, in addition to the check box 415, the operator may input a check into the check box 416, 417, or 418.
 また、照合画面400の図中左部において縦方向に延在する領域420には、プログラムファイルを識別する項目421、422、・・・が表示されている。項目421は、各装置で共通に実行されるプログラムファイルを識別する「共通ライン」の文字列を有する。項目422は、2リットル容器に飲料を充填する装置で実行されるプログラムファイルを識別する「PROG2000」の文字列を有する。 Further, items 421, 422,... For identifying program files are displayed in an area 420 extending in the vertical direction on the left side of the verification screen 400 in the drawing. The item 421 has a character string of “common line” that identifies a program file that is executed in common in each apparatus. Item 422 has a string of “PROG2000” that identifies the program file that is executed on the device that fills the 2 liter container with the beverage.
 また、照合画面400の領域420の下隣において縦方向に延在する領域430には、パラメータファイルを識別する項目431、・・・が表示されている。項目431は、2リットル容器に飲料を充填する装置で参照されるパラメータファイルを識別する「PARAM2000」の文字列を有する。 In addition, an area 430 extending in the vertical direction under the area 420 of the verification screen 400 displays items 431,... For identifying a parameter file. The item 431 has a character string “PARAM2000” that identifies a parameter file that is referred to by a device that fills a 2-liter container with a beverage.
 また、照合画面400の領域430の下隣において縦方向に延在する領域440には、デバイスメモリファイルを識別する項目441、・・・が表示されている。項目441は、2リットル容器に飲料を充填する装置のワークメモリ領域を規定するデバイスメモリファイルを識別する「DEVMEM2000」の文字列を有する。 Further, an area 440 extending in the vertical direction below the area 430 of the verification screen 400 displays items 441 for identifying the device memory file. Item 441 has the string “DEVMEM2000” identifying the device memory file that defines the work memory area of the device that fills the 2 liter container with beverage.
 また、照合画面400の項目411、412、413及び414から図中下側に向かう方向と、項目421、422、・・・、431、・・・、441、・・・から図中右側に向かう方向と、との交点には、チェックボックスがマトリクス状に表示されている。 Also, the direction from the items 411, 412, 413, and 414 on the verification screen 400 to the lower side in the figure, and the items 421, 422,..., 431,. Check boxes are displayed in a matrix at intersections of directions.
 なお、ここでは、チェックボックス416、417及び418にチェックが入力されていないので、項目412、413及び414から図中下側に向かう方向と、項目421、422、・・・、431、・・・、441、・・・から図中右側に向かう方向と、との交点に位置する複数のチェックボックス455は、薄く表示されており、チェックを入力できない状態にされている。 Here, since no check is input in the check boxes 416, 417, and 418, the direction from the items 412, 413, and 414 to the lower side in the figure, and the items 421, 422, ..., 431, ... A plurality of check boxes 455 located at the intersections of 441,..., And the direction toward the right side in the figure are displayed in a thin state, and the check cannot be input.
 なお、図7において、紙面の都合により、接続情報については照合画面400に表示されていないが、プログラム、パラメータ及びデバイスメモリと同様に表示するようにすれば良い。 In FIG. 7, the connection information is not displayed on the collation screen 400 due to space limitations, but may be displayed in the same manner as the program, parameter, and device memory.
 先に説明したプロジェクト作成処理(図2参照)のステップS106において、項目411で識別される装置つまり第1装置100は項目421で識別されるファイル、項目422で識別されるファイル、項目431で識別されるファイル及び項目441で識別されるファイルを使用することを表す組み合わせデータがパーソナルコンピュータ1の記録媒体に記録されている。 In step S106 of the project creation process described above (see FIG. 2), the device identified by the item 411, that is, the first device 100 is identified by the file identified by the item 421, the file identified by the item 422, and identified by the item 431. The combination data indicating that the file to be used and the file identified by the item 441 are used are recorded on the recording medium of the personal computer 1.
 そこで、データ照合部14は、組み合わせデータに基づいて、初期値として、項目411から図中下側に向かう方向と、項目421から図中右側に向かう方向と、との交点に表示されているチェックボックス451にチェックを表示し、項目421で識別されるファイルが選択されている状態とする。同様に、データ照合部14は、初期値として、項目411から図中下側に向かう方向と、項目422から図中右側に向かう方向と、との交点に表示されているチェックボックス452内にチェックを表示し、項目422で識別されるファイルが選択されている状態とする。 Therefore, based on the combination data, the data collation unit 14 checks the initial values displayed at the intersections of the direction from the item 411 to the lower side in the figure and the direction from the item 421 to the right side in the figure. A check is displayed in the box 451, and the file identified by the item 421 is selected. Similarly, the data collation unit 14 checks the check box 452 displayed at the intersection of the direction from the item 411 to the lower side in the figure and the direction from the item 422 to the right side in the figure as an initial value. And the file identified by the item 422 is selected.
 また、データ照合部14は、初期値として、項目411から図中下側に向かう方向と、項目431から図中右側に向かう方向と、との交点に表示されているチェックボックス453内にチェックを表示し、項目431で識別されるファイルが選択されている状態とする。 In addition, the data collation unit 14 checks the check box 453 displayed at the intersection of the direction from the item 411 toward the lower side in the figure and the direction from the item 431 to the right side in the figure as an initial value. A file that is displayed and identified by the item 431 is selected.
 また、データ照合部14は、初期値として、項目411から図中下側に向かう方向と、項目441から図中右側に向かう方向と、との交点に表示されているチェックボックス454内にチェックを表示し、項目441で識別されるファイルが選択されている状態とする。 In addition, as a default value, the data collation unit 14 checks the check box 454 displayed at the intersection of the direction from the item 411 to the lower side in the figure and the direction from the item 441 to the right side in the figure. A file that is displayed and identified by the item 441 is selected.
 なお、複数のチェックボックス455は、薄く表示されており、チェックを入力できない状態にされているが、組み合わせデータに基づいて、初期値として、項目412、413及び414から図中下側に向かう方向と、項目421、422、・・・から図中右側に向かう方向と、との交点に表示されているチェックボックスにチェックが薄く表示されている。これにより、作業者は、項目412、413及び414で識別される装置で使用される複数のプロジェクトデータを視認できる。 The plurality of check boxes 455 are displayed in a thin state so that a check cannot be input. However, based on the combination data, as an initial value, the direction from the items 412, 413, and 414 to the lower side in the figure. And the check box displayed at the intersection of the items 421, 422,... Thereby, the worker can visually recognize a plurality of project data used in the apparatus identified by the items 412, 413 and 414.
 再び図6を参照すると、データ照合部14は、ステップS304において、照合画面400上で、照合対象の装置つまり第1装置100の第1PLC101で保持されている照合対象のプロジェクトデータの選択を受け付ける。 Referring again to FIG. 6, in step S <b> 304, the data collation unit 14 accepts selection of collation target project data held in the collation target device, that is, the first PLC 101 of the first device 100 on the collation screen 400.
 再び図7を参照すると、作業者は、照合画面400において、項目411で識別される照合対象の装置つまり第1装置100の第1PLC101で保持されている照合対象のファイルを増減する場合には、項目411から図中下側に向かう方向に位置するチェックボックスにチェックを追加したり削除したりする。 Referring to FIG. 7 again, when the operator increases or decreases the verification target device identified by the item 411 on the verification screen 400, that is, the verification target file held by the first PLC 101 of the first device 100, A check is added to or deleted from a check box located in the direction from the item 411 toward the lower side in the figure.
 なお、照合画面400において、初期値として、組み合わせデータに基づいてチェックが表示され、照合対象の装置のPLCで保持されている照合対象のプロジェクトデータが選択された状態とされている。そのため、作業者は、装置又はプログラムに特段の変更がない限り、チェックを追加したり削除したりする必要は少ないと考えられる。 In the verification screen 400, a check is displayed as an initial value based on the combination data, and the verification target project data held in the PLC of the verification target device is selected. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program.
 再び図6を参照すると、データ照合部14は、ステップS306において、装置の指定及び照合の実行指示が入力されたら、指定された照合対象の装置のPLCからの照合対象のプロジェクトデータの読込みを実行する。 Referring to FIG. 6 again, in step S306, the data collating unit 14 reads the project data to be collated from the PLC of the designated collation target device when an instruction to specify the device and execution of collation are input. To do.
 再び図7を参照すると、作業者が照合画面400において、「実行」という文字列を有するボタン460をクリックすると、データ照合部14は、チェックボックス451、452、453及び454内のチェックに基づいて、項目421で識別されるファイル、項目422で識別されるファイル、項目431で識別されるファイル及び項目441で識別されるファイルを、通信部15を介して、照合対象の装置つまり第1装置100の第1PLC101から読み出す。 Referring again to FIG. 7, when the operator clicks the button 460 having the character string “execute” on the collation screen 400, the data collation unit 14 is based on the check in the check boxes 451, 452, 453, and 454. , The file identified by the item 421, the file identified by the item 422, the file identified by the item 431, and the file identified by the item 441 via the communication unit 15, the device to be verified, that is, the first device 100. Read from the first PLC 101.
 次に、データ照合部14は、ステップS308において、チェックボックス451、452、453及び454内のチェックに基づいて、項目421で識別されるファイル、項目422で識別されるファイル、項目431で識別されるファイル及び項目441で識別されるファイルをプロジェクト20から読み出す。そして、データ照合部14は、照合対象の装置つまり第1装置100の第1PLC101から読み出した照合対象のファイルとプロジェクト20から読み出したファイルと、を照合する。データ照合部14は、照合の結果、照合対象の装置つまり第1装置100の第1PLC101から読み出した照合対象のファイルとプロジェクト20から読み出したファイルとが一致していれば一致している旨を表示し、照合対象の装置つまり第1装置100の第1PLC101から読み出した照合対象のファイルとプロジェクト20から読み出したファイルとが一致していなければ一致していない旨を表示する。 Next, in step S308, the data matching unit 14 is identified by the file identified by the item 421, the file identified by the item 422, and the item 431 based on the checks in the check boxes 451, 452, 453, and 454. And the file identified by the item 441 are read from the project 20. Then, the data collating unit 14 collates the collation target file read from the collation target device, that is, the first PLC 101 of the first device 100, with the file read from the project 20. If the collation target file read from the first PLC 101 of the first device 100 matches the file read from the project 20 as a result of the collation, the data collation unit 14 displays a match. If the verification target file read from the first PLC 101 of the first device 100 and the file read from the project 20 do not match, a message indicating that they do not match is displayed.
 なお、作業者は、第1PLC101との照合を行わない場合には、「キャンセル」という文字列を有するボタン461をクリックする。この場合、データ照合部14は、第1PLC101からファイルの読み出し及び照合を実行しない。 Note that the worker clicks the button 461 having a character string “cancel” when the collation with the first PLC 101 is not performed. In this case, the data collation unit 14 does not read and collate files from the first PLC 101.
 以上説明したように、エンジニアリングツール10は、照合画面400において、照合対象の装置のPLCで保持されているプロジェクトデータを選択できるようにしたので、照合対象の装置のPLCで保持されているプロジェクトデータとプロジェクト20内のプロジェクトデータとを容易且つ確実に照合することができる。これにより、作業者の作業効率を向上させることができるとともに、プロジェクトデータの照合ミスを低減することができる。 As described above, the engineering tool 10 can select the project data held in the PLC of the verification target device on the verification screen 400, so the project data held in the PLC of the verification target device. And the project data in the project 20 can be easily and reliably collated. As a result, it is possible to improve the work efficiency of the operator and reduce project data collation errors.
 また、エンジニアリングツール10は、照合画面400において、初期値として、組み合わせデータに基づいて照合対象の装置のPLCで保持されている照合対象のプロジェクトデータが選択された状態とする。そのため、作業者は、装置又はプログラムに特段の変更がない限り、チェックを追加したり削除したりする必要は少ないと考えられる。これにより、作業者の作業効率を向上させることができるとともに、プロジェクトデータの照合ミスを低減することができる。 Further, the engineering tool 10 assumes that the verification target project data held in the PLC of the verification target device is selected as the initial value on the verification screen 400 based on the combination data. For this reason, it is considered that the operator need not add or delete the check unless there is a particular change in the apparatus or program. As a result, it is possible to improve the work efficiency of the operator and reduce project data collation errors.
 なお、本実施の形態1においては、プロジェクト20で管理される複数のプロジェクトデータつまりプログラム、パラメータ、デバイスメモリ及び接続情報の各々をファイルとしたが、これに限定されない。例えば、プロジェクトデータがプロジェクト20内に直接記述され、プロジェクト20全体が1つのファイルであることとしても良い。この場合、複数のプロジェクトデータの各々は、1つのファイルの一部分となる。 In the first embodiment, each of a plurality of project data managed by the project 20, that is, a program, a parameter, a device memory, and connection information is a file. However, the present invention is not limited to this. For example, the project data may be described directly in the project 20 and the entire project 20 may be a single file. In this case, each of the plurality of project data is a part of one file.
 以上説明したように、エンジニアリングツール10は、複数のPLCつまり第1PLC101、第2PLC111及び第3PLC121で使用される複数のプロジェクトデータを1つのプロジェクト20で管理することにより、プロジェクトデータの標準化、構造化、部品化及び再利用が容易になり、1つのプロジェクトデータを修正するだけで修正されたプロジェクトデータを使用する全てのPLCへの水平展開が容易になる。これにより、作業者のプロジェクトデータ作成の効率を向上させることができるとともに、ファイル修正作業のミスを低減することができる。 As described above, the engineering tool 10 manages a plurality of project data used in a plurality of PLCs, that is, the first PLC 101, the second PLC 111, and the third PLC 121 in one project 20, thereby standardizing and structuring the project data. Componentization and reuse are easy, and horizontal development to all PLCs using the modified project data is facilitated by modifying only one project data. As a result, the efficiency of the operator's project data creation can be improved, and mistakes in file correction work can be reduced.
 また、エンジニアリングツール10は、装置のPLCと、装置のPLCで使用されるプロジェクトデータと、の組み合わせデータを読み書きデータ管理部12にて管理することで、PLCへのプロジェクトデータ書込み及びプロジェクトデータ照合時に、対象の装置を指定するだけで、書込画面300において書込み対象が選択された状態になり、照合画面400において照合対象のプロジェクトデータが選択された状態になる。これにより、作業者の書込み対象及び照合対象のプロジェクトデータの選択が容易になるとともに、プロジェクトデータの選択ミスを低減することができる。 Further, the engineering tool 10 manages the combination data of the device PLC and the project data used in the device PLC by the read / write data management unit 12 so that the project data is written to the PLC and the project data is collated. By simply specifying the target device, the writing target is selected on the writing screen 300, and the verification target project data is selected on the verification screen 400. As a result, the operator can easily select project data to be written and collated, and can reduce project data selection errors.
 以上のように、本発明にかかるエンジニアリングツールプログラムは、複数のPLCを管理するのに適している。 As described above, the engineering tool program according to the present invention is suitable for managing a plurality of PLCs.
 1 パーソナルコンピュータ、10 エンジニアリングツール、11 プロジェクト管理部、12 読み書きデータ管理部、13 データ書込み部、14 データ照合部、15 通信部、20 プロジェクト、30 プログラム群、40 パラメータ群、50 デバイスメモリ群、60 接続情報群、70 第1装置向けデータ、80 第2装置向けデータ、90 第3装置向けデータ、100 第1装置、101 第1PLC、110 第2装置、111 第2PLC、120 第3装置、121 第3PLC。 1 personal computer, 10 engineering tool, 11 project management unit, 12 read / write data management unit, 13 data writing unit, 14 data verification unit, 15 communication unit, 20 project, 30 program group, 40 parameter group, 50 device memory group, 60 Connection information group, 70 1st device data, 80 2nd device data, 90 3rd device data, 100 1st device, 101 1st PLC, 110 2nd device, 111 2nd PLC, 120 3rd device, 121st 3PLC.

Claims (7)

  1.  複数のプログラマブルロジックコントローラと通信するエンジニアリングツールであって、
     前記複数のプログラマブルロジックコントローラで使用される複数のプロジェクトデータを有するプロジェクトを管理するプロジェクト管理部と、
     前記複数のプログラマブルロジックコントローラの各々と前記複数のプログラマブルロジックコントローラの各々で使用されるプロジェクトデータとの組み合わせを表す組み合わせデータを管理する読み書きデータ管理部と、
     前記組み合わせデータに基づいて、前記複数のプログラマブルロジックコントローラの各々で使用されるプロジェクトデータを前記複数のプログラマブルロジックコントローラの各々に送信する通信部と、
     を備えるエンジニアリングツール。
    An engineering tool that communicates with multiple programmable logic controllers,
    A project management unit for managing a project having a plurality of project data used in the plurality of programmable logic controllers;
    A read / write data management unit that manages combination data representing a combination of project data used in each of the plurality of programmable logic controllers and each of the plurality of programmable logic controllers;
    Based on the combination data, a communication unit that transmits project data used in each of the plurality of programmable logic controllers to each of the plurality of programmable logic controllers;
    Engineering tool with.
  2.  前記複数のプログラマブルロジックコントローラの中の何れかのプログラマブルロジックコントローラがユーザによって指定されたら、前記組み合わせデータに基づいて、前記プロジェクトで管理されている前記複数のプロジェクトデータの中から、指定されたプログラマブルロジックコントローラで使用される1つ又は複数のプロジェクトデータを選択し、選択した1つ又は複数のプロジェクトデータを前記通信部を介して指定されたプログラマブルロジックコントローラに送信するデータ書込み部を更に備える、請求項1に記載のエンジニアリングツール。 When any programmable logic controller of the plurality of programmable logic controllers is designated by the user, the designated programmable logic is selected from the plurality of project data managed in the project based on the combination data. The data writing part which selects one or a plurality of project data used with a controller, and transmits the selected one or a plurality of project data to the designated programmable logic controller via the communication part further comprises: The engineering tool according to 1.
  3.  前記データ書込み部は、前記複数のプログラマブルロジックコントローラをそれぞれ識別する複数の第1の項目を第1の方向に沿って有するとともに、前記複数のプロジェクトデータをそれぞれ識別する複数の第2の項目を前記第1の方向と交差する第2の方向に沿って有する書込み画面を表示し、前記組み合わせデータに基づいて、前記複数の第1の項目の中の前記指定されたプログラマブルロジックコントローラを識別する項目から前記第2の方向に沿った方向と、前記複数の第2の項目から前記第1の方向に沿った方向と、の複数の交点において、前記指定されたプログラマブルロジックコントローラで使用される1つ又は複数のプロジェクトデータの選択状態を示す選択画像を表示する、請求項2に記載のエンジニアリングツール。 The data writing unit has a plurality of first items that respectively identify the plurality of programmable logic controllers along a first direction, and a plurality of second items that respectively identify the plurality of project data. From an item that displays a writing screen having a second direction that intersects a first direction and that identifies the designated programmable logic controller in the plurality of first items based on the combination data One or more used in the designated programmable logic controller at a plurality of intersections between a direction along the second direction and a direction along the first direction from the plurality of second items; The engineering tool according to claim 2, wherein a selection image indicating a selection state of a plurality of project data is displayed.
  4.  前記データ書込み部は、前記書込み画面上で、前記複数の第1の項目の中の前記指定されたプログラマブルロジックコントローラを識別する項目から前記第2の方向に沿った方向と、前記複数の第2の項目から前記第1の方向に沿った方向と、の複数の交点において、前記指定されたプログラマブルロジックコントローラで使用される1つ又は複数のプロジェクトデータの選択状態を変更する入力を受け付ける、請求項3に記載のエンジニアリングツール。 The data writing unit has a direction along the second direction from an item for identifying the designated programmable logic controller in the plurality of first items on the writing screen, and the plurality of second items. Receiving an input for changing a selection state of one or a plurality of project data used by the designated programmable logic controller at a plurality of intersections with the direction along the first direction from the item 3. The engineering tool according to 3.
  5.  前記複数のプログラマブルロジックコントローラの中の何れかのプログラマブルロジックコントローラがユーザによって指定されたら、前記組み合わせデータに基づいて、指定されたプログラマブルロジックコントローラで保持されている1つ又は複数のプロジェクトデータを前記通信部を介して受信し、受信した1つ又は複数のプロジェクトデータと前記プロジェクトで管理されている前記複数のプロジェクトデータの中の前記組み合わせデータに基づいて選択される1つ又は複数のプロジェクトデータとを照合するデータ照合部を更に備える、請求項1に記載のエンジニアリングツール。 When any programmable logic controller of the plurality of programmable logic controllers is designated by a user, one or more project data held in the designated programmable logic controller is communicated based on the combination data. One or a plurality of project data received via a section and one or a plurality of project data selected based on the combination data among the plurality of project data managed in the project The engineering tool according to claim 1, further comprising a data matching unit for matching.
  6.  前記データ照合部は、前記複数のプログラマブルロジックコントローラをそれぞれ識別する複数の第1の項目を第1の方向に沿って有するとともに、前記複数のプロジェクトデータをそれぞれ識別する複数の第2の項目を前記第1の方向と交差する第2の方向に沿って有する照合画面を表示し、前記組み合わせデータに基づいて、前記複数の第1の項目の中の前記指定されたプログラマブルロジックコントローラを識別する項目から前記第2の方向に沿った方向と、前記複数の第2の項目から前記第1の方向に沿った方向と、の複数の交点において、前記指定されたプログラマブルロジックコントローラで保持されている1つ又は複数のプロジェクトデータの選択状態を示す選択画像を表示する、請求項5に記載のエンジニアリングツール。 The data collating unit has a plurality of first items that respectively identify the plurality of programmable logic controllers along a first direction, and a plurality of second items that respectively identify the plurality of project data. From the item which displays the collation screen which has along the 2nd direction which intersects the 1st direction, and identifies the specified programmable logic controller in the plurality of 1st items based on the combination data One held by the designated programmable logic controller at a plurality of intersections between the direction along the second direction and the direction along the first direction from the plurality of second items. The engineering tool according to claim 5, wherein a selection image indicating a selection state of a plurality of project data is displayed.
  7.  前記データ照合部は、前記照合画面上で、前記複数の第1の項目の中の前記指定されたプログラマブルロジックコントローラを識別する項目から前記第2の方向に沿った方向と、前記複数の第2の項目から前記第1の方向に沿った方向と、の複数の交点において、前記指定されたプログラマブルロジックコントローラで保持されている1つ又は複数のプロジェクトデータの選択状態を変更する入力を受け付ける、請求項6に記載のエンジニアリングツール。 The data collating unit includes a direction along the second direction from an item for identifying the designated programmable logic controller in the plurality of first items on the collation screen, and the plurality of second items. Receiving an input for changing a selection state of one or a plurality of project data held by the designated programmable logic controller at a plurality of intersections with the direction along the first direction from the item Item 7. The engineering tool according to Item 6.
PCT/JP2014/069693 2014-07-25 2014-07-25 Engineering tool WO2016013111A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015521177A JP5980422B2 (en) 2014-07-25 2014-07-25 Engineering tools
PCT/JP2014/069693 WO2016013111A1 (en) 2014-07-25 2014-07-25 Engineering tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/069693 WO2016013111A1 (en) 2014-07-25 2014-07-25 Engineering tool

Publications (1)

Publication Number Publication Date
WO2016013111A1 true WO2016013111A1 (en) 2016-01-28

Family

ID=55162663

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/069693 WO2016013111A1 (en) 2014-07-25 2014-07-25 Engineering tool

Country Status (2)

Country Link
JP (1) JP5980422B2 (en)
WO (1) WO2016013111A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325010A (en) * 2000-05-12 2001-11-22 Omron Corp Programmable controller system
JP2004139609A (en) * 2003-11-11 2004-05-13 Omron Corp Development support device
JP2007219843A (en) * 2006-02-16 2007-08-30 Mitsubishi Electric Corp Node management system and method, and program
JP2011034378A (en) * 2009-08-03 2011-02-17 Keyence Corp Program creation support device for programmable controller and hyperlink information management method in the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10326184A (en) * 1997-05-23 1998-12-08 Fuji Electric Co Ltd Interface method of programmable controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325010A (en) * 2000-05-12 2001-11-22 Omron Corp Programmable controller system
JP2004139609A (en) * 2003-11-11 2004-05-13 Omron Corp Development support device
JP2007219843A (en) * 2006-02-16 2007-08-30 Mitsubishi Electric Corp Node management system and method, and program
JP2011034378A (en) * 2009-08-03 2011-02-17 Keyence Corp Program creation support device for programmable controller and hyperlink information management method in the same

Also Published As

Publication number Publication date
JPWO2016013111A1 (en) 2017-04-27
JP5980422B2 (en) 2016-08-31

Similar Documents

Publication Publication Date Title
US20220156665A1 (en) Systems and methods for orchestrating agents
CN101981567B (en) User translated sites after provisioning
JP2015517142A (en) Autonomous mission planning and monitoring
JP2018010638A5 (en)
KR20170131551A (en) System design support device, system design support method, and system design support program
US8676359B2 (en) Field device management apparatus and computer program
CN111095195A (en) Controller, control method, and control program
US20160246279A1 (en) Sequence-program-creation supporting apparatus
CN105320010A (en) Unmanned plane flight control system supporting secondary exploitation
JP5980422B2 (en) Engineering tools
CN111095194A (en) Control system, controller and control method
JP4941574B2 (en) Register configurator and register configuration method
US10466674B2 (en) Programmable logic controller system, and engineering tool computer program product
US10054926B2 (en) Programmable controller and control method of programmable controller
JP2011186607A (en) Field device, setting method for the same, field device management method and program
US10108187B2 (en) Control device, control system, support device, and control-device maintenance management method
US20170212699A1 (en) Control device, control system, control method for control device, and control method for control system
US20160371624A1 (en) Quality Control Checklist Systems and Methods
JP2020088707A (en) Cloud bluetooth device control system
JPWO2005114344A1 (en) How to select engineering tool and engineering tool startup program and add new program
US10671037B2 (en) Machine maintenance using a machine controller and a service computer
JP6540061B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING PROGRAM
CN110576678B (en) Printing process management device and computer-readable medium
JP2013154787A (en) Vehicle operation plan making device
CN102098568B (en) Television data cloning method

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2015521177

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: 14898157

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: 14898157

Country of ref document: EP

Kind code of ref document: A1