CN102819231B - Control system design device - Google Patents

Control system design device Download PDF

Info

Publication number
CN102819231B
CN102819231B CN201210211237.5A CN201210211237A CN102819231B CN 102819231 B CN102819231 B CN 102819231B CN 201210211237 A CN201210211237 A CN 201210211237A CN 102819231 B CN102819231 B CN 102819231B
Authority
CN
China
Prior art keywords
plc
network
sash
information
connecting path
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.)
Expired - Fee Related
Application number
CN201210211237.5A
Other languages
Chinese (zh)
Other versions
CN102819231A (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

Landscapes

  • Programmable Controllers (AREA)

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

Control System Design device
The application be based on May 31st, 2007 propose China national application number 200780053166.8(international application no PCT/JP2007/061060) application (Control System Design device) divisional application, below quote its content.
Technical field
The present invention relates to a kind of Control System Design device, it is connecting in the control system of multiple control device such as Programmable Logic Controller via network, auxiliary setting and the management carrying out system architecture.
Background technology
Current, use Programmable Logic Controller (hereinafter referred to as PLC) to control for production equipment.Design apparatus is used to be connected with this PLC and to carry out regulated procedure design and maintenance.Design apparatus is normally run by personal computer, carry out for making PLC perform except the generation of the program controlled except auxiliary, also there is following function, namely, the personal computer of operating energy loss device is connected with PLC, and the program of generation is sent to PLC or monitors that PLC carries out the state controlled.
Each PLC has substrate (backboard (backplane)), installs the communication unit being used for network and connecting on the substrate.By connecting via communication loops such as cables between communication unit, and construct the control system be made up of multiple PLC.In the control system that production equipment is larger, use a large amount of PLC, the structure of carrying out the network connected between these PLC is also become complicated.
In above-mentioned design apparatus, have the device as Types Below, it can generate the network structure of control system in offline state, carries out figure display, and utilizes the display of this figure carry out the supervision of PLC or carry out program transmission etc. to PLC.But, in the control system with labyrinth, sometimes there is the PLC of multiple identical type, the PLC carrying out setting cannot be distinguished in the picture shown by design apparatus.Thus, a kind of technology (such as with reference to patent documentation 1) to highlighting as the PLC monitored or set object is proposed.
Patent documentation 1: JP 2006-277734 publication
Summary of the invention
But, in patent documentation 1, the user of design apparatus in advance based on the network structure of reality, by carrying out PLC configuration on design apparatus, in each PLC, setting value is set, and generate the network structure of control system and the information of system architecture in offline state.When the information of the network structure of the control system of generating structure complexity and the system architecture of PLC in offline state, produce and the connection etc. between PLC may be made to make a mistake such problem points.
In addition, in patent documentation 1, although it is not the position of the PLC as object can be highlighted, for the method such as obtaining the Best link path carrying out information transmission for design apparatus from connected position to the PLC as object, open.
Further, in the control system formed being connected by multiple network, in the PLC between network and network, setting is used for crossing over the routing parameter that multiple network carries out data transmission.But there is this routing parameter of third party's indigestion is the problem points transmitted for which request source to carry out instantaneous (transient) to which request target.In addition, when carrying out existing Control system architecture adding change or when constructing new control system, manually being carried out the calculating of routing parameter by system and arranging person, there is the problem points that this calculating is more difficult.
The present invention puts to propose in view of the above problems, its object is to obtain a kind of Control System Design device, it can be collected, automatically with this formation of graphic software platform the system architecture of the network structure in the existing control system be made up of multiple PLC and PLC.
In addition, the present invention also aims to obtain a kind of Control System Design device, its can when with off-line state graphically generating network structure, automatically calculate from the position becoming starting point to become target position PLC Best link path, and to highlight.
And, the present invention also aims to obtain a kind of Control System Design device, it, when carrying out the situation of additional change to the structure of existing control system or constructing new control system, also easily can set the network parameter of the routing parameter comprised for PLC.
To achieve these goals, the feature of Control System Design device involved in the present invention is to have: communication unit, and it is connected with the control device of 1 in control system, and wherein, multiple control device is formed by connecting via network by this control system, starting point control device designating unit, the described control device be connected with described communication unit is appointed as starting point control device by it, on-line network structural information collector unit, it is via described communication unit, collects the on-line network structural information comprising control device structure that this control device has and the network that described control device connects from the control device forming described control system, display object coordinate calculating unit, its using the textural element of described control system as object, calculating the structure of each control device for being obtained by described on-line network structural information collector unit and the annexation between each control device and network, using object and showing coordinate required on the display unit, and system architecture display unit, it is according to the object calculated by described display object coordinate calculating unit and described coordinate, the system architecture of described control system is presented on described display unit, described display object coordinate calculating unit has: network sash configuration feature module, it extracts network from described on-line network structural information, using the network that the extracts network sash as rectangular shape, configure up and down according to the rule of regulation, control device sash configuration feature module, it is extraction control device from described on-line network structural information, the control device sash of rectangular shape is configured in the bottom of the network sash be connected with described control device, for the network sash with annexation, between described control device sash and described network sash, configure the distribution sash of rectangular shape upward, thus generate sash model, sash Size calculation functional module, it is according to the structural information of the described control device of described on-line network structural information, calculate the size of the described control device sash in described sash model, and corresponding to the size of described control device and change relevant distribution sash and the size of network sash, thus calculate sash size, and sash coordinate computing function module, its using the assigned position of described sash model as benchmark, utilize the coordinate of each sash in sash model described in described sash Size calculation, the network extracted is classified by kind by described network sash configuration feature module, following process is carried out for each network specifics sorted, namely, for in control device connected to the network, the quantity of the control device be also connected with field network or the more network of ratio, more configure to bottom, by the quantity of control device that is only connected with other information systems network or the more network of ratio, more to upper configuration, by networks more to the quantity or ratio of going back the control device be connected with network between other controller, more to upper configuration, the control device sash be connected with same network is closely configured by described control device sash configuration feature module.
The effect of invention
According to the present invention, there is following effect, namely, for the information of the network structure of control system entirety be made up of multiple opertaing devices such as PLC and the system architecture of control device, collect by being connected with control system, thus can show graphically together with its annexation, the system architecture easily can holding network and the control device forming control system is overall, and, because the network-order network structure information collected being easy to hold with user shows, so be easy to hold the formation network of control system and the system architecture entirety of control device.In addition, also there is the effect being easy to hold the state forming the network of control system and the system architecture entirety of control device.
Accompanying drawing explanation
Fig. 1 is the figure of an example of the network structure schematically representing control system.
Fig. 2 is the block diagram of the hardware configuration schematically representing Control System Design device.
Fig. 3 is the block diagram of the functional structure of the embodiment 1 schematically representing Control System Design device involved in the present invention.
Fig. 4-1 is the figure of an example of the structure representing control system.
Fig. 4-2 is the figure of the example representing the sash model (grid model) corresponding with Fig. 4-1.
Fig. 5-1 is the figure of an example of the structure representing control system.
Fig. 5-2 is the figure of the example representing the sash model corresponding with Fig. 5-1.
Fig. 6-1 is the figure of an example of the structure representing control system.
Fig. 6-2 is the figure of the example representing the sash model corresponding with Fig. 6-1.
Fig. 7-1 is the figure of an example of the structure representing control system.
Fig. 7-2 is figure of an example of the structure representing control system.
Fig. 7-3 is the figure of the example representing the sash model corresponding with Fig. 7-1.
Fig. 7-4 is the figure of the example representing the sash model corresponding with Fig. 7-2.
Fig. 8 is the block diagram of the functional structure schematically representing display object coordinate calculating part.
Fig. 9-1 represents that network structure information collects the process flow diagram (its 1) of an example for the treatment of step.
Fig. 9-2 represents that network structure information collects the process flow diagram (its 2) of an example for the treatment of step.
Fig. 9-3 represents that network structure information collects the process flow diagram (its 3) of an example for the treatment of step.
Figure 10 is the figure of the example representing the connecting path information remained in online connecting path maintaining part.
Figure 11 is the figure of the example representing in on-line network structural information storage part stored network structure information.
Figure 12 is the figure of an example of the restriction representing Network Information Gathering.
Figure 13 is the figure of an example of the relative importance value representing network information output processing.
Figure 14-1 is the process flow diagram of the example representing display object coordinate computing step.
Figure 14-2 is the process flow diagrams of the example representing network sash configuration process step.
Figure 14-3 is the process flow diagrams of the example representing PLC sash configuration process step.
Figure 14-4 is the process flow diagrams of the example representing sash Size calculation treatment step.
Figure 14-5 is the process flow diagrams of the example representing sash coordinate computing step.
Figure 15 is the figure of the result representing network sash configuration process.
Figure 16-1 is the process flow diagram of the example representing PLC sash configuration process step.(its 1).
Figure 16-2 is the process flow diagrams of the example representing PLC sash configuration process step.(its 2).
Figure 16-3 is the process flow diagrams of the example representing PLC sash configuration process step.(its 3).
Figure 16-4 is the process flow diagrams of the example representing PLC sash configuration process step.(its 4).
Figure 16-5 is the process flow diagrams of the example representing PLC sash configuration process step.(its 5).
Figure 17 is the figure of the example representing sash Size calculation result.
Figure 18 is the figure of the example representing sash coordinate result of calculation.
Figure 19 is the process flow diagram of the example representing system architecture Graphics Processing step.
Figure 20 is the figure of the example representing the system architecture information shown in display part by system architecture Graphics Processing.
Figure 21 is the block diagram of the hardware configuration of the display representing the function with Control System Design device.
Figure 22-1 is the block diagram of the functional structure of the network sash configuration feature module schematically representing Control System Design device involved in the present invention.
Figure 22-2 is the block diagrams of the functional structure schematically representing PLC sash configuration feature module.
Figure 23-1 is the process flow diagram (its 1) of an example of the network sash configuration process step represented involved by present embodiment 2.
Figure 23-2 is process flow diagrams (its 2) of an example of the PLC sash configuration process step represented involved by present embodiment 2.
Figure 23-3 is process flow diagrams (its 3) of an example of the PLC sash configuration process step represented involved by present embodiment 2.
Figure 24 is the figure of the result of the network sash configuration process represented involved by present embodiment 2.
Figure 25-1 is the figure (its 1) of an example of the step of the PLC sash configuration process represented involved by present embodiment 2.
Figure 25-2 is figure (its 2) of an example of the step of the PLC sash configuration process represented involved by present embodiment 2.
Figure 25-3 is figure (its 3) of an example of the step of the PLC sash configuration process represented involved by present embodiment 2.
Figure 25-4 is figure (its 4) of an example of the step of the PLC sash configuration process represented involved by present embodiment 2.
Figure 25-5 is figure (its 5) of an example of the step of the PLC sash configuration process represented involved by present embodiment 2.
Figure 26 represents the result relative to Figure 25-5, calculates the figure of the result of sash size and sash coordinate.
Figure 27 is the figure of the example representing the system architecture information shown by system architecture Graphics Processing.
Figure 28 is the figure of other structure example representing control system.
Figure 29 represents the figure control system of Figure 28 being carried out the system architecture shown with the method for embodiment 1.
Figure 30 is the figure representing the sash model that the control system for Figure 28 generates with the method for embodiment 2.
Figure 31 is the figure of the system architecture of the control system of the Figure 28 of the sash models show represented based on Figure 30.
Figure 32 is the block diagram of the functional structure of the embodiment 3 schematically representing Control System Design device involved in the present invention.
Figure 33 is the process flow diagram of the example representing connecting path Graphics Processing step.
Figure 34-1 is the figure (its 1) of an example of the step of the connecting path Graphics Processing represented in system architecture information display screen.
Figure 34-2 is figure (its 2) of an example of the step of the connecting path Graphics Processing represented in system architecture information display screen.
Figure 34-3 is figure (its 3) of an example of the step of the connecting path Graphics Processing represented in system architecture information display screen.
Figure 34-4 is figure (its 4) of an example of the step of the connecting path Graphics Processing represented in system architecture information display screen.
Figure 34-5 is figure (its 5) of an example of the step of the connecting path Graphics Processing represented in system architecture information display screen.
Figure 35 is the block diagram of the functional structure of the embodiment 4 schematically representing Control System Design device involved in the present invention.
Figure 36-1 is the process flow diagram (its 1) of the example representing off line connecting path dissection process step.
Figure 36-2 is the process flow diagrams (its 2) of the example representing off line connecting path dissection process step.
Figure 36-3 is the process flow diagrams (its 3) of the example representing off line connecting path dissection process step.
Figure 37-1 represents that the connecting path remained in off line connecting path maintaining part keeps the figure (its 1) of an example of information.
Figure 37-2 represents that the connecting path remained in off line connecting path maintaining part keeps the figure (its 2) of an example of information.
Figure 37-3 represents that the connecting path remained in off line connecting path maintaining part keeps the figure (its 3) of an example of information.
Figure 37-4 represents that the connecting path remained in off line connecting path maintaining part keeps the figure (its 4) of an example of information.
Figure 37-5 represents that the connecting path remained in off line connecting path maintaining part keeps the figure (its 5) of an example of information.
Figure 38 is the figure of the example of the throughput model (throughputmodel) represented involved by present embodiment 4.
Figure 39 is the figure of an example of the display frame representing off line connecting path.
Figure 40 is the figure of an example of the display frame representing off line connecting path.
Figure 41 is the block diagram of the functional structure of the embodiment 5 schematically representing Control System Design device involved in the present invention.
Figure 42 is the process flow diagram of the example representing Best link path computing step.
Figure 43-1 is the figure (its 1) of the connecting path data represented when PLC 10-1 being implemented connecting path dissection process as starting point PLC.
Figure 43-2 is the figure (its 2) of the connecting path data represented when PLC 10-1 being implemented connecting path dissection process as starting point PLC.
Figure 43-3 is the figure (its 3) of the connecting path data represented when PLC 10-1 being implemented connecting path dissection process as starting point PLC.
Figure 43-4 is the figure (its 4) of the connecting path data represented when PLC 10-1 being implemented connecting path dissection process as starting point PLC.
Figure 43-5 is the figure (its 5) of the connecting path data represented when PLC 10-1 being implemented connecting path dissection process as starting point PLC.
Figure 44-1 is the figure (its 1) of the connecting path data represented when PLC 10-2 being implemented connecting path dissection process as starting point PLC.
Figure 44-2 is the figure (its 2) of the connecting path data represented when PLC 10-2 being implemented connecting path dissection process as starting point PLC.
Figure 44-3 is the figure (its 3) of the connecting path data represented when PLC 10-2 being implemented connecting path dissection process as starting point PLC.
Figure 44-4 is the figure (its 4) of the connecting path data represented when PLC 10-2 being implemented connecting path dissection process as starting point PLC.
Figure 44-5 is the figure (its 5) of the connecting path data represented when PLC 10-2 being implemented connecting path dissection process as starting point PLC.
Figure 45-1 is the figure (its 1) of the connecting path data represented when PLC 10-4 being implemented connecting path dissection process as starting point PLC.
Figure 45-2 is the figure (its 2) of the connecting path data represented when PLC 10-4 being implemented connecting path dissection process as starting point PLC.
Figure 45-3 is the figure (its 3) of the connecting path data represented when PLC 10-4 being implemented connecting path dissection process as starting point PLC.
Figure 45-4 is the figure (its 4) of the connecting path data represented when PLC 10-4 being implemented connecting path dissection process as starting point PLC.
Figure 45-5 is the figure (its 5) of the connecting path data represented when PLC 10-4 being implemented connecting path dissection process as starting point PLC.
Figure 46-1 is the figure (its 1) of the connecting path data represented when PLC 10-5 being implemented connecting path dissection process as starting point PLC.
Figure 46-2 is the figure (its 2) of the connecting path data represented when PLC 10-5 being implemented connecting path dissection process as starting point PLC.
Figure 46-3 is the figure (its 3) of the connecting path data represented when PLC 10-5 being implemented connecting path dissection process as starting point PLC.
Figure 46-4 is the figure (its 4) of the connecting path data represented when PLC 10-5 being implemented connecting path dissection process as starting point PLC.
Figure 46-5 is the figure (its 5) of the connecting path data represented when PLC 10-5 being implemented connecting path dissection process as starting point PLC.
Figure 47 is the figure of an example of the display frame representing Best link path.
Figure 48 is the figure of the example representing the routing parameter set in the controls.
Figure 49 is the block diagram of the functional structure of the embodiment 6 schematically representing Control System Design device involved in the present invention.
Figure 50 is the block diagram of the functional structure schematically representing routing parameter calculating part.
Figure 51-1 is the process flow diagram (its 1) of the example representing routing parameter computing step.
Figure 51-2 is the process flow diagrams (its 2) of the example representing routing parameter computing step.
Figure 52 is the figure being connected to an example of the connecting path of each PLC represented in the control system of Figure 28.
Figure 53-1 is the routing parameter (its 1) set in PLC.
Figure 53-2 is the routing parameters (its 2) set in PLC.
Figure 53-3 is the routing parameters (its 3) set in PLC.
Figure 53-4 is the routing parameters (its 4) set in PLC.
Figure 54 is the block diagram of the functional structure of the embodiment 7 schematically representing Control System Design device involved in the present invention.
Figure 55-1 is the process flow diagram (its 1) representing in parameter set the example rewriting treatment step.
Figure 55-2 is the process flow diagrams (its 2) representing in parameter set the example rewriting treatment step.
Figure 56-1 is the figure (its 1) of the routing parameter after the structure modify representing control system.
Figure 56-2 is figure (its 2) of the routing parameter after the structure modify representing control system.
Figure 56-3 is figure (its 3) of the routing parameter after the structure modify representing control system.
Figure 56-4 is figure (its 4) of the routing parameter after the structure modify representing control system.
Figure 57-1 is the process flow diagram (its 1) rewriting an example for the treatment of step in the parameter set representing multiple network.
Figure 57-2 is the process flow diagrams (its 2) rewriting an example for the treatment of step in the parameter set representing multiple network.
Figure 58-1 is the figure (its 1) of the routing parameter after the structure modify representing control system.
Figure 58-2 is figure (its 2) of the routing parameter after the structure modify representing control system.
Figure 58-3 is figure (its 3) of the routing parameter after the structure modify representing control system.
Figure 58-4 is figure (its 4) of the routing parameter after the structure modify representing 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
Between 22A controller, network N o.1
Between 22B controller, network N o.2
23 field networks (field network)
100 Control System Design devices
101,155 microprocessors
102,156 data storage memory
103 communication port
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 units
115 online connecting path maintaining parts
116 on-line network structural information maintaining parts
117 display object coordinate calculating parts
118 system architecture display parts
119 control parts
120 connecting path display parts
121 system architecture editorial offices
122 off line network structure information maintaining parts
123 connecting paths resolve selection portion
124 throughput model maintaining parts
125 off line connecting path maintaining parts
126 Best link 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 calculation functional modules
1175 sash coordinate computing function 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 PLC extraction unit
11722 network classification sequencing units
11731 PLC sash configuration candidate extraction units
11732 PLC sash configuration candidate selection units
Embodiment
Below, the preferred forms of the Control System Design device involved by present invention will be described in detail with reference to the accompanying.In addition, the present invention can't help these embodiments and limited.
Embodiment 1
Preferably in 1, be described for Control System Design device and Control System Design method, wherein, this Control System Design device is from the control system of the production equipment be formed by connecting via network by multiple PLC etc., collection network structural information and connecting path information under on line state, according to these network structure information and connecting path information, display forms the network structure of control system and the system architecture entirety of PLC.
Fig. 1 is the figure of an example of the network structure schematically representing control system.This control system such as forms production equipment, has the structure being carried out via network by multiple PLC connecting.In this example embodiment, PLC 10-1,10-2 are connected with information systems internetting 21, between PLC10-1,10-3,10-4 with controller, network 22A is connected, and PLC 10-1,10-2,10-5 are connected with network 22B between controller, and PLC 10-4,10-5 are connected with field network 23.In addition, between controller network 22A PLC 10-3 in, via USB(Universal Serial Bus) cable 30 connects Control System Design device 100 involved in the present invention.
Here, so-called information systems internetting refers to that PLC and the information processing terminals such as personal computer carry out the network be connected with coexisting, and can exemplify Ethernet (registered trademark) etc.In addition, between controller, network is the only network that is connected to each other of PLC, the field network network that to be PLC carry out with the control object of the PLC such as servomotor with coexisting is connected.Usually, between controller, network 22 is made up of in loop faster communication speed compared with field network 23.In addition, network sequence number can be given to network 22 between information systems internetting 21 and controller, but network sequence number cannot be given to 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, communication unit is provided with communication unit 11-1A, the 11-1B for carrying out communicating via network 22A, 22B between controller, with the communication unit 11-1C for carrying out communicating via information systems internetting 21.
Here, usually the PLC forming network is called website.In addition, between controller in network, in the station, in the website that particularly each website of network manages between to controller, the website kept the information (master station counts) of self website sequence number and management how many websites is called admin site.This admin site arranges 1 in network between 1 controller.In addition, in the website between controller in network except admin site, common website is called by keeping the website of self website sequence number.In addition, communication unit 11 sign in the drawings for carrying out communicating via network 22A, 22B between controller has following implication.Such as when " M1-3 leads to ", " M " represents the communication unit for carrying out communicating via network between controller, " 1 " represents the network sequence number of giving network between controller, numeral " 3 " after hyphen "-" represents this PLC(communication unit 11 between controller in network) website sequence number, last textual representation is admin site or common website, be denoted as " pipe " when admin site, be denoted as when common website " leading to ".
In addition, in communication unit 11 sign in the drawings, such as " E3-1 " for carrying out communicating via information systems internetting 21, " E " represents the communication unit for carrying out communicating via information systems internetting, " 3 " represent the network sequence number of giving to information systems internetting, and numeral " 1 " after hyphen "-" represents this PLC(communication unit 11 in information systems internetting) website sequence number.
Thus, communication unit 11-1A is the communication unit carrying out as the common website of website sequence number 3 with network 22A between controller being connected, and communication unit 11-1B is the communication unit carrying out as the common website of website sequence number 2 with network 22B between controller being connected.In addition, communication unit E3-1 is the communication unit carrying out as website sequence number 1 with information systems internetting 21 being connected.
On the substrate of PLC 10-2, arrange as communication unit and be used for carrying out the communication unit 11-2A that communicates and the communication unit 11-2B for carrying out communicating via information systems internetting 21 via network 22B between controller.Communication unit 11-2A is the communication unit carrying out as the admin site of website sequence number 1 with network 22B between controller being connected.In addition, communication unit 11-2B is the communication unit carrying out as website sequence number 2 with information systems internetting 21 being connected.
On the substrate of PLC 10-3, the communication unit 11-3 for carrying out communicating via network 22A between controller is set as communication unit.This communication unit 11-3 is the communication unit carrying out as the admin site of website sequence number 1 with network 22A between controller being connected.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, be also provided with communication unit 11-4A for carrying out communicating via the field network 23 and communication unit 11-4B for carrying out communicating via network 22A between controller as communication unit.
Here, in communication unit 11 sign in the drawings for carrying out communicating via field network 23, such as " C home site ", " C " represents the communication unit for carrying out communicating via field network, thereafter textual representation is home site or site-local, when site-local, after it, be attached to this PLC(communication unit 11 in field network further) website sequence number.In addition, home site and site-local are the addresses of website in network at the scene, and home site is equivalent to the admin site of network between controller, and site-local is equivalent to common website in the same manner.
Thus, communication unit 11-4A is the communication unit carrying out as home site with field network 23 being connected, and communication unit 11-4B is the communication unit carrying out as the common website of website sequence number 2 with network 22A between controller being connected.
In the substrate of PLC 10-5, except input-output unit 12-5, be also provided with communication unit 11-5A for carrying out communicating via the field network 23 and communication unit 11-5B for carrying out communicating via network 22B between controller as communication unit.Communication unit 11-5A is the communication unit carrying out as the site-local of website sequence number 1 with field network 23 being connected, and communication unit 11-5B is the communication unit carrying out as the common website of website sequence number 3 with network 22B between controller being connected.
In addition, each PLC maintain comprise in order to make PLC carry out action and the information substrate set in PLC, the interconnection network information relevant to the network belonging to this PLC and program in interior project information.Information substrate comprises following information, that is, the quantity (groove quantity) being arranged on the unit on PLC substrate and the kind being arranged on the unit in each groove of substrate, substrate sets up the relevant information of substrate to being connected to.In addition, interconnection network information comprises website sequence number in the classification of the network belonging to this PLC, network sequence number, network, is that the classification of admin site or common website and master station count.In addition, in the following description, by the content after aforesaid substrate information and interconnection network informix also referred to as system architecture information.
Fig. 2 is the block diagram of the hardware configuration schematically representing Control System Design device.Control System Design device 100 is made up of information processing terminals such as personal computers, consists of and is connected with via bus 107: microprocessor 101, and it is for carrying out the process (that is, the setting of system architecture and the process of management) of design tool based on program; Data storage memory 102, it is for storing the ephemeral data produced with this process; Communication port 103, it is for communicating with PLC10; Display part 104, it is for Display designing instrument (window of tree-shaped or icon etc.); The input part such as keyboard and mouse 105; And the storage part 106 such as hard disk unit, it stores the data (that is, the setting of system architecture) set by design tool.
In the example in fig 1, this Control System Design device 100 is connected with PLC 10-3 via USB cable 30.Further, under restriction described later, the plc data relevant to control system and the information such as connecting path that is connected to each PLC 10 are collected, display system architectures graphically.
Fig. 3 is the block diagram of the functional structure of the embodiment 1 schematically representing 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 unit 114, online connecting path maintaining part 115, on-line network structural information maintaining part 116, display object coordinate calculating part 117, system architecture display part 118 and controls the control part 119 of each handling part above-mentioned.
Department of Communication Force 111 is connected with 1 PLC forming control system, communicates.In addition, display part 112 is the unit shown the system architecture information generated by system architecture display part 118.In addition, Department of Communication Force 111 corresponds to the communication unit in claims, and display part 112 corresponds to display unit in the same manner.
Starting point PLC specifying part 113 specifies this Control System Design device 100 with which PLC to be connected.The process undertaken by this starting point PLC specifying part 113, such as, can be used in content described in Jap.P. No. 3587099 publication.In addition, starting point PLC specifying part 113 corresponds to the starting point control device designating unit in claims.
On-line network structural information collection unit 114 is to comprising the system architecture information of interconnection network information and information substrate and collecting as the connecting path information of the connecting path being connected to each PLC, wherein, this interconnection network information illustrates that the network that the PLC being formed control system as starting point using the PLC specified by starting point PLC specifying part 113 connects, this information substrate illustrate the system architecture (being arranged on the structure of the unit on substrate) of PLC.In addition, also there is following function, that is, according to the system architecture information collected, generate and network structure is shown, be namely connected to the network information of the PLC on network.In addition, using the interconnection network information collected and information substrate as plc data, using the network that generates as network data, be stored in on-line network structural information maintaining part 116, by the connecting path information storage collected in online connecting path maintaining part 115.In addition, this on-line network structural information collection unit 114 corresponds to the on-line network structural information collector unit in claims.
Online connecting path maintaining part 115 remain on use in the process of on-line network structural information collection unit 114, as the connecting path information of connecting path being connected to each PLC.Connecting path information illustrates communication path when accessing from the PLC be connected with this Control System Design device 100 to certain PLC.
On-line network structural information maintaining part 116, by the interconnection network information collected by on-line network structural information collection unit 114 and information substrate and the network information that generated by on-line network structural information collection unit 114, keeps as network structure information.As mentioned above, interconnection network information is the information that the network be connected with the PLC forming control system is shown, information substrate be illustrate be arranged on the unit in same substrate with each PLC quantity (groove quantity), kind and attribute thereof, be connected setting up substrate and being arranged on the information that this sets up element number, kind and attribute thereof on substrate on the substrate.In addition, the network information comprises the information forming attribute set in the PLC of network and communication unit thereof.
Display object coordinate calculating part 117 reads the network structure information remained in on-line network structural information maintaining part 116, and analyze its content, calculate the coordinate of each display object (hereinafter referred to as object), form the network of control system and the system architecture entirety of PLC for display.This display object coordinate calculating part 117 corresponds to the display object coordinate calculating unit in claims.
System architecture display part 118, based on the coordinate calculated by display object coordinate calculating part 117, makes display object show in display part 112.This system architecture display part 118 corresponds to the system architecture display unit in claims.
Here, display object coordinate calculating part 117 is described in detail further.Display object coordinate calculating part 117 has following function, that is, as finally calculating the interstage of being undertaken before the coordinate of the object of Graphics Processing by system architecture display part 118, calculate configuration information according to sash model.
This sash model refers to the model utilizing rectangular grid to represent the configuration relation between object.Here, network sash, PLC sash and these 3 kinds of sashes of distribution sash are used as sash model.
Network sash is the rectangular grid (sash) representing network.Not configuring other sashes in the left and right of network sash, when there is multiple network sash, network sash being configured up and down.
PLC sash is the rectangular grid (sash) representing PLC.Below the network of network sash that PLC sash connects at PLC, configure together with distribution sash described later.This PLC sash corresponds to the control device sash in claims.
Distribution sash represents for carrying out the rectangular grid (sash) of the distribution connected between PLC and network.Distribution sash is configured between network sash and PLC sash, is formed as must only extending upward from PLC sash.
In addition, in addition, make to be positioned at added PLC sash top the horizontal expansion of whole network sash, to comprise added bottom PLC sash.
Then, the object lesson of sash model is described.Fig. 4-1 ~ Fig. 7-4 is figure of an example of the structure representing control system and an example of the sash model corresponding with it.In Fig. 4-2, by the PLC 3 that is o.1 connected with the network N shown in Fig. 4-1 with sash model representation.As shown in this Fig. 4-2, in the below of network sash 1 configuration PLC sash 3, configure distribution sash from this PLC sash 3 towards network sash 1.
In PLC 3 as shown in fig. 5-1 and network N o.1, these 2 networks of No.2 are when being connected, its sash model, as shown in Fig. 5-2, relatively configures distribution sash upward from PLC sash 3 and the network sash 1 configured up and down and network sash 2.
When o.1 the PLC of 2 as in Figure 6-1 3,4 is connected with 1 network N, as in fig. 6-2,2 the PLC sashes 3,4 configured side by side from left and right configure distribution sash towards network sash 1 to its sash model respectively.Now, due to as in Figure 6-1, network sash No.1 is connected with 2 PLC 3,4, so in Fig. 6-2, network sash 1 is formed as the shape extended in the lateral direction, to comprise 2 PLC sashes 3,4.
Such as 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, and PLC 5 and 2 network N are o.1, No.2 is when being connected, and its sash model becomes the shape as shown in Fig. 7-3 or 7-4.That is, due to exist 2 network N o.1, No.2, so along the vertical direction configure 2 network sashes 1,2.Here, network sash 1 is configured in the top of network sash 2.In addition, because o.1 PLC 3 is only connected with network N, so PLC sash 3 is configured between network sash 1 and network sash 2, configure distribution sash from PLC sash 1 towards network sash 1.In addition, because o.2 PLC 4 is only connected with network N, so PLC sash 4 is configured in the below of network sash 2, configure distribution sash from PLC sash 4 towards network sash 2.In addition, due to PLC 5 and network N o.1, both No.2 are connected, so PLC sash 5 is configured in the below of network sash 2, configure distribution sash towards network sash 1 and network sash 2.In addition, network sash 1 forms the shape that extends in the lateral direction to comprise PLC sash 3,5, and network sash 2 forms the shape that extends in the lateral direction to comprise PLC sash 4,5.
Under such sash model rule, the coordinate of display object coordinate calculating part 117 calculating object, this object formation uses sash to carry out the control system of Graphics Processing by system architecture display part 118.
Fig. 8 is the block diagram of the functional structure schematically representing display object coordinate calculating part.As shown in the drawing, display object coordinate calculating part 117 has the maintenance of sash model functional module 1171, network sash configuration feature module 1172, PLC sash configuration feature module 1173, sash Size calculation functional module 1174 and sash coordinate computing function module 1175.
Sash model keeps the sash model of functional module 1171 to the sash size comprising the sash model that is configured by network sash configuration feature module 1172 and PLC sash configuration feature module 1173 and calculated by sash Size calculation functional module 1174 to keep.
The network structure information remained in on-line network structural information maintaining part 116 reads by network sash configuration feature module 1172, according to the internetwork configuration relation of this Context resolution, calculates and the sash model of configuration network.Its result is stored in sash model to keep in functional module 1171.
The network structure information kept in on-line network structural information maintaining part 116 reads by PLC sash configuration feature module 1173, according to the annexation between this Context resolution PLC and this network, calculates and configures the sash model of PLC and distribution.Now, for being calculated by network sash configuration feature module 1172 and being stored in the sash model in sash model maintenance functional module 1171, configuration PLC sash and distribution sash.Then, its result is stored in sash model to keep in functional module 1171.In addition, this PLC sash configuration feature module 1173 corresponds to the control device sash configuration feature module in claims.
Sash Size calculation functional module 1174 is for each sash, particularly the PLC sash in the sash model remained in sash model maintenance functional module 1171, use the information substrate of PLC corresponding in on-line network structural information maintaining part 116, calculate the size needed for display of PLC.Here, the sash model used refers to the sash model being configured with network sash, PLC sash and distribution sash.In addition, as information substrate, utilize the number of the unit installed on the PLC substrate of correspondence and kind thereof, with or without setting up substrate and being arranged on this number of setting up the unit on substrate and kind thereof.Then, its result is added on sash model keep in the sash model in functional module 1171 and store.
Sash coordinate computing function module 1175, for the PLC sash comprised in the sash model of sash size remained in sash model maintenance functional module 1171, adds sash size in turn and calculates sash coordinate from the PLC sash of upper left.Then, the result calculated is exported to system architecture display part 118 together with sash model.
Below, in the Control System Design device 100 with said structure, be described in turn from the collection process of network structure information to the Graphics Processing of system architecture information.
(network structure information collects process)
(1) summary processed
Fig. 9-1 ~ Fig. 9-3 represents that network structure information collects the process flow diagram of an example for the treatment of step.First, the user of Control System Design device 100, specifies this Control System Design device 100 with which PLC to be connected (step S11) by starting point PLC specifying part 113.Because now appointed PLC becomes the starting point of collecting network structure information, so be called starting point PLC.
Read-out system structural information (step S12) in the project information that on-line network structural information collection unit 114 keeps at appointed starting point PLC.In addition, meanwhile, by on-line network structural information collection unit 114, the connecting path being connected to this starting point PLC is exported (step S13), as connecting path information storage in online connecting path maintaining part 115.
Then, on-line network structural information collection unit 114 is from the system architecture information read in step s 12, extract information substrate and interconnection 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 unit 114 selects starting point PLC as handling object PLC(step S16), perform the A1 process (step S17) shown in Fig. 9-2.
Fig. 9-2 is process flow diagrams of the step of the A1 process represented in the step S17 of Fig. 9-1.First, on-line network structural information collection unit 114 determines whether the all-network connected for starting point PLC, performs the A2 process (step S31) shown in Fig. 9-3.In the situation (situation being yes in step S31) that A2 process has been carried out to the all-network be connected with the PLC as object, terminate A1 process, return the process flow diagram of Fig. 9-1.
In addition, in the situation (situation being no in step S31) of A2 process not being carried out to the overall network be connected with the PLC as object, judge (step S32) whether information can be proceeded for each network.For the judgement of information management that could perform this network, carry out based on the predefined restriction made for the scope that can carry out the information management of network.In addition, in the situation (situation being yes in step s 32) that can proceed information for each network, from also do not perform Fig. 9-3 A2 process network select 1 network as the network (step S33) of handling object, for this network, perform the network information output processing (step S34) shown in Fig. 9-3.
Then, judging (step S35) whether there is the network not yet carrying out A2 process, existing in the situation (situation being yes in step s 35) of not yet carrying out the network of A2 process, being back to step S33, repeating above-mentioned process.On the other hand, in the situation (situation being no in step s 35) that there is not the network not yet carrying out A2 process, terminate A1 process, process returns Fig. 9-1.
In addition, in step s 32, in the situation (situation being no in step s 32) that cannot proceed information to each network, utilize the plc data generating network information exported, it can be used as network data to export on-line network structural information maintaining part 116(step S36 to).This network information for each network by form this network PLC and in this PLC set information carry out gathering obtaining.
Fig. 9-3 is process flow diagrams of an example of the step of the A2 process represented in the step S34 of Fig. 9-2.In this A2 process, on-line network structural information collection unit 114 first from the project information that the PLC of admin site (between controller network) connected to the network or home site (when field network) keeps, reading system structural information (step S51).Then, from the interconnection network information of the system architecture information read, extract master station and count (step S52).
Then, on-line network structural information collection unit 114 read-out system structural information (step S53) from the project information that each PLC connected to the network keeps.Then, information substrate and interconnection network information (step S54) is extracted from the system architecture information read, utilizing these information to generate the network information obtained gathering for the set information of PLC forming this network, exporting (step S55) to on-line network structural information maintaining part 116 as network data.
Then, on-line network structural information collection unit 114 determines whether all PLC arrived corresponding to information, all outputs data (step S56).In the situation (situation being yes in step S56) all outputing data corresponding to all PLC, terminate the A2 process relevant to the network as object, be back to the A1 process of Fig. 9-2.In addition, in the situation (situation being no in step S56) not yet all outputing data corresponding to all PLC, the connecting path being connected to each PLC is exported (step S57) to online connecting path maintaining part 115, and exports the plc data (step S58) of each PLC extracted in step S54 to on-line network structural information maintaining part 116.
Then, based on the restriction of regulation, judge (step S59) whether information can be proceeded to each PLC for network.In the situation (situation being yes in step S59) can carrying out information to network, the PLC not implementing the A1 process shown in Fig. 9-2 is selected as handling object PLC(step S60), perform the A1 process (step S61) shown in Fig. 9-2.Then, judging (step S62) whether there is the PLC not yet carrying out A1 process, existing in the situation (situation being yes in step S62) of not yet carrying out the PLC of A1 process, returning step S60, repeating above-mentioned process.In addition, in the situation (situation being no in step S62) that there is not the PLC not yet carrying out A1 process, terminate A2 process.In addition, the situation (situation being no in step S59) of information cannot be carried out to network in step S59 under, A2 process is also terminated.
Then, be back to Fig. 9-1, after the A1 process of step S17, the conformability of on-line network structural information collection unit 114 to the data exported processes (step S18).As the conformability process of these data, following process etc. can be exemplified out, namely, for same network, when there is 2 parts of network datas in on-line network structural information maintaining part 116 according to restriction, process, so that this 2 number is formed 1 part for network of network data according to carrying out gathering.Thus, network structure information collection process completes.
According to above-described process, in online connecting path maintaining part 115, store the connecting path information of PLC to can carrying out each PLC of the network of information connected from Control System Design device 100, in on-line network structural information maintaining part 116, store the network structure information of the network information comprising the interconnection network information relevant to each PLC that can carry out the network of information and information substrate and be made up of each PLC.
(2) object lesson processed
Because above-mentioned explanation describes the summary that network structure information collects process, so exemplify the situation of the control system of the structure with Fig. 1, the object lesson of this process is described as follows.Figure 10 represents collect process by network structure information and remain on the figure of an example of the connecting path information in online connecting path maintaining part, and Figure 11 is the figure of the example representing the network structure information be stored in the same manner in on-line network structural information reservoir.In addition, in above-mentioned Figure 10 and Figure 11, represent with the order of data genaration.In addition, in these figures, network is not with the label shown in Fig. 1 but indicates with the form of " network specifics+network sequence number ".
As shown in Figure 10, connecting path packets of information containing the data class stored by representing " data category ", become terminal PLC " title ", " starting point PLC ", represent as the network of halfway path or node (PLC) " data 1 ", " data 2 " ...Here, n is natural number, and what write in " data (2n-1) " hurdle is network, and that write in the hurdle of " data (2n) " is PLC.
In addition, as shown in figure 11, network structure information comprise the data category stored by expression " data category ", represent as the PLC of object " title " and represent for this PLC according to " data 1 " of the content of each data class defined, " data 2 " ...Due to as mentioned above, network structure information is made up of information substrate, interconnection network information and the network information these 3 kinds, so along with the difference of these data class, the content of stored data is different.
Such as, when storage substrate information, in data category, store " PLC substrate ", in each field, store the classification of the unit be arranged in each groove.When have set up substrate, also store and be arranged on the classification of the unit set up in each groove of substrate.In addition, when storing interconnection network information, in data category, storing " PLC network ", in each field, store the information relevant to each communication unit installed on the substrate of the PLC shown in " title ".In addition, when storage network information, in data category, store " network ", in each field, store the information relevant to the communication unit of the PLC being formed in the network shown in " title ".Here, store in turn with website sequence number.
(2-1) for starting point PLC
In FIG, because Control System Design device 100 is connected with PLC 10-3, so first user is by the starting point PLC specifying part 113 of Control System Design device 100, and PLC 10-3 is appointed as starting point PLC.Thereafter, on-line network structural information collection unit 114 from the project information that keeps of starting point PLC connected via USB cable 30, read-out system structural information, and the connecting path P3c being connected to starting point PLC is exported to online connecting path maintaining part 115.
Here, in the system architecture information read, following information is comprised as information substrate, namely, in groove 1, CPU element is installed, I/O unit 12-3 is installed in groove 2, network element 11-3 between controller is installed in groove 3, in the groove 1,2 setting up substrate 13-3, be separately installed with I/O unit 12-3.In addition, comprise following information as interconnection network information, that is, network classification be between controller network N o.1, between controller network element 11-3 to be website sequence number be 1 admin site, between controller, network N master station o.1 counts is 3.
Thus, content shown in the connecting path P3c of Figure 10 exports as connecting path information to online connecting path maintaining part 115 by on-line network structural information collection unit 114, the content shown in plc data P3b, the P3n shown in Figure 11 is exported to on-line network structural information maintaining part 116.In addition, starting point PLC and PLC 10-3 is selected as handling object, perform the A1 process shown in Fig. 9-2.
(2-2) network be connected with PLC 10-3
Using PLC 10-3 as in the A1 process of Fig. 9-2 of handling object, for network N between the controller be connected with PLC 10-3 o.1(22A), owing to not yet performing the A2 process of Fig. 9-3, so the restriction that can proceed information to network to whether confirms.Figure 12 is the figure representing the example carrying out the restriction of information to network.Due to network N between the network that is connected with the PLC 10-3 of Fig. 1 and controller o.1(22A) do not meet Figure 12 any one limit, so on-line network structural information collection unit 114 is using network N between controller o.1(22A) select as the object of A2 process, the A2 process of execution shown in Fig. 9-3.
(2-3) for network N between controller o.1
Network N is o.1(22A between using controller) as in the A2 process of Fig. 9-3 of handling object, first, on-line network structural information collection unit 114 from the project information that the admin site be o.1 connected with network N between controller and PLC 10-3 keep, read-out system structural information.But, here, owing to outputing plc data P3b, the P3n in the Figure 11 in the system architecture information of PLC 10-3, so without the need to again reading.Thus, due at admin site PLC(and PLC 10-3) system architecture information in interconnection network information P3n in, comprise relevant information of counting to the master station of the PLC that o.1 network N between controller connects, so extract master station to count " 3 ".
Then, on-line network structural information collection unit 114 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 the PLC of each website sequence number keeps.That is, here, new information of collecting PLC 10-4 and PLC 10-1.
Then, the information generating network information that on-line network structural information collection unit 114 is extracted according to these, exports to on-line network structural information maintaining part 116 as network data M1.Namely, on-line network structural information collection unit 114 utilizes the information relevant to the communication unit 11-3 of PLC 10-3 that is stored in on-line network structural information maintaining part 116 and the information relevant with communication unit 11-1A, 11-4B of PLC 10-4,10-1 extracted, shown in the network data M1 generating Figure 11 for the network information o.1 of network N between controller.
Then, on-line network structural information collection unit 114, for all data in the data relevant to PLC 10-4,10-1 newly collected, judges whether outputing data to online connecting path maintaining part 115 or on-line network structural information maintaining part 116.Here, any one data of PLC 10-4,10-1 all not yet export to online connecting path maintaining part 115 and on-line network structural information maintaining part 116.Thus, using the path that reads separately PLC 10-4,10-1 as connecting path P4c, P1c, export to online connecting path maintaining part 115, using the plc data of each PLC 10-4,10-1 as information substrate P4b, P1b and interconnection network information P4n, P1n, export to on-line network structural information maintaining part 116.
Then, on-line network structural information collection unit 114 determines whether to proceed information to PLC 10-4, the 10-1 after carrying out information for network.In addition, here, PLC that information implements to judge can be proceeded as PLC10-4(website sequence number 2 for network to whether) and PLC 10-1(website sequence number 3), carry out processing from which PLC.That is, there is not the relative importance value of process.In this example embodiment, be set to and process with website numeric order, after the process of the PLC 10-4 for website sequence number 2 terminates, carry out the process of the PLC 10-1 for website sequence number 3.
(2-4)PLC 10-4
First, for PLC 10-4, the restriction according to Figure 12 is confirmed whether to proceed information for network.Because PLC 10-4 does not meet the restriction of Figure 12, so select PLC 10-4 as handling object, perform the A1 process of Fig. 9-2.
(2-4-1) A1 process
Using PLC 10-4 as in the A1 process of handling object, in the network that PLC 10-4 connects, between controller, network N data o.1 export in on-line network structural information maintaining part 116 as network data M1, and perform A2 process, but not yet A2 process is performed for field network 23.Thus, on-line network structural information collection unit 114, for field network 23, utilizes Figure 12 to be confirmed whether the restriction that can proceed information for network.Here, due to and do not meet restriction, so select as handling object using field network 23, perform the A2 process of Fig. 9-3.
(2-4-2) A2 process
Then, using field network 23 as in the A2 process of handling object, from the project information that the home site PLC be connected with field network 23 and PLC 10-4 keeps, read-out system structural information.But due in the system architecture information of PLC 10-4, the data of information substrate P4b and interconnection network information P4n export, so without the need to again reading.Thus, according to the interconnection network information P4n of the system architecture information of the home site PLC 10-4 exported, " 2 " are counted by the master station extracting the PLC be connected with field network 23.
Then, on-line network structural information collection unit 114 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 the PLC of each website sequence number keeps.That is, here, new information of collecting PLC 10-5.
(2-4-3) field network 23 → PLC 10-5
In the system architecture information of the new PLC 10-5 read, following information is comprised as information substrate, namely, in groove 1, there is CPU element, there is I/O unit 12-5 in groove 2, there is the communication unit 11-5A for carrying out communicating via field network 23 in groove 3, having in groove 4 and carrying out for network 22B between via controller the communication unit 11-5B that communicates.In addition, as interconnection network information, comprise the information that field network 23, site-local 1 are such, and between controller network N o.2, the such information of website sequence number 3, common website.And, on-line network structural information collection unit 114 is according to these system architecture information extracted and the system architecture information relevant to PLC 10-4 exported, generate the network information relevant to field network 23, export to on-line network structural information maintaining part 116 as the network data C shown in Figure 11.
Then, the PLC10-5 that on-line network structural information collection unit 114 is collected for fresh information, judges whether outputing data to online connecting path maintaining part 115 or on-line network structural information maintaining part 116.Here, owing to not yet exporting the data of PLC 10-5, so the path read is exported as connecting path P5c to online connecting path maintaining part 115, plc data is exported as information substrate P5b and interconnection network information P5n to on-line network structural information maintaining part 116.
Thereafter, on-line network structural information collection unit 114 for the PLC10-5 carrying out information, based on Figure 12 restriction and be confirmed whether to proceed information for network.Here, owing to meeting restriction B, so terminate the A2 process of field network 23 as handling object.In addition, terminate (2-4) using the A1 process of PLC 10-4 as handling object.
(2-5)PLC 10-1
Then, for PLC 10-1, the restriction according to Figure 12 and be confirmed whether to proceed information for network.For PLC 10-1, owing to not meeting the restriction of Figure 12, so select PLC 10-1 as handling object, perform the A1 process of Fig. 9-2.
Using PLC 10-1 as in the A1 process of handling object, in the network that PLC 10-1 connects, between controller, o.2 network N all not yet performs A2 process with information systems internetting No.3.Thus, on-line network structural information collection unit 114 based on benchmark according to the rules and the relative importance value set, selects the PLC as handling object, row relax of going forward side by side.Figure 13 is the figure of an example of the relative importance value representing network information output processing.In this example embodiment, network 22A, 22B between controller the highest for the possibility carrying out being connected with PLC are set as the highest process relative importance value, and the relative importance value processed according to the order of field network 23, information systems internetting 21 reduces.
(2-6) between controller, network N is o.2
On-line network structural information collection unit 114 according to Figure 13 relative importance value selection control between network N o.2, the restriction utilizing Figure 12 can proceed information for network to whether confirms.Here, owing to not meeting restriction, so using network N between controller o.2 as handling object, perform the A2 process of Fig. 9-3.
Network N is o.2 as in the A2 process of handling object between using this controller, on-line network structural information collection unit 114 from the project information that the admin site be o.2 connected with network N between controller and PLC 10-2 keep, read-out system structural information.Due in the interconnection network information in this system architecture information, comprise relevant information of counting to the master station of the PLC that o.2 network N between controller connects, so extract master station to count " 3 ".
Thereafter, on-line network structural information collection unit 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 the PLC of each website sequence number keeps.That is, here, the information of PLC 10-2,10-5 is collected.
In the system architecture information of the new PLC 10-2 read, following information is comprised as information substrate, namely, in groove 1, there is CPU element, have in groove 3 and o.2 carry out for network N between via controller the communication unit 11-2A that communicates, there is the communication unit 11-2B for carrying out communicating via information systems internetting No.3 in groove 2.In addition, as interconnection network packets of information containing network N between controller o.2, the such information of website sequence number 1, admin site, and the information that information systems internetting No.3, website sequence number 2, IP address are such.
In addition, in the system architecture information of PLC 10-5, following information is comprised as information substrate, namely, in groove 1, there is CPU element, there is I/O unit 12-5 in groove 2, there is the communication unit 11-5A for carrying out communicating via field network 23 in groove 3, have in groove 4 and o.2 carry out for network N between via controller the communication unit 11-5B that communicates.In addition, as the information that interconnection network information storage has field network, site-local 1 such, and between controller network N o.2, the such information of website sequence number 3, common website.
And, on-line network structural information collection unit 114 is according to these system informations extracted and the plc data relevant to PLC 10-1 be stored in on-line network structural information maintaining part 116, generate for the network information o.2 of network N between controller, export to on-line network structural information maintaining part 116 as network information M2.
Then, in the new system architecture information obtained by information, the data of PLC 10-5 have carried out data output, but the data of PLC 10-2 not yet export.Thus, using the path that reads PLC 10-2 as connecting path P2c, export to online connecting path maintaining part 115, using plc data as information substrate P2b and interconnection network information P2n, export to on-line network structural information maintaining part 116.
(2-7)PLC 10-2
Thereafter, for PLC 10-2, the restriction according to Figure 12 and be confirmed whether to proceed information for network.Because PLC 10-2 does not meet the restriction of Figure 12, so select PLC 10-2 as handling object, perform the A1 process of Fig. 9-2.
Using PLC 10-2 as in the A1 process of handling object, the information systems internetting No.3 in the network not yet connected for PLC 10-2 performs A2 process.Thus, on-line network structural information collection unit 114, according to the restriction of Figure 12, is confirmed whether to proceed information for network.Here, owing to meeting restriction C, so there is no the network that can carry out information.Thus, utilize the plc data of PLC 10-2, for information systems internetting No.3 generating network information in the scope that can generate, export to on-line network structural information maintaining part 116 as network data E3-2.Thus, terminate the A1 process of PLC 10-2 as handling object.In addition, terminate (2-6) using network N between controller o.2 as the A2 process of handling object.
(2-8) information systems internetting No.3
Then, for information systems internetting No.3, the restriction according to Figure 12 is confirmed whether to proceed information for network.Because information systems internetting 21 meets restriction C, so for information systems internetting No.3 generating network information in the scope that can generate, export to on-line network structural information maintaining part 116 as network data E3-1.Thus, terminate (2-5) using the A2 process of PLC 10-1 as handling object.In addition, terminate (2-2) using the A1 process of PLC 10-3 as handling object.
Thereafter, the conformability of on-line network structural information collection unit 114 to the data exported processes.In this example embodiment, by whether can proceed the restriction C of Figure 12 of information to network, make the network data relevant to information systems internetting No.3 as shown in figure 11, export respectively as network data E3-1 and E3-2.Thus, carry out them to carry out gathering and form the process of network data E3.Network structure information collection process completes thus.
(PLC sash configuration process)
(1) summary processed
Figure 14-1 ~ Figure 14-5 is the process flow diagrams of the example representing display object coordinate computing step.In addition, in the following description, above-mentioned sash model is utilized to carry out the coordinate computing of display object.
With reference to Figure 14-1, the summary of display object coordinate computing step is described.First, the network sash configuration feature module 1172 of display object coordinate calculating part 117 utilizes the network information be stored in on-line network structural information maintaining part 116 on sash model, and rule performs network sash configuration process (step S111) according to the rules.
Then, PLC sash configuration feature module 1173 utilizes the information substrate be stored in on-line network structural information maintaining part 116 on sash model, and rule performs the PLC sash configuration process (step S112) be configured PLC sash and distribution sash according to the rules.In this PLC sash configuration process, configure PLC sash and distribution sash for the network sash configured in step S111.The result of the network sash configuration process of these step S111 and the PLC sash configuration process of step S112 is stored in sash model and keeps in functional module 1171.
Thereafter, sash Size calculation functional module 1174, based on information substrate and the rule for the regulation that configures sash, calculates the size of each sash, its result is stored in sash model and keeps in functional module 1171 (step S113).In addition, sash coordinate computing function module 1175 is based on the sash size be stored in sash model maintenance functional module 1171, and calculate the coordinate (step S114) being used for showing sash on display part 112, the computing of display object coordinate completes.
Below, the detailed content for the process in each step shown in Figure 14-1 is described.Figure 14-2 is the process flow diagrams of the example representing network sash configuration process step.First, the network sash configuration feature module 1172 of display object coordinate calculating part 117, with reference to the network data of on-line network structural information maintaining part 116, extracts network (step S131).
Then, the network extracted is sorted in turn (step S132) with network sequence number from top, by the field network sequence without network sequence number to the next (step S133).Then, according to the network sash (step S134) that is arranged in order sorted, its result is stored in sash model and keeps in functional module 1171, network sash configuration process completes.
Figure 14-3 is the process flow diagrams of the example representing PLC sash configuration process step.PLC sash configuration feature module 1173 extracts PLC(step S151 from the information substrate of on-line network structural information maintaining part 116).Then, from the PLC extracted, the network (step S152) being configured in lowermost position in the network sash configuration process of step S111 is selected.Then, select the PLC(step S153 carrying out with selected network being connected), the PLC(step S154 from wherein selecting website sequence number minimum).Then, from the sash of the lower left side of the network sash selected in step S152, configure selected PLC sash and distribution sash (step S155) in turn continuously.Now, between PLC sash and network sash, distribution sash is configured.In addition, PLC sash not only with the network selected in step S152, when being also connected with other network, configure distribution sash upward till arriving this network.
Thereafter, judge (step S156) whether there is other PLC in the PLC be connected with the network selected in step S152.In the situation (situation being yes in step S156) that there is other PLC, select the secondary little PLC(step S157 of website sequence number), return step S155, before the PLC be connected with the network selected in step S152 is all configured, repeat identical process.
In addition, there is not the situation (situation being no in step S156) of other PLC in step S156 under, judge (step S158) whether there is other network.In the situation (situation being yes in step S158) that there is other network, select to be configured in time network (step S159) of bottom by the network sash configuration process of step S111, return step S153, before the configuration of PLC sash and distribution sash has been carried out to the network being configured in upper, repeat above-mentioned process.In addition, in the situation (situation being no in step S158) that there is not other network, the configuration result of PLC sash and distribution sash be stored in sash model maintenance functional module 1171 (step S160), PLC sash configuration process completes.
Figure 14-4 is the process flow diagrams of the example representing sash Size calculation treatment step.First, sash Size calculation functional module 1174, from the sash model be stored in sash model maintenance functional module 1171, selects 1 PLC sash (step S171).Then, for the PLC that the PLC sash with selected is corresponding, from on-line network structural information maintaining part 116, read information substrate, calculate to comprise the PLC sash of setting up information substrate show needed for longitudinal size and lateral dimension (step S172).Here, 1 unit with minimum dimension of being arranged on substrate is represented as reference cell with rectangle, by the unit be arranged on substrate and set up substrate and calculate with the multiple of this reference cell.Such as, if the size of the above-below direction (hereinafter referred to as longitudinal direction) of reference cell is set to 10, the size of left and right directions (hereinafter referred to as transverse direction) is set to 10, then, when being provided with 3 unit on substrate, longitudinal size is 10, and lateral dimension becomes 30.In addition, when be provided with set up substrate, describe, so longitudinal size extends to 20 owing to being stacked in longitudinally upper.
Thereafter, whether sash Size calculation functional module 1174, in the sash model be stored in sash model maintenance functional module 1171, exists other PLC sash and carries out judging (step S173).In the situation (situation being yes in step S173) that there is other PLC sash, return step S171, repeat above-mentioned process, until there is not still non-selected PLC sash.
In addition, in the situation (situation being no in step S173) that there is not other PLC sash, sash Size calculation functional module 1174 selects 1 distribution sash (step S174) be stored in sash model maintenance functional module 1171.Longitudinal size and lateral dimension (step S175) are calculated to selected distribution sash., make the longitudinal size of distribution sash become the setting preset here, make lateral dimension consistent with the lateral dimension of the PLC sash being configured in this distribution sash bottom.
Thereafter, sash Size calculation functional module 1174 is in the sash model be stored in sash model maintenance functional module 1171, and other distribution sash of no existence carries out judging (step S176).In the situation (situation being yes in step S176) that there is other distribution sash, return step S174, repeat above-mentioned process, until there is not still non-selected distribution sash.
In addition, in the situation (situation being no in step S176) that there is not other distribution sash, sash Size calculation functional module 1174 selects 1 network sash (step S177) be stored in sash model maintenance functional module 1171.Longitudinal size and lateral dimension (step S178) are calculated to selected network sash., make the longitudinal size of network sash become the setting preset here, lateral dimension is become comprise the size of the distribution sash being configured in its underpart.
Thereafter, sash Size calculation functional module 1174 is in the sash model be stored in sash model maintenance functional module 1171, and other network element of no existence carries out judging (step S179).In the situation (situation being yes in step S179) that there is other network sash, return step S177, repeat above-mentioned process, until there is not still non-selected network sash.
In addition, in the situation (situation being no in step S179) that there is not other network sash, sash Size calculation functional module 1174 is stored in comprising in sash model maintenance functional module 1171 (step S180) by the sash model of the above-mentioned sash size calculated, and the process of sash Size calculation completes.
Figure 14-5 is the process flow diagrams of the example representing sash coordinate computing step.Sash coordinate computing function module 1175 reads the sash model (step S191) with sash size be stored in sash model maintenance functional module 1171, adds sash size in turn and calculate sash coordinate (step S192) from the upper left side of sash model.Thus, the computing of sash coordinate completes.
(2) object lesson processed
Due in the above description, the summary of display object coordinate computing is described, so exemplify the situation of the control system of the structure with Fig. 1, the object lesson of this process is described as follows.In addition, here, utilize the connecting path information of Figure 10 and the network structure information of Figure 11, carry out the coordinate computing of display object.
(2-1) network sash configuration process
First, comparable data classification is network data M1, M2, C, the E3 of " network ", to extract from the network structure information of the Figure 11 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 extracted is sorted according to network numeric order.In this case, from being configured in the network of top, become in turn " between controller, network N is o.1(22A) network N is o.2(22B between → controller) → information systems internetting No.3(21) → field network (23) (numeral in bracket is the label in Fig. 1) ".Then, according to the network sash that is arranged in order after having sorted.Figure 15 is the figure of the result representing network sash configuration process.Under the state of this figure, become and only determine upper and lower configuration relation, do not determine the state of left and right configuration relation.
(2-2) PLC sash configuration process
Figure 16-1 ~ Figure 16-5 is figure of an example of the step representing PLC sash configuration process.Below, with reference to these Figure 16-1 ~ Figure 16-5, the configuration process of PLC sash is described.
First, the PLC sash configuration feature module 1173 of display object coordinate calculating part 117, from the on-line network structural information maintaining part 116 of Figure 11, extracts interconnection network information P3n, P1n, P4n, P2n, P5n that data category is " PLC network ".
Then, from the interconnection network information extracted, the PLC be connected with the network and field network that are configured in lowermost position is in fig .15 obtained.Here, PLC 10-4(interconnection network information P4n is obtained) and PLC 10-5(interconnection network information P5n).At these PLC 10-4(home sites) and PLC 10-5(site-local 1) in, the PLC that slave site sequence number is less starts to process, but here, owing to being field network, so process home site at first, then process according to the website numeric order of site-local.Thus, process from PLC 10-4.
PLC 10-4 sash and distribution sash are configured continuously in the lower left of the field network sash of Figure 15.In addition, as shown in the interconnection network information P4n of Figure 11, because o.1 PLC 10-4 is also connected with network N between controller, thus from PLC 10-4 sash to network N between controller o.1 sash also configure distribution sash a.Now, 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, the process of the PLC 10-5 as site-local is carried out.PLC 10-5 sash and distribution sash b are configured continuously in the lower left of the field network sash of Figure 16-1.In addition, as shown in the interconnection network information P5n of Figure 11, because o.2 PLC 10-5 is also connected with network N between controller, thus from network N between PLC 10-5 sash to controller o.2 sash also configure distribution sash b.Now, the transverse width being positioned at the more upper network sash of field network extends, PLC 10-4 sash and PLC 10-5 sash to be included.Its result is shown in Figure 16-2.Due to the PLC that is connected with field network hereto, so the configuration process of PLC sash at the scene in network and distribution sash completes.
Then, select information systems internetting No.3 as the upper network being configured in field network, obtain PLC(PLC 10-1,10-2 of being connected with this information systems internetting No.3).Here, PLC 10-1(interconnection network information P1n, website sequence number 1 for being not yet configured) and PLC 10-2(interconnection network information P2n, website sequence number 2), carry out the configuration process of PLC sash.Here, process with website sequence number order from small to large, the i.e. order of PLC 10-1 → PLC 10-2.
First, PLC 10-1 sash and distribution sash c are configured continuously in the lower left of the information systems internetting No.3 sash of Figure 16-2.Owing to being now configured with configuration sash a, the b of PLC 10-4 and PLC 10-5 in the bottom of information systems internetting No.3, so position on the right side of PLC 10-5 configures 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 by website numeric order, do not carry out the configuration separated by the configuration relation being configured in more the next PLC sash.Now, owing to also carrying out the distribution to being configured in more upper network simultaneously, so in the network, along with the difference of the situation be configured, be not likely configured by website numeric order.
In addition, as shown in the interconnection network information P1n of Figure 11, due to PLC 10-1 also with network N between controller o.2, No.1 is connected, so from network N o.1 sash configuration distribution sash c between network N between PLC 10-1 sash to controller o.2 sash and controller.Its result is shown in Figure 16-3.
Then the configuration process of the secondary little PLC 10-2 sash of website sequence number is carried out.PLC10-2 sash and distribution sash d are configured continuously in the lower left side of the information systems internetting No.3 sash of Figure 16-3.Now, in information systems internetting No.3, distribution sash a, b, c of PLC 10-4 sash, PLC 10-5 sash and PLC 10-1 sash have been configured with.Thus, under above-mentioned restriction, at the right side of PLC 10-1 configuration PLC 10-2 sash and distribution sash d.In addition, as shown in the interconnection network information P2n of Figure 11, because o.2 PLC 10-2 is also connected with network N between controller, so from sash No.2 sash configuration distribution sash d between PLC 10-2 sash to controller.Its result is shown in Figure 16-4.Due to the PLC that is connected with information systems internetting No.3 hereto, so the configuration process of PLC sash in information systems internetting No.3 and distribution sash completes.
Then, as be configured in information systems internetting No.3 upper network and between selection control network N o.2, but at PLC(PLC 10-2,10-1,10-5 of being o.2 connected with network N between this controller) in, the PLC not yet do not configured.Thus, between the controller continuing option and installment position thereon, network N o.1.PLC(PLC 10-3,10-1,10-4 being o.1 connected with network N between this controller) in, the PLC not yet configured is PLC 10-3(interconnection network information P3n).Thus, the configuration process of PLC sash and configuration sash e is carried out for this PLC 10-3.When between controller when network, usually can with admin site, common website independently, with website sequence number in turn (PLC that slave site sequence number is less starts in turn) process.But, in this example embodiment, owing to be o.1 connected with network N between controller and the handling object not yet configured and PLC only have 1, so only carry out the configuration process of PLC10-3 here.
The lower left of PLC 10-3 sash and distribution sash e network N o.1 sash between the controller of Figure 16-4 is configured continuously.Now, between controller network N o.1 in be configured with distribution sash a, the c of PLC 10-4,10-1, but because sash is therebetween vacant, so after lower left configures continuously, become the situation configuring PLC 10-3 sash and distribution sash e in the sash that this is vacant.Its result is shown in Figure 16-5.
Due to the PLC that is o.1 connected with network N between controller hereto, so between controller network N o.1 in PLC sash and the configuration process of distribution sash complete.In addition, because o.1 network N between controller is the network of upper, so the configuration process of above PLC sash completes.
(2-3) sash Size calculation process
The sash Size calculation functional module 1174 of display object coordinate calculating part 117 calculates the size of each sash for the sash configuration result of Figure 16-5.Especially, for PLC sash, utilize the information substrate of on-line network structural information maintaining part 116, calculate the size of display needed for PLC.
First, sash Size calculation functional module 1174 carries out the Size calculation of PLC sash.For the calculating of this PLC sash, do not limit the order carrying out processing from which PLC.In this example embodiment, the Size calculation of each PLC sash is carried out with the order of PLC 10-1 ~ PLC 10-5.
Sash Size calculation functional module 1174, 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, extracts and does not set up this information of substrate, the longitudinal size of sash is calculated as 30.Meanwhile, from information substrate P1b, extract the groove number of substrate for " 4 " this information, the lateral dimension of sash is calculated as 40.
For PLC 10-2 also in the same manner, extract from information substrate P2b and do not set up this information of substrate, the longitudinal size of sash is calculated as 30.In addition, from information substrate P2b, extract the groove number of substrate for " 3 " this information, the lateral dimension of sash is calculated as 30.
For PLC 10-3, extract to have from information substrate P3b and set up this information of substrate, the longitudinal size of sash is calculated as 60.Meanwhile, the groove number extracting substrate from information substrate P3b is " 3 ", sets up the groove number of substrate for " 2 " this information, is mated by the lateral dimension of sash and be calculated as 30 with larger-size substrate.
For PLC 10-4, extract from information substrate P4b and do not set up this information of substrate, the longitudinal size of sash is calculated as 30.In addition, from information substrate P4b, extract the groove number of substrate for " 4 " this information, the lateral dimension of sash is calculated as 40.
For PLC 10-5 also in the same manner, extract from information substrate P5b and do not set up this information of substrate, the longitudinal size of sash is calculated as 30.Meanwhile, from information substrate P5b, extract the groove number of substrate for " 4 " this information, the lateral dimension of sash is calculated as 40.
Thereafter, be extracted in the upper PLC sash (on configuration relation, jointly enjoying the PLC sash of same lateral size) arranged side by side of longitudinal direction (distribution direction), by unified for the lateral dimension of this PLC sash lateral dimension for larger PLC sash.Here, due to lateral dimension be 30 PLC 10-3 sash and lateral dimension be 40 PLC 10-5 sash upper side by side in longitudinal direction (distribution direction), so the lateral dimension lateral dimension of PLC 10-3 sash being changed to PLC 10-5 sash that is 40, to make jointly to enjoy identical lateral dimension.
Then, sash Size calculation functional module 1174 carries out the Size calculation of distribution sash.Now, for distribution sash, longitudinal size is set to fixed value 10, but lateral dimension reflects the lateral dimension of the PLC sash of the bottom being configured in each distribution sash.In addition, when distribution sash transversely configure PLC sash and distribution sash, distribution sash is measured accordingly with the total size of the longitudinal size of this PLC sash and distribution sash in the vertical and extends.
In addition, sash Size calculation functional module 1174 carries out the Size calculation of network sash.For the Size calculation of this network sash, do not limit the order carrying out processing from which network.In this example embodiment, to carry out Size calculation in turn from being configured in upper network sash.
First, for network N between controller o.1, longitudinal size is set to fixed value 10, for lateral dimension, due to be thereunder configured be connected to PLC 10-4,10-3,10-1 respectively distribution sash a, e, c, comprise their size so formed.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 the lateral dimension of network N o.1 sash becomes 120(=40+40+40 between controller).
In addition, for network N between controller o.2 also in the same manner, longitudinal size is set to fixed value 10, for lateral dimension, due to be thereunder configured be connected to PLC 10-5,10-1,10-2 respectively distribution sash b, c, d, comprise their size so formed.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 the lateral dimension of network N o.2 sash becomes 110(=40+40+30 between controller).
Further, for information systems internetting No.3 also in the same manner, longitudinal size is set to fixed value 10, for lateral dimension, owing to being thereunder configured with the distribution sash c, the d that are connected to 10-1,10-2 respectively, so form the size comprising them.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 becomes 70(=40+30).
In addition, for field network also in the same manner, longitudinal size is set to fixed value 10, for lateral dimension, owing to being thereunder configured with the distribution sash a, the b that are connected to 10-4,10-5 respectively, so form the size comprising them.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 becomes 80(=40+40).
Figure 17 is the figure of the example representing sash Size calculation result.The above results writes in the sash configuration result of Figure 16-5 by this Figure 17.Its result is stored in sash model to keep in functional module 1171.The process of above sash Size calculation completes.
(2-4) sash coordinate computing
The object coordinates computing function module 1175 of display object coordinate calculating part 117 carries out following process, namely, read the sash model comprising sash Size calculation result be stored in sash model maintenance functional module 1171, to add sash size in turn the upper left from sash model, sash coordinate is calculated.
Specifically, the coordinate in the upper left corner of the sash model of Figure 17 of reading is set to (0,0) by sash coordinate computing function module 1175, this coordinate position is added one by one to the size of each sash, and calculates the coordinate of each sash.Figure 18 is the figure of the example representing sash coordinate result of calculation.The coordinate in the upper left corner in the sash model of Figure 17 is set to (0,0) by this Figure 18, adds that each sash size obtains.In addition, in the figure, using the positive dirction of right as x-axis from initial point, using the positive dirction of below as y-axis from initial point.
(system architecture Graphics Processing)
Figure 19 is the process flow diagram of the example representing system architecture Graphics Processing step.First, system architecture display part 118 extracts network sash from the sash model with the sash coordinate calculated by display object coordinate calculating part 117, shows each network (step S211) based on its coordinate position., make the initial point (0,0) of the assigned position in the region of the display system architectures on display part 112 and sash model corresponding here, from this point, the sash coordinate based on sash model describes network.Network is described by line.In addition, its title is shown for each network.
Then, from sash model, extract PLC sash, show each PLC sash (step S212) based on its coordinate position.For this PLC sash, the object configuring rectangular shape based on the coordinate information comprised in sash model (or dimension information) is formed.In addition, now based on the information substrate of each PLC, the unit be arranged in each groove of substrate separated and shows, and carrying out the process showing this unit title in this cut zone.
Thereafter, the line and distribution (step S213) that each PLC and network to be carried out being connected is shown.This process based on the information substrate in on-line network structural information maintaining part 116, by being undertaken using line to carry out linking between the communication unit of each PLC and the network be connected with this communication unit.Thus, system architecture Graphics Processing completes.In addition, by the system architecture information displaying that generated by this system architecture display part 118 on display part 112.
Figure 20 is the figure of the example representing the system architecture information shown on display part by system architecture Graphics Processing.In the example of this Figure 20, by on the communication unit of each PLC with the website sequence number in other head word 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 confirmation of network parameter become easy.
In addition, when reading the project information that each PLC keeps, if read its state (running-active status or diagnostic message), then they can be shown with the system architecture of Figure 20 and showing with superposing.
According to this embodiment 1, owing to utilizing the network structure information collected from each PLC of the formation control system of reality, automatically the annexation of the network in analysable scope and the configuration relation of PLC are shown with figure, can make reduce such effect the man-hour of the picture of the system construction drawing of generating network so have.In addition, have and be easy to carry out holding such effect to the network of the control system forming production equipment etc. and the system architecture entirety of PLC.And, owing to being formed as must configuring distribution upward from PLC, so have following effect, namely, easily can differentiate which network PLC is subordinated to which kind of degree, to forming the assurance of the network of control system and the system architecture entirety of PLC and all becoming easy to the assurance of state.
In addition, in the above description, be formed as the form be connected with the PLC 10 of control system by the Control System Design device 100 be made up of personal computer etc., but also the functional module of Control System Design device 100 can be mounted in and be connected with Programmable Logic Controller, on the display that operating state and the control system of control system are set.By such formation, the system architecture entirety of the network and PLC that form control system can be presented on the picture of display.
Figure 21 is the block diagram of the hardware configuration of the display representing the function with Control System Design device.This display 150 is configured to, and bus 157 is on the display 150 connected with: display part 151, and it is for showing the picture of regulation; The input part 152 be made up of membrane keyboard etc.; Communication port 153, it is for communicating with PLC10; Reservoir 154, it is made up of hard disk unit etc., stores the data (i.e. display frame program) by the setting of this display 150; Microprocessor 155, its process (that is, perform display frame program and show the process of regulation picture, and the setting of system architecture and the process of management) for carrying out carrying out showing on display part 151; And data storage memory 156, it is for storing the ephemeral data produced with this process.In addition, when input part 152 is touch panel picture, input part 152 is integrated with display part 151 one-tenth.
Thus, be connected with PLC10 without the need to preparing separately to make Control System Design device 100 carry out the information processing terminal of action, the display 150 forming control system can easily be held structure and the state of entire system.
Embodiment 2
In embodiment 1, network sash is configured in turn with the sequence number of giving network, PLC sash is started to configure in turn with the less sash of website sequence number in selected network, but in present embodiment 2, be described for following Control System Design device and Control System Design method, that is, not according to simple numeric order, automatically can calculate the configuration easily can held and form the network of control system and the system architecture entirety of PLC, and show.
Figure 22-1 is the block diagram of the functional structure of the network sash configuration feature module schematically representing Control System Design device involved in the present invention, and Figure 22-2 is the block diagrams of the functional structure schematically illustrating PLC sash configuration feature module in the same manner.
As shown in Figure 22-1, network sash configuration feature module 1172 has: other network connects PLC extraction unit 11721, and it extracts in PLC connected to the network, the PLC be also connected with other network; And network classification sequencing unit 11722, its by with the higher network configuration of field network correlation degree in below, by with the higher network configuration of information systems internetting 21 correlation degree up, with the integrally-built best configuration sorted as easily holding control system.
Here, the so-called degree associated with field network refers to, in the PLC belonging to this network, the quantity (or ratio) being also subordinated to the PLC of field network is more, and the degree associated with field network is higher.In addition, the so-called degree associated with information systems internetting refers to, in the PLC belonging to this network, the quantity (or ratio) being also subordinated to the PLC of information systems internetting is more, and the degree associated with information systems internetting is higher.
In addition, as Figure 22-2, PLC sash configuration feature module 1173 has: PLC sash configuration candidate extraction unit 11731, the configuration candidate that the configuration relation being configured at the PLC being arranged in the next network compared with selected network can not isolate out by its extraction; And PLC sash configuration candidate selection unit 11732, it selects 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 the description thereof will be omitted.
Then, the treatment step for present embodiment 2 is described.In the Control System Design process of present embodiment 2, till the data (plc data) of the network structure information collected by on-line network structural information collection unit 114 are stored in 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 calculating part 117 is with the difference of embodiment 1, the process of the process carrying out Figure 14-2 of network sash configuration process and the Figure 14-3 carrying out PLC sash configuration process.Thus, below network sash configuration process and PLC sash configuration process are described, due to for other process illustrate identical, so omit.
(1) summary processed
(1-1) network sash configuration process
Preferably in 2, its object is to reduce as far as possible generate the intersection of the network wiring in the system architecture information of (display).Thus, it is characterized in that, according to the order of following regular A ~ D, preferentially carry out the configuration of network sash and PLC sash.
A., in the formation network of control system and the system architecture of PLC, between the such information systems internetting of Ethernet (registered trademark), controller, the application target of network and field network is clear and definite.That is, information systems internetting is positioned at the upper of system, and between controller, network is positioned at the meta of system, and field network is positioned at the bottom of system.Thus, in present embodiment 2, be arranged in order network as described above.
B. the PLC be connected with same network configures to neighbour each other.Particularly in lower network, because 1 network forms 1 unit group mostly, so the PLC be connected with same lower network configures to neighbour each other.Here, so-called unit group refers to, such as, PLC group when the process in control system being classified by function.Such as, control system divide into coating process, exposure process, matting ... when Deng each operation, carry out gathering of one group of device of the process of each operation above-mentioned being called a unit group.
C. the PLC owing to being connected with upper network, has the effect of unit group controller mostly, so need not neighbour ground configuration each other.
D. be configured according to the order of network sequence number and website sequence number.
Figure 23-1 is the process flow diagram of row of the network sash configuration process step represented involved by present embodiment 2.First, network sash configuration feature module 1172, with reference to the network data of on-line network structural information maintaining part 116, extracts network (step S231).Then, according to above-mentioned regular A, the network extracted is carried out sort (step S232) with the classification of network, field network between information systems internetting, controller from top.
Then, from the network classification after sequence, a kind of network classification (step S233) is selected.Further, other network connection PLC extraction unit 11721 extracts the PLC(step S234 carrying out with each network in selected network classification being connected).
Thereafter, network classification sequencing unit 11722, for each network, counts the quantity of the PLC be also connected with other field network, networks more for the PLC quantity be connected is configured (step S235) downwards with other field network.
Then, network classification sequencing unit 11722, for each network, counts the quantity of the PLC be also connected with other information systems network, networks more for the PLC quantity be connected is configured (step S236) more upward with other information systems network.
Finally, network classification sequencing unit 11722, for each network, counts the quantity of the PLC that network between the controller gone back with other is connected, networks more for the PLC quantity be connected is configured (step S237) more upward with network between other controller.As mentioned above, the sequence process between each network in 1 network classification is performed.
Thereafter, do not judged (step S238) by other network classification selected whether existing.Existing not by other situation of other network class (situation being yes in step S238) of selecting, returning step S233, repeating above-mentioned process, until do not exist not by other network classification selected.
In addition, do not exist not by other situation of other network class (situation being no in step S238) of selecting, the network sash (step S239) that is arranged in order after network sash configuration feature module 1172 terminates according to sequence, its result is stored in sash model to keep in functional module 1171, network sash configuration process completes.
(1-2) PLC sash configuration process
Figure 23-2 ~ Figure 23-3 is process flow diagrams of an example of the PLC sash configuration process step represented involved by present embodiment 2.PLC sash configuration feature module 1173 extracts PLC(step S251 from the information substrate of on-line network structural information maintaining part 116).Then, the network (step S252) being configured in lowermost position in the network sash configuration process of Figure 23-1 is selected.Then, select the PLC(step S253 be connected with selected network), therefrom select the PLC(step S254 that website sequence number is minimum).
PLC sash configuration feature module 1173 judges (step S255) whether being configured with the PLC be connected with the network selected.Do not having in the situation (situation being no in step S255) configuring the PLC be connected with this network, PLC sash configuration candidate selection unit 11732, for extracted PLC, configures distribution sash and PLC sash (step S260) in turn continuously from the sash of the lower left side of this network.
In addition, in step S255, in the situation (situation being yes in step S255) being configured with the PLC be connected with this network, PLC sash configuration candidate extraction unit 11731 determines whether to extract the configuration candidate (step S256) that the configuration relation being configured in the PLC being arranged in the next network compared with this network can not be separated.
In the situation (situation step S256 is no) that cannot extract the configuration candidate that the configuration relation being configured in the PLC being arranged in the next network compared with this network can not be separated, PLC sash configuration candidate selection unit 11732 configures distribution sash and PLC sash (step S260) in turn continuously from the sash of the lower left side of this network.
In addition, in step S256, in the situation (situation step S256 is yes) that can extract the configuration candidate that the configuration relation being configured in the PLC being arranged in the next network compared with this network can not be separated, the configuration candidate (step S257) that PLC sash configuration candidate extraction unit 11731 is configured with determining whether to extract from this candidate and configured PLC arest neighbors in the network.
Cannot extract with the PLC arest neighbors configured in the network in the situation (situation being no in step S257) of configuration candidate that is configured, PLC sash configuration candidate selection unit 11732 configures distribution sash and PLC sash (step S260) in turn continuously from the sash of the lower left side of this network.
In addition, in step S257, can extract with the PLC arest neighbors configured in the network in the situation (situation being yes in step S257) of configuration candidate that is configured, PLC sash configuration candidate extraction unit 11731 carries out following judgement, that is, whether can extract from this configuration candidate and configure the configuration candidate (step S258) following website numeric order between PLC in the network most.
In the situation (situation being no in step S258) cannot extracting and configure the configuration candidate following website numeric order between PLC in the network most, PLC sash configuration candidate selection unit 11732 configures distribution sash and PLC sash (step S260) in turn continuously from the sash of the lower left side of this network.
In addition, in step S258, in the situation (situation being yes in step S258) can extracting and configure the configuration candidate following website numeric order between PLC in the network most, select this configuration candidate, PLC sash configuration candidate selection unit 11732 is according to this configuration candidate configuration distribution sash and PLC sash (step S259).
Thereafter, after step S260, in the PLC be connected with the network selected in step S252, whether there is this situation of other PLC and carry out judging (step S261).In the situation (situation being yes in step S261) that there is other PLC, select the secondary little PLC(step S262 of website sequence number), return step S255, repeat same treatment, until there is not other PLC be connected with the network selected in step S252.
In addition, there is not the situation (situation being no in step S261) of other PLC in step 261 under, judge (step S263) whether there is other network.In the situation (situation being yes in step S263) that there is other network, select in network sash configuration process, be configured in time network (step S264) of bottom, return step S253, before to the network configuration PLC sash being configured in upper and distribution sash, repeat above-mentioned process.In addition, in the situation (situation being no in step S263) that there is not other network, the configuration result of PLC sash and distribution sash be stored in sash model maintenance functional module 1171 (step S265), PLC sash configuration process completes.
(2) object lesson processed
Due in the above description, the summary of the configuration process of network sash and PLC sash is described, so exemplify the situation of the control system of the structure with Fig. 1, the object lesson of this process is described as follows.In addition, here, utilize the connecting path information of Figure 10 and the network structure information of Figure 11, carry out the configuration process of sash.
(2-1) network sash configuration process
First, according to the network structure information of the Figure 11 be stored in on-line network structural information maintaining part 116, to extract between controller that data category is " 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 extracted is sorted with 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, due to only between controller network to there are between controller network N network N o.2 these 2 networks o.1 and between controller, so here sort according to network numeric order, then further the order of network between this controller is sorted.
First, other network connects the network data M1 of PLC extraction unit 11721 with reference to on-line network structural information maintaining part 116, extracts the PLC be o.1 connected with network N between controller.Its result obtains PLC 10-3,10-1,10-4.In the same manner, extract the PLC be o.2 connected with network N between controller, its result obtains PLC 10-2,10-1,10-5.
Here, the quantity of the PLC be also connected with other field network in the PLC extracted is counted.In the PLC extracted, the PLC be also connected with field network is PLC10-4,10-5.Thus, o.1 the quantity of the PLC be also connected with other field network be PLC 10-4 this 1 for network N between controller, is o.2 PLC 10-5 this 1 for network N between controller.A fairly large number of network of the PLC be also connected with other field network 23 sorts to downside by network classification sequencing unit 11722, but under this benchmark, because both quantity is identical, thus cannot to network N between controller o.1 and between controller network N o.2 sort.
Then, the quantity of the PLC be also connected with other information systems network in the PLC extracted is counted.In the PLC extracted, the PLC be also connected with information systems internetting is PLC 10-1,10-2.Thus, o.1 the quantity of the PLC be also connected with other information systems network be PLC 10-1 this 1 for network N between controller, is o.2 PLC 10-1,10-2 these 2 for network N between controller.Thus, a fairly large number of network of the PLC be also connected with other information systems network sorts to upside by network classification sequencing unit 11722, according to this benchmark, the network N that o.2 network N between controller to be sorted between controller o.1 above.
Thus, owing to having sorted, so here, without the need to sorting according to the quantity of the PLC be connected with network between other controller.
Then, network sash configuration feature module 1172 with the network sash that is arranged in order after having sorted, and is stored in network sash and keeps in functional module 1171.Figure 24 is the figure of the result of the network sash configuration process represented involved by present embodiment 2.
(2-2) PLC sash configuration process
Figure 25-1 ~ Figure 25-5 is figure of an example of the step of the PLC sash configuration process represented involved by present embodiment 2.Below, with reference to above-mentioned Figure 25-1 ~ Figure 25-5, the configuration process of PLC sash is described.
First, the PLC sash configuration feature module 1173 of display object coordinate calculating part 117, from the on-line network structural information maintaining part 116 of Figure 11, extracts interconnection network information P3n, P1n, P4n, P2n, P5n that data category is " PLC network ".
Then, from the interconnection network information extracted, the PLC be connected with the network and field network that are configured in lowermost position is in fig. 24 obtained.Here, PLC 10-4(interconnection network information P4n is obtained) and PLC 10-5(interconnection network information P5n).At these PLC 10-4(home sites) and PLC 10-5(site-local 1) in, the PLC that slave site sequence number is less starts to process, but here, owing to being field network, so first process home site, then process according to the website numeric order of site-local.Thus, process according to the order of PLC10-4 → PLC 10-5.
PLC 10-4 sash and distribution sash a are configured continuously in the lower left of the field network sash of Figure 24.In addition, as shown in the interconnection network information P4n of Figure 11, because o.1 PLC 10-4 is also connected with network N between controller, so o.1 configure distribution sash a between sash from network N between PLC 10-4 sash to controller.Now, 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, the process of site-local and PLC 10-5 is carried out.PLC 10-5 sash and distribution sash b are configured continuously in the lower left of the field network sash of Figure 25-1.Now, at the scene network sash is configured with the distribution sash a of PLC 10-4, configuration candidate as PLC 10-5 has in " left side of PLC 10-4 " and " right side of PLC 10-4 ", and the configuration relation of the PLC being configured in the network being arranged in this network bottom can not cut off out by this configuration candidate.Above-mentioned configuration is all relative to the configuration candidate that is configured of the PLC 10-4 arest neighbors be connected with field network ground.Further, because PLC 10-4 is home site, PLC 10-5 is site-local and its website sequence number is 1, so wherein follow being configured on " right side of PLC 10-4 " of website numeric order.Thus, this position configures PLC 10-5 sash and distribution sash b.
In addition, as shown in the interconnection network information of Figure 11, because o.2 PLC 10-5 is also connected with network N between controller, so o.2 also configure distribution sash b between sash from network N between PLC 10-5 sash to controller.Now, the transverse width being 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.Due to the PLC that is connected with field network hereto, so the configuration process of PLC sash in field network 23 and distribution sash completes.
Then, according to Figure 24 (Figure 25-2) as the upper network being configured in field network and between selection control network N is o.1.O.1 the PLC be connected with network N between controller is PLC 10-1(website sequence number 2), PLC 10-3(website sequence number 1), PLC 10-4(website sequence number 3), that wherein not yet configure is PLC 10-1 and PLC 10-3.Thus, the configuration process of PLC sash is carried out for these PLC 10-1,10-3.Here, according to website sequence number order from small to large, namely process according to the order of PLC 10-3 → PLC 10-1.
First, the lower left of PLC 10-3 sash and distribution sash c network N o.1 sash between the controller of Figure 25-2 is configured continuously.Now, between controller, o.1 network N goes up and has been configured with PLC 10-4, the distribution sash a of PLC 10-5, b, configuration candidate as PLC 10-3 has in " left side of PLC 10-4 " and " right side of PLC 10-5 ", wherein, the configuration relation of the PLC 10-4 sash and PLC 10-5 sash that are configured in the network (field network) being arranged in this network bottom can not cut off out by this configuration candidate.Wherein relative to the PLC 10-4 arest neighbors be o.1 connected with network N between controller the configuration that is configured be candidate in " left side of PLC 10-4 ".Thus, this position configures PLC 10-3 sash and distribution sash c.Its result is shown in Figure 25-3.
Then, the configuration process of the secondary large PLC 10-1 sash of website sequence number is carried out.The lower left of PLC10-1 sash and distribution sash d network N o.1 sash between the controller of Figure 25-3 is configured continuously.Now, between controller network N o.1 go up be configured with PLC 10-3,10-4,10-5 distribution sash c, a, b, configuration candidate as PLC 10-1 has " left side of PLC 10-3 ", " right side (left side of=PLC 10-4) of PLC 10-3 " and " right side of PLC 10-5 ", wherein, the configuration relation of the PLC 10-4 sash and PLC 10-5 sash that are configured in the network (field network) being arranged in this network bottom can not cut off out by this configuration candidate.Wherein, be configured relative to PLC 10-3,10-4 arest neighbors be o.1 connected with network N between controller, and and be configured in the PLC 10-3(website sequence number 1 that o.1 network N between controller go up) and PLC 10-4(website sequence number 3) between follow numeric order most configuration be " right side of PLC 10-3 ".Thus, this position configures PLC 10-1 sash and distribution sash d.
In addition, as shown in the interconnection network information P1n of Figure 11, because o.2 PLC 10-1 is also connected with information systems internetting No.3 with network N between controller, so o.2 sash and information systems internetting No.3 sash also configure distribution sash d from network N between PLC 10-1 sash to controller.Its result is shown in Figure 25-4.Due to network N between controller o.1 the PLC that is connected of sash hereto, so between controller network N o.1 in PLC sash and the configuration process of distribution sash complete.
Then, according to Figure 24 (Figure 25-4) as being configured in the upper network o.1 of network N between controller and between selection control network N is o.2.O.2 the PLC be connected with network N between controller is PLC 10-1(website sequence number 2), PLC 10-2(website sequence number 1), PLC10-5(website sequence number 3), that not yet configure in them is PLC 10-2.Thus, the configuration process of PLC sash and distribution sash is carried out for this PLC 10-2.Here, when not having the PLC configured to have multiple, the PLC that slave site sequence number is less starts to process.In addition, when between controller when network, independently process according to website numeric order with admin site, common website.
The lower left of PLC 10-2 sash and distribution sash e network N o.2 sash between the controller of Figure 25-4 is configured continuously.Now, between controller, o.2 network N goes up and has been configured with PLC 10-1, the distribution sash d of 10-5, b, configuration candidate as PLC 10-2 has the vacant sash in left side of the network N o.2 distribution d be connected with PLC 10-1 of below " between the controller ", " between controller network N o.2 below the distribution d be connected with PLC 10-1 and the distribution b be connected with PLC 10-5 between vacant sash ", the right side of the distribution b be connected with PLC 10-5 of network N o.2 below " between the controller ", wherein, this configuration candidate will can not be configured in the PLC 10-3 of the network (between controller network N o.1 and field network) being arranged in this network bottom, 10-1, 10-4, the configuration relation of 10-5 cuts off out.Wherein, relative to being candidate for the configuration that the PLC 10-1 that o.2 network N between controller is connected the most neighboringly configures " between controller the vacant sash of network N o.2 between the distribution d be connected with PLC 10-1 of below and the distribution b be connected with PLC 10-5 ".In addition, here, due to from above-mentioned candidate, cannot for between controller network N o.2 in the PLC 10-1(website sequence number 2 of configuration) and PLC 10-5(website sequence number 3) extract the configuration candidate following website numeric order most, so select above-mentioned " between controller network N o.2 below the distribution d be connected with PLC 10-1 and the distribution b be connected with PLC 10-5 between vacant sash ".Thus, this position configures PLC 10-2 sash and distribution sash e.Its result is shown in Figure 25-5.
Thereafter, according to Figure 24 (Figure 25-5) as being configured in the upper network o.2 of network N between controller and selecting information systems internetting No.3, but in PLC 10-1,10-2 of being connected with this information systems internetting No.3, the PLC not yet do not configured.Further, because this information systems internetting 21 is networks of upper, so PLC sash configuration process completes.
Thereafter, as illustrated in embodiment 1, for the result of Figure 25-5, size to each sash is carried out (especially by sash Size calculation functional module 1174, for PLC sash, calculate size needed for display PLC according to the information substrate of PLC) carry out the sash Size calculation process that calculates, from upper left side, add sash size in turn and carry out calculating the sash coordinate computing of sash coordinate.Figure 26 is the figure representing result for Figure 25-5 and calculate the result of sash size and sash coordinate.
Then, system architecture display part 118 reads the sash model that with the addition of the sash coordinate obtained by above-mentioned process, display system architectures information in display part 112.Figure 27 is the figure of the example representing the system architecture information shown by system architecture Graphics Processing.In this display frame, owing to being shown by the state of the network structure of the control system manually generated with close, namely, at upper display and information system network, network between meta display controller, at the next displaying scene network, so compared with the situation of embodiment 1, there is user easily holds the structure of control system effect according to network structure.
According to the present embodiment 2, because the network-order network structure information collected being easy to hold with user shows, so have the effect being easy to hold the system architecture entirety of the network and PLC that form control system.
Figure 28 is the figure of other the structure example representing control system.Compared with Fig. 1 that this Figure 28 and expression form the example of the network of control system described in embodiment 1 and the system architecture entirety of PLC, form complicated control system by a large amount of PLC.For the situation that the system architecture information of control system such for this Figure 28 is carried out with the method for embodiment 1 showing, and compare with the situation that the method for embodiment 2 carries out showing.
Figure 29 is the figure representing the system architecture shown with the control system of the method for embodiment 1 to Figure 28.In addition, to be the figure representing the sash model that the control system for Figure 28 generates with the method for embodiment 2, Figure 31 be Figure 30 represents sash model based on Figure 30 and the figure of the system architecture of the control system of the Figure 28 shown.
Compared with the display frame of the system architecture of the Figure 29 shown with the method by embodiment 1, the display frame of the system architecture of the Figure 31 shown by the method for embodiment 2, owing to the network of the upper infosystem forming control system to be presented at the top of picture, the network of the next fielded system of construction system is presented at below, and, the PLC be connected with same network is gathered display, so be more prone to clear.That is, compared with the display frame of the system architecture of the Figure 29 shown with the method by embodiment 1, the Figure 31 shown by the method for embodiment 2, the System's composition figure of that its form of expression is easily understood closer to user, that hand drawing goes out Figure 28.That is, according to the present embodiment 2, automatically can show the system architecture information of that the form of expression is easily understood closer to people, that hand drawing goes out system construction drawing.
Embodiment 3
Preferably following Control System Design device and Control System Design method are described in 3, which path it is connected with target P LC by embodiment 1,2, can show concrete connecting path.In addition, in the following description, the result of embodiment 1 is utilized to be described.
Figure 32 is the block diagram of the functional structure of the embodiment 3 schematically representing 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 there is connecting path display part 120, it, according to the data comprising the coordinate calculated by display object coordinate calculating part 117 and the connecting path kept by online connecting path maintaining part 115, display part 112 shows the connecting path from starting point PLC to object PLC.This connecting path display part 120 corresponds to the connecting path display unit in claims.In addition, identical label is marked for the textural element identical with embodiment 1, and the description thereof will be omitted.
Then, for having being described from the Graphics Processing of the connecting path of starting point PLC to object PLC in the Control System Design device 100 of said structure.Figure 33 is the process flow diagram of the example representing connecting path Graphics Processing step.In addition, Figure 34-1 ~ Figure 34-5 is figure of an example of the step of the connecting path Graphics Processing represented in system architecture information display screen.In addition, present treatment performs under the state of carrying out the Graphics Processing of system architecture information in embodiment 1,2.
First, connecting path display part 120 obtains the position of this object of starting point PLC on display part 112 from display object coordinate calculating part 117, highlights the entirety (step S271, Figure 34-1) of this object of starting point PLC.
Then, from the connecting path be stored in online connecting path maintaining part 115, appointed or certain 1 connecting path information (step S272) is selected.Select the distribution (step S273) from the starting point PLC selected connecting path information to the network be recorded in data 1.Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate calculating part 117, and outstanding description (step S274, Figure 34-2).
Then, connecting path display part 120 selects the distribution (step S275) that the network described in the data 1 in connecting path information and the PLC described in data 2 carried out linking.Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate calculating part 117, and outstanding description (step S276, Figure 34-3).
Then, the network portion between 2 of outstanding description distributions is carried out outstanding description (step S277, Figure 34-4) by connecting path display part 120.Then, be whether the PLC(terminal PLC in the denominational of connecting path information to the PLC recorded in data 2) judge (step S278).
Be documented in the situation (situation being no in step S278) that the PLC in data 2 is not terminal PLC, connecting path display part 120 sets n=1, m=2(step S279), select the distribution (step S280) PLC described in the data 2n in connecting path information and the network described in data 2n+1 being carried out linking.Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate calculating part, and outstanding description (step S281).
Then, connecting path display part 120 selects the distribution (step S282) that the network described in the data 2m-1 in connecting path information and the PLC described in 2m carried out linking.Then, obtain the position on display part 112 corresponding with this distribution from display object coordinate calculating part 117, and outstanding description (step S283).Then, the network portion between 2 of outstanding description distributions is carried out outstanding description (step S284) by connecting path display part 120.
Then, be whether the PLC(terminal PLC in the denominational of connecting path information to the PLC be documented in data 2m) judge (step S285).Be documented in the situation (situation being no in step S285) that the PLC in data 2m is not terminal PLC, connecting path display part 120, after setting n=n+1, m=m+1 (step S286), returns step S280, repeats above-mentioned process.
In addition, in step S278, be documented in the situation (situation being yes in step S278) that the PLC in data 2 is terminal PLC, or in step S285, be documented in the situation (situation being yes in step S285) that the PLC in data 2m is terminal PLC, the Graphics Processing of the connecting path between from starting point PLC to the terminal PLC as target completes (Figure 34-5).
According to the present embodiment 3, there is following effect, that is, in the network forming control system, easily can confirm the connecting path from starting point PLC PLC to terminal.
Embodiment 4
In embodiment 1 ~ 3, connection control system design apparatus on the PLC forming actual control system, obtains the information of the network structure of control system and the system architecture of PLC under on line state via this PLC, thus display system architectures information.On the other hand, in present embodiment 4, following Control System Design device and Control System Design method are described, it can to the system construction drawing editing acquisition in offline state, determine the PLC that can arrive, and when there is multiple connecting path, automatically select optimal path with reference to communication throughput.
Figure 35 is the block diagram of the functional structure of the embodiment 4 schematically representing 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, system architecture editorial office 121, off line network structure information maintaining part 122, connecting path parsing selection portion 123, throughput model maintaining part 124, off line connecting path maintaining part 125, display object coordinate calculating part 117, system architecture display part 118, connecting path display part 120 and controls the control part 119 of each handling part above-mentioned.
System architecture editorial office 121 is on this Control System Design device 100, the picture set the network of the control system forming production equipment etc. and the system architecture entirety of PLC is provided to user in offline state, and the content set by user is managed.This system architecture editorial office 121 corresponds to the system architecture edit cell in claims.
Off line network structure information maintaining part 122 sustained link networks network information and network structure information, wherein, this interconnection network information is directly set from system architecture editorial office 121 by user, represent the connection status between PLC and network forming control system, this network structure information comprises the information substrate representing PLC system structure (being arranged on the structure of the unit on substrate).The network structure information comprising interconnection network information and network structure information kept in this off line network structure information maintaining part 122, due to not this Control System Design device 100 automatically under on line state collection system structural information generating network information obtain, but directly input (in offline state) by user to Control System Design device 100 and obtain, so hereinafter also referred to as off line network structure information for the system architecture information of existing control system and the network information.This off line network structure information maintaining part 122 corresponds to the off line network structure information holding unit in claims.
PLC set by starting point PLC specifying part 113 as starting point, resolves the connecting path being connected to each PLC by connecting path parsing selection portion 123 in the network structure set by system architecture editorial office 121.In addition, also there is following function, that is, when there is multiple connecting path, with reference to the network service throughput data storehouse of throughput model maintaining part 124, select optimal path.This connecting path is resolved selection portion 123 and is resolved selection unit corresponding to the connecting path in claims.
Throughput model when calculating the communication throughput in each connecting path of control system keeps as database by throughput model maintaining part 124.This throughput model maintaining part 124 corresponds to the throughput model holding unit in claims.
Off line connecting path maintaining part 125 keeps the connecting path (hereinafter also referred to off line connecting path) being connected to each PLC resolved by connecting path parsing selection portion 123 and selected.The feature of this off line connecting path is, in the data structure of the connecting path information of Figure 10 of embodiment 1, also comprises handling capacity evaluation of estimate.This off line connecting path maintaining part 125 corresponds to the off line connecting path holding unit in claims.
In addition, mark identical label for the textural element identical with embodiment 1 ~ 3, and the description thereof will be omitted.But in present embodiment 4, display object coordinate calculating part 117 utilizes the network structure information kept by off line network structure information maintaining part 122, calculate the coordinate of the display object of display on display part 112.
Then, in the Control System Design device 100 with said structure, the connecting path Graphics Processing of the Control system architecture process from off-line state to off-line state is described in turn.
(the Control system architecture process under off-line state)
In system architecture editorial office 121, by the drag and drop under graphic user interface and guide (Wizard), and the system architecture entirety of the network forming control system inputted by user and PLC is set.
The hierarchical structure data (hereinafter referred to as off line network structure information) set by system architecture editorial office 121, is kept by off line network structure information maintaining part 122.This data mode is identical with the network structure information kept by on-line network structural information maintaining part 116 illustrated in embodiment 1.Such as, if carry out the operation of additional 1 key element (network or PLC), then the data of this key element are added to the off line network structure information kept by off line network structure information maintaining part 122.Then, overall for the hierarchical structure data after the data adding key element, carried out the process of coordinates computed by display object coordinate calculating part 117, and system architecture is presented on display part 112.Thus, when showing identical systems structure, although data sequence that is that generate is different according to the sequence of operation of data supplementing is different, the content (meaning that data show) of data is identical.
In addition, in present embodiment 4, the Control system architecture identical with Fig. 1 of embodiment 1 is constructed in offline state by following steps.First, add PLC 10-3, then, having added between controller network N o.1(22A) after, add PLC 10-1 and PLC 10-4 in turn.Then, between additional controller, network N is o.2(22B), add PLC10-2 and PLC 10-5 in turn.Then, after having added field network (23), supplement information network N o.3(21).
Its result, the data content of the off line network structure information kept by off line network structure information maintaining part 122 is identical with Figure 11, and the display of system architecture is also identical with Figure 20 (if utilize the method for embodiment 2, being then Figure 27).Below, the picture of the system architecture of display on display part 112 such for Figure 20 or Figure 27 is called system construction drawing.
(off line connecting path dissection process)
(1) summary processed
For the system construction drawing edited in offline state, the PLC(Control System Design device 100 as starting point with which PLC is connected) specified by starting point PLC specifying part 113.Then, the PLC set by starting point PLC specifying part 113 as starting point, resolves the connecting path being connected to each PLC in the network structure set by system architecture editorial office 121 by connecting path parsing selection portion 123.The detailed content of this process is below described.
Figure 36-1 ~ Figure 36-3 is the process flow diagrams of the example representing off line connecting path dissection process step.First, the connecting object PLC(starting point PLC carrying out with this Control System Design device 100 being connected is being specified by starting point PLC specifying part 113) afterwards (step S311), connecting path is resolved selection portion 123 and is carried out exporting (step S312) by the connecting path be connected to till appointed starting point PLC.Then, starting point PLC to be named selects as handling object PLC(step S313), for the PLC that this is selected, perform the B1 process (step S314) shown in Figure 36-2, off line connecting path dissection process completes.
Figure 36-2 is process flow diagrams of the step of the B1 process represented in step S314.First, the network that connecting path parsing selection portion 123 connects the PLC as handling object is collected (step S331).More particularly, the interconnection network information of the PLC as handling object is collected from off line network structure information maintaining part 122.Then, to be connected to information to the connecting path of each network situation that whether forms loop judge (step S332).Here, be whether that the judgement of loop is as follows, in connecting path, be judged to be loop containing when multiple identical element, when in addition, be judged to be not loop.
In the situation (situation being no in step S332) that connecting path is not loop, judge (step S333) whether information can be proceeded for network under the restriction of Figure 12.In the situation (situation being yes in step S333) that can proceed information to network, this network is selected as the object network (step S334) carrying out processing, perform the B2 process (step S335) shown in Figure 36-3.In addition, in step S333, in the situation (situation being no in step S333) that cannot proceed information to network meeting the restriction of Figure 12, or in step S332, connecting path is in the situation (situation being yes in step S332) of loop, terminate B1 process, return the process of Figure 35.
Figure 36-3 is process flow diagrams of an example of the step of the B2 process represented in the step S335 of Figure 36-2.In this B2 process, connecting path is resolved selection portion 123 and is first collected (step S351) the PLC be connected with the network as handling object.Specifically, obtain the network of network information as handling object from off line network structure information maintaining part 122, from this network information, collect the PLC be connected with the network as handling object.Then, to be connected to information to each PLC connecting path whether form loop and judge (step S352).
In the situation (situation being no in step S352) that connecting path does not form loop, to whether being that Best link path judges (step S353).Be whether that the judgement of Best link path is carried out as following, when there is multiple connecting path, with reference to the communication throughput information that throughput model maintaining part 124 keeps, to whether being that the good connecting path of communication throughput judges.Its result, in the situation (situation being no in step S353) not being Best link path, does not export this connecting path and terminates B1 process, returning the process of Figure 36-2.
In addition, for in the situation (situation being yes in step S353) of Best link path, this connecting path is exported (step S354) to off line connecting path maintaining part 125, judges (step S355) whether information can be proceeded for the network be connected with this PLC under the restriction of Figure 12.In the situation (situation being no in step S355) that cannot proceed information to network, B2 process completes, and returns the process of Figure 36-2.In addition, in the situation (situation being yes in step S355) that can proceed information to the network be connected with this PLC, this PLC is selected as handling object (step S356), perform the B1 process (step S357) of Figure 36-2.
In addition, in step S352, under the connecting path being connected to PLC forms the situation (situation being yes in step S352) of loop, do not export this connecting path and terminate B1 process, returning the process of Figure 36-2.
(2) object lesson processed
Due in the above description, the summary of off line connecting path dissection process is described, so exemplify the situation of the control system of the structure with Fig. 1, the object lesson of this process is described as follows.Figure 37-1 ~ Figure 37-5 represents the result of resolving selection process as connecting path, and the connecting path kept in off line connecting path maintaining part keeps the figure of an example of information.In addition, here, off line network structure information maintaining part 122 keeps the network structure information of Figure 11.These data shown in Figure 11 and Figure 37-1 ~ Figure 37-5, illustrate according to the order of data genaration.In addition, the restriction shown in Figure 12 is applied here as restriction.
Figure 38 is the figure of the example of the throughput model represented involved by present embodiment 4.In present embodiment 4, the handling capacity of PLC is set to 1Mbps, the handling capacity of field network is set to 0.1Mbps, the handling capacity of network between controller is set to 10Mbps, the handling capacity of information systems internetting is set to 100Mbps.In addition, the inverse of the throughput value of each key element comprised in connecting path is obtained by the computing method of the evaluation of estimate of connecting path entire throughput, and the evaluation of estimate smaller of this connecting path entire throughput is judged to be the good connecting path of handling capacity.
(2-1)PLC 10-3
First, connecting path resolves the connecting path P3g that selection portion 123 exports the PLC 10-3 specified by starting point PLC specifying part 113.This connecting path is the connecting path that terminal PLC and starting point PLC is all PLC 10-3.In addition, if the condition of the Figure 38 with reference to throughput model maintaining part 124, handling capacity evaluation of estimate is calculated, then because PLC 10-3 is starting point PLC, so handling capacity evaluation of estimate is 0.Its result is shown in Figure 37-1.In addition, the B1 process of Figure 36-2 is performed for the PLC 10-3 as this starting point PLC.
(2-2) network be connected with PLC 10-3
Using PLC 10-3 as in the B1 process of handling object, collect the network that PLC 10-3 connects.Specifically, the process of the interconnection network information P3n read in the off line network structure information maintaining part 122 of Figure 11 is carried out.Here, network N is collected between controller o.1.Then, whether, to this connecting path be loop confirm if generating the connecting path be connected to till the network (between controller, network N o.1) collected.In this case, because connecting path is " between PLC 10-3 → controller, network N o.1(22A) ", there is not multiple identical PLC, so not loop.Thus, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so information can be proceeded to network, o.1 network N between controller is performed the B2 process of Figure 36-3 as handling object.
(2-3) PLC be o.1 connected with network N between controller
Network N is o.1 as in the network information output processing of handling object between using controller, collects and PLC that o.1 network N between controller is connected.Specifically, in the network data M1 in the off line network structure information maintaining part 122 of Figure 11, retrieve and extract the PLC be o.1 connected with network N between controller.Here, as the PLC be o.1 connected with network N between controller, collect PLC 10-3,10-4,10-1.Whether then, generate and be connected to the connecting path of the PLC collected, be that loop confirms to the connecting path being connected to each PLC.In this PLC process, there is not relative importance value, process in turn.
(2-4) between controller network N o.1 → PLC 10-3
Owing to being connected to connecting path till PLC 10-3 for " between PLC 10-3 → controller network N o.1 → PLC 10-3 ", there is multiple identical PLC, so become loop.Thus, do not export this connecting path, terminate the process for this PLC 10-3.
(2-5) between controller network N o.1 → PLC 10-4
Owing to being connected to connecting path till PLC 10-4 for " between PLC 10-3 → controller network N o.1 → PLC 10-4 ", there is not multiple identical key element, so not loop.Thus, said connecting path P4g is exported as Best link path.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then because the handling capacity evaluation of estimate be connected to till PLC 10-4 is
(1/1)+(1/10)+(1/1)=2.1,
So input this throughput value when exporting.Then, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so information can be proceeded to network, PLC 10-4 is performed the B1 process of Figure 36-2 as handling object.
(2-6) network be connected with PLC 10-4
Using PLC 10-4 as in the B1 process of handling object, collect the network that PLC 10-4 connects.Specifically, the process reading the network stored in the interconnection network information P4n in the off line network structure information of Figure 11 is carried out.Here, as the network be connected with PLC 10-4, between collection field network and controller, network N o.1.Then, whether, to this connecting path be loop confirm if generating the connecting path be connected to till the network collected.In addition, in this network processes, there is not relative importance value, process in turn.
(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 ", there is not multiple identical key element, so not loop.Thus, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so information can be proceeded to network, field network is selected as handling object, perform the B2 process of Figure 36-3.
(2-8) PLC be connected with field network
Using field network as in the B2 process of handling object, collect the PLC that is connected with field network.Specifically, retrieve from the network data C the off line network structure information of Figure 11 and extract the PLC be connected with field network.Here, as the PLC be connected with field network, collect PLC 10-4,10-5.Whether then, generate the connecting path that is connected to till the PLC collected, be that loop confirms to the connecting path being connected to each PLC.In this PLC process, there is not relative importance value, process in turn.
(2-9) field network → PLC 10-4
Owing to being connected to connecting path till PLC 10-4 for " between PLC 10-3 → controller network N o.1 → PLC 10-4 → field network → PLC 10-4 ", occur multiple identical PLC, institute thinks loop.Thus, do not export this connecting path, terminate the process for this PLC 10-4.
(2-10) field network → PLC 10-5
Owing to being connected to connecting path till PLC 10-5 for " between PLC 10-3 → controller network N o.1 → PLC 10-4 → field network → PLC 10-5 ", there is not multiple identical key element, so not loop.Thus, said connecting path P5g-1 is exported as Best link path.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then because the handling capacity evaluation of estimate be connected to till PLC 10-5 is
(1/1)+(1/10)+(1/1)+(1/0.1)+(1/1)=13.1,
So input this throughput value when exporting.Its result is shown in Figure 37-3.Then, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to meeting restriction B, so do not perform the B1 process of Figure 36-2.Thus, (2-8) the B2 process of field network as handling object is completed.
(2-11) PLC be o.1 connected with network N between controller
Due to be connected to network N between the controller that is collected as one of network be connected with PLC 10-4 in (2-6) o.1 till connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-4 → controller between network N o.1 ", occur multiple identical network, institute thinks loop.Thus, the B2 process of Figure 36-3 is not performed.Thus, (2-6) PLC 10-4 is completed as the B1 process of handling object.
(2-12) for PLC 10-1
Owing to being connected to connecting path till the PLC 10-1 that is collected as one of PLC be o.1 connected with network N between controller in (2-3) for " between PLC 10-3 → controller network N o.1 → PLC 10-1 ", there is not multiple identical element, so be not loop.Thus, said connecting path P1g is exported as Best link path.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then because the handling capacity evaluation of estimate be connected to till PLC 10-1 is
(1/1)+(1/10)+(1/1)=2.1,
So input this throughput value when exporting.Its result is shown in Figure 37-4.Then, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so information can be proceeded to network, PLC 10-1 is performed the B1 process of Figure 36-2 as handling object.
(2-13) network be connected with PLC 10-1
Using PLC 10-1 as in the B1 process of handling object, collect the network that PLC 10-1 connects.Specifically, carry out reading the process of the network information in the interconnection network information P1n stored in the off line network structure information of Figure 11.O.2 and information systems internetting No.3 here, as the network be connected with PLC10-1, between collection controller, network N o.1, network N between controller.Then, whether, to this connecting path be loop confirm if generating the connecting path be connected to till the network collected.In addition, in this network processes, there is not relative importance value, process in turn.
(2-14) between PLC 10-1 → controller, network N is o.1
Due to be connected to network N between controller o.1 till connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.1 ", occur multiple identical network, institute thinks loop.Thus, the B2 process of Figure 36-3 is not performed.
(2-15) between PLC 10-1 → controller, network N is o.2
Due to be connected to network N between controller o.2 till connecting path for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 ", there is not multiple identical key element, so not loop.Thus, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so information can be proceeded to network, o.2 network N between controller is selected as handling object, perform the B2 process of Figure 36-3.
(2-16) PLC be o.2 connected with network N between controller
Network N is o.2 as in the B2 process of handling object between using controller, collects and PLC that o.2 network N between controller is connected.Specifically, from the network data M2 the off line network structure information of Figure 11, retrieve and extract the PLC be o.2 connected with network N between controller.Here, as the PLC be o.2 connected with network N between controller, collect PLC 10-2,10-1,10-5.Whether then, generate the connecting path that is connected to till the PLC collected, be that loop confirms to the connecting path being connected to each PLC.In this PLC process, there is not relative importance value, process in turn.
(2-17) between controller network N o.2 → PLC 10-2
Due to be connected to connecting path till PLC 10-2 for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-2 ", there is not multiple identical PLC, so not loop.Thus, said connecting path P2g-1 is exported as Best link path.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then because the handling capacity evaluation of estimate be connected to till PLC 10-2 is
(1/1)+(1/10)+(1/1)+(1/10)+(1/1)=3.2,
So input this throughput value when exporting.Its result is shown in Figure 37-5.Then, the restriction according to Figure 12, is confirmed whether to proceed information for the network be connected with PLC 10-2.Here, owing to not meeting restriction, so PLC 10-2 to be performed the B1 process of Figure 36-2 as handling object.
(2-18) network be connected with PLC 10-2
Using PLC 10-2 as in the B1 process of handling object, collect the network that PLC 10-2 connects.Specifically, the process reading the network stored in the interconnection network information P2n in the off line network structure information of Figure 11 is carried out.O.2 and information systems internetting No.3 here, as the network be connected with PLC 10-2, between collection controller, network N.Then, whether, to this connecting path be loop confirm if generating the connecting path be connected to till the network collected.In addition, in this network processes, there is not relative importance value, process in turn.
(2-19) between PLC 10-2 → controller, network N is o.2
Due to be connected to network N between controller o.2 till connecting path 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 ", occur multiple identical network, institute thinks loop.Thus, the B2 process of Figure 36-3 is not performed.
(2-20) PLC 10-2 → information systems internetting No.3
Due to be connected to connecting path till information systems internetting No.3 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 ", there is not multiple identical key element, so be not loop.Thus, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so select information systems internetting No.3 as handling object, perform the B2 process of Figure 36-3.
(2-21) PLC be connected with information systems internetting No.3
Using information systems internetting No.3 as in the B2 process of handling object, collect the PLC that is connected with information systems internetting No.3.Specifically, in the network data E3 stored in the off line network structure information of Figure 11, retrieve and extract the PLC be connected with information systems internetting No.3.Here, as the PLC be connected with information systems internetting No.3, collect PLC10-1,10-2.Whether then, generate the connecting path that is connected to till the PLC collected, be that loop confirms to the connecting path being connected to each PLC.In addition, in this PLC process, there is not relative importance value, process in turn.
(2-22) information systems internetting No.3 → PLC 10-1
Due to be connected to connecting path till PLC 10-1 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 ", occur multiple identical PLC, institute thinks loop.Thus, this connecting path is not exported.
(2-23) information systems internetting No.3 → PLC 10-2
Due to be connected to connecting path till PLC 10-2 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 ", occur multiple identical PLC, institute thinks loop.Thus, this connecting path is not exported.Thus, (2-20) information systems internetting No.3 is completed as the B2 process of handling object.In addition, (2-17) PLC 10-2 is completed as the B1 process of handling object.
(2-24) between controller network N o.2 → PLC 10-1
Due to be connected to connecting path till PLC 10-1 for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-1 ", occur multiple identical PLC, institute thinks loop.Thus, the B1 process shown in Figure 36-2 is not performed.
(2-25) between controller network N o.2 → PLC 10-5
Due to be connected to connecting path till PLC 10-5 for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-5 ", there is not multiple identical element, so not loop.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then the handling capacity evaluation of estimate till being connected to PLC10-5 is
(1/1)+(1/10)+(1/1)+(1/10)+(1/1)=3.2。
But, for the path be connected to till PLC 10-5, as shown in Figure 37-3, outputed connecting path P5g-1.Throughput value due to this connecting path P5g-1 is 13.1, so the throughput value of this connecting path calculated is better.Thus, substitute the connecting path exported, and this connecting path calculated good for handling capacity is exported as Best link path P5g.Its result is shown in Figure 37-3.In this Figure 37-3, it is represent to delete that the data content of connecting path P37-3 adds strikethrough, is rewritten as the data below it.Then, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so PLC10-5 to be performed the B1 process of Figure 36-2 as handling object.
(2-26) network be connected with PLC 10-5
Using PLC 10-5 as in the B1 process of handling object, collect the network that PLC 10-5 connects.Specifically, the process reading the network stored in the interconnection network information P5n in the off line network structure information of Figure 11 is carried out.Here, as the network be connected with PLC 10-5, between collection field network and controller, network N o.2.Then, whether, to each connecting path be loop confirm if generating the connecting path be connected to till the network collected.In addition, in this network processes, there is not relative importance value, process in turn.
(2-27) PLC 10-5 → field network
Due to the connecting path till being connected to field network for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → controller between network N o.2 → PLC 10-5 → field network ", there is not multiple identical key element, so not loop.Thus, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so select field network as handling object, perform the B2 process of Figure 36-3.
(2-28) PLC be connected with field network
Using field network as in the B2 process of handling object, collect the PLC information that is connected with field network.Specifically, in the network data C of the off line network structure information of Figure 11, retrieve and extract the PLC be connected with field network.Here, as the PLC be connected with field network, collect PLC 10-4,10-5.Whether then, generate the connecting path that is connected to till the PLC collected, be that loop confirms to the connecting path being connected to each PLC.In this PLC process, there is not relative importance value, process in turn.
(2-29) field network → PLC 10-4
Due to be connected to connecting path till PLC 10-4 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 ", there is not multiple identical element, so be not loop.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then the handling capacity evaluation of estimate be connected to till PLC 10-4 is
(1/1)+(1/10)+(1/1)+(1/10)+(1/1)+(1/0.1)+(1/1)=14.2。
But, for the path be connected to till PLC 10-4, as shown in Figure 37-2, outputed connecting path P4g.Throughput value due to this connecting path P4g is 2.1, so compared with this connecting path calculated, the throughput value of existing connecting path is better.Thus, connecting path handling capacity be output preferably is as Best link path (Figure 37-2).
(2-30) field network → PLC 10-5
Due to be connected to connecting path till PLC 10-5 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 ", occur multiple identical PLC, institute thinks loop.Thus, connecting path is not exported.Thus, (2-28) the B2 process of field network as handling object is completed.
(2-31) between PLC 10-5 → controller, network N is o.2
Due to be connected to network N between controller o.2 till connecting path 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 ", occur multiple identical network, institute thinks loop.Thus, the B2 process of Figure 36-3 is not performed.Thus, (2-26) PLC 10-5 is completed as the B1 process of handling object.In addition, (2-16) o.2 network N between controller is completed as the B2 process of Figure 36-3 of handling object.
(2-32) PLC be connected with information systems internetting No.3
Owing to being connected to connecting path till the information systems internetting No.3 that collects as one of network be connected with PLC 10-1 in (2-13) for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 ", there is not multiple identical element, so be not loop.Thus, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so information can be proceeded to network, information systems internetting No.3 is selected as handling object, perform the B2 process of Figure 36-3.
Using information systems internetting No.3 as in the B2 process of handling object, collect the PLC that is connected with information systems internetting No.3.Specifically, in the network data E3 stored from the off line network structure information of Figure 11, retrieve and extract the PLC be connected with information systems internetting No.3.Here, as the PLC be connected with information systems internetting No.3, collect PLC10-1,10-2.Whether then, generate the connecting path that is connected to till the PLC collected, be that loop confirms to the connecting path being connected to each PLC.In this PLC process, there is not relative importance value, process in turn.
(2-33) information systems internetting No.3 → PLC 10-1
Owing to being connected to connecting path till PLC 10-1 for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-1 ", occur multiple identical PLC, institute thinks loop.Thus, this connecting path is not exported.
(2-34) information systems internetting No.3 → PLC 10-2
Owing to being connected to connecting path till PLC 10-2 for " between PLC 10-3 → controller network N o.1 → PLC 10-1 → information systems internetting No.3 → PLC 10-2 ", there is not multiple identical key element, so not loop.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then the handling capacity evaluation of estimate till being connected to PLC10-2 is
(1/1)+(1/10)+(1/1)+(1/100)+(1/1)=3.11。
But, for the path be connected to till PLC 10-2, as shown in Figure 37-5, outputed connecting path P2g-1.Throughput value due to this connecting path P2g-1 is 3.2, so the throughput value of this connecting path calculated is better.Thus, substitute the connecting path P2g-1 exported, this connecting path calculated good for handling capacity is exported as Best link path P2g.Its result is shown in Figure 37-5.Then, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so PLC 10-2 to be performed the B1 process of Figure 36-2 as handling object.
(2-35) network be connected with PLC 10-2
Using PLC 10-2 as in the B1 process of handling object, collect the network that PLC 10-2 connects.Specifically, the process reading the network stored in the interconnection network information P2n in the off line network structure information of Figure 11 is carried out.Here, as the network be connected with PLC 10-2, between collection controller network N o.2 with information systems internetting No.3.Then, whether, to each connecting path be loop confirm if generating the connecting path be connected to till the network collected.In addition, in the process of this network, there is not relative importance value, process in turn.
(2-36) between PLC 10-2 → controller, network N is o.2
Due to be connected to network N between controller o.2 till 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 ", there is not multiple identical key element, so be not loop.Thus, the restriction according to Figure 12, is confirmed whether to proceed information for network.Here, owing to not meeting restriction, so o.2 select network N between controller as handling object, perform the B2 process of Figure 36-3.
(2-37) PLC be o.2 connected with network N between controller
Network N is o.2 as in the B2 process of handling object between using controller, collects and PLC information that o.2 network N between controller is connected.Specifically, in the network data M2 stored in the off line network structure information of Figure 11, retrieve and extract the PLC be o.2 connected with network N between controller.Here, as the PLC be o.2 connected with network N between controller, collect PLC 10-2,10-1,10-5.Whether then, generate the connecting path that is connected to till the PLC collected, be that loop confirms to the connecting path being connected to each PLC.In this PLC process, there is not relative importance value, process in turn.
(2-38) between controller network N o.2 → PLC 10-2
Due to be connected to connecting path till PLC 10-2 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 ", occur multiple identical PLC, institute thinks loop.Thus, connecting path is not exported.
(2-39) between controller network N o.2 → PLC 10-1
Due to be connected to connecting path till PLC 10-1 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 ", occur multiple identical PLC, institute thinks loop.Thus, connecting path is not exported.
(2-40) between controller network N o.2 → PLC 10-5
Due to be connected to connecting path till PLC 10-5 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 ", there is not multiple identical element, so be not loop.Here, the handling capacity of connecting path parsing selection portion 123 to this connecting path calculates.If with reference to Figure 38, then the handling capacity evaluation of estimate be connected to till PLC 10-5 is
(1/1)+(1/10)+(1/1)+(1/100)+(1/1)+(1/10)+(1/1)=4.21。
But, for the path be connected to till PLC 10-5, as shown in Figure 37-3, outputed connecting path P5g.Throughput value due to this connecting path P5g is 3.2, so existing connecting path throughput value compared with this calculates is better.Thus, connecting path handling capacity exported preferably is as Best link path (Figure 37-3).Thus, (2-37) o.2 network N between controller is completed as the B2 process of handling object.
(2-41) PLC be connected with information systems internetting No.3
Owing to being connected to connecting path till the information systems internetting No.3 that collects as one of network be connected with PLC 10-2 in (2-35) for " 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 ", occur multiple identical network, institute thinks loop.Thus, the B2 process of Figure 36-3 is not performed.Thus, (2-35) PLC 10-2 is completed as the B1 process of Figure 36-2 of handling object.In addition, (2-32) information systems internetting No.3 is completed as the B2 process of handling object.In addition, (2-13) PLC 10-1 is completed as the B1 process of handling object.In addition, (2-11) o.1 network N between controller is completed as the B2 process of handling object.In addition, (2-2) PLC 10-3 is completed as the B1 process of handling object.Thus, connecting path dissection process completes.
(connecting path Graphics Processing)
If by above-mentioned off line connecting path dissection process, the connecting path as shown in Figure 37-1 ~ Figure 37-5 is stored in off line connecting path maintaining part 125, then connecting path display part 120 is according to this connecting path, and display part 112 highlights connecting path.
Figure 39 is the figure of an example of the display frame representing off line connecting path.As shown in the drawing, the connecting path being connected to each PLC is easily held.Here, as mentioned above, the good path of communication throughput is selected.
In addition, also the PLC that can access and the PLC that cannot access can be distinguished display highlightedly.By so showing, easily can understand the PLC that the PLC(that can access from starting point PLC easily can understand inaccessible).
Figure 40 is the figure of an example of the display frame representing off line connecting path.In detail in this figure, for the PLC that can access according to the restriction of Figure 12 from starting point PLC, "○" is set in its vicinity and indicates, for the PLC that cannot access according to the restriction of Figure 12 from starting point PLC, "×" is set in its vicinity and indicates.Thus, the PLC of PLC and the inaccessible can accessed from starting point PLC can be identified at once.In the example of this Figure 40, be connected with PLC 10-9 in the front end of PLC 10-5 via information systems internetting No.4.But due to for this PLC 10-9, the PLC 10-5 only via the site-local as field network just can access, so meet the restriction B of Figure 12.Thus, PLC 10-9 cannot be accessed.
According to the present embodiment 4, there is following effect, that is, in the network chart of the control system generated in offline state, easily can hold the PLC that can access from the PLC as starting point, and the connecting path being connected to each PLC in this case can be understood in advance.In addition, also there is following effect, that is, when there is multiple connecting path from starting point PLC, automatically select benchmark according to the rules and the Best link path selected.
Embodiment 5
But, for forming the network of control system, owing to there is the such connection restriction of above-mentioned Figure 12, so be not this Control System Design device with where be connected can all PLC in access system.Thus, when there is the PLC that cannot access, needing to carry out following operation, that is, temporarily the connection cable between Control System Design device and PLC being taken off, being again connected with the PLC as object.In addition, different according to the position that Control System Design device links, likely make communication speed slack-off.
Thus, in present embodiment 5, be illustrated for following Control System Design device and Control System Design method, namely, for the network forming control system in embodiment 4, automatically can calculate the PLC(starting point PLC of the connector as Control System Design device), it can be connected with all PLC, and can carry out high-speed communication (becoming the path of handling capacity the best in comprehensive angle).
Figure 41 is the block diagram of the functional structure of the embodiment 5 schematically representing Control System Design device involved in the present invention.The feature of this Control System Design device 100 is, on the basis of Figure 35 of embodiment 4, deletes starting point PLC specifying part 113, and has Best link path calculating part 126.
Best link path calculating part 126 has following function, namely, for all candidates of the connector (starting point PLC) of this Control System Design device 100, sequentially pass through connecting path parsing selection portion 123 and carry out connecting path parsing selection process, only extract the candidate that can connect all PLC subsequently, and then the communication throughput extracted wherein to each PLC comprehensively goes up good connecting path, as Best link path.This Best link path calculating part 126 corresponds to the Best link path computing unit in claims.
Then, the process of Control System Design device for the structure with this embodiment 5 is described.Figure 42 is the process flow diagram of the example representing Best link path computing step.In addition, here, the Best link path computing exemplified in the control system of the structure with Fig. 1 is described.First, Best link path calculating part 126 extracts the candidate PLC(step S371 as starting point PLC).Specifically, all PLC stored in the off line network structure information of Figure 11 are extracted.Here, these 5 PLC of PLC 10-1 ~ 10-5 are extracted.
Then, the off line connecting path dissection process (step S372) shown in Figure 36-1 ~ Figure 36-3 is performed using each PLC be extracted as starting point PLC.PLC 10-3 is performed off line connecting path dissection process as starting point PLC after, the connecting path data obtained as a result, with coming to the same thing shown in Figure 37-1 ~ Figure 37-5 of embodiment 4.Figure 43-1 ~ Figure 43-5 is the figure of the connecting path data represented when PLC 10-1 being carried out connecting path dissection process as starting point PLC, Figure 44-1 ~ Figure 44-5 is the figure of the connecting path data represented when PLC 10-2 being carried out connecting path dissection process as starting point PLC, Figure 45-1 ~ Figure 45-5 is the figure of the connecting path data represented when PLC 10-4 being carried out connecting path dissection process as starting point PLC, Figure 46-1 ~ Figure 46-5 is the figure of the connecting path data represented when PLC 10-5 being carried out connecting path dissection process as starting point PLC.
Then, for performing connecting path dissection process and the respective result that obtains, confirm (step S373) whether being connected with all PLC.Here, due to the difference of the system of selection along with the PLC as starting point, sometimes produce the situation that there is the PLC that cannot connect according to the restriction of Figure 12, so to whether confirming with the restriction of Figure 12 is inconsistent.Here, when using any one PLC as starting point PLC, can be connected with all PLC.
Then, for the respective result obtained after execution connecting path dissection process, the handling capacity evaluation of estimate (aggregate throughput evaluation of estimate) of system architecture entirety is compared (step S374).The throughput model here used is identical with the throughput model of the Figure 38 used in embodiment 4.Below, illustrate each PLC as handling capacity evaluation of estimate when starting point and its aggregate value.
(when using 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
(when using 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
(when using 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
(when using 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
(when using 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 link path calculating part 126 from above-mentioned calculate using each PLC as the aggregate throughput evaluation of estimate of starting point, the handling capacity the best (step S375) of extraction system structure entirety, exports (step S376) to off line connecting path maintaining part 125 as Best link path.Owing to utilizing the throughput model used in embodiment 4, so here, the connecting path that aggregate throughput evaluation of estimate is less is best.According to the above results, due to PLC 10-1 is minimum as the aggregate throughput evaluation of estimate of connecting path data when starting point, so using the Best link path shown in Figure 43-1 ~ Figure 43-5 as Best link path, export to off line connecting path maintaining part 125.Thus, the computing of Best link path completes.
Then, by connecting path display part 120, based on the Best link path calculated by Best link path calculating part 126, Best link path is presented in off-line system structural drawing.Figure 47 is the figure of an example of the display frame representing Best link path.This figure, based on the Best link path shown in Figure 43-1, utilizes the connecting path Graphics Processing of embodiment 3 and shows connecting path.Thus, the user of Control System Design device 100 can understand, if on PLC 10-1 connection control system design apparatus 100, just can be connected with forming all PLC of control system, data transmission can be carried out with high throughput.
According to the present embodiment 5, for the network of the control system of constructing in offline state, can calculate and can conduct interviews to all PLC in control system and the position of high-speed communication can be carried out.Its result, has following effect, that is, by connection control system design apparatus 100 on this position, and the download that just can reduce setting data and the time of uploading needed for operation.
Embodiment 6
In present embodiment 6, be described for following Control System Design device and Control System Design method, namely, for the PLC of the midway of the connecting path from starting point PLC to each PLC, the data that can automatically calculate for receiving carry out route to arrive the routing parameter as the PLC of target, and set.Here, first the routing parameter in control system is described simply, then the content of embodiment is described.
As the routing function in control system, be in the system be made up of multiple network, will the function of data to the website instant transmission of other network sequence number of multiple network be crossed over.In order to perform routing function, needing to set routing parameter, carrying out correspondence by between the network sequence number of request target and the PLC realizing bridging functionality.
In addition, need to set routing parameter in the request source and relay of instant transmission.Here, so-called relay refers to and the PLC that multiple network is connected.In addition, usually need in relay setting be used for sending from request source to request target (outbound) routing parameter and for send (return) from routing parameter from request target to request source this.In addition, without the need to setting routing parameter in request target.
Figure 48 is the figure of the example representing the routing parameter set in the controls.In addition, in this Figure 48, in the frame of rectangle representing each PLC, communication unit is shown.Such as when network N o.1 website 1, using the sign of this communication unit as " 1Ns1 ".In addition, in the PLC be connected with multiple network, multiple network element is provided with.
In this example embodiment, control system by network N o.1 ~ network N o.3 these 3 networks connect and form.At network N o.1 middle these 6 PLC of connection PLC 10-1 ~ 10-6, wherein o.2 the PLC 10-4 of website 4 is also connected with the network N of neighbour.That is, PLC 10-4 has: communication unit 1Ns4, and o.1 it communicate with network N; And communication unit 2Ns1, o.2 it communicate with network N.In addition, o.2 network N is connected with PLC 10-4,10-7,10-8,10-13 these 4.Wherein, network N o.2 in the PLC10-4 of website 1 be o.1 also connected with the network N of neighbour, o.3 the PLC 10-13 of website 4 is also connected with the network N of neighbour.That is, PLC 10-13 has: communication unit 2Ns4, and o.2 it communicate with network N; And communication unit 3Ns5, o.3 it communicate with network N.In addition, at network N o.3 middle connection PLC 10-9 ~ 10-13 these 5.Wherein, network N o.3 in the PLC 10-13 of website 5 be o.2 also connected with the network N of neighbour.
Here, exemplify and be described from network N PLC 10-3 o.1 to the situation of network N PLC 10-12 instant transmission data o.3.In this case, need request carry out instant transmission network N PLC 10-3 o.1, realize network N o.1 with the PLC 10-4 of network N bridging functionality o.2 and realize network N and o.2 with in the PLC 10-13 of network N bridging functionality o.3 set routing parameter.Below, the setting for the routing parameter of each website is described.
(1) network N PLC 10-3 o.1
In this PLC 10-3, transmit the communication unit (1Ns4) of objective network sequence number (3) and relay as routing parameter setting, be connected to the junction network sequence number (1) of this relay.
(2) network N PLC 10-4 o.1
In this PLC 10-4, transmit the communication unit (2Ns4) of objective network sequence number (3) and relay as routing parameter setting, be connected to the junction network sequence number (2) of this relay.In addition, the routing parameter for o.2 o.1 carrying out data transmission to network N from network N is set in the PLC 10-13 due to (3) described below, so without the need to the routing parameter of return in this PLC10-4.
(3) network N PLC 10-13 o.2
In this PLC 10-13, for pointing to the setting transmitting target, transmit objective network No.3, so the routing parameter without the need to setting outbound owing to just arriving after this website.But as the routing parameter of return, transmission objective network sequence number is set as transfer source network sequence number (1), setting is used for the network element (2Ns1) of the relay of return and is connected to the junction network sequence number (2) of relay.
By setting routing parameter as mentioned above in each website, data can be transmitted from network N PLC 10-3 o.1 to network N PLC 10-12 o.3.
Below, the step that the routing parameter that make use of as mentioned above setting carries out data transmission is briefly described.First, network N PLC 10-3 o.1, based on routing parameter, sends the data sent to network N PLC 10-13 o.3.That is, be " 3 " according to transmission objective network sequence number, relaying objective network is " 1 ", and relaying targeted sites sequence number is " 4 " such setup parameter, transmission data.Thus, from PLC 10-3 data via network N o.1 to PLC 10-4(have network N o.1 in as the PLC of the communication unit 1Ns4 of website 4) send.
If the communication unit 1Ns4 of this PLC 10-4 receives data, then because transmission target is network N PLC 10-12 o.3, so with reference to routing parameter, via communication unit 2Ns1 and network N o.2, the relaying targeted sites sequence number 4 i.e. PLC 10-13 to relaying objective network No.2 sends.In PLC 10-13, because the data received are the data sent 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 transmission of outbound completes.
, illustrate that the network N PLC 10-12 o.3 as request target transmits the situation of data to the PLC 10-3 o.1 of the network N as request source below, i.e. the data of return situation about transmitting.In this case, network N PLC 10-12 is o.3 to transmitting target and network N PLC 10-3 transmission data o.1.O.3, these data arrive PLC 10-13 via network N.In PLC 10-13, transmission target due to these data is transmit the PLC 10-3 of objective network No.1, so with reference to routing parameter, to relaying objective network be " network N o.2 ", relaying targeted sites sequence number is the network N PLC 10-4 transmission data o.2 of " 1 ".
Due in network N PLC 10-4 o.2, receiving with network N PLC 10-3 is o.1 the data transmitting target, so via the communication unit 1Ns4 be arranged in same substrate and network N o.1, send to transmission target and PLC 10-3.Then, PLC 10-3 receives the data from network N PLC 10-12 o.3.Thus, the data transmission of return completes.
In structure as implied above, when crossing over multiple network in the controls, carry out data transmission.Below, be described for the setting process of the network parameter of PLC in above-mentioned control system.
Figure 49 is the block diagram of the functional structure of the embodiment 6 schematically representing 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 there is routing parameter calculating part 127, it reads the connecting path from starting point PLC to each PLC kept in off line connecting path maintaining part 125, for needing the PLC setting routing parameter in each connecting path, calculate routing parameter.This routing parameter calculating part 127 corresponds to the routing parameter computing unit in claims.In addition, for the textural element identical with Figure 35 of embodiment 4, also the description thereof will be omitted for mark same-sign.
Figure 50 is the block diagram of the more detailed functional structure schematically representing 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 stored in off line connecting path maintaining part 125, generates the reverse connection path making this data backward.
Transmit objective network sequence number abstraction function module 1272 from the connecting path be stored in off line connecting path maintaining part 125 and the reverse connection path generated by connecting path reverse function module 1271, extract the transmission objective network sequence number in routing parameter.
Relaying objective network sequence number extraction unit, from the connecting path be stored in off line connecting path maintaining part 125 and the reverse connection path generated by connecting path reverse function module 1271, extracts the relaying objective network sequence number in routing parameter.
Relaying targeted sites sequence number extraction unit, from the connecting path be stored in off line connecting path maintaining part 125 and the reverse connection path generated by connecting path reverse function module 1271, extracts the relaying targeted sites sequence number in routing parameter.
(1) summary processed
Below, the computing for the routing parameter had in the Control System Design device 100 of said structure is described.Figure 51-1 ~ Figure 51-2 is the process flow diagrams of the example representing routing parameter computing step.First, the request source PLC(step S411 of instant transmission is specified by user by starting point PLC specifying part 113).Below this request source PLC is called starting point PLC.
Then, the starting point PLC specified by starting point PLC specifying part 113 is selected as handling object, performs the B2 process (step S412) shown in Figure 36-2 of embodiment 4, obtain connecting path (step S413).
1 connecting path (step S414) is selected from the connecting path obtained.Then, the starting point PLC in this connecting path is selected as handling object, perform C1 process (step S415).
As shown in Figure 51-2, in C1 process, be first more than or equal to 2 different networks to whether existing till the PLC from handling object to terminal PLC judge (step S431).Not existing in the situation (situation being no in step S431) being more than or equal to 2 different networks, terminating C1 process, returning the process of Figure 51-1.In addition, in the situation (situation being yes in step S431) that there is different networks, in selected connecting path, the network sequence number described in the data of the next item up of terminal PLC is carried out exporting (step S432) as transmission objective network sequence number.
Then, in selected connecting path, the network sequence number recorded in the data of the next item down of handling object PLC is carried out exporting (step S433) as relaying objective network sequence number, and, for PLC described in the data of the lower item of handling object PLC, the website sequence number in the relaying objective network it exported in step S433 carries out exporting (step S434) as relaying targeted sites sequence number.
Then, the PLC recorded in the data of the lower item of handling object PLC is selected as handling object (step S435), returns step S431, repeat above-mentioned process.
If C1 process completes, then return Figure 51-1, generated the reverse connection path (step S416) of the data backward of selected connecting path by connecting path reverse function module 1271.That is, the starting point PLC of selected connecting path becomes terminal PLC, and terminal PLC becomes starting point PLC.
Then, by PLC described in the data of the lower item of the starting point PLC in the data of the reverse connection path after backward, select as handling object (step S417), implement C1 process (step S418).
After the C1 process of reverse connection path completes, be confirmed whether all to have carried out processing (step S419) to all connecting paths obtained in step S413, exist in the situation (situation being no in step S419) of not carrying out the connecting path processed, return step S414, repeat above-mentioned process.In addition, in situation about processing all connecting paths (situation being yes in step S419), routing parameter computing completes.
(2) object lesson processed
Due in the above description, the summary of routing parameter computing is described, so exemplify the situation of the control system of the structure with Figure 28, the object lesson of present treatment is described as follows.Using the control system shown in this Figure 28 as object, using PLC π as starting point PLC, carry out the off line connecting path dissection process shown in Figure 36-1 ~ Figure 36-3 of embodiment 4.Figure 52 is the figure of the example representing the connecting path being connected to each PLC in the control system of Figure 28.In addition, Figure 53-1 ~ Figure 53-4 is the routing parameters set in each PLC obtained by routing parameter computing.
(2-1) connecting path obtains process
First, using the request source PLC π carrying out instant transmission that specified by starting point PLC specifying part 113 as starting point PLC, by carrying out the off line connecting path dissection process shown in Figure 36-1 ~ Figure 36-3, the connecting path P α g ~ P ψ g shown in Figure 52 is obtained.
(2-2) connecting path P α g
From the connecting path of Figure 52, first select connecting path P α g, carry out following process for this connecting path P α g.
(2-2-1) the PLC π of connecting path
Using the starting point PLC in connecting path P α g and PLC π as handling object PLC, perform the C1 process shown in Figure 51-2.Due to using PLC π as in the C1 process of handling object, for connecting path P α g, do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of PLC π as handling object PLC.
(2-2-2) the PLC π of reverse connection path
Then, using " between the 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 α " backward as reverse connection path P α g '.Further, PLC and PLC π described in the data of the lower item of the starting point PLC in this reverse connection path P α g ' and PLC α is selected as handling object PLC, perform C1 process.But, due to using this PLC π as in the C1 process of handling object, for reverse connection path P α g ', do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of PLC π as handling object PLC.
(2-3) connecting path P ε g
Connecting path P ε g is selected, if for this connecting path P ε g process, then obtain the result identical with the connecting path P α g of (2-2), the routing parameter do not calculated from the connecting path of Figure 52.
(2-4) connecting path P β g
From the connecting path of Figure 52, select connecting path P β g, carry out following process for this connecting path P β g.
(2-4-1) connecting path
Using the starting point PLC in connecting path P β g and PLC π as handling object PLC, perform the C1 process shown in Figure 51-2.Using PLC π as in the C1 process of handling object, for connecting path P β g, exist till PLC to terminal and be more than or equal to 2 different networks.Thus, the network sequence number " 5 " of the information systems internetting No.5 recorded in the data (data 3) of upper 1 of terminal PLC and PLC β is exported as transmission objective network sequence number.
In addition, by network N network sequence number " 1 " o.1 between the controller of record in the data (data 1) of lower 1 of handling object PLC π, export as relaying objective network sequence number.Further, from off line network structure information maintaining part 122 obtain the data (data 2) of the lower item of handling object PLC π record PLC and PLC α between controller network N o.1 in website sequence number " 1 ", export as relaying targeted sites sequence number.
Then, the PLC α recorded in the data (data 2) of the lower item of handling object PLC π is selected as handling object, performs C1 process.Due to using PLC α as in the C1 process of handling object, for connecting path P β g, do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of connecting path PLC α as handling object.Its result is shown in the 501st row of Figure 53-1.
(2-4-2) reverse connection path
Then, the connecting path data of connecting path P β g " between PLC π → controller network N o.1 → PLC α → information systems internetting No.5 → PLC β " are carried out " between PLC β → information systems internetting No.5 → PLC α → controller network N o.1 → PLC π " after backward as reverse connection path P β g '.Further, the PLC α recorded in the data of the lower item of the starting point PLC in this reverse connection path P β g ' and PLC β is selected as handling object, performs C1 process.But, due to using this PLC α as in the C1 process of handling object, for reverse connection path P β g ', do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of PLC α as handling object PLC.
(2-5) connecting path P μ g
Connecting path P μ g is selected, if for this connecting path P μ g process, then obtain the result identical with the connecting path P β g of (2-4) from the connecting path of Figure 52.That is, the routing parameter calculated is identical, the not new routing parameter exported.
(2-6) connecting path P θ g
From the connecting path of Figure 52, select connecting path P θ g, carry out following process for this connecting path P θ g.
(2-6-1) connecting path
Using the starting point PLC in connecting path P θ g and PLC π as handling object PLC, carry out the C1 process shown in Figure 51-2.Using PLC π as in the C1 process of handling object, for connecting path P θ g, exist till PLC to terminal and be more than or equal to 2 different networks.Thus, by network N network sequence number " 2 " o.2 between the controller of record in the data (data 5) of upper 1 of terminal PLC and PLC θ, export as transmission objective network sequence number.
In addition, by network N network sequence number " 1 " o.1 between the controller of record in the data (data 1) of the next item down at handling object PLC π, export as relaying objective network sequence number.Further, from off line network structure information maintaining part 122 obtain the data (data 2) of the lower item of handling object PLC π record PLC and PLC α between controller network N o.1 in website sequence number " 1 ", export as relaying targeted sites sequence number.Its result is shown in the 502nd row of Figure 53-1.
Then, the PLC α recorded in the data (data 2) of the lower item of handling object PLC π is selected as handling object, performs C1 process.Using PLC α as in the C1 process of handling object, for connecting path P θ g, exist till PLC to terminal and be more than or equal to 2 different networks.Thus, by the network sequence number " 2 " of network 22B between the controller of record in the data (data 5) of upper 1 of terminal PLC and PLC θ, export as transmission objective network sequence number.
In addition, by the network sequence number " 5 " of the information systems internetting No.5 of record in the data (data 3) of lower 1 of handling object PLC α, export as relaying objective network sequence number.Further, obtain from off line network structure information maintaining part 122 the website sequence number " 2 " of PLC and PLC β in information systems internetting No.5 recorded the data (data 4) of the lower item of handling object PLC α, export as relaying targeted sites sequence number.Its result is shown in the 504th row of Figure 53-2.
Then, using PLC and the PLC β that records in the data of the lower item of handling object PLC α as handling object PLC, C1 process is carried out.Due to using PLC β as in the C1 process of handling object, for connecting path P θ g, do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of PLC β as handling object.
(2-6-2) reverse connection path
Then, using 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 θ " carry out after backward " between PLC θ → controller network N o.2 → PLC β → information systems internetting No.5 → PLC α → controller between network N o.1 → PLC π " as reverse connection path P θ g '.Further, the PLC β recorded in the data of the lower item of the starting point PLC in this reverse connection path P θ g ' and PLC θ is selected as handling object, performs C1 process.
Using PLC β as in the C1 process of handling object, for connecting path P θ g ', exist till PLC to terminal and be more than or equal to 2 different networks.Thus, the network sequence number " 1 " o.1 of network N between the controller recorded in the data of upper 1 of terminal PLC and PLC π is exported as transmission objective network sequence number.In addition, by the network sequence number " 5 " of the information systems internetting No.5 of record in the data (data 3) of the next item down at handling object PLC β, export as relaying objective network sequence number.Further, obtain from off line network structure information maintaining part 122 the website sequence number " 1 " of PLC and PLC α in information systems internetting No.5 recorded the data (data 4) of the lower item of handling object PLC β, export as relaying targeted sites sequence number.Its result is shown in the 506th row of Figure 53-3.
Then, the PLC α recorded in the data of the lower item of handling object PLC β is selected as handling object, performs C1 process.Due to using PLC α as in the C1 process of handling object, for connecting path P θ g ', do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of connecting path PLC α as handling object.
(2-7) connecting path P κ g
Connecting path P κ g is selected, if for this connecting path P κ g process, then obtain the result identical with the connecting path P θ g of (2-6) from the connecting path of Figure 52.That is, the routing parameter calculated is identical, the not new routing parameter exported.
(2-8) connecting path P ω g
From the connecting path of Figure 52, select connecting path P ω g, carry out following process for this connecting path P ω g.
(2-8-1) connecting path
Using the starting point PLC in connecting path P ω g and PLC π as handling object PLC, carry out the C1 process shown in Figure 51-2.Using PLC π as in the C1 process of handling object, for connecting path P ω g, exist till PLC to terminal and be more than or equal to 2 different networks.Thus, by network N network sequence number " 3 " o.3 between the controller of record in the data (data 5) of upper 1 of terminal PLC and PLC ω, export as transmission objective network sequence number.
In addition, by network N network sequence number " 1 " o.1 between the controller of record in the data (data 1) of lower 1 of handling object PLC π, export as relaying objective network sequence number.Further, obtain from off line network structure information PLC and the PLC α that records in the data (data 2) at the lower item of handling object PLC π between controller network N o.1 in website sequence number " 1 ", export as relaying targeted sites sequence number.Its result is shown in the 503rd row of Figure 53-1.
Then, the PLC α recorded in the data (data 2) of the lower item of handling object PLC π is selected as handling object, performs C1 process.Using PLC α as in the C1 process of handling object, for connecting path P ω g, exist till PLC to terminal and be more than or equal to 2 different networks.Thus, by network N network sequence number " 3 " o.3 between the controller of record in the data of upper 1 of terminal PLC and PLC ω (data 5), export as transmission objective network sequence number.
In addition, by the network sequence number " 5 " of the information systems internetting No.5 of record in the data (data 3) of lower 1 of handling object PLC α, export as relaying objective network sequence number.Further, obtain from off line network structure information maintaining part 122 the website sequence number " 3 " of PLC and PLC μ in information systems internetting No.5 recorded the data (data 4) of the lower item of handling object PLC α, export as relaying targeted sites sequence number.Its result is shown in the 505th row of Figure 53-2.
Then, using PLC and the PLC μ that records in the data of the lower item of handling object PLC α as handling object, perform C1 process.Using PLC μ as in the C1 process of handling object, due to for connecting path P ω g, do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of PLC β as handling object.
(2-8-2) reverse connection path
Then, using 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 ω " carry out after backward " between PLC ω → controller network N o.3 → PLC μ → information systems internetting No.5 → PLC α → controller between network N o.1 → PLC π " as reverse connection path P ω g '.Further, the PLC μ recorded in the data of the lower item of the starting point PLC in this reverse connection path P ω g ' and PLC ω is selected as handling object, performs C1 process.
Using PLC μ as in the C1 process of handling object, for connecting path P ω g ', exist till PLC to terminal and be more than or equal to 2 different networks.Thus, by network N network sequence number " 1 " o.1 between the controller recorded in the data of upper 1 of terminal PLC and PLC π, export as transmission objective network sequence number.In addition, by the network sequence number " 5 " of information systems internetting No.5 recorded in the data of the next item down of handling object PLC μ, export as relaying objective network sequence number.Further, obtain from off line network structure information maintaining part 122 the website sequence number " 1 " of PLC and PLC α in information systems internetting No.5 recorded the data of the lower item of handling object PLC μ, export as relaying targeted sites sequence number.Its result is shown in the 507th row of Figure 53-4.
Then, the PLC α recorded in the data of the lower item of handling object PLC μ is selected as handling object, performs C1 process.Due to using PLC α as in the C1 process of handling object, for connecting path P ω g ', do not exist till PLC to terminal and be more than or equal to 2 different networks, so terminate the C1 process of connecting path PLC α as handling object.
(2-9) connecting path P ψ g
Connecting path P ψ g is selected, if for this connecting path P ψ g process, then obtain the result identical with the connecting path P ω g of (2-8) from the connecting path of Figure 52.That is, the routing parameter calculated is identical, the not new routing parameter exported.
By the routing parameter of Figure 53-1 ~ Figure 53-4 obtained as mentioned above, the PLC shown in respective denominational is set.That is, Figure 53-1 is the routing parameter set in PLC π, and Figure 53-2 is the routing parameters set in PLC α, and Figure 53-3 is the routing parameters set in PLC β, and Figure 53-4 is the routing parameters set in PLC μ.
According to the present embodiment 6, due to the original artificial process calculated can be performed, so have the effect of saving the man-hour calculating routing parameter by Control System Design device 100.In addition also there is following effect, that is, when the structure for existing control system is carried out the situation of additional change or constructed new control system, also easily can set the network parameter of the routing parameter comprised for PLC.Further, owing to carrying out the display of connecting path, so also have the effect that can easily confirm for the situation of any bar connecting path the routing parameter of each PLC calculated.
Embodiment 7
In present embodiment 7, be described for following Control System Design device and Control System Design method, namely, when changing the network parameter of the control system of carrying out action, can automatically the network parameter of each PLC comprising the change of the routing parameter produced with this variation be rewritten.
Figure 54 is the block diagram of the functional structure of the embodiment 7 schematically representing 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 unit 114, online connecting path maintaining part 115, on-line network structural information maintaining part 116, display object coordinate calculating part 117, system architecture display part 118, system architecture editorial office 121, off line network structure information maintaining part 122, connecting path resolves selection portion 123, off line connecting path maintaining part 125, connecting path display part 120, rewriting portion 128 in parameter set, and control the control part 119 of each handling part above-mentioned.In more detail, this Control System Design device 100 has following structure, that is, on the basis of the structure of embodiment 1 and the structure of embodiment 6, delete throughput model maintaining part 124, and parameters concentrates rewriting portion 128 further.
In parameter set, rewriting portion 128 automatically carries out the change of the network parameter of the change comprising routing parameter for control system.Now, with the order that cannot can not conduct interviews to the PLC being formed control system due to parameter modification, the rewriting of network parameter is carried out.This network parameter concentrates rewriting portion 128 to rewrite unit corresponding in the parameter set in claims.In addition, for the textural element identical with the textural element illustrated in the above-described embodiment, also the description thereof will be omitted to mark identical label.
(1) summary processed
Figure 55-1 ~ Figure 55-2 is the process flow diagrams representing in parameter set the example rewriting treatment step.First, the Control System Design device 100 be connected with one of them PLC forming control system, by the method illustrated in embodiment 1, obtains network structure information (step S451) from the control system of carrying out action.Below, this network structure information is called on-line network structural information.
Then, for acquired on-line network structural information, in offline state variation of parameter is edited (step S452), generate off line network structure information.Now, assuming that make 1 network of network parameter be changed.Then, based on the off line network structure information edited out in offline state, calculate routing parameter (step S453).
Then, comparing online network structure information and the off line network structure information edited out, there is the network (step S454) changed in extracting parameter.Further, for each PLC of extracted network, parameter rewriting process (step S455) that Figure 55-2 illustrates is performed.
Be transferred to Figure 55-2, in the PLC be connected with extracted network, the parameter of common website PLC maximum for website sequence number be rewritten as new argument (step S471).Then, carry out rewriting process, the master station of the network parameter kept by the admin site PLC of this network counts and deducts 1 (step S472).
Then, the master station in the network parameter of the admin site PLC of this network is counted whether become 1 and judge (step S473).Master station in the network parameter of admin site PLC count be not 1 situation (situation being no in step S473) under, return step S471, repeat above-mentioned process, the master station in the network parameter of admin site PLC counts and becomes till 1.
In addition, master station in the network parameter of admin site PLC count be 1 situation (situation being yes in step S473) under, the parameter of the admin site PLC of this network is rewritten as new argument (step S474), parameter is rewritten process and is completed, and process returns Figure 55-1.
Return Figure 55-1, the routing parameter be associated by the network selected in step S454 carries out rewriting (step S456), rewrites process and complete in parameter set.
(2) object lesson processed
Due in the above description, the summary of rewriting process in parameter set is described, so be described in detail for the object lesson of this process below.Here, be described for following situation, that is, the routing parameter according to Figure 53-1 ~ Figure 55-4 calculated by embodiment 6 is carried out to the control system shown in Figure 28 of action, o.3 network N between controller to be changed between controller network N o.10.
First, according to the method illustrated in embodiment 1, obtain the on-line network structural information of the control system shown in the Figure 28 carrying out action, and be stored in on-line network structural information maintaining part 116.
Then, according to the method illustrated in embodiment 4, for on-line network structural information, generated by system architecture editorial office 121 and in offline state o.3 network N between controller is changed to network N off line network structure information o.10 between controller, and be stored in off line network structure information maintaining part 122.In addition, according to the method illustrated in embodiment 6, based on the off line network structure information after change, carry out the calculating of routing parameter.Figure 56-1 ~ Figure 56-4 is figure of the routing parameter after the structure modify representing control system.In the 513rd row of Figure 56-1 and the 515th row of Figure 56-2, become respectively by 503 of Figure 53-1 and Figure 53-2 505 in transmission objective network sequence number be the form that the part of " 3 " changes to " 10 ".
Then, on-line network structural information and off line network structure information being compared, there is the network changed in extracting parameter., extract following situation here, that is, between the controller of on-line network structural information, o.10 network N part o.3 to change between controller network N in off line network structure information.
Then, for network N between the controller that existence is changed o.3, the rewriting process of each PLC parameter shown in Figure 55-2 is performed.First, in the control system of carrying out action, the parameter of common website PLC maximum for the website sequence number in the PLC be o.3 connected with network N between controller and PLC ψ (website sequence number 3) is rewritten as new argument.That is, the rewriting process of from the website sequence number 3 of network N common website o.3 " between the controller " to the website sequence number 3 of network N common website o.10 " between the controller " is carried out.
Then, rewrite in the control system of carrying out action, the master station in the network parameter of the admin site PLC be o.3 connected with network N between controller and PLC μ being counted deducts 1.That is, the master station o.3 of network N between controller is counted from " 3 " be rewritten as " 2 ".Thus, in this moment, between controller, network N is o.3 to carry out action under the state be connected with PLC ω with PLC μ, although PLC ψ has carried out physical connection, but is in the state of not carrying out action as the website o.3 of network N between controller.
Then, counting due to the master station in the network parameter of the admin site PLC that is o.3 connected with network N between controller and PLC μ is " 2 " instead of " 1 ", so in this moment, the parameter of common website PLC maximum for the website sequence number in the PLC be o.3 connected with network N between controller and PLC ω (website sequence number 2) is rewritten as new argument.That is, the rewriting process of from the website sequence number 2 of network N common website o.3 " between the controller " to the website sequence number 2 of network N common website o.10 " between the controller " is carried out.
Then, the master station in the network parameter of the admin site PLC be o.3 connected with network N between controller and PLC μ is counted deduct 1.That is, the total website sequence number o.3 of network N between controller is rewritten as " 1 " from " 2 ".Thus, in this moment, between controller, o.3 network N carries out action with the state be only connected with PLC μ, although PLC ω and PLC ψ has carried out physical connection, is in the state of not carrying out action as the website o.3 of network N between controller.
Then, because the master station in the network parameter of the admin site PLC that is o.3 connected with network N between controller and PLC μ counts as " 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 the controller " from the website sequence number 1 of network N admin site o.3 " between the controller ".Thus, in this timing, between controller, o.10 o.3 network N to change between controller network N, between controller network N o.10 in, carry out action with the state be connected with PLC μ, PLC ω and PLC ψ.The parameter rewriting process of each PLC of Figure 55-2 terminates thus.
Then, the process of rewriting the routing parameter be o.3 associated with network N between the controller that there is change is carried out.Here, o.10, so with this situation, in the routing parameter shown in Figure 56-1 ~ Figure 56-4 again automatically calculated, the routing parameter be o.10 associated with network N between controller is rewritten as because o.3 network N between controller changes to network N between controller.That is, for PLC π, the new routing parameter P π q of write shown in Figure 56-1, for PLC α, the new routing parameter P α q of write shown in Figure 56-2.In addition, owing to there is the network of change not much else, complete so rewrite process in parameter set.
According to the present embodiment 7, there is following effect, that is, when changing network parameter, can will comprise the change of the network parameter of routing parameter, automatically to there is the PLC write of changing.In the prior art, when network parameter changes, need connection control system design apparatus 100 on each PLC carrying out changing, write new setting respectively, very loaded down with trivial details, but in present embodiment 7, there is the effect that can change via the network parameter of network to each PLC.
Embodiment 8
Effective method when embodiment 7 is 1 network change parameter for carrying out in the system of action, in present embodiment 8, illustrates the situation for multiple network change parameter.
Even if when for multiple network change parameter, as long as change application implementation mode in turn 7 for each, the network parameter of each PLC of the change comprising routing parameter just automatically can be rewritten.But owing to sometimes there is the PLC needing repeatedly to rewrite routing parameter, although so rewriting operation is carried out automatically, efficiency is low.Thus, in present embodiment 8, be described for by the Control System Design device carried out in above-mentioned rewriting operation set and Control System Design method.
The structure of Control System Design device used in present embodiment 8 is identical with the structure shown in Figure 54 of embodiment 7.But, in parameter set, rewriting portion 128 has following function, namely, first from distance starting point PLC network farthest, the renewal of the network parameter of routing parameter is not comprised in turn towards starting point PLC, then, from the PLC that distance starting point PLC is nearest, the renewal of routing parameter is carried out in turn towards the PLC of network far away.Thus, the state that cannot communicate during network parameter can be avoided to upgrade.
(1) summary processed
Figure 57-1 ~ Figure 57-2 is the process flow diagrams rewriting an example for the treatment of step in the parameter set representing multiple network.First, the Control System Design device 100 be connected with one of them PLC forming control system, obtains on-line network structural information (step S511) from the control system of carrying out action.Its result is stored in on-line network structural information maintaining part 116.
Then, for the on-line network structural information obtained, edit (step S512) in offline state to parameter modification, its result is stored in off line network structure information maintaining part 122 as off line network structure information.Now, assuming that change being more than or equal to 2 network of network parameters.Then, based on the off line network structure information edited out in offline state, carry out the computing (step S513) of routing parameter.
Then, comparing by the on-line network structural information obtained in step S511 with in the off line network structure information that step S512 inediting goes out, there is the network (step S514) changed in extracting parameter.
Then, from the network be extracted, with reference to the off line connecting path information be stored in off line connecting path maintaining part 125, select 1 with the connecting path network farthest (step S515) of starting point PLC, perform the parameter to each PLC in selected network shown in Figure 55-2 and rewrite process (step S516).In addition, because the parameter rewriting process of this PLC is illustrated, so omit this explanation in embodiment 7.
If for the network selected in step S515, the parameter of the PLC of Figure 55-2 is rewritten process and is completed, then determine whether that there is to the parameter extracted in step S514 the all-network changed all has carried out selecting (step S517).In the situation (situation being no in step S517) of network not selecting all changes, from the network extracted, select the network (step S518) that 1 distance starting point PLC time is far away.Then, return step S516, repeat above-mentioned process, until all select according to the far and near order of the connecting path with starting point PLC there is the all-network changed.In addition, in the situation (situation being yes in step S517) that have selected the network that all existence are changed, the routing parameter carrying out Figure 57-2 rewrites process (step S519).
Be transferred to Figure 57-2, from carried out network parameter and rewritten the PLC that the network that processes is associated, extract the PLC(step S531 needing to rewrite routing parameter).In the PLC extracted, from the PLC that the connecting path remained in off line connecting path maintaining part 125 is shorter, rewrite routing parameter (step S532) in turn.Thus, routing parameter is rewritten process and is completed, and rewrites process and complete in parameter set.
(2) object lesson processed
Due in the above description, the summary of rewriting process in the parameter set to multiple network describes, so be described in detail for the object lesson of this process below.Here, be described for following situation, namely, for the control system shown in the Figure 28 carrying out action with the routing parameter of Figure 53-1 ~ Figure 53-4 calculated by embodiment 6, o.1, network N between controller to be changed between controller network N o.9, o.3 network N between controller to be changed between controller network N o.10.
First, according to the method illustrated in embodiment 1, obtain the on-line network structural information of the control system shown in the Figure 28 carrying out action, and be stored in on-line network structural information maintaining part 116.
Then, according to the method illustrated in embodiment 4, make in offline state o.1 network N between controller to be changed to network N between controller respectively by system architecture editorial office 121 and o.9, by network N between controller o.3 change to network N off line network structure information o.10 between controller, be stored in off line network structure information maintaining part 122.In addition, according to the method illustrated in embodiment 6, carry out the calculating of routing parameter based on the off line network structure information after change.Figure 58-1 ~ Figure 58-4 be represent the formation of control system change after the figure of routing parameter.
Then, comparing online network structure information and off line network structure information, there is the network changed 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 to change to respectively in off line network structure information between controller network N o.9, No.10.
Then, for network between each controller that existence is changed, the parameter performing each PLC shown in Figure 55-2 rewrites process.That is, first for exist change controller between network N o.1, implement each PLC parameter rewrite process, then, for exist change controller between network N o.3, implement each PLC parameter rewrite process.
Then, as follows, implement shown in Figure 57-2 with exist network N between the controller that changes o.1, the rewriting process of routing parameter that is associated of No.3.
First, extract in the routing parameter of Figure 58-1 ~ Figure 58-4 recalculated, need the PLC rewriting routing parameter.Here, because o.9 o.1 network N between controller to change between controller network N, between controller, o.10 o.3 network N to change between controller network N, so rewrite all routing parameters shown in Figure 53-1 ~ Figure 53-4 comprising the current use of above-mentioned key element.That is, need to write the new routing parameter shown in Figure 58-1 to PLC π, write the new routing parameter shown in Figure 58-2 to PLC α, write the new routing parameter shown in Figure 58-3 to PLC β, write the new routing parameter P μ q shown in Figure 58-4 to PLC μ.
When the write process carrying out above-mentioned routing parameter, in these PLC, with the order the PLC shorter from the connecting path remained in off line connecting path maintaining part 125, rewrite routing parameter., remaining on the off line connecting path in off line connecting path maintaining part 125 here, is the network architecture for editing out in offline state, the connecting path used when calculating routing parameter.Here, because the connecting path of the PLC π directly connected is the shortest, so first write the new routing parameter of Figure 58-1 to PLC π.
Then, with reference to off line connecting path maintaining part 125, the PLC that extraction connecting path is wherein the shortest.The shortest PLC of connecting path is wherein PLC α.Thus, the new routing parameter of Figure 58-2 is then write to PLC α.
In the same manner, connecting path time short PLC is PLC β and PLC μ, writes the new routing parameter of Figure 58-3, write the new routing parameter of Figure 58-4 to PLC μ to PLC β.Thus, rewrite process in the rewriting process of routing parameter and the parameter set of multiple network to complete.
Here, when the method for the PLC application implementation mode in turn 7 for rewriting network parameter, automatically can rewrite the network parameter of each PLC of the change comprising routing parameter, but existence needs the PLC repeatedly rewriting routing parameter sometimes.That is, between write in PLC π reflects controller, o.1 network N changes between controller after network N routing parameter o.9, needs again to reflect to PLC π write o.3 network N between controller is changed to network N routing parameter o.10 between controller.But, by utilizing said method, these routing parameters can be collectively written into, the operation high efficiency change of the routing parameter involved by the change of network parameter write to each PLC can be made.
According to the present embodiment 8, due to the network of network parameter being more than or equal to 2 forming control system in offline state there occurs change when, first from the network far away with the connecting path of starting point PLC, only network parameter is changed in turn, then to start to change routing parameter in turn with the nearlyer person of the connecting path of starting point PLC, so have the effect can concentrating the rewriting carrying out network parameter.
In addition, in above-mentioned embodiment 1 ~ 8, exemplify and describe the situation of Programmable Logic Controller as control device control system connected to the network, but purport of the present invention is not limited thereto.Such as, except Programmable Logic Controller, also can be applied to the control system that numerical control device or movement controller, robot controller equal controller are connected to the network in the same manner.
In addition, above-mentioned Control System Design method can be realized by following method, that is, will be written with the program for the treatment of step by having CPU(central operation treating apparatus) personal computer or the computing machine such as workstation perform.In this case, the CPU(control module of computing machine) perform according to program each treatment process that said procedure generates support method.These programs are stored in 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 undertaken in the storage medium read by computing machine, by being read from storage medium by computing machine and performing.In addition, these programs also can be issued via the networks such as the Internet (communication line).
Industrial applicibility
As mentioned above, Control System Design device involved in the present invention, carrying out the system architecture of the control system that production equipment etc. is arranged and connecting path, assurance this respect is effective.

Claims (3)

1. a Control System Design device, is characterized in that, has:
Communication unit, its 1 control device be connected with via network in the control system of multiple control device connects;
Starting point control device designating unit, the described control device be connected with described communication unit is specified as starting point control device by it;
On-line network structural information collector unit, it is via described communication unit, from forming the control device of described control system, the on-line network structural information comprising control device structure that this control device has and the network that described control device connects is collected;
System architecture edit cell, it edits the on-line network structural information collected by described on-line network structural information collector unit in offline state, generates off line network structure information;
Connecting path resolves selection unit, and it is resolved the off line connecting path of each control device comprised to described off line network structure information from described starting point control device, and selects;
Routing parameter computing unit, it is for each off line connecting path of being resolved selection unit selection by described connecting path, calculate when be connected with between control device to terminal from starting point control device be more than or equal to 2 networks, carry out the routing parameter needed for data transmission from described starting point control device to described terminal point control device, this routing parameter be on described off line connecting path by multiple network between the control device that connects carry out setting; And
Unit is rewritten in parameter set, described on-line network structural information and described off line network structure information compare by it and extracting parameter exists the network changed, after change the parameter that to there is the control device that the network that changes is connected with described parameter in turn via described communication unit, for being set with in the control device of routing parameter, there is with described parameter the routing parameter that the network that changes is associated, be rewritten as the routing parameter calculated by described routing parameter computing unit.
2. Control System Design device as claimed in claim 1, is characterized in that,
The common website of the network changed of control device unit exists to(for) described parameter is rewritten in described parameter set, the maximum control device of slave site sequence number starts change parameter in turn, finally the parameter of the control device of admin site is changed, then, carry out the rewriting process of routing parameter.
3. Control System Design device as claimed in claim 1, is characterized in that,
When there is multiple described parameter and there is the network changed, rewrite unit in described parameter set and there is the network changed for described parameter, with from apart from described starting point control device network-based control device farthest to the direction close to described starting point control device, carry out parameter modification in turn, for routing parameter, with from the control device nearest apart from described starting point control device towards away from direction, carry out the change of routing parameter in turn.
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 CN102819231A (en) 2012-12-12
CN102819231B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101886985B1 (en) * 2014-12-15 2018-08-08 미쓰비시덴키 가부시키가이샤 Information system construction support tool and information system construction support program
CN108885437A (en) * 2016-03-29 2018-11-23 三菱电机株式会社 Programmable logic controller (PLC)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN1432242A (en) * 2001-03-29 2003-07-23 三菱电机株式会社 Network management system

Family Cites Families (3)

* 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
JPH117421A (en) * 1997-06-19 1999-01-12 Oki Electric Ind Co Ltd Network simulator
JP2006277734A (en) * 2005-03-01 2006-10-12 Omron Corp Network diagram display device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN1432242A (en) * 2001-03-29 2003-07-23 三菱电机株式会社 Network management system

Also Published As

Publication number Publication date
CN102819231A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
CN101681157B (en) Control system designing apparatus
JP5195955B2 (en) Design support system
JP7037204B2 (en) Smart factory monitoring methods and systems
CN103403720A (en) Design assistance device of network system
CN100368986C (en) Editing device and storage medium for storage editor program
CN110866320B (en) Automatic intelligent platform region graph generation method and system
CN109214723A (en) A kind of intelligent manufacturing cell integrated monitoring system
EP1921528A2 (en) Event triggered data capture via embedded historians
CN103403721B (en) Design aiding system
CN106202662B (en) Automatic drawing and mapping method for grid frame diagram of power distribution network
CN104246632A (en) System and method for visualizing device data and network of industrial plant in display
CN112084385B (en) Part-process-equipment association relationship topological view generation method based on digital twinning
CN102819231B (en) Control system design device
EP3656513A1 (en) Method and system for predicting a motion trajectory of a robot moving between a given pair of robotic locations
CN104517014B (en) A kind of product automatic assembly design system based on Pro/E
Davidson et al. Evolution program for design of rectilinear branched networks
CN114398071A (en) Control logic configuration implementation method and system of control system
CN110324220A (en) Support device, computer readable storage medium, setting method
EP2378713B1 (en) Register configurator, register configuration method and field control system
US20060184715A1 (en) Method and system for exchanging description data between projects
CN110324221A (en) Support device, computer readable storage medium, setting method
JP6512377B1 (en) Station setting device for network device
JP2000267710A (en) Method and device for generating network routing information, and recording medium recording the network routing information generating method
Stoess et al. Automated network layout for the industrial communication engineering system NetGen: X
CN106133729A (en) Local behavior in variational systems

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

Granted publication date: 20150318

Termination date: 20190531

CF01 Termination of patent right due to non-payment of annual fee