CN102819231A - Control system design device - Google Patents

Control system design device Download PDF

Info

Publication number
CN102819231A
CN102819231A CN2012102112375A CN201210211237A CN102819231A CN 102819231 A CN102819231 A CN 102819231A CN 2012102112375 A CN2012102112375 A CN 2012102112375A CN 201210211237 A CN201210211237 A CN 201210211237A CN 102819231 A CN102819231 A CN 102819231A
Authority
CN
China
Prior art keywords
plc
network
sash
connecting path
information
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
Application number
CN2012102112375A
Other languages
Chinese (zh)
Other versions
CN102819231B (en
Inventor
御田村晃
仲井勘
上野雅之
石原智史
刀根让
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to CN201210211237.5A priority Critical patent/CN102819231B/en
Publication of CN102819231A publication Critical patent/CN102819231A/en
Application granted granted Critical
Publication of CN102819231B publication Critical patent/CN102819231B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a control system design device. The control system design device is connected with a PLC (programmable logic controller) in a control system, wherein the control system is composed of a plurality of programmable logic controllers (PLC) connected via a network, and the PLC is used as a starting PLC. Aiming at and according to the network structure information collected by the control system and each online connection route connected to each PLC in the control system, the configuration relation between the networks, the connection relation of the PLCs and coordinates of the PLCs are calculated and are displayed on a display section as objects.

Description

The Control System Design device
The application is based on the China national application number 200780053166.8 (international application no PCT/JP2007/061060) that proposed on May 31st, 2007 and applies for dividing an application of (Control System Design device), below quotes its content.
Technical field
The present invention relates to a kind of Control System Design device, it is assisted and carries out the setting and the management of system architecture connecting via network in the control system of a plurality of control device such as Programmable Logic Controller.
Background technology
Current, use Programmable Logic Controller (below be called PLC) production equipment to be controlled being used for.Use design apparatus to be connected and carry out that regulated procedure designs and maintenance with this PLC.Design apparatus normally moves through personal computer; Except the auxiliary generation that is used to make PLC carry out the program of controlling; Also has following function; That is, the personal computer that moves design apparatus is connected with PLC, and the state that PLC controls is sent or kept watch on to the program that generates to PLC.
Each PLC has substrate (backboard (backplane)), on this substrate, installs to be used for the communication unit that network connects.Through between communication unit, connecting, and construct the control system of forming by a plurality of PLC via communication loops such as cables.In the larger control system of production equipment, use a large amount of PLC, the structure of the network that connects between these PLC is also become complicated.
The device that in above-mentioned design apparatus, has following type, it can generate the network structure of control system under off-line state, carry out graphic presentation, and utilizes this graphic presentation to carry out the supervision of PLC or carry out program transmission etc. to PLC.But, in having the control system of labyrinth, there is the PLC of a plurality of identical type sometimes, in design apparatus institute picture displayed, can't distinguish the PLC that sets.Thus, proposition is a kind of to giving prominence to technique for displaying (for example with reference to patent documentation 1) as the PLC that keeps watch on or set object.
Patent documentation 1: the spy opens the 2006-277734 communique
Summary of the invention
But; In patent documentation 1, the user of design apparatus based on the network structure of reality, disposes through on design apparatus, carrying out PLC in advance; In each PLC, setting value is set, and under off-line state, generated the network structure of control system and the information of system architecture.Under the situation of the information of the system architecture of the network structure of the control system of generating structure complicacy and PLC, generation possibly make the such problem points that make a mistake such as connection between PLC under off-line state.
In addition; In patent documentation 1; Though can give prominence to the position of demonstration as the PLC of object, be used for design apparatus begins to carry out to the PLC as object the best connecting path of information transmission from the position that is connected method for for example obtaining, not open.
And in the control system that constitutes in that a plurality of networks are connected, in the PLC between network and network, setting is used for crossing over a plurality of networks and carries out the routing parameter that data transmit.But, have this routing parameter of third party's indigestion is to be used for which request source which request target carrying out the problem points that instantaneous (transient) transmits to from.In addition, under the situation of existing control system structure being appended change or construct under the situation of new control system, manually carry out the calculating of routing parameter, have the difficult problem points of this calculating by the system and arranging person.
The present invention puts to propose in view of the above problems; Its purpose is to obtain a kind of Control System Design device; It can be collected network structure in the existing control system of being made up of a plurality of PLC and the system architecture of PLC, automatically should constitute with graphical demonstration.
In addition; The present invention also aims to obtain a kind of Control System Design device; It can generate with off-line state under the situation of network structure graphically, the best connecting path till automatically calculating from the position that becomes starting point to the PLC of the position that becomes target, and give prominence to demonstration.
And; The present invention also aims to obtain a kind of Control System Design device; Its in the situation of the structure of existing control system being appended change, or construct under the situation of new control system, also can easily set the routing parameter that comprises to PLC at interior network parameter.
To achieve these goals, Control System Design device involved in the present invention is characterised in that to have: communication unit, and it is connected with 1 control device in the control system, and wherein, this control system is formed by connecting a plurality of control device via network; Starting point control device designating unit, its said control device that will be connected with said communication unit is appointed as the starting point control device; On-line network structural information collector unit; It is via said communication unit, collects from the control device that constitutes said control system to comprise the control device structure that this control device has and the network that said control device connected in interior on-line network structural information; Display object coordinate Calculation unit; Its with the textural element of said control system as object; Calculating is used for the structure of each control device that obtains through said on-line network structural information collector unit and the annexation between each control device and the network, uses object and is presented at coordinate required on the display unit; And system architecture display unit; It is according to the object and the said coordinate that calculate through said display object coordinate Calculation unit; The system architecture of said control system is presented on the said display unit, and said display object coordinate Calculation unit has: network sash configuration feature module, and it extracts network from said on-line network structural information; With the network sash of the network that extracts as rectangular shape, rule according to the rules disposes up and down; Control device sash configuration feature module; It is extraction control device from said on-line network structural information; Control device sash at the next configuration rectangular shape of the network sash that is connected with said control device; To network sash with annexation, between said control device sash and the said network sash to above the distribution sash of configuration rectangular shape, thereby generate the sash model; Sash size computing function module; It is according to the structural information of the said control device of said on-line network structural information; Calculate the size of the said control device sash in the said sash model; And and change relevant distribution sash and the size of network sash corresponding, thereby calculating sash size with the size of said control device; And sash coordinate Calculation functional module; It as benchmark, utilizes said sash size to calculate the coordinate of each sash in the said sash model assigned position of said sash model, and said network sash configuration feature module is classified the network that extracts by kind; Carry out following processing to sorted each network kind; That is, for control device that network is connected in, the network that the quantity of the control device that also is connected with field network or ratio are more; Just more to the next configuration; With the quantity or the more networks of ratio of the control device that only is connected with the other information systems network, just more to upper configuration, with also with other controller between the quantity or the more networks of ratio of the control device that is connected of network; Just more to upper configuration, the control device sash that said control device sash configuration feature module will be connected with same network closely is configured.
The effect of invention
According to the present invention; Have following effect, that is, and to the information of the system architecture of whole network structure of the control system formed by a plurality of opertaing devices such as PLC and control device; Collect through being connected with control system; Thereby can show graphically together with its annexation, can easily hold the system architecture integral body of the network and the control device of formation control system, and; Because the network structure information of collecting is shown with the network-order that the user is easy to hold, be easy to the network of formation control system and the system architecture integral body of control device are held.In addition, also have and be easy to effect that the whole state of system architecture of the network that constitutes control system and control device is held.
Description of drawings
Fig. 1 is the figure of an example that schematically representes the network structure of control system.
Fig. 2 is a block diagram of schematically representing the hardware configuration of Control System Design device.
Fig. 3 is the block diagram of functional structure of schematically representing the embodiment 1 of Control System Design device involved in the present invention.
Fig. 4-the 1st, the figure of an example of the structure of expression control system.
Fig. 4-the 2nd representes the figure of an example of the sash model (grid model) corresponding with Fig. 4-1.
Fig. 5-the 1st, the figure of an example of the structure of expression control system.
Fig. 5-the 2nd representes the figure of an example of the sash model corresponding with Fig. 5-1.
Fig. 6-the 1st, the figure of an example of the structure of expression control system.
Fig. 6-the 2nd representes the figure of an example of the sash model corresponding with Fig. 6-1.
Fig. 7-the 1st, the figure of an example of the structure of expression control system.
Fig. 7-the 2nd, the figure of an example of the structure of expression control system.
Fig. 7-the 3rd representes the figure of an example of the sash model corresponding with Fig. 7-1.
Fig. 7-the 4th representes the figure of an example of the sash model corresponding with Fig. 7-2.
Fig. 8 is a block diagram of schematically representing the functional structure of display object coordinate Calculation portion.
Fig. 9-the 1st, the process flow diagram (its 1) of an example of expression network structure information gathering treatment step.
Fig. 9-the 2nd, the process flow diagram (its 2) of an example of expression network structure information gathering treatment step.
Fig. 9-the 3rd, the process flow diagram (its 3) of an example of expression network structure information gathering treatment step.
Figure 10 is the figure that expression remains on an example of the connecting path information in the online connecting path maintaining part.
Figure 11 is the figure that is illustrated in an example of network structure information stored in the on-line network structural information storage part.
Figure 12 is the figure of an example of the expression network information restriction of collecting.
Figure 13 is the figure that the expression network information is exported an example of the relative importance value of handling.
Figure 14-the 1st, the process flow diagram of an example of expression display object coordinate Calculation treatment step.
Figure 14-the 2nd, the process flow diagram of an example of expression network sash configuration process step.
Figure 14-the 3rd, the process flow diagram of an example of expression PLC sash configuration process step.
Figure 14-the 4th, the process flow diagram of an example of expression sash size computing step.
Figure 14-the 5th, the process flow diagram of an example of expression sash coordinate Calculation treatment step.
Figure 15 is the result's of expression network sash configuration process figure.
Figure 16-the 1st, the process flow diagram of an example of expression PLC sash configuration process step.(its 1).
Figure 16-the 2nd, the process flow diagram of an example of expression PLC sash configuration process step.(its 2).
Figure 16-the 3rd, the process flow diagram of an example of expression PLC sash configuration process step.(its 3).
Figure 16-the 4th, the process flow diagram of an example of expression PLC sash configuration process step.(its 4).
Figure 16-the 5th, the process flow diagram of an example of expression PLC sash configuration process step.(its 5).
Figure 17 is the figure of an example of expression sash size result of calculation.
Figure 18 is the figure of expression sash coordinate Calculation result's a example.
Figure 19 is the process flow diagram of an example of expression system architecture display process step.
Figure 20 is the figure of an example of the system architecture information that in display part, shows through the system architecture display process of expression.
Figure 21 is the block diagram of hardware configuration of the display of the function of expression with Control System Design device.
Figure 22-the 1st schematically representes the block diagram of functional structure of the network sash configuration feature module of Control System Design device involved in the present invention.
Figure 22-the 2nd schematically representes the block diagram of the functional structure of PLC sash configuration feature module.
Figure 23-the 1st, the process flow diagram (its 1) of an example of the network sash configuration process step that expression this embodiment 2 is related.
Figure 23-the 2nd, the process flow diagram (its 2) of an example of the PLC sash configuration process step that expression this embodiment 2 is related.
Figure 23-the 3rd, the process flow diagram (its 3) of an example of the PLC sash configuration process step that expression this embodiment 2 is related.
Figure 24 is the result's of the related network sash configuration process of expression this embodiment 2 figure.
Figure 25-the 1st, the figure (its 1) of an example of the step of the PLC sash configuration process that expression this embodiment 2 is related.
Figure 25-the 2nd, the figure (its 2) of an example of the step of the PLC sash configuration process that expression this embodiment 2 is related.
Figure 25-the 3rd, the figure (its 3) of an example of the step of the PLC sash configuration process that expression this embodiment 2 is related.
Figure 25-the 4th, the figure (its 4) of an example of the step of the PLC sash configuration process that expression this embodiment 2 is related.
Figure 25-the 5th, the figure (its 5) of an example of the step of the PLC sash configuration process that expression this embodiment 2 is related.
Figure 26 is the result of expression with respect to Figure 25-5, calculates the result's of sash size and sash coordinate figure.
Figure 27 is the figure of an example of the system architecture information that shows through the system architecture display process of expression.
Figure 28 is the figure of other structure example of expression control system.
The figure of Figure 29 system architecture that to be expression show the control system of Figure 28 with the method for embodiment 1.
The figure of Figure 30 sash model that to be expression generate with the method for embodiment 2 for the control system of Figure 28.
Figure 31 is the figure of expression based on the system architecture of the control system of Figure 28 of the sash models show of Figure 30.
Figure 32 is the block diagram of functional structure of schematically representing the embodiment 3 of Control System Design device involved in the present invention.
Figure 33 is the process flow diagram of an example of expression connecting path display process step.
Figure 34-the 1st is illustrated in the figure (its 1) of an example of the step of the connecting path display process in the system architecture information display screen.
Figure 34-the 2nd is illustrated in the figure (its 2) of an example of the step of the connecting path display process in the system architecture information display screen.
Figure 34-the 3rd is illustrated in the figure (its 3) of an example of the step of the connecting path display process in the system architecture information display screen.
Figure 34-the 4th is illustrated in the figure (its 4) of an example of the step of the connecting path display process in the system architecture information display screen.
Figure 34-the 5th is illustrated in the figure (its 5) of an example of the step of the connecting path display process in the system architecture information display screen.
Figure 35 is the block diagram of functional structure of schematically representing the embodiment 4 of Control System Design device involved in the present invention.
Figure 36-the 1st, the process flow diagram (its 1) of an example of expression off line connecting path dissection process step.
Figure 36-the 2nd, the process flow diagram (its 2) of an example of expression off line connecting path dissection process step.
Figure 36-the 3rd, the process flow diagram (its 3) of an example of expression off line connecting path dissection process step.
Figure 37-the 1st, expression remains on the figure (its 1) of an example of the connecting path maintenance information in the off line connecting path maintaining part.
Figure 37-the 2nd, expression remains on the figure (its 2) of an example of the connecting path maintenance information in the off line connecting path maintaining part.
Figure 37-the 3rd, expression remains on the figure (its 3) of an example of the connecting path maintenance information in the off line connecting path maintaining part.
Figure 37-the 4th, expression remains on the figure (its 4) of an example of the connecting path maintenance information in the off line connecting path maintaining part.
Figure 37-the 5th, expression remains on the figure (its 5) of an example of the connecting path maintenance information in the off line connecting path maintaining part.
Figure 38 is the figure of the example of the related throughput model (throughput model) of expression this embodiment 4.
Figure 39 is the figure of an example of the display frame of expression off line connecting path.
Figure 40 is the figure of an example of the display frame of expression off line connecting path.
Figure 41 is the block diagram of functional structure of schematically representing the embodiment 5 of Control System Design device involved in the present invention.
Figure 42 is the process flow diagram of an example of the best connecting path computing step of expression.
Figure 43-the 1st, the figure (its 1) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-1 in expression as starting point PLC.
Figure 43-the 2nd, the figure (its 2) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-1 in expression as starting point PLC.
Figure 43-the 3rd, the figure (its 3) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-1 in expression as starting point PLC.
Figure 43-the 4th, the figure (its 4) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-1 in expression as starting point PLC.
Figure 43-the 5th, the figure (its 5) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-1 in expression as starting point PLC.
Figure 44-the 1st, the figure (its 1) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-2 in expression as starting point PLC.
Figure 44-the 2nd, the figure (its 2) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-2 in expression as starting point PLC.
Figure 44-the 3rd, the figure (its 3) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-2 in expression as starting point PLC.
Figure 44-the 4th, the figure (its 4) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-2 in expression as starting point PLC.
Figure 44-the 5th, the figure (its 5) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-2 in expression as starting point PLC.
Figure 45-the 1st, the figure (its 1) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-4 in expression as starting point PLC.
Figure 45-the 2nd, the figure (its 2) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-4 in expression as starting point PLC.
Figure 45-the 3rd, the figure (its 3) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-4 in expression as starting point PLC.
Figure 45-the 4th, the figure (its 4) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-4 in expression as starting point PLC.
Figure 45-the 5th, the figure (its 5) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-4 in expression as starting point PLC.
Figure 46-the 1st, the figure (its 1) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-5 in expression as starting point PLC.
Figure 46-the 2nd, the figure (its 2) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-5 in expression as starting point PLC.
Figure 46-the 3rd, the figure (its 3) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-5 in expression as starting point PLC.
Figure 46-the 4th, the figure (its 4) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-5 in expression as starting point PLC.
Figure 46-the 5th, the figure (its 5) of the connecting path data under the situation of connecting path dissection process is implemented PLC 10-5 in expression as starting point PLC.
Figure 47 is the figure of an example of the display frame of the best connecting path of expression.
Figure 48 is the figure that is illustrated in an example of the routing parameter of setting in the control system.
Figure 49 is the block diagram of functional structure of schematically representing the embodiment 6 of Control System Design device involved in the present invention.
Figure 50 is a block diagram of schematically representing the functional structure of routing parameter calculating part.
Figure 51-the 1st, the process flow diagram (its 1) of an example of expression routing parameter computing step.
Figure 51-the 2nd, the process flow diagram (its 2) of an example of expression routing parameter computing step.
Figure 52 is the figure of an example of the connecting path that is connected to each PLC in the control system of expression Figure 28.
Figure 53-the 1st, the routing parameter of in PLC, setting (its 1).
Figure 53-the 2nd, the routing parameter of in PLC, setting (its 2).
Figure 53-the 3rd, the routing parameter of in PLC, setting (its 3).
Figure 53-the 4th, the routing parameter of in PLC, setting (its 4).
Figure 54 is the block diagram of functional structure of schematically representing the embodiment 7 of Control System Design device involved in the present invention.
Figure 55-the 1st, the process flow diagram (its 1) of an example of rewriting treatment step in the expression parameter set.
Figure 55-the 2nd, the process flow diagram (its 2) of an example of rewriting treatment step in the expression parameter set.
Figure 56-the 1st, the figure (its 1) of the routing parameter behind the structure modify of expression control system.
Figure 56-the 2nd, the figure (its 2) of the routing parameter behind the structure modify of expression control system.
Figure 56-the 3rd, the figure (its 3) of the routing parameter behind the structure modify of expression control system.
Figure 56-the 4th, the figure (its 4) of the routing parameter behind the structure modify of expression control system.
Figure 57-the 1st, the process flow diagram (its 1) of an example of rewriting treatment step in the parameter set of a plurality of networks of expression.
Figure 57-the 2nd, the process flow diagram (its 2) of an example of rewriting treatment step in the parameter set of a plurality of networks of expression.
Figure 58-the 1st, the figure (its 1) of the routing parameter behind the structure modify of expression control system.
Figure 58-the 2nd, the figure (its 2) of the routing parameter behind the structure modify of expression control system.
Figure 58-the 3rd, the figure (its 3) of the routing parameter behind the structure modify of expression control system.
Figure 58-the 4th, the figure (its 4) of the routing parameter behind the structure modify of expression control system.
The explanation of symbol
10,10-1~10-13 PLC (Programmable Logic Controller)
11-1A~11-5B communication unit
12-3~12-5 input-output unit
13-3 sets up substrate
21 information systems internetting No.3
Network N o.1 between the 22A controller
Network N o.2 between the 22B controller
23 field networks (field network)
100 Control System Design devices
101,155 microprocessors
102,156 data storing storeies
103 COM1s
104,112,151 display parts
105,152 input parts
106,154 storage parts
107,157 buses
111 Department of Communication Forces
113 starting point PLC specifying part
114 on-line network structural information collection portions
115 online connecting path maintaining parts
116 on-line network structural information maintaining parts
117 display object coordinate Calculation portions
118 system architecture display parts
119 control parts
120 connecting path display parts
121 system architecture editorial offices
122 off line network structure information retaining section
123 connecting paths are resolved selection portion
124 throughput model maintaining parts
125 off line connecting path maintaining parts
126 best connecting path calculating parts
127 routing parameter calculating parts
150 displays
1171 sash models keep functional module
1172 network sash configuration feature modules
1173 PLC sash configuration feature modules
1174 sash size computing function modules
1175 sash coordinate Calculation functional modules
1271 connecting path reverse function modules
1272 transmit objective network sequence number abstraction function module
1273 relaying objective network sequence number abstraction function modules
1274 relaying targeted sites sequence number abstraction function modules
11721 other networks connect the PLC extraction unit
11722 network classification sequencing units
11731 PLC sashes configuration candidate extraction unit
11732 PLC sashes configuration candidate selected cell
Embodiment
Below, the preferred forms of present invention will be described in detail with reference to the accompanying related Control System Design device.In addition, the present invention and can't help these embodiments and limit.
Embodiment 1
In this embodiment 1; Describe to Control System Design device and Control System Design method; Wherein, this Control System Design device is from the control system of production equipment that a plurality of PLC are formed by connecting via network etc., collection network structural information and connecting path information under on line state; According to these network structure information and connecting path information, show the network structure of formation control system and the system architecture integral body of PLC.
Fig. 1 is the figure of an example that schematically representes the network structure of control system.This control system for example constitutes production equipment, has the structure that a plurality of PLC are connected via network.In this example; PLC 10-1,10-2 are connected with information systems internetting 21; Network 22A is connected between PLC10-1,10-3,10-4 and controller, and network 22B is connected between PLC 10-1,10-2,10-5 and controller, and PLC 10-4,10-5 are connected with field network 23.In addition, between controller, among the PLC 10-3 of network 22A, connect Control System Design device 100 involved in the present invention via USB (Universal Serial Bus) cable 30.
Here, so-called information systems internetting is meant the network that information processing terminal coexistence ground such as PLC and personal computer are connected, and can illustration go out Ethernet (registered trademark) etc.In addition, network is a PLC network connected to one another only between controller, the field network network that to be PLC be connected with the controlling object coexistence ground of PLC such as servomotor.Usually, network 22 constitutes in the loop by comparing communication speed with field network 23 faster between controller.In addition, can give the network sequence number to network 22 between information systems internetting 21 and controller, but can't give the network sequence number field network 23.In this Fig. 1, give network sequence number " No.1 " to network 22A between controller, give network sequence number " No.2 " to network 22B between controller, give network sequence number " No.3 " to information systems internetting 21.
On the substrate of PLC 10-1, be provided with the communication unit 11-1C that is used for communication unit 11-1A, the 11-1B that communicates via network 22A, 22B between controller and is used for communicating as communication unit via information systems internetting 21.
The PLC that will constitute network usually here, is called website.In addition, between controller, in the network, in website, in the website that particularly each website of network is managed between to controller, will be called admin site with the website that the information (master station counts) of managing how many websites keeps to self website sequence number.This admin site is provided with 1 in the network between 1 controller.In addition, between controller in the network in the website except that admin site, the website that keeps self website sequence number is called common website.In addition, communication unit 11 sign in the drawings that is used for communicating via network 22A, 22B between controller has following implication.For example under the situation of " M1-3 is logical "; " M " expression is used for the communication unit that communicates via network between controller; The network sequence number that " 1 " expression is given network between controller, the website sequence number of this PLC (communication unit 11) between the numeral after the hyphen "-" " 3 " expression controller in the network, last textual representation is admin site or common website; Under the situation of admin site, be denoted as " pipe ", under the situation of common website, be denoted as " leading to ".
In addition; At in the drawings sign of the communication unit 11 that is used for communicating, for example " E3-1 " via information systems internetting 21; " E " expression is used for the communication unit that communicates via information systems internetting; The network sequence number that " 3 " expression is given to information systems internetting, the website sequence number of this PLC (communication unit 11) in the numeral after the hyphen "-" " 1 " the expression information systems internetting.
Thus, communication unit 11-1A be with controller between the communication unit that is connected as the common website of website sequence number 3 of network 22A, communication unit 11-1B be with controller between the communication unit that is connected as the common website of website sequence number 2 of network 22B.In addition, communication unit E3-1 is the communication unit that is connected as website sequence number 1 with information systems internetting 21.
On the substrate of PLC 10-2, the communication unit 11-2B that is provided for the communication unit 11-2A that communicates via network 22B between controller and is used for communicating as communication unit via information systems internetting 21.Communication unit 11-2A be with controller between the communication unit that is connected as the admin site of website sequence number 1 of network 22B.In addition, communication unit 11-2B is the communication unit that is connected as website sequence number 2 with information systems internetting 21.
On the substrate of PLC 10-3, be provided for the communication unit 11-3 that communicates via network 22A between controller as communication unit.This communication unit 11-3 be with controller between the communication unit that is connected as the admin site of website sequence number 1 of network 22A.In addition, the substrate of PLC 10-3 is provided with input and output (I/O) unit 12-3, and subsidiary 2 input-output unit 12-3 are installed set up substrate 13-3.
On the substrate of PLC 10-4, except input-output unit 12-4, also be provided with the communication unit 11-4B that is used for the communication unit 11-4A that communicates via field network 23 and is used for communicating as communication unit via network 22A between controller.
Here; At in the drawings sign of the communication unit 11 that is used for communicating, for example " C home site " via field network 23; " C " expression is used for the communication unit that communicates via field network; Thereafter textual representation is home site or site-local, under the situation of site-local, further is attached to the website sequence number of this PLC (communication unit 11) in the field network at the back at it.In addition, home site and site-local are the addresses of website in the network at the scene, and home site is equivalent to Network Management website between controller, and site-local is equivalent to common website identically.
Thus, communication unit 11-4A is the communication unit that is connected as home site with field network 23, communication unit 11-4B be with controller between the communication unit that is connected as the common website of website sequence number 2 of network 22A.
In the substrate of PLC 10-5; Except input-output unit 12-5, also be provided with the communication unit 11-5B that is used for the communication unit 11-5A that communicates via field network 23 and is used for communicating as communication unit via network 22B between controller.Communication unit 11-5A is the communication unit that is connected as the site-local of website sequence number 1 with field network 23, communication unit 11-5B be with controller between the communication unit that is connected as the common website of website sequence number 3 of network 22B.
In addition, each PLC maintains and comprises the information substrate that in PLC, configures for PLC is moved, the connection network information relevant with network under this PLC and program in interior project information.Information substrate comprises following information, that is, be installed in the quantity (groove quantity) of the unit on the PLC substrate and be installed in the unit in each groove of substrate kind, be connected substrate on the relevant information of substrate of setting up.In addition, connect website sequence number in classification that the network information comprises the network under this PLC, network sequence number, the network, be that admin site or the classification of common website and master station count.In addition, in following explanation, with aforesaid substrate information be connected the content of the network information after comprehensive and be also referred to as system architecture information.
Fig. 2 is a block diagram of schematically representing the hardware configuration of Control System Design device.Control System Design device 100 is made up of information processing terminals such as personal computers, and it constitutes via bus 107 and is connected with: microprocessor 101, and it is used for carrying out based on program the processing (that is the processing of the setting of system architecture and management) of design tool; Data storing storer 102, it is used to store the ephemeral data of following this processing to produce; COM1 103, it is used for communicating with PLC10; Display part 104, it is used for display design instrument (window of tree-shaped or icon etc.); Input part such as keyboard and mouse 105; And storage part 106 such as hard disk unit, the data (that is the setting of system architecture) that its storage is set by design tool.
In the example of Fig. 1, this Control System Design device 100 is connected with PLC 10-3 via USB cable 30.And, after under the restriction stated, plc data relevant with control system and the information such as connecting path that are connected to each PLC 10 are collected, graphically display system architectures.
Fig. 3 is the block diagram of functional structure of schematically representing the embodiment 1 of Control System Design device involved in the present invention.The control part 119 that this Control System Design device 100 has Department of Communication Force 111, display part 112, starting point PLC specifying part 113, on-line network structural information collection portion 114, online connecting path maintaining part 115, on-line network structural information maintaining part 116, display object coordinate Calculation portion 117, system architecture display part 118 and controls above-mentioned each handling part.
Department of Communication Force 111 is connected with 1 PLC that constitutes control system, communicates.In addition, display part 112 is unit that the system architecture information that is generated by system architecture display part 118 is shown.In addition, Department of Communication Force 111 is corresponding to the communication unit in claims, and display part 112 is identically corresponding to display unit.
Starting point PLC specifying part 113 specifies this Control System Design device 100 with which PLC to be connected.By the processing that this starting point PLC specifying part 113 is carried out, for example can use the content of in No. 3587099 communique of Jap.P., being put down in writing.In addition, starting point PLC specifying part 113 is corresponding to the starting point control device designating unit in claims.
114 pairs in on-line network structural information collection portion comprises the system architecture information of the connection network information and information substrate and collects as the connecting path information that is connected to the connecting path of each PLC; Wherein, This connection network information illustrates to be made up of the network that PLC was connected of control system as starting point starting point PLC specifying part 113 specified PLC, and this information substrate illustrates the system architecture (being installed in the structure of the unit on the substrate) of PLC.In addition, also have following function, that is,, generate network structure is shown, promptly be connected the network information of the PLC on the network according to the system architecture information of collecting.In addition; With the connection network information of collecting and information substrate as plc data; The network that generates as network data, is stored in the on-line network structural information maintaining part 116, with the connecting path information storage of collecting in online connecting path maintaining part 115.In addition, this on-line network structural information collection portion 114 is corresponding to the on-line network structural information collector unit in claims.
That online connecting path maintaining part 115 remains on is employed in the processing of on-line network structural information collection portion 114, as the connecting path information that is connected to the connecting path of each PLC.Connecting path information illustrates from the communication path of PLC when certain PLC visits that is connected with this Control System Design device 100.
The connection network information that on-line network structural information maintaining part 116 will be collected by on-line network structural information collection portion 114 and information substrate and the network information that is generated by on-line network structural information collection portion 114 keep as network structure information.As stated; Connecting the network information is the information that the network that is connected with the PLC that constitutes control system is shown, information substrate be illustrate with each PLC be installed in the unit on the same substrate quantity (groove quantity), kind and attribute thereof, be connected setting up substrate and being installed in the information that this sets up element number, kind and attribute thereof on the substrate on this substrate.In addition, the network information is to comprise the attribute that sets in the PLC that constitutes network and the communication unit thereof in interior information.
The network structure information that 117 pairs in display object coordinate Calculation portion remains in the on-line network structural information maintaining part 116 reads; And analyze its content; Calculate the coordinate of each display object (being designated hereinafter simply as object), whole with the system architecture that is used to show the network that constitutes control system and PLC.This display object coordinate Calculation portion 117 is corresponding to the display object coordinate Calculation unit in claims.
System architecture display part 118 shows display object based on the coordinate that is calculated by display object coordinate Calculation portion 117 in display part 112.This system architecture display part 118 is corresponding to the system architecture display unit in claims.
Here, further be elaborated for display object coordinate Calculation portion 117.Display object coordinate Calculation portion 117 has following function, that is, and and as finally calculating the coordinate interstage before of carrying out the object of display process by system architecture display part 118, according to sash Model Calculation configuration information.
This sash model is meant the model that utilizes the configuration relation between the rectangular grid indicated object.Use network sash, PLC sash and these 3 kinds of sashes of distribution sash as the sash model here.
The network sash is the rectangular grid (sash) of expression network.About the network sash, do not dispose other sashes, under the situation that has a plurality of network sashes, the network sash is disposed up and down.
The PLC sash is the rectangular grid (sash) of expression PLC.The PLC sash below the network of network sash that PLC connected, with after the distribution sash stated dispose.This PLC sash is corresponding to the control device sash in claims.
The distribution sash is that expression is used for the rectangular grid (sash) with the distribution that connects between PLC and the network.The distribution sash is configured between network sash and the PLC sash, forms from the PLC sash only to extend to the top.
In addition, in addition, make be positioned at the PLC sash top of being appended the horizontal expansion of whole network sash, the bottom PLC sash of being appended to comprise.
The object lesson of sash model then, is described.Fig. 4-1~Fig. 7-the 4th, the figure of an example of example of the structure of expression control system and the sash model corresponding with it.In Fig. 4-2, the PLC 3 that will o.1 be connected with the network N shown in Fig. 4-1 is with the sash model representation.Shown in this Fig. 4-2, configuration PLC sash 3 disposes the distribution sash from this PLC sash 3 towards network sash 1 below network sash 1.
The PLC shown in Fig. 5-1 3 and network N o.1, under these 2 networks of No.2 situation about being connected, its sash model shown in Fig. 5-2, from PLC sash 3 and network configured sash 1 up and down and network sash 2 relatively to top configuration distribution sash.
Under 2 PLC 3,4 shown in Fig. 6-1 and situation that o.1 1 network N is connected, its sash model shown in Fig. 6-2, from about side by side 2 PLC sashes 3,4 of configuration respectively towards network sash 1 configuration distribution sash.At this moment, owing to shown in Fig. 6-1, on network sash No.1, be connected with 2 PLC 3,4, in Fig. 6-2, network sash 1 forms the shape of direction extension to the left and right, to comprise 2 PLC sashes 3,4.
Shown in Fig. 7-1 or Fig. 7-2, o.1 PLC 3 is connected with network N, and o.2 PLC 4 is connected with network N, PLC 5 and 2 network N o.1, under the No.2 situation about being connected, its sash model becomes the shape shown in Fig. 7-3 or 7-4.That is and since exist 2 network N o.1, No.2, so dispose 2 network sashes 1,2 along the vertical direction.Here, network sash 1 is configured in the top of network sash 2.In addition, because o.1 PLC 3 only is connected with network N,, dispose the distribution sash towards network sash 1 from PLC sash 1 so PLC sash 3 is configured between network sash 1 and the network sash 2.In addition, because o.2 PLC 4 only is connected with network N,, dispose the distribution sashes towards network sash 2 from PLC sash 4 so PLC sash 4 is configured in the below of network sash 2.In addition since PLC 5 and network N o.1, No.2 the two is connected, so PLC sash 5 is configured in the below of network sash 2, dispose the distribution sashes towards network sash 1 and network sash 2.In addition, network sash 1 forms the shape of direction extension to the left and right to comprise PLC sash 3,5, and network sash 2 forms the shape of direction extension to the left and right to comprise PLC sash 4,5.
Under such sash model rule, the coordinate of display object coordinate Calculation portion 117 calculating objects, this object constitute the control system of being carried out display process by system architecture display part 118 use sashes.
Fig. 8 is a block diagram of schematically representing the functional structure of display object coordinate Calculation portion.As shown in the drawing, display object coordinate Calculation portion 117 has the sash model and keeps functional module 1171, network sash configuration feature module 1172, PLC sash configuration feature module 1173, sash size computing function module 1174 and sash coordinate Calculation functional module 1175.
The sash model keeps 1171 pairs of functional modules to comprise the sash model that is configured through network sash configuration feature module 1172 and PLC sash configuration feature module 1173 and the sash size that calculates through sash size computing function module 1174 keeps at interior sash model.
The network structure information that network sash configuration feature module 1172 will remain in the on-line network structural information maintaining part 116 reads, and according to the internetwork configuration relation of this Context resolution, calculates the also sash model of configuration network.Its result is stored in the sash model to be kept in the functional module 1171.
The network structure information that PLC sash configuration feature module 1173 will keep in on-line network structural information maintaining part 116 reads, and according to the annexation between this Context resolution PLC and this network, calculates and dispose the sash model of PLC and distribution.At this moment, keep the sash model in the functional module 1171, configuration PLC sash and distribution sash to calculate and be stored in the sash model through network sash configuration feature module 1172.Then, its result being stored in the sash model keeps in the functional module 1171.In addition, this PLC sash configuration feature module 1173 is corresponding to the control device sash configuration feature module in claims.
Sash size computing function module 1174 keeps each sash, particularly PLC sash in the sash model in the functional module 1171 to remaining on the sash model; Use the information substrate of PLC corresponding in the on-line network structural information maintaining part 116, calculate the required size of demonstration of PLC.Here, employed sash model is meant the sash model that has disposed network sash, PLC sash and distribution sash.In addition, as information substrate, be utilized in the unit of installing on the corresponding PLC substrate number and kind thereof, have or not and set up substrate and be installed in this number of setting up the unit on the substrate and kind thereof.Then, its result being added on the sash model keeps in the sash model in the functional module 1171 and stores.
Sash coordinate Calculation functional module 1175 keeps the PLC sash in the sash model that comprises the sash size in the functional module 1171 for remaining on the sash model, begins to add the sash size in order and calculates the sash coordinate from upper left PLC sash.Then, the result who calculates is exported to system architecture display part 118 with the sash model.
Below, in having the Control System Design device 100 of said structure, handle to the display process of system architecture information to describe in order from the network structure information collecting.
(network structure information gathering processing)
(1) summary of handling
Fig. 9-1~Fig. 9-the 3rd, the process flow diagram of an example of expression network structure information gathering treatment step.At first, the user of Control System Design device 100 specifies this Control System Design device 100 which PLC to be connected (step S11) with through starting point PLC specifying part 113.Because this moment, appointed PLC became the starting point that network structure information is collected, so be called starting point PLC.
On-line network structural information collection portion 114 read-out system structural information (step S12) in the project information that appointed starting point PLC kept.In addition, simultaneously, export (step S13) by 114 pairs of connecting paths that are connected to this starting point PLC of on-line network structural information collection portion, as the connecting path information storage in online connecting path maintaining part 115.
Then; On-line network structural information collection portion 114 is from the system architecture information of among step S12, reading; Extract information substrate and be connected the network information (step S14), they are exported (step S15) as plc data to on-line network structural information maintaining part 116.Then, on-line network structural information collection portion 114 selects starting point PLC as process object PLC (step S16), and the A1 shown in the execution graph 9-2 handles (step S17).
Fig. 9-the 2nd is illustrated in the process flow diagram of the A1 processed steps among the step S17 of Fig. 9-1.At first, on-line network structural information collection portion 114 judges whether be directed against the all-network that starting point PLC is connected, and has carried out the A2 shown in Fig. 9-3 and has handled (step S31).Finish A1 and handle under the situation that A2 handles (situation) in that the all-network that is connected with PLC as object has been carried out, return the process flow diagram of Fig. 9-1 for being in step S31.
In addition, not the overall network that is connected with PLC as object is not being carried out under the situation (in step S31, being situation not) that A2 handles, proceed information gathering and judge (step S32) whether being directed against each network.For the judgement that the information gathering that could carry out this network is handled, be based on the predefined restriction of making to the scope of the information gathering processing that can carry out network and carry out.In addition; Under the situation that can proceed information gathering to each network (situation) for being in step S32; From the network that also the A2 of execution graph 9-3 does not handle, select the network (step S33) of 1 network as process object; To this network, (step S34) handled in the network information output shown in the execution graph 9-3.
Then,, under the situation that has the network that does not carry out the A2 processing as yet (situation), be back to step S33, repeat above-mentioned processing for being in step S35 to whether existing the network that does not carry out the A2 processing as yet to judge (step S35).On the other hand, under the situation that does not have the network that does not carry out the A2 processing as yet (in step S35, being situation not), finish A1 and handle, Fig. 9-1 is returned in processing.
In addition; In step S32; Under the situation that can't proceed information gathering to each network (in step S32, being situation not), utilize the plc data of having exported to generate the network information, export it to on-line network structural information maintaining part 116 (step S36) as network data.This network information will constitute the PLC of this network to each network and the information that in this PLC, sets gathers and obtains.
Fig. 9-the 3rd is illustrated in the process flow diagram of an example of the A2 processed steps among the step S34 of Fig. 9-2.In this A2 handles; On-line network structural information collection portion 114 at first from the project information that PLC kept of the admin site that is connected with network (between controller under the situation of network) or home site (under the situation of field network), reading system structural information (step S51).Then, from the connection network information of the system architecture information of reading, extract master station count (step S52).
Then, on-line network structural information collection portion 114 from the project information that each PLC kept that network is connected read-out system structural information (step S53).Then; From the system architecture information of reading, extract information substrate and be connected the network information (step S54); Utilize these information to generate the network information that will gather to the set information of the PLC that constitutes this network and obtain, export (step S55) to on-line network structural information maintaining part 116 as network data.
Then, all PLC that whether arrive corresponding to information gathering judge in on-line network structural information collection portion 114, have all exported data (step S56).All exporting corresponding to all PLC under the data conditions (situation) for being in step S56, finish with as the relevant A2 processing of the network of object, be back to the A1 processing of Fig. 9-2.In addition; All do not exporting as yet under the data conditions (in step S56, being situation not) corresponding to all PLC; The connecting path that is connected to each PLC is exported (step S57) to online connecting path maintaining part 115, and export the plc data (step S58) of each PLC that in step S54, extracts to on-line network structural information maintaining part 116.
Then, based on predetermined restricted, can proceed information gathering to network to each PLC to whether and judge (step S59).Under the situation that can carry out information gathering to network (situation) for being in step S59, the PLC that does not implement the A1 processing shown in Fig. 9-2 is selected as process object PLC (step S60), the A1 shown in the execution graph 9-2 handles (step S61).Then,, under the situation that has the PLC that does not carry out the A1 processing as yet (situation), return step S60, repeat above-mentioned processing for being in step S62 to whether existing the PLC that does not carry out the A1 processing as yet to judge (step S62).In addition, under the situation that does not have the PLC that does not carry out the A1 processing as yet (in step S62, being situation not), finish A2 and handle.In addition, in step S59, can't carry out also finishing A2 and handling under the situation (in step S59, being situation not) of information gathering to network.
Then, be back to Fig. 9-1, after the A1 of step S17 handled, the conformability of the data of 114 pairs of outputs of on-line network structural information collection portion was handled (step S18).Conformability as these data is handled; The following processing etc. of can giving an example out; That is,, in on-line network structural information maintaining part 116, exist under the situation of 2 parts of network datas according to restriction to same network; Handle, form 1 part so that this 2 piece of data is gathered to the network of network data.Thus, network structure information gathering is finished dealing with.
According to above-described processing; In online connecting path maintaining part 115; Stored the PLC that connected from the Control System Design device 100 connecting path information till each PLC of the network that can carry out information gathering; In on-line network structural information maintaining part 116, stored the network information that comprises the connection network information relevant and information substrate and constitute by each PLC in interior network structure information with each PLC of the network that can carry out information gathering.
(2) object lesson of handling
Because the summary that network structure information gathering is handled has been recorded and narrated in above-mentioned explanation, so the situation of the control system of the structure with Fig. 1 of giving an example describes the object lesson of this processing as follows.Figure 10 is the figure that representes to handle through network structure information gathering an example of the connecting path information in the online connecting path maintaining part that remains on, and Figure 11 is the figure that expression is stored in an example of the network structure information in the on-line network structural information reservoir identically.In addition, in above-mentioned Figure 10 and Figure 11, represent with the order that data generate.In addition, in these figure, network is not with label shown in Figure 1 but indicates with the form of " network kind+network sequence number ".
Shown in figure 10, " data category ", " title " that become terminal point PLC, " starting point PLC ", the expression that connecting path information comprises the stored data class of expression as " data 1 ", " data 2 " of the network of path midway or node (PLC) ...Here, n is a natural number, and what in " data (2n-1) " hurdle, write is network, and that in the hurdle of " data (2n) ", write is PLC.
In addition; Shown in figure 11, " data category ", the expression that network structure information comprises the stored data category of expression as the PLC of object " title " and expression to this PLC and according to " data 1 ", " data 2 " of the content of each data class defined ...Because as stated, network structure information by information substrate, connect the network information and the network information constitutes for these 3 kinds, so along with the difference of these data class, the content of stored data is different.
For example, under the situation of storage substrate information, in data category, store by " PLC substrate ", in each field, store the classification that is installed in the unit in each groove.Have under the situation of setting up substrate, also storing the classification that is installed in the unit in each groove of setting up substrate.In addition, storing under the situation that connects the network information, in data category, storing " PLC network ", in each field, storing and the relevant information of each communication unit of on the substrate of the PLC shown in " title ", being installed.In addition, under the situation of storage network information, in data category, store on " network ", in each field, store the information relevant with the communication unit of the PLC that is formed in the network shown in " title ".Here, store in order with the website sequence number.
(2-1) for starting point PLC
In Fig. 1, owing to Control System Design device 100 is connected with PLC 10-3, so at first the user is appointed as starting point PLC through the starting point PLC specifying part 113 of Control System Design device 100 with PLC 10-3.Thereafter, on-line network structural information collection portion 114 from the project information that starting point PLC kept that connects via USB cable 30, read-out system structural information, and the connecting path P3c that will be connected to starting point PLC is to online connecting path maintaining part 115 outputs.
Here; In the system architecture information of reading, comprise following information as information substrate, promptly; In groove 1, CPU element is installed; I/O unit 12-3 is installed in groove 2, NE 11-3 between controller is installed in groove 3, in the groove of setting up substrate 13-3 1,2, be separately installed with I/O unit 12-3.In addition, comprise following information as connecting the network information, that is, the network classification be between controller network N o.1, NE 11-3 is that the website sequence number is 1 admin site between controller, between controller network N master station o.1 to count be 3.
Thus; On-line network structural information collection portion 114 exports as connecting path information the content shown in the connecting path P3c of Figure 10 to online connecting path maintaining part 115, the content shown in the plc data P3b shown in Figure 11, the P3n is exported to on-line network structural information maintaining part 116.In addition, be that PLC 10-3 selects as process object with starting point PLC, the A1 shown in the execution graph 9-2 handles.
The network that (2-2) is connected with PLC 10-3
In with the A1 processing of PLC 10-3 as Fig. 9-2 of process object; For with controller that PLC 10-3 is connected between network N o.1 (22A); Because the A2 of execution graph 9-3 does not handle as yet, so can confirm to the restriction that network is proceeded information gathering to whether.Figure 12 is the restriction of information gathering is carried out in the figure of an example from expression to network.Since the network that is connected with the PLC 10-3 of Fig. 1 be between controller network N o.1 (22A) do not meet any restriction of Figure 12; O.1 (22A) selection is as the object of A2 processing so on-line network structural information collection portion 114 is with network N between controller, and the A2 shown in the execution graph 9-3 handles.
(2-3) o.1 for network N between controller
Network N is during o.1 (22A) handles as the A2 of Fig. 9-3 of process object between with controller; At first; On-line network structural information collection portion 114 from controller between the admin site that o.1 is connected of network N be the project information that kept of PLC 10-3, the read-out system structural information.But, here, owing to plc data P3b, the P3n among the Figure 11 in the system architecture information of having exported PLC 10-3, so need not to read once more.Thus because among the connection network information P3n in the system architecture information of admin site PLC (being PLC 10-3), comprise with controller between the master station of the PLC that o.1 connects of the network N relevant information of counting, so extract master station count " 3 ".
Then, on-line network structural information collection portion 114 is with the path of " between PLC 10-3 → controller network N o.1 → each website ", read-out system structural information from the object information that PLC kept of each website sequence number.That is,, newly collect the information of PLC 10-4 and PLC 10-1 here.
Then, on-line network structural information collection portion 114 generates the network information according to these information of extracting, exports to on-line network structural information maintaining part 116 as network data M1.Promptly; On-line network structural information collection portion 114 utilizes the information relevant with the communication unit 11-3 of PLC 10-3 that has been stored in the on-line network structural information maintaining part 116 and that extract and communication unit 11-1A PLC 10-4,10-1, information that 11-4B is relevant, generates the network N network information o.1 between controller that is directed against shown in the network data M1 of Figure 11.
Then; On-line network structural information collection portion 114 is to all data in the data of newly collecting relevant with PLC 10-4,10-1, to whether to online connecting path maintaining part 115 perhaps on-line network structural information maintaining part 116 exported data and judged.Here, any data of PLC 10-4,10-1 are all as yet to online connecting path maintaining part 115 and 116 outputs of on-line network structural information maintaining part.Thus; The path that to read separately PLC 10-4,10-1 is respectively as connecting path P4c, P1c; To online connecting path maintaining part 115 outputs; With the plc data of each PLC 10-4,10-1 respectively as information substrate P4b, P1b and connect network information P4n, P1n, to 116 outputs of on-line network structural information maintaining part.
Then, whether on-line network structural information collection portion 114 judges and can proceed information gathering to network to PLC 10-4, the 10-1 that carries out after the information gathering.In addition, here, can proceed the PLC that information gathering implements to judge to network to whether is PLC10-4 (website sequence number 2) and PLC 10-1 (website sequence number 3), from which PLC begins to handle and all can.That is the relative importance value that, does not have processing.In this example, be made as with the website numeric order and handle, after the processing of the PLC 10-4 that is directed against website sequence number 2 finishes, be directed against the processing of the PLC 10-1 of website sequence number 3.
(2-4)PLC?10-4
At first, for PLC 10-4, confirm whether can proceed information gathering to network according to restriction shown in Figure 12.Because PLC 10-4 does not meet the restriction of Figure 12, so PLC 10-4 is selected as process object, the A1 of execution graph 9-2 handles.
(2-4-1) A1 handles
In with the A1 processing of PLC 10-4 as process object; In the network that PLC 10-4 is connected; Network N data o.1 export in the on-line network structural information maintaining part 116 as network data M1 between controller; And carried out the A2 processing, do not handle but carry out A2 as yet for field network 23.Thus, on-line network structural information collection portion 114 utilizes Figure 12 to confirm whether can proceed to network the restriction of information gathering for field network 23.Here because and do not meet restriction, so field network 23 is selected as process object, the A2 of execution graph 9-3 handles.
(2-4-2) A2 handles
Then, in field network 23 is handled as the A2 of process object, be the project information that kept of PLC 10-4 from the home site PLC that is connected with field network 23, the read-out system structural information.But, because in the system architecture information of PLC 10-4, information substrate P4b exports with the data that are connected network information P4n, so need not to read once more.Thus, according to the connection network information P4n of the system architecture information of the home site PLC 10-4 that has exported, the master station that extracts the PLC that is connected with field network 23 count " 2 ".
Then, on-line network structural information collection portion 114 is with the path of " between PLC 10-3 → controller network N o.1 → PLC 10-4 → field network 23 → each website ", read-out system structural information from the project information that PLC kept of each website sequence number.That is,, newly collect the information of PLC 10-5 here.
(2-4-3) field network 23 → PLC 10-5
In the system architecture information of the PLC 10-5 that newly reads; Comprise following information as information substrate; That is, in groove 1, have CPU element, in groove 2, have I/O unit 12-5; In groove 3, have and be used for the communication unit 11-5A that communicates via field network 23, in groove 4, have the communication unit 11-5B that network 22B communicates between being used for via controller.In addition,, comprise the such information of field network 23, site-local 1 as connecting the network information, and between controller network N o.2, website sequence number 3, the such information of common website.And; On-line network structural information collection portion 114 is according to the system architecture information of these extractions and the system architecture information of having exported relevant with PLC 10-4; Generate the network information relevant, export to on-line network structural information maintaining part 116 as network data C shown in Figure 11 with field network 23.
Then, the PLC10-5 that on-line network structural information collection portion 114 collects to fresh information has exported data to whether to online connecting path maintaining part 115 or on-line network structural information maintaining part 116 and has judged.Here; Owing to do not export the data of PLC 10-5 as yet; So the path that will carry out reading is exported to online connecting path maintaining part 115 as connecting path P5c, plc data is exported to on-line network structural information maintaining part 116 as information substrate P5b and connection network information P5n.
Thereafter, on-line network structural information collection portion 114 is to the PLC10-5 that has carried out information gathering, confirms whether can proceed information gathering to network based on the restriction of Figure 12.Here, owing to meet restriction B, finish the A2 of field network 23 as process object handled.In addition, finish (2-4) PLC 10-4 is handled as the A1 of process object.
(2-5)PLC?10-1
Then, to PLC 10-1, confirm whether can proceed information gathering to network according to restriction shown in Figure 12.For PLC 10-1, owing to do not meet the restriction of Figure 12, so PLC 10-1 is selected as process object, the A1 of execution graph 9-2 handles.
In with the A1 processing of PLC 10-1 as process object, in the network that PLC 10-1 is connected, o.2 network N does not all carry out the A2 processing with information systems internetting No.3 as yet between controller.Thus, the relative importance value that on-line network structural information collection portion 114 sets based on benchmark is according to the rules selected the PLC as process object, and is handled.Figure 13 is the figure that the expression network information is exported an example of the relative importance value of handling.In this example, network 22A, 22B are set at the highest processing relative importance value between the highest controller of the possibility that will be connected with PLC, and the relative importance value of handling according to the order of field network 23, information systems internetting 21 reduces.
(2-6) network N is o.2 between the controller
According to network N between the relative importance value selection control of Figure 13 o.2 whether on-line network structural information collection portion 114 utilize Figure 12 to can confirm to the restriction that network is proceeded information gathering.Here owing to do not meet restriction, so with network N between controller o.2 as process object, the A2 of execution graph 9-3 handles.
O.2, during network N is handled as the A2 of process object between with this controller, on-line network structural information collection portion 114 from controller between the admin site that o.2 is connected of network N be the project information that kept of PLC 10-2, the read-out system structural information.Because in the connection network information in this system architecture information, comprise with controller between the master station of the PLC that o.2 connects of the network N relevant information of counting, so extract master station count " 3 ".
Thereafter; On-line network structural information collection portion 114 with " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → each website " path, read-out system structural information from the project information that PLC kept of each website sequence number.That is,, collect the information of PLC 10-2,10-5 here.
In the system architecture information of the PLC 10-2 that newly reads; Comprise following information as information substrate; Promptly; In groove 1, have CPU element, in groove 3, have the communication unit 11-2A that o.2 network N communicates between being used for via controller, in groove 2, have and be used for the communication unit 11-2B that communicates via information systems internetting No.3.In addition, as connect the network information comprise network N between controller o.2, the such information of website sequence number 1, admin site and information systems internetting No.3, website sequence number 2, the such information in IP address.
In addition; In the system architecture information of PLC 10-5, comprise following information as information substrate, promptly; In groove 1, has CPU element; In groove 2, have I/O unit 12-5, in groove 3, have and be used for the communication unit 11-5A that communicates via field network 23, in groove 4, have the communication unit 11-5B that o.2 network N communicates between being used for via controller.In addition, store the such information of field network, site-local 1 as connecting the network information, and between controller network N o.2, website sequence number 3, the such information of common website.
And; On-line network structural information collection portion 114 according to these system informations of extracting be stored in on-line network structural information maintaining part 116 in the plc data relevant with PLC 10-1; Generate to the network N network information o.2 between controller, export to on-line network structural information maintaining part 116 as network information M2.
Then, in the system architecture information that newly obtains through information gathering, the data of PLC 10-5 have been carried out data output, but the not output as yet of the data of PLC 10-2.Thus, the path that will carry out reading to PLC 10-2 is as connecting path P2c, to online connecting path maintaining part 115 outputs, with plc data as information substrate P2b and connect network information P2n, to 116 outputs of on-line network structural information maintaining part.
(2-7)PLC?10-2
For PLC 10-2, according to shown in Figure 12 restriction confirm whether can to network proceed information gathering thereafter.Because PLC 10-2 does not meet the restriction of Figure 12, so PLC 10-2 is selected as process object, the A1 of execution graph 9-2 handles.
In PLC 10-2 was handled as the A1 of process object, the information systems internetting No.3 in the network that is connected to PLC 10-2 as yet carried out A2 and handles.Thus, on-line network structural information collection portion 114 confirms whether can proceed information gathering to network according to the restriction of Figure 12.Here, owing to meet restriction C, so there is not to carry out the network of information gathering.Thus, utilize the plc data of PLC 10-2, in the scope that can generate, generate the network information, export to on-line network structural information maintaining part 116 as network data E3-2 to information systems internetting No.3.Thus, finish PLC 10-2 is handled as the A1 of process object.In addition, finish (2-6) o.2 network N between controller is handled as the A2 of process object.
(2-8) information systems internetting No.3
Then, for information systems internetting No.3, confirm whether can proceed information gathering to network according to restriction shown in Figure 12.Because information systems internetting 21 meets restriction C,, export to on-line network structural information maintaining part 116 as network data E3-1 so in the scope that can generate, generate the network information to information systems internetting No.3.Thus, finish (2-5) PLC 10-1 is handled as the A2 of process object.In addition, finish (2-2) PLC 10-3 is handled as the A1 of process object.
Thereafter, the conformability of the data of 114 pairs of outputs of on-line network structural information collection portion is handled.In this example, through whether proceeding the restriction C of Figure 12 of information gathering, make the network data relevant shown in figure 11 with information systems internetting No.3 to network, export respectively as network data E3-1 and E3-2.Thus, carry out they are gathered and form the processing of network data E3.Network structure information gathering is finished dealing with thus.
(PLC sash configuration process)
(1) summary of handling
Figure 14-1~Figure 14-the 5th, the process flow diagram of an example of expression display object coordinate Calculation treatment step.In addition, in following explanation, the coordinate Calculation of utilizing above-mentioned sash model to carry out display object is handled.
With reference to Figure 14-1, the summary of display object coordinate Calculation treatment step is described.At first, the network sash configuration feature module 1172 of display object coordinate Calculation portion 117 is utilized on the sash model and is stored in the network information in the on-line network structural information maintaining part 116, and rule is carried out network sash configuration process (step S111) according to the rules.
Then; PLC sash configuration feature module 1173 is utilized on the sash model and is stored in the information substrate in the on-line network structural information maintaining part 116, and rule is carried out the PLC sash configuration process (step S112) that PLC sash and distribution sash are configured according to the rules.In this PLC sash configuration process, dispose PLC sash and distribution sash to the network sash that in step S111, configures.The result of the PLC sash configuration process of the network sash configuration process of these steps S111 and step S112 is stored in the sash model and keeps in the functional module 1171.
Thereafter, sash size computing function module 1174 is calculated the size of each sash based on information substrate and the predetermined rule that is used to dispose sash, its result is stored in the sash model keeps in the functional module 1171 (step S113).In addition, sash coordinate Calculation functional module 1175 keeps the sash size in the functional module 1171 based on being stored in the sash model, calculates the coordinate (step S114) that is used on display part 112, showing sash, and the display object coordinate Calculation is finished dealing with.
Below, describe to the detailed content of the processing in each step shown in Figure 14-1.Figure 14-the 2nd, the process flow diagram of an example of expression network sash configuration process step.At first, network sash configuration feature module 1172 network datas with reference to on-line network structural information maintaining part 116 of display object coordinate Calculation portion 117 are extracted network (step S131).
Then, the network that extracts is begun from the top to sort in order (step S132) with the network sequence number, the field network that does not have the network sequence number is sorted to the next (step S133).Then, the arranged in order network sash (step S134) according to ordering is accomplished is stored in the sash model with its result and keeps in the functional module 1171, and network sash configuration process is accomplished.
Figure 14-the 3rd, the process flow diagram of an example of expression PLC sash configuration process step.PLC sash configuration feature module 1173 is extracted PLC (step S151) from the information substrate of on-line network structural information maintaining part 116.Then, from the PLC that extracts, be chosen in the network sash configuration process of step S111 and be configured in the most the next network (step S152).Then, the PLC (step S153) that selection is connected with selected network is from wherein selecting the minimum PLC (step S154) of website sequence number.Then, begin, dispose selected PLC sash and distribution sash (step S155) in order continuously from the sash of the left downside of the network sash among step S152, selected.At this moment, configuration distribution sash between PLC sash and network sash.In addition, the PLC sash not only with the network of in step S152, selecting, also with situation that other network is connected under, to top configuration distribution sash till arriving this network.
Thereafter, to PLC that the network of in step S152, selecting is connected in whether exist other PLC to judge (step S156).Under the situation that has other PLC (situation) for being among the step S156; Select website sequence number time little PLC (step S157); Return step S155, before the PLC that is connected with the network of in step S152, selecting all is configured, repeat identical processing.
In addition, in step S156, do not exist under the situation (in step S156, being situation not) of other PLC, whether existing other network to judge (step S158).Under the situation that has other network (situation) for being in step S158; Selection is configured in time the next network (step S159) through the network sash configuration process of step S111; Return step S153; Before the network that is configured in upper has been carried out the configuration of PLC sash and distribution sash, repeat above-mentioned processing.In addition, under the situation that does not have other network (in step S158 for not situation), the configuration result of PLC sash and distribution sash is stored in the sash model keeps in the functional module 1171 (step S160) completion of PLC sash configuration process.
Figure 14-the 4th, the process flow diagram of an example of expression sash size computing step.At first, sash size computing function module 1174 keeps selecting 1 PLC sash (step S171) in the sash model the functional module 1171 from being stored in the sash model.Then; To with the corresponding PLC of selected PLC sash; From on-line network structural information maintaining part 116, read information substrate, calculate comprising that the PLC sash of setting up information substrate shows required longitudinal size and lateral dimension (step S172).Here, 1 unit with minimum dimension that is installed on the substrate is represented as reference cell and with rectangle, with being installed in the unit on the substrate and setting up substrate and calculate with the multiple of this reference cell.For example, if the size of the above-below direction of reference cell (below be called vertically) is made as 10, the size of left and right directions (below be called laterally) is made as 10, and then under the situation that 3 unit are installed on the substrate, longitudinal size is 10, and lateral dimension becomes 30.In addition, be equipped with under the situation of setting up substrate, describing owing to being stacked in vertically to go up, so longitudinal size extends to 20.
Thereafter, whether sash size computing function module 1174 keeps existing other PLC sash to judge (step S173) in the sash model in the functional module 1171 for being stored in the sash model.Under the situation that has other PLC sash (situation) for being in step S173, return step S171, repeat above-mentioned processing, until there not being still non-selected PLC sash.
In addition, under the situation that does not have other PLC sash (in step S173, being situation not), sash size computing function module 1174 is selected 1 distribution sash (step S174) that is stored in the sash model maintenance functional module 1171.Selected distribution sash is calculated longitudinal size and lateral dimension (step S175)., make the longitudinal size of distribution sash become predefined setting here, make lateral dimension consistent with the lateral dimension of the PLC sash that is configured in this distribution sash bottom.
Thereafter, sash size computing function module 1174 keeps not existing other distribution sash to judge (step S176) in the sash model in the functional module 1171 for being stored in the sash model.Under the situation that has other distribution sash (situation) for being in step S176, return step S174, repeat above-mentioned processing, until there not being still non-selected distribution sash.
In addition, under the situation that does not have other distribution sash (in step S176, being situation not), sash size computing function module 1174 is selected 1 network sash (step S177) that is stored in the sash model maintenance functional module 1171.Selected network sash is calculated longitudinal size and lateral dimension (step S178)., make the longitudinal size of network sash become predefined setting here, lateral dimension is become comprise the size of the distribution sash that is configured in its underpart.
Thereafter, sash size computing function module 1174 keeps not existing other NE to judge (step S179) in the sash model in the functional module 1171 for being stored in the sash model.Under the situation that has other network sash (situation) for being in step S179, return step S177, repeat above-mentioned processing, until there not being still non-selected network sash.
In addition; Under the situation that does not have other network sash (in step S179, being situation not); Sash size computing function module 1174 will comprise the sash size that goes out through aforementioned calculation and be stored in the sash model maintenance functional module 1171 (step S180) at interior sash model, and the computing of sash size is accomplished.
Figure 14-the 5th, the process flow diagram of an example of expression sash coordinate Calculation treatment step.Sash coordinate Calculation functional module 1175 reads and is stored in the sash model and keeps the sash model (step S191) that has the sash size in the functional module 1171, begins to add the sash size in order from the upper left side of sash model and calculates sash coordinate (step S192).Thus, the sash coordinate Calculation is finished dealing with.
(2) object lesson of handling
Because in above-mentioned explanation, the summary that the display object coordinate Calculation is handled is recorded and narrated, so the situation of the control system of the structure with Fig. 1 of giving an example describes the object lesson of this processing as follows.In addition,, utilize the connecting path information of Figure 10 and the network structure information of Figure 11 here, carry out the coordinate Calculation of display object and handle.
(2-1) network sash configuration process
At first; The comparable data classification is network data M1, M2, C, the E3 of " network ", extract in the network structure information of the Figure 11 from be stored in on-line network structural information maintaining part 116 between controller network N o.1, between controller network N o.2, field network and information systems internetting No.3.
Then, the network that extracts is sorted according to the network numeric order.In this case; Begin from the network that is configured in the top, become in order by " between controller network N o.1 network N (22B) → information systems internetting No.3 (21) → field network (23) (bracket in numeral be the label among Fig. 1) o.2 between (22A) → controller ".Then, according to the arranged in order network sash after the ordering completion.Figure 15 is the result's of expression network sash configuration process figure.Under the state of this figure, become and only confirmed configuration relation up and down, do not confirm the state of left and right sides configuration relation.
(2-2) PLC sash configuration process
Figure 16-1~Figure 16-the 5th, the figure of an example of the step of expression PLC sash configuration process.Below, with reference to these Figure 16-1~Figure 16-5 and the configuration process of PLC sash is described.
At first, the PLC sash configuration feature module 1173 of display object coordinate Calculation portion 117 is from the on-line network structural information maintaining part 116 of Figure 11, and extracting data category is connection network information P3n, P1n, P4n, P2n, the P5n of " PLC network ".
Then, from the connection network information of extracting, obtaining with in Figure 15, being configured in the most the next network is the PLC that field network is connected.Obtain PLC 10-4 (connecting network information P4n) and PLC 10-5 (being connected network information P5n) here.In these PLC 10-4 (home site) and PLC 10-5 (site-local 1); Less PLC begins to handle from the website sequence number, but here, owing to be field network; So handle home site at first, handle according to the website numeric order of site-local then.Thus, begin to handle from PLC 10-4.
PLC 10-4 sash and distribution sash are disposed in the lower left of the field network sash of Figure 15 continuously.In addition, shown in the connection network information P4n of Figure 11 since PLC 10-4 also with controller between network N o.1 be connected, so from PLC 10-4 sash begin to network N between controller o.1 sash also dispose distribution sash a.At this moment, make PLC 10-4 sash, each network sash consistent with the width of each distribution sash a.Its result is shown in Figure 16-1.
Then, carry out processing as the PLC 10-5 of site-local.PLC 10-5 sash and distribution sash b are disposed in the lower left of the field network sash of Figure 16-1 continuously.In addition, shown in the connection network information P5n of Figure 11 since PLC 10-5 also with controller between network N o.2 be connected, so from PLC 10-5 sash to network N between controller o.2 sash also dispose distribution sash b.At this moment, the transverse width that is positioned at the more upper network sash of field network extends, in PLC 10-4 sash and PLC 10-5 sash are included in.Its result is shown in Figure 16-2.Because the PLC that is connected with field network hereto, so the PLC sash in the network and the configuration process completion of distribution sash at the scene.
Then, select information systems internetting No.3, obtain the PLC (PLC 10-1,10-2) that is connected with this information systems internetting No.3 as the upper network that is configured in field network.To PLC 10-1 that is not configured as yet (connecting network information P1n, website sequence number 1) and PLC 10-2 (being connected network information P2n, website sequence number 2), carry out the configuration process of PLC sash here.Here, with from small to large order of website sequence number, be that the order of PLC 10-1 → PLC 10-2 is handled.
At first, PLC 10-1 sash and distribution sash c are disposed in the lower left of the information systems internetting No.3 of Figure 16-2 sash continuously.Because disposed configuration sash a, the b of PLC 10-4 and PLC 10-5 this moment in the bottom of information systems internetting No.3, so on the position on PLC 10-5 right side, dispose PLC 10-1 sash and distribution sash c.
, set following condition here, that is, preferentially make during configuration to be configured in more the next network to be configured, do not carry out the configuration that the configuration relation that is configured in more the next PLC sash is separated by the website numeric order.At this moment, owing to also carry out to the distribution that is configured in more upper network simultaneously, so in this network,, might not be configured by the website numeric order along with the difference of the situation that has disposed.
In addition, shown in the connection network information P1n of Figure 11 since PLC 10-1 also with controller between network N o.2, No.1 is connected, so from PLC 10-1 sash to network N between controller o.2 between sash and controller network N o.1 sash dispose distribution sash c.Its result is shown in Figure 16-3.
Then carry out the configuration process of time little PLC 10-2 sash of website sequence number.PLC10-2 sash and distribution sash d are disposed at the left downside of the information systems internetting No.3 of Figure 16-3 sash continuously.At this moment, distribution sash a, b, the c of PLC 10-4 sash, PLC 10-5 sash and PLC 10-1 sash in information systems internetting No.3, have been disposed.Thus, under above-mentioned restriction, at the right side of PLC 10-1 configuration PLC 10-2 sash and distribution sash d.In addition, shown in the connection network information P2n of Figure 11 since PLC 10-2 also with controller between network N o.2 be connected, so from PLC 10-2 sash to sash No.2 sash configuration distribution sash d between controller.Its result is shown in Figure 16-4.Because the PLC that is connected with information systems internetting No.3 hereto, so the configuration process of PLC sash among the information systems internetting No.3 and distribution sash is accomplished.
Then, as the upper network that is configured in information systems internetting No.3 and between selection control network N o.2, but with this controller between among the PLC (PLC 10-2,10-1,10-5) that o.2 is connected of network N, do not have as yet the not PLC of configuration.Thus, continue to select to be configured between its upper controller network N o.1.With this controller between among the PLC (PLC 10-3,10-1,10-4) that o.1 is connected of network N, the PLC of configuration is not PLC 10-3 (connecting network information P3n) as yet.Thus, carry out the configuration process of PLC sash and configuration sash e to this PLC 10-3.Under the situation of network between controller, usually can with admin site, common website irrespectively, with the website sequence number in order (less PLC begins in order from the website sequence number) handle.But, in this example and since with controller between network N o.1 be connected and as yet not the configuration process object be that PLC has only 1, so only carry out the configuration process of PLC10-3 here.
O.1, PLC 10-3 sash and distribution sash e network N between the controller of Figure 16-4 are disposed the lower left of sash continuously.At this moment; Network N disposes distribution sash a, the c of PLC 10-4,10-1 in o.1 between controller; But because sash therebetween is vacant, so after the lower left disposes continuously, become the situation that in this vacant sash, disposes PLC 10-3 sash and distribution sash e.Its result is shown in Figure 16-5.
Since with the PLC that o.1 is connected of network N between controller hereto, so PLC sash and the configuration process completion of distribution sash of network N in o.1 between controller.In addition, because o.1 network N is the network of upper between controller, so the configuration process of above PLC sash is accomplished.
(2-3) sash size computing
The sash size computing function module 1174 of display object coordinate Calculation portion 117 is calculated the size of each sash to the sash configuration result of Figure 16-5.Especially, to the PLC sash, utilize the information substrate of on-line network structural information maintaining part 116, the size that calculation display PLC is required.
At first, sash size computing function module 1174 is carried out the size calculating of PLC sash.For the calculating of this PLC sash, do not limit the order that begins to handle from which PLC.In this example, carry out the size of each PLC sash with the order of PLC 10-1~PLC 10-5 and calculate.
Sash size computing function module 1174 extracts and does not set up this information of substrate with reference to the information substrate P1b of the PLC 10-1 of the on-line network structural information maintaining part 116 of Figure 11, and the longitudinal size of sash is calculated as 30.Simultaneously, the groove number that from information substrate P1b, extracts substrate is " 4 " this information, and the lateral dimension of sash is calculated as 40.
To PLC 10-2 also identically, from information substrate P2b, extract and do not set up this information of substrate, the longitudinal size of sash is calculated as 30.In addition, the groove number that from information substrate P2b, extracts substrate is " 3 " this information, and the lateral dimension of sash is calculated as 30.
To PLC 10-3, from information substrate P3b, extract and have this information of the substrate of setting up, the longitudinal size of sash is calculated as 60.Simultaneously, the groove number that from information substrate P3b, extracts substrate is " 2 " this information for " 3 ", the groove number of setting up substrate, and the lateral dimension and the larger-size substrate of sash mated and be calculated as 30.
To PLC 10-4, from information substrate P4b, extract and do not set up this information of substrate, the longitudinal size of sash is calculated as 30.In addition, the groove number that from information substrate P4b, extracts substrate is " 4 " this information, and the lateral dimension of sash is calculated as 40.
To PLC 10-5 also identically, from information substrate P5b, extract and do not set up this information of substrate, the longitudinal size of sash is calculated as 30.Simultaneously, the groove number that from information substrate P5b, extracts substrate is " 4 " this information, and the lateral dimension of sash is calculated as 40.
, be extracted in vertical (distribution direction) go up arranged side by side PLC sash (on configuration relation, jointly enjoy the PLC sash of same lateral size), with the unified lateral dimension of lateral dimension of this PLC sash for bigger PLC sash thereafter.Here; To be 40 PLC 10-5 sash with lateral dimension go up arranged side by side in vertically (distribution direction) because lateral dimension is 30 PLC 10-3 sash; So the lateral dimension that the lateral dimension of PLC 10-3 sash is changed to PLC 10-5 sash promptly 40 is so that enjoy identical lateral dimension jointly.
Then, sash size computing function module 1174 is carried out the size calculating of distribution sash.At this moment, for the distribution sash, longitudinal size is made as fixed value 10, but lateral dimension has reflected the lateral dimension of the PLC sash of the bottom that is configured in each distribution sash.In addition, under the situation that transversely disposes PLC sash and distribution sash of distribution sash, the distribution sash is extended in the vertical with the corresponding amount of the total size of the longitudinal size of this PLC sash and distribution sash.
In addition, sash size computing function module 1174 is carried out the size calculating of network sash.Size for this network sash is calculated, and does not limit the order that begins to handle from which network.In this example, to begin to carry out in order size calculating from being configured in upper network sash.
At first, for network N between controller o.1, longitudinal size is made as fixed value 10,,, comprises them in interior size so form owing to thereunder dispose distribution sash a, e, the c that is connected to PLC 10-4,10-3,10-1 respectively for lateral dimension.That is because the lateral dimension of PLC 10-4 sash, PLC 10-3 sash and PLC 10-1 sash is respectively 40,40,40, so between controller network N o.1 the lateral dimension of sash become 120 (=40+40+40).
In addition; For network N between controller o.2 also identically, longitudinal size is made as fixed value 10, for lateral dimension; Owing to thereunder dispose distribution sash b, c, the d that is connected to PLC 10-5,10-1,10-2 respectively, comprise them in interior size so form.That is because the lateral dimension of PLC 10-5 sash, PLC 10-1 sash and PLC 10-2 sash is respectively 40,40,30, so between controller network N o.2 the lateral dimension of sash become 110 (=40+40+30).
And, for information systems internetting No.3 also identically, longitudinal size is made as fixed value 10, for lateral dimension,, comprise them in interior size so form owing to thereunder dispose distribution sash c, the d that is connected to 10-1,10-2 respectively.That is because the lateral dimension of PLC10-1 sash and PLC 10-2 sash is respectively 40,30, so the lateral dimension of information systems internetting No.3 sash become 70 (=40+30).
In addition, for field network also identically, longitudinal size is made as fixed value 10,,, comprises them in interior size so form owing to thereunder dispose distribution sash a, the b that is connected to 10-4,10-5 respectively for lateral dimension.That is because the lateral dimension of PLC 10-4 sash and PLC 10-5 sash is respectively 40,40, so the lateral dimension of field network sash become 80 (=40+40).
Figure 17 is the figure of an example of expression sash size result of calculation.This Figure 17 writes The above results in the sash configuration result of Figure 16-5 to form.Its result is stored in the sash model to be kept in the functional module 1171.Above sash size computing is accomplished.
(2-4) the sash coordinate Calculation is handled
The object coordinate Calculation functional module 1175 of display object coordinate Calculation portion 117 is carried out following processing; Promptly; Read and be stored in the sash model and keep the sash model that comprises sash size result of calculation in the functional module 1171, add the sash size in order and the sash coordinate is calculated with upper left beginning from the sash model.
Specifically, sash coordinate Calculation functional module 1175 is made as (0,0) with the coordinate in the upper left corner of the sash model of the Figure 17 that reads, adds the size of each sash one by one for this coordinate position, and calculates the coordinate of each sash.Figure 18 is the figure of expression sash coordinate Calculation result's a example.This Figure 18 is that the coordinate with the upper left corner in the sash model of Figure 17 is made as (0,0), adds that each sash size obtains.In addition, in the figure, begin right-hand positive dirction as the x axle is begun the positive dirction of below as the y axle from initial point from initial point.
(system architecture display process)
Figure 19 is the process flow diagram of an example of expression system architecture display process step.At first, system architecture display part 118 extracts the network sash from the sash model with the sash coordinate that is calculated by display object coordinate Calculation portion 117, shows each network (step S211) based on its coordinate position., make assigned position and initial point (0, the 0) correspondence of sash model in the zone of the display system architectures on the display part 112 here,, describe network based on the sash coordinate of sash model from this some beginning.Network is described by line.In addition, show its title to each network.
Then, from the sash model, extract the PLC sash, show each PLC sash (step S212) based on its coordinate position.For this PLC sash, the object that is based on coordinate information (perhaps dimension information) the configuration rectangular shape that is comprised in the sash model forms.In addition, this moment is based on the information substrate of each PLC, the unit in each groove that is installed in substrate separated and shows, and carry out in this cut zone, showing the processing of this unit title.
Show line that each PLC with network be connected be distribution (step S213) thereafter.This is handled based on the information substrate in the on-line network structural information maintaining part 116, through with the communication unit of each PLC and with network that this communication unit is connected between the use line link and carry out.Thus, the system architecture display process is accomplished.In addition, will be presented on the display part 112 by the system architecture information that this system architecture display part 118 generates.
Figure 20 is the figure of an example of the system architecture information that on display part, shows through the system architecture display process of expression.In the example of this Figure 20; Through on the communication unit of each PLC with the website sequence number in other head literal of character string display network class and network sequence number, this network and be admin site (home site) or common website (site-local), make the affirmation of network parameter become easy.
In addition, when reading the project information that each PLC keeps,, then can the system architecture of they and Figure 20 be shown that stack ground shows if read its state (running-active status or diagnostic message).
According to this embodiment 1; Owing to utilize the network structure information of collecting from each PLC of the formation control system of reality; Automatically with the configuration relation of the annexation of the network in the analysable scope and PLC with graphic presentation, reduce such effect the man-hour of the picture that can make the system construction drawing that generates network so have.In addition, have and be easy to the network of the control system that constitutes production equipment etc. and the system architecture integral body of PLC are held such effect.And; Since form from PLC and must dispose distribution to the top, thus following effect had, promptly; Can easily differentiate PLC and which kind of degree to be subordinated to which network, all become easy to the whole assurance of the system architecture of the network that constitutes control system and PLC and to the assurance of state with.
In addition; In above-mentioned explanation; Form the form that will be connected with the PLC 10 of control system by the Control System Design device 100 that personal computer etc. constitutes; Be connected with Programmable Logic Controller but also can the functional module of Control System Design device 100 be carried, on the display that the operating state and the control system of control system are set.Through such formation, can network that constitute control system and the system architecture integral body of PLC be presented on the picture of display.
Figure 21 is the block diagram of hardware configuration of the display of the function of expression with Control System Design device.This display 150 constitutes, and the bus 157 on display 150 is connected with: display part 151, and it is used to show the picture of regulation; The input part 152 that constitutes by membrane keyboard etc.; COM1 153, it is used for communicating with PLC10; Reservoir 154, it is made up of hard disk unit etc., and the data of setting through this display 150 (being the display frame program) are stored; Microprocessor 155, its processing that is used to carry out on display part 151, to show (that is, carry out the display frame program and show the processing of regulation picture, and the setting of system architecture and the processing of management); And data storing storer 156, it is used to store the ephemeral data of following this processing to produce.In addition, be under the situation of touch panel picture at input part 152, input part 152 and display part 151 are become one.
Thus, need not to prepare separately to make the information processing terminal that Control System Design device 100 moves and be connected, on the display 150 that constitutes control system, can easily hold the structure and the state of entire system with PLC10.
Embodiment 2
In embodiment 1, the network sash is disposed with the sequence number of giving network in order, the PLC sash is begun to dispose in order with the less sash of website sequence number in the selected network; But in this embodiment 2; Describing to following Control System Design device and Control System Design method, that is, is not according to simple numeric order; Can calculate automatically and can easily hold the network that constitutes control system and the whole configuration of system architecture of PLC, and show.
Figure 22-the 1st schematically representes the block diagram of functional structure of the network sash configuration feature module of Control System Design device involved in the present invention, and Figure 22-the 2nd schematically illustrates the block diagram of the functional structure of PLC sash configuration feature module identically.
Shown in Figure 22-1, network sash configuration feature module 1172 has: other network connects PLC extraction unit 11721, among the PLC that it extracts with network is connected, and the PLC that also is connected with other network; And network classification sequencing unit 11722; Its will with the higher network configuration of field network correlation degree below; Will with the higher network configuration of information systems internetting 21 correlation degrees up, be the integrally-built best configuration of holding control system easily with the ordering.
Here, so-called and field network degree of relevance is meant that in belonging to the PLC of this network, the quantity (perhaps ratio) that also is subordinated to the PLC of field network is many more, and is just high more with the field network degree of relevance.In addition, so-called and information systems internetting degree of relevance is meant that in belonging to the PLC of this network, the quantity (perhaps ratio) that also is subordinated to the PLC of information systems internetting is many more, and is just high more with the information systems internetting degree of relevance.
In addition; Shown in Figure 22-2; PLC sash configuration feature module 1173 has: PLC sash configuration candidate extraction unit 11731, and its extraction can not isolated the configuration candidate of holding with being disposed at the configuration relation of comparing the PLC that is arranged in the next network with selected network; And PLC sash configuration candidate selected cell 11732, it is selected arest neighbors, follows the best configuration of website numeric order most from candidate.In addition, because other textural element is identical with embodiment 1, so omit its explanation.
Then, the treatment step to this embodiment 2 describes.In the Control System Design of this embodiment 2 is handled; Till the data (plc data) of the network structure information that will collect through on-line network structural information collection portion 114 are stored in the on-line network structural information maintaining part 116, identical with embodiment 1.But; In embodiment 2; For the data of this network structure information, display object coordinate Calculation portion 117 is with the difference of embodiment 1, carry out network sash configuration process Figure 14-2 processing and carry out the processing of Figure 14-3 of PLC sash configuration process.Thus, below network sash configuration process and PLC sash configuration process are described, since identical to other the explanation of processing, so omit.
(1) summary of handling
(1-1) network sash configuration process
In this embodiment 2, its purpose be to reduce as far as possible the intersection of the network wiring in the system architecture information of (demonstration) of generating.Thus, it is characterized in that,, preferentially carry out the configuration of network sash and PLC sash according to the order of following regular A~D.
A. in the system architecture of network that constitutes control system and PLC, the application target of network and field network is clear and definite between the such information systems internetting of Ethernet (registered trademark), controller.That is, information systems internetting is positioned at the upper of system, and network is positioned at the meta of system between controller, and field network is positioned at the next of system.Thus, in this embodiment 2, arranged in order network as described above.
B. the PLC that is connected with same network is the configuration of neighbour ground each other.Particularly in the next network, because 1 network constitutes 1 unit group mostly, so the PLC that is connected with same the next network neighbour ground configuration each other.Here, so-called unit group is meant, for example the processing in the control system is carried out the PLC crowd of branch time-like by function.For example, control system divide into coating process, exposure process, matting ... Wait under the situation of each operation, the gathering of one group of device of carrying out the processing of above-mentioned each operation is called a unit group.
C. because the PLC that is connected with upper network has the effect of unit group controller mostly, so dispose to the neighbour each other.
D. the order according to network sequence number and website sequence number is configured.
Figure 23-the 1st, the process flow diagram of row of the network sash configuration process step that expression this embodiment 2 is related.At first, network sash configuration feature module 1172 network datas with reference to on-line network structural information maintaining part 116 are extracted network (step S231).Then, according to above-mentioned regular A, the network that extracts is begun classification with network, field network between information systems internetting, controller sort (step S232) from the top.
Then, from the network classification after the ordering, select a kind of network classification (step S233).And, other network connect PLC extraction unit 11721 extract with selected network classification in the PLC (step S234) that is connected of each network.
Thereafter, network classification sequencing unit 11722 is to each network, and the quantity of the PLC that also is connected with other field network is counted, and the network that the PLC quantity that will be connected with other field network is more disposes (step S235) more downwards.
Then, network classification sequencing unit 11722 is to each network, and the quantity of the PLC that also is connected with the other information systems network is counted, and the network that the PLC quantity that will be connected with the other information systems network is more disposes (step S236) to the top more.
At last, network classification sequencing unit 11722 is to each network, to also with other controller between the quantity of the PLC that is connected of network count, network that will be more with the PLC quantity that network between other controller is connected disposes (step S237) to the top more.As stated, the ordering between each network in 1 network classification of execution is handled.
To whether exist there be not selecteed other network classification judge (step S238) thereafter.Do not have to return step S233 under selecteed other situation of other network class (situation) in existence, repeat above-mentioned processing, do not have selecteed other network classification until not existing for being in step S238.
In addition; There is not selecteed other situation of other network class not existing under (in step S238, being situation not); Arranged in order network sash (step S239) after network sash configuration feature module 1172 finishes according to ordering; Its result is stored in the sash model keeps in the functional module 1171, network sash configuration process is accomplished.
(1-2) PLC sash configuration process
Figure 23-2~Figure 23-the 3rd, the process flow diagram of an example of the PLC sash configuration process step that expression this embodiment 2 is related.PLC sash configuration feature module 1173 is extracted PLC (step S251) from the information substrate of on-line network structural information maintaining part 116.Then, be chosen in the network sash configuration process of Figure 23-1 and be configured in the most the next network (step S252).Then, the PLC (step S253) that selection is connected with selected network therefrom selects the minimum PLC (step S254) of website sequence number.
Whether 1173 pairs of PLC sash configuration feature modules have disposed the PLC that is connected with the network of selecting is judged (step S255).Under the situation (in step S255, being situation not) of the PLC that does not have configuration to be connected with this network; PLC sash configuration candidate selected cell 11732 is directed against the PLC that is extracted, and begins to dispose continuously in order distribution sash and PLC sash (step S260) from the sash of the left downside of this network.
In addition; In step S255; Under the situation that disposes the PLC that is connected with this network (in step S255 for be situation), PLC sash configuration candidate extraction unit 11731 judges that whether can extract not can be with being configured in the configuration candidate (step S256) that the configuration relation of comparing the PLC that is arranged in the next network with this network separates.
Can't extract not can be with the situation (being situation not) that is configured in the configuration candidate that the configuration relation of comparing the PLC that is arranged in the next network with this network separates at step S256 under, PLC sash configuration candidate selected cell 11732 begins to dispose continuously in order distribution sash and PLC sash (step S260) from the sash of the left downside of this network.
In addition; In step S256; Can extract not can be with the situation (in the situation of step S256) that is configured in the configuration candidate that the configuration relation of comparing the PLC that is arranged in the next network with this network separates for being under, the configuration candidate (step S257) that PLC sash configuration candidate extraction unit 11731 is configured with judging the PLC arest neighbors that whether can from this candidate, extract and be configured in this network.
Under the situation that can't extract the configuration candidate that is configured with the PLC arest neighbors ground that has been configured in this network (in step S257, being situation not), the PLC sash disposes candidate selected cell 11732 and begins to dispose continuously in order distribution sash and PLC sash (step S260) from the sash of the left downside of this network.
In addition; In step S257; Under the situation that can extract the configuration candidate that is configured with the PLC arest neighbors ground that has been configured in this network (being the situation that is in step S257); Whether PLC sash configuration candidate extraction unit 11731 carries out following judgement, that is, can dispose from this and extract and be configured in the configuration candidate (step S258) of following the website numeric order between the PLC in this network most candidate.
Under the situation that can't extract and be configured in the configuration candidate of following the website numeric order between the PLC in this network most (in step S258, being situation not), PLC sash configuration candidate selected cell 11732 begins to dispose continuously in order distribution sash and PLC sash (step S260) from the sash of the left downside of this network.
In addition; In step S258; Under the situation that can extract and be configured in the configuration candidate of following the website numeric order between the PLC in this network most (situation) for being in step S258; Select to dispose candidate, PLC sash configuration candidate selected cell 11732 is according to this configuration candidate configuration distribution sash and PLC sash (step S259).
Thereafter, after step S260, to PLC that the network of in step S252, selecting is connected in, whether exist this situation of other PLC to judge (step S261).Under the situation that has other PLC (situation) for being in step S261; Select website sequence number time little PLC (step S262); Return step S255, repeat same treatment, until the PLC that does not exist other to be connected with the network of in step S252, selecting.
In addition, in step 261, do not exist under the situation (in step S261, being situation not) of other PLC, whether existing other network to judge (step S263).Under the situation that has other network (situation) for being in step S263; Be chosen in and be configured in time the next network (step S264) in the network sash configuration process; Return step S253; To the network configuration that is configured in upper before PLC sash and the distribution sash, repeat above-mentioned processing.In addition, under the situation that does not have other network (in step S263 for not situation), the configuration result of PLC sash and distribution sash is stored in the sash model keeps in the functional module 1171 (step S265) completion of PLC sash configuration process.
(2) object lesson of handling
Because in above-mentioned explanation, the summary of the configuration process of network sash and PLC sash is recorded and narrated, so the situation of the control system of the structure with Fig. 1 of giving an example describes the object lesson of this processing as follows.In addition,, utilize the connecting path information of Figure 10 and the network structure information of Figure 11 here, carry out the configuration process of sash.
(2-1) network sash configuration process
At first; According to the network structure information that is stored in the Figure 11 in the on-line network structural information maintaining part 116, extract data category and be between the controller of " network " network N o.1, between controller network N o.2, field network, the network data M1 of information systems internetting No.3, M2, C, E3.
Then, according to above-mentioned rule, the network that extracts is sorted with the network classification.That is, according to network N between information systems internetting No.3, controller o.1, between controller network N o.2 and the order of field network sort.In addition and since only between controller network have between controller network N network N these 2 networks o.2 o.1 and between controller, so here sort, further the order of network between this controller is sorted then according to the network numeric order.
At first, other network connects the PLC extraction unit 11721 network data M1 with reference to on-line network structural information maintaining part 116, extract with controller between the PLC that o.1 is connected of network N.Its result obtains PLC 10-3,10-1,10-4.Identical ground, extract with controller between the PLC that o.2 is connected of network N, its result obtains PLC 10-2,10-1,10-5.
Here, the quantity of the PLC that also is connected with other field network among the PLC that extracts is counted.In the PLC that extracts, the PLC that also is connected with field network is PLC10-4,10-5.Thus, o.1 the quantity of the PLC that also is connected with other field network be this 1 of PLC 10-4 for network N between controller, o.2 is this 1 of PLC 10-5 for network N between controller.A fairly large number of network of the PLC that network classification sequencing unit 11722 will also be connected with other field network 23 sorts to downside; But under this benchmark; Because both quantity is identical, thus can't to network N between controller o.1 and between controller network N o.2 sort.
Then, the quantity of the PLC that also is connected with the other information systems network among the PLC that extracts is counted.In the PLC that extracts, the PLC that also is connected with information systems internetting is PLC 10-1,10-2.Thus, o.1 the quantity of the PLC that also is connected with the other information systems network be this 1 of PLC 10-1 for network N between controller, o.2 is these 2 of PLC 10-1,10-2 for network N between controller.Thus, a fairly large number of network of the PLC that network classification sequencing unit 11722 will also be connected with the other information systems network sorts to upside, according to this benchmark, with network N between controller o.2 sort network N between controller o.1 above.
Thus because ordering accomplishes, so here, need not according to other controller between the quantity of the PLC that is connected of network sort.
Then, the arranged in order network sash after network sash configuration feature module 1172 is accomplished with ordering, and be stored in the network sash maintenance functional module 1171.Figure 24 is the result's of the related network sash configuration process of expression this embodiment 2 figure.
(2-2) PLC sash configuration process
Figure 25-1~Figure 25-the 5th, the figure of an example of the step of the PLC sash configuration process that expression this embodiment 2 is related.Below, with reference to above-mentioned Figure 25-1~Figure 25-5, the configuration process of PLC sash is described.
At first, the PLC sash configuration feature module 1173 of display object coordinate Calculation portion 117 is from the on-line network structural information maintaining part 116 of Figure 11, and extracting data category is connection network information P3n, P1n, P4n, P2n, the P5n of " PLC network ".
Then, from the connection network information of extracting, obtaining with in Figure 24, being configured in the most the next network is the PLC that field network is connected.Obtain PLC 10-4 (connecting network information P4n) and PLC 10-5 (being connected network information P5n) here.In these PLC 10-4 (home site) and PLC 10-5 (site-local 1); Less PLC begins to handle from the website sequence number, but here, owing to be field network; So at first handle home site, handle according to the website numeric order of site-local then.Thus, handle according to the order of PLC10-4 → PLC 10-5.
PLC 10-4 sash and distribution sash a are disposed in the lower left of the field network sash of Figure 24 continuously.In addition, shown in the connection network information P4n of Figure 11 since PLC 10-4 also with controller between network N o.1 be connected, so from PLC 10-4 sash to network N between controller configuration distribution sash a between the sash o.1.At this moment, make PLC 10-4 sash, each network sash identical with the width of each distribution sash.This result is shown in Figure 25-1.
Then, carry out the processing that site-local is PLC 10-5.PLC 10-5 sash and distribution sash b are disposed in the lower left of the field network sash of Figure 25-1 continuously.At this moment; Disposed the distribution sash a of PLC 10-4 at the scene on the network sash; Configuration candidate as PLC 10-5 has " left side of PLC 10-4 " and " right side of PLC 10-4 ", and this configuration candidate can not cut off the configuration relation that is configured in the PLC that is arranged in the next network of this network and held.Above-mentioned configuration all be with respect to the PLC 10-4 arest neighbors that is connected with field network the configuration candidate that is configured.And because PLC 10-4 is a home site, PLC 10-5 is that site-local and its website sequence number are 1, so wherein follow be configured to " right side of PLC 10-4 " of website numeric order.Thus, configuration PLC 10-5 sash and distribution sash b on this position.
In addition, shown in the connection network information of Figure 11 since PLC 10-5 also with controller between network N o.2 be connected, so o.2 also dispose distribution sash b between the sash from PLC 10-5 sash to network N between controller.At this moment, the transverse width that is positioned at the upper network sash of field network extends, to comprise PLC 10-4 sash and PLC 10-5 sash.Its result is shown in Figure 25-2.Because the PLC that is connected with field network hereto, so the configuration process of PLC sash in the field network 23 and distribution sash is accomplished.
Then, according to Figure 24 (Figure 25-2) as the upper network that is configured in field network and network N is o.1 between selection control.With the PLC that o.1 network N between controller is connected is PLC 10-1 (website sequence number 2), PLC 10-3 (website sequence number 1), PLC 10-4 (website sequence number 3), and that wherein do not dispose as yet is PLC 10-1 and PLC 10-3.Thus, carry out the configuration process of PLC sash to these PLC 10-1,10-3.Here, according to website sequence number order from small to large, promptly handle according to the order of PLC 10-3 → PLC 10-1.
At first, o.1 PLC 10-3 sash and distribution sash c network N between the controller of Figure 25-2 are disposed the lower left of sash continuously.At this moment; O.1, network N goes up and has disposed PLC 10-4, the distribution sash a of PLC 10-5, b between controller; Configuration candidate as PLC 10-3 has " left side of PLC 10-4 " and " right side of PLC 10-5 "; Wherein, this configuration candidate can not cut off the configuration relation that is configured in the PLC 10-4 sash that is arranged in the next network of this network (field network) and PLC 10-5 sash and held.Wherein with respect to controller between the PLC 10-4 arest neighbors that o.1 is connected of network N the configuration candidate that is configured be " left side of PLC 10-4 ".Thus, configuration PLC 10-3 sash and distribution sash c on this position.Its result is shown in Figure 25-3.
Then, carry out the configuration process of time big PLC 10-1 sash of website sequence number.O.1, PLC10-1 sash and distribution sash d network N between the controller of Figure 25-3 are disposed the lower left of sash continuously.At this moment; O.1, network N goes up and has disposed PLC 10-3,10-4, the distribution sash c of 10-5, a, b between controller; Configuration candidate as PLC 10-1 has " left side of PLC 10-3 ", " right side of PLC 10-3 (left side of=PLC 10-4) " and " right side of PLC 10-5 "; Wherein, this configuration candidate can not cut off the configuration relation that is configured in the PLC 10-4 sash that is arranged in the next network of this network (field network) and PLC 10-5 sash and held.Wherein, With respect to controller between the PLC 10-3 that o.1 is connected of network N, be configured the 10-4 arest neighbors, and and to be configured in the configuration of following numeric order between PLC 10-3 that o.1 network N goes up between controller (website sequence number 1) and the PLC 10-4 (website sequence number 3) most be " right side of PLC 10-3 ".Thus, configuration PLC 10-1 sash and distribution sash d on this position.
In addition; Shown in the connection network information P1n of Figure 11; Since PLC 10-1 also with controller between network N o.2 be connected with information systems internetting No.3, so o.2 sash and information systems internetting No.3 sash also dispose distribution sash d from PLC 10-1 sash to network N between controller.Its result is shown in Figure 25-4.Since with network N between controller o.1 the PLC that is connected of sash hereto, so PLC sash and the configuration process completion of distribution sash of network N in o.1 between controller.
Then, according to Figure 24 (Figure 25-4) as be configured in network N between controller o.1 upper network and network N is o.2 between selection control.With the PLC that o.2 network N between controller is connected is PLC 10-1 (website sequence number 2), PLC 10-2 (website sequence number 1), PLC10-5 (website sequence number 3), and that do not dispose as yet in them is PLC 10-2.Thus, carry out the configuration process of PLC sash and distribution sash to this PLC 10-2.Here, have under a plurality of situation at the PLC that does not have configuration, less PLC begins to handle from the website sequence number.In addition, under the situation of network between controller, irrespectively handle according to the website numeric order with admin site, common website.
O.2, PLC 10-2 sash and distribution sash e network N between the controller of Figure 25-4 are disposed the lower left of sash continuously.At this moment; O.2, network N goes up and has disposed PLC 10-1, the distribution sash d of 10-5, b between controller; Configuration candidate as PLC 10-2 have " between controller network N o.2 the vacant sash in left side of the distribution d that is connected with PLC 10-1 of below ", " between controller network N o.2 the below the distribution d that is connected with PLC 10-1 and with distribution b that PLC 10-5 is connected between vacant sash " with " right side of the distribution b that with PLC 10-5 be connected of network N below o.2 between controller "; Wherein, this configuration candidate can not cut off the configuration relation that is configured in the PLC 10-3 that is arranged in the next network of this network (between controller network N o.1 and field network), 10-1,10-4,10-5 and held.Wherein, with respect to controller between the configuration candidate that disposes of the PLC 10-1 that o.2 is connected of network N the most contiguously for " between controller network N o.2 the below the distribution d that is connected with PLC 10-1 and with distribution b that PLC 10-5 is connected between vacant sash ".In addition; Here; Because from above-mentioned candidate; Can't to between controller network N o.2 in the PLC 10-1 (website sequence number 2) and the PLC 10-5 (website sequence number 3) of configuration extract the configuration candidate of following the website numeric order most, so select above-mentioned " between controller network N below o.2 the distribution d that is connected with PLC 10-1 and with distribution b that PLC 10-5 is connected between vacant sash ".Thus, configuration PLC 10-2 sash and distribution sash e on this position.Its result is shown in Figure 25-5.
, according to Figure 24 (Figure 25-5) as be configured between controller network N o.2 upper network select information systems internetting No.3, but in the PLC 10-1 that is connected with this information systems internetting No.3,10-2, do not have the PLC that does not dispose as yet thereafter.And, because the network that this information systems internetting 21 is uppers, so PLC sash configuration process is accomplished.
Thereafter; As implement in the mode 1 illustrated; To the result of Figure 25-5, carry out size (especially, for the PLC sash to each sash through sash size computing function module 1174; Be that information substrate according to PLC comes the required size of calculation display PLC) the sash size computing of calculating, begin to add the sash size in order from the upper left side and the sash coordinate Calculation of calculating the sash coordinate is handled.Figure 26 is expression calculates the result of sash size and sash coordinate to the result of Figure 25-5 figure.
Then, system architecture display part 118 reads the sash model that has added the sash coordinate that is obtained by above-mentioned processing, display system architectures information in display part 112.Figure 27 is the figure of an example of the system architecture information that shows through the system architecture display process of expression.In this display frame; Because the state with near the network structure of the control system that is generated by manual work shows, that is, and at upper display and information system network; Network between the meta display controller; At the next demonstration field network,, has the user holds the structure of control system easily according to network structure effect so compare with the situation of embodiment 1.
According to this embodiment 2, because the network structure information of collecting is shown with the network-order that the user is easy to hold, be easy to effect that the system architecture integral body of the network that constitutes control system and PLC is held so have.
Figure 28 is other the figure of structure example of expression control system.This Figure 28 compares with Fig. 1 of the example of the system architecture integral body of the network of representing formation embodiment 1 said control system and PLC, constitutes complicated control system by a large amount of PLC.Situation about showing with the method for embodiment 1 for the system architecture information of the control system that this Figure 28 is such and compare with the situation that the method for embodiment 2 shows.
The figure of Figure 29 system architecture that to be expression show the control system of Figure 28 with the method for embodiment 1.In addition, the figure of Figure 30 sash model that to be expression generate with the method for embodiment 2 for the control system of Figure 28, the figure of the system architecture of the control system of Figure 31 Figure 28 that to be expression show based on the sash model of Figure 30.
The display frame of the system architecture of the Figure 29 that shows with method through embodiment 1 is compared; The display frame of the system architecture of Figure 31 that the method through embodiment 2 shows; Because the network that will constitute the upper infosystem of control system is presented at the top of picture, below the network of the next fielded system of construction system is presented at, and; To gather demonstration with the PLC that same network is connected, so be more prone to clear.That is, the display frame of the system architecture of the Figure 29 that shows with method through embodiment 1 is compared, Figure 31 that the method through embodiment 2 shows, and its form of expression more approaches user's system's pie graph of Figure 28 that understand, that hand drawing goes out easily.That is,, can show automatically that the form of expression more approaches people's system architecture information of system construction drawing that understand, that hand drawing goes out easily according to this embodiment 2.
Embodiment 3
Following Control System Design device of explanation and Control System Design method in this embodiment 3, it can show concrete connecting path for through which path being connected with target P LC in the embodiment 1,2.In addition, in following explanation, utilize the result of embodiment 1 to describe.
Figure 32 is the block diagram of functional structure of schematically representing the embodiment 3 of Control System Design device involved in the present invention.This Control System Design device 100 is on the basis of Fig. 3 of embodiment 1; Also has connecting path display part 120; It shows the connecting path from starting point PLC to purpose PLC according to comprising the coordinate that calculated by display object coordinate Calculation portion 117 at interior data and the connecting path that kept by online connecting path maintaining part 115 on display part 112.This connecting path display part 120 is corresponding to the connecting path display unit in claims.In addition, for the textural element mark same numeral identical, and omit its explanation with embodiment 1.
Then, in the Control System Design device 100 with said structure from starting point PLC to object PLC till the display process of connecting path describe.Figure 33 is the process flow diagram of an example of expression connecting path display process step.In addition, Figure 34-1~Figure 34-the 5th is illustrated in the figure of an example of the step of the connecting path display process in the system architecture information display screen.In addition, this processing is in embodiment 1,2, to carry out carrying out under the state of the display process of system architecture information.
At first, connecting path display part 120 is obtained the position of this object of starting point PLC on display part 112 from display object coordinate Calculation portion 117, the outstanding integral body (step S271, Figure 34-1) that shows this object of starting point PLC.
Then, select appointed or certain 1 connecting path information (step S272) in the connecting path from be stored in online connecting path maintaining part 115.The starting point PLC of selection from selected connecting path information is to the distribution that is recorded in the network in the data 1 (step S273).Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate Calculation portion 117, and outstanding describe (step S274, Figure 34-2).
Then, the distribution (step S275) that links of the PLC that put down in writing of connecting path display part 120 network selecting the data in the connecting path information 1 are put down in writing and data 2.Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate Calculation portion 117, and outstanding describe (step S276, Figure 34-3).
Then, connecting path display part 120 will be given prominence to network portion between 2 distributions describing and give prominence to and describe (step S277, Figure 34-4).Then, whether be that PLC (terminal point PLC) in the denominational of connecting path information judges (step S278) to the PLC of record in data 2.
PLC in being documented in data 2 is not under the situation (in step S278, being situation not) of terminal point PLC; Connecting path display part 120 is set n=1, m=2 (step S279), selects the distribution (step S280) that the network that the PLC that data 2n put down in writing in the connecting path information and data 2n+1 are put down in writing is linked.Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate Calculation portion, and outstanding describe (step S281).
Then, connecting path display part 120 is selected distribution (step S282) that the PLC that network and 2m put down in writing that data 2m-1 put down in writing in the connecting path information is linked.Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate Calculation portion 117, and outstanding describe (step S283).Then, connecting path display part 120 will be given prominence to network portion between 2 distributions describing and give prominence to and describe (step S284).
Then, the PLC (terminal point PLC) that is documented in the denominational whether PLC among the data 2m is connecting path information is judged (step S285).PLC in being documented in data 2m is not that connecting path display part 120 returns step S280 after setting n=n+1, m=m+1 (step S286), repeat above-mentioned processing under the situation (in step S285, being situation not) of terminal point PLC.
In addition; In step S278; PLC in being documented in data 2 is under the situation (situation for being in step S278) of terminal point PLC; Perhaps in step S285, the PLC in being documented in data 2m is under the situation (situation for being among the step S285) of terminal point PLC, accomplishes (Figure 34-5) from starting point PLC to the display process as the connecting path between the terminal point PLC of target.
According to this embodiment 3, have following effect, that is, in constituting the network of control system, can easily confirm the connecting path of PLC to terminal from starting point PLC.
Embodiment 4
In embodiment 1~3, connection control system design apparatus on the PLC that constitutes actual control system is obtained the information of system architecture of network structure and the PLC of control system under on line state via this PLC, thus display system architectures information.Relative therewith; In this embodiment 4, following Control System Design device and Control System Design method are described; It can be to the system construction drawing of editor's acquisition under off-line state; Determine the PLC that can arrive, and when having a plurality of connecting path, automatically select optimal path with reference to communication throughput.
Figure 35 is the block diagram of functional structure of schematically representing the embodiment 4 of Control System Design device involved in the present invention.The control part 119 that this Control System Design device 100 has Department of Communication Force 111, display part 112, starting point PLC specifying part 113, system architecture editorial office 121, off line network structure information retaining section 122, connecting path parsing selection portion 123, throughput model maintaining part 124, off line connecting path maintaining part 125, display object coordinate Calculation portion 117, system architecture display part 118, connecting path display part 120 and controls above-mentioned each handling part.
System architecture editorial office 121 is on this Control System Design device 100; Under off-line state, the picture that the system architecture integral body of the network of the control system that constitutes production equipment etc. and PLC is set is provided, and the content that is set by the user is managed to the user.This system architecture editorial office 121 is corresponding to the system architecture edit cell in claims.
Off line network structure information retaining section 122 keeps connecting the network information and network structure information; Wherein, This connection network information is directly set from system architecture editorial office 121 by the user; Expression constitutes the PLC of control system and the connection status between the network, and this network structure information comprises the information substrate of expression PLC system architecture (being installed in the structure of the unit on the substrate) interior.Connect comprising of in this off line network structure information retaining section 122, being kept the network information and network structure information in interior network structure information; Owing to being not this Control System Design device 100 collection system structural information and generate the network information and obtain under on line state automatically; Obtain to the system architecture information and the network information of existing control system but directly import (under off-line state) to Control System Design device 100 by the user, thus below be also referred to as off line network structure information.This off line network structure information retaining section 122 is corresponding to the off line network structure information holding unit in claims.
Connecting path is resolved PLC that selection portion 123 will set by starting point PLC specifying part 113 as starting point, in the network structure that is set by system architecture editorial office 121, the connecting path that is connected to each PLC is resolved.In addition, also have following function, that is, exist under the situation of a plurality of connecting paths,, select optimal path with reference to the network service throughput data storehouse of throughput model maintaining part 124.This connecting path is resolved selection portion 123 and is resolved selected cell corresponding to the connecting path in claims.
Throughput model maintaining part 124 keeps the throughput model when the communication throughput in each connecting path of control system is calculated as database.This throughput model maintaining part 124 is corresponding to the throughput model holding unit in claims.
125 pairs of off line connecting path maintaining parts are resolved the connecting paths that are connected to each PLC that selection portion 123 resolves and select (below be also referred to as the off line connecting path) by connecting path and are kept.This off line connecting path is characterised in that, in the data structure of the connecting path information of Figure 10 of embodiment 1, also comprises the handling capacity evaluation of estimate.This off line connecting path maintaining part 125 is corresponding to the off line connecting path holding unit in claims.
In addition, to the textural element mark same numeral identical, and omit its explanation with embodiment 1~3.But in this embodiment 4, display object coordinate Calculation portion 117 utilizes the network structure information that is kept by off line network structure information retaining section 122, calculates the coordinate of the display object that on display part 112, shows.
Then, in having the Control System Design device 100 of said structure, the connecting path display process under control system structure treatment to the off-line state under the off-line state describes in order.
(the control system structure treatment under the off-line state)
In system architecture editorial office 121, through drag and drop under graphic user interface and guide (Wizard), and to setting by the network that constitutes control system of user's input and the system architecture integral body of PLC.
The system architecture data of being set by system architecture editorial office 121 (below be called off line network structure information) are kept by off line network structure information retaining section 122.This data mode is identical with the network structure information that is kept by on-line network structural information maintaining part 116 of explanation in embodiment 1.For example, if append the operation of 1 key element (network or PLC), then with the data of this key element to the off line network structure information adding that is kept by off line network structure information retaining section 122.Then, to the system architecture whole data after the data of having appended key element, carry out the processing of coordinates computed by display object coordinate Calculation portion 117, and system architecture is presented on the display part 112.Thus, under the situation of performance identical systems structure, though data order that generated is different according to the sequence of operation of data supplementing is different, the content of data (meaning that data showed) is identical.
In addition, in this embodiment 4, under off-line state, construct the control system structure identical with Fig. 1 of embodiment 1 through following steps.At first, append PLC 10-3, then, appended between controller network N o.1 (22A) append PLC 10-1 and PLC 10-4 in order afterwards.Then, append between controller network N o.2 (22B), append PLC10-2 and PLC 10-5 in order.Then, append field network (23) afterwards, appending information network No.3 (21).
Its result, the data content of the off line network structure information that is kept by off line network structure information retaining section 122 is identical with Figure 11, and the demonstration of system architecture is also identical with Figure 20 (if utilize the method for embodiment 2, then being Figure 27).Below, Figure 20 or the such picture of the system architecture of demonstration on display part 112 of Figure 27 are called system construction drawing.
(off line connecting path dissection process)
(1) summary of handling
For the system construction drawing that editor under off-line state forms, will specify through starting point PLC specifying part 113 as the PLC (Control System Design device 100 with which PLC is connected) of starting point.Then, connecting path is resolved PLC that selection portion 123 will set by starting point PLC specifying part 113 as starting point, and the connecting path that is connected to each PLC in the network structure that is set by system architecture editorial office 121 is resolved.The detailed content of this processing below is described.
Figure 36-1~Figure 36-the 3rd, the process flow diagram of an example of expression off line connecting path dissection process step.At first; Specified connecting object PLC (starting point PLC) back (step S311) that is connected with this Control System Design device 100 by starting point PLC specifying part 113, the connecting path that connecting path parsing selection portion 123 will be connected to till the appointed starting point PLC is exported (step S312).Then, starting point PLC to be named selects as process object PLC (step S313), and to this selected PLC, the B1 shown in the execution graph 36-2 handles (step S314), and off line connecting path dissection process is accomplished.
Figure 36-the 2nd, the process flow diagram of the B1 processed steps among the expression step S314.At first, connecting path is resolved 123 pairs of networks that PLC connected as process object of selection portion and is collected (step S331).The connection network information of more particularly, collecting as the PLC of process object from off line network structure information retaining section 122.Then, to be connected to information gathering to the connecting path of each network situation that whether constitutes loop judge (step S332).Here, whether be that the judgement of loop is as follows, in connecting path, contain under the situation of a plurality of identical elements and be judged to be loop, under situation in addition, being judged to be not is loop.
At connecting path is not under the situation (in step S332, being situation not) of loop, judges (step S333) under the restriction of Figure 12, whether proceeding information gathering to network.Under the situation that can proceed information gathering to network (situation for being in step S333), as the object network of handling (step S334), the B2 shown in the execution graph 36-3 handles (step S335) with this network selecting.In addition; In step S333; Can't proceed network in the restriction that meets Figure 12 under the situation (being situation not among the step S333) of information gathering, perhaps in step S332, connecting path is under the situation (situation for being in step S332) of loop; Finish B1 and handle, return the processing of Figure 35.
Figure 36-the 3rd, the process flow diagram of an example of the B2 processed steps among the step S335 of presentation graphs 36-2.In this B2 handled, connecting path was resolved selection portion 123 and at first the PLC that is connected with network as process object is collected (step S351).Specifically, obtain network of network information, from this network information, collect the PLC that is connected with network as process object as process object from off line network structure information retaining section 122.Then, to be connected to information gathering to each PLC till connecting path whether constitute loop and judge (step S352).
Do not constitute at connecting path under the situation (in step S352 for not situation) of loop, to whether being that best connecting path is judged (step S353).Whether be the judgement such as following the carrying out of best connecting path, exist under the situation of a plurality of connecting paths, the communication throughput information that keeps with reference to throughput model maintaining part 124, to whether be communication throughput preferably connecting path judge.Its result under the situation (in step S353 for not situation) that is not best connecting path, does not export this connecting path and finishes B1 and handle, and returns the processing of Figure 36-2.
In addition; Under for the situation of best connecting path (situation) for being in step S353; This connecting path to 125 outputs (step S354) of off line connecting path maintaining part, is judged (step S355) under the restriction of Figure 12, whether proceeding information gathering to the network that is connected with this PLC.Under the situation that can't proceed information gathering to network (in step S355, being situation not), B2 finishes dealing with, and returns the processing of Figure 36-2.In addition, under the situation that can proceed information gathering to the network that is connected with this PLC (situation for being in step S355), this PLC is selected as process object (step S356), the B1 of execution graph 36-2 handles (step S357).
In addition, in step S352, constitute at the connecting path that is connected to PLC under the situation (situation) of loop, do not export this connecting path and finish B1 and handle, return the processing of Figure 36-2 for being in step S352.
(2) object lesson of handling
Because in above-mentioned explanation, the summary of off line connecting path dissection process is recorded and narrated, so the situation of the control system of the structure with Fig. 1 of giving an example describes the object lesson of this processing as follows.Figure 37-1~Figure 37-the 5th, expression is resolved as connecting path and is selected process result, and the connecting path that in off line connecting path maintaining part, keeps keeps the figure of an example of information.In addition, here, off line network structure information retaining section 122 keeps the network structure information of Figure 11.Data shown in these Figure 11 and Figure 37-1~Figure 37-5, the order that generates according to data illustrates.In addition, use restriction shown in Figure 12 here as restriction.
Figure 38 is the figure of the example of the related throughput model of expression this embodiment 4.In this embodiment 4, the handling capacity of PLC is made as 1Mbps, the handling capacity of field network is made as 0.1Mbps, the handling capacity of network between controller is made as 10Mbps, the handling capacity of information systems internetting is made as 100Mbps.In addition; The computing method of the evaluation of estimate of connecting path entire throughput are obtained the inverse of the throughput value of each key element that is comprised in the connecting path, and the evaluation of estimate smaller of this connecting path entire throughput is judged to be handling capacity connecting path preferably.
(2-1)PLC?10-3
At first, connecting path is resolved the connecting path P3g of selection portion 123 outputs by the specified PLC 10-3 of starting point PLC specifying part 113.This connecting path is the connecting path that terminal point PLC and starting point PLC are all PLC 10-3.In addition, if, the handling capacity evaluation of estimate is calculated, then because PLC 10-3 is starting point PLC, so the handling capacity evaluation of estimate is 0 with reference to the condition of Figure 38 of throughput model maintaining part 124.Its result is shown in Figure 37-1.In addition, handle to B1 as the PLC 10-3 execution graph 36-2 of this starting point PLC.
The network that (2-2) is connected with PLC 10-3
In with the B1 processing of PLC 10-3, collect the network that PLC 10-3 is connected as process object.Specifically, read the processing of the connection network information P3n in the off line network structure information retaining section 122 of Figure 11.Collect between controller network N o.1 here.Then, whether generation is connected to the connecting path till the network of collecting (network N o.1 between controller), be that loop is confirmed to this connecting path.In this case, because connecting path is " between PLC 10-3 → controller network N o.1 (22A) ", a plurality of identical PLC do not appear, so be not loop.Thus, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here owing to do not meet restriction, so can proceed information gathering to network, with network N between controller o.1 as process object and the B2 of execution graph 36-3 handles.
(2-3) with controller between the PLC that o.1 is connected of network N
Network N is during o.1 output is handled as the network information of process object between with controller, collect with controller between the PLC that o.1 is connected of network N.Specifically, among the network data M1 in the off line network structure information retaining section 122 of Figure 11, the PLC that o.1 network N is connected between retrieval and extraction and controller.Here, as with controller between the PLC that o.1 is connected of network N, collect PLC 10-3,10-4,10-1.Whether then, generate the connecting path that is connected to the PLC that collects, be that loop is confirmed to the connecting path that is connected to each PLC.In this PLC handles, there is not relative importance value, handles in order.
(2-4) between the controller network N o.1 → PLC 10-3
Because the connecting path that is connected to till the PLC 10-3 is " between PLC 10-3 → controller network N o.1 → PLC 10-3 ", a plurality of identical PLC occur, so become loop.Thus, do not export this connecting path, finish processing to this PLC 10-3.
(2-5) between the controller network N o.1 → PLC 10-4
Because the connecting path that is connected to till the PLC 10-4 is " between PLC 10-3 → controller network N o.1 → PLC 10-4 ", a plurality of identical key elements do not occur, so be not loop.Thus, export said connecting path P4g as best connecting path.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, then since the handling capacity evaluation of estimate that is connected to till the PLC 10-4 do
(1/1)+(1/10)+(1/1)=2.1,
So when output, import this throughput value.Then, according to the restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here owing to do not meet restriction, so can proceed information gathering to network, with PLC 10-4 as process object and the B1 of execution graph 36-2 handles.
The network that (2-6) is connected with PLC 10-4
In with the B1 processing of PLC 10-4, collect the network that PLC 10-4 is connected as process object.Specifically, read out in the processing of the network that stores among the connection network information P4n in the off line network structure information of Figure 11.Here, as the network that is connected with PLC 10-4, network N o.1 between collection field network and controller.Then, whether generation is connected to the connecting path till the network of collecting, be that loop is confirmed to this connecting path.In addition, in this network processes, there is not relative importance value, handles in order.
(2-7) PLC 10-4 → field network
Because the connecting path that is connected to field network 23 is " between PLC 10-3 → controller network N o.1 → PLC 10-4 → field network ", a plurality of identical key elements do not occur, so be not loop.Thus, according to the restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here, owing to do not meet restriction, so can proceed information gathering to network, field network is selected as process object, the B2 of execution graph 36-3 handles.
The PLC that (2-8) is connected with field network
In with the B2 processing of field network, collect the PLC that is connected with field network as process object.Specifically, the PLC that retrieval and extraction are connected with field network among the network data C from the off line network structure information of Figure 11.As the PLC that is connected with field network, collect PLC 10-4,10-5 here.Then, whether generation is connected to the connecting path till the PLC that collects, be that loop is confirmed to the connecting path that is connected to each PLC.In this PLC handles, there is not relative importance value, handles in order.
(2-9) field network → PLC 10-4
Because the connecting path that is connected to till the PLC 10-4 is " between PLC 10-3 → controller network N o.1 → PLC 10-4 → field network → PLC 10-4 ", a plurality of identical PLC occur, institute thinks loop.Thus, do not export this connecting path, finish processing to this PLC 10-4.
(2-10) field network → PLC 10-5
Because the connecting path that is connected to till the PLC 10-5 is " between PLC 10-3 → controller network N o.1 → PLC 10-4 → field network → PLC 10-5 ", a plurality of identical key elements do not occur, so be not loop.Thus, export said connecting path P5g-1 as best connecting path.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, then since the handling capacity evaluation of estimate that is connected to till the PLC 10-5 do
(1/1)+(1/10)+(1/1)+(1/0.1)+(1/1)=13.1,
So when output, import this throughput value.Its result is shown in Figure 37-3.Then, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here, owing to meet restriction B, the B1 of execution graph 36-2 does not handle.Thus, the B2 of field network as process object finished dealing with (2-8).
(2-11) with controller between the PLC that o.1 is connected of network N
Owing to be connected to the connecting path till o.1 of network N between the controller that one of conduct is connected with PLC 10-4 in (2-6) network is collected for " between PLC 10-3 → controller network N o.1 → PLC 10-4 → controller between network N o.1 "; A plurality of identical networks occur, institute thinks loop.Thus, the B2 of execution graph 36-3 does not handle.Thus, PLC 10-4 is finished dealing with as the B1 of process object (2-6).
(2-12) for PLC 10-1
Owing to the connecting path that is connected to till the PLC 10-1 that one of o.1 network N is connected between conduct and controller in (2-3) PLC is collected is " between PLC 10-3 → controller network N o.1 → PLC 10-1 "; A plurality of identical elements do not appear, so be not loop.Thus, export said connecting path P1g as best connecting path.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, then since the handling capacity evaluation of estimate that is connected to till the PLC 10-1 do
(1/1)+(1/10)+(1/1)=2.1,
So when output, import this throughput value.Its result is shown in Figure 37-4.Then, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here owing to do not meet restriction, so can proceed information gathering to network, with PLC 10-1 as process object and the B1 of execution graph 36-2 handles.
The network that (2-13) is connected with PLC 10-1
In with the B1 processing of PLC 10-1, collect the network that PLC 10-1 is connected as process object.Specifically, read out in the processing of the network information among the connection network information P1n that stores in the off line network structure information of Figure 11.Here, as the network that is connected with PLC10-1, network N o.1 between collection controller, o.2 network N reaches information systems internetting No.3 between controller.Then, whether generation is connected to the connecting path till the network of collecting, be that loop is confirmed to this connecting path.In addition, in this network processes, there is not relative importance value, handles in order.
(2-14) network N is o.1 between PLC 10-1 → controller
Since be connected to the connecting path till o.1 of network N between controller for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.1 ", a plurality of identical networks appear, institute thinks loop.Thus, the B2 of execution graph 36-3 does not handle.
(2-15) network N is o.2 between PLC 10-1 → controller
Since be connected to the connecting path till o.2 of network N between controller for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 ", a plurality of identical key elements do not appear, so be not loop.Thus, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here, owing to do not meet restriction, so can proceed information gathering to network, o.2 network N between controller is selected as process object, the B2 of execution graph 36-3 handles.
(2-16) with controller between the PLC that o.2 is connected of network N
O.2, during network N is handled as the B2 of process object between with controller, collect with controller between the PLC that o.2 is connected of network N.Specifically, among the network data M2 from the off line network structure information of Figure 11, the PLC that o.2 network N is connected between retrieval and extraction and controller.Here, as with controller between the PLC that o.2 is connected of network N, collect PLC 10-2,10-1,10-5.Then, whether generation is connected to the connecting path till the PLC that collects, be that loop is confirmed to the connecting path that is connected to each PLC.In this PLC handles, there is not relative importance value, handles in order.
(2-17) between the controller network N o.2 → PLC 10-2
Since be connected to till the PLC 10-2 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-2 ", a plurality of identical PLC do not appear, so be not loop.Thus, export said connecting path P2g-1 as best connecting path.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, then since the handling capacity evaluation of estimate that is connected to till the PLC 10-2 do
(1/1)+(1/10)+(1/1)+(1/10)+(1/1)=3.2,
So when output, import this throughput value.Its result is shown in Figure 37-5.Then, according to restriction shown in Figure 12, confirm whether can proceed information gathering to the network that is connected with PLC 10-2.Here owing to do not meet restriction, so with PLC 10-2 as process object and the B1 of execution graph 36-2 handles.
The network that (2-18) is connected with PLC 10-2
In with the B1 processing of PLC 10-2, collect the network that PLC 10-2 is connected as process object.Specifically, read out in the processing of the network that stores among the connection network information P2n in the off line network structure information of Figure 11.Here, as the network that is connected with PLC 10-2, o.2 network N reaches information systems internetting No.3 between collection controller.Then, whether generation is connected to the connecting path till the network of collecting, be that loop is confirmed to this connecting path.In addition, in this network processes, there is not relative importance value, handles in order.
(2-19) network N is o.2 between PLC 10-2 → controller
Since be connected to the connecting path till o.2 of network N between controller for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-2 → controller between network N o.2 "; A plurality of identical networks occur, institute thinks loop.Thus, the B2 of execution graph 36-3 does not handle.
(2-20) PLC 10-2 → information systems internetting No.3
Since be connected to till the information systems internetting No.3 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-2 → information systems internetting No.3 "; A plurality of identical key elements do not appear, so be not loop.Thus, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here, owing to do not meet restriction, so information systems internetting No.3 is selected as process object, the B2 of execution graph 36-3 handles.
The PLC that (2-21) is connected with information systems internetting No.3
In with the B2 processing of information systems internetting No.3, collect the PLC that is connected with information systems internetting No.3 as process object.Specifically, among the network data E3 that in the off line network structure information of Figure 11, stores, the PLC that retrieval and extraction are connected with information systems internetting No.3.As the PLC that is connected with information systems internetting No.3, collect PLC10-1,10-2 here.Then, whether generation is connected to the connecting path till the PLC that collects, be that loop is confirmed to the connecting path that is connected to each PLC.In addition, in this PLC handles, there is not relative importance value, handles in order.
(2-22) information systems internetting No.3 → PLC 10-1
Since be connected to till the PLC 10-1 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-2 → information systems internetting No.3 → PLC 10-1 "; A plurality of identical PLC occur, institute thinks loop.Thus, do not export this connecting path.
(2-23) information systems internetting No.3 → PLC 10-2
Since be connected to till the PLC 10-2 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-2 → information systems internetting No.3 → PLC 10-2 "; A plurality of identical PLC occur, institute thinks loop.Thus, do not export this connecting path.Thus, information systems internetting No.3 is finished dealing with as the B2 of process object (2-20).In addition, PLC 10-2 is finished dealing with as the B1 of process object (2-17).
(2-24) between the controller network N o.2 → PLC 10-1
Since be connected to till the PLC 10-1 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-1 ", a plurality of identical PLC appear, institute thinks loop.Thus, the B1 shown in the execution graph 36-2 does not handle.
(2-25) between the controller network N o.2 → PLC 10-5
Since be connected to till the PLC 10-5 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-5 ", a plurality of identical elements do not appear, so be not loop.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, the handling capacity evaluation of estimate that then is connected to till the PLC10-5 does
(1/1)+(1/10)+(1/1)+(1/10)+(1/1)=3.2。
But,, shown in Figure 37-3, exported connecting path P5g-1 to the path that is connected to till the PLC 10-5.Because the throughput value of this connecting path P5g-1 is 13.1, so the throughput value of this connecting path that calculates is better.Thus, substitute the connecting path exported, and with handling capacity preferably this connecting path that calculates export as best connecting path P5g.Its result is shown in Figure 37-3.In this Figure 37-3, on the data content of connecting path P37-3, adding strikethrough is that expression is deleted, and is rewritten as the data of its below.Then, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here owing to do not meet restriction, so with PLC10-5 as process object and the B1 of execution graph 36-2 handles.
The network that (2-26) is connected with PLC 10-5
In with the B1 processing of PLC 10-5, collect the network that PLC 10-5 is connected as process object.Specifically, read out in the processing of the network that stores among the connection network information P5n in the off line network structure information of Figure 11.Here, as the network that is connected with PLC 10-5, network N o.2 between collection field network and controller.Then, whether generation is connected to the connecting path till the network of collecting, be that loop is confirmed to each connecting path.In addition, in this network processes, there is not relative importance value, handles in order.
(2-27) PLC 10-5 → field network
Since be connected to till the field network connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-5 → field network ", a plurality of identical key elements do not appear, so be not loop.Thus, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here, owing to do not meet restriction, so field network is selected as process object, the B2 of execution graph 36-3 handles.
The PLC that (2-28) is connected with field network
In with the B2 processing of field network, collect the PLC information that is connected with field network as process object.Specifically, in the network data C of the off line network structure information of Figure 11, the PLC that retrieval and extraction are connected with field network.As the PLC that is connected with field network, collect PLC 10-4,10-5 here.Then, whether generation is connected to the connecting path till the PLC that collects, be that loop is confirmed to the connecting path that is connected to each PLC.In this PLC handles, there is not relative importance value, handles in order.
(2-29) field network → PLC 10-4
Since be connected to till the PLC 10-4 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-5 → field network → PLC 10-4 "; A plurality of identical elements do not appear, so be not loop.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, the handling capacity evaluation of estimate that then is connected to till the PLC 10-4 does
(1/1)+(1/10)+(1/1)+(1/10)+(1/1)+(1/0.1)+(1/1)=14.2。
But,, shown in Figure 37-2, exported connecting path P4g to the path that is connected to till the PLC 10-4.Because the throughput value of this connecting path P4g is 2.1, so compare with the connecting path that this calculates, the throughput value of existing connecting path is better.Thus, the connecting path of handling capacity having been exported preferably is as best connecting path (Figure 37-2).
(2-30) field network → PLC 10-5
Since be connected to till the PLC 10-5 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-5 → field network → PLC 10-5 ", a plurality of identical PLC appear, institute thinks loop.Thus, do not export connecting path.Thus, the B2 of field network as process object finished dealing with (2-28).
(2-31) network N is o.2 between PLC 10-5 → controller
Since be connected to the connecting path till o.2 of network N between controller for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-5 → controller between network N o.2 "; A plurality of identical networks occur, institute thinks loop.Thus, the B2 of execution graph 36-3 does not handle.Thus, PLC 10-5 is finished dealing with as the B1 of process object (2-26).In addition, o.2 network N between controller is finished dealing with as the B2 of Figure 36-3 of process object (2-16).
The PLC that (2-32) is connected with information systems internetting No.3
Owing to the connecting path that is connected to till the information systems internetting No.3 that one of conduct is connected with PLC 10-1 in (2-13) network collects is " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 "; A plurality of identical elements do not appear, so be not loop.Thus, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here, owing to do not meet restriction, so can proceed information gathering to network, information systems internetting No.3 is selected as process object, the B2 of execution graph 36-3 handles.
In with the B2 processing of information systems internetting No.3, collect the PLC that is connected with information systems internetting No.3 as process object.Specifically, among the network data E3 that from the off line network structure information of Figure 11, stores, the PLC that retrieval and extraction are connected with information systems internetting No.3.As the PLC that is connected with information systems internetting No.3, collect PLC10-1,10-2 here.Then, whether generation is connected to the connecting path till the PLC that collects, be that loop is confirmed to the connecting path that is connected to each PLC.In this PLC handles, there is not relative importance value, handles in order.
(2-33) information systems internetting No.3 → PLC 10-1
Because the connecting path that is connected to till the PLC 10-1 is " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-1 ", a plurality of identical PLC occur, institute thinks loop.Thus, do not export this connecting path.
(2-34) information systems internetting No.3 → PLC 10-2
Because the connecting path that is connected to till the PLC 10-2 is " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-2 ", a plurality of identical key elements do not occur, so be not loop.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, the handling capacity evaluation of estimate that then is connected to till the PLC10-2 does
(1/1)+(1/10)+(1/1)+(1/100)+(1/1)=3.11。
But,, shown in Figure 37-5, exported connecting path P2g-1 to the path that is connected to till the PLC 10-2.Because the throughput value of this connecting path P2g-1 is 3.2, so the throughput value of this connecting path that calculates is better.Thus, substitute the connecting path P2g-1 exported, with handling capacity preferably this connecting path that calculates export as best connecting path P2g.Its result is shown in Figure 37-5.Then, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here owing to do not meet restriction, so with PLC 10-2 as process object and the B1 of execution graph 36-2 handles.
The network that (2-35) is connected with PLC 10-2
In with the B1 processing of PLC 10-2, collect the network that PLC 10-2 is connected as process object.Specifically, read out in the processing of the network that stores among the connection network information P2n in the off line network structure information of Figure 11.Here, as the network that is connected with PLC 10-2, between collection controller network N o.2 with information systems internetting No.3.Then, whether generation is connected to the connecting path till the network of collecting, be that loop is confirmed to each connecting path.In addition, in the processing of this network, there is not relative importance value, handles in order.
(2-36) network N is o.2 between PLC 10-2 → controller
Since be connected to the connecting path till o.2 of network N between controller for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-2 → controller between network N o.2 "; A plurality of identical key elements do not appear, so be not loop.Thus, according to restriction shown in Figure 12, confirm whether can proceed information gathering to network.Here, owing to do not meet restriction, so o.2 network N between controller is selected as process object, the B2 of execution graph 36-3 handles.
(2-37) with controller between the PLC that o.2 is connected of network N
O.2, during network N is handled as the B2 of process object between with controller, collect with controller between the PLC information that o.2 is connected of network N.Specifically, among the network data M2 that in the off line network structure information of Figure 11, stores, the PLC that o.2 network N is connected between retrieval and extraction and controller.Here, as with controller between the PLC that o.2 is connected of network N, collect PLC 10-2,10-1,10-5.Then, whether generation is connected to the connecting path till the PLC that collects, be that loop is confirmed to the connecting path that is connected to each PLC.In this PLC handles, there is not relative importance value, handles in order.
(2-38) between the controller network N o.2 → PLC 10-2
Since be connected to till the PLC 10-2 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-2 → controller between network N o.2 → PLC 10-2 "; A plurality of identical PLC occur, institute thinks loop.Thus, do not export connecting path.
(2-39) between the controller network N o.2 → PLC 10-1
Since be connected to till the PLC 10-1 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-2 → controller between network N o.2 → PLC 10-1 "; A plurality of identical PLC occur, institute thinks loop.Thus, do not export connecting path.
(2-40) between the controller network N o.2 → PLC 10-5
Since be connected to till the PLC 10-5 connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-2 → controller between network N o.2 → PLC 10-5 "; A plurality of identical elements do not appear, so be not loop.Here, the handling capacity of 123 pairs of these connecting paths of connecting path parsing selection portion is calculated.If with reference to Figure 38, the handling capacity evaluation of estimate that then is connected to till the PLC 10-5 does
(1/1)+(1/10)+(1/1)+(1/100)+(1/1)+(1/10)+(1/1)=4.21。
But,, shown in Figure 37-3, exported connecting path P5g to the path that is connected to till the PLC 10-5.Because the throughput value of this connecting path P5g is 3.2, thus existing connecting path with this calculate to compare throughput value better.Thus, the connecting path of handling capacity having been exported preferably is as best connecting path (Figure 37-3).Thus, o.2 network N between controller is finished dealing with as the B2 of process object (2-37).
The PLC that (2-41) is connected with information systems internetting No.3
Owing to the connecting path that is connected to till the information systems internetting No.3 that one of conduct is connected with PLC 10-2 in (2-35) network collects is " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-2 → information systems internetting No.3 "; A plurality of identical networks occur, institute thinks loop.Thus, the B2 of execution graph 36-3 does not handle.Thus, PLC 10-2 is finished dealing with as the B1 of Figure 36-2 of process object (2-35).In addition, information systems internetting No.3 is finished dealing with as the B2 of process object (2-32).In addition, PLC 10-1 is finished dealing with as the B1 of process object (2-13).In addition, o.1 network N between controller is finished dealing with as the B2 of process object (2-11).In addition, PLC 10-3 is finished dealing with as the B1 of process object (2-2).Thus, the connecting path dissection process is accomplished.
(connecting path display process)
If through above-mentioned off line connecting path dissection process; In off line connecting path maintaining part 125, store the connecting path shown in Figure 37-1~Figure 37-5; Then connecting path display part 120 is given prominence to the demonstration connecting path according to this connecting path on display part 112.
Figure 39 is the figure of an example of the display frame of expression off line connecting path.As shown in the drawing, hold the connecting path that is connected to each PLC easily.As stated, select communication throughput path preferably here.
In addition, also can PLC that can visit and the PLC that cannot visit be distinguished demonstration highlightedly.Through so showing, can easily understand the PLC (can easily understand the PLC of inaccessible) that can visit from starting point PLC.
Figure 40 is the figure of an example of the display frame of expression off line connecting path.In this figure, for the PLC that can visit according to the restriction of Figure 12, " zero " is set near it indicates from starting point PLC, for the PLC that can't visit according to the restriction of Figure 12, " * " is set near it indicates from starting point PLC.Thus, can identify the PLC that can visit from starting point PLC and the PLC of inaccessible at once.In the example of this Figure 40, be connected with PLC 10-9 via information systems internetting No.4 at the front end of PLC 10-5.But, because for this PLC 10-9, only just can visit, so meet the restriction B of Figure 12 via PLC 10-5 as the site-local of field network.Thus, can't visit PLC 10-9.
According to this embodiment 4; Have following effect, that is, and in the network chart of the control system that under off-line state, generates; The PLC that can visit can be easily held, and the connecting path that is connected to each PLC in this case can be understood in advance from PLC as starting point.In addition, also have following effect, that is, under the situation that has a plurality of connecting paths that begin from starting point PLC, automatically select benchmark according to the rules and the best connecting path selected.
Embodiment 5
But, for the network that constitutes control system, owing to there is the such connection restriction of above-mentioned Figure 12, so be not to be this Control System Design device and all PLC that where are connected in can access system.Thus, under the situation that has the PLC that to visit, need carry out following operation, that is, temporarily the connection cable between Control System Design device and the PLC taken off, be connected with PLC again as object.In addition, different according to the position that the Control System Design device is linked, might make communication speed slack-off.
Thus; In this embodiment 5, be illustrated to following Control System Design device and Control System Design method, promptly; For the network that in embodiment 4, constitutes control system; Can automatically calculate the PLC (starting point PLC) as the connector of Control System Design device, it can be connected with all PLC, and can carry out high-speed communication (becoming the best path of handling capacity on comprehensive angle).
Figure 41 is the block diagram of functional structure of schematically representing the embodiment 5 of Control System Design device involved in the present invention.This Control System Design device 100 is characterised in that, on the basis of Figure 35 of embodiment 4, and deletion starting point PLC specifying part 113, and have best connecting path calculating part 126.
Best connecting path calculating part 126 has following function; Promptly; To all candidates of the connector (starting point PLC) of this Control System Design device 100, resolve selection portion 123 through connecting path in order and carry out connecting path and resolve and select to handle, only extract the candidate that can connect all PLC subsequently; And then extract therein to the communication throughput of each PLC comprehensive on connecting path preferably, as best connecting path.This best connecting path calculating part 126 is corresponding to the best connecting path computing unit in claims.
Then, the processing to the Control System Design device of the structure with this embodiment 5 describes.Figure 42 is the process flow diagram of an example of the best connecting path computing step of expression.In addition, here, the best connecting path computing of giving an example in the control system of the structure with Fig. 1 describes.At first, the candidate PLC (step S371) that extracts as starting point PLC of best connecting path calculating part 126.Specifically, extract all PLC that store in the off line network structure information of Figure 11.Extract these 5 PLC of PLC 10-1~10-5 here.
Then, with each PLC that is extracted respectively as starting point PLC and the off line connecting path dissection process (step S372) shown in execution graph 36-1~Figure 36-3.With PLC 10-3 as starting point PLC and after carrying out off line connecting path dissection process, the connecting path data that as a result of obtain are with coming to the same thing shown in Figure 37-1~Figure 37-5 of embodiment 4.Figure 43-1~Figure 43-the 5th, the figure of the connecting path data under the situation of connecting path dissection process is carried out PLC 10-1 in expression as starting point PLC; Figure 44-1~Figure 44-the 5th, the figure of the connecting path data under the situation of connecting path dissection process is carried out PLC 10-2 in expression as starting point PLC; Figure 45-1~Figure 45-the 5th, expression is carried out the figure of the connecting path data under the situation of connecting path dissection process with PLC 10-4 as starting point PLC, Figure 46-1~Figure 46-the 5th, the figure of the connecting path data under the situation of connecting path dissection process is carried out PLC 10-5 in expression as starting point PLC.
Then, the result separately who obtains to carrying out the connecting path dissection process confirms (step S373) to whether being connected with all PLC.Because along with difference, produce the situation of the PLC that existence can't connect sometimes according to the restriction of Figure 12, here, so to whether confirming with the restriction of Figure 12 is inconsistent as the system of selection of the PLC of starting point.Here, under with the situation of any PLC, can be connected with all PLC as starting point PLC.
Then, to carrying out the result separately who obtains after the connecting path dissection process, the handling capacity evaluation of estimate (aggregate throughput evaluation of estimate) whole to system architecture compares (step S374).The throughput model that here uses is identical with the throughput model of the Figure 38 that in embodiment 4, uses.Below, illustrate each PLC as the handling capacity evaluation of estimate under the situation of starting point and its aggregate value.
(under the situation of PLC 10-1) as starting point PLC
PLC?10-1(P1g1)=0
PLC?10-2(P2g1)=2.01
PLC?10-3(P3g1)=2.1
PLC?10-4(P4g1)=2.1
PLC?10-5(P5g1)=2.1
Aggregate throughput evaluation of estimate=8.31
(under the situation of PLC 10-2) as starting point PLC
PLC?10-1(P1g2)=2.01
PLC?10-2(P2g2)=0
PLC?10-3(P3g2)=3.2
PLC?10-4(P4g2)=3.2
PLC?10-5(P5g2)=2.1
Aggregate throughput evaluation of estimate=10.51
(under the situation of PLC 10-3) as starting point PLC
PLC?10-1(P1g)=2.1
PLC?10-2(P2g)=3.11
PLC?10-3(P3g)=0
PLC?10-4(P4g)=2.1
PLC?10-5(P5g)=3.2
Aggregate throughput evaluation of estimate=10.51
(under the situation of PLC 10-4) as starting point PLC
PLC?10-1(P1g4)=2.1
PLC?10-2(P2g4)=3.11
PLC?10-3(P3g4)=2.1
PLC?10-4(P4g4)=0
PLC?10-5(P5g4)=3.2
Aggregate throughput evaluation of estimate=10.51
(under the situation of PLC 10-5) as starting point PLC
PLC?10-1(P1g5)=2.1
PLC?10-2(P2g5)=2.1
PLC?10-3(P3g5)=3.2
PLC?10-4(P4g5)=3.2
PLC?10-5(P5g5)=0
Aggregate throughput evaluation of estimate=10.6
Then; Best connecting path calculating part 126 from aforementioned calculation go out with the aggregate throughput evaluation of estimate of each PLC as starting point; The handling capacity the best (step S375) of extraction system structural entity is exported (step S376) as best connecting path to off line connecting path maintaining part 125.Since be utilized in employed throughput model in the embodiment 4, so here, connecting path the best that the aggregate throughput evaluation of estimate is less.According to The above results; Because it is PLC 10-1 is minimum as the aggregate throughput evaluation of estimate of the connecting path data under the situation of starting point; So the best connecting path shown in Figure 43-1~Figure 43-5 as best connecting path, is exported to off line connecting path maintaining part 125.Thus, best connecting path computing is accomplished.
Then, through connecting path display part 120, the best connecting path based on being calculated by best connecting path calculating part 126 is presented at best connecting path in the off-line system structural drawing.Figure 47 is the figure of an example of the display frame of the best connecting path of expression.This figure utilizes the connecting path display process of embodiment 3 and shows connecting path based on the best connecting path shown in Figure 43-1.Thus, the user of Control System Design device 100 can understand, needs only connection control system design apparatus 100 on PLC 10-1, just can be connected with all PLC that constitute control system, can carry out data with high throughput and transmit.
According to this embodiment 5,, can calculate the position that can conduct interviews and can carry out high-speed communication to all PLC in the control system for the network of the control system of under off-line state, constructing.Its result has following effect, that is, through connection control system design apparatus 100 on this position, just can reduce the download of setting data and upload the required time of operation.
Embodiment 6
In this embodiment 6; Describe to following Control System Design device and Control System Design method; Promptly; For the PLC midway of connecting path, can automatically calculate and be used for the data that receive are carried out route arriving the routing parameter as the PLC of target, and set from starting point PLC to each PLC.Here, at first the routing parameter in the control system is described simply, the content of embodiment is described then.
As the routing function in the control system, be in the system that forms by a plurality of networks, with the function of the data of crossing over a plurality of networks to the website instant transmission of other network sequence number.In order to carry out routing function, need to set routing parameter, with the network sequence number of request target with realize carrying out correspondence between the PLC of bridging functionality.
In addition, need in the request source of instant transmission and relay, set routing parameter.Here, so-called relay is meant the PLC that is connected with a plurality of networks.In addition, in relay, usually need to set be used for from request source to request target send the routing parameter of (toward journey) and be used for from request target to request source send (return) routing parameter this.In addition, need not in request target, to set routing parameter.
Figure 48 is the figure that is illustrated in an example of the routing parameter of setting in the control system.In addition, in this Figure 48, in the frame of the rectangle of representing each PLC, communication unit is shown.For example under the situation of network N website 1 o.1, with the sign of this communication unit as " 1Ns1 ".In addition, with PLC that a plurality of networks are connected in be provided with a plurality of NEs.
In this example, control system with network N o.1~network N o.3 these 3 networks connect and constitute.O.1 connect these 6 PLC of PLC 10-1~10-6 in network N in, wherein o.2 the PLC 10-4 of website 4 also is connected with neighbour's network N.That is, PLC 10-4 has: communication unit 1Ns4, and o.1 itself and network N communicate; And communication unit 2Ns1, o.2 itself and network N communicate.In addition, o.2 network N is connected with PLC 10-4,10-7,10-8, these 4 of 10-13.Wherein, o.1 the PLC10-4 of the website 1 of network N in o.2 also is connected with neighbour's network N, and o.3 the PLC 10-13 of website 4 also is connected with neighbour's network N.That is, PLC 10-13 has: communication unit 2Ns4, and o.2 itself and network N communicate; And communication unit 3Ns5, o.3 itself and network N communicate.In addition, connect these 5 of PLC 10-9~10-13 in network N in o.3.Wherein, o.2 the PLC 10-13 at the website 5 of network N in o.3 also is connected with neighbour's network N.
Here, give an example and describe to network N PLC 10-12 instant transmission data conditions o.3 from network N PLC 10-3 o.1.In this case, need be at o.1 PLC 10-3 of network N that instant transmission is carried out in request, realize that network N is o.1 with the PLC 10-4 of network N bridging functionality o.2 and realize that o.2 with among the PLC 10-13 of network N bridging functionality o.3 network N set routing parameter.Below, describe for the setting of the routing parameter of each website.
(1) network N PLC 10-3 o.1
In this PLC 10-3, set the communication unit (1Ns4) that transmits objective network sequence number (3) and relay, the junction network sequence number (1) that is connected to this relay as routing parameter.
(2) network N PLC 10-4 o.1
In this PLC 10-4, set the communication unit (2Ns4) that transmits objective network sequence number (3) and relay, the junction network sequence number (2) that is connected to this relay as routing parameter.In addition, owing to set the routing parameter that is used for o.2 o.1 carrying out the data transmission among the PLC 10-13 of (3) of explanation below to network N from network N, so in this PLC10-4, need not the routing parameter that return is used.
(3) network N PLC 10-13 o.2
In this PLC 10-13, for pointing to the setting that transmits target, transmit objective network No.3, so need not to set the routing parameter of using toward journey owing to after this website, just arrive.But, as the routing parameter that return is used, will transmit the objective network sequence number and be set at transfer source network sequence number (1), set the NE (2Ns1) of the relay that is used for return and the junction network sequence number (2) that is connected to relay.
Through in each website, setting routing parameter as stated, can transmit data to network N PLC 10-12 o.3 from network N PLC 10-3 o.1.
Below, the step of having utilized the routing parameter of setting as stated to carry out the data transmission is carried out simple declaration.At first, network N PLC 10-3 o.1 sends the data of sending to network N PLC 10-13 o.3 based on routing parameter.That is, be " 3 " according to transmitting the objective network sequence number, the relaying objective network is " 1 ", relaying targeted sites sequence number is " 4 " such setup parameter, sends data.Thus, o.1 send via network N from the data of PLC 10-3 to PLC 10-4 (have network N o.1 in as the PLC of the communication unit 1Ns4 of website 4).
If the communication unit 1Ns4 of this PLC 10-4 receives data; Then because the transmission target is network N PLC 10-12 o.3; So, via communication unit 2Ns1 and network N o.2, be that PLC 10-13 sends to the relaying targeted sites sequence number 4 of relaying objective network No.2 with reference to routing parameter.In PLC 10-13, because the data that receive are the data of sending to network N PLC 10-12 o.3, so o.3 send to PLC 10-12 via communication unit 3Ns5 and network N.Thus, the data toward journey transmit completion.
Below, explain that the network N PLC 10-12 o.3 as request target transmits data conditions to the network N PLC 10-3 o.1 as request source, i.e. the situation of the data of return transmission.In this case, network N PLC 10-12 o.3 is that network N PLC 10-3 o.1 sends data to transmitting target.O.3, these data arrive PLC 10-13 via network N.In PLC 10-13; Because the transmission target of these data is for transmitting the PLC 10-3 of objective network No.1; So, be that " network N o.2 ", relaying targeted sites sequence number transmit data for the network N PLC 10-4 o.2 of " 1 " to the relaying objective network with reference to routing parameter.
Because in network N PLC 10-4 o.2, receiving with network N PLC 10-3 o.1 is the data that transmit target, thus via be installed on the same substrate communication unit 1Ns4 and network N o.1, be PLC 10-3 transmission to transmitting target.Then, PLC 10-3 receives the data from network N PLC 10-12 o.3.Thus, the data of return transmit and accomplish.
In structure as implied above, in control system, carry out data under the situation of a plurality of networks of leap and transmit.Below, handle to describe to the setting of the network parameter of PLC in the above-mentioned control system.
Figure 49 is the block diagram of functional structure of schematically representing the embodiment 6 of Control System Design device involved in the present invention.This Control System Design device 100 is on the basis of Figure 35 of embodiment 4; Also has routing parameter calculating part 127; It reads out in the connecting path from starting point PLC to each PLC that keeps in the off line connecting path maintaining part 125; PLC in each connecting path, needing to set routing parameter calculates routing parameter.This routing parameter calculating part 127 is corresponding to the routing parameter computing unit in claims.In addition, for the textural element identical with Figure 35 of embodiment 4, the mark same-sign is also omitted its explanation.
Figure 50 is a block diagram of schematically representing the more detailed functional structure of routing parameter calculating part.As shown in the drawing, routing parameter calculating part 127 has connecting path reverse function module 1271, transmits objective network sequence number abstraction function module 1272, relaying objective network sequence number abstraction function module 1273 and relaying targeted sites sequence number abstraction function module 1274.
Connecting path reverse function module 1271 is extracted in the connecting path that stores in the off line connecting path maintaining part 125, generates the contrary connecting path that this data backwardization is formed.
Transmit in the connecting path and contrary connecting path of objective network sequence number abstraction function module 1272 from be stored in off line connecting path maintaining part 125, extract the transmission objective network sequence number in the routing parameter by 1271 generations of connecting path reverse function module.
In the connecting path and contrary connecting path of relaying objective network sequence number extraction portion from be stored in off line connecting path maintaining part 125, extract the relaying objective network sequence number in the routing parameter by 1271 generations of connecting path reverse function module.
In the connecting path and contrary connecting path of relaying targeted sites sequence number extraction portion from be stored in off line connecting path maintaining part 125, extract the relaying targeted sites sequence number in the routing parameter by 1271 generations of connecting path reverse function module.
(1) summary of handling
Below, describe for the computing of the routing parameter in the Control System Design device 100 with said structure.Figure 51-1~Figure 51-the 2nd, the process flow diagram of an example of expression routing parameter computing step.At first, specify the request source PLC (step S411) of instant transmission by the user through starting point PLC specifying part 113.Below this request source PLC is called starting point PLC.
Then, will select through the starting point PLC of starting point PLC specifying part 113 appointments as process object, the B2 shown in Figure 36-2 of execution embodiment 4 handles (step S412), obtains connecting path (step S413).
From the connecting path of obtaining, select 1 connecting path (step S414).Then, the starting point PLC in this connecting path is selected as process object, carry out C1 and handle (step S415).
Shown in Figure 51-2, in C1 handles, at first judge (step S431) to whether existing more than or equal to 2 various network till the PLC to terminal from the PLC of process object.Under the situation (in step S431, being situation not) that does not exist more than or equal to 2 various network, finish C1 and handle, return the processing of Figure 51-1.In addition, existing under the situation of various network (in step S431 for be situation), in selected connecting path, the network sequence number that the data of the next item up of terminal point PLC are put down in writing is exported (step S432) as transmitting the objective network sequence number.
Then; In selected connecting path; The network sequence number of putting down in writing in the data with the next item down of process object PLC is exported (step S433) as relaying objective network sequence number; And the PLC that is put down in writing in following the data to process object PLC exports (step S434) with its website sequence number in the relaying objective network of step S433 output as relaying targeted sites sequence number.
Then, the PLC that puts down in writing in following the data with process object PLC selects to return step S431 as process object (step S435), repeats above-mentioned processing.
If C1 finishes dealing with, then return Figure 51-1, generate the contrary connecting path (step S416) that the data backwardization with selected connecting path forms through connecting path reverse function module 1271.That is, the starting point PLC of selected connecting path becomes terminal point PLC, and terminal point PLC becomes starting point PLC.
Then, the PLC that is put down in writing in following the data with the starting point PLC in the data of the contrary connecting path after the backwardization selects as process object (step S417), implements C1 and handles (step S418).
After the C1 of contrary connecting path finishes dealing with; Confirm whether all connecting paths of in step S413, obtaining have all been carried out handling (step S419); Under the situation that has the connecting path of not handling (in step S419, being situation not); Return step S414, repeat above-mentioned processing.In addition, all connecting paths are being carried out under the situation about handling (situation for being in step S419), the routing parameter computing is accomplished.
(2) object lesson of handling
Because in above-mentioned explanation, the summary that the route calculation of parameter is handled is recorded and narrated, so the situation of the control system of the structure with Figure 28 of giving an example describes the object lesson of this processing as follows.The control system that this is shown in Figure 28 is as object, and PLC π as starting point PLC, is carried out the off line connecting path dissection process shown in Figure 36-1~Figure 36-3 of embodiment 4.Figure 52 is the figure that is illustrated in an example of the connecting path that is connected to each PLC in the control system of Figure 28.In addition, Figure 53-1~Figure 53-the 4th, the routing parameter of in each PLC, setting that obtains through the routing parameter computing.
(2-1) connecting path is obtained processing
At first, will through carrying out the off line connecting path dissection process shown in Figure 36-1~Figure 36-3, obtain the connecting path P α g~P ψ g shown in Figure 52 by the request source PLC π that carries out instant transmission of starting point PLC specifying part 113 appointments as starting point PLC.
(2-2) connecting path P α g
From the connecting path of Figure 52, at first select connecting path P α g, carry out following processing to this connecting path P α g.
(2-2-1) the PLC π of connecting path
With the starting point PLC among the connecting path P α g be PLC π as process object PLC, C1 shown in the execution graph 51-2 handles.Owing in the C1 processing of PLC π,, do not exist till the PLC more than or equal to 2 various network to terminal, finish PLC π is handled as the C1 of process object PLC to connecting path P α g as process object.
(2-2-2) the PLC π of contrary connecting path
Then, with " between PLC α → controller network N o.1 → PLC π " after the connecting path data of connecting path P α g " between PLC π → controller network N o.1 → PLC α " backwardization as contrary connecting path P α g '.And, will be that the PLC that is put down in writing in following the data of PLC α is that PLC π selects as process object PLC at the starting point PLC among this contrary connecting path P α g ', carry out C1 and handle.But,, finish PLC π is handled as the C1 of process object PLC owing in the C1 processing of this PLC π,, do not exist till the PLC more than or equal to 2 various network to terminal to contrary connecting path P α g ' as process object.
(2-3) connecting path P ε g
From the connecting path of Figure 52, select connecting path P ε g,, then obtain the identical result of connecting path P α g with (2-2), the routing parameter that does not calculate if handle to this connecting path P ε g.
(2-4) connecting path P β g
From the connecting path of Figure 52, select connecting path P β g, carry out following processing to this connecting path P β g.
(2-4-1) connecting path
With the starting point PLC among the connecting path P β g be PLC π as process object PLC, C1 shown in the execution graph 51-2 handles.In with the C1 processing of PLC π,, exist more than or equal to 2 various network till the PLC to terminal to connecting path P β g as process object.Thus, be that the network sequence number " 5 " of the information systems internetting No.5 of record in last 1 data (data 3) of PLC β is exported as transmitting the objective network sequence number with terminal point PLC.
In addition, network N network sequence number " 1 " o.1 between the controller that will in following 1 data (data 1) of process object PLC π, put down in writing is exported as relaying objective network sequence number.And the PLC that obtains following the data (data 2) of process object PLC π record from off line network structure information retaining section 122 is PLC α network N website sequence number " 1 " in o.1 between controller, exports as relaying targeted sites sequence number.
Then, the PLC α with record in following the data (data 2) of process object PLC π selects as process object execution C1 processing.Owing in the C1 processing of PLC α,, do not exist till the PLC more than or equal to 2 various network to terminal, finish connecting path PLC α is handled as the C1 of process object to connecting path P β g as process object.Its result is shown in the 501st row of Figure 53-1.
(2-4-2) contrary connecting path
Then, " between the PLC β → information systems internetting No.5 → PLC α → controller network N o.1 → PLC π " after the connecting path data of connecting path P β g " between PLC π → controller network N o.1 → PLC α → information systems internetting No.5 → PLC β " carry out backwardizations is as contrary connecting path P β g '.And the starting point PLC that will be somebody's turn to do among the contrary connecting path P β g ' is that the PLC α that puts down in writing in following the data of PLC β selects as process object, carries out C1 and handles.But,, finish PLC α is handled as the C1 of process object PLC owing in the C1 processing of this PLC α,, do not exist till the PLC more than or equal to 2 various network to terminal to contrary connecting path P β g ' as process object.
(2-5) connecting path P μ g
From the connecting path of Figure 52, select connecting path P μ g,, then obtain the identical result of connecting path P β g with (2-4) if handle to this connecting path P μ g.That is, the routing parameter that calculates is identical, does not have the routing parameter of new output.
(2-6) connecting path P θ g
From the connecting path of Figure 52, select connecting path P θ g, carry out following processing to this connecting path P θ g.
(2-6-1) connecting path
With the starting point PLC among the connecting path P θ g be PLC π as process object PLC, carry out the C1 shown in Figure 51-2 and handle.In with the C1 processing of PLC π,, exist more than or equal to 2 various network till the PLC to terminal to connecting path P θ g as process object.Thus, will terminal point PLC be PLC θ on network N network sequence number " 2 " o.2 between the controller of record in 1 the data (data 5), export as transmitting the objective network sequence number.
In addition, will the controller of record in the data (data 1) of the next item down of process object PLC π between network N network sequence number " 1 " o.1, export as relaying objective network sequence number.And the PLC that obtains record following the data (data 2) of process object PLC π from off line network structure information retaining section 122 is PLC α network N website sequence number " 1 " in o.1 between controller, exports as relaying targeted sites sequence number.Its result is shown in the 502nd row of Figure 53-1.
Then, the PLC α with record in following the data (data 2) of process object PLC π selects as process object execution C1 processing.In with the C1 processing of PLC α,, exist more than or equal to 2 various network till the PLC to terminal to connecting path P θ g as process object.Thus, will terminal point PLC be PLC θ on the network sequence number " 2 " of network 22B between the controller of record in 1 the data (data 5), export as transmitting the objective network sequence number.
In addition, the network sequence number " 5 " of the information systems internetting No.5 that will in following 1 data (data 3) of process object PLC α, put down in writing is exported as relaying objective network sequence number.And obtaining the PLC that puts down in writing following the data (data 4) of process object PLC α from off line network structure information retaining section 122 is the website sequence number " 2 " of PLC β in information systems internetting No.5, exports as relaying targeted sites sequence number.Its result is shown in the 504th row of Figure 53-2.
Then, the PLC that puts down in writing in following the data with process object PLC α be PLC β as process object PLC, carry out C1 and handle.Owing in the C1 processing of PLC β,, do not exist till the PLC more than or equal to 2 various network to terminal, finish PLC β is handled as the C1 of process object to connecting path P θ g as process object.
(2-6-2) contrary connecting path
Then, with the connecting path data of connecting path P θ g " between PLC π → controller network N o.1 → PLC α → information systems internetting No.5 → PLC β → controller between network N o.2 → PLC θ " after carry out backwardization " between PLC θ → controller network N o.2 → PLC β → information systems internetting No.5 → PLC α → controller between network N o.1 → PLC π " as contrary connecting path P θ g '.And, will be that the PLC β that puts down in writing in following the data of PLC θ selects as process object at the starting point PLC among this contrary connecting path P θ g ', carry out C1 and handle.
In with the C1 processing of PLC β,, exist more than or equal to 2 various network till the PLC to terminal to connecting path P θ g ' as process object.Thus, will terminal point PLC be PLC π between the controller put down in writing in 1 the data network N network sequence number " 1 " o.1 export as transmitting the objective network sequence number.In addition, will be in the data (data 3) of the next item down of process object PLC β the network sequence number " 5 " of the information systems internetting No.5 of record, export as relaying objective network sequence number.And the PLC that obtains record following the data (data 4) of process object PLC β from off line network structure information retaining section 122 is the website sequence number " 1 " of PLC α in information systems internetting No.5, exports as relaying targeted sites sequence number.Its result is shown in the 506th row of Figure 53-3.
Then, the PLC α that puts down in writing in following the data with process object PLC β selects as process object, carries out C1 and handles.Owing in the C1 processing of PLC α,, do not exist till the PLC more than or equal to 2 various network to terminal, finish connecting path PLC α is handled as the C1 of process object to connecting path P θ g ' as process object.
(2-7) connecting path P κ g
From the connecting path of Figure 52, select connecting path P κ g,, then obtain the identical result of connecting path P θ g with (2-6) if handle to this connecting path P κ g.That is, the routing parameter that calculates is identical, does not have the routing parameter of new output.
(2-8) connecting path P ω g
From the connecting path of Figure 52, select connecting path P ω g, carry out following processing to this connecting path P ω g.
(2-8-1) connecting path
With the starting point PLC among the connecting path P ω g be PLC π as process object PLC, carry out the C1 shown in Figure 51-2 and handle.In with the C1 processing of PLC π,, exist more than or equal to 2 various network till the PLC to terminal to connecting path P ω g as process object.Thus, will terminal point PLC be PLC ω on network N network sequence number " 3 " o.3 between the controller of record in 1 the data (data 5), export as transmitting the objective network sequence number.
In addition, network N network sequence number " 1 " o.1 between the controller that will in following 1 data (data 1) of process object PLC π, put down in writing is exported as relaying objective network sequence number.And the PLC that from off line network structure information, obtains in following the data (data 2) of process object PLC π record is PLC α network N website sequence number " 1 " in o.1 between controller, exports as relaying targeted sites sequence number.Its result is shown in the 503rd row of Figure 53-1.
Then, the PLC α with record in following the data (data 2) of process object PLC π selects as process object execution C1 processing.In with the C1 processing of PLC α,, exist more than or equal to 2 various network till the PLC to terminal to connecting path P ω g as process object.Thus, be network N network sequence number " 3 " o.3 between the controller of putting down in writing in last 1 data (data 5) of PLC ω with terminal point PLC, export as transmitting the objective network sequence number.
In addition, the network sequence number " 5 " of the information systems internetting No.5 that will in following 1 data (data 3) of process object PLC α, put down in writing is exported as relaying objective network sequence number.And obtaining the PLC that puts down in writing following the data (data 4) of process object PLC α from off line network structure information retaining section 122 is the website sequence number " 3 " of PLC μ in information systems internetting No.5, exports as relaying targeted sites sequence number.Its result is shown in the 505th row of Figure 53-2.
Then, the PLC that puts down in writing in following the data with process object PLC α be PLC μ as process object, carry out C1 and handle.In with the C1 processing of PLC μ,, finish PLC β is handled as the C1 of process object owing to, do not exist till the PLC more than or equal to 2 various network to terminal to connecting path P ω g as process object.
(2-8-2) contrary connecting path
Then, with the connecting path data of connecting path P ω g " between PLC π → controller network N o.1 → PLC α → information systems internetting No.5 → PLC μ → controller between network N o.3 → PLC ω " after carry out backwardization " between PLC ω → controller network N o.3 → PLC μ → information systems internetting No.5 → PLC α → controller between network N o.1 → PLC π " as contrary connecting path P ω g '.And, will be that the PLC μ that puts down in writing in following the data of PLC ω selects as process object at the starting point PLC among this contrary connecting path P ω g ', carry out C1 and handle.
In with the C1 processing of PLC μ,, exist more than or equal to 2 various network till the PLC to terminal to connecting path P ω g ' as process object.Thus, will terminal point PLC be PLC π on network N network sequence number " 1 " o.1 between the controller put down in writing in 1 the data, export as transmitting the objective network sequence number.In addition, the network sequence number " 5 " of the information systems internetting No.5 that will in the data of the next item down of process object PLC μ, put down in writing is exported as relaying objective network sequence number.And obtaining the PLC that puts down in writing following the data of process object PLC μ from off line network structure information retaining section 122 is the website sequence number " 1 " of PLC α in information systems internetting No.5, exports as relaying targeted sites sequence number.Its result is shown in the 507th row of Figure 53-4.
Then, the PLC α that puts down in writing in following the data with process object PLC μ selects as process object, carries out C1 and handles.Owing in the C1 processing of PLC α,, do not exist till the PLC more than or equal to 2 various network to terminal, finish connecting path PLC α is handled as the C1 of process object to connecting path P ω g ' as process object.
(2-9) connecting path P ψ g
From the connecting path of Figure 52, select connecting path P ψ g,, then obtain the identical result of connecting path P ω g with (2-8) if handle to this connecting path P ψ g.That is, the routing parameter that calculates is identical, does not have the routing parameter of new output.
With the routing parameter of the Figure 53 that obtains as stated-1~Figure 53-4, the PLC shown in the denominational is separately set.That is, Figure 53-the 1st, the routing parameter of in PLC π, setting, Figure 53-the 2nd, the routing parameter of in PLC α, setting, Figure 53-the 3rd, the routing parameter of in PLC β, setting, Figure 53-the 4th, the routing parameter of in PLC μ, setting.
According to this embodiment 6, owing to can carry out the processing of original manual calculation by Control System Design device 100, so have the effect of saving the man-hour of calculating routing parameter.Also have following effect in addition, that is, in the situation of appending change to the structure of existing control system, or construct under the situation of new control system, also can easily set the routing parameter that comprises to PLC at interior network parameter.And, owing to carry out the demonstration of connecting path, so also have the effect that situation that which bar connecting path routing parameter to each PLC of calculating be used for can easily be confirmed.
Embodiment 7
In this embodiment 7; Describe to following Control System Design device and Control System Design method; Promptly; When the network parameter to the control system of having moved changes, can automatically the change that comprises the routing parameter of following this change and producing be rewritten at the network parameter of each interior PLC.
Figure 54 is the block diagram of functional structure of schematically representing the embodiment 7 of Control System Design device involved in the present invention.This Control System Design device 100 has Department of Communication Force 111; Display part 112; Starting point PLC specifying part 113; On-line network structural information collection portion 114; Online connecting path maintaining part 115; On-line network structural information maintaining part 116; Display object coordinate Calculation portion 117; System architecture display part 118; System architecture editorial office 121; Off line network structure information retaining section 122; Connecting path is resolved selection portion 123; Off line connecting path maintaining part 125; Connecting path display part 120; Rewriting portion 128 in the parameter set; And the control part 119 of controlling above-mentioned each handling part.In more detail, this Control System Design device 100 has following structure, that is, on the basis of the structure of the structure of embodiment 1 and embodiment 6, deletion throughput model maintaining part 124, and rewriting portion 128 in the parameter set further is set.
Rewriting portion 128 automatically comprises the change of the change of routing parameter at interior network parameter to control system in the parameter set.At this moment, with the order that can can't not conduct interviews to the PLC that constitutes control system, carry out the rewriting of network parameter owing to parameter modification.This network parameter concentrates rewriting portion 128 corresponding to rewriting the unit in the parameter set in claims.In addition, for the identical textural element of textural element of explanation in the above-described embodiment, the mark same numeral also omits its explanation.
(1) summary of handling
Figure 55-1~Figure 55-the 2nd, the process flow diagram of an example of rewriting treatment step in the expression parameter set.At first, the Control System Design device 100 that is connected with one of them PLC that constitutes control system, the method through explanation in embodiment 1 obtains network structure information (step S451) from the control system of moving.Below, this network structure information is called the on-line network structural information.
Then,, under off-line state, (step S452) edited in variation of parameter, generate off line network structure information to the on-line network structural information that is obtained.At this moment, suppose and make that 1 network of network parameter is changed.Then, be based on the off line network structure information that edits out under the off-line state, calculate routing parameter (step S453).
Then, online network structure information and the off line network structure information that edits out are compared, there is the network (step S454) of change in extracting parameter.And to each PLC of the network that is extracted, the parameter shown in the execution graph 55-2 is rewritten and is handled (step S455).
Be transferred to Figure 55-2, with PLC that the network that is extracted is connected in, the parameter of the common website PLC that the website sequence number is maximum is rewritten as new argument (step S471).Then, rewrite processing, the master station of the network parameter that this Network Management website PLC is kept counts and deducts 1 (step S472).
Then, the master station in the network parameter of this Network Management website PLC is counted whether become 1 and judge (step S473).Master station in the network parameter of admin site PLC counts and is not to return step S471 under 1 the situation (in step S473, being situation not), repeats above-mentioned processing, and the master station in the network parameter of admin site PLC counts and becomes till 1.
In addition; It is under 1 the situation (situation for being in step S473) that master station in the network parameter of admin site PLC counts; The parameter of this Network Management website PLC is rewritten as new argument (step S474), and parameter is rewritten and is finished dealing with, and handles and returns Figure 55-1.
Return Figure 55-1, will in step S454, rewrite (step S456) by the routing parameter of selected network associated, rewrite in the parameter set and finish dealing with.
(2) object lesson of handling
Owing in above-mentioned explanation, record and narrate, so the following object lesson that is directed against this processing is elaborated to rewriting the summary of handling in the parameter set.Here; Describe to following situation; That is, o.10 o.3 the control system shown in Figure 28 of moving for the routing parameter according to Figure 53-1~Figure 55-4 that calculates through embodiment 6 change between controller network N with network N between controller.
At first, the method according to explanation in the embodiment 1 obtains the on-line network structural information of the control system shown in Figure 28 of moving, and is stored in the on-line network structural information maintaining part 116.
Then; Method according to explanation in the embodiment 4; To the on-line network structural information; Be created under the off-line state by system architecture editorial office 121 o.3 network N between controller is changed to network N off line network structure information o.10 between controller, and be stored in the off line network structure information retaining section 122.In addition, according to the method for explanation in the embodiment 6,, carry out the calculating of routing parameter based on off line network structure information after changing.Figure 56-1~Figure 56-the 4th, the figure of the routing parameter behind the structure modify of expression control system.In the 515th row of the 513rd row of Figure 56-1 and Figure 56-2, become respectively with 503 and Figure 53-2 of Figure 53-1 505 in transmission objective network sequence number be that the part of " 3 " changes to the form of " 10 ".
Then, on-line network structural information and off line network structure information are compared, there is the network of change in extracting parameter., extract following situation here, that is, o.10 network N part o.3 changes between controller network N between the controller of on-line network structural information in off line network structure information.
Then, to network N between the controller that has change o.3, the rewriting of each PLC parameter shown in the execution graph 55-2 is handled.At first, in the control system of moving, will be that the parameter of PLC ψ (website sequence number 3) is rewritten as new argument with the maximum common website PLC of website sequence number among the PLC that o.3 network N between controller is connected.That is the rewriting of, carrying out from " the website sequence number 3 of network N common website o.3 between controller " to " the website sequence number 3 of network N common website o.10 between controller " is handled.
Then, in the control system of moving, rewriting, will be that master station in the network parameter of PLC μ counts and deducts 1 with the admin site PLC that o.3 network N between controller is connected.That is, the master station o.3 of network N between controller is counted be rewritten as " 2 " from " 3 ".Thus, at this constantly, between controller network N o.3 with PLC μ and state that PLC ω is connected under move, though PLC ψ has carried out physical connection, yet be in not as website and the state that moves o.3 of network N between controller.
Then; Owing to be that master station in the network parameter of PLC μ counts with the admin site PLC that o.3 is connected of network N between controller is " 2 " rather than " 1 "; So will be that the parameter of PLC ω (website sequence number 2) is rewritten as new argument with the maximum common website PLC of website sequence number among the PLC that o.3 network N between controller is connected at this constantly.That is the rewriting of, carrying out from " the website sequence number 2 of network N common website o.3 between controller " to " the website sequence number 2 of network N common website o.10 between controller " is handled.
Then, will be that master station in the network parameter of PLC μ counts and deducts 1 with the admin site PLC that o.3 network N between controller is connected.That is, the total website sequence number o.3 of network N between controller is rewritten as " 1 " from " 2 ".Thus, at this constantly, o.3 network N moves with the state that only is connected with PLC μ between controller, though PLC ω and PLC ψ have carried out physical connection, is in not as website and the state that moves o.3 of network N between controller.
Then and since with controller between the admin site PLC that o.3 is connected of network N be that master station in the network parameter of PLC μ counts and is " 1 ", so the parameter of the PLC μ of this admin site is rewritten as new argument.That is, rewrite to " the website sequence number 1 of network N admin site o.10 between controller " from " the website sequence number 1 of network N admin site o.3 between controller ".Thus, at this regularly, o.10 o.3 network N change between controller network N between controller, between controller network N o.10 in, to move with PLC μ, PLC ω and the state that PLC ψ is connected.The parameter of each PLC of Figure 55-2 is rewritten the processing end thus.
Then, rewrite with the controller that has change between the processing of the routing parameter that o.3 is associated of network N.Here because o.10 o.3 network N change between controller network N between controller, so follow this situation, in the routing parameter shown in Figure 56-1~Figure 56-4 that calculates automatically again, be rewritten as with controller between the routing parameter that o.10 is associated of network N.That is,, write the new routing parameter P π q shown in Figure 56-1,, write the new routing parameter P α q shown in Figure 56-2 to PLC α to PLC π.In addition, because the network of existence change not much else, finish dealing with so rewrite in the parameter set.
According to this embodiment 7, have following effect, that is, when the change network parameter, can automatically write comprising the change of routing parameter at interior network parameter to the PLC that has change.In the prior art, when network parameter changes, need be on each PLC that changes connection control system design apparatus 100; Write new setting respectively; Very loaded down with trivial details, but in this embodiment 7, have the effect that can change the network parameter of each PLC via network.
Embodiment 8
Embodiment 7 is to effective method under the situation of 1 network change parameter in the system of having moved, and in this embodiment 8, the situation to a plurality of network change parameters is described.
Even under the situation of a plurality of network change parameters,, just can automatically rewrite the change that comprises routing parameter network parameter at each interior PLC as long as change application implementation mode in order 7 to each.But, because the PLC of routing parameter need be repeatedly rewritten in existence sometimes, so though the rewriting operation is carried out automatically, efficient is low.Thus, in this embodiment 8, to concentrating the Control System Design device and the Control System Design method of carrying out to describe above-mentioned rewriting operation.
The structure of the Control System Design device that in this embodiment 8, uses is identical with the structure shown in Figure 54 of embodiment 7.But; Rewriting portion 128 has following function in the parameter set; Promptly; At first, then, begin to carry out in order the renewal of routing parameter from the PLC nearest towards the PLC of network far away apart from starting point PLC from beginning not comprise the renewal of routing parameter in order at interior network parameter towards starting point PLC apart from starting point PLC network farthest.Thus, the state that can avoid network parameter can't communicate by letter in upgrading.
(1) summary of handling
Figure 57-1~Figure 57-the 2nd, the process flow diagram of an example of rewriting treatment step in the parameter set of a plurality of networks of expression.At first, with the Control System Design device 100 that one of them PLC that constitutes control system is connected, obtain on-line network structural information (step S511) from the control system of moving.Its result is stored in the on-line network structural information maintaining part 116.
Then,, under off-line state, parameter modification is edited (step S512) to the on-line network structural information that obtains, its result as off line network structure information storage in off line network structure information retaining section 122.At this moment, suppose changing more than or equal to 2 network of network parameters.Then, be based on the off line network structure information that edits out under the off-line state, carry out the computing (step S513) of routing parameter.
Then, the on-line network structural information that will in step S511, obtain and compare in the off line network structure information that step S512 inediting goes out, there is the network (step S514) of change in extracting parameter.
Then; From the network that is extracted; With reference to being stored in the off line connecting path information in the off line connecting path maintaining part 125; Select 1 connecting path network (step S515) farthest with starting point PLC, the parameter to each PLC in the selected network shown in the execution graph 55-2 is rewritten and is handled (step S516).In addition,, the parameter of this PLC in embodiment 7, is illustrated because rewriting to handle, should explanation so omit.
Whether if to the network of in step S515, selecting, the parameter of the PLC of Figure 55-2 is rewritten and is finished dealing with, then judge to exist the all-network of change all to carry out selecting (step S517) to the parameter that in step S514, extracts.Do not selecting from the network that extracts, to select 1 under all situation that have the network of change (in step S517, being situation not) apart from PLC network far away of starting point (step S518).Then, return step S516, repeat above-mentioned processing, until to the all-network that has change according to all selecting with the far and near order of the connecting path of starting point PLC.In addition, selecting to carry out the routing parameter rewriting processing (step S519) of Figure 57-2 under all situation that have the network of change (situation) for being in step S517.
Be transferred to Figure 57-2, from rewriting the PLC of the network associated of handling with having carried out network parameter, extraction needs to rewrite the PLC (step S531) of routing parameter.In the PLC that extracts, the short PLC of the connecting path from remain on off line connecting path maintaining part 125 begins to rewrite in order routing parameter (step S532).Thus, routing parameter is rewritten and is finished dealing with, and rewrites in the parameter set and finishes dealing with.
(2) object lesson of handling
Owing in above-mentioned explanation, record and narrate, so the following object lesson that is directed against this processing at length describes to rewriting the summary of handling in the parameter set of a plurality of networks.Here; Describe to following situation; Promptly; O.1, o.9 the control system shown in Figure 28 of moving for the routing parameter with Figure 53-1~Figure 53-4 of calculating through embodiment 6 changes between controller network N with network N between controller, and o.10 o.3 network N between controller changed between controller network N.
At first, the method according to explanation in the embodiment 1 obtains the on-line network structural information of the control system shown in Figure 28 of moving, and is stored in the on-line network structural information maintaining part 116.
Then; Method according to explanation in embodiment 4; By system architecture editorial office 121 make respectively under the off-line state with controller between network N o.1 change between controller network N o.9, with controller between network N o.3 change to network N off line network structure information o.10 between controller, be stored in the off line network structure information retaining section 122.In addition, according to the method for explanation in the embodiment 6, carry out the calculating of routing parameter based on off line network structure information after changing.Figure 58-1~Figure 58-the 4th, the figure of the formation routing parameter after changing of expression control system.
Then, online network structure information and off line network structure information are compared, there is the network of change in extracting parameter., extract following situation here, that is, between the controller of on-line network structural information network N o.1, the part of No.3 in off line network structure information, change to respectively between controller network N o.9, No.10.
Then, to network between each controller that has change, the parameter of each PLC shown in the execution graph 55-2 is rewritten and is handled.That is, at first o.1, implement the parameter rewriting of each PLC and handle, then, to network N between the controller that has change o.3, implement the parameter of each PLC and rewrite processing to network N between the controller that has change.
Then, as follows, be implemented in shown in Figure 57-2 with the controller that has change between network N o.1, the rewriting of the routing parameter that is associated of No.3 handles.
At first, extract in the routing parameter of the Figure 58 that recalculates-1~Figure 58-4, need to rewrite the PLC of routing parameter.Here, because o.9 o.1 network N change between controller network N between controller, o.10 o.3 network N change between controller network N between controller, so rewrite all routing parameters shown in Figure 53-1~Figure 53-4 of the current use that comprises above-mentioned key element.That is, need write the new routing parameter shown in Figure 58-1, write the new routing parameter shown in Figure 58-2, write the new routing parameter shown in Figure 58-3, write the new routing parameter P μ q shown in Figure 58-4 to PLC μ to PLC β to PLC α to PLC π.
Carrying out writing of above-mentioned routing parameter when handling, in these PLC,, rewrite routing parameter with the order that the short PLC of the connecting path from remain on off line connecting path maintaining part 125 begins., remaining on the off line connecting path in the off line connecting path maintaining part 125 here, is to the network architecture that under off-line state, edits out, the connecting path that when calculating routing parameter, uses.Here, because the connecting path of direct-connected PLC π is the shortest, so at first write the new routing parameter of Figure 58-1 to PLC π.
Then, with reference to off line connecting path maintaining part 125, extract the shortest PLC of connecting path wherein.The shortest PLC of connecting path wherein is PLC α.Thus, then write the new routing parameter of Figure 58-2 to PLC α.
Identical ground, connecting path time short PLC is PLC β and PLC μ, writes the new routing parameter of Figure 58-3 to PLC β, writes the new routing parameter of Figure 58-4 to PLC μ.Thus, the rewriting of routing parameter handle and the parameter set of a plurality of networks in rewrite and finish dealing with.
Under situation, can automatically rewrite the change that comprises routing parameter network parameter, but the PLC of routing parameter need be repeatedly rewritten in existence sometimes here, at each interior PLC to the method for the PLC application implementation mode in order 7 of rewriting network parameter.That is, in PLC π, write reflected controller between network N o.1 change between controller behind the network N routing parameter o.9, need once more to PLC π write reflected controller between network N o.3 change to network N routing parameter o.10 between controller.But, through utilizing said method, can these routing parameters be collectively written into, can be so that the operation high efficiency that the change of the routing parameter that the change of network parameter is related writes to each PLC.
According to this embodiment 8; Because the network of network parameter more than or equal to 2 of formation control system has taken place under the situation of change under off-line state; At first from beginning only to change in order network parameter with the connecting path of starting point PLC network far away; Then to begin to change in order routing parameter, so have the effect that to concentrate the rewriting of carrying out network parameter with the nearer person of the connecting path of starting point PLC.
In addition, in above-mentioned embodiment 1~8, give an example the situation of the control system that Programmable Logic Controller is formed by connecting as control device and network has been described, but purport of the present invention is not limited thereto.For example, except Programmable Logic Controller, also can be applied to the control system that numerical control device or movement controller, robot controller equal controller and network are formed by connecting identically.
In addition, above-mentioned Control System Design method can realize through following method, that is, the program that has write treatment step carried out by computing machines such as personal computer with CPU (central arithmetic processing apparatus) or workstations.In this case, the CPU of computing machine (control module) carries out each treatment process that said procedure generates the support method according to program.These procedure stores are in the storage medium that hard disk, flexibility (floppy) (registered trademark) disk, CD (Compact Disk)-ROM (Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk or Digital Video Disk) etc. can be read by computing machine, through from storage medium, being read and carried out by computing machine.In addition, these programs also can be issued via networks such as the Internet (communication line).
Industrial applicibility
As stated, Control System Design device involved in the present invention is in that the system architecture of the control system that is provided with on the production equipment etc. and connecting path are held this respect is effective.

Claims (3)

1. Control System Design device is characterized in that having:
Communication unit, it connects with 1 control device be connected the control system that a plurality of control device form via network in;
Starting point control device designating unit, its said control device that will be connected with said communication unit is specified as the starting point control device;
On-line network structural information collector unit; It is via said communication unit; From constituting the control device of said control system, collect in interior on-line network structural information comprising control device structure that this control device has and the network that said control device connected;
The system architecture edit cell, it edits the on-line network structural information of being collected by said on-line network structural information collector unit under off-line state, generate off line network structure information;
Connecting path is resolved selected cell, and its off line connecting path to each control device of being comprised from said starting point control device to said off line network structure information is resolved, and selects;
The routing parameter computing unit; It is to resolving each off line connecting path that selected cell is selected through said connecting path; Calculating is being connected with between control device under the situation more than or equal to 2 networks from the starting point control device to terminal; Carry out data from said starting point control device to said terminal point control device and transmit required routing parameter, this routing parameter is to setting at the control device that connects between with a plurality of networks on the said off line connecting path; And
Rewrite the unit in the parameter set; It compares said on-line network structural information and said off line network structure information and the network of extracting parameter existence change; After the parameter that has changed the control device that is connected with the network of said parameter existence change via said communication unit in order; In the control device that is set with routing parameter, will there be the routing parameter of the network associated of change with said parameter, be rewritten as the routing parameter that calculates through said routing parameter computing unit.
2. Control System Design device as claimed in claim 1 is characterized in that,
Rewrite the unit of control device there is the common website of the network that changes in to(for) said parameter in the said parameter set; Begin change parameter in order from the big control device of website sequence number; Parameter to the control device of admin site changes at last, then, carries out the rewriting of routing parameter and handles.
3. Control System Design device as claimed in claim 1 is characterized in that,
Exist a plurality of said parameters to exist under the situation of the network that changes; Rewrite there is change in the unit to said parameter network in the said parameter set; Begin to carry out parameter modification in order, to routing parameter with control device to direction near said starting point control device from the said starting point control device of distance network farthest; With begin from distance said starting point control device near control device towards away from direction, carry out the change of routing parameter in order.
CN201210211237.5A 2007-05-31 2007-05-31 Control system design device Expired - Fee Related CN102819231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210211237.5A CN102819231B (en) 2007-05-31 2007-05-31 Control system design device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210211237.5A CN102819231B (en) 2007-05-31 2007-05-31 Control system design device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2007800531668A Division CN101681157B (en) 2007-05-31 2007-05-31 Control system designing apparatus

Publications (2)

Publication Number Publication Date
CN102819231A true CN102819231A (en) 2012-12-12
CN102819231B CN102819231B (en) 2015-03-18

Family

ID=47303385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210211237.5A Expired - Fee Related CN102819231B (en) 2007-05-31 2007-05-31 Control system design device

Country Status (1)

Country Link
CN (1) CN102819231B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107003664A (en) * 2014-12-15 2017-08-01 三菱电机株式会社 Design of information system aid and design of information system auxiliary program
CN108885437A (en) * 2016-03-29 2018-11-23 三菱电机株式会社 Programmable logic controller (PLC)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06120968A (en) * 1992-10-09 1994-04-28 Matsushita Electric Ind Co Ltd Network management device and network constitution management system
US5838907A (en) * 1996-02-20 1998-11-17 Compaq Computer Corporation Configuration manager for network devices and an associated method for providing configuration information thereto
JPH117421A (en) * 1997-06-19 1999-01-12 Oki Electric Ind Co Ltd Network simulator
CN1432242A (en) * 2001-03-29 2003-07-23 三菱电机株式会社 Network management system
JP2006277734A (en) * 2005-03-01 2006-10-12 Omron Corp Network diagram display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06120968A (en) * 1992-10-09 1994-04-28 Matsushita Electric Ind Co Ltd Network management device and network constitution management system
US5838907A (en) * 1996-02-20 1998-11-17 Compaq Computer Corporation Configuration manager for network devices and an associated method for providing configuration information thereto
JPH117421A (en) * 1997-06-19 1999-01-12 Oki Electric Ind Co Ltd Network simulator
CN1432242A (en) * 2001-03-29 2003-07-23 三菱电机株式会社 Network management system
JP2006277734A (en) * 2005-03-01 2006-10-12 Omron Corp Network diagram display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107003664A (en) * 2014-12-15 2017-08-01 三菱电机株式会社 Design of information system aid and design of information system auxiliary program
CN107003664B (en) * 2014-12-15 2019-04-19 三菱电机株式会社 Design of information system auxiliary tool and design of information system auxiliary program
CN108885437A (en) * 2016-03-29 2018-11-23 三菱电机株式会社 Programmable logic controller (PLC)

Also Published As

Publication number Publication date
CN102819231B (en) 2015-03-18

Similar Documents

Publication Publication Date Title
CN101681157B (en) Control system designing apparatus
JP5195955B2 (en) Design support system
CN103403720A (en) Design assistance device of network system
CN100368986C (en) Editing device and storage medium for storage editor program
CN107077339A (en) It is prgraming automatized in the 3D graphic editors logically and physically emulated using close-coupled
CN106794580A (en) System and method for instructing robot manipulation
TWI581083B (en) Program product for generating common parameters interface and parameter reading-in program product
US20090088871A1 (en) Historian integrated with mes appliance
CN112084385B (en) Part-process-equipment association relationship topological view generation method based on digital twinning
CN106662854A (en) A method and system for configuration of devices of a control system
CN108286978B (en) Road network automatic generation method and device and hybrid navigation system
EP3656513A1 (en) Method and system for predicting a motion trajectory of a robot moving between a given pair of robotic locations
CN105074587A (en) System development device, method, and program
JP2017213644A (en) Teaching device, teaching system, robot system, teaching method, method for manufacturing product, program and recording medium
CN104517014B (en) A kind of product automatic assembly design system based on Pro/E
CN102819231B (en) Control system design device
JP2019212040A (en) Positional information display system
CN110494261A (en) For establishing and keeping the method and system of prebuild relationship
US20160275219A1 (en) Simulating an industrial system
US20060184715A1 (en) Method and system for exchanging description data between projects
JP2000267710A (en) Method and device for generating network routing information, and recording medium recording the network routing information generating method
CN116310193B (en) Earthwork excavation construction control system based on BIM
Davies Digital transformation and the future office
Pingjun et al. Optimising assembly planning based on virtual reality and bionic algorithm
Bhute et al. Design and Implementation of a 3D Web-based Digital Twin for Indoor Environment Monitoring

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150318

Termination date: 20190531