CN107533321B - System development device, program developing method and exploitation program - Google Patents

System development device, program developing method and exploitation program Download PDF

Info

Publication number
CN107533321B
CN107533321B CN201580078550.8A CN201580078550A CN107533321B CN 107533321 B CN107533321 B CN 107533321B CN 201580078550 A CN201580078550 A CN 201580078550A CN 107533321 B CN107533321 B CN 107533321B
Authority
CN
China
Prior art keywords
program
instrument
user
development device
described program
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.)
Active
Application number
CN201580078550.8A
Other languages
Chinese (zh)
Other versions
CN107533321A (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
Publication of CN107533321A publication Critical patent/CN107533321A/en
Application granted granted Critical
Publication of CN107533321B publication Critical patent/CN107533321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • 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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

System development device (500) includes configuration file storage unit (560), its to profile data (561,562 ..., 56m) keep, the profile data (561,562 ..., 56m) the solid identification information comprising factory automation instrument (502) and the factory automation instrument be greater than or equal to 1 procedural information;Process choosing portion (513) receives the procedural information selected by user;Configuration file transformation component (540), generated based on the procedural information selected program element (551,552 ..., 55n);And program element storage unit (550), described program component is stored.

Description

System development device, program developing method and exploitation program
Technical field
The present invention relates to used in the field of factory automation (Factory Automation: hereinafter, referred to as FA) System development device, program developing method and exploitation program.
Background technique
FA system connect with diversified instrument and is constituted.Need to carry out each instrument the setting of parameter, parameter Setting range is different for each instrument.Therefore, user carries out the setting for each instrument.As to for each The mechanism that the setting range of the parameter of instrument is defined is provided with the technology (patent document 1,2) using configuration file.Configuration File is created and is provided a user by apparatus manufacturer.In configuration file, in addition to movement standards and the communication setting letter of instrument Except breath, the procedural information of the processing carried out for instrument is also recorded.System development device is using configuration file and to system The instrument on development device is showed, and realizes processing corresponding with the instrument.
Patent document 1: Japanese Unexamined Patent Publication 2013-257685 bulletin
Patent document 2: Japanese Unexamined Patent Publication 2014-16753 bulletin
Summary of the invention
In the past, in order to for instrument and executed processing, user on one side be referred to handbook class, while create program, for It is bad at for the user of programming, the creation of program is difficult.
In addition, in the case where having used configuration file, in order to which the processing recorded in configuration file is held for instrument Row, needs the operation of user, it is desirable that repeating same treatment for instrument, user will carry out above-mentioned many times Operation, thus it is troublesome, for a user, bother.
The present invention is exactly to propose in view of the foregoing, its object is to obtain it is a kind of can save the cumbersome of user and Instrument is set to repeat the system development device of same treatment.
It in order to solve above-mentioned problem and achieves the goal, the present invention includes configuration file storage unit, to configuration file number According to being kept, the profile data include factory automation instrument solid identification information and factory automation instrument it is big In or equal to 1 procedural information;Process choosing portion receives the procedural information selected by user.The present invention also includes configuration File transformation component generates program element based on the procedural information selected;Program element storage unit, to program element into Row storage;And program editor function part, there is the instruction based on user, program element is inserted into description and executes weight The function of the program handled again.
The effect of invention
System development device according to the present invention has following effects, that is, can save the cumbersome of user and make instrument Repeat same treatment.
Detailed description of the invention
Fig. 1 is one for indicating not using the structural outline of the system development device of configuration file involved in embodiment The figure of example.
Fig. 2 is the figure for indicating the hardware configuration of system development device and display unit involved in embodiment.
Fig. 3 is the componentization of the program in the system development device indicated without using configuration file involved in embodiment The flow chart of one example of the sequence of processing.
Fig. 4 is an example for indicating the structural outline of the system development device using configuration file involved in embodiment The figure of son.
Fig. 5 is the figure for showing schematically an example of structure for configuration file involved in embodiment.
Fig. 6 is the sequence for indicating to handle using the process of the configuration file in system development device involved in embodiment An example flow chart.
Fig. 7 is the figure for indicating instrument assigned picture involved in embodiment.
Fig. 8 is the figure for indicating an example of the execution selection picture handled involved in embodiment.
Fig. 9 is the knot for indicating to generate the system development device of program element based on configuration file involved in embodiment The figure of one example of structure summary.
Figure 10 is one of the sequence for indicating that the program elementization in system development device involved in embodiment is handled The flow chart of example.
Figure 11 is the figure for indicating the optional window of program element involved in embodiment.
Figure 12 is the figure for indicating an example of the execution selection picture handled involved in embodiment.
Figure 13 be indicate program elementization involved in embodiment processing in conversion process result confirmation screen one The figure of a example.
Figure 14 is the sequence for indicating the use processing of the program element in system development device involved in embodiment The flow chart of one example.
Figure 15 is the figure of an example of the picture for indicating that program editor function part is shown involved in embodiment.
Specific embodiment
In the following, to system development device, program developing method involved in embodiments of the present invention and being opened based on attached drawing Hair program is described in detail.In addition, the present invention is not limited to present embodiments.
Embodiment
Fig. 1 is the figure for indicating an example of structural outline for the system development device 100 without using configuration file.Scheming FA system 1 comprising system development device 100 is shown in 1.FA system 1 includes system development device 100, is that FA engineering is set Counter device;PLC 101 is programmable logic controller (PLC) (Programmable Logic Controller:PLC);Instrument A 102, it is FA instrument;And display unit 103, it is the display with monitor.System development device 100 via network into The capable communication with PLC 101 and instrument A 102.In addition, being connected with the display shown to information in system development device 100 Portion 103.
System development device 100 includes picture management department 110, shows and is managed to the picture of display unit 103;System System communication unit 120, carries out the communication process of system development device 100;Program transformation portion 130 gives birth to according to program data At program element 141,142 ..., 14n;And program element storage unit 140, to program element 141,142 ..., 14n into Row storage.
Fig. 2 is the figure for indicating the hardware configuration of system development device 100 and display unit 103.System development device 100 and aobvious Show that portion 103 is realized by the hardware configuration of the information processing unit 10 of Fig. 2.Information processing unit 10 can be such as personal The information processing terminal as computer or general purpose computer, but not limited to this.Information processing unit 10 includes such as Carry out arithmetic unit 11 as the CPU (Central Processing Unit) of calculation process;Memory 12, by operation Device 11 is used as working region;Storage device 13 stores exploitation program;Input unit 14 is between user Input interface;Display device 15 shows information to user;And communication device 16, there is the communication function with PLC 101 Energy.Exploitation program is the executable program of computer, and is for executing information processing unit 10 by system development device 100 The program of the program developing method of implementation.
The function in picture management department 110 and program transformation portion 130 is by being executed by arithmetic unit 11 in storage device 13 The exploitation program of middle holding and realize.The function of program element storage unit 140 is by memory 12 or storage device 13 It realizes.The function in system communication portion 120 is realized by communication device 16.The function of display unit 103 is filled by display Set 15 realizations.
Picture management department 110 be with display unit 103 being controlled and is shown the picture display part of the function of picture, and Instrument specifying part 111 is included, the structure chart of display unit 103 display system entirety is made;And program editor function part 112, Its program editing for receiving user.
Instrument specifying part 111 includes the function for making system integrally be used as structure chart and being graphically shown in display unit 103 Energy creates in structure chart and specifies the setting of going out by user by the function of the specified apparatus structure out of user, for instrument setting The function of value and the function of showing that instrument assigned picture in display unit 103.
Program editor function part 112 includes the function that user can edit program in system development device 100 The function that, program element can be created and the function of making display unit 103 show program.In addition, program editor function Portion 112 there is the instruction based on user and by the program element 141 stored in program element storage unit 140,142 ..., 14n The function being inserted into program.
The communication process of the execution of system communication portion 120 system development device 100.Specifically, system communication portion 120 will be all The data as setting value are communicated with instrument A 102.
Program transformation portion 130 have following function, that is, obtained using the function of program editor function part 112 by with The data are transformed to program element by the data for the program that family is created that.
Program element storage unit 140 have to program element 141,142 ..., the function that is stored of 14n.
In the following, specifically being said to the componentization of the program in the system development device 100 for not using configuration file It is bright.
Apparatus manufacturer manufactures instrument A 102.Exploitation of the exploitation manufacturer of software to system development device 100 is equipped on Program is manufactured.Moreover, the user of instrument A 102 and system development device 100 are had purchased, in order to hold for instrument A 102 Row processing, the service manual of one side reading system development device 100 on one side investigate the process for instrument A 102, right Program element 141,142 ..., 14n created.Program element 141,142 ..., 14n created sometimes by apparatus manufacturer and It is supplied to user.System development device 100 by using the program element 141 being created that, 142 ..., 14n, so as to make Instrument A 102 executes processing.
Fig. 3 is indicated not using the sequence of the componentization processing of the program in the system development device 100 of configuration file An example flow chart.The processing on the right side of the flow chart of Fig. 3 shows the processing of user, and the processing in left side shows system and opens The processing of transmitting apparatus 100.The processing of system development device 100 is kept in storage device 13 by being executed by arithmetic unit 11 Exploitation program and what the program developing method that is carried out was realized.
Firstly, the service manual of user's reference system development device 100, investigates the process for instrument A102 (step S11).
User based on it is investigating out in step s 11 as a result, using picture management department 110 program editor function part 112 function and program is created, and using the function in program transformation portion 130 and to program element 141,142 ..., 14n is created (step S12).Program element 141,142 ..., after 14n creation, user refers to system development device 100 Show program element 141,142 ..., the preservation (step S13) of 14n.
System development device 100 receives user's instruction of step S13, by program element 141,142 ..., 14n is stored in Program element storage unit 140 (step S14).Processing terminate for program elementization as a result,.
Using the program element 141 being created that by user, 142 ..., 14n or the program division provided from apparatus manufacturer Part 141,142 ..., 14n and the program being created that, pass through the write-in of system development device 100 to PLC 101.In order to make PLC 101 for instrument A 102 repeat program element 141,142 ..., the processing of 14n, described in program by journey by user Prelude part 141,142 ..., the content that repeats of 14n.
Wish to make instrument A 102 repeat program element 141,142 ..., the processing of 14n in the case where, do not having Using in the system development device 100 of configuration file, need by user itself to program element 141,142 ..., 14n creates Build, or by apparatus manufacturer to program element 141,142 ..., 14n created and is supplied to user.
Fig. 4 is the figure for indicating an example of structural outline for the system development device 200 using configuration file.In Fig. 4 In the FA system 2 comprising system development device 200 is shown.FA system 2 includes system development device 200, is FA engineering design Device;PLC 201 is programmable logic controller (PLC);Instrument A 202 is FA instrument;And display unit 203, it is to have The display of monitor.System development device 200 carries out the communication with PLC201 and instrument A 202 via network.In addition, being System development device 200 is connected with the display unit 203 shown to information.
System development device 200 includes picture management department 210, shows and is managed to the picture of display unit 203;System System communication unit 220, carries out the communication process of system development device 200;Configuration file analysis unit 230 obtains configuration file Procedural information, parsed so that the processing of procedural information is able to carry out;And configuration file storage unit 240, to matching Set file data 241,242 ..., 24m stored.
The hardware configuration of system development device 200 and display unit 203 is also by the hardware knot of the information processing unit 10 of Fig. 2 What structure was realized.The function of picture management department 210 and configuration file analysis unit 230 is to be filled by being executed by arithmetic unit 11 in storage It sets the exploitation program kept in 13 and realizes.The function of configuration file storage unit 240 is by memory 12 or storage dress Set 13 realizations.The function in system communication portion 220 is realized by communication device 16.The function of display unit 203 is by aobvious What showing device 15 was realized.
Profile data 241,242 ..., 24m include FA instrument solid identification information, the parameter setting of FA instrument Definition and parameter setting range.Profile data 241,242 ..., the set of 24m be configuration file, configuration file with Each instrument is corresponding.The configuration file of profile data comprising some instrument is provided by the manufacturer of the instrument.? In Fig. 4, instrument only shows instrument A 202, it is therefore assumed that as profile data 241,242 ..., the configuration of the set of 24m File is configuration file corresponding with instrument A 202 and is illustrated.
Fig. 5 is the figure for showing schematically an example of structure for configuration file involved in embodiment.In matching for Fig. 5 Set in file, as profile data 241,242 ..., 24m, have for determining and the information 300 and mistake of display instrument Journey information 310.That is, for determining the simultaneously information 300 of display instrument and procedural information 310 individually profile data.For It determines and the information 300 of display instrument is the solid identification information of instrument, and be to indicate that the configuration file of Fig. 5 is and instrument A Information as such as " the instrument A " of 202 corresponding configuration files.
The concrete example of procedural information 310 in configuration file is as follows.Procedural information 310 is and is directed to instrument A 202 The relevant information of process summarize, comprising being greater than or equal to 1 procedural information.In procedural information 310, as procedural information And include the data a330, data b 331 and data c 332 of Fig. 5.Data a 330, data b 331 and data c 332 are individually Different procedural informations.Each procedural information is and the following whole from (1) to (9) or any one relevant structural element 320 summarize.
(1) " information that the processing is determined "
(2) " information for being shown to the processing "
(3) " using the processing as the information of the instrument of object "
(4) " for the information of the write-in value of the instrument as object "
(5) " for the information of the readout of the instrument as object "
(6) " as information that handle execution condition, to be set in instrument "
(7) " information normally completing condition as processing, being set in instrument "
(8) " as the abnormal information completing condition, being set in instrument of processing "
(9) " information that details when completion abnormal as processing obtain the instrument in source "
Picture management department 210 be with display unit 203 being controlled and is shown the picture display part of the function of picture, and Instrument specifying part 211 is included, the structure chart of display unit 203 display system entirety is made;And process choosing portion 212, receive The selection of user.
Instrument specifying part 211 includes the function for making system integrally be used as structure chart and being graphically shown in display unit 203 Energy creates in structure chart and specifies the setting value of going out by the function of the specified apparatus structure out of user, for instrument setting user Function and the function that shows that instrument assigned picture in display unit 203.
Process choosing portion 212 has following function, that is, by receiving user to (1) of the procedural information 310 of configuration file The selection of " information being determined to the processing " carries out to obtain the procedural information for becoming process object in display unit 203 Display.
The communication process of the execution of system communication portion 220 system development device 200.Specifically, system communication portion 220 will be all The data as setting value are communicated with instrument A 202.
Configuration file analysis unit 230 has following function, that is, obtain it is being received by process choosing portion 212, select The procedural information 310 of configuration file is parsed so that the processing of procedural information 310 is able to carry out.
Configuration file storage unit 240 has following function, that is, to the profile data 241 installed, 242 ..., 24m, or by the profile data of the import feature addition of system development device 200 241,242 ..., 24m carries out Storage.
In the following, executing the detailed process of processing using the configuration file for instrument in system development device 200 It is illustrated.
Firstly, apparatus manufacturer manufactures instrument A 202, to for instrument A 202 profile data 241, 242 ..., 24m is created.The exploitation manufacturer of software is to the exploitation program system for being equipped on system development device 200 It makes.Moreover, have purchased the user of instrument A 202 and system development device 200, in order to make instrument A 202 execute processing, as from For instrument A 202 configuration file 241,242 ..., wish the procedural information 310 executed in 24m and to data a 330 into Row is specified.Thereby, it is possible to so that instrument A202 is executed the processing as object.But in order to be repeated for instrument A 202 Same treatment is executed, needs to start to execute processing many times by the hand of user.In the following, to the process for having used configuration file Reason is illustrated.
Fig. 6 is an example for indicating the sequence for having used the process of the configuration file in system development device 200 to handle Flow chart.The processing on the right side of the flow chart of Fig. 6 shows the processing of user, and the processing in left side shows system development device 200 Processing.The processing of system development device 200 is by executing the exploitation journey kept in storage device 13 by arithmetic unit 11 Sequence and what the program developing method being carried out was realized.
Firstly, instrument specifying part 211 makes instrument assigned picture be shown (step S21) in display unit 203.Fig. 7 is table Show the figure of instrument assigned picture 70 involved in embodiment.Structure in instrument assigned picture 70, with the FA system 2 of Fig. 4 It is corresponding and show " PLC " button 71 and " instrument A " button 72.
" instrument A " button 72 is pressed or is clicked etc. in the instrument assigned picture 70 shown and to instrument A by user 202 are specified (step S22).
Configuration file analysis unit 230 obtains from configuration file storage unit 240 and refers to the instrument made in step S22 by user The corresponding profile data of device A 202 241,242 ..., 24m.Moreover, configuration file analysis unit 230 is according to acquired Profile data 241,242 ..., 24m and procedural information 310 is parsed, by the procedural information 310 of configuration file The selection picture as at user option display unit 203 is had a guide look of, so that picture management department 210 is carried out picture and shows (step S23). In step S23, the execution selection picture 400 of the processing of Fig. 8 is shown in display unit 203.
Fig. 8 is the figure for indicating an example of execution selection picture 400 for processing.Picture 400 is selected in the execution of processing In be provided with process choosing window 410, allow users to select procedural information 310;The window of the subsidiary parameter of process Mouth 420, the parameter subsidiary to process is shown and can be set by user;" transmission " button 430, holds instrument It is capable to specify the procedural information is corresponding to handle with user;And the " Cancel " button 440, the execution of processing is selected into picture 400 close.
In process choosing window 410, the letter being determined to the processing for the procedural information that can be directed to instrument execution is shown Breath, can be specified by user.Specifically, as Fig. 5 procedural information 310 and the data a 330, the data b that enumerate The information that 331 and data c 332 respective (1) is determined the processing be listed as " (1) of data a ", " data b's (1) " and " (1) of data c ", any one can be selected by user.
The guide look of the subsidiary parameter information of process is shown in the window 420 of the subsidiary parameter of process.Specifically, showing Any one from (2) to (9) as the data a 330 of procedural information shown in fig. 5, data b 331 and data c 332 Content.In fig. 8 it is shown that the content from (2) to (9) of data b 331.In addition, parameter information to be to select box form to be arranged, energy It is enough that user is wished to be set as to specify for the parameter of the process object of instrument A 202.In addition, for (4) " for conduct pair The information of the write-in value of the instrument of elephant " can be inputted to the value set is wished.
User is by pressing or clicking " transmission " button 430, to execute according to the value set out for by user The processing of specified instrument A 202 out.On the other hand, user is by pressing the " Cancel " button 440, so that processing executes choosing It selects picture 400 to be closed, does not implement the processing for instrument A 202.
User carries out (1) " information being determined to the processing " of procedural information from the process choosing window 410 of Fig. 8 It is specified, (step S24) thus is selected for the procedural information executed of instrument A 202 to hope.Specifically, user couple Any one of " (1) of data a ", " (1) of data b " and " (1) of data c " are selected, and process choosing portion 212 receives should Selection.
Configuration file analysis unit 230 obtain it is being received by process choosing portion 212, by user select for instrument A 202 procedural information, that is, data b 331 and parsed, make picture management department 210 by the window of the subsidiary parameter of the process of Fig. 8 420 are shown (step S25) in display unit 203.It is in the initial display of the window 420 of the subsidiary parameter of process and number is shown In the case where state according to the content from (2) to (9) of a 330, when user selects " (1) of data b " in step s 24, The content from (2) to (9) of data b 331 is shown in step s 25.
User " is directed to conduct on the window 420 of the subsidiary parameter of process, for (4) of the parameter subsidiary as process The information of the write-in value of the instrument of object " can input the value for wishing to set and be set (step S26).But step S26 is option, also be can be omitted.
" transmission " button 430 is pressed (step S27) after the completion of above selection and setting by user.By that " will send out Sending " button 430 is pressed, so that instrument A 202 executes processing (step S28) corresponding with the procedural information that user selects.Such as Fruit is corresponding with procedural information to handle completion (step S29), then having used the process of configuration file, processing terminate.
As described above, according to use profile data 241,242 ..., the system development device 200, Neng Gouzhen of 24m Instrument A 202 is executed by the specified processing out of user.But wishing to make instrument A 202 to execute same treatment many times In the case of, user needs many times to press " transmission " button 430.
Fig. 9 is the system development device 500 for indicating to generate program element based on configuration file involved in embodiment Structural outline an example figure.The FA system 3 comprising system development device 500 is shown in FIG. 9.FA system 3 includes System development device 500 is FA process planning apparatus;PLC 501 is programmable logic controller (PLC);Instrument A502 is FA instrument;And display unit 503, it is the display with monitor.System development device 500 is carried out via network and PLC The communication of 501 and instrument A 502.In addition, being connected with the display unit 503 shown to information in system development device 500.? Here, instrument only shows instrument A 502, thus following configuration file as instrument A 502 configuration file and be illustrated. The structure of the configuration file used in system development device 500 is also identical as Fig. 5.
System development device 500 includes picture management department 510, shows and is managed to the picture of display unit 503;System System communication unit 520, carries out the communication process of system development device 500;Configuration file analysis unit 530 obtains configuration file Procedural information, parsed so that the processing of procedural information is able to carry out;Configuration file transformation component 540, Kernel-based methods Information and generate program element 551,552 ..., 55n;Program element storage unit 550, to program element 551,552 ..., 55n is stored;And configuration file storage unit 560, to profile data 561,562 ..., 56m stores.
The hardware configuration of system development device 500 and display unit 503 involved in embodiment is also the information by Fig. 2 What the hardware configuration of processing unit 10 was realized.Picture management department 510, configuration file analysis unit 530 and configuration file transformation component 540 Function be by by arithmetic unit 11 execute kept in storage device 13 exploitation program and realize.Program element storage The function of portion 550 and configuration file storage unit 560 is realized by memory 12 or storage device 13.System communication portion 520 function is realized by communication device 16.The function of display unit 503 is realized by display device 15.
Picture management department 510 be with display unit 503 being controlled and is shown the picture display part of the function of picture, and Instrument specifying part 511 is included, the structure chart of display unit 503 display system entirety is made;Program editor function part 512, connects By the program editing of user;And process choosing portion 513, receive the selection of user.
Instrument specifying part 511 includes the function for making system integrally be used as structure chart and being graphically shown in display unit 503 Energy creates in structure chart and specifies the setting of going out by user by the function of the specified apparatus structure out of user, for instrument setting The function of value and the function of showing that instrument assigned picture in display unit 503.
Program editor function part 512 includes the function that user can edit program in system development device 500 The function that, program element can be created and the function of making display unit 503 show program.In addition, program editor function Portion 512 there is the instruction based on user and by the program element 551 stored in program element storage unit 550,552 ..., 55n The function being inserted into program.
Process choosing portion 513 has following function, that is, by receiving user to (1) of the procedural information 310 of configuration file The selection of " information being determined to the processing " carries out to obtain the procedural information for becoming process object in display unit 503 Display.
The communication process of the execution of system communication portion 520 system development device 500.Specifically, system communication portion 520 will be all The data as setting value are communicated with instrument A 502.
Configuration file analysis unit 530 has following function, that is, obtain it is being received by process choosing portion 513, select The procedural information 310 of configuration file is parsed so that the processing of procedural information 310 is able to carry out.
Configuration file transformation component 540 has following function, that is, the extraction knot after being parsed based on configuration file analysis unit 530 Fruit and generate program element 551,552 ..., 55n.Program element 551,552 ..., 55n is can be in Programmable logical controller Functional block in the program of device.Functional block is the section components that will be reused in the program of programmable logic controller (PLC), The component that can be recycled in a program.As functional block, there is the sub- journey of such as FB (Function Block) or C language The high program element of recycling property as sequence.
Program element storage unit 550 have to program element 551,552 ..., the function that is stored of 55n.
Configuration file storage unit 560 has following function, that is, to the profile data 561 installed, 562 ..., 56m or by the profile data of the import feature addition of system development device 500 561,562 ..., 56m stored up It deposits.Profile data 561,562 ..., 56m include shown in fig. 5 for determining and the information 300 and process of display instrument Information 310.
In the following, executing the detailed process of processing using the configuration file for instrument in system development device 500 It is illustrated.
Firstly, apparatus manufacturer manufactures instrument A 502, to for instrument A 502 profile data 561, 562 ..., 56m is created.The exploitation manufacturer of software is to the exploitation program system for being equipped on system development device 500 It makes.Moreover, have purchased the user of instrument A 502 and system development device 500, in order to make instrument A 502 execute processing, from being directed to The profile data 561 of instrument A 502,562 ..., in 56m to wishing that the procedural information 310 executed specifies, will refer to The procedural information 310 made by the function of system development device 500 as program element 551,552 ..., 55n generates. By the way that the procedural information after program element to be inserted into and use to program, so as to be directed to instrument A 502, phase is repeated With processing.In addition, program element can be automatically created, therefore user and apparatus manufacturer are without creating program element It builds.
In the system development device 500 involved in embodiment, in order to realize automatic Program Generating and repeat For the same treatment of instrument A 502, program element processing and the use of program element processing are carried out.In the following, to program division Part processing and the use of program element processing are illustrated.
Figure 10 is the one of the sequence for indicating that the program elementization in system development device 500 involved in embodiment is handled The flow chart of a example.The processing on the right side of the flow chart of Figure 10 shows the processing of user, and the processing in left side shows system development The processing of device 500.The processing of system development device 500 is kept in storage device 13 by being executed by arithmetic unit 11 Exploitation program and what the program developing method that is carried out was realized.
Firstly, instrument specifying part 511 makes the instrument assigned picture 70 of Fig. 7 be shown (step S31) in display unit 503. It is corresponding with the structure of FA system 3 of Fig. 9 and show " PLC " button 71 and " instrument A " button in instrument assigned picture 70 72。
" instrument A " button 72 is pressed or is clicked etc. in the instrument assigned picture 70 shown and to instrument A by user 502 are specified (step S32).If specified to instrument A 502, optional window 80 is in display unit shown in Figure 11 503 are shown.
Figure 11 is the figure for indicating the optional window 80 of program element involved in embodiment.80 pairs of optional window receiving " program element " button 81 of the instruction of program element is shown.User is by pressing " program element " button 81 Or click, to be indicated (step S33) to program element.
If system development device 500 receives the instruction of program element, configuration file analysis unit 530 is literary from configuration Part storage unit 560 obtain specified in step s 32 with user the corresponding profile data 561 of instrument A 502 out, 562,...,56m.Moreover, configuration file analysis unit 530 according to acquired profile data 561,562 ..., 56m and it is right Procedural information 310 is parsed, by the guide look of the procedural information 310 of configuration file as at user option display unit 503 Picture is selected, so that picture management department 510 is carried out picture and shows (step S34).In step S34, the processing of Figure 12 executes choosing Picture 600 is selected to be shown in display unit 503.
Figure 12 is the figure for indicating an example of the execution selection picture 600 handled involved in embodiment.It is handling Execution selection picture 600 in be provided with process choosing window 610, allow users to select procedural information 310; " transmission " button 620 executes the program element for the procedural information selected in process choosing window 610 by user;And The execution of processing can be selected picture 600 to close by the " Cancel " button 630.
In process choosing window 610, the information being determined to the processing for the procedural information that can be directed to instrument execution is shown, It can be specified by user.Specifically, as Fig. 5 procedural information 310 and the data a 330, the data b 331 that enumerate and The information that data c 332 respective (1) is determined the processing be listed as " (1) of data a ", " (1) of data b " and " (1) of data c " can select any one by user.
By being pressed " transmission " button 620 by user, believe thereby executing the process for the configuration file selected by user The program element of breath.On the other hand, by being pressed the " Cancel " button 630 by user, so that the execution of processing selects picture 600 are closed, and do not execute program elementization processing.
User carries out (1) of procedural information to the information that the processing is determined from the process choosing window 610 of Figure 12 It is specified, (step S35) thus is selected to the procedural information for being desired with program element.Specifically, user is to " data Any one of (1) of a ", " (1) of data b " and " (1) of data c " are selected, and process choosing portion 513 receives the selection.
Configuration file analysis unit 530 obtain it is being received by process choosing portion 513, by user select for instrument A 502 procedural information and parsed (step S36).Specifically, according to " the data a selected in step s 35 by user (1) ", the content from (1) to (9) of the procedural information of any one of " (1) of data b " and " (1) of data c " and to instrument The process flow of device A 502 and the condition of processing extract, and export as result is extracted.
Extraction result of the configuration file transformation component 540 based on the procedural information exported by configuration file analysis unit 530 and it is right Program is created, generated based on the program program element 551 as the subprogram of such as functional block or C language, 552 ..., 55n (step S37).
Configuration file transformation component 540 by the program element 551 generated in step S37,552 ..., 55n be stored in program Component storage unit 550 (step S38).At this point, can also be to the existing program element kept by program element storage unit 550 The additional program element 551 generated in step S37 in list, 552 ..., 55n and stored.
Program element 551,552 ..., after 55n is stored in program element storage unit 550, picture management department 510 will scheme 13 conversion process result confirmation screen 640 is shown (step S39) in display unit 503.Figure 13 is to indicate embodiment institute The figure of one example of the conversion process result confirmation screen 640 in program elementization processing being related to.Conversion process result is true Recognize picture 640 and includes " program elementization completion." as message show 650;And " OK " button 660, it is used to make picture Management department 510 receives the response that user shows 650 for message.If " OK " button 660 is pressed by user, pass through picture Processing terminate for the display for the conversion process result confirmation screen 640 that management department 510 realizes, processing terminate for program elementization.
It is handled according to program elementization, by the way that program element will be transformed in procedural information 310 defined in configuration file Program element 551 after change, 552 ..., 55n, so as to be inserted into program and use, therefore the numerous of user can be saved It is trivial and repeat same treatment for instrument.
In addition, program element 551,552 ..., 55n can be according to the profile data provided by apparatus manufacturer 561,562 ..., 56m and automatically generate, therefore user is without creating program element.
Also, based on profile data 561,562 ..., 56m and generate program element 551,552 ..., 55n, because This be not necessarily to by program element 551,552 ..., 55n with profile data 561,562 ..., 56m provides.That is, Profile data 561,562 ..., 56m can not include program element 551,552 ..., 55n.Therefore, apparatus manufacturer Without to be supplied to user program element 551,552 ..., 55n creates.
Figure 14 is the sequence for indicating the use processing of the program element in system development device 500 involved in embodiment An example flow chart.The processing on the right side of the flow chart of Figure 14 shows the processing of user, and the processing in left side shows system The processing of development device 500.The processing of system development device 500 is protected in storage device 13 by being executed by arithmetic unit 11 The exploitation program held and what the program developing method being carried out was realized.
Firstly, program editor function part 512 will be shown by the specified program out of user in display unit 503.User Further by program element 551,552 ..., component list of file names, that is, program element list of 55n is from program element storage unit 550 It calls to program editor function part 512, is shown in display unit 503.The picture shown by display unit 503 is figure at this time 15。
Figure 15 is an example for indicating picture shown by program editor function part 512 involved in embodiment Figure.It is shown in Figure 15 to the program picture 710 and called program element being indicated by the specified program out of user List 700.Figure 15 program editor function part 512 is shown from 550 caller list of parts 700 of program element storage unit and Situation when display unit 503 is shown, to the program for being stored in program element storage unit 550 in program element list 700 Component 551,552 ..., the name of parts of 55n carry out list display.
User by by the program element name drag and drop being desirable in the list display of program element list 700 in program In picture 710, thus in program it is specified go out position insertion program component 551,552 ..., 55n (step S41).At this In, wish to repeat program element 551,552 ..., 55n in the case where, described in program and execute reprocessing, As long as the position insertion program component 551 for becoming repeating objects, 552 ..., 55n.The arrow of Figure 15 is indicated component Name (3) is inserted into program picture 710 by drag and drop.
Then, program editor function part 512 by inserted with program element 551,552 ..., the program of 55n be written to The storage unit (step S42) (not shown) of PLC 501.More than, processing terminate for the use of program element, and thus, it is possible to use journey Prelude part 551,552 ..., 55n.
As described above, the system development device 500 according to involved in embodiment, based in matching for instrument It sets the procedural information recorded in file and creates program element, therefore user can be automatically created program division without creation Part.Also, program element can be read from program element list at any time and be selected by user, be inserted into program and carried out It is packed into, therefore program creation the time it takes can be shortened.Instrument is set to repeat to hold as a result, it is possible to save the cumbersome of user Row same treatment.
Structure shown in above embodiment shows an example of the contents of the present invention, also can with other known in Technology is combined, and in the range for not departing from purport of the invention, can also be omitted, be changed to a part of structure.
The explanation of label
1,2,3FA system, 10 information processing units, 11 arithmetic units, 12 memories, 13 storage devices, 14 input units, 15 display devices, 16 communication devices, 70 instrument assigned pictures, 71 " PLC " buttons, 72 " instrument A " buttons, 80 optional windows, 81 " program element " button, 100,200,500 system development devices, 101,201,501PLC, 102,202,502 instrument A, 103, 203,503 display unit, 110,210,510 picture management departments, 111,211,511 instrument specifying parts, 112,512 program editor function Energy portion, 120,220,520 system communication portions, 130 program transformation portions, 140,550 program element storage units, 141,142 ..., 14n, 551,552 ..., 55n program element, 212,513 process choosing portions, 230,530 configuration file analysis units, 240,560 match Set file storage part, 241,242 ..., 24m, 561,562 ..., 56m profile data, 300 for determining and display instrument The information of device, 310 procedural informations, 320 structural elements, 330 data a, 331 data b, 332 data c, the execution of 400,600 processing Selection picture, 410,610 process choosing windows, the window of the subsidiary parameter of 420 processes, 430,620 " transmission " buttons, 440, 630 the " Cancel " buttons, 540 configuration file transformation components, 640 conversion process result confirmation screens, 650 message show that 660 " OK " are pressed Button, 700 program element lists, 710 program pictures.

Claims (12)

1. a kind of system development device, includes
Configuration file storage unit, keeps profile data, which includes factory automation instrument Solid identification information and the factory automation instrument be greater than or equal to 1 procedural information,
The system development device is characterized in that, is also included
Process choosing portion receives the procedural information selected by user;
Configuration file transformation component generates program element based on the procedural information selected;
Program element storage unit stores described program component;And
Program editor function part has the instruction based on the user, and described program component, which is inserted into description, execution The function of the program of reprocessing.
2. system according to claim 1 development device, which is characterized in that
Described program component is the functional block that can be continued to use in the described program of programmable logic controller (PLC).
3. system development device according to claim 1 or 2, which is characterized in that
The profile data does not include described program component.
4. system development device according to claim 1 or 2, which is characterized in that
In described program component storage unit, described program component is appended in the list of existing program element and stores.
5. a kind of program developing method, with following step:
Profile data is kept, which includes solid identification information and the institute of factory automation instrument That states factory automation instrument is greater than or equal to 1 procedural information,
Described program development approach is characterized in that also thering is following step:
Receive the procedural information selected by user;
Program element is generated based on the procedural information selected;
Described program component is stored;And
Based on the instruction of the user, described program component, which is inserted into, to describe the program for executing and reprocessing.
6. program developing method according to claim 5, which is characterized in that
Described program component is the functional block that can be continued to use in the described program of programmable logic controller (PLC).
7. program developing method according to claim 5 or 6, which is characterized in that
The profile data does not include described program component.
8. program developing method according to claim 5 or 6, which is characterized in that
In described the step of being stored, described program component is appended in the list of existing program element and is stored up It deposits.
9. a kind of storage device for being stored with exploitation program, the exploitation program make computer execute following step:
Profile data is kept, which includes solid identification information and the institute of factory automation instrument That states factory automation instrument is greater than or equal to 1 procedural information,
The storage device is characterized in that the exploitation program makes computer also execute following step:
Receive the procedural information selected by user;
Program element is generated based on the procedural information selected;
Described program component is stored;And
Based on the instruction of the user, described program component, which is inserted into, to describe the program for executing and reprocessing.
10. the storage device according to claim 9 for being stored with exploitation program, which is characterized in that
Described program component is the functional block that can be continued to use in the described program of programmable logic controller (PLC).
11. the storage device according to claim 9 or 10 for being stored with exploitation program, which is characterized in that
The profile data does not include described program component.
12. the storage device according to claim 9 or 10 for being stored with exploitation program, which is characterized in that
In described the step of being stored, described program component is appended in the list of existing program element and is stored up It deposits.
CN201580078550.8A 2015-04-01 2015-04-01 System development device, program developing method and exploitation program Active CN107533321B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/060392 WO2016157482A1 (en) 2015-04-01 2015-04-01 System development device, program development method, and development program

Publications (2)

Publication Number Publication Date
CN107533321A CN107533321A (en) 2018-01-02
CN107533321B true CN107533321B (en) 2019-03-15

Family

ID=57004172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580078550.8A Active CN107533321B (en) 2015-04-01 2015-04-01 System development device, program developing method and exploitation program

Country Status (4)

Country Link
JP (1) JP6161835B2 (en)
KR (1) KR101879151B1 (en)
CN (1) CN107533321B (en)
WO (1) WO2016157482A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019087409A1 (en) 2017-11-06 2019-05-09 三菱電機株式会社 Data collection device, data collection method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831767A (en) * 2005-03-07 2006-09-13 西门子公司 Auto application development system and method adopting user's guide
JP2013257685A (en) * 2012-06-12 2013-12-26 Mitsubishi Electric Corp Device management device, device management method, and device management program
CN104239207A (en) * 2014-09-17 2014-12-24 广州华多网络科技有限公司 Method and device for debugging application program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004272718A (en) * 2003-03-11 2004-09-30 Mitsubishi Electric Corp Control program creating device and control program creating method
DE112011105475B4 (en) * 2011-08-03 2016-09-22 Mitsubishi Electric Corporation Programmable logic controller
JP2014016753A (en) * 2012-07-09 2014-01-30 Mitsubishi Electric Corp Setting support system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831767A (en) * 2005-03-07 2006-09-13 西门子公司 Auto application development system and method adopting user's guide
JP2013257685A (en) * 2012-06-12 2013-12-26 Mitsubishi Electric Corp Device management device, device management method, and device management program
CN104239207A (en) * 2014-09-17 2014-12-24 广州华多网络科技有限公司 Method and device for debugging application program

Also Published As

Publication number Publication date
JPWO2016157482A1 (en) 2017-04-27
WO2016157482A1 (en) 2016-10-06
KR20170123715A (en) 2017-11-08
CN107533321A (en) 2018-01-02
KR101879151B1 (en) 2018-07-16
JP6161835B2 (en) 2017-07-12

Similar Documents

Publication Publication Date Title
CN110716510B (en) Abstraction layer for automation applications
CN106662857B (en) Control program maintenance device, control program maintenance method and program
EP3115902B1 (en) Framework for automated testing of mobile apps
US10261716B2 (en) Programmable display, update processing apparatus, updating method, information processing method, and program stored on computer-readable recording medium
US20090150860A1 (en) Method and system for combining quality assurance and model transformations in a business-driven development environment
WO2010004557A1 (en) System and method for automatic hardware and software sequencing of computer-aided design (cad) functionality testing
CN108369514B (en) System and method for executable content and executable content stream creation
EP2902942B1 (en) Image processing device, managing system, and managing method
US20110264711A1 (en) Computer based method and system for generating custom dynamic templates
JP7280388B2 (en) Apparatus and method, equipment and medium for implementing a customized artificial intelligence production line
US20120072777A1 (en) Debugging device, debugging method, and computer program for sequence program
CN108475267B (en) System and method for executable content and executable content stream distribution
CN107533321B (en) System development device, program developing method and exploitation program
JP5587685B2 (en) System, method and computer program for automating record declaration of electronic document
CN105868041A (en) Easy-to-apply server configuration automatic detection method
EP3879395A1 (en) Extraction of graphical objects from piping and instrumentation diagrams for use in a human-machine interface
JP7294609B2 (en) Program, Method, and Device for Supporting Software Operation Scenario Generation
JP2018005545A (en) Information processing device and program
CN113031523A (en) Numerical control machine on-line system and management method thereof
JP2010204840A (en) Customization method, terminal apparatus, computer program, and information recording medium for user interface operation integration system
JP4568150B2 (en) Processing device and processing device system
JP2003223204A (en) Programming method of programmable controller, system thereof and recording medium thereof
EP3361329B1 (en) Information processing apparatus, system, method and recording medium for generating a user interface
US20220269239A1 (en) Information processing apparatus, control apparatus, control method, method of controlling control apparatus, and recording medium
JP6892850B2 (en) Management device, management method and management program

Legal Events

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