WO2016110983A1 - System design assistance tool - Google Patents

System design assistance tool Download PDF

Info

Publication number
WO2016110983A1
WO2016110983A1 PCT/JP2015/050399 JP2015050399W WO2016110983A1 WO 2016110983 A1 WO2016110983 A1 WO 2016110983A1 JP 2015050399 W JP2015050399 W JP 2015050399W WO 2016110983 A1 WO2016110983 A1 WO 2016110983A1
Authority
WO
WIPO (PCT)
Prior art keywords
system label
design support
network range
unit
label list
Prior art date
Application number
PCT/JP2015/050399
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 KR1020177017704A priority Critical patent/KR101918430B1/en
Priority to PCT/JP2015/050399 priority patent/WO2016110983A1/en
Priority to CN201580067188.4A priority patent/CN107003649B/en
Priority to JP2016555854A priority patent/JP6076564B2/en
Publication of WO2016110983A1 publication Critical patent/WO2016110983A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23005Expert design system, uses modeling, simulation, to control design process

Definitions

  • the present invention relates to a system design support tool that supports system design of a plurality of control devices connected to a network.
  • control devices are used to control controlled devices.
  • the controlled device is exemplified by an industrial machine.
  • Examples of the control device include programmable controllers (JIS B 3502: 2011, programmable controllers (PLC)).
  • a control system configured by connecting a plurality of control devices over a network is used.
  • data is shared among a plurality of control devices by writing data in a shared memory area.
  • a peripheral device collects global label information including a label name, a memory area address in a programmable controller, and a size shared among a plurality of programmable controllers. Then, the peripheral device creates a network range assignment setting database including the address and size in the network shared memory area. Next, the peripheral device creates a refresh parameter setting file including a network shared memory address, a size, and a memory area address in the programmable controller, which are used for a refresh operation that is an exchange of data among a plurality of programmable controllers. That is, the peripheral device described in Patent Document 1 determines an address in the network shared memory area based on the global label information.
  • Patent Document 2 the label name, the device corresponding to the label, and the device type are input on the label editing screen (see FIG. 7 of Patent Document 2). Then, on the control program creation screen (see FIG. 8 of Patent Document 2), a list of labels is displayed beside the control program input field. As described in Patent Document 2, if the label name and the device corresponding to the label are input to the label editing screen, an editing error occurs when adding, deleting, or changing the device corresponding to the label name or label. May occur, and the control program may behave unexpectedly.
  • the system developer inputs a label name on the system label editor, and further selects a plurality of CPUs sharing the label on the system configuration editor.
  • the label management support apparatus creates a system label table in which the input label name is associated with a plurality of selected CPUs. As described in Patent Document 3, if a label name is input and a plurality of CPUs are selected, an edit error may occur when a label name or CPU is added, deleted, or changed. May behave unexpectedly.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a system design support tool capable of suppressing the possibility that a control program will perform an unexpected operation.
  • the present invention is set in a shared memory space for sharing data among the plurality of control devices in a control system in which the plurality of control devices are network-connected.
  • a system configuration diagram creation unit that creates a system configuration diagram including a station number that uniquely identifies each of the plurality of control devices, a control program for controlling the controlled device, and a runtime or compilation of the control program
  • a plurality of projects each having information that is sometimes referred to are referred to as the plurality of controls in the system configuration diagram.
  • Network range allocation information having items of a project allocation unit to be allocated to each device, the station number, and a start address and a final address of an area in the shared memory space where each of the plurality of control devices writes data
  • the network range allocation information creating unit for creating the identifier, the system configuration diagram, the network range allocation information and the plurality of projects are collated with the station number as a key, and the system is an identifier for uniquely identifying the link device
  • a system label creating unit that creates a system label list having a label and a device name item that uniquely identifies the link device.
  • the system design support tool according to the present invention has an effect that it is possible to suppress the possibility that the control program performs an unexpected operation.
  • FIG. 1 is a diagram illustrating a hardware configuration that implements a system design support tool according to a first embodiment; The figure which shows the structure of the control system using the system design support tool concerning Embodiment 1.
  • FIG. 1 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment.
  • FIG. The figure which shows the network range allocation information concerning Embodiment 1.
  • FIG. A flowchart showing a system label changing operation of the system design support tool according to the first embodiment.
  • FIG. 1 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment.
  • 1 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment.
  • the figure which shows the structure of the control system using the system design assistance apparatus concerning a comparative example The figure which shows the network range allocation information in the project concerning the comparative example
  • the figure which shows the system label information concerning a comparative example The figure which shows the system label list in the project concerning the comparative example
  • the figure which shows the system label list in the project concerning the comparative example The figure which shows the system label list in the project concerning the comparative example
  • the figure which shows the network range allocation information in the project concerning the comparative example The figure which shows the system label information concerning a comparative example
  • the figure which shows the system label list in the project concerning the comparative example The figure which shows the system label list in the project concerning the comparative example
  • the figure which shows the system label list in the project concerning the comparative example The figure which shows the system label list in the project concerning the comparative example
  • the figure which shows the system label list in the project concerning the comparative example The figure which shows the system label list in the project concerning the comparative example
  • FIG. 1 is a diagram illustrating a hardware configuration for realizing the system design support tool according to the first embodiment.
  • the system design support apparatus 5 that implements the system design support tool according to the first embodiment is a computer.
  • the system design support apparatus 5 includes a central processing unit (CPU) 601, a random access memory (RAM) 602, a read only memory (ROM) 603, a storage unit 604, an input unit 605, a display unit 606, and communication. And an interface 609.
  • the CPU 601 executes a program stored in the ROM 603 while using the RAM 602 as a work area.
  • the storage unit 604 stores data created by the CPU 601.
  • the input unit 605 receives input from the worker.
  • the display unit 606 displays characters and images.
  • the communication interface 609 performs communication with other devices.
  • FIG. 2 is a diagram showing a configuration of a control system using the system design support tool according to the first embodiment of the present invention.
  • the control system 1 is configured by connecting control devices 2, 3, and 4 and a system design support device 5 through a network N.
  • Each of the control devices 2, 3 and 4 controls the controlled device by executing a control program.
  • the control devices 2, 3 and 4 are exemplified by programmable controllers.
  • the controlled device is exemplified by an industrial machine.
  • Each of the control devices 2, 3 and 4 includes a CPU and a memory.
  • the memory is exemplified by a RAM. Part of the memory is used for the shared memory area, and the other part of the memory is used for the local memory area.
  • Each access unit in the shared memory area is called a link device. Data written to a certain link device in a certain control device is transferred to the link device having the same address in all other control devices. This realizes data sharing among all the control devices.
  • the link device is used to link data between a plurality of control programs that are a plurality of applications respectively executed by the control devices 2, 3, and 4.
  • each link device is described using a system label that is an identifier for uniquely identifying each link device, not an address. This facilitates creation of the control program and improves the readability of the control program. Then, when the control program is compiled and the object code is created, the system label is replaced with the address.
  • the control device 2 is set to “1” as a station number that uniquely identifies the control device 2.
  • the control device 2 is a management station that manages the control devices 3 and 4.
  • “2” is set as the station number that uniquely identifies the control device 3.
  • the control device 3 is a normal station managed by the control device 2.
  • “3” is set as a station number that uniquely identifies the control device 4.
  • the control device 4 is a normal station managed by the control device 2.
  • “1” is set in the network number that uniquely identifies the network N.
  • the system design support apparatus 5 is a plurality of identifiers used to describe a plurality of link devices set in a shared memory space for the control apparatuses 2, 3 and 4 to share data in the control program.
  • the system design support apparatus 5 is exemplified by a personal computer.
  • the system design support tool 6 is realized by the CPU 601 in the system design support apparatus 5 executing a system design support program.
  • the system design support tool 6 shows a network configuration of the control devices 2, 3, and 4, and creates a system configuration diagram creation unit that creates a system configuration diagram 30 including a station number that uniquely identifies each of the control devices 2, 3, and 4. 10 and a project creation unit 11 that creates projects 31a, 31b, and 31c having control programs for controlling controlled devices and information referred to when the control programs are executed or compiled.
  • Each of the projects 31a, 31b, and 31c includes a station number of the control device 2, 3 or 4 and execution data referred to when the object code of the control program is executed.
  • Information referred to at the time of execution or compilation of the control program includes parameters, device memory that defines a work memory area, and connection information that describes the connection between a plurality of terminals of the control devices 2, 3, and 4 and the industrial machine. Illustrated.
  • the system design support tool 6 includes the project allocation unit 12 that allocates the projects 31a, 31b, and 31c to the control devices in the system configuration diagram 30, the station number, and each of the plurality of control devices 2, 3, and 4.
  • a network range assignment information creating unit 13 for creating network range assignment information 32 having items of a head address and a final address of a link device, which are areas in the shared memory space in which data is written.
  • system design support tool 6 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b and 31c with the station number as a key, and a system label which is an identifier for uniquely identifying the link device, and
  • the system label list creating unit 14 creates a system label list 33 having a device name item for uniquely specifying a link device.
  • the system design support tool 6 follows the change of the network range assignment information duplication determination unit 15 for determining whether or not the address ranges of the plurality of records of the network range assignment information overlap, and the change in the system configuration diagram 30.
  • system design support tool 6 calculates a usable network range from the system labeling target selection unit 18 that accepts selection of a target area for creating a system label in the shared memory space from the user and the system configuration diagram 30.
  • a network range allocation calculation reflection unit 19 that reflects the network range allocation information 32.
  • the storage unit 604 includes a system configuration diagram 30 created by the system configuration diagram creation unit 10, projects 31 a, 31 b and 31 created by the project creation unit 11, and a network range created by the network range assignment information creation unit 13.
  • the allocation information 32 and the system label list 33 created by the system label list creation unit 14 are stored.
  • the storage unit 604 is exemplified by an HDD (Hard Disk Drive) or an SSD (Solid State Drive).
  • FIG. 3 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment.
  • the system configuration diagram creation unit 10 creates the system configuration diagram 30.
  • FIG. 4 is a diagram illustrating a system configuration diagram according to the first embodiment.
  • the system configuration diagram creation unit 10 arranges objects 30a, 30b, and 30c corresponding to the control devices 2, 3, and 4, respectively.
  • the object 30a corresponds to the control device 2, and the station number “1” is set.
  • the object 30b corresponds to the control device 3, and the station number “2” is set.
  • the object 30c corresponds to the control device 4, and the station number “3” is set.
  • the system configuration diagram creation unit 10 arranges an object 30d that connects the objects 30a, 30b, and 30c.
  • the object 30d corresponds to the network N, and the network number “1” is set.
  • the system configuration diagram creation unit 10 can automatically create the system configuration diagram 30 based on information describing the network configuration of the control system 1.
  • step S102 the project creation unit 11 creates the projects 31a, 31b and 31c of the control devices 2, 3 and 4, and the project allocation unit 12 creates the projects 31a, 31b and 31c. Allocation to the objects 30a, 30b and 30c is performed.
  • FIG. 5 is a diagram showing a system configuration diagram according to the first embodiment.
  • the project assignment unit 12 assigns the object 30e to the object 30a corresponding to the control device 2 based on the operation input of the operator.
  • the object 30e corresponds to the project 31a, and the project name “prj01” is set.
  • the project assignment unit 12 assigns the object 30f to the object 30b corresponding to the control device 3 based on the operation input of the operator.
  • the object 30f corresponds to the project 31b, and the project name “prj02” is set.
  • the project assignment unit 12 assigns the object 30g to the object 30c corresponding to the control device 4 based on the operation input of the operator.
  • the object 30g corresponds to the project 31c, and the project name “prj03” is set.
  • the network range allocation information creating unit 13 creates network range allocation information.
  • FIG. 6 is a diagram of the network range allocation information according to the first embodiment.
  • the network range allocation information 32 includes items of a station number and a head address and a last address of a link device that is an area in the shared memory space where each of the control devices 2, 3 and 4 writes data.
  • the worker inputs the station number, the head address of the link device, and the last address in each item of the network range assignment information 32.
  • the station number “1”, the head address “0x0000”, and the last address “0x000F” of the control device 2 are input to the first row 32a.
  • the station number “2”, the head address “0x0010”, and the last address “0x001F” of the control device 3 are input.
  • the station number “3”, the head address “0x0020”, and the last address “0x002F” of the control device 4 are input to the third row 32c.
  • the link device to which the control device 2 with the station number “1” writes data is 16 bytes from the head address “0x0000” to the last address “0x000F”.
  • the link device to which the control device 3 with the station number “2” writes data is 16 bytes from the head address “0x0010” to the last address “0x001F”.
  • the link device to which the control device 4 with the station number “3” writes data is 16 bytes from the head address “0x0020” to the last address “0x002F”.
  • the system label list creation unit 14 collates the system configuration diagram 30, the network range assignment information 32, and the projects 31a, 31b, and 31c with the station number as a key, thereby obtaining the system label.
  • a list 33 is created.
  • FIG. 7 is a diagram showing a system label list according to the first embodiment.
  • the system label list 33 includes items of a system label that is an identifier for uniquely identifying a link device, a CPU name built in the control apparatus, and a device name for uniquely identifying the link device.
  • the system label list 33 may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 33.
  • each of the plurality of rows 33a corresponds to each byte of the link device to which the control device 2 writes data.
  • the system label list creation unit 14 creates and arranges system labels, which are identifiers that uniquely identify each link device, in the system label item according to a predetermined generation rule.
  • a predetermined generation rule includes a character string “activation_”, a station number of a control device that writes data to the link device, a character string “switch of station”, and the control device. Is a rule for combining the serial number of the link device to which data is written.
  • the “start_1 station switch 1” generated by the system label list creation unit 14 is arranged in the item of the system label in the first row of the plurality of rows 33a. Further, in the item of the system label in the last line of the plurality of lines 33a, the “activation_1 station switch 16” generated by the system label list creation unit 14 is arranged.
  • system label list creation unit 14 arranges the CPU name “CPU01” built in the control device 2 in the item of CPU name in each of the plurality of rows 33a. Further, the system label list creation unit 14 arranges a device name for uniquely identifying each link device in the device name item in each of the plurality of rows 33a.
  • each of the plurality of rows 33b corresponds to each byte of the link device to which the control device 3 writes data.
  • the system label list creation unit 14 creates and arranges system labels, which are identifiers that uniquely specify each link device, in accordance with a predetermined generation rule.
  • system label list 33 in the item of the system label in the first row of the plurality of rows 33b, “switch 1 of startup_2 station” generated by the system label list creation unit 14 is arranged. In addition, in the item of the system label in the last row of the plurality of rows 33b, the “start_2 station switch 16” generated by the system label list creation unit 14 is arranged.
  • system label list creation unit 14 arranges the CPU name “CPU02” built in the control device 3 in the item of CPU name in each of the plurality of rows 33b. Further, the system label list creation unit 14 arranges a device name that uniquely identifies each link device in the item of device name in each of the plurality of rows 33b.
  • each of the plurality of rows 33c corresponds to each byte of the link device to which the control device 4 writes data.
  • the system label list creation unit 14 creates and arranges system labels, which are identifiers that uniquely identify each link device, in the system label item according to a predetermined generation rule.
  • start_3 station switch 1 generated by the system label list creation unit 14 is arranged in the system label item of the first row of the plurality of rows 33c.
  • start_3 station switch 16 generated by the system label list creation unit 14 is arranged.
  • system label list creation unit 14 arranges the CPU name “CPU03” built in the control device 4 in the item of CPU name in each of the plurality of rows 33c. Further, the system label list creation unit 14 arranges a device name that uniquely identifies each link device in the device name item in each of the plurality of rows 33c.
  • the system label list creation unit 14 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key, and the system A label list 33 can be created. Thereby, since it becomes unnecessary for an operator to input each item of the system label list 33, it is possible to prevent an input error from occurring in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • the system design support tool 6 preferably protects the system label list 33 so that the operator cannot change the system label list 33 with a spreadsheet program or a text editor. Thereby, since an operator cannot change each item of the system label list 33, it can suppress that a change mistake occurs in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • FIG. 8 is a flowchart showing the system label changing operation of the system design support tool according to the first embodiment.
  • the control device 4 with the station number “3” is replaced with a new control device with the station number “4” will be described as an example.
  • step S110 the system configuration diagram creation unit 10 changes the system configuration diagram 30.
  • the system configuration diagram creation unit 10 corresponds to the object 30c corresponding to the control device 4 with the station number “3” shown in FIG. 3 to the new control device with the station number “4”. To the object 30h to be replaced.
  • FIG. 9 is a diagram showing a system configuration diagram according to the first embodiment.
  • the object 30c corresponding to the control device 4 with the station number “3” is replaced with the object 30h corresponding to the new control device with the station number “4”.
  • the project allocation unit 12 changes the allocation of the project 31c to the object 30h.
  • FIG. 10 is a diagram showing a system configuration diagram according to the first embodiment.
  • the project assignment unit 12 assigns the object 30g to the object 30h corresponding to the new control device having the station number “4” based on the operation input of the operator.
  • the object 30g corresponds to the project 31c.
  • the network range allocation information creating unit 13 changes the network range allocation information.
  • FIG. 11 is a diagram of network range allocation information according to the first embodiment.
  • the operator inputs to change the station number in the third row 32c of the network range assignment information 32 from “3” to “4”.
  • the network range assignment information duplication determination unit 15 checks the duplication of the network range assignment information 32. Specifically, the network range assignment information duplication determination unit 15 checks whether there is no duplication in the address range of each row of the network range assignment information 32.
  • step S118 the first system label list changing unit 16 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key, whereby the system label list 33 Make changes.
  • FIG. 12 is a diagram showing a system label list according to the first embodiment.
  • a plurality of rows 33d are changed, and the other plurality of rows are not changed.
  • Each of the plurality of rows 33d of the system label list 33 corresponds to each byte of the link device to which the new control device having the station number “4” writes data.
  • the first system label list changing unit 16 creates a system label, which is an identifier for uniquely identifying each link device, in each of the plurality of rows 33d according to a predetermined generation rule, and arranges the system label. To do.
  • the first system label list changing unit 16 sets the CPU name “CPU04” incorporated in the new control device having the station number “4” in the item of CPU name in each of the plurality of rows 33d. Deploy.
  • the first system label list changing unit 16 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b and 31c with the station number as a key.
  • the system label list 33 can be changed. Thereby, since it becomes unnecessary for an operator to change each item of the system label list 33, it is possible to suppress occurrence of a change mistake in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • the system design support tool 6 preferably protects the system label list 33 so that the operator cannot change the system label list 33 with a spreadsheet program or a text editor. Thereby, since an operator cannot change each item of the system label list 33, it can suppress that a change mistake occurs in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • control device 4 having the station number “3” has been replaced with a new control device having the station number “4”.
  • the flowchart of FIG. 8 will be described by taking as an example the case where the number of link devices increases or decreases.
  • step S110 may be skipped.
  • step S112 the project allocation unit 12 does not change the allocation of the projects 31a, 31b, and 31c to the objects 30a, 30b, and 30c. If there is no change in the system configuration, step S112 may be skipped.
  • step S114 the network range allocation information creating unit 13 changes the network range allocation information.
  • FIG. 13 is a diagram of network range allocation information according to the first embodiment.
  • the worker inputs “0x0010” in the item of the last address in the first row 32a.
  • the link device to which the control device 2 with the station number “1” writes data is expanded to 17 bytes from the head address “0x0000” to the last address “0x0010”.
  • the operator inputs “0x0011” in the item of the top address of the second row 32b.
  • the worker inputs “0x001F” in the item of the final address in the second row 32b.
  • the worker inputs “0x0020” in the item of the top address of the third row 32c.
  • the worker inputs “0x002E” in the item of the final address in the third row 32c.
  • the second system label list changing unit 17 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key.
  • the system label list 33 is changed.
  • FIG. 14 is a diagram showing a system label list according to the first embodiment. As the link device of the control device 2 whose station number is “1” is expanded to 17 bytes, a line 33e is added to the system label list 33 shown in FIG.
  • the second system label list changing unit 17 may delete the row 33g.
  • the second system label list changing unit 17 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key.
  • the system label list 33 can be changed. Thereby, since it becomes unnecessary for an operator to change each item of the system label list 33, it is possible to suppress occurrence of a change mistake in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • the system design support tool 6 preferably protects the system label list 33 so that the operator cannot change the system label list 33 with a spreadsheet program or a text editor. Thereby, since an operator cannot change each item of the system label list 33, it can suppress that a change mistake occurs in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • system design support tool 6 allows the operator to select a system labeling target from all link devices.
  • FIG. 15 is a flowchart of the system label creation operation of the system design support tool according to the first embodiment.
  • steps S100, S102, S104, and S106 are the same as the flowchart shown in FIG.
  • step S105 is added after step S104 and before step S106.
  • step S105 the system labeling target selection unit 18 selects a system labeling target from all the link devices based on the operation input of the operator.
  • the operator can select a system labeling target by selecting a necessary address range from the address ranges described in the network range allocation information 32. Further, the operator can select a system labeling target by selecting a necessary object from the objects arranged in the system configuration diagram 30.
  • the system labeling target selection unit 18 can select a system labeling target from all link devices based on the operation input of the operator. Thereby, the system design support tool 6 can create the system label list 33 including only necessary link devices. Therefore, the system design support tool 6 can suppress the enlargement of the system label list 33 and can improve the readability of the system label list 33.
  • the system design support tool 6 can also calculate a network range, that is, an address range that can be used for the link device.
  • a device may be connected to the control system 1 via a network.
  • the other device is exemplified by a display device that can display various information of the control devices 2, 3, and 4.
  • the address used in the display device cannot be used as the address of the link device.
  • FIG. 16 is a flowchart of the system label creation operation of the system design support tool according to the first embodiment.
  • steps S100, S102, S104, and S106 are the same as the flowchart shown in FIG.
  • step S103 is added after step S102 and before step S104.
  • the network range allocation calculation reflection unit 19 calculates a network range that can be used for the link device, that is, an address range, based on the information describing the network configuration in the system configuration diagram 30, and reflects it in the network range allocation information 32. .
  • the worker can input items to the network range assignment information 32 in step S104 while referring to the address range reflected in the network range assignment information 32 in step S103.
  • the network range allocation calculation reflection unit 19 calculates the network range, that is, the address range that can be used for the link device, based on the information describing the network configuration in the system configuration diagram 30. And reflected in the network range allocation information 32.
  • the system design support tool 6 can suppress an address conflict between the link device and another device. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • FIG. 17 is a diagram illustrating a configuration of a control system using the system design support apparatus according to the comparative example.
  • the control system 51 is configured by connecting control devices 52, 53 and 54 and a system design support device 55 via a network N1.
  • Each of the control devices 52, 53 and 54 controls the controlled device by executing a control program.
  • the control device 52 is set to “1” as a station number that uniquely identifies the control device 52.
  • the control device 52 is a management station that manages the control devices 53 and 54.
  • “2” is set in the station number that uniquely identifies the control device 53.
  • the control device 53 is a normal station managed by the control device 52.
  • “3” is set as a station number that uniquely identifies the control device 54.
  • the control device 54 is a normal station managed by the control device 52.
  • In the network N1, “1” is set in the network number that uniquely identifies the network N1.
  • the system design support device 55 includes a programming tool unit 56, a spreadsheet unit 57, and a storage unit 58.
  • the programming tool unit 56 is realized by the CPU in the system design support device 55 executing the programming tool program.
  • the spreadsheet unit 57 is realized by the CPU in the system design support device 55 executing a spreadsheet program.
  • the storage unit 58 stores the projects 61, 62, and 63 created by the programming tool unit 56 and the system label information 70 created by the spreadsheet unit 57.
  • the programming tool unit 56 creates network range allocation information 61a in the project 61 allocated to the control device 52, which is a management station, based on the operator's input.
  • FIG. 18 is a diagram showing network range allocation information in the project according to the comparative example.
  • “prj01” is set as a project name for uniquely identifying the project 61.
  • the network range allocation information 61a includes items of a station number and a head address and a final address of a link device that is an area in the shared memory space where each of the control devices 52, 53, and 54 writes data.
  • the worker inputs the station number, the head address of the link device, and the last address in each item of the network range assignment information 61a.
  • the station number “1”, the head address “0x0000”, and the last address “0x000F” of the control device 52 are input to the first row 61a1.
  • the station number “2”, the head address “0x0010”, and the last address “0x001F” of the control device 53 are input.
  • the station number “3”, the head address “0x0020”, and the last address “0x002F” of the control device 54 are input to the third row 61a3.
  • the link device to which the control device 52 with the station number “1” writes data is 16 bytes from the head address “0x0000” to the last address “0x000F”.
  • the link device to which the control device 53 with the station number “2” writes data is 16 bytes from the head address “0x0010” to the last address “0x001F”.
  • the link device to which the control device 54 with the station number “3” writes data is 16 bytes from the head address “0x0020” to the last address “0x002F”.
  • the spreadsheet unit 57 creates system label information 70 based on the operator's input.
  • the worker creates the system label information 70 while referring to the network range assignment information 61 a created by the engineering tool unit 56.
  • FIG. 19 is a diagram showing system label information according to the comparative example.
  • the system label information 70 includes items of a system label that is an identifier for uniquely identifying the link device, a CPU name built in the control device, and a device name for uniquely identifying the link device.
  • the system label information 70 may additionally include the project name of the project, but the project name is not an essential item of the system label information 70.
  • each of the plurality of rows 70a corresponds to each byte of the link device to which the control device 52 writes data.
  • the worker inputs a system label, which is an identifier for uniquely identifying each link device, in the system label item.
  • the worker inputs the CPU name “CPU01” built in the control device 52 to the item of CPU name in each of the plurality of rows 70a.
  • the worker inputs a device name that uniquely identifies each link device in the device name item.
  • each of the plurality of rows 70b corresponds to each byte of the link device to which the control device 53 writes data.
  • the operator inputs a system label that is an identifier for uniquely identifying each link device in the item of system label.
  • the worker inputs the CPU name “CPU02” built in the control device 53 to the item of CPU name in each of the plurality of rows 70b.
  • the worker inputs a device name that uniquely identifies each link device in the device name item.
  • each of the plurality of rows 70c corresponds to each byte of the link device to which the control device 54 writes data.
  • the worker inputs a system label that is an identifier for uniquely specifying each link device in the item of system label.
  • the “start_3 station switch 1” is input by the operator to the system label item in the first row of the plurality of rows 70c.
  • the operator has input “Start_3 Station Switch 16”.
  • the worker inputs the CPU name “CPU03” built in the control device 54 to the item of CPU name in each of the plurality of rows 70c.
  • the worker inputs a device name that uniquely identifies each link device in the device name item.
  • the programming tool unit 56 creates system label lists 61b, 62b and 63b in the projects 61, 62 and 63 based on the input of the operator.
  • the worker creates the system label lists 61b, 62b, and 63b while referring to the system label information 70 created by the spreadsheet unit 57.
  • FIG. 20 is a diagram showing a system label list in the project according to the comparative example.
  • the system label list 61b has items of a system label, a CPU name, and a device name.
  • the system label list 61b may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 61b.
  • the worker inputs the value of each item in the system label list 61b while referring to the plurality of rows 70a in the system label information 70 created by the spreadsheet unit 57.
  • FIG. 21 is a diagram showing a system label list in the project according to the comparative example.
  • the system label list 62b has items of a system label, a CPU name, and a device name.
  • the system label list 62b may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 62b.
  • the worker inputs the value of each item in the system label list 62b while referring to the plurality of rows 70b in the system label information 70 created by the spreadsheet unit 57.
  • FIG. 22 is a diagram showing a system label list in the project according to the comparative example.
  • the system label list 63b has items of a system label, a CPU name, and a device name.
  • the system label list 63b may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 63b.
  • the worker inputs the value of each item in the system label list 63b while referring to the plurality of rows 70c in the system label information 70 created by the spreadsheet unit 57.
  • the worker inputs all items of the system label information 70 and the system label lists 61b, 62b, and 63b. Therefore, input mistakes are likely to occur in the system label information 70 and the system label lists 61b, 62b, and 63b. If there is an input error in the system label information 70 and the system label lists 61b, 62b, and 63b, the control program in the projects 61, 62, and 63 may perform an unexpected operation, and thus the controlled device may perform an unexpected operation. there were.
  • the programming tool unit 56 changes the network range allocation information 61a based on the operator's input.
  • FIG. 23 is a diagram showing network range allocation information in the project according to the comparative example.
  • the operator changes the final address of the first row 61a1 of the network range allocation information 61a from “0x000F” to “0x0010”. Therefore, the link device to which the control device 52 with the station number “1” writes data is 17 bytes from the head address “0x0000” to the last address “0x0010”.
  • the worker changes the head address of the second row 61a2 of the network range allocation information 61a from “0x0010” to “0x0011”. Accordingly, the link device to which the control device 53 with the station number “2” writes data is 15 bytes from the head address “0x0011” to the last address “0x001F”.
  • the worker changes the final address of the third row 61a3 of the network range allocation information 61a from “0x002F” to “0x002E”. Therefore, the link device to which the control device 54 with the station number “3” writes data is 15 bytes from the head address “0x0020” to the last address “0x002E”.
  • the spreadsheet unit 57 changes the system label information 70 based on the operator's input.
  • the worker changes the system label information 70 while referring to the network range assignment information 61 a changed by the engineering tool unit 56.
  • FIG. 24 is a diagram showing system label information according to the comparative example.
  • the operator adds a row 70d when the link device to which the control device 52 writes data is changed from 16 bytes to 17 bytes.
  • the operator inputs “switch 1 of startup_1 station”.
  • “CPU01” is input by the operator to the item of CPU name in the row 70d.
  • “J1 ⁇ B10” is input by the operator.
  • the operator adds a strike-through line to the row 70e when the link device to which the control device 53 writes data is changed from 16 bytes to 15 bytes.
  • the worker may delete the row 70e.
  • the operator adds a strikethrough to the row 70f when the link device to which the control device 54 writes data is changed from 16 bytes to 15 bytes.
  • the worker may delete the row 70f.
  • the programming tool unit 56 changes the system label lists 61b, 62b, and 63b in the projects 61, 62, and 63 based on the operator's input.
  • the worker changes the system label lists 61b, 62b, and 63b while referring to the system label information 70 created by the spreadsheet unit 57.
  • FIG. 25 is a diagram showing a system label list in the project according to the comparative example.
  • the worker adds a row 61b1 to the system label list 61b in accordance with the addition of the row 70d to the system label information 70 by the spreadsheet 57.
  • FIG. 26 is a diagram showing a system label list in the project according to the comparative example.
  • the worker adds a strike-through line to the row 62b1 of the system label list 62b when the strike-through line is added to the row 70e of the system label information 70 by the spreadsheet section 57.
  • the worker may delete the row 62b1.
  • FIG. 27 is a diagram showing a system label list in the project according to the comparative example.
  • the operator adds a strike-through line to the row 63b1 of the system label list 63b in accordance with the strike-through line being added to the row 70f of the system label information 70 by the spreadsheet 57. Note that the operator may delete the row 63b1.
  • the operator changed the system label information 70 and the system label lists 61b, 62b, and 63b. Therefore, it is easy for mistakes to occur in the system label information 70 and the system label lists 61b, 62b, and 63b. If there is a change mistake in the system label information 70 and the system label lists 61b, 62b, and 63b, the control program in the projects 61, 62, and 63 may perform an unexpected operation, and thus the controlled device may perform an unexpected operation. there were.
  • the system label list creating unit 14 compares the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key. Then, the system label list 33 can be created. Thereby, since it becomes unnecessary for an operator to input each item of the system label list 33, it is possible to prevent an input error from occurring in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • the first system label list changing unit 16 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key, and the system label The list 33 can be changed.
  • the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • the second system label list changing unit 17 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b and 31c with the station number as a key, and the system label The list 33 can be changed. Thereby, since it becomes unnecessary for an operator to change each item of the system label list 33, it is possible to suppress occurrence of a change mistake in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • the system labeling target selection unit 18 can select a system labeling target from all the link devices based on the operation input of the operator. Thereby, the system design support tool 6 can create the system label list 33 including only necessary link devices. Therefore, the system design support tool 6 can suppress the enlargement of the system label list 33 and can improve the readability of the system label list 33.
  • the network range allocation calculation reflection unit 19 calculates the network range, that is, the address range that can be used for the link device based on the information describing the network configuration in the system configuration diagram 30, and the network This is reflected in the range assignment information 32.
  • the system design support tool 6 can suppress an address conflict between the link device and another device. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

Abstract

Provided is a system design assistance tool which generates a system label list provided with a plurality of system labels which are identifiers used to describe within a control program each of a plurality of link devices which are set within a common memory space, said system design assistance tool comprising: a system diagram creating unit which creates a system diagram which signifies a network configuration of a plurality of control devices; a project allotment unit which allots within the system diagram a plurality of projects which respectively have a control program and information which is queried by the control program; a network range allotment information creating unit which creates network range allotment information which has items of a station number, and a header address and a terminal address of a region within the common memory space; and a system label creating unit which queries, with the station number as a key, the system diagram, the network range allotment information, and the plurality of projects, and creates a system label list which has items of system labels and device names.

Description

システム設計支援ツールSystem design support tool
 本発明は、ネットワーク接続された複数の制御装置のシステム設計を支援するシステム設計支援ツールに関する。 The present invention relates to a system design support tool that supports system design of a plurality of control devices connected to a network.
 従来、被制御装置を制御するために、制御装置が使用されている。被制御装置は、産業機械が例示される。制御装置は、プログラマブルコントローラ(JIS B 3502:2011、programmable controllers(PLC))が例示される。 Conventionally, control devices are used to control controlled devices. The controlled device is exemplified by an industrial machine. Examples of the control device include programmable controllers (JIS B 3502: 2011, programmable controllers (PLC)).
 また、複数の産業機械を制御するために、複数の制御装置をネットワーク接続して構成される制御システムが使用されている。このような制御システムでは、共有メモリ領域にデータを書き込むことで、複数の制御装置間でのデータの共有が行われている。 Also, in order to control a plurality of industrial machines, a control system configured by connecting a plurality of control devices over a network is used. In such a control system, data is shared among a plurality of control devices by writing data in a shared memory area.
特開2011-227556号公報JP 2011-227556 A 特開2012-108568号公報JP 2012-108568 A 特開2013-246569号公報JP 2013-246469 A
 関連する技術として、特許文献1では、周辺装置は、複数のプログラマブルコントローラ間で共有する、ラベル名称、プログラマブルコントローラ内メモリ領域アドレス及びサイズを含むグローバルラベル情報を収集する。そして、周辺装置は、ネットワーク共有メモリ領域でのアドレス及びサイズを含むネットワーク範囲割付設定データベースを作成する。次いで、周辺装置は、複数のプログラマブルコントローラ間でのデータの交換であるリフレッシュ動作に使用する、ネットワーク共有メモリアドレス、サイズ及びプログラマブルコントローラ内メモリ領域アドレスを含むリフレッシュパラメータ設定ファイルを作成する。つまり、特許文献1記載の周辺装置は、グローバルラベル情報に基づいて、ネットワーク共有メモリ領域でのアドレスを決定するものである。 As a related technique, in Patent Document 1, a peripheral device collects global label information including a label name, a memory area address in a programmable controller, and a size shared among a plurality of programmable controllers. Then, the peripheral device creates a network range assignment setting database including the address and size in the network shared memory area. Next, the peripheral device creates a refresh parameter setting file including a network shared memory address, a size, and a memory area address in the programmable controller, which are used for a refresh operation that is an exchange of data among a plurality of programmable controllers. That is, the peripheral device described in Patent Document 1 determines an address in the network shared memory area based on the global label information.
 また、特許文献2では、ラベル編集画面(特許文献2の図7参照)において、ラベルの名称、ラベルに対応するデバイス及びデバイスの種別が入力される。そして、制御プログラム作成画面(特許文献2の図8参照)において、制御プログラム入力欄の横にラベルの一覧が表示される。特許文献2記載のように、ラベルの名称及びラベルに対応するデバイスをラベル編集画面に入力することとしたのでは、ラベルの名称又はラベルに対応するデバイスを追加、削除又は変更する際に編集ミスが生じる可能性があり、制御プログラムが予期しない動作をしてしまう可能性がある。 In Patent Document 2, the label name, the device corresponding to the label, and the device type are input on the label editing screen (see FIG. 7 of Patent Document 2). Then, on the control program creation screen (see FIG. 8 of Patent Document 2), a list of labels is displayed beside the control program input field. As described in Patent Document 2, if the label name and the device corresponding to the label are input to the label editing screen, an editing error occurs when adding, deleting, or changing the device corresponding to the label name or label. May occur, and the control program may behave unexpectedly.
 また、特許文献3では、システム開発者が、システムラベルエディタ上でラベル名を入力し、更に、システム構成エディタ上でラベルを共有する複数のCPUを選択する。ラベル管理支援装置は、入力されたラベル名と、選択された複数のCPUと、を関連付けたシステムラベルテーブルを作成する。特許文献3記載のように、ラベル名を入力し及び複数のCPUを選択することとしたのでは、ラベル名又はCPUを追加、削除又は変更する際に編集ミスが生じる可能性があり、制御プログラムが予期しない動作をしてしまう可能性がある。 In Patent Document 3, the system developer inputs a label name on the system label editor, and further selects a plurality of CPUs sharing the label on the system configuration editor. The label management support apparatus creates a system label table in which the input label name is associated with a plurality of selected CPUs. As described in Patent Document 3, if a label name is input and a plurality of CPUs are selected, an edit error may occur when a label name or CPU is added, deleted, or changed. May behave unexpectedly.
 本発明は、上記に鑑みてなされたものであって、制御プログラムが予期しない動作をしてしまう可能性を抑制することができるシステム設計支援ツールを得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a system design support tool capable of suppressing the possibility that a control program will perform an unexpected operation.
 上述した課題を解決し、目的を達成するために、本発明は、複数の制御装置がネットワーク接続された制御システム内で前記複数の制御装置がデータを共有するための共有メモリ空間内に設定される複数のリンクデバイスを制御プログラム内で記述するために夫々使用される識別子である複数のシステムラベルを有するシステムラベルリストを生成するシステム設計支援ツールであって、前記複数の制御装置のネットワーク構成を示し、前記複数の制御装置の各々を一意に特定する局番号を含むシステム構成図を作成するシステム構成図作成部と、被制御装置を制御するための制御プログラム並びに前記制御プログラムの実行時又はコンパイル時に参照される情報を夫々有する複数のプロジェクトを、前記システム構成図内の前記複数の制御装置に夫々割り付けるプロジェクト割付部と、前記局番号と、前記複数の制御装置の各々がデータの書き込みを行う前記共有メモリ空間内の領域の先頭アドレス及び最終アドレスと、の項目を有するネットワーク範囲割付情報を作成するネットワーク範囲割付情報作成部と、前記システム構成図、前記ネットワーク範囲割付情報及び前記複数のプロジェクトを前記局番号をキーにして照合し、前記リンクデバイスを一意に特定する識別子である前記システムラベル及び前記リンクデバイスを一意に特定するデバイス名の項目を有するシステムラベルリストを作成するシステムラベル作成部と、を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention is set in a shared memory space for sharing data among the plurality of control devices in a control system in which the plurality of control devices are network-connected. A system design support tool for generating a system label list having a plurality of system labels, which are identifiers respectively used for describing a plurality of link devices in a control program, and comprising a network configuration of the plurality of control devices A system configuration diagram creation unit that creates a system configuration diagram including a station number that uniquely identifies each of the plurality of control devices, a control program for controlling the controlled device, and a runtime or compilation of the control program A plurality of projects each having information that is sometimes referred to are referred to as the plurality of controls in the system configuration diagram. Network range allocation information having items of a project allocation unit to be allocated to each device, the station number, and a start address and a final address of an area in the shared memory space where each of the plurality of control devices writes data The network range allocation information creating unit for creating the identifier, the system configuration diagram, the network range allocation information and the plurality of projects are collated with the station number as a key, and the system is an identifier for uniquely identifying the link device And a system label creating unit that creates a system label list having a label and a device name item that uniquely identifies the link device.
 本発明にかかるシステム設計支援ツールは、制御プログラムが予期しない動作をしてしまう可能性を抑制することができるという効果を奏する。 The system design support tool according to the present invention has an effect that it is possible to suppress the possibility that the control program performs an unexpected operation.
実施の形態1にかかるシステム設計支援ツールを実現するハードウェア構成を示す図1 is a diagram illustrating a hardware configuration that implements a system design support tool according to a first embodiment; 実施の形態1にかかるシステム設計支援ツールを用いた制御システムの構成を示す図The figure which shows the structure of the control system using the system design support tool concerning Embodiment 1. FIG. 実施の形態1にかかるシステム設計支援ツールのシステムラベル作成動作を示すフローチャート1 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment. 実施の形態1にかかるシステム構成図を示す図The figure which shows the system block diagram concerning Embodiment 1. FIG. 実施の形態1にかかるシステム構成図を示す図The figure which shows the system block diagram concerning Embodiment 1. FIG. 実施の形態1にかかるネットワーク範囲割付情報を示す図The figure which shows the network range allocation information concerning Embodiment 1. 実施の形態1にかかるシステムラベルリストを示す図The figure which shows the system label list concerning Embodiment 1. FIG. 実施の形態1にかかるシステム設計支援ツールのシステムラベル変更動作を示すフローチャートA flowchart showing a system label changing operation of the system design support tool according to the first embodiment. 実施の形態1にかかるシステム構成図を示す図The figure which shows the system block diagram concerning Embodiment 1. FIG. 実施の形態1にかかるシステム構成図を示す図The figure which shows the system block diagram concerning Embodiment 1. FIG. 実施の形態1にかかるネットワーク範囲割付情報を示す図The figure which shows the network range allocation information concerning Embodiment 1. 実施の形態1にかかるシステムラベルリストを示す図The figure which shows the system label list concerning Embodiment 1. FIG. 実施の形態1にかかるネットワーク範囲割付情報を示す図The figure which shows the network range allocation information concerning Embodiment 1. 実施の形態1にかかるシステムラベルリストを示す図The figure which shows the system label list concerning Embodiment 1. FIG. 実施の形態1にかかるシステム設計支援ツールのシステムラベル作成動作を示すフローチャート1 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment. 実施の形態1にかかるシステム設計支援ツールのシステムラベル作成動作を示すフローチャート1 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment. 比較例にかかるシステム設計支援装置を用いた制御システムの構成を示す図The figure which shows the structure of the control system using the system design assistance apparatus concerning a comparative example 比較例にかかるプロジェクト内のネットワーク範囲割付情報を示す図The figure which shows the network range allocation information in the project concerning the comparative example 比較例にかかるシステムラベル情報を示す図The figure which shows the system label information concerning a comparative example 比較例にかかるプロジェクト内のシステムラベルリストを示す図The figure which shows the system label list in the project concerning the comparative example 比較例にかかるプロジェクト内のシステムラベルリストを示す図The figure which shows the system label list in the project concerning the comparative example 比較例にかかるプロジェクト内のシステムラベルリストを示す図The figure which shows the system label list in the project concerning the comparative example 比較例にかかるプロジェクト内のネットワーク範囲割付情報を示す図The figure which shows the network range allocation information in the project concerning the comparative example 比較例にかかるシステムラベル情報を示す図The figure which shows the system label information concerning a comparative example 比較例にかかるプロジェクト内のシステムラベルリストを示す図The figure which shows the system label list in the project concerning the comparative example 比較例にかかるプロジェクト内のシステムラベルリストを示す図The figure which shows the system label list in the project concerning the comparative example 比較例にかかるプロジェクト内のシステムラベルリストを示す図The figure which shows the system label list in the project concerning the comparative example
 以下に、本発明の実施の形態にかかるシステム設計支援ツールを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a system design support tool according to an embodiment of the present invention will be described in detail based on the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
 図1は、実施の形態1にかかるシステム設計支援ツールを実現するハードウェア構成を示す図である。実施の形態1にかかるシステム設計支援ツールを実現するシステム設計支援装置5は、コンピュータである。システム設計支援装置5は、CPU(Central Processing Unit)601と、RAM(Random Access Memory)602と、ROM(Read Only Memory)603と、記憶部604と、入力部605と、表示部606と、通信インタフェース609と、を備える。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating a hardware configuration for realizing the system design support tool according to the first embodiment. The system design support apparatus 5 that implements the system design support tool according to the first embodiment is a computer. The system design support apparatus 5 includes a central processing unit (CPU) 601, a random access memory (RAM) 602, a read only memory (ROM) 603, a storage unit 604, an input unit 605, a display unit 606, and communication. And an interface 609.
 CPU601は、RAM602を作業領域として使用しながら、ROM603に記憶されているプログラムを実行する。記憶部604は、CPU601によって作成されたデータを記憶する。入力部605は、作業者からの入力を受け付ける。表示部606は、文字及び画像を表示する。通信インタフェース609は、他の装置との通信を行う。 The CPU 601 executes a program stored in the ROM 603 while using the RAM 602 as a work area. The storage unit 604 stores data created by the CPU 601. The input unit 605 receives input from the worker. The display unit 606 displays characters and images. The communication interface 609 performs communication with other devices.
 図2は、本発明の実施の形態1にかかるシステム設計支援ツールを用いた制御システムの構成を示す図である。 FIG. 2 is a diagram showing a configuration of a control system using the system design support tool according to the first embodiment of the present invention.
 制御システム1は、制御装置2、3及び4と、システム設計支援装置5と、がネットワークNによって接続されて構成されている。 The control system 1 is configured by connecting control devices 2, 3, and 4 and a system design support device 5 through a network N.
 制御装置2、3及び4の各々は、制御プログラムを実行することにより、被制御装置を制御する。制御装置2、3及び4は、プログラマブルコントローラが例示される。被制御装置は、産業機械が例示される。 Each of the control devices 2, 3 and 4 controls the controlled device by executing a control program. The control devices 2, 3 and 4 are exemplified by programmable controllers. The controlled device is exemplified by an industrial machine.
 制御装置2、3及び4の各々は、CPUと、メモリと、を含む。メモリは、RAMが例示される。メモリの一部は、共有メモリ領域に使用され、メモリの他の一部は、ローカルメモリ領域に使用される。共有メモリ領域内の各アクセス単位は、リンクデバイスと呼ばれる。ある制御装置があるリンクデバイスに書き込んだデータは、他の全ての制御装置の同一アドレスのリンクデバイスに転送される。これにより、全ての制御装置間でのデータ共有が実現される。リンクデバイスは、制御装置2、3及び4で夫々実行される複数のアプリケーションである複数の制御プログラム間でデータを連携させるために使用される。 Each of the control devices 2, 3 and 4 includes a CPU and a memory. The memory is exemplified by a RAM. Part of the memory is used for the shared memory area, and the other part of the memory is used for the local memory area. Each access unit in the shared memory area is called a link device. Data written to a certain link device in a certain control device is transferred to the link device having the same address in all other control devices. This realizes data sharing among all the control devices. The link device is used to link data between a plurality of control programs that are a plurality of applications respectively executed by the control devices 2, 3, and 4.
 制御プログラムが作成される際は、各リンクデバイスは、アドレスではなく、各リンクデバイスを一意に特定する識別子であるシステムラベルを用いて記述される。これにより、制御プログラムの作成の容易化が図られるとともに、制御プログラムの可読性が高められる。そして、制御プログラムがコンパイルされてオブジェクトコードが作成される際に、システムラベルがアドレスに置換される。 When a control program is created, each link device is described using a system label that is an identifier for uniquely identifying each link device, not an address. This facilitates creation of the control program and improves the readability of the control program. Then, when the control program is compiled and the object code is created, the system label is replaced with the address.
 制御装置2は、制御装置2を一意に特定する局番号に「1」が設定されている。制御装置2は、制御装置3及び4を管理する管理局である。制御装置3は、制御装置3を一意に特定する局番号に「2」が設定されている。制御装置3は、制御装置2によって管理される通常局である。制御装置4は、制御装置4を一意に特定する局番号に「3」が設定されている。制御装置4は、制御装置2によって管理される通常局である。ネットワークNは、ネットワークNを一意に特定するネットワーク番号に「1」が設定されている。 The control device 2 is set to “1” as a station number that uniquely identifies the control device 2. The control device 2 is a management station that manages the control devices 3 and 4. In the control device 3, “2” is set as the station number that uniquely identifies the control device 3. The control device 3 is a normal station managed by the control device 2. In the control device 4, “3” is set as a station number that uniquely identifies the control device 4. The control device 4 is a normal station managed by the control device 2. In the network N, “1” is set in the network number that uniquely identifies the network N.
 システム設計支援装置5は、制御装置2、3及び4がデータを共有するための共有メモリ空間内に設定される複数のリンクデバイスを制御プログラム内で記述するために夫々使用される識別子である複数のシステムラベルを有するシステムラベルリストを生成するシステム設計支援ツール6と、記憶部604と、を備える。システム設計支援装置5は、パーソナルコンピュータが例示される。 The system design support apparatus 5 is a plurality of identifiers used to describe a plurality of link devices set in a shared memory space for the control apparatuses 2, 3 and 4 to share data in the control program. A system design support tool 6 for generating a system label list having the system labels and a storage unit 604. The system design support apparatus 5 is exemplified by a personal computer.
 システム設計支援ツール6は、システム設計支援装置5内のCPU601がシステム設計支援プログラムを実行することにより、実現される。 The system design support tool 6 is realized by the CPU 601 in the system design support apparatus 5 executing a system design support program.
 システム設計支援ツール6は、制御装置2、3及び4のネットワーク構成を示し、制御装置2、3及び4の各々を一意に特定する局番号を含むシステム構成図30を作成するシステム構成図作成部10と、被制御装置を制御するための制御プログラム並びに制御プログラムの実行時又はコンパイル時に参照される情報を夫々有するプロジェクト31a、31b及び31cを作成するプロジェクト作成部11と、を備える。プロジェクト31a、31b及び31cの各々は、制御装置2、3又は4の局番号と、制御プログラムのオブジェクトコードが実行される際に参照される実行データと、を含む。 The system design support tool 6 shows a network configuration of the control devices 2, 3, and 4, and creates a system configuration diagram creation unit that creates a system configuration diagram 30 including a station number that uniquely identifies each of the control devices 2, 3, and 4. 10 and a project creation unit 11 that creates projects 31a, 31b, and 31c having control programs for controlling controlled devices and information referred to when the control programs are executed or compiled. Each of the projects 31a, 31b, and 31c includes a station number of the control device 2, 3 or 4 and execution data referred to when the object code of the control program is executed.
 制御プログラムの実行時又はコンパイル時に参照される情報は、パラメータ、ワークメモリ領域を規定するデバイスメモリ、並びに、制御装置2、3及び4の複数の端子と産業機械との接続を記述した接続情報が例示される。 Information referred to at the time of execution or compilation of the control program includes parameters, device memory that defines a work memory area, and connection information that describes the connection between a plurality of terminals of the control devices 2, 3, and 4 and the industrial machine. Illustrated.
 また、システム設計支援ツール6は、プロジェクト31a、31b及び31cを、システム構成図30内の制御装置に夫々割り付けるプロジェクト割付部12と、局番号と、複数の制御装置2、3及び4の各々がデータの書き込みを行う共有メモリ空間内の領域であるリンクデバイスの先頭アドレス及び最終アドレスと、の項目を有するネットワーク範囲割付情報32を作成するネットワーク範囲割付情報作成部13と、を備える。 In addition, the system design support tool 6 includes the project allocation unit 12 that allocates the projects 31a, 31b, and 31c to the control devices in the system configuration diagram 30, the station number, and each of the plurality of control devices 2, 3, and 4. A network range assignment information creating unit 13 for creating network range assignment information 32 having items of a head address and a final address of a link device, which are areas in the shared memory space in which data is written.
 また、システム設計支援ツール6は、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合し、リンクデバイスを一意に特定する識別子であるシステムラベル、及びリンクデバイスを一意に特定するデバイス名の項目を有するシステムラベルリスト33を作成するシステムラベルリスト作成部14を備える。 Further, the system design support tool 6 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b and 31c with the station number as a key, and a system label which is an identifier for uniquely identifying the link device, and The system label list creating unit 14 creates a system label list 33 having a device name item for uniquely specifying a link device.
 また、システム設計支援ツール6は、ネットワーク範囲割付情報の複数のレコードのアドレス範囲が重複するか否かを判定する、ネットワーク範囲割付情報重複判定部15と、システム構成図30の変更に追従して、システムラベルリスト33を変更する第1システムラベルリスト変更部16と、ネットワーク範囲割付情報の変更に追従して、システムラベルリスト33を変更する第2システムラベルリスト変更部17と、を備える。 Further, the system design support tool 6 follows the change of the network range assignment information duplication determination unit 15 for determining whether or not the address ranges of the plurality of records of the network range assignment information overlap, and the change in the system configuration diagram 30. The first system label list changing unit 16 that changes the system label list 33 and the second system label list changing unit 17 that changes the system label list 33 following the change of the network range allocation information.
 また、システム設計支援ツール6は、共有メモリ空間内のシステムラベルを作成する対象領域の選択をユーザから受け付けるシステムラベル化対象選択部18と、システム構成図30から、使用できるネットワーク範囲を算出し、ネットワーク範囲割付情報32に反映するネットワーク範囲割付算出反映部19と、を備える。 Further, the system design support tool 6 calculates a usable network range from the system labeling target selection unit 18 that accepts selection of a target area for creating a system label in the shared memory space from the user and the system configuration diagram 30. A network range allocation calculation reflection unit 19 that reflects the network range allocation information 32.
 記憶部604は、システム構成図作成部10によって作成されるシステム構成図30と、プロジェクト作成部11によって作成されるプロジェクト31a、31b及び31と、ネットワーク範囲割付情報作成部13によって作成されるネットワーク範囲割付情報32と、システムラベルリスト作成部14によって作成されるシステムラベルリスト33と、を記憶する。記憶部604は、HDD(Hard Disk Drive)又はSSD(Solid State Drive)が例示される。 The storage unit 604 includes a system configuration diagram 30 created by the system configuration diagram creation unit 10, projects 31 a, 31 b and 31 created by the project creation unit 11, and a network range created by the network range assignment information creation unit 13. The allocation information 32 and the system label list 33 created by the system label list creation unit 14 are stored. The storage unit 604 is exemplified by an HDD (Hard Disk Drive) or an SSD (Solid State Drive).
 図3は、実施の形態1にかかるシステム設計支援ツールのシステムラベル作成動作を示すフローチャートである。まず、ステップS100において、システム構成図作成部10が、システム構成図30の作成を行う。 FIG. 3 is a flowchart showing a system label creation operation of the system design support tool according to the first embodiment. First, in step S100, the system configuration diagram creation unit 10 creates the system configuration diagram 30.
 図4は、実施の形態1にかかるシステム構成図を示す図である。システム構成図30の作成に際しては、まず、システム構成図作成部10は、制御装置2、3及び4に夫々対応するオブジェクト30a、30b及び30cを配置する。オブジェクト30aは、制御装置2に対応しており、局番号「1」が設定される。オブジェクト30bは、制御装置3に対応しており、局番号「2」が設定される。オブジェクト30cは、制御装置4に対応しており、局番号「3」が設定される。次に、システム構成図作成部10は、オブジェクト30a、30b及び30cを接続するオブジェクト30dを配置する。オブジェクト30dは、ネットワークNに対応しており、ネットワーク番号「1」が設定される。 FIG. 4 is a diagram illustrating a system configuration diagram according to the first embodiment. In creating the system configuration diagram 30, first, the system configuration diagram creation unit 10 arranges objects 30a, 30b, and 30c corresponding to the control devices 2, 3, and 4, respectively. The object 30a corresponds to the control device 2, and the station number “1” is set. The object 30b corresponds to the control device 3, and the station number “2” is set. The object 30c corresponds to the control device 4, and the station number “3” is set. Next, the system configuration diagram creation unit 10 arranges an object 30d that connects the objects 30a, 30b, and 30c. The object 30d corresponds to the network N, and the network number “1” is set.
 システム構成図作成部10は、制御システム1のネットワーク構成を記述した情報に基づいて、システム構成図30を自動的に作成することが可能である。 The system configuration diagram creation unit 10 can automatically create the system configuration diagram 30 based on information describing the network configuration of the control system 1.
 再び図3を参照すると、ステップS102において、プロジェクト作成部11が、各制御装置2、3及び4のプロジェクト31a、31b及び31cの作成を行い、プロジェクト割付部12が、プロジェクト31a、31b及び31cのオブジェクト30a、30b及び30cへの割付を行う。 Referring to FIG. 3 again, in step S102, the project creation unit 11 creates the projects 31a, 31b and 31c of the control devices 2, 3 and 4, and the project allocation unit 12 creates the projects 31a, 31b and 31c. Allocation to the objects 30a, 30b and 30c is performed.
 図5は、実施の形態1にかかるシステム構成図を示す図である。プロジェクト割付部12は、作業者の操作入力に基づいて、制御装置2に対応するオブジェクト30aに、オブジェクト30eを割付ける。オブジェクト30eは、プロジェクト31aに対応しており、プロジェクト名「prj01」が設定される。プロジェクト割付部12は、作業者の操作入力に基づいて、制御装置3に対応するオブジェクト30bに、オブジェクト30fを割付ける。オブジェクト30fは、プロジェクト31bに対応しており、プロジェクト名「prj02」が設定される。プロジェクト割付部12は、作業者の操作入力に基づいて、制御装置4に対応するオブジェクト30cに、オブジェクト30gを割付ける。オブジェクト30gは、プロジェクト31cに対応しており、プロジェクト名「prj03」が設定される。 FIG. 5 is a diagram showing a system configuration diagram according to the first embodiment. The project assignment unit 12 assigns the object 30e to the object 30a corresponding to the control device 2 based on the operation input of the operator. The object 30e corresponds to the project 31a, and the project name “prj01” is set. The project assignment unit 12 assigns the object 30f to the object 30b corresponding to the control device 3 based on the operation input of the operator. The object 30f corresponds to the project 31b, and the project name “prj02” is set. The project assignment unit 12 assigns the object 30g to the object 30c corresponding to the control device 4 based on the operation input of the operator. The object 30g corresponds to the project 31c, and the project name “prj03” is set.
 再び図3を参照すると、ステップS104において、ネットワーク範囲割付情報作成部13が、ネットワーク範囲割付情報の作成を行う。 Referring to FIG. 3 again, in step S104, the network range allocation information creating unit 13 creates network range allocation information.
 図6は、実施の形態1にかかるネットワーク範囲割付情報を示す図である。ネットワーク範囲割付情報32は、局番号と、制御装置2、3及び4の各々がデータの書き込みを行う共有メモリ空間内の領域であるリンクデバイスの先頭アドレス及び最終アドレスと、の項目を有する。 FIG. 6 is a diagram of the network range allocation information according to the first embodiment. The network range allocation information 32 includes items of a station number and a head address and a last address of a link device that is an area in the shared memory space where each of the control devices 2, 3 and 4 writes data.
 作業者は、ネットワーク範囲割付情報32の各項目に、局番号と、リンクデバイスの先頭アドレスと、最終アドレスと、を入力する。ネットワーク範囲割付情報32において、第1行32aには、制御装置2の局番号「1」と、先頭アドレス「0x0000」と、最終アドレス「0x000F」と、が入力されている。また、第2行32bには、制御装置3の局番号「2」と、先頭アドレス「0x0010」と、最終アドレス「0x001F」と、が入力されている。また、第3行32cには、制御装置4の局番号「3」と、先頭アドレス「0x0020」と、最終アドレス「0x002F」と、が入力されている。 The worker inputs the station number, the head address of the link device, and the last address in each item of the network range assignment information 32. In the network range allocation information 32, the station number “1”, the head address “0x0000”, and the last address “0x000F” of the control device 2 are input to the first row 32a. In the second row 32b, the station number “2”, the head address “0x0010”, and the last address “0x001F” of the control device 3 are input. Further, the station number “3”, the head address “0x0020”, and the last address “0x002F” of the control device 4 are input to the third row 32c.
 従って、局番号「1」の制御装置2がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0000」から最終アドレス「0x000F」までの16バイトである。また、局番号「2」の制御装置3がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0010」から最終アドレス「0x001F」までの16バイトである。また、局番号「3」の制御装置4がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0020」から最終アドレス「0x002F」までの16バイトである。 Therefore, the link device to which the control device 2 with the station number “1” writes data is 16 bytes from the head address “0x0000” to the last address “0x000F”. The link device to which the control device 3 with the station number “2” writes data is 16 bytes from the head address “0x0010” to the last address “0x001F”. The link device to which the control device 4 with the station number “3” writes data is 16 bytes from the head address “0x0020” to the last address “0x002F”.
 再び図3を参照すると、ステップS106において、システムラベルリスト作成部14が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合することにより、システムラベルリスト33の作成を行う。 Referring to FIG. 3 again, in step S106, the system label list creation unit 14 collates the system configuration diagram 30, the network range assignment information 32, and the projects 31a, 31b, and 31c with the station number as a key, thereby obtaining the system label. A list 33 is created.
 図7は、実施の形態1にかかるシステムラベルリストを示す図である。システムラベルリスト33は、リンクデバイスを一意に特定する識別子であるシステムラベル、制御装置に内蔵されているCPU名及びリンクデバイスを一意に特定するデバイス名の項目を有する。なお、システムラベルリスト33は、補助的にプロジェクトのプロジェクト名を含んでも良いが、プロジェクト名は、システムラベルリスト33の必須項目ではない。 FIG. 7 is a diagram showing a system label list according to the first embodiment. The system label list 33 includes items of a system label that is an identifier for uniquely identifying a link device, a CPU name built in the control apparatus, and a device name for uniquely identifying the link device. The system label list 33 may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 33.
 システムラベルリスト33において、複数の行33aの各々は、制御装置2がデータの書き込みを行うリンクデバイスの各バイトに対応する。システムラベルリスト作成部14は、複数の行33aの各々において、システムラベルの項目には、各リンクデバイスを一意に特定する識別子であるシステムラベルを予め定められた生成規則に従って作成し、配置する。 In the system label list 33, each of the plurality of rows 33a corresponds to each byte of the link device to which the control device 2 writes data. In each of the plurality of rows 33a, the system label list creation unit 14 creates and arranges system labels, which are identifiers that uniquely identify each link device, in the system label item according to a predetermined generation rule.
 実施の形態1において、予め定められた生成規則は、“起動_”という文字列と、当該リンクデバイスにデータを書き込む制御装置の局番号と、“局のスイッチ”という文字列と、当該制御装置がデータを書き込むリンクデバイスの通し番号と、を結合する規則である。 In the first embodiment, a predetermined generation rule includes a character string “activation_”, a station number of a control device that writes data to the link device, a character string “switch of station”, and the control device. Is a rule for combining the serial number of the link device to which data is written.
 システムラベルリスト33において、複数の行33aの最初の行のシステムラベルの項目には、システムラベルリスト作成部14によって生成された「起動_1局のスイッチ1」が配置されている。また、複数の行33aの最後の行のシステムラベルの項目には、システムラベルリスト作成部14によって生成された「起動_1局のスイッチ16」が配置されている。 In the system label list 33, in the item of the system label in the first row of the plurality of rows 33a, the “start_1 station switch 1” generated by the system label list creation unit 14 is arranged. Further, in the item of the system label in the last line of the plurality of lines 33a, the “activation_1 station switch 16” generated by the system label list creation unit 14 is arranged.
 また、システムラベルリスト作成部14は、複数の行33aの各々において、CPU名の項目には、制御装置2に内蔵されているCPU名「CPU01」を配置する。また、システムラベルリスト作成部14は、複数の行33aの各々において、デバイス名の項目には、各リンクデバイスを一意に特定するデバイス名を配置する。 Further, the system label list creation unit 14 arranges the CPU name “CPU01” built in the control device 2 in the item of CPU name in each of the plurality of rows 33a. Further, the system label list creation unit 14 arranges a device name for uniquely identifying each link device in the device name item in each of the plurality of rows 33a.
 システムラベルリスト33において、複数の行33bの各々は、制御装置3がデータの書き込みを行うリンクデバイスの各バイトに対応する。システムラベルリスト作成部14は、複数の行33bの各々において、システムラベルの項目には、各リンクデバイスを一意に特定する識別子であるシステムラベルを予め定められた生成規則に従って作成し、配置する。 In the system label list 33, each of the plurality of rows 33b corresponds to each byte of the link device to which the control device 3 writes data. In each of the plurality of rows 33b, the system label list creation unit 14 creates and arranges system labels, which are identifiers that uniquely specify each link device, in accordance with a predetermined generation rule.
 システムラベルリスト33において、複数の行33bの最初の行のシステムラベルの項目には、システムラベルリスト作成部14によって生成された「起動_2局のスイッチ1」が配置されている。また、複数の行33bの最後の行のシステムラベルの項目には、システムラベルリスト作成部14によって生成された「起動_2局のスイッチ16」が配置されている。 In the system label list 33, in the item of the system label in the first row of the plurality of rows 33b, “switch 1 of startup_2 station” generated by the system label list creation unit 14 is arranged. In addition, in the item of the system label in the last row of the plurality of rows 33b, the “start_2 station switch 16” generated by the system label list creation unit 14 is arranged.
 また、システムラベルリスト作成部14は、複数の行33bの各々において、CPU名の項目には、制御装置3に内蔵されているCPU名「CPU02」を配置する。また、システムラベルリスト作成部14は、複数の行33bの各々において、デバイス名の項目には、各リンクデバイスを一意に特定するデバイス名を配置する。 Also, the system label list creation unit 14 arranges the CPU name “CPU02” built in the control device 3 in the item of CPU name in each of the plurality of rows 33b. Further, the system label list creation unit 14 arranges a device name that uniquely identifies each link device in the item of device name in each of the plurality of rows 33b.
 システムラベルリスト33において、複数の行33cの各々は、制御装置4がデータの書き込みを行うリンクデバイスの各バイトに対応する。システムラベルリスト作成部14は、複数の行33cの各々において、システムラベルの項目には、各リンクデバイスを一意に特定する識別子であるシステムラベルを予め定められた生成規則に従って作成し、配置する。 In the system label list 33, each of the plurality of rows 33c corresponds to each byte of the link device to which the control device 4 writes data. In each of the plurality of rows 33c, the system label list creation unit 14 creates and arranges system labels, which are identifiers that uniquely identify each link device, in the system label item according to a predetermined generation rule.
 システムラベルリスト33において、複数の行33cの最初の行のシステムラベルの項目には、システムラベルリスト作成部14によって生成された「起動_3局のスイッチ1」が配置されている。また、複数の行33cの最後の行のシステムラベルの項目には、システムラベルリスト作成部14によって生成された「起動_3局のスイッチ16」が配置されている。 In the system label list 33, “start_3 station switch 1” generated by the system label list creation unit 14 is arranged in the system label item of the first row of the plurality of rows 33c. In addition, in the item of the system label in the last row of the plurality of rows 33c, the “start_3 station switch 16” generated by the system label list creation unit 14 is arranged.
 また、システムラベルリスト作成部14は、複数の行33cの各々において、CPU名の項目には、制御装置4に内蔵されているCPU名「CPU03」を配置する。また、システムラベルリスト作成部14は、複数の行33cの各々において、デバイス名の項目には、各リンクデバイスを一意に特定するデバイス名を配置する。 Further, the system label list creation unit 14 arranges the CPU name “CPU03” built in the control device 4 in the item of CPU name in each of the plurality of rows 33c. Further, the system label list creation unit 14 arranges a device name that uniquely identifies each link device in the device name item in each of the plurality of rows 33c.
 上記したように、システム設計支援ツール6によれば、システムラベルリスト作成部14が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合し、システムラベルリスト33を作成することができる。これにより、作業者がシステムラベルリスト33の各項目を入力することが不要となるので、システムラベルリスト33に入力ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 As described above, according to the system design support tool 6, the system label list creation unit 14 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key, and the system A label list 33 can be created. Thereby, since it becomes unnecessary for an operator to input each item of the system label list 33, it is possible to prevent an input error from occurring in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 なお、システム設計支援ツール6は、作業者がシステムラベルリスト33を表計算プログラム又はテキストエディタで変更することができないように、システムラベルリスト33にプロテクトを掛けると好適である。これにより、作業者がシステムラベルリスト33の各項目を変更することができなくなるので、システムラベルリスト33に変更ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 The system design support tool 6 preferably protects the system label list 33 so that the operator cannot change the system label list 33 with a spreadsheet program or a text editor. Thereby, since an operator cannot change each item of the system label list 33, it can suppress that a change mistake occurs in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 図8は、実施の形態1にかかるシステム設計支援ツールのシステムラベル変更動作を示すフローチャートである。ここでは、局番号が「3」である制御装置4が、局番号が「4」である新たな制御装置にリプレースされた場合を例に取って説明する。 FIG. 8 is a flowchart showing the system label changing operation of the system design support tool according to the first embodiment. Here, a case where the control device 4 with the station number “3” is replaced with a new control device with the station number “4” will be described as an example.
 まず、ステップS110において、システム構成図作成部10が、システム構成図30の変更を行う。具体的には、システム構成図作成部10は、図3に示す、局番号が「3」である制御装置4に対応するオブジェクト30cを、局番号が「4」である新たな制御装置に対応するオブジェクト30hにリプレースする。 First, in step S110, the system configuration diagram creation unit 10 changes the system configuration diagram 30. Specifically, the system configuration diagram creation unit 10 corresponds to the object 30c corresponding to the control device 4 with the station number “3” shown in FIG. 3 to the new control device with the station number “4”. To the object 30h to be replaced.
 図9は、実施の形態1にかかるシステム構成図を示す図である。システム構成図30は、局番号が「3」である制御装置4に対応するオブジェクト30cを、局番号が「4」である新たな制御装置に対応するオブジェクト30hにリプレースしたものである。 FIG. 9 is a diagram showing a system configuration diagram according to the first embodiment. In the system configuration diagram 30, the object 30c corresponding to the control device 4 with the station number “3” is replaced with the object 30h corresponding to the new control device with the station number “4”.
 再び図8を参照すると、ステップS112において、プロジェクト割付部12が、プロジェクト31cのオブジェクト30hへの割付変更を行う。 Referring to FIG. 8 again, in step S112, the project allocation unit 12 changes the allocation of the project 31c to the object 30h.
 図10は、実施の形態1にかかるシステム構成図を示す図である。プロジェクト割付部12は、作業者の操作入力に基づいて、局番号が「4」である新たな制御装置に対応するオブジェクト30hに、オブジェクト30gを割付ける。オブジェクト30gは、プロジェクト31cに対応している。 FIG. 10 is a diagram showing a system configuration diagram according to the first embodiment. The project assignment unit 12 assigns the object 30g to the object 30h corresponding to the new control device having the station number “4” based on the operation input of the operator. The object 30g corresponds to the project 31c.
 再び図8を参照すると、ステップS114において、ネットワーク範囲割付情報作成部13が、ネットワーク範囲割付情報の変更を行う。 Referring to FIG. 8 again, in step S114, the network range allocation information creating unit 13 changes the network range allocation information.
 図11は、実施の形態1にかかるネットワーク範囲割付情報を示す図である。作業者は、ネットワーク範囲割付情報32の第3行32cの局番号を「3」から「4」に変更する入力を行う。 FIG. 11 is a diagram of network range allocation information according to the first embodiment. The operator inputs to change the station number in the third row 32c of the network range assignment information 32 from “3” to “4”.
 再び図8を参照すると、ステップS116において、ネットワーク範囲割付情報重複判定部15が、ネットワーク範囲割付情報32の重複チェックを行う。具体的には、ネットワーク範囲割付情報重複判定部15は、ネットワーク範囲割付情報32の各行のアドレス範囲に重複がないかのチェックを行う。 Referring to FIG. 8 again, in step S116, the network range assignment information duplication determination unit 15 checks the duplication of the network range assignment information 32. Specifically, the network range assignment information duplication determination unit 15 checks whether there is no duplication in the address range of each row of the network range assignment information 32.
 次に、ステップS118において、第1システムラベルリスト変更部16が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合することにより、システムラベルリスト33の変更を行う。 Next, in step S118, the first system label list changing unit 16 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key, whereby the system label list 33 Make changes.
 図12は、実施の形態1にかかるシステムラベルリストを示す図である。図11に示すシステムラベルリスト33において、複数の行33dが変更されており、他の複数の行は変更されていない。 FIG. 12 is a diagram showing a system label list according to the first embodiment. In the system label list 33 shown in FIG. 11, a plurality of rows 33d are changed, and the other plurality of rows are not changed.
 システムラベルリスト33の複数の行33dの各々は、局番号が「4」である新たな制御装置がデータの書き込みを行うリンクデバイスの各バイトに対応する。第1システムラベルリスト変更部16は、複数の行33dの各々において、システムラベルの項目には、各リンクデバイスを一意に特定する識別子であるシステムラベルを予め定められた生成規則に従って作成し、配置する。 Each of the plurality of rows 33d of the system label list 33 corresponds to each byte of the link device to which the new control device having the station number “4” writes data. The first system label list changing unit 16 creates a system label, which is an identifier for uniquely identifying each link device, in each of the plurality of rows 33d according to a predetermined generation rule, and arranges the system label. To do.
 システムラベルリスト33において、複数の行33dの最初の行のシステムラベルの項目には、第1システムラベルリスト変更部16によって生成された「起動_4局のスイッチ1」が配置されている。また、複数の行33dの最後の行のシステムラベルの項目には、第1システムラベルリスト変更部16によって生成された「起動_4局のスイッチ16」が配置されている。 In the system label list 33, in the item of the system label in the first row of the plurality of rows 33d, “start_4 station switch 1” generated by the first system label list changing unit 16 is arranged. In addition, in the item of the system label in the last row of the plurality of rows 33d, “activation_4 station switch 16” generated by the first system label list changing unit 16 is arranged.
 また、第1システムラベルリスト変更部16は、複数の行33dの各々において、CPU名の項目には、局番号が「4」である新たな制御装置に内蔵されているCPU名「CPU04」を配置する。 Further, the first system label list changing unit 16 sets the CPU name “CPU04” incorporated in the new control device having the station number “4” in the item of CPU name in each of the plurality of rows 33d. Deploy.
 上記したように、システム設計支援ツール6によれば、第1システムラベルリスト変更部16が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合し、システムラベルリスト33を変更することができる。これにより、作業者がシステムラベルリスト33の各項目を変更することが不要となるので、システムラベルリスト33に変更ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 As described above, according to the system design support tool 6, the first system label list changing unit 16 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b and 31c with the station number as a key. The system label list 33 can be changed. Thereby, since it becomes unnecessary for an operator to change each item of the system label list 33, it is possible to suppress occurrence of a change mistake in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 なお、システム設計支援ツール6は、作業者がシステムラベルリスト33を表計算プログラム又はテキストエディタで変更することができないように、システムラベルリスト33にプロテクトを掛けると好適である。これにより、作業者がシステムラベルリスト33の各項目を変更することができなくなるので、システムラベルリスト33に変更ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 The system design support tool 6 preferably protects the system label list 33 so that the operator cannot change the system label list 33 with a spreadsheet program or a text editor. Thereby, since an operator cannot change each item of the system label list 33, it can suppress that a change mistake occurs in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 上記では、局番号が「3」である制御装置4が、局番号が「4」である新たな制御装置にリプレースされた場合を例に取って図8のフローチャートを説明したが、次に、リンクデバイスが増減した場合を例に取って図8のフローチャートを説明する。 In the above description, the control device 4 having the station number “3” has been replaced with a new control device having the station number “4”. The flowchart of FIG. 8 will be described by taking as an example the case where the number of link devices increases or decreases.
 リンクデバイスが増減した場合は、システム構成に変更がないので、ステップS110において、システム構成図作成部10は、システム構成図30の変更を行わない。なお、システム構成に変更がない場合は、ステップS110をスキップしても良い。 When the number of link devices increases or decreases, the system configuration is not changed, and therefore the system configuration diagram creation unit 10 does not change the system configuration diagram 30 in step S110. If there is no change in the system configuration, step S110 may be skipped.
 リンクデバイスが増減した場合は、システム構成に変更がないので、ステップS112において、プロジェクト割付部12は、プロジェクト31a、31b及び31cのオブジェクト30a、30b及び30cへの割付変更を行わない。なお、システム構成に変更がない場合は、ステップS112をスキップしても良い。 When the number of link devices is increased or decreased, the system configuration is not changed. Therefore, in step S112, the project allocation unit 12 does not change the allocation of the projects 31a, 31b, and 31c to the objects 30a, 30b, and 30c. If there is no change in the system configuration, step S112 may be skipped.
 次に、ステップS114において、ネットワーク範囲割付情報作成部13が、ネットワーク範囲割付情報の変更を行う。 Next, in step S114, the network range allocation information creating unit 13 changes the network range allocation information.
 図13は、実施の形態1にかかるネットワーク範囲割付情報を示す図である。作業者は、ネットワーク範囲割付情報32において、第1行32aの最終アドレスの項目に、「0x0010」を入力する。これにより、局番号「1」の制御装置2がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0000」から最終アドレス「0x0010」までの17バイトに拡大される。 FIG. 13 is a diagram of network range allocation information according to the first embodiment. In the network range assignment information 32, the worker inputs “0x0010” in the item of the last address in the first row 32a. As a result, the link device to which the control device 2 with the station number “1” writes data is expanded to 17 bytes from the head address “0x0000” to the last address “0x0010”.
 また、作業者は、ネットワーク範囲割付情報32において、第2行32bの先頭アドレスの項目に、「0x0011」を入力する。また、作業者は、ネットワーク範囲割付情報32において、第2行32bの最終アドレスの項目に、「0x001F」を入力する。これにより、局番号「2」の制御装置3がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0011」から最終アドレス「0x001F」までの15バイトに縮小される。 In addition, in the network range assignment information 32, the operator inputs “0x0011” in the item of the top address of the second row 32b. In addition, in the network range allocation information 32, the worker inputs “0x001F” in the item of the final address in the second row 32b. As a result, the link device to which the control device 3 with the station number “2” writes data is reduced to 15 bytes from the head address “0x0011” to the last address “0x001F”.
 また、作業者は、ネットワーク範囲割付情報32において、第3行32cの先頭アドレスの項目に、「0x0020」を入力する。また、作業者は、ネットワーク範囲割付情報32において、第3行32cの最終アドレスの項目に、「0x002E」を入力する。これにより、局番号「3」の制御装置4がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0020」から最終アドレス「0x002E」までの15バイトに縮小される。 In addition, in the network range assignment information 32, the worker inputs “0x0020” in the item of the top address of the third row 32c. In addition, in the network range allocation information 32, the worker inputs “0x002E” in the item of the final address in the third row 32c. As a result, the link device to which the control device 4 with the station number “3” writes data is reduced to 15 bytes from the head address “0x0020” to the last address “0x002E”.
 再び図8を参照すると、ステップS118において、第2システムラベルリスト変更部17が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合することにより、システムラベルリスト33の変更を行う。 Referring to FIG. 8 again, in step S118, the second system label list changing unit 17 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key. The system label list 33 is changed.
 図14は、実施の形態1にかかるシステムラベルリストを示す図である。局番号が「1」の制御装置2のリンクデバイスが17バイトに拡大されたことに伴い、図14に示すシステムラベルリスト33において、行33eが追加されている。 FIG. 14 is a diagram showing a system label list according to the first embodiment. As the link device of the control device 2 whose station number is “1” is expanded to 17 bytes, a line 33e is added to the system label list 33 shown in FIG.
 また、局番号が「2」の制御装置3のリンクデバイスが15バイトに縮小されたことに伴い、図13に示すシステムラベルリスト33において、行33fに取消線が付加されている。なお、第2システムラベルリスト変更部17は、行33fを削除しても良い。 Further, as the link device of the control device 3 with the station number “2” is reduced to 15 bytes, a strikethrough is added to the row 33f in the system label list 33 shown in FIG. Note that the second system label list changing unit 17 may delete the row 33f.
 また、局番号が「3」の制御装置4のリンクデバイスが15バイトに縮小されたことに伴い、図14に示すシステムラベルリスト33において、行33gに取消線が付加されている。なお、第2システムラベルリスト変更部17は、行33gを削除しても良い。 Further, as the link device of the control device 4 with the station number “3” is reduced to 15 bytes, a strikethrough is added to the row 33g in the system label list 33 shown in FIG. The second system label list changing unit 17 may delete the row 33g.
 上記したように、システム設計支援ツール6によれば、第2システムラベルリスト変更部17が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合し、システムラベルリスト33を変更することができる。これにより、作業者がシステムラベルリスト33の各項目を変更することが不要となるので、システムラベルリスト33に変更ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 As described above, according to the system design support tool 6, the second system label list changing unit 17 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key. The system label list 33 can be changed. Thereby, since it becomes unnecessary for an operator to change each item of the system label list 33, it is possible to suppress occurrence of a change mistake in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 なお、システム設計支援ツール6は、作業者がシステムラベルリスト33を表計算プログラム又はテキストエディタで変更することができないように、システムラベルリスト33にプロテクトを掛けると好適である。これにより、作業者がシステムラベルリスト33の各項目を変更することができなくなるので、システムラベルリスト33に変更ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 The system design support tool 6 preferably protects the system label list 33 so that the operator cannot change the system label list 33 with a spreadsheet program or a text editor. Thereby, since an operator cannot change each item of the system label list 33, it can suppress that a change mistake occurs in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 また、システム設計支援ツール6は、作業者が、全てのリンクデバイスの中からシステムラベル化対象を選択することもできる。 Also, the system design support tool 6 allows the operator to select a system labeling target from all link devices.
 図15は、実施の形態1にかかるシステム設計支援ツールのシステムラベル作成動作を示すフローチャートである。図15のフローチャートにおいて、ステップS100、S102、S104及びS106は、図3に示したフローチャートと同様であるので、説明を省く。 FIG. 15 is a flowchart of the system label creation operation of the system design support tool according to the first embodiment. In the flowchart of FIG. 15, steps S100, S102, S104, and S106 are the same as the flowchart shown in FIG.
 図15のフローチャートにおいて、ステップS104の後且つステップS106の前に、ステップS105が追加されている。 15, step S105 is added after step S104 and before step S106.
 ステップS105において、システムラベル化対象選択部18は、作業者の操作入力に基づいて、全てのリンクデバイスの中からシステムラベル化対象を選択する。作業者は、ネットワーク範囲割付情報32に記述されたアドレス範囲の中から必要なアドレス範囲を選択することで、システムラベル化対象を選択することができる。また、作業者は、システム構成図30に配置されたオブジェクトの中から必要なオブジェクトを選択することで、システムラベル化対象を選択することができる。 In step S105, the system labeling target selection unit 18 selects a system labeling target from all the link devices based on the operation input of the operator. The operator can select a system labeling target by selecting a necessary address range from the address ranges described in the network range allocation information 32. Further, the operator can select a system labeling target by selecting a necessary object from the objects arranged in the system configuration diagram 30.
 上記したように、システム設計支援ツール6によれば、システムラベル化対象選択部18が、作業者の操作入力に基づいて、全てのリンクデバイスの中からシステムラベル化対象を選択することができる。これにより、システム設計支援ツール6は、必要なリンクデバイスだけを含むシステムラベルリスト33を作成することができる。従って、システム設計支援ツール6は、システムラベルリスト33の肥大化を抑制することができ、システムラベルリスト33の可読性を高めることができる。 As described above, according to the system design support tool 6, the system labeling target selection unit 18 can select a system labeling target from all link devices based on the operation input of the operator. Thereby, the system design support tool 6 can create the system label list 33 including only necessary link devices. Therefore, the system design support tool 6 can suppress the enlargement of the system label list 33 and can improve the readability of the system label list 33.
 また、システム設計支援ツール6は、リンクデバイスに使用できるネットワーク範囲つまりアドレス範囲を算出することもできる。例えば、制御システム1には、制御装置2、3及び4の他に装置がネットワーク接続される場合がある。他の装置は、制御装置2、3及び4の種々の情報を表示できる表示装置が例示される。他の装置がネットワーク接続される場合、表示装置で使用されるアドレスは、リンクデバイスのアドレスに使用することができない。 The system design support tool 6 can also calculate a network range, that is, an address range that can be used for the link device. For example, in addition to the control devices 2, 3, and 4, a device may be connected to the control system 1 via a network. The other device is exemplified by a display device that can display various information of the control devices 2, 3, and 4. When another device is connected to the network, the address used in the display device cannot be used as the address of the link device.
 図16は、実施の形態1にかかるシステム設計支援ツールのシステムラベル作成動作を示すフローチャートである。図16のフローチャートにおいて、ステップS100、S102、S104及びS106は、図3に示したフローチャートと同様であるので、説明を省く。 FIG. 16 is a flowchart of the system label creation operation of the system design support tool according to the first embodiment. In the flowchart of FIG. 16, steps S100, S102, S104, and S106 are the same as the flowchart shown in FIG.
 図16のフローチャートにおいて、ステップS102の後且つステップS104の前に、ステップS103が追加されている。 In the flowchart of FIG. 16, step S103 is added after step S102 and before step S104.
 ステップS103において、ネットワーク範囲割付算出反映部19は、システム構成図30のネットワーク構成を記述した情報に基づいて、リンクデバイスに使用できるネットワーク範囲つまりアドレス範囲を算出し、ネットワーク範囲割付情報32に反映する。作業者は、ステップS103でネットワーク範囲割付情報32に反映されたアドレス範囲を参照しながら、ステップS104でネットワーク範囲割付情報32に項目を入力することができる。 In step S103, the network range allocation calculation reflection unit 19 calculates a network range that can be used for the link device, that is, an address range, based on the information describing the network configuration in the system configuration diagram 30, and reflects it in the network range allocation information 32. . The worker can input items to the network range assignment information 32 in step S104 while referring to the address range reflected in the network range assignment information 32 in step S103.
 上記したように、システム設計支援ツール6によれば、ネットワーク範囲割付算出反映部19が、システム構成図30のネットワーク構成を記述した情報に基づいて、リンクデバイスに使用できるネットワーク範囲つまりアドレス範囲を算出し、ネットワーク範囲割付情報32に反映する。これにより、システム設計支援ツール6は、リンクデバイスと他の装置とのアドレスのコンフリクトを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 As described above, according to the system design support tool 6, the network range allocation calculation reflection unit 19 calculates the network range, that is, the address range that can be used for the link device, based on the information describing the network configuration in the system configuration diagram 30. And reflected in the network range allocation information 32. Thereby, the system design support tool 6 can suppress an address conflict between the link device and another device. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 次に、本発明の比較例について説明する。 Next, a comparative example of the present invention will be described.
 図17は、比較例にかかるシステム設計支援装置を用いた制御システムの構成を示す図である。 FIG. 17 is a diagram illustrating a configuration of a control system using the system design support apparatus according to the comparative example.
 制御システム51は、制御装置52、53及び54と、システム設計支援装置55と、がネットワークN1によって接続されて構成されている。 The control system 51 is configured by connecting control devices 52, 53 and 54 and a system design support device 55 via a network N1.
 制御装置52、53及び54の各々は、制御プログラムを実行することにより、被制御装置を制御する。 Each of the control devices 52, 53 and 54 controls the controlled device by executing a control program.
 制御装置52は、制御装置52を一意に特定する局番号に「1」が設定されている。制御装置52は、制御装置53及び54を管理する管理局である。制御装置53は、制御装置53を一意に特定する局番号に「2」が設定されている。制御装置53は、制御装置52によって管理される通常局である。制御装置54は、制御装置54を一意に特定する局番号に「3」が設定されている。制御装置54は、制御装置52によって管理される通常局である。ネットワークN1は、ネットワークN1を一意に特定するネットワーク番号に「1」が設定されている。 The control device 52 is set to “1” as a station number that uniquely identifies the control device 52. The control device 52 is a management station that manages the control devices 53 and 54. In the control device 53, “2” is set in the station number that uniquely identifies the control device 53. The control device 53 is a normal station managed by the control device 52. In the control device 54, “3” is set as a station number that uniquely identifies the control device 54. The control device 54 is a normal station managed by the control device 52. In the network N1, “1” is set in the network number that uniquely identifies the network N1.
 システム設計支援装置55は、プログラミングツール部56と、表計算部57と、記憶部58と、を備える。 The system design support device 55 includes a programming tool unit 56, a spreadsheet unit 57, and a storage unit 58.
 プログラミングツール部56は、システム設計支援装置55内のCPUがプログラミングツールプログラムを実行することにより、実現される。表計算部57は、システム設計支援装置55内のCPUが表計算プログラムを実行することにより、実現される。 The programming tool unit 56 is realized by the CPU in the system design support device 55 executing the programming tool program. The spreadsheet unit 57 is realized by the CPU in the system design support device 55 executing a spreadsheet program.
 記憶部58は、プログラミングツール部56によって作成されるプロジェクト61、62及び63と、表計算部57によって作成されるシステムラベル情報70と、を記憶する。 The storage unit 58 stores the projects 61, 62, and 63 created by the programming tool unit 56 and the system label information 70 created by the spreadsheet unit 57.
 次に、システム設計支援装置55のシステムリスト作成動作について説明する。 Next, the system list creation operation of the system design support device 55 will be described.
 まず、プログラミングツール部56が、作業者の入力に基づいて、ネットワーク範囲割付情報61aを、管理局である制御装置52に割り付けられるプロジェクト61内に作成する。なお、通常局である制御装置53及び54に夫々割り付けられるプロジェクト62及び63は、ネットワーク範囲割付情報を含まない。 First, the programming tool unit 56 creates network range allocation information 61a in the project 61 allocated to the control device 52, which is a management station, based on the operator's input. The projects 62 and 63 allocated to the control devices 53 and 54, which are normal stations, do not include network range allocation information.
 図18は、比較例にかかるプロジェクト内のネットワーク範囲割付情報を示す図である。プロジェクト61には、プロジェクト61を一意に特定するプロジェクト名に「prj01」が設定されている。ネットワーク範囲割付情報61aは、局番号と、制御装置52、53及び54の各々がデータの書き込みを行う共有メモリ空間内の領域であるリンクデバイスの先頭アドレス及び最終アドレスと、の項目を有する。 FIG. 18 is a diagram showing network range allocation information in the project according to the comparative example. In the project 61, “prj01” is set as a project name for uniquely identifying the project 61. The network range allocation information 61a includes items of a station number and a head address and a final address of a link device that is an area in the shared memory space where each of the control devices 52, 53, and 54 writes data.
 作業者は、ネットワーク範囲割付情報61aの各項目に、局番号と、リンクデバイスの先頭アドレスと、最終アドレスと、を入力する。ネットワーク範囲割付情報61aにおいて、第1行61a1には、制御装置52の局番号「1」と、先頭アドレス「0x0000」と、最終アドレス「0x000F」と、が入力されている。また、第2行61a2には、制御装置53の局番号「2」と、先頭アドレス「0x0010」と、最終アドレス「0x001F」と、が入力されている。また、第3行61a3には、制御装置54の局番号「3」と、先頭アドレス「0x0020」と、最終アドレス「0x002F」と、が入力されている。 The worker inputs the station number, the head address of the link device, and the last address in each item of the network range assignment information 61a. In the network range allocation information 61a, the station number “1”, the head address “0x0000”, and the last address “0x000F” of the control device 52 are input to the first row 61a1. In the second row 61a2, the station number “2”, the head address “0x0010”, and the last address “0x001F” of the control device 53 are input. Further, the station number “3”, the head address “0x0020”, and the last address “0x002F” of the control device 54 are input to the third row 61a3.
 従って、局番号「1」の制御装置52がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0000」から最終アドレス「0x000F」までの16バイトである。また、局番号「2」の制御装置53がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0010」から最終アドレス「0x001F」までの16バイトである。また、局番号「3」の制御装置54がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0020」から最終アドレス「0x002F」までの16バイトである。 Therefore, the link device to which the control device 52 with the station number “1” writes data is 16 bytes from the head address “0x0000” to the last address “0x000F”. The link device to which the control device 53 with the station number “2” writes data is 16 bytes from the head address “0x0010” to the last address “0x001F”. The link device to which the control device 54 with the station number “3” writes data is 16 bytes from the head address “0x0020” to the last address “0x002F”.
 次に、表計算部57が、作業者の入力に基づいて、システムラベル情報70を作成する。作業者は、エンジニアリングツール部56で作成されたネットワーク範囲割付情報61aを参照しながら、システムラベル情報70の作成作業を行う。 Next, the spreadsheet unit 57 creates system label information 70 based on the operator's input. The worker creates the system label information 70 while referring to the network range assignment information 61 a created by the engineering tool unit 56.
 図19は、比較例にかかるシステムラベル情報を示す図である。システムラベル情報70は、リンクデバイスを一意に特定する識別子であるシステムラベル、制御装置に内蔵されているCPU名及びリンクデバイスを一意に特定するデバイス名の項目を有する。なお、システムラベル情報70は、補助的にプロジェクトのプロジェクト名を含んでも良いが、プロジェクト名は、システムラベル情報70の必須項目ではない。 FIG. 19 is a diagram showing system label information according to the comparative example. The system label information 70 includes items of a system label that is an identifier for uniquely identifying the link device, a CPU name built in the control device, and a device name for uniquely identifying the link device. The system label information 70 may additionally include the project name of the project, but the project name is not an essential item of the system label information 70.
 システムラベル情報70において、複数の行70aの各々は、制御装置52がデータの書き込みを行うリンクデバイスの各バイトに対応する。作業者は、複数の行70aの各々において、システムラベルの項目には、各リンクデバイスを一意に特定する識別子であるシステムラベルを入力する。 In the system label information 70, each of the plurality of rows 70a corresponds to each byte of the link device to which the control device 52 writes data. In each of the plurality of rows 70a, the worker inputs a system label, which is an identifier for uniquely identifying each link device, in the system label item.
 システムラベル情報70において、複数の行70aの最初の行のシステムラベルの項目には、作業者によって「起動_1局のスイッチ1」が入力されている。また、複数の行70aの最後の行のシステムラベルの項目には、作業者によって「起動_1局のスイッチ16」が入力されている。 In the system label information 70, “Activation_1 Station Switch 1” is input by the operator to the system label item in the first row of the plurality of rows 70 a. In addition, in the item of the system label in the last row of the plurality of rows 70a, the operator inputs “switch 16 of startup_1 station”.
 また、作業者は、複数の行70aの各々において、CPU名の項目には、制御装置52に内蔵されているCPU名「CPU01」を入力する。また、作業者は、複数の行70aの各々において、デバイス名の項目には、各リンクデバイスを一意に特定するデバイス名を入力する。 In addition, the worker inputs the CPU name “CPU01” built in the control device 52 to the item of CPU name in each of the plurality of rows 70a. In addition, in each of the plurality of rows 70a, the worker inputs a device name that uniquely identifies each link device in the device name item.
 システムラベル情報70において、複数の行70bの各々は、制御装置53がデータの書き込みを行うリンクデバイスの各バイトに対応する。作業者は、複数の行70bの各々において、システムラベルの項目には、各リンクデバイスを一意に特定する識別子であるシステムラベルを入力する。 In the system label information 70, each of the plurality of rows 70b corresponds to each byte of the link device to which the control device 53 writes data. In each of the plurality of rows 70b, the operator inputs a system label that is an identifier for uniquely identifying each link device in the item of system label.
 システムラベル情報70において、複数の行70bの最初の行のシステムラベルの項目には、作業者によって「起動_2局のスイッチ1」が入力されている。また、複数の行70bの最後の行のシステムラベルの項目には、作業者によって「起動_2局のスイッチ16」が入力されている。 In the system label information 70, “Activation_2 Station Switch 1” is input by the operator to the system label item in the first row of the plurality of rows 70 b. In addition, in the item of the system label in the last row of the plurality of rows 70b, the operator inputs “switch 2 of startup_2 station”.
 また、作業者は、複数の行70bの各々において、CPU名の項目には、制御装置53に内蔵されているCPU名「CPU02」を入力する。また、作業者は、複数の行70bの各々において、デバイス名の項目には、各リンクデバイスを一意に特定するデバイス名を入力する。 Further, the worker inputs the CPU name “CPU02” built in the control device 53 to the item of CPU name in each of the plurality of rows 70b. In addition, in each of the plurality of rows 70b, the worker inputs a device name that uniquely identifies each link device in the device name item.
 システムラベル情報70において、複数の行70cの各々は、制御装置54がデータの書き込みを行うリンクデバイスの各バイトに対応する。作業者は、複数の行70cの各々において、システムラベルの項目には、各リンクデバイスを一意に特定する識別子であるシステムラベルを入力する。 In the system label information 70, each of the plurality of rows 70c corresponds to each byte of the link device to which the control device 54 writes data. In each of the plurality of rows 70c, the worker inputs a system label that is an identifier for uniquely specifying each link device in the item of system label.
 システムラベル情報70において、複数の行70cの最初の行のシステムラベルの項目には、作業者によって「起動_3局のスイッチ1」が入力されている。また、複数の行70cの最後の行のシステムラベルの項目には、作業者によって「起動_3局のスイッチ16」が入力されている。 In the system label information 70, the “start_3 station switch 1” is input by the operator to the system label item in the first row of the plurality of rows 70c. In addition, in the system label item in the last row of the plurality of rows 70c, the operator has input “Start_3 Station Switch 16”.
 また、作業者は、複数の行70cの各々において、CPU名の項目には、制御装置54に内蔵されているCPU名「CPU03」を入力する。また、作業者は、複数の行70cの各々において、デバイス名の項目には、各リンクデバイスを一意に特定するデバイス名を入力する。 Further, the worker inputs the CPU name “CPU03” built in the control device 54 to the item of CPU name in each of the plurality of rows 70c. In addition, in each of the plurality of rows 70c, the worker inputs a device name that uniquely identifies each link device in the device name item.
 次に、プログラミングツール部56が、作業者の入力に基づいて、プロジェクト61、62及び63内に、システムラベルリスト61b、62b及び63bを作成する。作業者は、表計算部57で作成されたシステムラベル情報70を参照しながら、システムラベルリスト61b、62b及び63bの作成作業を行う。 Next, the programming tool unit 56 creates system label lists 61b, 62b and 63b in the projects 61, 62 and 63 based on the input of the operator. The worker creates the system label lists 61b, 62b, and 63b while referring to the system label information 70 created by the spreadsheet unit 57.
 図20は、比較例にかかるプロジェクト内のシステムラベルリストを示す図である。システムラベルリスト61bは、システムラベル、CPU名及びデバイス名の項目を有する。なお、システムラベルリスト61bは、補助的にプロジェクトのプロジェクト名を含んでも良いが、プロジェクト名は、システムラベルリスト61bの必須項目ではない。作業者は、表計算部57で作成されたシステムラベル情報70内の複数の行70aを参照しながら、システムラベルリスト61bの各項目の値を入力する。 FIG. 20 is a diagram showing a system label list in the project according to the comparative example. The system label list 61b has items of a system label, a CPU name, and a device name. The system label list 61b may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 61b. The worker inputs the value of each item in the system label list 61b while referring to the plurality of rows 70a in the system label information 70 created by the spreadsheet unit 57.
 図21は、比較例にかかるプロジェクト内のシステムラベルリストを示す図である。システムラベルリスト62bは、システムラベル、CPU名及びデバイス名の項目を有する。なお、システムラベルリスト62bは、補助的にプロジェクトのプロジェクト名を含んでも良いが、プロジェクト名は、システムラベルリスト62bの必須項目ではない。作業者は、表計算部57で作成されたシステムラベル情報70内の複数の行70bを参照しながら、システムラベルリスト62bの各項目の値を入力する。 FIG. 21 is a diagram showing a system label list in the project according to the comparative example. The system label list 62b has items of a system label, a CPU name, and a device name. The system label list 62b may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 62b. The worker inputs the value of each item in the system label list 62b while referring to the plurality of rows 70b in the system label information 70 created by the spreadsheet unit 57.
 図22は、比較例にかかるプロジェクト内のシステムラベルリストを示す図である。システムラベルリスト63bは、システムラベル、CPU名及びデバイス名の項目を有する。なお、システムラベルリスト63bは、補助的にプロジェクトのプロジェクト名を含んでも良いが、プロジェクト名は、システムラベルリスト63bの必須項目ではない。作業者は、表計算部57で作成されたシステムラベル情報70内の複数の行70cを参照しながら、システムラベルリスト63bの各項目の値を入力する。 FIG. 22 is a diagram showing a system label list in the project according to the comparative example. The system label list 63b has items of a system label, a CPU name, and a device name. The system label list 63b may supplementarily include the project name of the project, but the project name is not an essential item of the system label list 63b. The worker inputs the value of each item in the system label list 63b while referring to the plurality of rows 70c in the system label information 70 created by the spreadsheet unit 57.
 上記のように、比較例では、作業者が、システムラベル情報70並びにシステムラベルリスト61b、62b及び63bの全ての項目を入力していた。従って、システムラベル情報70並びにシステムラベルリスト61b、62b及び63bに入力ミスが発生し易かった。システムラベル情報70並びにシステムラベルリスト61b、62b及び63bに入力ミスがあると、プロジェクト61、62及び63内の制御プログラムが予期しない動作を行い、ひいては被制御装置が予期しない動作を行う可能性があった。 As described above, in the comparative example, the worker inputs all items of the system label information 70 and the system label lists 61b, 62b, and 63b. Therefore, input mistakes are likely to occur in the system label information 70 and the system label lists 61b, 62b, and 63b. If there is an input error in the system label information 70 and the system label lists 61b, 62b, and 63b, the control program in the projects 61, 62, and 63 may perform an unexpected operation, and thus the controlled device may perform an unexpected operation. there were.
 次に、システム設計支援装置55のシステムリスト変更動作について説明する。 Next, the system list changing operation of the system design support device 55 will be described.
 まず、プログラミングツール部56が、作業者の入力に基づいて、ネットワーク範囲割付情報61aを変更する。 First, the programming tool unit 56 changes the network range allocation information 61a based on the operator's input.
 図23は、比較例にかかるプロジェクト内のネットワーク範囲割付情報を示す図である。作業者は、ネットワーク範囲割付情報61aの第1行61a1の最終アドレスを、「0x000F」から「0x0010」に変更する。従って、局番号「1」の制御装置52がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0000」から最終アドレス「0x0010」までの17バイトになる。 FIG. 23 is a diagram showing network range allocation information in the project according to the comparative example. The operator changes the final address of the first row 61a1 of the network range allocation information 61a from “0x000F” to “0x0010”. Therefore, the link device to which the control device 52 with the station number “1” writes data is 17 bytes from the head address “0x0000” to the last address “0x0010”.
 次に、作業者は、ネットワーク範囲割付情報61aの第2行61a2の先頭アドレスを、「0x0010」から「0x0011」に変更する。従って、局番号「2」の制御装置53がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0011」から最終アドレス「0x001F」までの15バイトになる。 Next, the worker changes the head address of the second row 61a2 of the network range allocation information 61a from “0x0010” to “0x0011”. Accordingly, the link device to which the control device 53 with the station number “2” writes data is 15 bytes from the head address “0x0011” to the last address “0x001F”.
 次に、作業者は、ネットワーク範囲割付情報61aの第3行61a3の最終アドレスを、「0x002F」から「0x002E」に変更する。従って、局番号「3」の制御装置54がデータの書き込みを行うリンクデバイスは、先頭アドレス「0x0020」から最終アドレス「0x002E」までの15バイトになる。 Next, the worker changes the final address of the third row 61a3 of the network range allocation information 61a from “0x002F” to “0x002E”. Therefore, the link device to which the control device 54 with the station number “3” writes data is 15 bytes from the head address “0x0020” to the last address “0x002E”.
 次に、表計算部57が、作業者の入力に基づいて、システムラベル情報70を変更する。作業者は、エンジニアリングツール部56で変更されたネットワーク範囲割付情報61aを参照しながら、システムラベル情報70の変更作業を行う。 Next, the spreadsheet unit 57 changes the system label information 70 based on the operator's input. The worker changes the system label information 70 while referring to the network range assignment information 61 a changed by the engineering tool unit 56.
 図24は、比較例にかかるシステムラベル情報を示す図である。作業者は、制御装置52がデータの書き込みを行うリンクデバイスが16バイトから17バイトに変更されたことに伴い、行70dを追加する。行70dのシステムラベルの項目には、作業者によって「起動_1局のスイッチ17」が入力されている。また、行70dのCPU名の項目には、作業者によって「CPU01」が入力されている。また、行70dのデバイス名の項目には、作業者によって「J1¥B10」が入力されている。 FIG. 24 is a diagram showing system label information according to the comparative example. The operator adds a row 70d when the link device to which the control device 52 writes data is changed from 16 bytes to 17 bytes. In the item of the system label in the row 70d, the operator inputs “switch 1 of startup_1 station”. Further, “CPU01” is input by the operator to the item of CPU name in the row 70d. In the device name item in the row 70d, “J1 ¥ B10” is input by the operator.
 また、作業者は、制御装置53がデータの書き込みを行うリンクデバイスが16バイトから15バイトに変更されたことに伴い、行70eに取消線を付加する。なお、作業者は、行70eを削除してしまっても良い。 Further, the operator adds a strike-through line to the row 70e when the link device to which the control device 53 writes data is changed from 16 bytes to 15 bytes. The worker may delete the row 70e.
 また、作業者は、制御装置54がデータの書き込みを行うリンクデバイスが16バイトから15バイトに変更されたことに伴い、行70fに取消線を付加する。なお、作業者は、行70fを削除してしまっても良い。 Also, the operator adds a strikethrough to the row 70f when the link device to which the control device 54 writes data is changed from 16 bytes to 15 bytes. The worker may delete the row 70f.
 次に、プログラミングツール部56が、作業者の入力に基づいて、プロジェクト61、62及び63内のシステムラベルリスト61b、62b及び63bを変更する。作業者は、表計算部57で作成されたシステムラベル情報70を参照しながら、システムラベルリスト61b、62b及び63bの変更作業を行う。 Next, the programming tool unit 56 changes the system label lists 61b, 62b, and 63b in the projects 61, 62, and 63 based on the operator's input. The worker changes the system label lists 61b, 62b, and 63b while referring to the system label information 70 created by the spreadsheet unit 57.
 図25は、比較例にかかるプロジェクト内のシステムラベルリストを示す図である。作業者は、表計算部57でシステムラベル情報70に行70dが追加されたことに伴い、システムラベルリスト61bに行61b1を追加する。 FIG. 25 is a diagram showing a system label list in the project according to the comparative example. The worker adds a row 61b1 to the system label list 61b in accordance with the addition of the row 70d to the system label information 70 by the spreadsheet 57.
 図26は、比較例にかかるプロジェクト内のシステムラベルリストを示す図である。作業者は、表計算部57でシステムラベル情報70の行70eに取消線が付加されたことに伴い、システムラベルリスト62bの行62b1に取消線を付加する。なお、作業者は、行62b1を削除してしまっても良い。 FIG. 26 is a diagram showing a system label list in the project according to the comparative example. The worker adds a strike-through line to the row 62b1 of the system label list 62b when the strike-through line is added to the row 70e of the system label information 70 by the spreadsheet section 57. The worker may delete the row 62b1.
 図27は、比較例にかかるプロジェクト内のシステムラベルリストを示す図である。作業者は、表計算部57でシステムラベル情報70の行70fに取消線が付加されたことに伴い、システムラベルリスト63bの行63b1に取消線を付加する。なお、作業者は、行63b1を削除してしまっても良い。 FIG. 27 is a diagram showing a system label list in the project according to the comparative example. The operator adds a strike-through line to the row 63b1 of the system label list 63b in accordance with the strike-through line being added to the row 70f of the system label information 70 by the spreadsheet 57. Note that the operator may delete the row 63b1.
 上記したように、比較例では、作業者が、システムラベル情報70並びにシステムラベルリスト61b、62b及び63bを変更していた。従って、システムラベル情報70並びにシステムラベルリスト61b、62b及び63bに変更ミスが発生し易かった。システムラベル情報70並びにシステムラベルリスト61b、62b及び63bに変更ミスがあると、プロジェクト61、62及び63内の制御プログラムが予期しない動作を行い、ひいては被制御装置が予期しない動作を行う可能性があった。 As described above, in the comparative example, the operator changed the system label information 70 and the system label lists 61b, 62b, and 63b. Therefore, it is easy for mistakes to occur in the system label information 70 and the system label lists 61b, 62b, and 63b. If there is a change mistake in the system label information 70 and the system label lists 61b, 62b, and 63b, the control program in the projects 61, 62, and 63 may perform an unexpected operation, and thus the controlled device may perform an unexpected operation. there were.
 一方、実施の形態1にかかるシステム設計支援ツール6によれば、システムラベルリスト作成部14が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合し、システムラベルリスト33を作成することができる。これにより、作業者がシステムラベルリスト33の各項目を入力することが不要となるので、システムラベルリスト33に入力ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 On the other hand, according to the system design support tool 6 according to the first embodiment, the system label list creating unit 14 compares the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key. Then, the system label list 33 can be created. Thereby, since it becomes unnecessary for an operator to input each item of the system label list 33, it is possible to prevent an input error from occurring in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 また、システム設計支援ツール6によれば、第1システムラベルリスト変更部16が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合し、システムラベルリスト33を変更することができる。これにより、作業者がシステムラベルリスト33の各項目を変更することが不要となるので、システムラベルリスト33に変更ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 Further, according to the system design support tool 6, the first system label list changing unit 16 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b, and 31c with the station number as a key, and the system label The list 33 can be changed. Thereby, since it becomes unnecessary for an operator to change each item of the system label list 33, it is possible to suppress occurrence of a change mistake in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 また、システム設計支援ツール6によれば、第2システムラベルリスト変更部17が、システム構成図30、ネットワーク範囲割付情報32並びにプロジェクト31a、31b及び31cを局番号をキーにして照合し、システムラベルリスト33を変更することができる。これにより、作業者がシステムラベルリスト33の各項目を変更することが不要となるので、システムラベルリスト33に変更ミスが発生することを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 Further, according to the system design support tool 6, the second system label list changing unit 17 collates the system configuration diagram 30, the network range allocation information 32, and the projects 31a, 31b and 31c with the station number as a key, and the system label The list 33 can be changed. Thereby, since it becomes unnecessary for an operator to change each item of the system label list 33, it is possible to suppress occurrence of a change mistake in the system label list 33. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 また、システム設計支援ツール6によれば、システムラベル化対象選択部18が、作業者の操作入力に基づいて、全てのリンクデバイスの中からシステムラベル化対象を選択することができる。これにより、システム設計支援ツール6は、必要なリンクデバイスだけを含むシステムラベルリスト33を作成することができる。従って、システム設計支援ツール6は、システムラベルリスト33の肥大化を抑制することができ、システムラベルリスト33の可読性を高めることができる。 Further, according to the system design support tool 6, the system labeling target selection unit 18 can select a system labeling target from all the link devices based on the operation input of the operator. Thereby, the system design support tool 6 can create the system label list 33 including only necessary link devices. Therefore, the system design support tool 6 can suppress the enlargement of the system label list 33 and can improve the readability of the system label list 33.
 また、システム設計支援ツール6によれば、ネットワーク範囲割付算出反映部19が、システム構成図30のネットワーク構成を記述した情報に基づいて、リンクデバイスに使用できるネットワーク範囲つまりアドレス範囲を算出し、ネットワーク範囲割付情報32に反映する。これにより、システム設計支援ツール6は、リンクデバイスと他の装置とのアドレスのコンフリクトを抑制することができる。従って、システム設計支援ツール6は、制御プログラムが予期しない動作をしてしまう可能性を抑制することができ、被制御装置が予期しない動作をしてしまう可能性を抑制することができる。 Further, according to the system design support tool 6, the network range allocation calculation reflection unit 19 calculates the network range, that is, the address range that can be used for the link device based on the information describing the network configuration in the system configuration diagram 30, and the network This is reflected in the range assignment information 32. Thereby, the system design support tool 6 can suppress an address conflict between the link device and another device. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform an unexpected operation, and can suppress the possibility that the controlled apparatus will perform an unexpected operation.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
 1 制御システム、2,3,4 制御装置、5 システム設計支援装置、6 システム設計支援ツール、10 システム構成図作成部、11 プロジェクト作成部、12 プロジェクト割付部、13 ネットワーク範囲割付情報作成部、14 システムラベルリスト作成部、15 ネットワーク範囲割付情報重複判定部、16 第1システムラベルリスト変更部、17 第2システムラベルリスト変更部、18 システムラベル化対象選択部、19 ネットワーク範囲割付算出反映部、30 システム構成図、31a,31b,31c プロジェクト、32 ネットワーク範囲割付情報、33 システムラベルリスト、601 CPU、604 記憶部。 1 control system, 2, 3, 4 control device, 5 system design support device, 6 system design support tool, 10 system configuration diagram creation unit, 11 project creation unit, 12 project allocation unit, 13 network range allocation information creation unit, 14 System label list creation unit, 15 network range assignment information duplication determination unit, 16 first system label list change unit, 17 second system label list change unit, 18 system label target selection unit, 19 network range assignment calculation reflection unit, 30 System configuration diagram, 31a, 31b, 31c project, 32 network range allocation information, 33 system label list, 601 CPU, 604 storage unit.

Claims (7)

  1.  複数の制御装置がネットワーク接続された制御システム内で前記複数の制御装置がデータを共有するための共有メモリ空間内に設定される複数のリンクデバイスを制御プログラム内で記述するために夫々使用される識別子である複数のシステムラベルを有するシステムラベルリストを生成するシステム設計支援ツールであって、
     前記複数の制御装置のネットワーク構成を示し、前記複数の制御装置の各々を一意に特定する局番号を含むシステム構成図を作成するシステム構成図作成部と、
     被制御装置を制御するための制御プログラム並びに前記制御プログラムの実行時又はコンパイル時に参照される情報を夫々有する複数のプロジェクトを、前記システム構成図内の前記複数の制御装置に夫々割り付けるプロジェクト割付部と、
     前記局番号と、前記複数の制御装置の各々がデータの書き込みを行う前記共有メモリ空間内の領域の先頭アドレス及び最終アドレスと、の項目を有するネットワーク範囲割付情報を作成するネットワーク範囲割付情報作成部と、
     前記システム構成図、前記ネットワーク範囲割付情報及び前記複数のプロジェクトを前記局番号をキーにして照合し、前記リンクデバイスを一意に特定する識別子である前記システムラベル及び前記リンクデバイスを一意に特定するデバイス名の項目を有するシステムラベルリストを作成するシステムラベル作成部と、
     を備えることを特徴とするシステム設計支援ツール。
    In a control system in which a plurality of control devices are connected to a network, the plurality of control devices are used to describe a plurality of link devices set in a shared memory space for sharing data in a control program. A system design support tool for generating a system label list having a plurality of system labels as identifiers,
    A system configuration diagram creating unit for creating a system configuration diagram showing a network configuration of the plurality of control devices and including a station number for uniquely identifying each of the plurality of control devices;
    A project allocation unit for allocating a control program for controlling a controlled device and a plurality of projects each having information referred to at the time of execution or compilation of the control program to the plurality of control devices in the system configuration diagram; ,
    A network range assignment information creating unit for creating network range assignment information having items of the station number and the start address and end address of the area in the shared memory space where each of the plurality of control devices writes data When,
    The system configuration diagram, the network range allocation information, and the plurality of projects are collated using the station number as a key, and the system label that is an identifier that uniquely identifies the link device and the device that uniquely identifies the link device A system label creation unit for creating a system label list having a name item;
    A system design support tool characterized by comprising:
  2.  前記システム構成図の変更に追従して、前記システムラベルリストを変更するシステムラベルリスト変更部を備えることを特徴とする請求項1に記載のシステム設計支援ツール。 The system design support tool according to claim 1, further comprising a system label list changing unit that changes the system label list following the change in the system configuration diagram.
  3.  前記ネットワーク範囲割付情報の変更に追従して、前記システムラベルリストを変更するシステムラベルリスト変更部を備えることを特徴とする請求項1に記載のシステム設計支援ツール。 The system design support tool according to claim 1, further comprising a system label list changing unit that changes the system label list following the change of the network range assignment information.
  4.  前記システムラベルリスト変更部は、前記ネットワーク範囲割付情報の割付範囲の増減に基づいて、前記割付範囲で増加した部分は前記システムラベルを新規に作成し、前記割付範囲で減少した部分は前記システムラベルを削除することを特徴とする請求項3に記載のシステム設計支援ツール。 The system label list changing unit creates a new system label based on an increase / decrease in the allocation range of the network range allocation information, and a portion decreased in the allocation range is the system label. The system design support tool according to claim 3, wherein the system design support tool is deleted.
  5.  前記ネットワーク範囲割付情報の複数のレコードのアドレス範囲が重複するか否かを判定する、ネットワーク範囲割付情報重複判定部を備えることを特徴とする請求項1に記載のシステム設計支援ツール。 The system design support tool according to claim 1, further comprising a network range assignment information duplication determination unit for judging whether or not address ranges of a plurality of records of the network range assignment information overlap.
  6.  前記共有メモリ空間内のシステムラベルを作成する対象領域の選択をユーザから受け付けるシステムラベル化対象選択部を備えることを特徴とする請求項1に記載のシステム設計支援ツール。 The system design support tool according to claim 1, further comprising a system labeling target selection unit that receives a selection of a target area for generating a system label in the shared memory space from a user.
  7.  前記システム構成図から、使用できるネットワーク範囲を算出し、ネットワーク範囲割付情報に反映するネットワーク範囲割付算出反映部を備えることを特徴とする請求項1に記載のシステム設計支援ツール。 The system design support tool according to claim 1, further comprising a network range allocation calculation reflection unit that calculates a usable network range from the system configuration diagram and reflects the calculated network range in network range allocation information.
PCT/JP2015/050399 2015-01-08 2015-01-08 System design assistance tool WO2016110983A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020177017704A KR101918430B1 (en) 2015-01-08 2015-01-08 System design assistance tool
PCT/JP2015/050399 WO2016110983A1 (en) 2015-01-08 2015-01-08 System design assistance tool
CN201580067188.4A CN107003649B (en) 2015-01-08 2015-01-08 System design aided tool
JP2016555854A JP6076564B2 (en) 2015-01-08 2015-01-08 System design support tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/050399 WO2016110983A1 (en) 2015-01-08 2015-01-08 System design assistance tool

Publications (1)

Publication Number Publication Date
WO2016110983A1 true WO2016110983A1 (en) 2016-07-14

Family

ID=56355704

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/050399 WO2016110983A1 (en) 2015-01-08 2015-01-08 System design assistance tool

Country Status (4)

Country Link
JP (1) JP6076564B2 (en)
KR (1) KR101918430B1 (en)
CN (1) CN107003649B (en)
WO (1) WO2016110983A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020684B (en) * 2018-04-25 2022-04-15 三菱电机株式会社 Information processing apparatus, system construction supporting method, and non-volatile storage device storing system construction supporting program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000268016A (en) * 1999-03-15 2000-09-29 Omron Corp Distributed control system and its constituting element
WO2010103700A1 (en) * 2009-03-13 2010-09-16 三菱電機株式会社 Program creation support device
WO2013132573A1 (en) * 2012-03-05 2013-09-12 三菱電機株式会社 Engineering tool
JP2013225251A (en) * 2012-04-23 2013-10-31 Mitsubishi Electric Corp Information processor and information processing method and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100034083A1 (en) * 2008-08-08 2010-02-11 Qualcomm Incorporated Method and apparatus for packet differentiation in a wireless communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000268016A (en) * 1999-03-15 2000-09-29 Omron Corp Distributed control system and its constituting element
WO2010103700A1 (en) * 2009-03-13 2010-09-16 三菱電機株式会社 Program creation support device
WO2013132573A1 (en) * 2012-03-05 2013-09-12 三菱電機株式会社 Engineering tool
JP2013225251A (en) * 2012-04-23 2013-10-31 Mitsubishi Electric Corp Information processor and information processing method and program

Also Published As

Publication number Publication date
CN107003649A (en) 2017-08-01
JP6076564B2 (en) 2017-02-08
JPWO2016110983A1 (en) 2017-04-27
CN107003649B (en) 2019-05-03
KR101918430B1 (en) 2018-11-13
KR20170088966A (en) 2017-08-02

Similar Documents

Publication Publication Date Title
JP5619328B1 (en) Sequence program creation support device
WO2016135943A1 (en) Data editing device, data editing method, and data editing program
JP5757098B2 (en) Program creation support apparatus and program creation support method
TWI664509B (en) Programmable controller, management device and control system
CN111919182A (en) NC program conversion processing method and machining processing system
JP6292096B2 (en) Programmable controller system and its support device
JP6076564B2 (en) System design support tool
CN112470088B (en) control device
JP2011186607A (en) Field device, setting method for the same, field device management method and program
US10620968B2 (en) Parameter determination device, parameter determination method, and medium
JP2009223591A (en) Program development support device for plc
JP4760607B2 (en) Programmable controller
JP6455096B2 (en) Control system, its support device, programmable control device
JP4877257B2 (en) Programmable controller, programmable controller support apparatus, and programmable controller system
JP6211276B2 (en) Work place planning apparatus, work place planning program, and work place planning method
JP6505591B2 (en) Programmable controller
JP6020071B2 (en) Programmable controller system, its support device, programmable controller
KR20080059603A (en) Allocation of multiple product structures
CN111919181A (en) Control device
JP2019057212A (en) Programmable controller and control system
JP7193431B2 (en) Scheduling device, scheduling method and storage medium
WO2015163219A1 (en) Control apparatus
JP6099846B2 (en) Arithmetic unit, engineering tool and engineering tool program
JP2017120569A (en) Information processing device, control method, and program
JP2005250722A (en) Sequential execution method for input/output dynamic reconfiguration

Legal Events

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

Ref document number: 15876860

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016555854

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20177017704

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15876860

Country of ref document: EP

Kind code of ref document: A1