CN107003649A - System design aided tool - Google Patents
System design aided tool Download PDFInfo
- Publication number
- CN107003649A CN107003649A CN201580067188.4A CN201580067188A CN107003649A CN 107003649 A CN107003649 A CN 107003649A CN 201580067188 A CN201580067188 A CN 201580067188A CN 107003649 A CN107003649 A CN 107003649A
- Authority
- CN
- China
- Prior art keywords
- system label
- network range
- allocation information
- label list
- unit
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/18—Network planning tools
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23005—Expert design system, uses modeling, simulation, to control design process
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
一种系统设计辅助工具,其生成系统标签列表,该系统标签列表具有作为识别符的多个系统标签,其中,为了在控制程序内对在共享存储器空间内设定的多个链路设备进行记述而分别使用该识别符,该系统设计辅助工具具有:系统结构图创建部,其创建系统结构图,该系统结构图表示多个控制装置的网络结构;项目分配部,其将分别具有控制程序以及被控制程序进行参照的信息的多个项目,在系统结构图内进行分配;网络范围分配信息创建部,其创建网络范围分配信息,该网络范围分配信息具有站点编号、和共享存储器空间内的区域的起始地址及最终地址的项目;以及系统标签创建部,其以站点编号作为关键词对系统结构图、网络范围分配信息及多个项目进行查对,创建系统标签列表,该系统标签列表具有系统标签及设备名这些条目。
A system design support tool that generates a system label list having a plurality of system labels as identifiers, wherein a plurality of link devices set in a shared memory space are described in a control program While using the identifiers respectively, the system design assisting tool has: a system configuration diagram creating section which creates a system configuration diagram showing the network configuration of a plurality of control devices; an item distribution section which will respectively have control programs and A plurality of items of information to be referenced by the control program are allocated in the system configuration diagram; a network range allocation information creation unit creates network range allocation information having a station number and an area in the shared memory space The items of the starting address and the final address; and the system label creation department, which uses the site number as a keyword to check the system structure diagram, network range allocation information and multiple items, and creates a system label list, which has Items such as system label and device name.
Description
技术领域technical field
本发明涉及一种对被网络连接的多个控制装置的系统设计进行辅助的系统设计辅助工具。The present invention relates to a system design support tool for assisting system design of a plurality of control devices connected in a network.
背景技术Background technique
当前,为了对被控制装置进行控制,使用控制装置。作为被控制装置,例示出工业机械。作为控制装置,例示出可编程控制器(JIS B 3502:2011,programmable controllers(PLC))。Currently, in order to control a controlled device, a control device is used. An industrial machine is exemplified as a controlled device. As a control device, a programmable controller (JIS B 3502:2011, programmable controllers (PLC)) is exemplified.
另外,为了对多个工业机械进行控制,使用将多个控制装置进行网络连接而构成的控制系统。在如上所述的控制系统中,通过在共享存储器区域写入数据,从而进行多个控制装置间的数据的共享。In addition, in order to control a plurality of industrial machines, a control system configured by connecting a plurality of control devices to a network is used. In the control system described above, data is shared among a plurality of control devices by writing data in the shared memory area.
专利文献1:日本特开2011-227556号公报Patent Document 1: Japanese Unexamined Patent Publication No. 2011-227556
专利文献2:日本特开2012-108568号公报Patent Document 2: Japanese Unexamined Patent Publication No. 2012-108568
专利文献3:日本特开2013-246569号公报Patent Document 3: Japanese Patent Laid-Open No. 2013-246569
发明内容Contents of the invention
作为关联的技术,在专利文献1中,周边装置对在多个可编程控制器间共享的包含标签名称、可编程控制器内存储器区域地址及大小的全局标签信息进行收集。而且,周边装置创建网络范围分配设定数据库,该网络范围分配设定数据库包含网络共享存储器区域中的地址及大小。接下来,周边装置创建刷新参数设定文件,该刷新参数设定文件被用在多个可编程控制器间的数据的交换即刷新动作中,包含网络共享存储器地址、大小及可编程控制器内存储器区域地址。即,专利文献1记载的周边装置基于全局标签信息,来决定网络共享存储器区域中的地址。As a related technique, in Patent Document 1, peripheral devices collect global tag information shared among a plurality of programmable controllers, including tag names, memory area addresses and sizes in the programmable controllers. Also, the peripheral device creates a network range allocation setting database including addresses and sizes in the network shared memory area. Next, the peripheral device creates a refresh parameter setting file, which is used in the exchange of data between multiple programmable controllers, that is, the refresh operation, including the network shared memory address, size, and programmable controller memory region address. That is, the peripheral device described in Patent Document 1 determines the address in the network shared memory area based on the global tag information.
另外,在专利文献2中,在标签编辑画面(参照专利文献2的图7)中,输入标签的名称、与标签对应的设备及设备的种类。而且,在控制程序创建画面(专利文献2的参照图8)中,在控制程序输入栏的旁边显示标签的一览。如果是像专利文献2所记载的那样,在标签编辑画面输入标签的名称及与标签对应的设备,则在对标签的名称或与标签对应的设备进行追加、删除或变更时有可能发生编辑错误,控制程序有可能进行预料外的动作。In addition, in Patent Document 2, on the label editing screen (see FIG. 7 of Patent Document 2), the name of the label, the device corresponding to the label, and the type of the device are input. And, on the control program creation screen (see FIG. 8 of Patent Document 2), a list of tags is displayed next to the control program input field. If the name of the tag and the device corresponding to the tag are input on the tag editing screen as described in Patent Document 2, editing errors may occur when adding, deleting, or changing the name of the tag or the device corresponding to the tag , the control program may perform unexpected actions.
另外,在专利文献3中,系统开发人员在系统标签编辑器上输入标签名,然后在系统结构编辑器上选择对标签进行共享的多个CPU。标签管理辅助装置创建将所输入的标签名和所选择的多个CPU关联起来的系统标签表。如果是像专利文献3所记载的那样,对标签名进行输入及对多个CPU进行选择,则在对标签名或CPU进行追加、删除或变更时有可能发生编辑错误,控制程序有可能进行预料外的动作。In addition, in Patent Document 3, a system developer inputs a tag name on a system tag editor, and then selects a plurality of CPUs to share the tag on a system configuration editor. The label management support device creates a system label table that associates input label names with selected CPUs. In the case of inputting a tag name and selecting a plurality of CPUs as described in Patent Document 3, editing errors may occur when adding, deleting, or changing a tag name or CPU, and the control program may predict outside action.
本发明就是鉴于上述情况而提出的,其目的在于得到一种系统设计辅助工具,该系统设计辅助工具能够抑制控制程序进行预料外的动作的可能性。The present invention has been made in view of the above circumstances, and an object of the present invention is to obtain a system design support tool capable of suppressing the possibility of a control program operating unexpectedly.
为了解决上述的课题,并达到目的,本发明是一种系统设计辅助工具,其生成系统标签列表,该系统标签列表具有作为识别符的多个系统标签,其中,为了在控制程序内对在多个控制装置被网络连接的控制系统内所述多个控制装置用于共享数据的共享存储器空间内设定的多个链路设备进行记述而分别使用该识别符,该系统设计辅助工具的特征在于,具有:系统结构图创建部,其创建系统结构图,该系统结构图表示所述多个控制装置的网络结构,包含对所述多个控制装置各自唯一地进行确定的站点编号;项目分配部,其将分别具有用于对被控制装置进行控制的控制程序以及在所述控制程序的执行时或编译时参照的信息的多个项目,分别分配至所述系统结构图内的所述多个控制装置;网络范围分配信息创建部,其创建网络范围分配信息,该网络范围分配信息具有所述站点编号、和由所述多个控制装置各自进行数据写入的所述共享存储器空间内的区域的起始地址及最终地址这些条目;以及系统标签创建部,其以所述站点编号作为关键词对所述系统结构图、所述网络范围分配信息及所述多个项目进行查对,创建具有唯一地确定所述链路设备的识别符即所述系统标签及唯一地确定所述链路设备的设备名这些条目的系统标签列表。In order to solve the above-mentioned problems and achieve the object, the present invention is a system design support tool that generates a system label list having a plurality of system labels as Each control device is described in a plurality of link devices set in a shared memory space for sharing data in a network-connected control system, and the identifier is used respectively. The system design assistance tool is characterized in that , comprising: a system configuration diagram creation unit that creates a system configuration diagram that represents the network configuration of the plurality of control devices and includes station numbers that uniquely identify each of the plurality of control devices; an item allocation unit , which assigns a plurality of items each having a control program for controlling the controlled device and information referred to when the control program is executed or compiled to the plurality of items in the system configuration diagram. a control device; a network range allocation information creating unit that creates network range allocation information having the station number and an area in the shared memory space where data is written by each of the plurality of control devices These entries of the starting address and the final address; and the system label creation unit, which uses the station number as a keyword to check the system structure diagram, the network range allocation information and the multiple items, and create a A system label list of items such as the system label that uniquely identifies the identifier of the link device and the device name of the link device.
发明的效果The effect of the invention
本发明涉及的系统设计辅助工具实现能够抑制控制程序进行预料外的动作的可能性这样的效果。The system design support tool according to the present invention achieves the effect of being able to suppress the possibility that the control program operates unexpectedly.
附图说明Description of drawings
图1是表示实现实施方式1涉及的系统设计辅助工具的硬件结构的图。FIG. 1 is a diagram showing a hardware configuration for realizing a system design support tool according to the first embodiment.
图2是表示使用了实施方式1涉及的系统设计辅助工具的控制系统的结构的图。FIG. 2 is a diagram showing the configuration of a control system using the system design assistance tool according to Embodiment 1. FIG.
图3是表示实施方式1涉及的系统设计辅助工具的系统标签创建动作的流程图。3 is a flowchart showing a system label creation operation of the system design assistance tool according to the first embodiment.
图4是表示实施方式1涉及的系统结构图的图。FIG. 4 is a diagram showing a system configuration diagram according to Embodiment 1. FIG.
图5是表示实施方式1涉及的系统结构图的图。FIG. 5 is a diagram showing a system configuration diagram according to Embodiment 1. FIG.
图6是表示实施方式1涉及的网络范围分配信息的图。FIG. 6 is a diagram showing network range allocation information according to Embodiment 1. FIG.
图7是表示实施方式1涉及的系统标签列表的图。FIG. 7 is a diagram showing a system label list according to Embodiment 1. FIG.
图8是表示实施方式1涉及的系统设计辅助工具的系统标签变更动作的流程图。8 is a flowchart showing a system label change operation of the system design assistance tool according to the first embodiment.
图9是表示实施方式1涉及的系统结构图的图。FIG. 9 is a diagram showing a system configuration diagram according to Embodiment 1. FIG.
图10是表示实施方式1涉及的系统结构图的图。FIG. 10 is a diagram showing a system configuration diagram according to Embodiment 1. FIG.
图11是表示实施方式1涉及的网络范围分配信息的图。FIG. 11 is a diagram showing network range allocation information according to Embodiment 1. FIG.
图12是表示实施方式1涉及的系统标签列表的图。FIG. 12 is a diagram showing a system label list according to the first embodiment.
图13是表示实施方式1涉及的网络范围分配信息的图。FIG. 13 is a diagram showing network range allocation information according to Embodiment 1. FIG.
图14是表示实施方式1涉及的系统标签列表的图。FIG. 14 is a diagram showing a system label list according to the first embodiment.
图15是表示实施方式1涉及的系统设计辅助工具的系统标签创建动作的流程图。15 is a flowchart showing a system label creation operation of the system design assistance tool according to the first embodiment.
图16是表示实施方式1涉及的系统设计辅助工具的系统标签创建动作的流程图。16 is a flowchart showing a system label creation operation of the system design assistance tool according to the first embodiment.
图17是表示使用了对比例涉及的系统设计辅助装置的控制系统的结构的图。FIG. 17 is a diagram showing the configuration of a control system using a system design support device according to a comparative example.
图18是表示对比例涉及的项目内的网络范围分配信息的图。FIG. 18 is a diagram showing network range allocation information within a project according to a comparative example.
图19是表示对比例涉及的系统标签信息的图。FIG. 19 is a diagram showing system label information related to a comparative example.
图20是表示对比例涉及的项目内的系统标签列表的图。FIG. 20 is a diagram showing a list of system tags in a project according to a comparative example.
图21是表示对比例涉及的项目内的系统标签列表的图。FIG. 21 is a diagram showing a list of system tags in a project according to a comparative example.
图22是表示对比例涉及的项目内的系统标签列表的图。FIG. 22 is a diagram showing a system label list in a project according to a comparative example.
图23是表示对比例涉及的项目内的网络范围分配信息的图。FIG. 23 is a diagram showing network range allocation information in a project according to a comparative example.
图24是表示对比例涉及的系统标签信息的图。FIG. 24 is a diagram showing system label information related to a comparative example.
图25是表示对比例涉及的项目内的系统标签列表的图。FIG. 25 is a diagram showing a system label list in a project according to a comparative example.
图26是表示对比例涉及的项目内的系统标签列表的图。FIG. 26 is a diagram showing a system label list in a project according to a comparative example.
图27是表示对比例涉及的项目内的系统标签列表的图。FIG. 27 is a diagram showing a list of system tags in a project according to a comparative example.
具体实施方式detailed description
下面,基于附图,对本发明的实施方式涉及的系统设计辅助工具详细地进行说明。此外,本发明并不限定于本实施方式。Hereinafter, the system design support tool according to the embodiment of the present invention will be described in detail based on the drawings. In addition, this invention is not limited to this embodiment.
实施方式1.Implementation mode 1.
图1是表示实现实施方式1涉及的系统设计辅助工具的硬件结构的图。实现实施方式1涉及的系统设计辅助工具的系统设计辅助装置5是计算机。系统设计辅助装置5具有CPU(Central Processing Unit)601、RAM(Random Access Memory)602、ROM(Read OnlyMemory)603、存储部604、输入部605、显示部606以及通信接口609。FIG. 1 is a diagram showing a hardware configuration for realizing a system design support tool according to the first embodiment. The system design support device 5 that realizes the system design support tool according to Embodiment 1 is a computer. The system design support device 5 has a CPU (Central Processing Unit) 601 , a RAM (Random Access Memory) 602 , a ROM (Read Only Memory) 603 , a storage unit 604 , an input unit 605 , a display unit 606 , and a communication interface 609 .
CPU601将RAM602作为作业区域使用,并执行在ROM603存储的程序。存储部604对由CPU601创建出的数据进行存储。输入部605接收来自作业者的输入。显示部606对文字及图像进行显示。通信接口609进行与其他装置的通信。CPU601 uses RAM602 as a work area, and executes the program memorize|stored in ROM603. Storage unit 604 stores data created by CPU 601 . The input unit 605 receives input from an operator. The display unit 606 displays characters and images. The communication interface 609 performs communication with other devices.
图2是表示使用了本发明的实施方式1涉及的系统设计辅助工具的控制系统的结构的图。2 is a diagram showing the configuration of a control system using the system design assistance tool according to Embodiment 1 of the present invention.
控制系统1是使控制装置2、3及4与系统设计辅助装置5通过网络N连接而构成的。The control system 1 is configured by connecting the control devices 2, 3, and 4 and the system design support device 5 through a network N. As shown in FIG.
控制装置2、3及4各自通过执行控制程序,从而对被控制装置进行控制。作为控制装置2、3及4,例示出可编程控制器。作为被控制装置,例示出工业机械。Each of the control devices 2, 3, and 4 controls the controlled device by executing a control program. As the control devices 2, 3, and 4, a programmable controller is exemplified. An industrial machine is exemplified as a controlled device.
控制装置2、3及4各自包含CPU和存储器。作为存储器,例示出RAM。存储器的一部分被用作共享存储器区域,存储器的另一部分被用作本地存储器区域。共享存储器区域内的各访问单位被称为链路设备。由某个控制装置写入至某个链路设备的数据被转送至其他全部的控制装置的同一地址的链路设备。由此,实现全部控制装置间的数据共享。链路设备是为了在通过控制装置2、3及4分别执行的多个应用即多个控制程序间使数据进行协同而使用的。Each of the control devices 2, 3 and 4 includes a CPU and a memory. As the memory, RAM is exemplified. A part of the memory is used as a shared memory area, and another part of the memory is used as a local memory area. Each access unit in the shared memory area is called a link device. Data written by a certain control device to a certain link device is transferred to the link devices of the same address in all other control devices. In this way, data sharing among all control devices is realized. The link device is used for coordinating data between a plurality of applications executed by the control devices 2 , 3 , and 4 , that is, a plurality of control programs.
在创建控制程序时,各链路设备是使用对各链路设备唯一地进行确定的识别符即系统标签来记述的,而不是使用地址。由此,实现控制程序的创建的容易化,并且提高控制程序的可读性。而且,在对控制程序进行编译而创建目标代码时,系统标签被置换为地址。When creating a control program, each link device is described using a system label, which is an identifier that uniquely identifies each link device, instead of using an address. This facilitates the creation of the control program and improves the readability of the control program. Furthermore, when compiling the control program to create an object code, the system label is replaced with an address.
对于控制装置2,唯一地确定控制装置2的站点编号被设定为“1”。控制装置2是对控制装置3及4进行管理的管理站点。对于控制装置3,唯一地确定控制装置3的站点编号被设定为“2”。控制装置3是由控制装置2进行管理的常规站点。对于控制装置4,唯一地确定控制装置4的站点编号被设定为“3”。控制装置4是由控制装置2进行管理的常规站点。对于网络N,唯一地确定网络N的网络编号被设定为“1”。For the control device 2, the station number that uniquely identifies the control device 2 is set to "1". The control device 2 is a management site that manages the control devices 3 and 4 . For the control device 3, the station number that uniquely identifies the control device 3 is set to "2". The control device 3 is a conventional station managed by the control device 2 . For the control device 4, the station number that uniquely identifies the control device 4 is set to "3". The control device 4 is a conventional station managed by the control device 2 . For the network N, the network number that uniquely identifies the network N is set to "1".
系统设计辅助装置5具有系统设计辅助工具6和存储部604,该系统设计辅助工具6生成系统标签列表,该系统标签列表具有作为识别符的多个系统标签,其中,为了在控制程序内对在控制装置2、3及4用于共享数据的共享存储器空间内设定的多个链路设备进行记述而分别使用该识别符。作为系统设计辅助装置5,例示出个人计算机。The system design support device 5 has a system design support tool 6 for generating a system label list having a plurality of system labels as identifiers, and a storage unit 604. The control devices 2 , 3 , and 4 use the identifiers for describing a plurality of link devices set in the shared memory space for sharing data. A personal computer is exemplified as the system design support device 5 .
系统设计辅助工具6是通过由系统设计辅助装置5内的CPU601执行系统设计辅助程序而实现的。The system design support tool 6 is realized by the CPU 601 in the system design support device 5 executing a system design support program.
系统设计辅助工具6具有:系统结构图创建部10,其创建系统结构图30,该系统结构图30示出控制装置2、3及4的网络结构,包含对控制装置2、3及4各自唯一地进行确定的站点编号;以及项目创建部11,其创建分别具有用于对被控制装置进行控制的控制程序以及在控制程序的执行时或编译时进行参照的信息的项目31a、31b及31c。项目31a、31b及31c各自包含控制装置2,3或4的站点编号、和在执行控制程序的目标代码时进行参照的执行数据。The system design support tool 6 includes: a system configuration diagram creation unit 10 that creates a system configuration diagram 30 showing the network configurations of the control devices 2, 3, and 4, including and a project creation unit 11 that creates projects 31a, 31b, and 31c each having a control program for controlling a controlled device and information to be referred to when the control program is executed or compiled. Each of the items 31a, 31b, and 31c includes the station number of the control device 2, 3, or 4, and execution data to be referred to when executing the object code of the control program.
作为在控制程序的执行时或编译时进行参照的信息,例示出参数、对工作存储器区域进行规定的设备存储器、以及记述了控制装置2、3及4的多个端子与工业机械的连接的连接信息。Examples of information to be referred to at the time of execution or compilation of the control program include parameters, device memory that defines the work memory area, and connections that describe the connections between the multiple terminals of the control devices 2, 3, and 4 and industrial machinery. information.
另外,系统设计辅助工具6具有:项目分配部12,其将项目31a、31b及31c分别分配至系统结构图30内的控制装置;以及网络范围分配信息创建部13,其创建网络范围分配信息32,该网络范围分配信息32具有站点编号、链路设备的起始地址及最终地址这些条目,该链路设备是由多个控制装置2、3及4各自进行数据写入的共享存储器空间内的区域。In addition, the system design support tool 6 has: an item allocation unit 12 that allocates the items 31a, 31b, and 31c to the control devices in the system configuration diagram 30; and a network range allocation information creation unit 13 that creates network range allocation information 32 , the network range allocation information 32 has items such as the station number, the initial address and the final address of the link device, and the link device is in the shared memory space in which data is written by the plurality of control devices 2, 3 and 4 respectively area.
另外,系统设计辅助工具6具有系统标签列表创建部14,该系统标签列表创建部14以站点编号作为关键词(Key)对系统结构图30、网络范围分配信息32以及项目31a、31b及31c进行查对,创建系统标签列表33,该系统标签列表33具有唯一地确定链路设备的识别符即系统标签及唯一地确定链路设备的设备名这些条目。In addition, the system design support tool 6 has a system label list creation unit 14 that performs a system configuration diagram 30, network range allocation information 32, and items 31a, 31b, and 31c using the site number as a key (Key). After checking, a system label list 33 is created. The system label list 33 has entries such as a system label which is an identifier for uniquely specifying the link device and a device name for uniquely specifying the link device.
另外,系统设计辅助工具6具有:网络范围分配信息重复判定部15,其对网络范围分配信息的多个记录(record)的地址范围是否重复进行判定;第1系统标签列表变更部16,其追随于系统结构图30的变更,对系统标签列表33进行变更;以及第2系统标签列表变更部17,其追随于网络范围分配信息的变更,对系统标签列表33进行变更。In addition, the system design support tool 6 has: a network range allocation information duplication determination unit 15 that determines whether or not the address ranges of a plurality of records (records) of the network range allocation information overlap; a first system label list change unit 16 that follows Changes in the system configuration diagram 30 change the system label list 33; and the second system label list change unit 17 changes the system label list 33 following changes in the network range allocation information.
另外,系统设计辅助工具6具有:系统标签化对象选择部18,其从用户接收针对共享存储器空间内的系统标签创建对象区域的选择;以及网络范围分配计算反映部19,其根据系统结构图30对可使用的网络范围进行计算,反映至网络范围分配信息32。In addition, the system design assisting tool 6 has: a system labeling target selection unit 18 that receives a selection from the user for a system label creation target area in the shared memory space; The usable network range is calculated and reflected in the network range allocation information 32 .
存储部604对系统结构图30、项目31a、31b及31、网络范围分配信息32以及系统标签列表33进行存储,该系统结构图30由系统结构图创建部10创建,该项目31a、31b及31由项目创建部11创建,该网络范围分配信息32由网络范围分配信息创建部13创建,该系统标签列表33由系统标签列表创建部14创建。作为存储部604,例示出HDD(Hard Disk Drive)或SSD(Solid State Drive)。The storage unit 604 stores the system configuration diagram 30 created by the system configuration diagram creation unit 10, the items 31a, 31b, and 31, the network range assignment information 32, and the system label list 33. The items 31a, 31b, and 31 Created by the item creation unit 11 , the network range allocation information 32 is created by the network range allocation information creation unit 13 , and the system label list 33 is created by the system label list creation unit 14 . As the storage unit 604 , HDD (Hard Disk Drive) or SSD (Solid State Drive) are exemplified.
图3是表示实施方式1涉及的系统设计辅助工具的系统标签创建动作的流程图。首先,在步骤S100中,系统结构图创建部10进行系统结构图30的创建。3 is a flowchart showing a system label creation operation of the system design assistance tool according to the first embodiment. First, in step S100 , the system configuration diagram creation unit 10 creates a 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 showing a system configuration diagram according to Embodiment 1. FIG. When creating the system configuration diagram 30, first, the system configuration diagram creation unit 10 arranges the 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 site number "2" is set. The object 30c corresponds to the control device 4, and the site number "3" is set. Next, the system configuration diagram creation unit 10 arranges the object 30d connecting 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 the 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 again to Fig. 3, in step S102, the project creation part 11 carries out the establishment of the project 31a, 31b and 31c of each control device 2, 3 and 4, and the project distribution part 12 carries out the project 31a, 31b and 31c to the object 30a, 30b and the allocation of 30c.
图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 Embodiment 1. FIG. The item assignment unit 12 assigns the object 30e to the object 30a corresponding to the control device 2 based on the operator's operation input. The object 30e corresponds to the item 31a, and the item name "prj01" is set. The item assignment unit 12 assigns the object 30f to the object 30b corresponding to the control device 3 based on the operator's operation input. The object 30f corresponds to the item 31b, and the item name "prj02" is set. The item assignment unit 12 assigns the object 30g to the object 30c corresponding to the control device 4 based on the operator's operation input. The object 30g corresponds to the item 31c, and the item name "prj03" is set.
再次参照图3,在步骤S104中,网络范围分配信息创建部13进行网络范围分配信息的创建。Referring again to FIG. 3 , in step S104 , the network range allocation information creation unit 13 creates network range allocation information.
图6是表示实施方式1涉及的网络范围分配信息的图。网络范围分配信息32具有站点编号、由控制装置2、3及4各自进行数据写入的共享存储器空间内的区域即链路设备的起始地址及最终地址这些条目。FIG. 6 is a diagram showing network range allocation information according to Embodiment 1. FIG. The network range allocation information 32 has items such as a station number, a start address and a final address of a link device which 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 operator enters the site number, the start address and the end address of the link device in each entry of the network range allocation information 32 . In the network range assignment information 32, the station number "1", the start address "0x0000" and the end address "0x000F" of the control device 2 are input in the first line 32a. In addition, the station number "2", the start address "0x0010" and the end address "0x001F" of the control device 3 are input in the second line 32b. In addition, the station number "3", the start address "0x0020" and the end address "0x002F" of the control device 4 are input in the third line 32c.
因此,站点编号“1”的控制装置2进行数据写入的链路设备是从起始地址“0x0000”至最终地址“0x000F”为止的16字节。另外,站点编号“2”的控制装置3进行数据写入的链路设备是从起始地址“0x0010”至最终地址“0x001F”为止的16字节。另外,站点编号“3”的控制装置4进行数据写入的链路设备是从起始地址“0x0020”至最终地址“0x002F”为止的16字节。Therefore, the link device where the control device 2 of the station number "1" writes data is 16 bytes from the start address "0x0000" to the end address "0x000F". In addition, the link device to which the control device 3 of the station number "2" writes data is 16 bytes from the start address "0x0010" to the end address "0x001F". In addition, the link device where the control device 4 of the station number "3" writes data is 16 bytes from the start address "0x0020" to the end 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 checks the system structure diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c by using the site number as a keyword, thereby performing a system label Creation of Listing 33.
图7是表示实施方式1涉及的系统标签列表的图。系统标签列表33具有唯一地确定链路设备的识别符即系统标签、内置于控制装置的CPU名及唯一地确定链路设备的设备名这些条目。此外,系统标签列表33也可以辅助性地包含项目的项目名,但项目名并不是系统标签列表33的必备条目。FIG. 7 is a diagram showing a system label list according to Embodiment 1. FIG. The system label list 33 has items such as a system label which is an identifier for uniquely identifying a link device, a name of a CPU built in the control device, and a device name for uniquely identifying a link device. In addition, the system label list 33 may also supplementarily include item names of items, but the item names are not mandatory entries 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 performs data writing. The system label list creation unit 14 creates and arranges a system label, which is an identifier that uniquely identifies each link device, in the entry of the system label in each of the plurality of lines 33 a according to a preset creation rule.
在实施方式1中,预先设定的生成规则是将“起动_”这样的字符串、向该链路设备写入数据的控制装置的站点编号、“站点的开关”这样的字符串、以及由该控制装置写入数据的链路设备的序列号相结合的规则。In Embodiment 1, the preset generation rule is a character string such as "start_", the station number of the control device that writes data to the link device, a character string such as "switch of the station", and The control device writes data to the rules in conjunction with the serial numbers of the link devices.
在系统标签列表33中,在多个行33a的最开始的行的系统标签的条目,配置有通过系统标签列表创建部14生成的“起动_1站点的开关1”。另外,在多个行33a的最后的行的系统标签的条目,配置有通过系统标签列表创建部14生成的“起动_1站点的开关16”。In the system label list 33 , the “start_1 station switch 1 ” generated by the system label list creation unit 14 is placed in the entry of the system label in the first line of the plurality of lines 33 a. In addition, the “start_1 station switch 16 ” generated by the system label list creation unit 14 is arranged in the entry of the system label in the last line of the plurality of lines 33 a.
另外,系统标签列表创建部14在多个行33a的各行中,在CPU名的条目,配置在控制装置2内置的CPU名“CPU01”。另外,系统标签列表创建部14在多个行33a的各行中,在设备名的条目配置对各链路设备唯一地进行确定的设备名。In addition, the system label list creation unit 14 arranges the CPU name "CPU01" built in the control device 2 in the entry of the CPU name in each of the plurality of rows 33a. In addition, the system label list creation unit 14 arranges a device name uniquely identifying each link device in each of the plurality of rows 33 a in the device name entry.
在系统标签列表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. The system label list creation unit 14 creates and arranges a system label, which is an identifier that uniquely identifies each link device, in the entry of the system label in each of the plurality of lines 33b in accordance with a preset creation rule.
在系统标签列表33中,在多个行33b的最开始的行的系统标签的条目,配置有通过系统标签列表创建部14生成的“起动_2站点的开关1”。另外,在多个行33b的最后的行的系统标签的条目,配置有通过系统标签列表创建部14生成的“起动_2站点的开关16”。In the system label list 33 , the “start_2 station switch 1 ” generated by the system label list creation unit 14 is placed in the entry of the system label in the first line of the plurality of lines 33 b. In addition, the “start_2 station switch 16 ” generated by the system label list creation unit 14 is arranged in the entry of the system label in the last line of the plurality of lines 33 b.
另外,系统标签列表创建部14在多个行33b的各行中,在CPU名的条目,配置在控制装置3内置的CPU名“CPU02”。另外,系统标签列表创建部14在多个行33b的各行中,在设备名的条目配置对各链路设备唯一地进行确定的设备名。In addition, the system label list creation unit 14 arranges the CPU name "CPU02" built in the control device 3 in the entry of the CPU name in each of the plurality of rows 33b. In addition, the system label list creation unit 14 arranges a device name uniquely identifying each link device in each of the plurality of rows 33 b in the device name entry.
在系统标签列表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 performs data writing. The system label list creation unit 14 creates and arranges a system label, which is an identifier that uniquely identifies each link device, in the entry of the system label in each of the plurality of lines 33 c according to a preset creation rule.
在系统标签列表33中,在多个行33c的最开始的行的系统标签的条目,配置有通过系统标签列表创建部14生成的“起动_3站点的开关1”。另外,在多个行33c的最后的行的系统标签的条目,配置有通过系统标签列表创建部14生成的“起动_3站点的开关16”。In the system label list 33 , the “start_3 station switch 1 ” generated by the system label list creation unit 14 is placed in the entry of the system label in the first line of the plurality of lines 33 c. In addition, the “activation_3 station switch 16 ” generated by the system label list creation unit 14 is arranged in the entry of the system label in the last line of the plurality of lines 33 c.
另外,系统标签列表创建部14在多个行33c的各行中,在CPU名的条目,配置在控制装置4内置的CPU名“CPU03”。另外,系统标签列表创建部14在多个行33c的各行中,在设备名的条目配置对各链路设备唯一地进行确定的设备名。In addition, the system label list creation unit 14 arranges the CPU name "CPU03" built in the control device 4 in the entry of the CPU name in each of the plurality of rows 33c. In addition, the system label list creation unit 14 arranges a device name uniquely identifying each link device in the device name entry 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 assisting tool 6, the system label list creation unit 14 can check the system structure diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c using the site number as a keyword, and create a system label List 33. This eliminates the need for the operator to input each entry of the system label list 33 , so that input errors in the system label list 33 can be suppressed. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
此外,系统设计辅助工具6优选对系统标签列表33实施保护,以使得作业者不能通过表计算程序或文本编辑器对系统标签列表33进行变更。由此,作业者不能对系统标签列表33的各条目进行变更,因此能够抑制在系统标签列表33发生变更错误。因此,系统设计辅助工具6能够抑制控制程序进行预料外的动作的可能性,能够抑制被控制装置进行预料外的动作的可能性。In addition, 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. This prevents the operator from changing each entry in the system label list 33 , and thus it is possible to suppress the occurrence of a change error in the system label list 33 . Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
图8是表示实施方式1涉及的系统设计辅助工具的系统标签变更动作的流程图。在这里,以将站点编号为“3”的控制装置4替换为站点编号为“4”的新的控制装置的情况作为例子进行说明。8 is a flowchart showing a system label change operation of the system design assistance tool according to the first embodiment. Here, the case where the control apparatus 4 whose station number is "3" is replaced with the new control apparatus whose station number is "4" is demonstrated 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 replaces the object 30c corresponding to the control device 4 with the station number "3" shown in FIG. 3 with the object corresponding to the new control device with the station number "4". 30h.
图9是表示实施方式1涉及的系统结构图的图。系统结构图30是将与站点编号为“3”的控制装置4相对应的对象30c替换为与站点编号为“4”的新的控制装置相对应的对象30h的系统结构图。FIG. 9 is a diagram showing a system configuration diagram according to Embodiment 1. FIG. The system configuration diagram 30 is a system configuration diagram in which 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 item allocation part 12 changes the allocation of the item 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 Embodiment 1. FIG. The item assigning unit 12 assigns the object 30g to the object 30h corresponding to the new control device whose site number is "4" based on the operator's operation input. Object 30g corresponds to item 31c.
再次参照图8,在步骤S114中,网络范围分配信息创建部13进行网络范围分配信息的变更。Referring again to FIG. 8 , in step S114 , the network range allocation information creation unit 13 changes the network range allocation information.
图11是表示实施方式1涉及的网络范围分配信息的图。作业者进行将网络范围分配信息32的第3行32c的站点编号从“3”变更为“4”的输入。FIG. 11 is a diagram showing network range allocation information according to Embodiment 1. FIG. The operator performs an input to change the site number in the third row 32c of the network range allocation information 32 from "3" to "4".
再次参照图8,在步骤S116中,网络范围分配信息重复判定部15进行网络范围分配信息32的重复检查。具体地说,网络范围分配信息重复判定部15进行在网络范围分配信息32的各行的地址范围是否没有重复的检查。Referring again to FIG. 8 , in step S116 , the network range allocation information duplication determination unit 15 checks for duplication of the network range allocation information 32 . Specifically, the network range allocation information overlap determination unit 15 checks whether the address ranges in each line of the network range allocation information 32 do not overlap.
接下来,在步骤S118中,第1系统标签列表变更部16通过以站点编号为关键词对系统结构图30、网络范围分配信息32以及项目31a、31b及31c进行查对,由此进行系统标签列表33的变更。Next, in step S118, the first system label list changing unit 16 checks the system structure diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c by using the site number as a keyword, thereby performing a system label Changes to Listing 33.
图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 lines 33d are changed, and other lines 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 whose data is written by the new control device whose station number is "4". The first system label list changing unit 16 creates and arranges a system label, which is an identifier that uniquely identifies each link device, in the entry of the system label in each of the plurality of lines 33d according to a preset creation rule.
在系统标签列表33中,在多个行33d的最开始的行的系统标签的条目,配置有通过第1系统标签列表变更部16生成的“起动_4站点的开关1”。另外,在多个行33d的最后的行的系统标签的条目,配置有通过第1系统标签列表变更部16生成的“起动_4站点的开关16”。In the system label list 33 , the “start_4 station switch 1 ” generated by the first system label list changing unit 16 is arranged in the entry of the system label in the first line of the plurality of lines 33 d. In addition, the “activation_4 station switch 16 ” generated by the first system label list changing unit 16 is arranged in the entry of the system label in the last line of the plurality of lines 33 d.
另外,第1系统标签列表变更部16在多个行33d的各行中,在CPU名的条目,配置在站点编号为“4”的新的控制装置内置的CPU名“CPU04”。In addition, the first system label list change unit 16 arranges the CPU name "CPU04" built in the new control device whose station number is "4" in the entry of the CPU name in each of the plurality of rows 33d.
如上述所示,根据系统设计辅助工具6,第1系统标签列表变更部16能够以站点编号为关键词对系统结构图30、网络范围分配信息32以及项目31a、31b及31c进行查对,对系统标签列表33进行变更。由此,无需由作业者对系统标签列表33的各条目进行变更,因此能够抑制在系统标签列表33发生变更错误。因此,系统设计辅助工具6能够抑制控制程序进行预料外的动作的可能性,能够抑制被控制装置进行预料外的动作的可能性。As described above, according to the system design assisting tool 6, the first system label list change unit 16 can check the system configuration diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c by using the site number as a keyword, and The system label list 33 is changed. This eliminates the need for the operator to change each entry of the system label list 33 , and thus it is possible to suppress the occurrence of a change error in the system label list 33 . Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
此外,系统设计辅助工具6优选对系统标签列表33实施保护,以使得作业者不能通过表计算程序或文本编辑器对系统标签列表33进行变更。由此,作业者不能对系统标签列表33的各条目进行变更,因此能够抑制在系统标签列表33发生变更错误。因此,系统设计辅助工具6能够抑制控制程序进行预料外的动作的可能性,能够抑制被控制装置进行预料外的动作的可能性。In addition, 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. This prevents the operator from changing each entry in the system label list 33 , and thus it is possible to suppress the occurrence of a change error in the system label list 33 . Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
在上述中,以将站点编号为“3”的控制装置4替换为站点编号为“4”的新的控制装置的情况作为例子使用了图8的流程图,但接下来,将对链路设备进行了增减的情况作为例子而对图8的流程图进行说明。In the above, the case of replacing the control device 4 with the station number "3" with the new control device with the station number "4" was used as an example to use the flow chart of FIG. 8 , but next, the link device The case where increase and decrease are performed will be described with reference to the flowchart of FIG. 8 as an example.
在对链路设备进行了增减的情况下,由于系统结构没有变更,因此在步骤S110中,系统结构图创建部10不进行系统结构图30的变更。此外,在系统结构没有变更的情况下,也可以将步骤S110跳过。In the case where link devices have been increased or decreased, the system configuration diagram creation unit 10 does not change the system configuration diagram 30 in step S110 because the system configuration has not been changed. In addition, step S110 may also be skipped when the system configuration is not changed.
在对链路设备进行了增减的情况下,由于系统结构没有变更,因此在步骤S112中,项目分配部12不进行项目31a、31b及31c的向对象30a,30b及30c的分配变更。此外,在系统结构没有变更的情况下,也可以将步骤S112跳过。When link devices are increased or decreased, since the system configuration is not changed, the item allocation unit 12 does not change the allocation of the items 31a, 31b, and 31c to the objects 30a, 30b, and 30c in step S112. In addition, when the system configuration is not changed, step S112 may be skipped.
接下来,在步骤S114中,网络范围分配信息创建部13进行网络范围分配信息的变更。Next, in step S114, the network range allocation information creation unit 13 changes the network range allocation information.
图13是表示实施方式1涉及的网络范围分配信息的图。作业者在网络范围分配信息32中,在第1行32a的最终地址的条目输入“0x0010”。由此,站点编号“1”的控制装置2进行数据写入的链路设备扩大为从起始地址“0x0000”至最终地址“0x0010”为止的17字节。FIG. 13 is a diagram showing network range allocation information according to Embodiment 1. FIG. The operator enters "0x0010" in the entry of the final address in the first line 32a in the network range allocation information 32 . Thus, the link device to which the control device 2 of the station number "1" writes data is expanded to 17 bytes from the start address "0x0000" to the end address "0x0010".
另外,作业者在网络范围分配信息32中,在第2行32b的起始地址的条目输入“0x0011”。另外,作业者在网络范围分配信息32中,在第2行32b的最终地址的条目输入“0x001F”。由此,站点编号“2”的控制装置3进行数据写入的链路设备缩小为从起始地址“0x0011”至最终地址“0x001F”为止的15字节。In addition, the operator enters "0x0011" in the entry of the start address in the second line 32b in the network range allocation information 32 . In addition, the operator inputs "0x001F" in the entry of the final address in the second row 32b in the network range allocation information 32 . As a result, the link device where the control device 3 of the station number "2" writes data is reduced to 15 bytes from the start address "0x0011" to the final address "0x001F".
另外,作业者在网络范围分配信息32中,在第3行32c的起始地址的条目输入“0x0020”。另外,作业者在网络范围分配信息32中,在第3行32c的最终地址的条目输入“0x002E”。由此,站点编号“3”的控制装置4进行数据写入的链路设备缩小为从起始地址“0x0020”至最终地址“0x002E”为止的15字节。In addition, the operator inputs "0x0020" in the entry of the start address in the third line 32c in the network range allocation information 32 . In addition, the operator inputs "0x002E" in the entry of the final address in the third line 32c in the network range allocation information 32 . Thus, the link device where the control device 4 of the station number "3" writes data is reduced to 15 bytes from the start address "0x0020" to the end 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 checks the system structure diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c by using the site number as a keyword, thereby performing System label list 33 changes.
图14是表示实施方式1涉及的系统标签列表的图。站点编号为“1”的控制装置2的链路设备扩大为17字节,与此相伴,在图14所示的系统标签列表33中追加有行33e。FIG. 14 is a diagram showing a system label list according to the first embodiment. The link device of the control device 2 whose station number is "1" is enlarged to 17 bytes, and a line 33e is added to the system label list 33 shown in FIG. 14 accordingly.
另外,站点编号为“2”的控制装置3的链路设备缩小为15字节,与此相伴,在图13所示的系统标签列表33中,在行33f附加有取消线。此外,第2系统标签列表变更部17也可以将行33f删除。In addition, the link device of the control device 3 whose station number is "2" is reduced to 15 bytes, and accordingly, a cancel line is added to line 33f in the system label list 33 shown in FIG. 13 . In addition, the second system label list changing unit 17 may delete the row 33f.
另外,站点编号为“3”的控制装置4的链路设备缩小为15字节,与此相伴,在图14所示的系统标签列表33中,在行33g附加有取消线。此外,第2系统标签列表变更部17也可以将行33g删除。In addition, the link device of the control device 4 whose station number is "3" is reduced to 15 bytes, and a cancel line is added to the line 33g in the system label list 33 shown in FIG. 14 . In addition, 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 assisting tool 6, the second system label list change unit 17 can check the system configuration diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c by using the site number as a key word, and can identify the system The tag list 33 is changed. This eliminates the need for the operator to change each entry of the system label list 33 , and thus it is possible to suppress the occurrence of a change error in the system label list 33 . Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
此外,系统设计辅助工具6优选对系统标签列表33实施保护,以使得作业者不能通过表计算程序或文本编辑器对系统标签列表33进行变更。由此,作业者不能对系统标签列表33的各项目进行变更,因此能够抑制在系统标签列表33发生变更错误。因此,系统设计辅助工具6能够抑制控制程序进行预料外的动作的可能性,能够抑制被控制装置进行预料外的动作的可能性。In addition, 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. Accordingly, since the operator cannot change each item of the system label list 33 , it is possible to suppress the occurrence of a change error in the system label list 33 . Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
另外,系统设计辅助工具6能够由作业者从所有链路设备之中对系统标签化对象进行选择。In addition, the system design support tool 6 allows an operator to select a target for system labeling from among all link devices.
图15是表示实施方式1涉及的系统设计辅助工具的系统标签创建动作的流程图。在图15的流程图中,步骤S100、S102、S104及S106与图3所示的流程图相同,因此省略说明。15 is a flowchart showing a system label creation operation of the system design assistance tool according to the first embodiment. In the flowchart of FIG. 15 , steps S100 , S102 , S104 , and S106 are the same as those in the flowchart shown in FIG. 3 , and thus description thereof will be omitted.
在图15的流程图中,在步骤S104之后且在步骤S106之前,追加有步骤S105。In the flowchart of FIG. 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 among all link devices based on an operator's operation input. The operator can select a desired address range from among the address ranges described in the network range allocation information 32, thereby being able to select a system labeling target. In addition, the operator can select a desired object from among the objects arranged in the system configuration diagram 30 , thereby being able to select a system tagged object.
如上所述,根据系统设计辅助工具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 among all link devices based on an operator's operation input. Thus, the system design assistance tool 6 can create the system label list 33 containing 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的各种信息进行显示的显示装置。在通过网络而连接有其他装置的情况下,显示装置所使用的地址不能用于链路设备的地址。In addition, the system design support tool 6 can also calculate the address range that is the network range that can be used by the link device. For example, other devices may be connected to the control system 1 via a network in addition to the control devices 2 , 3 , and 4 . As another device, a display device capable of displaying various information of the control devices 2 , 3 , and 4 is exemplified. When other devices are connected via a network, the address used by the display device cannot be used as the address of the link device.
图16是表示实施方式1涉及的系统设计辅助工具的系统标签创建动作的流程图。在图16的流程图中,步骤S100、S102、S104及S106与图3所示的流程图相同,因此省略说明。16 is a flowchart showing a system label creation operation of the system design assistance tool according to the first embodiment. In the flow chart of FIG. 16 , steps S100 , S102 , S104 , and S106 are the same as those in the flow chart shown in FIG. 3 , and thus description thereof will be omitted.
在图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 an address range which is a network range usable by link devices 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 operator can input an entry into the network range allocation information 32 in step S104 while referring to the address range reflected in the network range allocation 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 address range, which is the network range that can be used by the link device, based on the information describing the network configuration in the system configuration diagram 30, and reflects it on the network Range Allocation Information 32 . Thus, the system design assistance tool 6 can suppress address conflicts between link devices and other devices. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
接下来,对本发明的对比例进行说明。Next, comparative examples of the present invention will be described.
图17是表示使用了对比例涉及的系统设计辅助装置的控制系统的结构的图。FIG. 17 is a diagram showing the configuration of a control system using a system design support device according to a comparative example.
控制系统51是使控制装置52、53及54与系统设计辅助装置55通过网络N1连接而构成的。The control system 51 is configured by connecting the control devices 52, 53, and 54 and the system design support device 55 through the 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”。For the control device 52, the station number that uniquely identifies the control device 52 is set to "1". The control device 52 is a management site that manages the control devices 53 and 54 . For the control device 53, the station number that uniquely identifies the control device 53 is set to "2". The control device 53 is a conventional station managed by the control device 52 . For the control device 54, the station number that uniquely identifies the control device 54 is set to "3". Control device 54 is a conventional station managed by control device 52 . For the network N1, the network number that uniquely identifies the network N1 is set to "1".
系统设计辅助装置55具有编程工具部56、表计算部57及存储部58。The system design support device 55 has a programming tool unit 56 , a table calculation 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 a programming tool program. The table calculation unit 57 is realized by the CPU in the system design support device 55 executing a table calculation program.
存储部58对通过编程工具部56创建的项目61、62及63、通过表计算部57创建的系统标签信息70进行存储。The storage unit 58 stores the items 61 , 62 , and 63 created by the programming tool unit 56 and the system label information 70 created by the table calculation unit 57 .
接下来,对系统设计辅助装置55的系统列表创建动作进行说明。Next, the system list creation operation of the system design support device 55 will be described.
首先,编程工具部56基于作业者的输入,在分配至作为管理站点的控制装置52的项目61内创建网络范围分配信息61a。此外,分别分配至作为常规站点的控制装置53及54的项目62及63不包含网络范围分配信息。First, the programming tool part 56 creates the network range allocation information 61a in the project 61 allocated to the control apparatus 52 as a management site based on the operator's input. In addition, items 62 and 63 respectively assigned to control devices 53 and 54 as normal stations do not contain network range assignment information.
图18是表示对比例涉及的项目内的网络范围分配信息的图。在项目61中,唯一地确定项目61的项目名被设定为“prj01”。网络范围分配信息61a具有站点编号、链路设备的起始地址及最终地址这些条目,该链路设备是由控制装置52、53及54各自进行数据写入的共享存储器空间内的区域。FIG. 18 is a diagram showing network range allocation information within a project according to a comparative example. In the item 61, the item name which uniquely identifies the item 61 is set as "prj01". The network range allocation information 61a has entries of a site number, a start address, and a final address of a link device which is an area in the shared memory space where data is written by each of the control devices 52 , 53 , and 54 .
作业者在网络范围分配信息61a的各条目输入站点编号、链路设备的起始地址和最终地址。在网络范围分配信息61a中,在第1行61a1输入有控制装置52的站点编号“1”、起始地址“0x0000”及最终地址“0x000F”。另外,在第2行61a2输入有控制装置53的站点编号“2”、起始地址“0x0010”及最终地址“0x001F”。另外,在第3行61a3输入有控制装置54的站点编号“3”、起始地址“0x0020”及最终地址“0x002F”。The operator enters the site number, the start address and the end address of the link device in each entry of the network range allocation information 61a. In the network range assignment information 61a, the station number "1", the start address "0x0000" and the end address "0x000F" of the control device 52 are input in the first line 61a1. In addition, the station number "2", the start address "0x0010" and the end address "0x001F" of the control device 53 are input in the second line 61a2. In addition, the station number "3", the start address "0x0020" and the end address "0x002F" of the control device 54 are input in the third line 61a3.
因此,站点编号“1”的控制装置52进行数据写入的链路设备是从起始地址“0x0000”至最终地址“0x000F”为止的16字节。另外,站点编号“2”的控制装置53进行数据写入的链路设备是从起始地址“0x0010”至最终地址“0x001F”为止的16字节。另外,站点编号“3”的控制装置54进行数据写入的链路设备是从起始地址“0x0020”至最终地址“0x002F”为止的16字节。Therefore, the link device where the control device 52 of the station number "1" writes data is 16 bytes from the start address "0x0000" to the end address "0x000F". In addition, the link device where the control device 53 of the station number "2" writes data is 16 bytes from the start address "0x0010" to the end address "0x001F". In addition, the link device where the control device 54 of the station number "3" writes data is 16 bytes from the start address "0x0020" to the end address "0x002F".
接下来,表计算部57基于作业者的输入,创建系统标签信息70。作业者一边参照通过工程设计工具部56创建出的网络范围分配信息61a,一边进行系统标签信息70的创建作业。Next, the table calculation unit 57 creates the system label information 70 based on the operator's input. The operator creates the system label information 70 while referring to the network range allocation information 61 a created by the engineering tool unit 56 .
图19是表示对比例涉及的系统标签信息的图。系统标签信息70具有唯一地确定链路设备的识别符即系统标签、内置于控制装置的CPU名及唯一地确定链路设备的设备名这些条目。此外,系统标签信息70也可以辅助性地包含项目的项目名,但项目名并不是系统标签信息70的必备条目。FIG. 19 is a diagram showing system label information related to a comparative example. The system label information 70 has items such as a system label which is an identifier for uniquely identifying a link device, a name of a CPU built in a control device, and a device name for uniquely identifying a link device. In addition, the system label information 70 may also supplementarily include the project name of the project, but the project name is not a mandatory 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 performs data writing. The operator enters a system label, which is an identifier for uniquely specifying each link device, in the entry of the system label in each of the plurality of lines 70a.
在系统标签信息70中,在多个行70a的最开始的行的系统标签的条目,由作业者输入有“起动_1站点的开关1”。另外,在多个行70a的最后的行的系统标签的条目,由作业者输入有“起动_1站点的开关16”。In the system label information 70 , the entry of the system label in the first line of the plurality of lines 70 a is entered by the operator as "switch 1 of the start_1 station". In addition, in the entry of the system label in the last line of the plurality of lines 70a, "start_1 station switch 16" is input by the operator.
另外,作业者在多个行70a的各行中,在CPU名的条目输入在控制装置52内置的CPU名“CPU01”。另外,作业者在多个行70a的各行中,在设备名的条目输入唯一地确定各链路设备的设备名。In addition, the operator inputs the CPU name "CPU01" built in the control device 52 into the entry of the CPU name in each of the plurality of rows 70a. In addition, the operator inputs a device name that uniquely specifies each link device in the entry of the device name in each of the plurality of rows 70a.
在系统标签信息70中,多个行70b各自与由控制装置53进行数据写入的链路设备的各字节相对应。作业者在多个行70b的各行中,在系统标签的条目输入唯一地确定各链路设备的识别符即系统标签。In the system label information 70 , each of the plurality of rows 70 b corresponds to each byte of the link device to which data is written by the control device 53 . The operator enters a system label, which is an identifier for uniquely specifying each link device, in the entry of the system label in each of the plurality of lines 70b.
在系统标签信息70中,在多个行70b的最开始的行的系统标签的条目,由作业者输入有“起动_2站点的开关1”。另外,在多个行70b的最后的行的系统标签的条目,由作业者输入有“起动_2站点的开关16”。In the system label information 70, the entry of the system label in the first line of the plurality of lines 70b is input by the operator with "start_2 station switch 1". In addition, the entry of the system label on the last line of the plurality of lines 70b is input by the operator with "start_2 station switch 16".
另外,作业者在多个行70b的各行中,在CPU名的条目输入在控制装置53内置的CPU名“CPU02”。另外,作业者在多个行70b的各行中,在设备名的条目输入唯一地确定各链路设备的设备名。In addition, the operator inputs the CPU name "CPU02" built in the control device 53 into the entry of the CPU name in each of the plurality of rows 70b. In addition, the operator enters a device name that uniquely specifies each link device in the entry of the device name in each of the plurality of rows 70b.
在系统标签信息70中,多个行70c分别与由控制装置54进行数据写入的链路设备的各字节相对应。作业者在多个行70c的各行中,在系统标签的条目输入唯一地确定各链路设备的识别符即系统标签。In the system label information 70 , a plurality of rows 70 c correspond to respective bytes of link devices to which data is written by the control device 54 . The operator enters a system label, which is an identifier for uniquely specifying each link device, in the entry of the system label in each of the plurality of lines 70c.
在系统标签信息70中,在多个行70c的最开始的行的系统标签的条目,由作业者输入有“起动_3站点的开关1”。另外,在多个行70c的最后的行的系统标签的条目,由作业者输入有“起动_3站点的开关16”。In the system label information 70, the entry of the system label in the first line of the plurality of lines 70c is input by the operator with "start_3 station switch 1". In addition, the entry of the system label on the last line of the plurality of lines 70c is input by the operator with "start_3 station switch 16".
另外,作业者在多个行70c的各行中,在CPU名的条目输入在控制装置54内置的CPU名“CPU03”。另外,作业者在多个行70c的各行中,在设备名的条目输入唯一地确定各链路设备的设备名。In addition, the operator inputs the CPU name "CPU03" built in the control device 54 into the entry of the CPU name in each of the plurality of rows 70c. In addition, the operator enters a device name that uniquely specifies each link device in the entry of the device name in each of the plurality of rows 70c.
接下来,编程工具部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 items 61, 62, and 63 based on the operator's input. The operator creates the system label lists 61 b , 62 b , and 63 b while referring to the system label information 70 created by the table calculation unit 57 .
图20是表示对比例涉及的项目内的系统标签列表的图。系统标签列表61b具有系统标签、CPU名及设备名这些条目。此外,系统标签列表61b也可以辅助性地包含项目的项目名,但项目名并不是系统标签列表61b的必备条目。作业者一边对通过表计算部57创建出的系统标签信息70内的多个行70a进行参照,一边输入系统标签列表61b的各条目的值。FIG. 20 is a diagram showing a list of system tags in a project according to a comparative example. The system label list 61b has entries of a system label, a CPU name, and a device name. In addition, the system label list 61b may also supplementarily include the project name of the project, but the project name is not a mandatory entry of the system label list 61b. The operator inputs the value of each entry of the system label list 61 b while referring to a plurality of rows 70 a in the system label information 70 created by the table calculation unit 57 .
图21是表示对比例涉及的项目内的系统标签列表的图。系统标签列表62b具有系统标签、CPU名及设备名这些条目。此外,系统标签列表62b也可以辅助性地包含项目的项目名,但项目名并不是系统标签列表62b的必备条目。作业者一边对通过表计算部57创建出的系统标签信息70内的多个行70b进行参照,一边输入系统标签列表62b的各条目的值。FIG. 21 is a diagram showing a list of system tags in a project according to a comparative example. The system label list 62b has entries of a system label, a CPU name, and a device name. In addition, the system label list 62b may also supplementarily include the project name of the project, but the project name is not a mandatory entry of the system label list 62b. The operator inputs the value of each entry of the system label list 62 b while referring to a plurality of rows 70 b in the system label information 70 created by the table calculation unit 57 .
图22是表示对比例涉及的项目内的系统标签列表的图。系统标签列表63b具有系统标签、CPU名及设备名的项目。此外,系统标签列表63b也可以辅助性地包含项目的项目名,但项目名并不是系统标签列表63b的必备条目。作业者一边对通过表计算部57创建出的系统标签信息70内的多个行70c进行参照,一边输入系统标签列表63b的各条目的值。FIG. 22 is a diagram showing a system label list in a project according to a comparative example. The system label list 63b has items of a system label, a CPU name, and a device name. In addition, the system label list 63b may also supplementarily include the project name of the project, but the project name is not a mandatory entry of the system label list 63b. The operator inputs the value of each entry of the system label list 63 b while referring to a plurality of rows 70 c in the system label information 70 created by the table calculation 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 system label information 70 and all the entries of the system label lists 61b, 62b, and 63b were input by the operator. Therefore, input errors easily 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 following situation may occur, that is, the control program in the items 61, 62, and 63 performs an unexpected action, and then the controlled device performs an unexpected action. outside action.
接下来,对系统设计辅助装置55的系统列表变更动作进行说明。Next, the operation of changing the system list by the system design support device 55 will be described.
首先,编程工具部56基于作业者的输入,对网络范围分配信息61a进行变更。First, the programming tool unit 56 changes the network range assignment 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 a project according to a comparative example. The operator changed the final address of the first row 61a1 of the network range allocation information 61a from "0x000F" to "0x0010". Therefore, the link device for data writing by the control device 52 of the site number "1" becomes the starting address " 0x0000" to the 17 bytes of the final address "0x0010".
接下来,作业者将网络范围分配信息61a的第2行61a2的起始地址从“0x0010”变更为“0x0011”。因此,站点编号“2”的控制装置53进行数据写入的链路设备成为从起始地址“0x0011”至最终地址“0x001F”为止的15字节。Next, the operator changes the start address of the second row 61a2 of the network range allocation information 61a from "0x0010" to "0x0011". Therefore, the link device to which the control device 53 of the station number "2" writes data is 15 bytes from the start address "0x0011" to the end address "0x001F".
接下来,作业者将网络范围分配信息61a的第3行61a3的最终地址从“0x002F”变更为“0x002E”。因此,站点编号“3”的控制装置54进行数据写入的链路设备成为从起始地址“0x0020”至最终地址“0x002E”为止的15字节。Next, the operator 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 of the station number "3" writes data is 15 bytes from the start address "0x0020" to the end address "0x002E".
接下来,表计算部57基于作业者的输入,对系统标签信息70进行变更。作业者一边参照通过工程设计工具部56变更后的网络范围分配信息61a,一边进行系统标签信息70的变更作业。Next, the table calculation unit 57 changes the system label information 70 based on the operator's input. The operator changes the system label information 70 while referring to the network range allocation 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 related to a comparative example. The link device to which the control device 52 writes data is changed from 16 bytes to 17 bytes, and the operator adds a row 70d accordingly. In the entry of the system label on line 70d, "start_1 station switch 17" is entered by the operator. In addition, "CPU01" is entered by the operator in the entry of the CPU name in row 70d. In addition, "J1¥B10" is input by the operator in the entry of the equipment name in row 70d.
另外,控制装置53进行数据写入的链路设备从16字节变更为15字节,与此相伴,作业者在行70e附加取消线。此外,作业者也可以将行70e删除。In addition, the link device to which the control device 53 writes data is changed from 16 bytes to 15 bytes, and accordingly, the operator adds a cancel line to line 70e. In addition, the operator can also delete row 70e.
另外,控制装置54进行数据写入的链路设备从16字节变更为15字节,与此相伴,作业者在行70f附加取消线。此外,作业者也可以将行70f删除。In addition, the link device to which the control device 54 writes data is changed from 16 bytes to 15 bytes, and accordingly, the operator adds a cancel line to line 70f. In addition, the operator can also delete line 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 items 61, 62, and 63 based on the operator's input. The operator performs the work of changing the system label lists 61 b , 62 b , and 63 b while referring to the system label information 70 created by the table calculation unit 57 .
图25是表示对比例涉及的项目内的系统标签列表的图。作业者通过表计算部57在系统标签信息70追加了行70d,与此相伴,在系统标签列表61b追加行61b1。FIG. 25 is a diagram showing a system label list in a project according to a comparative example. The operator adds a row 70d to the system label information 70 by the table calculation unit 57, and accordingly adds a row 61b1 to the system label list 61b.
图26是表示对比例涉及的项目内的系统标签列表的图。作业者通过表计算部57在系统标签信息70的行70e附加了取消线,与此相伴,在系统标签列表62b的行62b1附加取消线。此外,作业者也可以将行62b1删除。FIG. 26 is a diagram showing a system label list in a project according to a comparative example. The operator adds a cancel line to the row 70e of the system label information 70 by the table calculation unit 57, and accordingly adds a cancel line to the row 62b1 of the system label list 62b. In addition, the operator can also delete row 62b1.
图27是表示对比例涉及的项目内的系统标签列表的图。作业者通过表计算部57在系统标签信息70的行70f附加了取消线,与此相伴,在系统标签列表63b的行63b1附加取消线。此外,作业者也可以将行63b1删除。FIG. 27 is a diagram showing a list of system tags in a project according to a comparative example. The operator adds a cancellation line to the line 70f of the system label information 70 by the table calculation unit 57, and accordingly adds a cancellation line to the line 63b1 of the system label list 63b. In addition, the operator can also delete 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, a change error is likely to occur in the system label information 70 and the system label lists 61b, 62b, and 63b. If there is a change error in the system label information 70 and the system label lists 61b, 62b, and 63b, the following situation may occur, that is, the control program in the items 61, 62, and 63 performs an unexpected action, and then the controlled device performs an unexpected operation. outside action.
另一方面,根据实施方式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 Embodiment 1, the system label list creation unit 14 can check the system configuration diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c using the site number as a key. , create a system label list 33. This eliminates the need for the operator to input each entry of the system label list 33 , so that input errors in the system label list 33 can be suppressed. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
另外,根据系统设计辅助工具6,第1系统标签列表变更部16能够以站点编号作为关键词对系统结构图30、网络范围分配信息32以及项目31a、31b及31c进行查对,对系统标签列表33进行变更。由此,无需由作业者对系统标签列表33的各条目进行变更,因此能够抑制在系统标签列表33发生变更错误。因此,系统设计辅助工具6能够抑制控制程序进行预料外的动作的可能性,能够抑制被控制装置进行预料外的动作的可能性。In addition, according to the system design assisting tool 6, the first system label list changing unit 16 can check the system structure diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c by using the site number as a key, and can check the system label list 33 to make changes. This eliminates the need for the operator to change each entry of the system label list 33 , and thus it is possible to suppress the occurrence of a change error in the system label list 33 . Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
另外,根据系统设计辅助工具6,第2系统标签列表变更部17能够以站点编号作为关键词对系统结构图30、网络范围分配信息32以及项目31a、31b及31c进行查对,对系统标签列表33进行变更。由此,无需由作业者对系统标签列表33的各条目进行变更,因此能够抑制在系统标签列表33发生变更错误。因此,系统设计辅助工具6能够抑制控制程序进行预料外的动作的可能性,能够抑制被控制装置进行预料外的动作的可能性。In addition, according to the system design assisting tool 6, the second system label list changing unit 17 can check the system structure diagram 30, the network range allocation information 32, and the items 31a, 31b, and 31c by using the site number as a key, and can check the system label list 33 to make changes. This eliminates the need for the operator to change each entry of the system label list 33 , and thus it is possible to suppress the occurrence of a change error in the system label list 33 . Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
另外,根据系统设计辅助工具6,系统标签化对象选择部18能够基于作业者的操作输入,从所有链路设备之中对系统标签化对象进行选择。由此,系统设计辅助工具6能够创建只包含所需的链路设备的系统标签列表33。因此,系统设计辅助工具6能够抑制系统标签列表33的臃肿化,能够提高系统标签列表33的可读性。In addition, according to the system design support tool 6 , the system labeling target selection unit 18 can select a system labeling target from among all link devices based on an operator's operation input. Thus, the system design assistance tool 6 can create the system label list 33 containing only required 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能够抑制控制程序进行预料外的动作的可能性,能够抑制被控制装置进行预料外的动作的可能性。In addition, according to the system design support tool 6, the network range allocation calculation reflection unit 19 calculates the network range that can be used by link devices, that is, the address range based on the information describing the network configuration in the system configuration diagram 30, and reflects it in the network range allocation information32. Thus, the system design assistance tool 6 can suppress address conflicts between link devices and other devices. Therefore, the system design support tool 6 can suppress the possibility that the control program will perform unexpected operations, and can suppress the possibility that the controlled device will perform unexpected operations.
以上的实施方式示出的结构表示的是本发明的内容的一个例子,还能够与其他公知技术进行组合,也能够在不脱离本发明的主旨的范围省略、变更结构的一部分。The configuration shown in the above embodiments is an example of the content of the present invention, and can be combined with other known techniques, and a part of the configuration can be omitted or changed without departing from the gist of the present invention.
标号的说明Explanation of labels
1控制系统,2、3、4控制装置,5系统设计辅助装置,6系统设计辅助工具,10系统结构图创建部,11项目创建部,12项目分配部,13网络范围分配信息创建部,14系统标签列表创建部,15网络范围分配信息重复判定部,16第1系统标签列表变更部,17第2系统标签列表变更部,18系统标签化对象选择部,19网络范围分配计算反映部,30系统结构图,31a、31b、31c项目,32网络范围分配信息,33系统标签列表,601CPU,604存储部。1 Control System, 2, 3, 4 Control Device, 5 System Design Auxiliary Device, 6 System Design Auxiliary Tool, 10 System Structure Diagram Creation Department, 11 Project Creation Department, 12 Project Allocation Department, 13 Network Range Allocation Information Creation Department, 14 System Label List Creation Unit, 15 Network Range Allocation Information Duplication Judgment Unit, 16 First System Label List Change Unit, 17 Second System Label List Change Unit, 18 System Labeling Target Selection Unit, 19 Network Range Allocation Calculation Reflection Unit, 30 System structure diagram, 31a, 31b, 31c items, 32 network range allocation information, 33 system label list, 601 CPU, 604 storage unit.
Claims (7)
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 (2)
| Publication Number | Publication Date |
|---|---|
| CN107003649A true CN107003649A (en) | 2017-08-01 |
| CN107003649B CN107003649B (en) | 2019-05-03 |
Family
ID=56355704
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201580067188.4A Active CN107003649B (en) | 2015-01-08 | 2015-01-08 | System Design Aids |
Country Status (4)
| Country | Link |
|---|---|
| JP (1) | JP6076564B2 (en) |
| KR (1) | KR101918430B1 (en) |
| CN (1) | CN107003649B (en) |
| WO (1) | WO2016110983A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112020684A (en) * | 2018-04-25 | 2020-12-01 | 三菱电机株式会社 | Information processing device, system construction assistance method, and system construction assistance program |
| CN114096967A (en) * | 2019-07-03 | 2022-02-25 | 三菱电机株式会社 | Manufacturing System Design Aids |
Citations (5)
| 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 |
| CN102113370A (en) * | 2008-08-08 | 2011-06-29 | 高通股份有限公司 | Method and device for packet authentication in wireless communication system |
| 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 |
-
2015
- 2015-01-08 CN CN201580067188.4A patent/CN107003649B/en active Active
- 2015-01-08 JP JP2016555854A patent/JP6076564B2/en active Active
- 2015-01-08 WO PCT/JP2015/050399 patent/WO2016110983A1/en active Application Filing
- 2015-01-08 KR KR1020177017704A patent/KR101918430B1/en active Active
Patent Citations (5)
| 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 |
| CN102113370A (en) * | 2008-08-08 | 2011-06-29 | 高通股份有限公司 | Method and device for packet authentication in wireless communication system |
| 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 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112020684A (en) * | 2018-04-25 | 2020-12-01 | 三菱电机株式会社 | Information processing device, system construction assistance method, and system construction assistance program |
| CN112020684B (en) * | 2018-04-25 | 2022-04-15 | 三菱电机株式会社 | Information processing device, system construction assistance method, and nonvolatile storage device storing system construction assistance program |
| CN114096967A (en) * | 2019-07-03 | 2022-02-25 | 三菱电机株式会社 | Manufacturing System Design Aids |
| CN114096967B (en) * | 2019-07-03 | 2025-05-16 | 三菱电机株式会社 | Manufacturing system design aid |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2016110983A1 (en) | 2016-07-14 |
| KR101918430B1 (en) | 2018-11-13 |
| KR20170088966A (en) | 2017-08-02 |
| CN107003649B (en) | 2019-05-03 |
| JPWO2016110983A1 (en) | 2017-04-27 |
| JP6076564B2 (en) | 2017-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5619328B1 (en) | Sequence program creation support device | |
| JP6129457B2 (en) | Data editing apparatus, data editing method, and data editing program | |
| CN102782596A (en) | Control system provided with programmable display, programmable display, and drawing data creation means thereof | |
| CN109643096B (en) | Programmable logic controller system and computer-readable storage medium storing engineering design tool program | |
| JP6866663B2 (en) | Programmable controller system, programmable controller, support device, HCI device, redundant programmable controller system | |
| JP6292096B2 (en) | Programmable controller system and its support device | |
| JP5757098B2 (en) | Program creation support apparatus and program creation support method | |
| JP5849592B2 (en) | Programmable controller system, programming device thereof, programmable controller, program, and debugging method | |
| CN107003649A (en) | System design aided tool | |
| JP4319082B2 (en) | Programming system | |
| CN110637263B (en) | Monitoring support device, monitoring support method, and recording medium | |
| JP2011186607A (en) | Field device, setting method for the same, field device management method and program | |
| JP5978775B2 (en) | PROGRAMMABLE CONTROLLER, ITS SUPPORT DEVICE, PROGRAM, PROGRAM TRANSFER METHOD | |
| JP4760607B2 (en) | Programmable controller | |
| CN113348440A (en) | Drawing support device, display device, drawing support method, and computer program | |
| JP5207008B2 (en) | Program reorganization system and program reorganization method | |
| JP6020071B2 (en) | Programmable controller system, its support device, programmable controller | |
| JP4877257B2 (en) | Programmable controller, programmable controller support apparatus, and programmable controller system | |
| JP6505591B2 (en) | Programmable controller | |
| CN112748694B (en) | Control apparatus for industrial machine, setting system, setting method, and program product thereof | |
| JP6613696B2 (en) | Recipe setting system, recipe setting method and computer program | |
| JP4362777B2 (en) | Programming device, symbol automatic registration method, program, and recording medium | |
| CN117850662A (en) | Method, device, electronic device and storage medium for data updating | |
| CN107430385B (en) | Computing unit, engineering design tool and storage device storing engineering design tool program | |
| CN110249590A (en) | Route information generation device, route information generation method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |