CN107291793A - PLC system specification generates servicing unit - Google Patents

PLC system specification generates servicing unit Download PDF

Info

Publication number
CN107291793A
CN107291793A CN201710227710.1A CN201710227710A CN107291793A CN 107291793 A CN107291793 A CN 107291793A CN 201710227710 A CN201710227710 A CN 201710227710A CN 107291793 A CN107291793 A CN 107291793A
Authority
CN
China
Prior art keywords
plc
input
output
management project
classification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710227710.1A
Other languages
Chinese (zh)
Other versions
CN107291793B (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 Building Solutions Corp
Original Assignee
Mitsubishi Electric Building Techno Service Co Ltd
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 Building Techno Service Co Ltd filed Critical Mitsubishi Electric Building Techno Service Co Ltd
Publication of CN107291793A publication Critical patent/CN107291793A/en
Application granted granted Critical
Publication of CN107291793B publication Critical patent/CN107291793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Automation & Control Theory (AREA)
  • Software Systems (AREA)
  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Abstract

PLC system specification generates servicing unit, in the PLC system being managed collectively to multiple PLC, and the editor and the editor of PLC input/output lists of the PLC structural table relevant with each PLC can be carried out in a short time, and suppresses to turn to misremember mistake etc., has:Management project table register, the classification of No. PLC of each PLC recognized in multiple PLC and the input/output signal of each management project as search key, the management project table relevant with multiple PLC is registered in management project table database by it;PLC structural tables editorial office, it sets the quantity of input-output equipment corresponding with input/output signal according to the retrieval of management project table database, and automatic edit package contains the structural table of the input-output equipment in the PLC;Input/output list editorial office, it is retrieved to management project table database, and each input/output signal is distributed to each passage of the input-output equipment, input/output list is edited automatically.

Description

PLC system specification generates servicing unit
Technical field
Servicing unit is generated the present invention relates to PLC system specification, more particularly to auxiliary generates the specification of PLC system PLC system specification generates servicing unit, and multiple PLCs of the PLC system control in facility are overall.
Background technology
It is required that used in the automation of factory etc., elevator, automatically-controlled door, boiler, the various recreational facilities of amusement park The control of machinery etc. has higher safety and stability.Use to replace relay circuit in these mechanical controls PLC based on the action model of state machine, to replace the common computer based on the action model of Nuo Yiman types. PLC is programmable logic controller (PLC) (Programmable Logic Controller) simple language.
PLC, which is used, regard the ladder logic of relay circuit signifying word as software.PLC, which is included, to be carried out at ladder logic computing The CPU device and input-output equipment of reason.Input-output equipment is the input signal for receiving the monitoring key element from machinery, right Signal handling equipment of the controlling element of machinery when providing output signal between CPU.Using which type of CPU device and Input-output equipment, is determined according to the content of the management project of the machinery as management object etc..It is used as management object Management project and by it is each monitoring key element and each controlling element arrangement be management project table.
When determining the classification of CPU device and input-output equipment according to management project table, PLC each equipment can be determined Configuration.What the configuration of each equipment in PLC was collected is PLC structural tables.Each terminal of input-output equipment is with coming Signal wire and the signal wire connection for going to each controlling element from each monitoring key element.Needed in PLC Program Generating by with it is defeated Address in the content and CPU device of the signal wire for entering the terminal connection of output equipment is mapped.With input-output equipment Each terminal corresponding table relevant with the address in CPU device is referred to as PLC input/output lists.Therefore, in order to PLC is configured into hard Part simultaneously generates software, it is desirable to have the PLC structural tables and PLC input/output lists generated according to management project table.
Being described in patent document 1 has following PLC structures:It is right respectively in the procedure operation of user program in PLC Each slot for being equipped with PLC frame (rack) distributes multiple input-output equipment.
The method that the device structure information for having following generation PLC is described in patent document 2:Using pointing device from Part of appliance information display section is shown as in tree-shaped part of appliance selecting a part of appliance, and is dragged to device structure letter Cease display part.
【Patent document 1】Japanese Unexamined Patent Publication 10-333718 publications
【Patent document 2】Japanese Unexamined Patent Publication 2009-265918 publications
Machinery etc. control content it is uncomplicated, can be controlled with a PLC in the case of, according to management project table PLC structural tables and PLC input/output lists are generated, can be handled by manually input etc..For example, in a building are carried out Illumination, air-conditioning, electric power etc. monitoring and control when, it is necessary to which many PLC are managed collectively as overall.It is being set to use During the PLC system that multiple PLC are managed collectively as entirety, the scale increase of management project table, in the management project table Include the respective monitoring key elements of multiple PLC and controlling element.
Edit each PLC structural table in order to separate these monitoring key elements and controlling element according to each PLC and edit PLC Input/output list is, it is necessary to which complicated extraction operation and substantial amounts of turn are denoted as industry.When carrying out these operations by manually entering, need Huge load is wanted, easily generation turns the mistakes such as the misdescription being denoted as in industry.The PLC structural tables and PLC input/output lists edited out Specification with the hardware and software for PLC system is corresponding.Therefore, it is desirable to there is a kind of PLC system specification generation auxiliary dress Put, the PLC structure relevant with each PLC can be carried out in a short time in the PLC system being managed collectively to multiple PLC The editor and the editor of PLC input/output lists of table, and can suppress to turn to misremember mistake etc..
The content of the invention
The PLC system specification generation servicing unit of the specification of the auxiliary generation PLC system of the present invention, the PLC system Multiple PLCs of the control in facility are overall, and the PLC system specification generation servicing unit has:Management project table is registered Portion, its by with PLC system integrally relevant multiple management projects respectively with recognizing the PLC of each PLC in the multiple PLC Number and multiple classifications of the input/output signal relevant with management project be registered in management project table database in association In;PLC structural tables editorial office, it is for each PLC in multiple PLC, using No. PLC of the PLC as the 1st search key, Using multiple classifications of input/output signal as multiple 2nd search keys, retrieved in management project table database defeated Enter the management project of each classification of output signal, according to the management project of each classification of the input/output signal retrieved Quantity, sets the quantity of each classification of input-output equipment corresponding with the classification of input/output signal, and automatic edit package contains The device structure of input-output equipment in the PLC;And input/output list editorial office, it is for multiple input-output equipment Each classification in classification, uses the class of the input-output equipment in the 2nd search key in management project table database Do not retrieved, the corresponding multiple management projects of the classification of the input-output equipment with retrieving are sequentially allocated and give the input Each passage of output equipment, edits the input/output signal table of the input-output equipment automatically.
In the PLC system specification generation servicing unit of the present invention, management project table register shows that the longitudinal axis takes management Project, transverse axis take the blank of multiple classifications of No. PLC and input/output signal to manage project table, and acquirement is inputted by data input person No. PLC of each management project and input/output signal classification, it is overlapping to be written in blank management project table, write overlapping The management project table entered is registered in management project table database.
In the PLC system specification generation servicing unit of the present invention, the classification of input/output signal is numeral input letter Number, digital output signal, analog input signal and analog output signal.
In the PLC system specification generation servicing unit of the present invention, the classification of analog input signal is electric current and voltage Input signal and pulsimeter value input signal.
In the PLC system specification generation servicing unit of the present invention, the input-output equipment in the PLC is met with being somebody's turn to do The more than one input and output of the corresponding port number of quantity of the management project of each classification of input/output signal in PLC Equipment.
In the PLC system specification generation servicing unit of the present invention, input/output list editorial office is according to overlapping write-in The management project of the longitudinal axis of management project table database puts in order, according to the input-output equipment channel number from small to large Order be sequentially allocated management project.
The PLC system specification generation servicing unit of the specification of the auxiliary generation PLC system of the present invention, the PLC system Multiple PLCs of the control in facility are overall, and the PLC system specification generates servicing unit by including management project table data The computer in storehouse is constituted, in the management project table database, by with PLC system integrally relevant multiple management projects respectively with Recognize No. PLC of each PLC in the multiple PLC and multiple classifications of the input/output signal relevant with management project Stored in association, computer performs following process step:For each PLC in multiple PLC, by the PLC of the PLC Number as the 1st search key, using multiple classifications of input/output signal as multiple 2nd search keys, in management The management project of each classification of input/output signal is retrieved in project table database, according to the input/output signal retrieved The quantity of the management project of each classification, sets each classification of input-output equipment corresponding with the classification of input/output signal Quantity, automatic edit package contain the PLC in input-output equipment device structure;And for multiple input-output equipment Each classification in classification, uses the class of the input-output equipment in the 2nd search key in management project table database Do not retrieved, the corresponding multiple management projects of the classification of the input-output equipment with retrieving are sequentially allocated and give the input Each passage of output equipment, edits the input/output signal table of the input-output equipment automatically.
Servicing unit is generated according to the PLC system specification of the present invention, is not required to singly be manually entered, can The editor of enough editors and PLC input/output lists for carrying out the PLC structural table relevant with each PLC in a short time, and can press down System turns to misremember mistake etc..
Brief description of the drawings
Fig. 1 is the structure chart and the figure of the relation of PLC system specification for showing PLC system, and the PLC system uses the present invention Embodiment PLC system specification generation servicing unit.
Fig. 2 is the figure of the structure for the PLC system specification generation servicing unit for showing embodiments of the present invention.
Fig. 3 is that the PLC system for the PLC system specification generation servicing unit for showing embodiments of the present invention illustrates inteilectual Into overall step flow chart.
Fig. 4 is the flow chart for the step of management project table for showing in Fig. 3 is registered.
Fig. 5 is the figure for showing the management project blank table in Fig. 4.
Fig. 6 is the figure of one of management project table for showing to generate by manually input in Fig. 4.
Fig. 7 is the figure for showing to show the example of the view data of file call buttons in Fig. 4.
Fig. 8 is flow chart the step of showing the PLC structural table editors in Fig. 3.
Fig. 9 is the figure for showing the PLC Blank space of construction tables in Fig. 8.
Figure 10 is the figure for showing to show the example of the view data of the selecting switch of the PLC offices number in Fig. 8.
Figure 11 is the figure of one of the result of calculation for showing the management item mesh number in Fig. 8.
Figure 12 is the one, relevant for 01 PLC with PLC innings numbers of the PLC structural tables edited out that are shown as in Fig. 4 PLC structural tables figure.
Figure 13 is flow chart the step of showing the PLC input/output list editors in Fig. 3.
Figure 14 is the figure for showing to show the example of the view data of the input-output equipment selecting switch in Figure 13.
Figure 15 is the figure for showing the PLC input and output blank tables in Figure 13.
Figure 16 is one and and input and output of the PLC input/output lists for showing to be assigned the input signal in Figure 13 Equipment for the BI relevant PLC input/output lists of input equipment figure.
Figure 17 is flow chart the step of showing to accept Figure 13.
Figure 18 is one, relevant with the PLC that PLC innings numbers the are 03 PLC structural tables for being shown as PLC structural tables Figure.
Figure 19 is to show that relevant with the output equipment that input-output equipment is AO PLC in Figure 18 PLC structural tables is defeated Enter the figure of output table.
Figure 20 is one, relevant with the PLC that PLC innings numbers the are 05 PLC structural tables for being shown as PLC structural tables Figure.
Figure 21 is to show relevant with the input equipment that input-output equipment is AI-R PLC in Figure 20 PLC structural tables The figure of input/output list.
Label declaration
8 building;10PLC systems;12 central monitoring devices;14 main PLC plates (RS-0);16 main PLC (PLC00);18 the 1st are The underlying network of system;Each layer PLC (RS-1~RS-5) of 20a, 20b, 20c, 20d, 20e;Each layer of 22a, 22b, 22c, 22d, 22e PLC (PLC00~PLC05);24a electric air conditioner plates;The plate of 24b offices 1;The plate of 24c offices 2;The plate of 24d offices 3;24e is eaten Hall plate;The underlying network (CCL) of 26 the 2nd systems;28 signal wires;30PLC system specifications;31 management project blank tables;32 pipes Manage project table;33PLC Blank space of construction tables;34th, 34c, 34e PLC structural tables;35PLC input and output blank tables;36、36a、36c、 36e PLC input/output lists;40 (generation of PLC system specification) servicing units;42 arithmetic processing apparatus;44 input units;46 show Show portion;48 output sections;50 management project table databases;52 management project table registers;54PLC structural tables editorial office;56PLC is defeated Enter output table editorial office;64th, 66,68,70 button;80th, 84 selecting switch image.
Embodiment
Below, embodiments of the present invention are described in detail using accompanying drawing.Below, as PLC system, narration uses 1 master Each layer PLC of PLC and 5 manages the building management system of the multiple equipment in 1 layer of underground, on the ground 4 layers of building etc., but this It is only intended to the example of explanation.Each layer PLC can also be many in addition, and the number of plies of building can also be in addition The number of plies.Alternatively, it is also possible to being management system relevant with the mechanical device beyond building management system etc. etc..
Below, as the list procedure of making for aiding in generating PLC system specification, narration uses the Excel of Microsoft The application program of (trade name), but this is only intended to one of explanation.For that can be handled character string and can be Make list procedure using multiple worksheets in one file, if can in a worksheet by the row and column of cell or Character string is appointed as search key, replicates the content retrieved and is pasted onto in other worksheet.
The quantity for the PLC being set forth below, the classification of input-output equipment, quantity of input/output signal etc. are only intended to Bright example, can generate the appropriate change such as specification of servicing unit according to PLC system specification.Below, in whole accompanying drawings Identical label is marked to identical key element, and omits repeat specification.
Fig. 1 is that the structure chart for the PLC system 10 for being shown with PLC system specification generation servicing unit is said with PLC system The figure of the relation of bright book 30.PLC system 10 is to manage the multiple equipment in building 8 using each layer PLC of 1 main PLC and 5 Deng building management system.Building 8 are 1 layer of underground, the office building of the 4 layers of building in ground, are configured with 1 layer of underground for being expressed as BF The equipment such as panel, cooling tower, are configured with office equipment in be expressed as 1F~3F 1 layer~3 layers, are set in be expressed as 4F 4 layers There is the employee dining room for possessing kitchen.
PLC system 10 is configured with central monitoring device 12 for 1 layer in underground, is being placed in the main PLC plates in the intermediate layer of building 8 14 are configured with main PLC16.Connected between central monitoring device 12 and main PLC by network layout.Call it as the base of the 1st system Dry network 18.In addition, each layer 1 layer~4 layers of underground is respectively equipped with each layer PLC plates 20a~20e, each layer PLC plates 20a~ 20e stores each layer PLC22a~22e respectively.Pass through the backbone network with the 1st system between main PLC16 and each layer PLC22a~22e The different network layout connection of network 18.Call it as the underlying network 26 of the 2nd system.The underlying network 26 of 2nd system is main PLC Communication network between the other PLC being different from, thus referred to as CCL, are used as the message capacity of each CCL systems, one Main PLC is at best able to connect 26 PLC.Fig. 1 PLC system 10 is 5 PLC of PLC16 connections main to one situation, thus can To be only the underlying network 26 of the 2nd system.
Main PLC plates 14 and each layer PLC plates 20a~20e are the internal housings for storing PLC, are all from central monitoring arrangement During 12 observation configuration remote location RS plates, thus in order to distinguish them and referred to as RS-0~RS-5.RS is Remote Station (distant station) simple language.RS-0 is main PLC plates 14, and each layer PLC the plates 20a, RS-2 that RS-1 is arranged in BF are to match somebody with somebody It is placed in 1F each layer PLC plates 20b.Same as belowly, RS-3 is arranged in 2F each layer PLC plates 20c, RS-4 and is arranged in 3F's Each layer PLC plates 20d, RS-5 are arranged in 4F each layer PLC plates 20e.
Main PLC16 and each layer PLC22a~22e is PLC, and PLC innings numbers are used to distinguish them.PLC innings numbers are to set Main PLC16 is 00, and No. PLC of 01~05 is distributed respectively to each floor PLC22a~22e.PLC innings numbers 01 are distributed to and is configured at BF Each layer PLC22a, PLC innings numbers 02 are distributed to each floor PLC22b for being configured at 1F.Same as belowly, by PLC innings numbers 03 distribution To each layer PLC22c for being configured at 2F, PLC innings numbers 04 are distributed to each floor PLC22d for being configured at 3F, by PLC innings numbers 05 distribution To each layer PLC22e for being configured at 4F.Below, by PLC innings number 01~PLC innings number 05 each PLC be referred to as PLC01~ PLC05。
Configure the monitoring key element relevant with building 8 and controlling element in each layer, in the example of building 8, in BF configurations and The monitoring key element and controlling element of the device-dependents such as panel, cooling tower.Therefore, it is BF monitoring key element and controlling element is unified It is expressed as electric air conditioner plate 24a.Electric air conditioner plate 24a with PLC01 equivalent to being connected to square plate.Match somebody with somebody in the 1F of building 8 and buy Postulate standby, therefore, the monitoring key element relevant with 1F office equipment and controlling element are collectively expressed as the plate 24b of office 1.Do The public plate 24b of room 1 with PLC02 equivalent to being connected to square plate.Similarly, office equipment is also configured in 2F, 3F of building 8, therefore, The monitoring key element relevant with these office equipment and controlling element are collectively expressed as the plate 24c of office 2, the plate of office 3 respectively 24d.The plate 24c of office 2 and the plate 24d of office 3 be respectively equivalent to be connected with PLC03, PLC04 to square plate.The 4F of building 8 is set There is the employee dining room for possessing kitchen, therefore, the monitoring key element relevant with dining room and controlling element are collectively expressed as into dining room plate 24e.Dining room plate 24e with PLC05 equivalent to being connected to square plate.PLC01~PLC05 and respective to passing through between square plate Signal wire 28 common RS232 etc. is connected.
The overall specification of PLC system 10 be specification and PLC00 between central monitoring device 12 and PLC00 with As defined in specification between PLC01~PLC05.Wherein, PLC system specification 30 is used to provide PLC00 and PLC01~PLC05 Between specification.PLC system specification 30 is that basis is determined by the subscriber with the management system of the building 8 i.e. negotiation of owner Fixed basic enterprise planning inteilectual into.The PLC system specification 30 of generation is respective comprising management project table 32, PLC01~PLC05 The respective PLC input/output lists 36 of PLC structural tables 34, PLC01~PLC05.
Fig. 2 is that the PLC system specification of auxiliary generation PLC system specification generates the structure chart of servicing unit 40.Below, Unless otherwise specified, PLC system specification generation servicing unit 40 is referred to as servicing unit 40.Servicing unit 40 is auxiliary Help the device for generating the PLC system specification 30 relevant with PLC system 10, multiple PLCs of the control of PLC system 10 located at building 8 That is PLC01~PLC05 is overall.Servicing unit 40 includes arithmetic processing apparatus 42 and management project table database 50.The auxiliary is filled Putting 40 can be made up of computer, and computer is using the personal computer for being suitable for making table calculation process.
Arithmetic processing apparatus 42 is the CPU in personal computer, with the display part 46 such as input unit 44, the display such as keyboard, The output sections such as printer 48 are connected.Arithmetic processing apparatus 42 comprising management project table register 52, PLC structural tables editorial office 54, Input/output list editorial office.
Management project table register 52 is by No. PLC of each PLC recognized in multiple PLC and the input of each management project The management project table 32 relevant with multiple PLC is registered in management project table number by the classification of output signal as search key According in storehouse 50.The management project table 32 relevant with multiple PLC is to be generated according to basic enterprise planning book by manually entering, still, When being registered to management project table database 50, turn into the operand of arithmetic processing apparatus 42 as data later.
PLC structural tables editorial office 54, will be defeated using No. PLC as the 1st search key for management project table database 50 Enter the of all categories as the 2nd search key of output signal, the PLC is retrieved.Then, according to the input and output retrieved The quantity of all categories of signal, sets the quantity of input-output equipment corresponding with input/output signal, automatic edit package contains should The PLC structural tables 34 of input-output equipment in PLC.
Input/output list editorial office 56 uses corresponding with each input-output equipment for management project table database 50 2 search keys, to each input/output signal of each channel allocation of the input-output equipment, automatic editor's PLC input/output lists.
The function can be realized by performing software by arithmetic processing apparatus 42.Specifically, by filling calculation process The various processes that 42 execution PLC system specifications generate auxiliary program are put, the function can be realized.Also can be real using hardware An existing part for the function.
Management project table database 50 is a part for the storage device that information is exchanged with arithmetic processing apparatus 42.Storage dress Put in addition to management project table database 50, also be stored in the various softwares of the execution of arithmetic processing apparatus 42, and store fortune Calculate data of processing etc..Particularly storage PLC system specification generates auxiliary program.Below, PLC system specification is generated auxiliary Help program referred to as auxiliary program.Management project table database 50 stores the management project blank table 31 for not yet charging to management project With the management project table 32 registered by management project table register 52.Also, also storage editor before PLC Blank space of construction table 33, PLC structural tables 34 after being edited respectively to PLC01~PLC05.In addition, also storage editor before PLC input and output blank table 35, PLC input/output lists 36 after each input-output equipment editor respective to PLC01~PLC05.
Auxiliary program is to make list procedure, is the application program of the Excel (trade name) using Microsoft.Auxiliary program energy It is enough that character string is handled, multiple worksheets can be used in one file.Here, management project table, multiple PLC are tied Multiple worksheets of structure table editor, multiple worksheets of multiple PLC input/output lists editors are integrally used as a PLC system Specification generates file.Also, in each worksheet, the row and column or character string of cell are appointed as retrieval crucial Word, replicates the content retrieved and is pasted onto in other worksheet.
On the action effect of the servicing unit 40 of said structure, especially for each function of arithmetic processing apparatus 42, It is described in detail underneath with Fig. 3.Fig. 3 is the flow chart for the overall step for showing PLC system specification generation householder method. When starting auxiliary program in servicing unit 40, the processing (S10) of management project table registration, PLC structural tables are performed successively and is compiled Processing (S12), the processing (S14) of PLC input/output list editors collected, automatically generate the PLC system relevant with PLC system 10 and say Bright book 30.Illustrate the content for the processing (S10) that management project table is registered using Fig. 4~Fig. 7.Place on PLC structural table editors The content of (S12) is managed, PLC01 is illustrated using Fig. 8~Figure 12, the processing (S14) on PLC input/output list editors Content, is illustrated using Figure 13~Figure 16 to one of composition PLC01 input-output equipment BI.Beyond PLC01 PLC, remarks additionally in the accompanying drawing after Figure 17 to PLC03, PLC05.
Fig. 4 is the flow chart of the specific steps for the processing (S10) for showing the registration of management project table.Dynamic auxiliary is played in designer Device 40 and when opening the file of auxiliary program, servicing unit 40 is first in the display management project blank table 31 of display part 46 (S20).Fig. 5 is the figure for the view data for showing management project blank table 31.Below, by the picture number of management project blank table 31 According to referred to as management project blank table 31.Management project blank table 31 is by multiple cells as defined in multiple rows and multiple row The worksheet of arrangement.
In management project blank table 31, " the case name " of the 2nd row represents the title of PLC system 10.In Fig. 1 example In, title of building 8 etc. is set to " case name "." backbone " refers in PLC system 10 between PLC00 and PLC01~PLC05 Underlying network 26 systematic name, in the case of figure 1, the underlying network 26 of the 2nd system is set to CCL, thus in advance Charge to " CCL ".
In management project blank table 31, from 4 rows to 6 rows, arrange and arranged to K from B, in " again using number ", " management project name Claim ", " PLC innings numbers ", behind " RS board names " 6 input/output signals of configuration classification.The classification of 6 input/output signals Refer to the 2 " BOs relevant with control:Individually hair stops " and " AO:Simulation output " and the 4 " BIs relevant with monitoring:State ", “BI:Metering ", " AI:Current Voltage ", " AI-R:Resistance ".When management project table is registered in into management project table database 50, The each unit lattice of these classifications and worksheet are accordingly stored.Then, in PLC structural tables editor and PLC input and output During table editor, these classifications are used as search key when from management project table 50 searching, managing project table 32 of database.
" again using number " is the column used in the following cases:Filled out by manually entering in management project blank table 31 Each project is write, enters the deletion and addition of every trade sometimes during editorial management project table 32, then arranges and puts in order And as serial number.
" management project title " is that the controlling element of building 8 will be configured in PLC system 10 and monitors that key element is set to " pipe The title of management project during reason project " is management project name." PLC innings numbers " are the offices number for the PLC that " management project " is somebody's turn to do in processing, If PLC00 is then charged to " 00 "." RS board names " is the title for the RS plates for storing the PLC, if RS-1 then charges to " RS- 1”.At least one PLC is stored in RS plates.In the example in fig 1, a PLC is respectively all configured with to RS-1~RS-5, but It is that can also according to circumstances store the PLC of more than 2.
The column relevant with the classification of 6 input/output signals be represent by PLC processing " management project " when signal The column of classification.One signal classification is set to one " management project ".
2 " the BOs relevant with " control ":Individually hair stops " and " AO:Simulation output " is to be related to controlling element in management project When the signal that is exported from PLC to controlling element.It is " BO when the signal is binary data signal:Individually hair stops ".BO=1 It is to make the signal that the action as the controlling element of object is started, BO=0 is to make the action stopping as the controlling element of object Signal.As the example of " BO " signal be heater on-off, illumination on-off, the on-off of air-conditioning, electricity The on-off in source etc..It is " AO when the signal exported to controlling element is analog signal:Simulation output ".It is used as " AO " signal Example be the continuous variable opening and closing signal of valve, dim signal, the temperature command signal of air-conditioning etc. of illumination.
" BI ", " AI " relevant with " monitoring " is that PLC is inputted from monitoring key element when management project is related to monitoring key element Signal.It is " BI " when the signal is binary data signal, is " AI " when the signal is analog signal.
" BI " represents the state of monitoring key element, and when BI=1 represents the state that monitoring key element is being acted, BI=0 represents prison Depending on key element action stop when.Although " BI " is pulse signal, exist and carried out " metering " by counting the pulse signal Monitor key element.Such as ammeter, water meter, gas meter, flow meter.These tables measure its consumption by plectane or annulus rotation.By each One pulse of secondary rotation output carrys out count pulse number, " can measure " their consumption.In other words, ammeter, water meter, gas meter, flow meter Deng not monitored using analog signal, but monitoring is measured using umber of pulse of the pulse signal in binary " BI " 's.The column of " state " and " metering " of " BI " is the input of identical binary signal, still, and whether be used to distinguish in PLC needs Want count pulse number.In other words, if monitoring key element is " instrument " class, zero mark is charged on " metering " column, be not " instrument " During class, zero mark is charged on " state " column.
" AI " is voltage signal or current signal, and temperature is measured by measuring resistance.As described later, " AI " is in PLC In be transformed into data signal from analog signal and send PLC00 to, still, for " Current Voltage " analog signal and " resistance " Analog signal, it is different to the translation circuit of data signal.Therefore, for the classification of the input-output equipment relevant with " AI ", The input-output equipment relevant with " Current Voltage " is expressed as " AI ", the input-output equipment relevant with " resistance " is expressed as " AI-R ", so as to distinguish both.
Return to Fig. 4, when in 46 display management project blank table 31 of display part, the designer of PLC system 10 according to The relevant basic enterprise planning book of the management systems of building 8, by with the controlling element of building 8 and information that to monitor the whole of key element relevant It is input to management project blank table 31 (S22).Designer is carried out to management item on the picture of display part 46 by manually entering The input of mesh blank table 31.In the flow chart of figure 4, the step of showing to be performed by servicing unit 40 in each step with solid box, The step of picture for being shown by the dashed box designer and display part 46 is carried out by the manually input of dialogic operation.This is for aftermentioned Flow chart be also same.
On the input to management project blank table 31, filled in for a controlling element or monitoring key element on worksheet 1 row.For example, it is assumed that when the 7th row fills in a monitoring key element, the name of the monitoring key element is charged in " management project title " Claim, the office number that will handle the PLC of the monitoring key element charges to " PLC innings numbers ", the title that will store the RS plates of the PLC charges to " RS plates Title ".Then, it is determined that the classification for the signal for being input to PLC from monitoring key element is binary data signal or analog signal. When being data signal, judgement is " metering " of " BI " " state " or meters, and zero mark is charged in any column.It is being During analog signal, judgement is " Current Voltage " or temperature detection " resistance ", and zero mark is charged in any column.
To management project blank table 31 inputs multiple controlling elements, the input sequence of multiple monitoring key elements can be any , the management project table 32 of generation is submitted into owner, plate business, Program Generating business etc., thus the arrangement preferably easily to observe Inputted.One of method is to enter the information relevant with monitoring key element with whole controlling elements according to basic enterprise planning secretary first, Then changed with behavior unit and put in order and turn into the arrangement easily observed." again using number " whenever the replacing is carried out from Dynamic change, so that the beginning side of row is less numbering.
" management project " in the sum and building 8 of the quantity of RS plates, PLC quantity by designer according to " management project " Configuration state set.As an example, in the case of figure 1, the sum of " management project " is 350 (reference pictures 11) to row.8 In the case of the PLC of individual slot, if respectively ensuring the slot and standby slot of a communication, can using 6 slots as Input-output equipment is used.If using the standard device that port number is 16 as input-output equipment, the energy in a PLC Enough handle about 100 " management project ".In the case where the sum of " management project " is 350, PLC quantity needs to be 4.
RS plates can store multiple PLC, it is thus possible to store 4 PLC in RS plate, if by the RS plates and RS-0 mono- Play configuration and be configured with the BF of central monitoring device 12, then it is most short that can make network layout.On the other hand, self-configuring is for example carried out Turn into the length from 5F to BF in 5F controlling element and the signal wire of monitoring key element.The quantity of signal wire is at least " management item The quantity of mesh ", thus in the case of figure 1, add up at least 350 signal lines in the laid inside of building 8.Compare laying 350 5 network layouts of signal line and laying, in terms of the cost and from the aspect of signal transmits, particularly preferred the latter.It is therefore preferable that RS plates are dispersed in building 8 and one is not set to.So, it is considered to the setting such as the sum of " management project " and the construction of building 8 The quantity of RS plates and PLC quantity.It is set to the configuration of RS plates in Fig. 1 PLC system 10 in each layer, one is stored in each RS plates Individual PLC.
When the information relevant with all " management project " of the completion in the management project blank table 31 for be shown in display part 46 During input, S22 processing terminates.Fig. 6 shows the example of the management project table 32 manually entered.As described above " management project " Sum be 350, thus one part is illustratively shown in figure 6.Here, showing the different example of the classification of input/output signal Son.For example, showing a part for 150 " management project " that " PLC innings numbers " are 01 in the row of 7 rows~156, these management projects are complete Portion is " BI ", wherein including " state " and " metering ".The row of 157 rows~162 is one that " PLC innings numbers " are 03 " management project " Point, it is the example of " AO ".The row of 246 rows~252 is the part that " PLC innings numbers " are 05 " management project ", is the example of " AI-R " Son.
To at the end of being shown in the manually input of management project blank table 31 of display part 46, designer be shown in it is aobvious Show in " file " label of picture upper side in portion 46, pressed in the call buttons relevant with multiple groups " being registered in database " Button (S24).Fig. 7 shows multiple call buttons 64,66,68,70 in " file " label.Press wherein and " be registered in data The call buttons 64 in storehouse ".Thus, servicing unit 40 is to the additional title of management project table 32 manually entered on display part 46 And storage is registered to management project table database 50 (S26).More than, the processing (S10) of management project table registration terminates.
Fig. 8 is the flow chart for the specific steps for showing the processing (S12) of PLC structural table editors.In the registration of management project table Processing (S10) terminate state after perform S12.In order to start the processing of PLC structural table editors, designer is in the more of file " selection PLC " (S30) is clicked in individual call buttons.Specifically, click on file shown in Fig. 7 multiple call buttons 64, 66th, in 68,70 " selection PLC " 66 (clicks on 1).Thus, servicing unit 40 shows PLC Blank space of construction table 33 in display part 46 (S32).Fig. 9 is the figure for the view data for showing PLC Blank space of construction table 33.Below, by the view data of PLC Blank space of construction table 33 Referred to as PLC Blank space of construction table 33.PLC Blank space of construction table 33 and management project table 32 are same, are also by by multiple rows and multiple The worksheet of multiple cell arrangements as defined in row.The display of line number and row number is eliminated in fig .9.
PLC Blank space of construction table 33 has the basic specification columns of PLC, PLC structures column and beginning XY allocation rules, true as charging to The title bar of fixed PLC item and 3 columns for representing PLC structures.
" subsystem " in title bar is the title of the subsystem of PLC processing." system " is the connection PLC00 and PLC Underlying network systematic name.
The basic specification columns of PLC are to be configured at the table column above right side in fig .9." basic " is represented for constituting " inserting for PLC The model name of seat ", the model name of " power supply " and " slot count ".In PLC Blank space of construction table 33, " socket " is initially set It is set to " BS8 " of standard, " power supply " is initially set to " PS-S " of standard." BS8 " is the socket that slot count is 8, " PS-S " Represent the power supply that power supply capacity is standard.It is " BS8 " linkage with " socket ", " slot count " is " 8 ".Designer can be according to connecting The PLC relation to square plate is connected to, the setting beyond initial setting is altered to.For example, needing the larger " electricity of power supply capacity During source ", power supply capacity larger " PS-L " can be altered to.When thinking increase " slot count ", use and " set up 1 " column and set up " slotting Seat ", can correspondingly increase " slot count ".Although setting change can be carried out by manually entering, but it is also possible to take And instead of, next candidate is shown when clicking on " socket ", " power supply ".
It is corresponding with " slot count " set in the basic specification columns of PLC in the PLC structures column for being configured at left side in fig .9 Ground, shows " slot " of 8 rows.The classification for the equipment for being configured at each slot is charged in " classification " column, in " model name " column Charge to the title of equipment.The port number of equipment is charged in " points " column, " is starting in XY " columns and is charging to the passage pair with equipment The beginning address of " CPU " that answers." CPU " described herein refers to " CPU " shown in the PLC structural tables.
In PLC Blank space of construction table 33, as initial setting, in CPU slot configurations model name " QCPU15k " conduct " CPU " equipment, model name " QCCL " conduct " communication " equipment is configured in slot=0." Q " in these model names is integrated The meaning of circuit, " QCPU15k " represents the CPU integrated circuits that memory capacity is 15k grades." QCCL " is represented in management project table Reflect that " backbone " is " CCL " and is adaptable to the communication integrated circuit of CCL communication network in 32.The port number of " QCCL " is " 32 ", thus " points " are initially set " 32 ".In addition, when with reference to " the beginning XY allocation rules " described below, will The beginning address of " CCL " is set to " 3E0 ", thus " beginning address " relevant with " QCCL " is initially set " 3E0 ".
Designer can change the initial setting of " model name " of " CPU ".For example, in view of needing memory capacity When being set to 40k grades, " model name " change of " CCL " is set as " QCPU40k ".Although can be carried out by manually entering Setting change, but it is also possible to instead, next candidate be shown when clicking on " model name " of " CPU ".
" the beginning XY allocation rules " column for being configured at lower right-hand side in fig .9 is " CPU " corresponding with the passage of each equipment Beginning address.The model name of " CPU " is " QCPU15k ", thus according to the rule by the address of " CPU " of the model name Distribute to the passage of each equipment.Address is 16 bit bases, is needed when generating PLC program.
For example, when input-output equipment is " BO " equipment, distribution represents the address of 3 behind " Y " of output.Will beginning Address is set to 0~F0, thus distributes " BO " equipment for being configured at slot=1 the beginning address of " Y000 ".Set in input and output During for being " AI " equipment, distribution represents the address of 3 behind " X " of input.First beginning address is 300, thus to configuration " AI " equipment in slot=1 distributes the beginning address of " X300 ".
At the end of content check in PLC Blank space of construction table 33, change of initial setting if necessary etc., designer presses The Next button in the picture corner (not shown) for being shown in display part 46 in Fig. 9.Thus, auxiliary program enters next place Step is managed, the selecting switch into PLC innings numbers is shown (S34) in fig. 8.
In S34, servicing unit 40 shows the view data of the selecting switch of PLC innings numbers in the picture of display part 46. In Fig. 10, as display PLC innings numbers selecting switch view data example, selecting switch image 80 is shown.Show herein Show " 00 "~" 05 " of PLC innings numbers, but with halftoning shows the content of reflection management project table 32 and in management project table 32 In " 00 " that does not occur so that can not select.As PLC innings numbers selections (S36), when selecting PLC01, designer presses " 01 " Selecting switch.Thus the selection of PLC innings numbers is carried out, therefore, designer, which presses, (not shown) in Figure 10 is shown in display part 46 Picture corner Next button.
Thus, auxiliary program enters next process step, and in fig. 8, servicing unit 40 is managed project table data The retrieval (S38) in storehouse 50, servicing unit 40 is according to each input/output signal classification management of computing item number (S40).In this place Manage in step, management project table 32 is read from management project table database 50, using PLC innings numbers=01 as the 1st search key, Using the of all categories as the 2nd search key of input/output signal, the number of all categories of input/output signal is calculated PLC01 Amount.In the picture that the result calculated is shown in display part 46.
As reference, in whole PLC innings numbers, according to each input/output signal classification, figure 11 illustrates each input The result of calculation of the quantity of output signal.Figure 11 longitudinal axis is PLC innings numbers and its related information, and Figure 11 transverse axis is input and output The classification of signal is " BO ", " AO ", " BI ", " AI ", " AI-R "." BO ", " AO ", " BI " are the F row of Fig. 6 management project table 32 " BO ", " AO ", " BI " of~I row, " AI " is J row " AI:Supply voltage ", " AI-R " is K row " AI:Resistance ".
Describe the example that the quantity of input/output signal is calculated.As first case, in PLC01, in order to calculate " BI " Signal number, using PLC innings numbers=01 as the 1st search key, using input/output signal=" BI " as the 2nd search key, Retrieve Fig. 6 management project table 32.As a result, cell number=150 of hit, thus " BI " is calculated in PLC01 Signal number is 150.As second case, in PLC03, in order to calculate the signal number of " AO ", the 1st inspection is used as using PLC innings numbers=03 Rope keyword, using input/output signal=" AO " as the 2nd search key, retrieves Fig. 6 management project table 32.Its result It is, cell number=12 of hit, thus it is 12 to calculate in PLC03 the signal number of " AO ".As the 3rd, in PLC05 In, in order to calculate the signal number of " AI-R ", using PLC innings numbers=05 as the 1st search key, by input/output signal=" AI- R " retrieves Fig. 6 management project table 32 as the 2nd search key.As a result, cell number=10 of hit, thus meter The signal number for calculating in PLC05 " AI-R " is 10.
In Fig. 10, PLC innings numbers=01 is selected, thus shows in the picture of display part 46 Figure 11 PLC01 calculating As a result a part.When observing the result, " BI "=150, other " BO ", " AO ", " AI ", " AI-R " they are entirely that input is defeated Go out quantity=0 of signal.Designer carries out the confirmation of the result, presses the Next button on picture.Thus, auxiliary program Into next process step, in fig. 8, the setting (S42) of input-output equipment is entered with reference to input-output equipment list.
Input-output equipment list be by with the classification of input/output signal i.e. " BO ", " AO ", " BI ", " AI ", " AI-R " The model name of corresponding input-output equipment is included in the table in table respectively.Standard type is the equipment in port number=16 In, " BO " and " BI " has port number=32,64.The input-output equipment of analog signal includes analog digital converter or number Word analogue converter, consequently only that port number=16.Below, as the model name of input-output equipment, for " BO " and The item name and port number of input/output signal are combined by " BI ", be expressed as " BO16 ", " BO32 ", " BO64 ", “BI16”、“BI32”、“BI64”.Also, for " AO ", " AI ", " AI-R ", it is expressed as and input/output signal identical “AO”、“AI”、“AI-R”。
In S42, servicing unit 40 carries out the setting of input-output equipment according to the following steps.First, reference picture 11 By " BO ", " AO ", " BI ", " AI ", " AI-R " input/output signal number divided by 16, obtain " BO ", " AO ", " BI ", " AI ", The quantity of " AI-R " respective input-output equipment.In PLC01, the quantity of relevant input-output equipment is with " BI " (150/16)=9.375, quantity=0 of the input-output equipment relevant with other input/output signals, thus PLC01 needs The classification and its quantity of input-output equipment are that " BI " is 10.
When obtaining the sum of input-output equipment of needs, by the sum with input and output can be distributed in PLC The slot count of equipment is compared.In the case of PLC01, can distribute to input-output equipment is slot=1~slot =6 this 5.When result of the comparison is (slot count that can be distributed) >=(sum of the input-output equipment needed), according to Each input-output equipment of order-assigned of slot=1~slot=6.It is (slot count that can be distributed) in result of the comparison<(need The sum for the input-output equipment wanted) when, for " BO ", " BI ", determine whether to be applicable the defeated of 32 port numbers or 64 port numbers Enter output equipment.In the case of PLC01, due to (slot count that can be distributed)<(sum of the input-output equipment needed), Therefore, determine whether to be applicable " BI32 " of 32 passages first for " BI ".When being applicable " BI32 ", (input and output needed are set Standby sum)=(150/32)=4.6875, thus " BI32 " need to be 5.It is being set to (slot count that can be distributed)=6 When being compared, (slot count=6 that can be distributed)>(sum=5 of the input-output equipment needed).But, as standby And the slot count prepared is (6-5)=1 slot.When standby slot number is set as into " 2 " in advance, (the slot that can be distributed Number)=4, even if thus be applicable " BI32 ", be also (slot count=4 that can be distributed)<(the sum of the input-output equipment needed =5).Therefore, then determine whether to be applicable " BI64 ".In this case, (sum of the input-output equipment needed)= (150/64)=2.34375, thus " BI32 " is 3.Now, (slot count=4 that can be distributed)>(input needed is defeated Go out the sum of equipment=3).As a result, " BO64 " is set as into 3 for PLC01 input-output equipment.
The setting procedure of above-mentioned input-output equipment be only intended to explanation example, in addition the step of, only Use and expect number the need for the standby slot count that can be distributed, each input-output equipment of result of calculation based on Figure 11 With the list of input-output equipment.
When carrying out the setting of input-output equipment in S42, servicing unit 40 is carried out to PLC Blank space of construction table 33 accordingly The distribution (S44) of input-output equipment.In the case of PLC01, " BI64 " is distributed respectively to slot=01~slot=03.So Afterwards, with reference to " beginning XY allocation rules ", the beginning XY addresses of BI equipment are " X100 ", thus " BI64 " of slot=01 is distributed The beginning XY addresses of " X100 ".For " BI64 " of slot=02, " 20 " of 16 bit statement corresponding with 64 passage amounts of staggering And " X140 " is distributed, distributed " X180 " for " BI64 " of slot=03, " 20 " of the 64 passage amounts that further stagger.
The result being allocated is shown in the picture of display part 46 by servicing unit 40 as the PLC structural tables 34 after editor (S46), and store arrive management project table database 50.Thus, the process step of PLC structural tables editor terminates.
In above-mentioned example, the editor of the PLC structural table 34 relevant with PLC01 terminates, be then able to carry out with it is other The editor of PLC structural tables 34 relevant PLC02~PLC05.In this case, S12 is returned to, is repeated from S30 Process step.Instead, also can after the editor of the PLC structural table 34 relevant with PLC01 terminates, continue for The input-output equipment edited in PLC01 PLC structural tables 34 carries out PLC input/output lists editor (S14).Below, explanation is pressed Method according to the latter carries out the PLC input/output list editor relevant with the input-output equipment in PLC01 PLC structural tables 34 (S14) the step of when.
Figure 13 is the flow chart for the specific steps for showing the processing (S14) of PLC input/output list editors.In PLC structural tables S14 is performed after the state that the processing (S12) of editor terminates.In order to start the processing of PLC input/output list editors, designer's point " input/output list generation " (S50) hit in multiple call buttons of file.Specifically, file illustrated in fig. 7 is clicked on Multiple call buttons 64,66,68,70 in " input/output list generation " 68 (click on 2).Thus, auxiliary program enters next Individual process step, the selecting switch that input-output equipment is entered in fig. 13 is shown (S52).
In S52, the image of the selecting switch of display input-output device in the picture of display part 46 of servicing unit 40 Data.As the example of the view data of the selecting switch of display input-output device, selecting switch image 84 is shown in Figure 14. It is shown in the left side of selecting switch image 84 being selected in the selecting switch image 80 of PLC innings number illustrated in fig. 10 The part of PLC innings numbers.Here, the result of reflection PLC structural tables editor (S12), display " 01 " is used as the PLC offices being selected Number.The right side of selecting switch image 84 is the image for selecting input-output equipment.Here, the class of display input-output device It is not " BO ", " AO ", " BI ", " AI ", " AI-R ".As being illustrated in Figure 12, in PLC01, input-output equipment is only Having " BI64 ", this is a kind of, thus designer's selection " BI ", presses the selecting switch of " BI ".Thus, input-output equipment is carried out Select (S54).
At the end of the selection of input-output equipment, designer presses the picture (not shown) for being shown in display part 46 in Figure 14 The Next button in face angle portion.Thus, auxiliary program enters next process step, and in fig. 13, servicing unit 40 is carried out PLC input and output blank tables are shown (S56).
As shown in PLC01 PLC structural tables 34, " BI64 " has 3, is respectively arranged at 1~slot of slot 3.Therefore, aobvious Show the view data of 3 PLC input and output blank tables 35 of the overlapping display in portion 46.Figure 15 is the 1st PLC input and output blank table 35 View data, be related to " BI64 " for being configured at slot 1.Below, the view data of PLC input and output blank table 35 is referred to as PLC input and output blank table 35.PLC input and output blank table 35 and management project table 32, PLC structural tables 34 are same, be also by The worksheet of multiple cell arrangements as defined in multiple rows and multiple row.The aobvious of line number and row number is eliminated in fig .15 Show.
PLC input and output blank table 35 has the title bar for charging to the item for determining the PLC and shows that the input and output are set The input/output information column of standby input/output information.Title bar reflects the record of the PLC structural table 34 relevant with PLC01, case Part name, subsystem, system, office number, board name directly turn to remember the record of PLC structural tables 34 automatically.
Input/output information column is to show the input-output equipment i.e. terminal of " BI64 " and relevant with the PLC i.e. PLC01 Controlling element or monitoring key element between relation relation table.Controlling element and monitoring key element are used in management project table 32 Management project title is represented, thus input/output information column shows the input-output equipment i.e. terminal and management project of " BI64 " Relation between title.Plate business and Program Generating business are according to such input relevant with each input-output equipment in each PLC The information on output information column, carries out the making of various plates and the generation of PLC program.
Positioned at the marge on input/output information column " model name ", " slot number " and " beginning XY " charge to and the input Output equipment is " BI64 " relevant basic item.On its content, when selecting the input-output equipment, in PLC structural tables Directly turn note record corresponding with the input-output equipment in 34 PLC structures column.In above-mentioned example, " model name " from Dynamic to turn note " BI64 ", " slot number " turns note " 1 " automatically, and " beginning XY " turns note " 0100 " automatically.
" the pin number " on input/output information column is the terminal number of the input-output equipment." CH " is that the input and output are set The channel number of standby i.e. " BI64 "." address " is " CPU " the i.e. address of " QCPU15k " in the PLC." title " is management project table " management project title " in 32.The standard type of input-output equipment is 16 passages, and terminal is 20 terminals, thus in standard " pin number " is recorded in PLC input and output blank table 35 in advance to 20, " CH " is recorded to 16." BI64 " is 64 passages, thus Passage " 1 "~passage " 64 " is recorded to " CH " in advance in PLC input and output blank table 35, " pin number " recorded in advance The terminal number of " 1 "~" 80 ".Also, " beginning XY " is " 0100 ", in advance to " address " record " X100 "~" X13F " for reflection. Show that part thereof of " pin number " arrives " 1919 " in Figure 16, " CH " is arrived " 34 ", address to " X121 ".
Because " pin number " " 1B04 "~" 1B01 " etc. is vacant, thus designer can use these pins to install The common terminal of power supply.For example, the common terminal of PLC01 power supply can be set as COM1, vacant pin number is set COM1.At the end of content check, necessary additional setting in PLC input and output blank table 35 etc., designer is pressed in Figure 16 The Next button in the picture corner (not shown) for being shown in display part 46.Thus, picture of the servicing unit 40 in display part 46 The view data of label screen illustrated in fig. 7 is shown in face.
Designer clicks on " input/output signal distribution " (S58) of the call buttons of file.Specifically, Fig. 7 is clicked on " input/output signal distribution " 70 (clicking on 3) in multiple call buttons 64,66,68,70 of the file of middle explanation.
Thus, auxiliary program enters next process step, and in fig. 13, servicing unit 40 is managed project table data The retrieval (S60) in storehouse 50, servicing unit 40 for the PLC the input-output equipment, to PLC input and output blank table 35 successively Distribute input/output signal (S62).The process step is performed according to the following steps.
First, management project table 32 is read from management project table database 50.Then, it is used as the 1st inspection using PLC innings numbers=01 Rope keyword, by the classification of the corresponding input/output signals of model name i.e. " BI64 " of the input-output equipment with selecting i.e. " BI " is extracted " management project title " successively as the 2nd search key according to the order of line number from small to large.
Then, for multiple " the management project titles " that extract, " duplication " line number minimum " management project title ", and " stickup " is in " title " of " CH "=1 of PLC input and output blank table 35.In Fig. 6 management project table 32, at PLC innings Number=01, in management project title corresponding with " BI ", the management project title of minimum line number=7 is " low temperature PACACP State ".Therefore, it is automatic " duplication " portion of management project table 32 from worksheet using " replicating & to paste " function of making list procedure Point, and " stickup " is in " title " of " CH "=1 of PLC input and output blank table 35 in other worksheet automatically.Then, for Multiple " the management project titles " extracted from management project table 32, according to the order of line number from small to large automatic " duplication " " pipe Manage project name ", and according to the order of " CH " number from small to large automatic " stickup " PLC input and output blank table 35 " title " In column.In addition, for " BI ", in management project table 32, " the management project of circles mark will be attached with to " metering " of " BI " Title ", the automatic note that turns is in the adjacent " class signal in corresponding " title " column of PLC input and output blank table 35 together with " metering " Not " in column.So, servicing unit 40 carries out PLC to PLC input and output blank table 35 successively automatic distribution input/output signal Input/output list editor simultaneously shows its result (S64).
Figure 16 shows the PLC input and output after editor for first PLC innings numbers=01, input-output equipment=" BI64 " Table 36a.In Fig. 6 management project table 32, relevant " management project title " shows 7 row~25 with PLC innings numbers=01, " BI " OK, for the row of wherein 16 rows~22, " metering " to " BI " is attached with circles mark.Correspondingly, by Fig. 6 management project table " the management project title " of the row of 32 7 rows~25 directly turns to remember " CH "=1~19 in Figure 16 PLC input/output lists 36a " title " on.Also, in " signal classification " column of " CH "=10~16 in Figure 16 PLC input/output lists 36a, reflection Circles mark in " metering " of the row of 16 rows of Fig. 6 management project table 32~22, is recited as " measuring ".So, Fig. 7 is merely clicked on " input/output signal distribution " 70, the content of management project table 32 be the automatic note that turns in PLC input/output lists 36a, go forward side by side Row PLC input/output lists 36a editor.
So far, the editor of the PLC structural table 34 relevant with PLC01, configuration PLC01 slot=1 " BI64 " PLC Input/output list 36a editor terminates.Figure 17 is the flow chart for showing the later step that servicing unit 40 is carried out.In S66, Judge " whether having been completed to fully entering output equipment ".In above-mentioned example, on PLC01, do not complete with being respectively configured In the relevant PLC input/output lists 36 of slot=2,3 " BI64 ".Therefore, S66 judgement is negative, therefore " returns to B " (S68)。
" initial step that B " refers to return to PLC input and output editor (S14) is returned, Figure 13 S50 is thereby returned to. Here, servicing unit 40 in the selection (S52) of input-output equipment option and installment slot=2 " BI64 ", and carry out with Step afterwards, thus, PLC input/output list 36 of editor's configuration at " BI64 " of slot=2.Therefore, it is being again introduced into S66 When, because the relevant PLC input/output lists 36 of " BI64 " with configuration in slot=3 are not yet completed, thus S66 judgement is no It is fixed, into S68, again return to S50.Here, option and installment is in slot=3 in the selection (S52) of input-output equipment " BI64 ", and later step is carried out, thus, PLC input/output list 36 of editor's configuration at " BI64 " of slot=3.Therefore, When being again introduced into S66, for the fully enter output equipment relevant with PLC01, the editor of PLC input/output lists 36 terminates, Thus S66 judgement is affirmative, can enter S70.
In S70, whether servicing unit 40 judges " having been completed to whole PLC innings numbers ".It is only right in above-mentioned example PLC01 complete PLC structural tables 34 editor and PLC input/output lists 36 editor, still, for other PLC02~ The editor of PLC05, PLC structural table 34 and the editor of PLC input/output lists 36 do not complete.Therefore, S70 judgement is negative, " return to A " (S72).
" initial step that A " refers to return to PLC structural tables editor (S12) is returned, Fig. 8 S30 is thereby returned to.Cause This, above-mentioned steps are repeated to PLC02~PLC05 respectively.The explanation of its details is to repeat, thus is omitted, and is used Figure 18~Figure 21 illustrates " AO " and " AI-R " of input-output equipment.
Figure 18 is the PLC structural table 34c relevant with PLC 03.The classification of PLC 03 input-output equipment is as shown in figure 11 It is " AO ", " BI ", " AI ", " AI-R " this 4, input/output signal number is that " AO ", " AI ", " AI-R " are that less than 16, " BI " is Less than more than 16 32.Accordingly, servicing unit 40 for PLC03, is set in PLC structural tables editor (S12) as input and output It is standby, " AO " is configured in slot=1, " BI32 " is configured in slot=2, configures " AI " in slot=3, configure " AI- in slot=4 R ", so as to edit PLC structural tables 34c.
Figure 19 is the PLC input/output list 36c relevant with " AO " of slot=1.Here, in Fig. 6 management project table 32 In, PLC innings numbers=03, input-output equipment=" AO " is retrieved as search key.In Figure 19, show " CH "= " title " of 1~" CH "=6 be " the management project title " of " duplication " Fig. 6 row of 157 rows~162 and directly " stickup " and obtain 's.
Figure 20 is the PLC structural table 34e relevant with PLC 05.The classification of PLC 05 input-output equipment is as shown in figure 11 It is " BO ", " AO ", " BI ", " AI-R " this 4, input/output signal number is that " BO ", " AO ", " AI-R " are that less than 16, " BI " is Less than more than 16 32.Accordingly, in PLC05 PLC structural tables editor (S12), as input-output equipment, match somebody with somebody in slot=1 " BO16 " is put, " AO " is configured in slot=2, " AI-R " is configured in slot=3,4 configurations " BI16 ", in slot=5, so as to edit PLC structural tables 34c.
Figure 21 is the PLC input/output list 36e relevant with " AI-R " of slot=5.Here, in Fig. 6 management project table In 32, PLC innings numbers=05, input-output equipment=" AI " " resistance " is retrieved as search key.In figure 21, show " title " for going out " CH "=1~" CH "=7 is " the management project title " of " duplication " Fig. 6 row of 246 rows~252 and directly " viscous Obtained from patch ".
So, in the editor for all terminating PLC structural tables 34 to PLC01~PLC05 and the editor of PLC input/output lists 36 When, servicing unit 40 is printed out using output section 48, thus completes PLC system specification 30.
Servicing unit 40 is generated according to PLC system specification, the pipe generated in registration by the manually input of designer When managing project table 32, only pass through and click on 1~3 this 3 times clicks, you can the editor that whole PLC carried out with PLC structural tables 34 automatically and The editor of PLC input/output lists 36.Thereby, it is possible to carry out in a short time the PLC structural table relevant with whole PLC editor and The editor of PLC input/output lists, and can suppress to turn to misremember mistake etc..

Claims (7)

1. a kind of PLC system specification generation servicing unit for aiding in generating the specification of PLC system, PLC system control is set Overall in multiple PLC in facility, the PLC system specification generation servicing unit has:
Management project table register, its by with PLC system integrally relevant multiple management projects respectively with recognizing the multiple PLC In No. PLC of each PLC and multiple classifications of the input/output signal relevant with management project be registered in pipe in association Manage in project table database;
PLC structural tables editorial office, it is for each PLC in multiple PLC, using No. PLC of the PLC as the 1st search key, Using multiple classifications of input/output signal as multiple 2nd search keys, retrieved in management project table database defeated Enter the management project of each classification of output signal, according to the management project of each classification of the input/output signal retrieved Quantity, sets the quantity of each classification of input-output equipment corresponding with the classification of input/output signal, and automatic edit package contains The device structure of input-output equipment in the PLC;And
Each classification in input/output list editorial office, its classification for multiple input-output equipment, in management project table number The classification of the input-output equipment in the 2nd search key is used to be retrieved according in storehouse, will be defeated with the input that retrieves The corresponding multiple management projects of classification for going out equipment are sequentially allocated each passage to the input-output equipment, and the input is edited automatically The input/output signal table of output equipment.
2. PLC system specification according to claim 1 generates servicing unit, wherein,
Management project table register shows multiple classifications that the longitudinal axis takes management project, transverse axis to take No. PLC and input/output signal Blank manages project table, obtains No. PLC of each management project inputted by data input person and the classification of input/output signal, It is overlapping to be written in blank management project table, the management project table of overlapping write-in is registered in management project table database.
3. PLC system specification according to claim 1 or 2 generates servicing unit, wherein,
The classification of input/output signal is digital input signals, digital output signal, analog input signal and simulation output letter Number.
4. PLC system specification according to claim 3 generates servicing unit, wherein,
The classification of analog input signal is the input signal and the input signal of pulsimeter value of electric current and voltage.
5. PLC system specification according to claim 1 generates servicing unit, wherein,
Input-output equipment in the PLC is to meet the management project with each classification of the input/output signal in the PLC The more than one input-output equipment of the corresponding port number of quantity.
6. PLC system specification according to claim 2 generates servicing unit, wherein,
Input/output list editorial office puts in order according to the management project of the longitudinal axis of the management project table database of overlapping write-in, Management project is sequentially allocated according to the channel number order from small to large of the input-output equipment.
7. a kind of PLC system specification generation servicing unit for aiding in generating the specification of PLC system, PLC system control is set It is overall in multiple PLC in facility,
The PLC system specification generation servicing unit is made up of the computer comprising management project table database, in the management In project table database, by with PLC system integrally relevant multiple management projects respectively with recognizing each in the multiple PLC Multiple classifications of No. PLC of PLC and the input/output signal relevant with management project are stored in association,
Computer performs following process step:
For each PLC in multiple PLC, using No. PLC of the PLC as the 1st search key, by many of input/output signal Individual classification retrieves each class of input/output signal respectively as multiple 2nd search keys in management project table database Other management project, according to the quantity of the management project of each classification of the input/output signal retrieved, setting is defeated with inputting Go out the quantity of each classification of the corresponding input-output equipment of classification of signal, automatic edit package contains the input and output in the PLC The device structure of equipment;And
For each classification in the classification of multiple input-output equipment, closed in management project table database using the 2nd retrieval The classification of the input-output equipment in key word is retrieved, and the classification of the input-output equipment with retrieving is corresponding more Individual management project is sequentially allocated each passage to the input-output equipment, and the input and output letter of the input-output equipment is edited automatically Number table.
CN201710227710.1A 2016-04-13 2017-04-10 PLC system specification generation assisting device Active CN107291793B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-080143 2016-04-13
JP2016080143A JP6203321B1 (en) 2016-04-13 2016-04-13 PLC system specification creation support device

Publications (2)

Publication Number Publication Date
CN107291793A true CN107291793A (en) 2017-10-24
CN107291793B CN107291793B (en) 2022-01-11

Family

ID=59969464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710227710.1A Active CN107291793B (en) 2016-04-13 2017-04-10 PLC system specification generation assisting device

Country Status (2)

Country Link
JP (1) JP6203321B1 (en)
CN (1) CN107291793B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114730167A (en) * 2019-11-18 2022-07-08 三菱电机株式会社 PLC system construction auxiliary program, operation terminal readable storage medium, and PLC system construction auxiliary device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110989486B (en) * 2019-12-20 2021-09-07 广东利元亨智能装备股份有限公司 Interaction method of upper computer and PLC
JP6779418B1 (en) * 2020-01-20 2020-11-04 三菱電機株式会社 Design support equipment, design support methods and design support programs

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5056001A (en) * 1989-12-20 1991-10-08 Ge Fanuc Automation North America, Inc. Method for configuring an input/output module coupled to a programmable logic controller
US20140129550A1 (en) * 2012-11-06 2014-05-08 Rockwell Automation Technologies, Inc. Content management
CN104797993A (en) * 2012-11-22 2015-07-22 三菱电机株式会社 System-building assistance device
CN105354179A (en) * 2015-11-02 2016-02-24 武汉钢铁(集团)公司 Coke dry quenching report generation method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05216511A (en) * 1992-02-04 1993-08-27 Yaskawa Electric Corp Data processor
JP3297099B2 (en) * 1992-11-30 2002-07-02 株式会社東芝 I / O signal assignment device
JPH09282261A (en) * 1996-04-09 1997-10-31 Fuji Electric Co Ltd Automatic allocating device for process input/output
JP4362777B2 (en) * 2004-11-22 2009-11-11 株式会社安川電機 Programming device, symbol automatic registration method, program, and recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5056001A (en) * 1989-12-20 1991-10-08 Ge Fanuc Automation North America, Inc. Method for configuring an input/output module coupled to a programmable logic controller
US20140129550A1 (en) * 2012-11-06 2014-05-08 Rockwell Automation Technologies, Inc. Content management
CN104797993A (en) * 2012-11-22 2015-07-22 三菱电机株式会社 System-building assistance device
CN105354179A (en) * 2015-11-02 2016-02-24 武汉钢铁(集团)公司 Coke dry quenching report generation method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114730167A (en) * 2019-11-18 2022-07-08 三菱电机株式会社 PLC system construction auxiliary program, operation terminal readable storage medium, and PLC system construction auxiliary device
CN114730167B (en) * 2019-11-18 2023-06-27 三菱电机株式会社 PLC system construction auxiliary program, operation terminal readable storage medium, and PLC system construction auxiliary device

Also Published As

Publication number Publication date
JP6203321B1 (en) 2017-09-27
CN107291793B (en) 2022-01-11
JP2017191429A (en) 2017-10-19

Similar Documents

Publication Publication Date Title
CN102782689B (en) system and method for automated building services design
CN100368987C (en) Editing device and storage medium for storage editor program
US8180727B2 (en) Method and apparatus for navigating modeling of a building using nonparametric user input building design data
CN104133953B (en) Intelligent substation secondary design system
US7552024B2 (en) Circuit board diagnostic operating center
CN107291793A (en) PLC system specification generates servicing unit
CN1790327B (en) System and method for interactively linking data shapes in a diagram
CN107710241A (en) Distributed large-scale information processing system is arrived in one-touch debugging and push renewal
CN105302954A (en) Multiplayer online intelligent transformer substation design system
CN104025096B (en) Installation guide system for air conditioner and method of using the same
CN107153749A (en) A kind of satellite matrix cable junctions design tool and design method
CN114006312A (en) BIM-based cable laying method
CN110414172A (en) A kind of dynamic model configuration monitoring management method and system
CN114048715A (en) Substation work ticket issuing system and construction method and operation method thereof
JP2022163323A (en) Design data generation device and design data generation method
CN109522625B (en) WEB-based satellite low-frequency measurement and control signal cable contact design method
JP2002024301A (en) Method and device for generating and editing parts constitution and computer-readable recording medium with parts constitution generating and editing processing program recorded thereon
CN112686633B (en) Intelligent ticket simulating method
TWM606123U (en) Computer system for generating project field inspection form based on relational database
Mudge et al. A VLSI chip assembler
CN114880891B (en) Intelligent power distribution network construction system and method based on standard digital model
JPH064539A (en) Patrol support system
JPH07199796A (en) Method and device for designing connection wire between equipment and programable controller
Ying A Computer Aided Wiring Scheme for Intelligent Building
WO2019163658A1 (en) Production structure evaluation/verification system and production structure evaluation/verification method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant