CN102193536A - Marco functional block for packaging device-level embedded logic - Google Patents

Marco functional block for packaging device-level embedded logic Download PDF

Info

Publication number
CN102193536A
CN102193536A CN2011100384811A CN201110038481A CN102193536A CN 102193536 A CN102193536 A CN 102193536A CN 2011100384811 A CN2011100384811 A CN 2011100384811A CN 201110038481 A CN201110038481 A CN 201110038481A CN 102193536 A CN102193536 A CN 102193536A
Authority
CN
China
Prior art keywords
macro block
grand
output
configuration
input
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.)
Pending
Application number
CN2011100384811A
Other languages
Chinese (zh)
Inventor
哈什·沙阿
格雷戈里·A·迈赫尔
冯健
贾晴
宋涛
魏震
詹姆斯·爱德华·乔
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.)
Rockwell Automation Technologies Inc
Rockwell Automation Inc
Original Assignee
Rockwell Automation Technologies Inc
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
Priority claimed from US12/895,392 external-priority patent/US9134720B2/en
Application filed by Rockwell Automation Technologies Inc filed Critical Rockwell Automation Technologies Inc
Publication of CN102193536A publication Critical patent/CN102193536A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a macro functional block for packaging a device-level embedded logic. A technique for packaging the device-level embedded logic into an instruction defined by the user by using the configuration software is provided, more particularly, the disclosed embodiment mode allows to use a plug-in instruction into the device configuration embedded logic. Specially, a programming interface of an application or device can be merged to a single instruction as a reusable macro member which can be reused in the same or different applications or devices.

Description

Be used for the macro block that the sealed in unit level embeds logic
Cross reference to related application
Present patent application is the U.S. Provisional Patent Application 61/304 of the title of requirement submission on February 12nd, 2010 for " Multiple Boolean Inputs and Outputs for Device Function Blocks ", 227, the title that on February 12nd, 2010 submitted to is the U.S. Provisional Patent Application 61/304 of " Automatic Device Parameter Binding Method ", the title that on February 12nd, 261 and 2010 submitted to is the U.S. Provisional Patent Application 61/304 of " Macro Function Block for Encapsulating Device-Level Embedded Logic ", the non-temporary patent application of 275 right of priority, all these here are incorporated in herein by reference.
Technical field
The present invention relates to the field of in automation equipment configuration logic instruction, more specifically, relate to and device level is embedded logic be encapsulated into technology in the user-defined instruction.
Background technology
The logic resolution ability may be programmed into the various sensors and the actuator device of for example I/O (I/O) equipment, motor driver, relay, button, and in other automation equipment, with the performance that improves equipment, but and make it possible under the situation from the concrete indication of central automation controller the robotization demand is not being made limited response fast.For example, this logic resolution ability can be controlled the output of automation equipment and the status information of management automation equipment, to control the operation to other parts of equipment of direct connection or close-coupled.The visual editing instrument of the graphic interface by being provided for the configuration feature piece can be realized the configuration of logic resolution ability, and described functional block comprises the local control function of equipment.This distributed control allows low-level devices only to carry out up to now the operation that the logic in the automation controller that one or more network by reference connects is carried out.Must repeat the special logic programming in the equipment of being everlasting and/or between the equipment.Usually, be not easy to the number of times that mode reduces the overprogram step.
Summary of the invention
The invention provides and use equipment disposition software that device level is embedded logic to be encapsulated into technology in the user-defined instruction.More specifically, disclosed embodiment allows that the plug-in unit instruction is used for equipment disposition and embeds logic.Specific to using or the DLL (dynamic link library) of equipment can be integrated in the single instruction, with as the reusable grand parts that can in identical or different application or equipment, reuse.
According to an aspect of the present invention, a kind of distribute control method that is used for process comprises: the grand creation module of visit design environment; Visit a plurality of functional blocks, described a plurality of functional blocks are configured to export to generate according to the arithmetic of input carry out desired and/or logical operation; Create via creation module grand in a plurality of functional blocks in described a plurality of functional blocks are encapsulated in the single plug-in unit instruction set, in the input of wherein said a plurality of functional blocks one of at least with export in be mapped to one of at least described grand input and output; Described grand configuration is used for specific automation process; Described grand downloading in the automation equipment; Described grand with storage for follow-up use in other automation equipment.
According to described method, functional block can comprise the nonvolatile code with the Object-Oriented Programming Language configuration.
According to described method, automation equipment can comprise the input/output terminal piece.
According to described method, automation equipment can comprise the button piece.
According to described method, automation equipment can comprise overload relay.
According to described method, automation equipment can comprise motor driver or motor starter.
According to described method, dispose grand can comprising and dispose at least one memory register, wherein said functional block reads at least one input from described memory register.
According to described method, dispose grand can comprising and dispose at least one memory register, wherein said functional block writes described memory register with at least one output.
According to described method, during operation, automation equipment can be coupled to automation controller via network, but can and not generate at least one output according to described at least one input of grand reception under the situation from the order of described automation controller.
According to described method, in described design environment, can on the configuration station, create described grand.
According to described method, can comprise described grand uploading to from described automation equipment disposed the station.
According to another aspect of the present invention, a kind of distributed automatization opertaing device comprises: storage comprises the grand memory circuitry of a plurality of functional blocks, described functional block is configured to export the described grand specific automation process that is arranged to according to the arithmetic of input carry out desired and/or logical operation to generate; Processor is configured to carry out described grand; And interface, be configured to according to output being exported by the grand of described processor execution.
In addition, the distributed automatization opertaing device can comprise the input/output terminal piece.
In addition, the distributed automatization opertaing device can comprise the button piece.
In addition, the distributed automatization opertaing device can comprise overload relay.
In addition, the distributed automatization opertaing device can comprise motor driver or motor starter.
According to another aspect of the present invention, a kind of dcs comprises: the distributed automatization opertaing device, comprise: storage comprises the grand memory circuitry of a plurality of functional blocks, described functional block is configured to export the described grand specific automation process that is arranged to according to the arithmetic of input carry out desired and/or logical operation to generate; Processor is configured to carry out described grand; And interface, be configured to according to output being exported by the grand of described processor execution; And automation controller, arrive described distributed automatization opertaing device via network coupled; Wherein said distributed automatization opertaing device is configured to communicate by letter with described automation controller via described network, but receives the output that input and output are generated under the situation from the order of described automation controller not.
According to described system, the distributed automatization opertaing device can comprise the input/output terminal piece.
According to described system, the distributed automatization opertaing device can comprise the button piece.
According to described system, the distributed automatization opertaing device can comprise overload relay.
According to described system, the distributed automatization opertaing device can comprise motor driver or motor starter.
Description of drawings
When reading following detailed with reference to the accompanying drawings, will be better appreciated by these and other characteristic of the present invention, aspect and advantage, use similar character representation similar portions in the accompanying drawings, wherein:
Fig. 1 is used to control and monitor the exemplary control of machine and/or process and the diagram of surveillance;
Fig. 2 is the diagram of the relation of the exemplary control of Fig. 1 and surveillance;
Fig. 3 is the block diagram of the parts of exemplary automation equipment;
Fig. 4 is the block diagram of parts at exemplary configuration station that is used for the automation equipment of arrangement plan 3;
Fig. 5 is the visual representation of exemplary browser of configuration that is used for intuitively showing specific automation equipment of Fig. 4;
Fig. 6 is the block diagram of the exemplary macro block that uses with other functional block;
Fig. 7 is the exemplary state transition of the state during the configuration of diagram automation equipment;
Fig. 8 is the exemplary status occurrence matrix that is used for the macroblock-type definition;
Fig. 9 is the part screenshot capture of the browser of Fig. 4, the new macro block tab of its diagram;
Figure 10 is exemplary popup menu, and it allows the deviser of automation equipment to select to add the element menu item;
Figure 11 is the exemplary elements tabulation dialog box that starts when the deviser selects the interpolation element menu item of Figure 10;
Figure 12 is the part screenshot capture of the browser of Fig. 4, the interpolation element menu item that its graphical designs person selects from chief editor's volume menu;
Figure 13 is the part screenshot capture of browser, and its graphical designs person clicks the situation from the establishment macro block Submenu Items and the macro block submenu under the mother-tool menu of mother-tool menu;
Figure 14 is the part screenshot capture of browser, and its diagram can be used for the macro block editor of edited macro piece;
Figure 15 is the exemplary macroblock definition dialog box that ejects when the deviser selects to create the macro block Submenu Items;
Figure 16 is the exemplary macroblock definition dialog box of Figure 15 when selecting the I/O tab;
Figure 17 is the exemplary macroblock definition dialog box of Figure 15 when selecting the parameter options card;
Figure 18 is the part screenshot capture of browser, the selecteed menu item of closing of its diagram;
Figure 19 is the screenshot capture of browser, two functional blocks that its diagram is hauled out from the functional block instruction of instruction tool bar;
Figure 20 is the part screenshot capture of browser, and its graphical designs person clicks the situation of opening the macro block submenu under macro block definition Submenu Items and the mother-tool menu from the mother-tool menu;
Figure 21 is the screenshot capture of browser, and its graphical designs person clicks the situation of mouse by right key on the macro block editor;
Figure 22 is the exemplary functions piece property dialog box that ejects when the deviser clicks the objective function piece;
Figure 23 is the exemplary functions piece property dialog box of Figure 22 when pressing editor's macroblock parameters button and show the tabulation of the macro block parameter that can outside watch;
Figure 24 is the screenshot capture of browser, the macro block that uses with the component function piece in the main logic window of its diagram browser;
Figure 25 is the exemplary macro block property dialog box that ejects when the deviser clicks the button in the upper right corner of macro block example;
Figure 26 is the exemplary macroblock manager dialog frame that ejects when the deviser selects the specific macro block example in the macro block editor and selects macro block manager option;
Figure 27 is the part screenshot capture of browser, and its graphical designs person clicks the situation of opening the macro block submenu under macro block definition Submenu Items and the mother-tool menu from the mother-tool menu;
Figure 28 is the part screenshot capture of browser, and its graphical designs person clicks the situation of mouse by right key on the macro block example;
Figure 29 is the screenshot capture of browser, and its graphical designs person uses whole editors' situation by clicking the application menu item;
Figure 30 is the exemplary macroblock definition dialog box of Figure 15 when selecting security tab;
Figure 31 is the exemplary macroblock password dialog frame that shows when the deviser attempts using the macro block of password protection;
Figure 32 is the representative condition of exemplary warning function piece and the tabulation of output;
Figure 33 is the part screenshot capture of browser, and its diagram equates the exemplary warning function piece that (MEQ) functional block is used by mark;
Figure 34 is the exemplary embodiment of the logic of combinde alarms macro block;
Figure 35 is the exemplary embodiment of combinde alarms macro block;
Figure 36 illustrates the exemplary nested of a plurality of macro blocks; And
Figure 37 is the part screenshot capture of browser, and it illustrates the deviser and how to select derivation/importing instruction.
Embodiment
Fig. 1 for example is used for the exemplary control of industrial automation and the diagram of surveillance 10, is used for control and monitors machine and/or process 12.System 10 comprises man-machine interface (HMI) 14, and it is suitable for cooperating with the parts of machine/process 12 by automation controller 16 (for example, remote computer, programmable logic controller (PLC) (PLC) or other controller).Automation controller 16 is suitable for control and monitors automation equipment 18, for example graphic actuator 20 and I/O (I/O) equipment 22 among Fig. 1 (typically, sensor or be coupled to the I/O module of sensor).As described herein, the object lesson of rudimentary automation equipment 18 comprises relay, button of I/O terminal, motor driver, motor starter, overload relay and other type or the like.Automation equipment 18 can be directly and machine/process 12 mutual, or can be mutual with other automation equipment 18 of graphic sensor 24 among Fig. 1 for example and actuator 26.Cooperation between the automation equipment 18 of HMI 14, automation controller 16 and machine/process 12 can promote by using any suitable network strategy.In fact, can use for example industry standard network 28 of DeviceNet, ControlNet, Profibus, Modbus, or for example the more common standard of Ethernet and Internet protocol is carried out data and is transmitted.These networks 28 allow to carry out exchanges data according to predetermined protocol, and the ability of operational network unit also can be provided.
As described in greater detail, automation equipment 18 can comprise processor, storer and rudimentary embedding logic, with allow at needs or the situation of do not need to communicate by letter (controlling at least judgement before) with HMI 14 or automation controller 16 under automation controller is controlled in the part (for example, distributed) of automation equipment 18.Automation equipment 18 can comprise function, by this function, and the register of their read-write specific memory or storer.For example, automation equipment 18 can be read and write the register 30 of one or more automation controller 16, even the local register 30 in the read-write automation equipment 18 (comprising the register in other low-level devices).Under simple situation, for example the visit data fragment is (for example simply for automation equipment 18, and generate output signal the state of the parts of determining by sensor), value is write one or more register 30 corresponding to the state of heterogeneous networks equipment.Certainly, can constitute more complicated function.In Industry Control and supervision background, for example, these automation equipments 18 can be simulated for example instantaneous contact button, have the operation of some physical units of the button of delay output, switch or the like.As described in greater detail, the equipment component of many pre-programmed (for example, functional block) can be obtained for use by automation equipment 18.These functional blocks can maybe can reside on the automation equipment 18 by access to netwoks.
Fig. 2 is the diagram of the relation of the exemplary control of Fig. 1 and surveillance 10.As shown in the figure, HMI 14, automation controller 16, actuator 20 and I/O equipment 22 form the hierarchical relationship that a trigonometric expression is arranged, wherein automation controller 16 is in the center of level, and automation equipment 18 (for example, actuator 20 and I/O equipment 22) be in level than low side.As shown in the figure, all parts of control and surveillance 10 can communicate with one another, but rudimentary automation equipment 18 receives order from automation controller 16 and/or HMI 14 usually.Yet, the disclosed embodiments are by directly being embedded into automation equipment 18 with rudimentary logic so that they can carry out rudimentary calculating and judgement, and at least calculate with judge before do not need to communicate by letter with HMI 14 or automation controller 16, allow automation equipment 18 is carried out the more distributed control of robust, and can be under situation not from the particular command of automation controller 16 or HMI 14, output is by calculating and judging the signal that generates.In other words, the disclosed embodiments allow to come built in items level equipment, parts kind equipment, structural level equipment and structure kind equipment (for example, the relay of I/O terminal, motor driver, motor starter, overload relay and other type, button or the like) by rudimentary robotization steering logic.This has for example proved when the network of describing among Fig. 1 28 runs into the provisional communication problem, or simply when expectation is local when calculating and judging superiority.
Fig. 3 is the block diagram of the parts of exemplary automation equipment 18.As shown in the figure, each automation equipment 18 can comprise the configurable instrument of setting up around microprocessor 32.Except processor 32, graphic embodiment comprises memory module 34, and it can store data and routine (for example, computer program), and the parts that for example comprise the runtime library 36 of above-described preprogrammed device element (for example, functional block).Memory module 34 also can comprise the configuration information of corresponding automation equipment 18.For example, as described in greater detail, each automation equipment 18 can make that automation equipment 18 can local some function of carrying out machine/process 12 with the incompatible configuration of particular group of functional block.Particularly, processor 32 is configured to carry out functional block, makes rudimentary distributed coordination function be carried out by automation equipment 18.
As described below, the configuration station can be used to the particular combinations of functional block is write (that is, downloading) to automation equipment 18.On the contrary, and as described below, and the configuration software that the particular combinations of functional block can be configured to stand reads (that is, uploading) from automation equipment 18.Functional block is the nonvolatile code with the Object-Oriented Programming Language configuration.Certain functional block can be configured to read at least one input from above-described one or more register 30, and/or at least one output is written to above-described one or more register 30.As described below, in the present embodiment, functional block self comprises the object with the object-oriented language definition.These objects are usually by code definition, and code is set up the data structure that comprises data field and method.Field can self definition Properties of Objects, and method is defined in the operation of being carried out by object during the true-time operation of automated system.Resultant object forms from sufficient module, it can read, write particular memory address, (for example receive input from particular memory address (for example, register 30) according to himself data structure and method, from sensor) and output signal (for example, to actuator).
Each automation equipment 18 also comprises and is used for and functional circuit 40, first interface 38 of rudimentary actuator of the output that the functional block that for example provides the low-level sensors of sensor reading as input, acceptance to be carried out by processor 32 generates or the like communication.In addition, automation equipment 18 also comprises second interface 42, and it is used for communicating by letter with the configuration station during the configuration of automation equipment 18, and/or is used for communicating by letter with HMI 14 and/or automation controller 16 in the operating period of automation equipment 18.
Fig. 4 is the block diagram of parts at exemplary configuration station 44 that is used for the automation equipment 18 of arrangement plan 3.As shown in the figure, configuration station 44 can comprise the configuration software of being carried out by processor 46.Except processor 46, graphic embodiment comprises memory module 48, its can storage computation machine program and for example configuration software 50 and function block design constantly storehouse 52, comprise the parts of above-described preprogrammed device element (for example, functional block).The particular combinations configuration automation equipment 18 of configuration station 44 energy functions of use pieces makes that automation equipment 18 can local some function of carrying out machine/process 12.Configuration software can be installed on the configuration station 44 (for example, as stand-alone utility), maybe can visit by any scheme in some teledata exchange schemes (for example, passing through Computer Browser).In addition, in some implementations, configuration or design environment constantly can be used for serving configuration station 44 (for example, the server applications by working on the automation equipment 18) by automation equipment 18.In the embodiment of current consideration, configuration software 50 can comprise or based on can be from Milwaukee, the product under the commercial model RSNetWorx that obtains of the Rockwell Automation Co., Ltd of Wisconsin.
Particularly, configuration station 44 can be used to write, the adaptive and particular combinations that is written into (that is, downloading) functional block is to specific automation equipment 18.On the contrary, the particular combinations of functional block can read (that is, uploading) from automation equipment 18 by the configuration software 50 at configuration station 52.In addition, in the current embodiment that considers, functional block is the nonvolatile code with the Object-Oriented Programming Language configuration.Some functional block can be configured to read at least one input from above-described one or more register 30, and/or at least one output is written to above-described one or more register 30.
Configuration station 44 also comprises first interface 54 that is used for communicate by letter with automation equipment 18, and make configuration stand and 44 the particular combinations of functional block can be written to specific automation equipment 18, and from the particular combinations of specific automation equipment 18 read functions pieces.In addition, configuration station 44 also comprises and is used for second interface 56 of communicating by letter with display 60 with input equipment 58, input equipment 58 and display 60 are used for receiving the configuration information of importing (user who for example, disposes automation equipment 18 with the particular combinations of functional block) and visually showing automation equipment 18 from deviser 62 respectively.Particularly, in certain embodiments, can show the visual representation of the functional block of specific automation equipment 18 by display 62.Should be noted that the quoting of " browser " that is used to watch and revise the configuration of automation equipment 18 is not limited to Web browser or any particular browser.Quoting of browser 64 only is intended to example.More generally, term " browser " is used to quote the software that comprises any general viewer here.
Fig. 5 is the visable representation of exemplary browser 64 of Fig. 4 that is used for visually showing the configuration of specific automation equipment 18.Particularly, the browser 64 that shows among Fig. 5 can be known as the functional block editing machine.As shown in the figure, the specific automation equipment 18 that is disposed comprises two functional blocks 66 (that is, Boolean logic and (BAND) functional block 68 and band reset delay timer (TONR) functional block 70).As shown in the figure, BAND functional block 68 is configured to receive two inputs 72 and output 74 of output.Two inputs 72 that are input to BAND functional block 68 can be the values that for example reads from register 30.In the graphic customized configuration of Fig. 5 institute, two inputs that received 72 of 68 operations of BAND functional block and output output 74, output 74 is received as first input, 72 (for example, TimerEnable (timer enables)) by TONR functional block 70.As shown in the figure, TONR functional block 70 also receives second input, 72 (Reset (resetting)) from the network linking source.TONR functional block 70 is operated two inputs 72 and is exported single output 74.As shown in the figure, the single output 74 from TONR functional block 70 can for example be written to register 30 and be sent to the network linking source.The particular combinations of graphic functional block 66 is exemplary in the browser 64 of Fig. 5, and is not intended to limit.Although only diagram has two functional blocks 66, many difference in functionality pieces 66 can be used to the automation equipment 18 of any appointment.In fact, the design of using by the configuration software 50 of Fig. 4 constantly storehouse 52 (and, similarly, the runtime library of in automation equipment 18, installing 36) can comprise hundreds of dissimilar functional blocks 66, it (for example for example comprises the boolean logic function piece, AND (with), OR (or), XOR (XOR), NAND (with non-), NOR (or non-), XNOR (XNOR) or the like), bistable state (bistable) functional block (for example, RS latch, SR latch or the like), the functional block of (counter/timer) functional block and various other types.
The disclosed embodiments allow a plurality of functional blocks 66 to be integrated in the single macro block for reusing.Particularly, the macro block creation module of the configuration software 50 of Fig. 4 can be used as the design environment of creating macro block.Macro block can be defined as the entity be made up of one group of component function piece 66.All component function pieces 66 are worked together to finish a relative complex task by the form of macro block.When macro block is defined, deviser 62 can be in configuration software 50 example of application macro functional block object.In other words, the disclosed embodiments allow a plurality of functional blocks 66 to be packaged into single macro block as plug-in unit (add-on) instruction that is used for a plurality of automation equipments 18.The parameter of internal functional blocks 66 can be mapped to the input and output of macro block, makes that these parameters are addressable for the other parts of the logic of specific automation equipment 18 not only, and also is addressable for other automation equipment 18.For example, in certain embodiments, macro block can be stored in the runtime library 36 of specific automation equipment 18, be stored in the design moment storehouse 52 at customized configuration station 44, distribute and be stored in a plurality of automation equipments 18, distribute and be stored in a plurality of configurations station 44, or the like.In fact, as described in greater detail, can use configuration software 50 that macro block is uploaded to the automation equipment 18 of any amount and downloads macro block from these automation equipments 18.
Fig. 6 is the block diagram with the exemplary macro block 76 of other functional block 66 uses.As shown in Figure 6, specify the main logic 78 of automation equipment 18 to comprise comparing function piece 80, arithmetical operation functional block 82 and macro block 76.Comparing function piece 80 receives first input 84 of main logic 78, and arithmetical operation functional block 82 receives second input 86 of main logic 78.First output 88 from comparing function piece 80 is first output 90 of main logic 78.Second output 92 from comparing function piece 80 is directed into macro block 76.Unique output 94 from arithmetical operation functional block 82 also is directed into macro block 76.Unique output 96 from macro block 76 is second output 98 of main logic 78.
As shown in the figure, the exemplary macro block 76 of Fig. 6 comprises two boolean logic function pieces 100, arithmetical operation functional block 102 and comparing function piece 104.These functional blocks are to operating from second output 92 of the comparing function piece 80 of main logic 78 with from unique output 94 of the arithmetical operation functional block 82 of main logic 78, to generate second output 98 of main logic 78.The operation instruction of two boolean logic function pieces 100, arithmetical operation functional block 102 and comparing function piece 104 in the exemplary macro block 76 of Fig. 6 the function of relative complex, this function can use relative basic functions piece 66 (for example, two boolean logic function pieces 100, arithmetical operation functional block 102 and comparing function pieces 104) to be programmed in the macro block 76.In addition, exemplary macro block 76 can be preserved in other automation equipment 18 and reuse.
The kind of macro block 76 can be classified into two classifications, and is dynamic and static.Dynamic macro functional block 76 is defined by the browser 64 that deviser 62 describes by operation earlier in respect of figures 4.Deviser 62 can use these visual edit instruments of configuration software 50 to be definition macroblock-type programmed logic, definition I/O, configuration parameter or the like.The static macros functional block is defined when automation equipment 18 is in the exploitation by deviser 62.Deviser 62 can not change these definition, but can only use them in the main logic of automation equipment 18, and watches logic under the situation by safety inspection.
The macro block generic attribute
The macro block object can define by various types of attribute.In a particular embodiment, can use attribute ID 1-23.Property ID 1-7 can be optional.Attribute 8 can be named as " Instance List (example list) ", and can be required " Get (obtaining) " attribute, and it returns the structure of the array of the quantity that comprises the example of being created and their example number.Attribute 9 can be named as " Type List (list of types) ", and can be required " Get (obtaining) " attribute, and it returns the structure of the array of the quantity that comprises the macroblock-type that defines and their type i D.Attribute 10 and 11 can not be defined.
Attribute 12 can be named as " FB Output List (FB output listing) ", and can be condition " Get (obtaining) " attribute, it (for example returns detailed description with each functional block (FB) output and parameter, the functional block index, title at each output definition, cross reference is to the reference numerals " n " of FUNCTION_BLOCK_OUTPUT_n (the functional block output n) output of the clauses and subclauses of respective electronic tables of data (EDS) binding path entry, be used for the explanation option of EDS file and be used for the offset index of EDS file) structure." condition " character of attribute 12 is not need this attribute under automation equipment 18 is not supported the situation of EDS file.The member of this structure is intended to replace the information that can appear in addition among EDS clauses and subclauses 1_FUNCTION_BLOCK_OUTPUT_n (1_ functional block output n) and the 1_FB_OUTPUT_LIST (1_ functional block output listing).Attribute 13-20 can not be defined.
Attribute 21 can be named as " Maximum Number of Instances (maximum example quantity) ", and can be optional " Get (obtaining) " attribute, and it returns the maximum quantity of the macro block example that can create.Attribute 22 can be named as " Maximum Number of Types (maximum number of types) ", and can be optional " Get (obtaining) " attribute, and it returns the maximum quantity of the different macroblock-type that can create.Attribute 23 can be named as " Type Configuration Description (type configuration description) ", and can be optional " Get (obtaining) " attribute, it returns the tabular array about the description of specified type configuration.The size of tabular array should equal generic attribute 22 (" maximum number of types ").Tabular array (for example for example can comprise macroblock-type ID, purpose classification, 0-is dynamic, 1-static state, other-undefined), the corresponding document example of storage class definition, keep the storer of giving the specified file example full-size (for example, by byte) and the full-size (for example, by byte) of the single bag of specified file example acceptable.
The semanteme of macro block generic attribute
Functional block output listing, this attribute of attribute 12-provide the structure of the possible functional block output of listing this object in detail.Each possible output is assigned with unique number, and it is reflected among " FB Output Index (FB exports index) " structure member.The configuration software 50 of Fig. 4 can show each output title of describing as among " the FB output title string " member.For the consistance of 18 of automation equipments, all products can use the string of definition here.Use the EDS file as fruit product, then the EDS file also can use the string of definition here.Which binding path part " Reference Number (reference numerals) " member's pointer of structure should quote to each output.The key word of binding path part is 1_FUNCTION_BLOCK_OUTPUT_n, and wherein n is the reference numerals member.This allows the functional block output of similar data type to be combined in together in the identical data table.How " Interpretation Option (explanation option) " indication should explain FB output call number.Defined the example number that following value: 0-FB output call number can be interpreted as functional block, 1-FB output call number does not have certain sense and 2-FB output call number can be interpreted as the processing sequence of functional block." offset index " member is corresponding to the member id field in the 1_FUNCTION_BLOCK_OUTPUT_n clauses and subclauses of being quoted.This index is to provide at a functional block has a plurality of data slots in the part of identical binding path situation.As mentioned above, when by unavailable this information of EDS, need attribute 12.
Maximum example quantity, this attribute of attribute 21-are used to indicate the maximum quantity that allows the macro block 76 of establishment in specific automation equipment 18 owing to the restriction of resource.If this attribute is not supported, then can in automation equipment 18, dynamically determine the instance number quantitative limitation.
Maximum number of types, this attribute of attribute 22-are used to indicate the restriction owing to resource to allow the maximum quantity of the type of the macro block 76 registered.If this attribute is not supported, then can in automation equipment 18, dynamically determine the restriction of macroblock-type quantity.The life type identifier should be from 1 value to this attribute.
Type configuration is described, and this attribute of attribute 23-is used to provide in the part [1_MACRO_BLOCK (1_ macro block)] specific to the online EDS ability information of the EDS clauses and subclauses Static_Type_Configuration_List (static types configured list) and the Dynamic_Type_Configuration_List (regime type configured list) of macro block.TypeID (type i D) is the macroblock-type ID that is supported, Classification (classification) is the indication of classification of type, File Instance (document instance) is at the pre-assigned corresponding document example of particular type ID, Max Size of File (full-size of file) is the file full-size by byte, and Max Size of Single Packet (full-size of single bag) is the full-size of each bag of operation file example.
The macro block instance properties
Each macro block example can define by various instance properties.In a particular embodiment, can use attribute ID 1-23.Attribute 1 can be named as " Instance Type (example types) ", and can be type required that is used to be provided with the macro block of being created 76 " Set (setting) " attribute.Attribute 2-19 can not be used.Attribute 20 can be named as " Enable in Binding Path (input enables to bind the path) ", and can be to be used to be provided with the optional of structure " Set (setting) " attribute, the size that this structure comprises the member path (for example, by byte), whether member path (for example, the EPATH of packing) and indication input should be by the signs of supplement.The indication of complement code sign should be used the True Data or the complement code of the data of being quoted by the path.Attribute 21 can be named as " Enable In Constant Value (input enables constant value) ", and can be optional " Set (setting) " attribute, it is used for being provided with the constant value as Enable in (input enables).Attribute 22 can be named as " Enable Out (output enable) ", and can be optional " Get (obtaining) " attribute, it returns the enabled state of output.Attribute 23 can be named as " Process Order (processing sequence) ", and can be required " Set (setting) " attribute, it is used to be provided with the initial sequence number of the logical process of the component function piece 66 in the macro block example.
The semanteme of macro block instance properties
Example types ID, this attribute of attribute 1-is used to indicate the type of the example of being created.When the request that receives so that the value of this attribute to be set, whether value that should the Authentication-Type identifier is set up.If the type of being asked is not established, then can return wrong INVALID_ATTRIBUTE_VALUE (invalid property value) (0x09).
Input enables to bind the path, and attribute 20-input enables to bind the path that path attribute covers the source that will be used to import the information that enables, and the indication whether relevant data should supplement.This source can be the Boolean logic entity.Unique effective segment type of this attribute is Port (port), Logical (logic) and Symbolic (symbol).In logical segment, electronic key and 8 service ID sections can be invalid.
Input enables constant value, and attribute 21-enables to bind the path by input and input enables the value that the definite input that will operate of constant value attribute enables.If input enables to bind the path for empty, then input enables constant value and can use in this operation.If input enables to bind the path non-NULL, the value of then binding the path can cover input and enable constant value and be used for logical operation.Whether the value that input enables can be used to DB 66 and begin to carry out.If its value is 0 (removing), then functional block 66 is not carried out and is exported and is not updated.If its value is 1 (setting), then functional block 66 can be carried out.
Output enable, this attribute of attribute 22-can be used to Enable (enabling) signal between the cascade function piece 66, carry out with steering logic.The value of output enable is determined by the value that input enables.If the value that input enables is 1, then the value of output enable will be 1.Otherwise if the value that input enables is 0, then the value of output enable will be 0.
Processing sequence, each macro block example of attribute 23-comprises a plurality of component function pieces 66.Each component function piece 66 can have the continuous processing in the scope of macro block example of himself and number.The processing sequence attribute uses the processing sequence of the minimum processing numbering indication macro block example of component function piece 66.
Public service
The macro block object provides many public services.In a particular embodiment, the macro block object can comprise the service of called after Reset (resetting), all configurations of its can be used to reset grand type configuration, grand exemplary configuration or the like.The macro block object also can comprise the service of called after Create (establishment), and it can be used to instance object.Reply and to comprise example number.The macro block object can also comprise the service of called after Delete (deletion), and it can be used to delete particular instance.In addition, the macro block object can comprise the service of called after Get_Attribute_Single (obtaining single attribute), and it can return the value of specified attribute.The macro block object also can comprise the service of called after set_Attribute_single (single attribute is set), and it can be used to revise property value.
The request of public service and reply parameter
Service (0x05) required parameter-service of resetting that resets does not need the additional request parameter.
Parameter-successful respond is replied in the service (0x05) that resets does not have return parameters.
Create service (0x08) required parameter-establishment service and can comprise the example number required parameter, the example number that its definition is asked.
Establishment service (0x08) is replied parameter-establishment service and can be comprised example number and reply parameter.If request to create is successfully served, then can return example number in the response message.
Deletion service (0x09) required parameter-deletion service does not need the additional request parameter.
Parameter-success response is replied in deletion service (0x09) does not have return parameters.
Service specific to object
The macro block object provides called after Process_Macro_Encap_Message the service specific to object of (handling grand encapsulation messages), and it can be used for the explicit request message at the configuration process encapsulation of macroblock-type definition.This service is used for the component function piece in the instantiation macro block 76 66 is carried out service, or visits its attribute.
Specific to the request of the service of object with reply parameter
Process_Macro_Encap_Message service (0x4D) required parameter-Process_Macro_Encap_Message service can comprise the service ID required parameter, and it is the service code that is encapsulated in the message.The Process_Macro_Encap_Message service also can comprise Service Optional Data (service optional data) service, and it is the data that depend on service ID.The service ID parameter is specified will be by the packing service of the target execution of asking.The value of the service ID of supporting can comprise establishment (promptly, create parts functional block 66), deletion (promptly, deletion component function piece 66), Get_Attribute_Single (promptly, obtain the property value of parts functional block 66), and Set_Attribute_Single (that is the property value of component function piece 66, is set).
The effective service ID of in the table each can comprise service optional data value.For example, Create (0x08) Service Optional Data (create (0x08) service optional data) can comprise ClassID (class ID) parameter, and it is the class ID of the component function piece 66 created.In addition, create (0x08) service optional data and can comprise the processing sequence parameter, it is the processing serial ID in the overall logic program.Delete (0x09) Service Optional Data (deletion (0x09) service optional data) can comprise class ID parameter, and it is the class ID of the component function piece 66 created.In addition, deletion (0x09) service optional data can comprise the processing sequence parameter, and it is the processing sequence of the component function piece 66 that will delete.Get_Attribute_Single (0x0E) service optional data can comprise class ID parameter, and it is the class ID of the component function piece 66 created.In addition, Get_Attribute_Single (0x0E) service optional data can comprise the processing sequence parameter, and it is the processing sequence of component function piece 66.In addition, Get_Attribute_Single (0x0E) service optional data can comprise Attribute ID (Property ID) parameter, and it is the Property ID that will read from component function piece 66.Set_Attribute_Single (0x10) service optional data can comprise class ID parameter, and it is the class ID of the component function piece 66 created.In addition, Set_Attribute_Single (0x10) service optional data can comprise the processing sequence parameter, and it is the processing sequence of component function piece 66.In addition, Set_Attribute_Single (0x10) service optional data can comprise the Property ID parameter, and it is the Property ID that will be provided with in component function piece 66.Set_Attribute_Single (0x10) service optional data also can comprise Attribute Value (property value) parameter, and it depends on the data type of specified attribute.
Grand type definition behavior
Fig. 7 is the exemplary state transition 106 that is illustrated in the state during the configuration of automation equipment 18.Fig. 7 illustrates following state: (1) (does not for example exist 108, automation equipment 18 does not power up or does not also create example), (2) configuration 110 (for example, example exists and can be configured), (3) ready 112 (for example, Logic Supervisor Object (logic person in charge's object) (0x30E) initialization Apply (application) service and this example by checking, and the products for further incident), (4) active 114 (for example, this example is carried out its logic).
Macroblock-type definition status incident (for example can comprise power down, to automation equipment 18 outages), the configuration that powers up and preserve (for example, its non-volatile memory is read in automation equipment 18 power supplies and automation equipment 18), (for example create service, receive service), (for example obtain/be provided with service, the request that receives is to obtain or to set a property, parameter or other setting), application message (for example, the inside story that logic is responsible for object (0x30E) transmission causes example to confirm its current configuration), error message (the inside story indication application request failure of logic person in charge's object (0x30E) transmission), operation message (for example, the inside story indication example of logic person in charge's object (0x30E) transmission enters active state 114), (for example stop message, the inside story indication example that logic is responsible for object (0x30E) transmission turns back to configuration status 110) and deletion service (for example, receiving the service of deletion or the service that resets).The current state of Fig. 7 is depended in the influence of macroblock-type definition status incident.Fig. 8 is the exemplary status occurrence matrix 116 of macroblock-type definition.
Can only in configuration status 110, the instance properties example types be set and input enables to bind the path.If the request that receives in any other state then should be returned " Obj State conflict " wrong responses so that these attributes to be set.Can be in active state 110, and other is set in configuration status 110 can sets a property.
Use-case: macro block observability
Fig. 9 is the part screenshot capture of the browser 64 of Fig. 4, the new macro block tab 118 of its diagram.Browser 64 serves as the macro block creation module in design environment, it allows deviser's 62 establishment macro blocks 76 and dispose specific macro block 76 to be used for specific automation process (for example, machine/process 12 of Fig. 1).As shown in the figure, new macro block tab 118 appears in the instruction tool bar 120, as new classification.Particularly, macro block tab 118 is listed all current available macro blocks 76 in the engineering.If the available macro block instruction that has not defined then when deviser 62 selects macro block tab 118, does not have button to use.If macro block 76 is definition fully, then instruct the corresponding button on the tool bar 120 disabled, and macro block 76 can not be dragged to main logic editor 122.
Figure 10 is the exemplary popup menu 124 that allows deviser's 62 selection interpolation element menu items 126 of automation equipment 18.Deviser 62 can click mouse by right key on main logic editor 122, menu 124 is ejected.Deviser 62 can then click and add element menu item 126.When doing like this, element tabulation dialog box starts.Figure 11 is an exemplary elements tabulation dialog box 128, and it starts when deviser 62 selects the interpolation element menu item 126 of Figure 10.Element tabulation dialog box 128 is illustrated in the normal use of logic element 130 between the logic startup stage.Element tabulation dialog box 128 is listed all available macro blocks 76, and other logic element 130 that has defined fully.In element tabulation dialog box 128, deviser 62 can select macro block 76 to create the macro block example.Except the option of the interpolation element of popup menu 124, deviser 62 also can collect menu by the chief editor of browser 64 and select to add element menu item 126.Figure 12 is the part screenshot capture of the browser 64 of Fig. 4, the interpolation element menu item 126 that its graphical designs person 62 selects from chief editor's volume menu 132.
Use-case: defmacro functional block
Deviser 62 can use browser 64 defmacro functional blocks 76 in edit pattern.Particularly, Figure 13 is the part screenshot capture of browser 64, the situation that its graphical designs person 62 clicks from the macro block Submenu Items 134 and the macro block submenu 138 under the mother-tool menu 136 of mother-tool menu 136.When doing like this, create band tab (tabbed) window that is used for macro block 76 editors.Figure 14 is the part screenshot capture of browser 64, and its diagram can be used to the macro block editor 140 of edited macro piece 76.Main logic editor 122 and macro block editor 140 can be simultaneously available.
In addition, when deviser 62 selected to create macro block Submenu Items 134, macro block definition dialog box ejected.Figure 15 is the exemplary macroblock definition dialog box 142 that ejects when deviser 62 selects to create macro block Submenu Items 134.Macro block definition dialog box 142 is used for importing and illustrate the generation information about specific macro block 76.Macro block definition dialog box 142 can comprise four tab: general tab 144, I/O tab 146, parameter options card 148 and security tab 150.On general tab 144 (diagram among Figure 15), there are name field 152 and description field 154.Deviser 62 need be at macro block 76 input unique names.When deviser 62 pressed graphic ACK button 156 of institute or logical button 158, if unique, then title was carried out inspection to see.If not, then deviser 62 is prompted to import another title.
Figure 16 is the exemplary macroblock definition dialog box 142 of Figure 15 when selecting I/O tab 146.The I/O tab 146 of Figure 16 illustrates and is become gray scale and read-only input and enable the macro block input and output and enable macro block output.Deviser 62 can define the input/output end port of the macro block 76 in the I/O tab 146.Particularly, deviser 62 can import the expectation title of target port in title row 160, can select to input or output in purposes row 162, and can select data type in data type row 164.Only there are two data types that can select, the boolean sum simulation.Data type boolean indicates defined I/O can only be limited to boolean's data, and type simulation is represented the extensive class of basic data type.Any basic data type except boolean can be considered analog type.
Figure 17 is the exemplary macroblock definition dialog box 142 of Figure 15 when selecting parameter options card 148.Default ground does not have parameter to use in parameter options card 148, if or support enable line, then only having input to enable the constant value parameter can use.When deviser 62 presses ACK button 156, can use the modification of in macro block definition dialog box 142, carrying out by deviser 62.In addition, when deviser 62 presses ACK button 156, create the band tab macro block editor 140 of Figure 14 and the macro block tab 118 that macro block 76 is added to instruction tool bar 120.After deviser's 62 editorial logics are with the macro block 76 in the defmacro functional block editor 140, deviser 62 can be on macro block tab 166 rolling mouse, and click mouse by right key to select closing menu item 168, to close selected tab macro block editor 140.Figure 18 is the part screenshot capture that the browser 64 of menu item 168 is closed in the diagram selection.
Use-case: configuration macro block logic
Deviser 62 can use browser 64 to edit active macro block 76 in edit pattern.Particularly, Figure 19 is the screenshot capture of diagram browser 64 of two functional blocks 66 of hauling-out from the functional block instruction of instruction tool bar 120.The mode that is configured in the definition that deviser 62 is just using two graphic functional blocks 66 (for example, LPF (low-pass filter) functional block 170 and MAVE (moving average) functional block 172) to set up macro block 76, this and main logic is identical.Deviser 62 one of can be in two ways starts the macro block definition dialog box 142 of Figure 15 to 17.For example, Figure 20 is the screenshot capture of browser 64, and it illustrates the situation of opening macro block submenu 138 macro block definition Submenu Items 174 and mother-tool menu 136 under of deviser's 62 clicks from mother-tool menu 136.Another mode is to click mouse by right key on macro block editor 140.Figure 21 is the screenshot capture of browser 64, and its graphical designs person 62 clicks the situation of mouse by right key on macro block editor 140.As shown in figure 21, open macro block definition Submenu Items 174 and become available.
The property dialog box of opening the individual feature piece 66 of macro block 76 from macro block editor 140 allows the characteristic of deviser 62 macro block 76 that editor can external reference under the situation of not opening macro block definition dialog box 142.By clicking objective function piece 66, can start the functional block property dialog box.Figure 22 is the exemplary functions piece property dialog box 176 that ejects when deviser 62 clicks objective function piece 66.As shown in the figure, can select parameter options card 178 to check the parameter of objective function piece 66 (for example, the LPF functional block 170 of Figure 19-21).
Can press editor's macroblock parameters button 180 to show the tabulation of the macro block parameter that can outside watch.Figure 23 is the exemplary functions piece property dialog box 176 of Figure 22 when pressing editor's macroblock parameters button 180 and show the tabulation 182 of the macro block parameter that can outside watch.Title row 184 are titles of macro block parameter, and it can not be sky, and must be unique.Another name row 186 are another names of macro block parameter.When deviser 62 clicks any cell of calling in the row 186, show combination window 188, it lists all available parameters in the concrete function piece 66.Deviser 62 can select the functional block parameter quoted by the macro block parameter.When the functional block parameter has been cited, this functional block parameter in combination window 188 no longer as seen.
In the tabulation 182 of the macro block parameter that can outside watch, show a null 190 all the time., create new macro block parameter and show another new null 190 during selection function piece attribute whenever deviser 62 input titles or in the another name cell.Deviser 62 also can be from the tabulation 182 of the macro block parameter that can outside watch deletion macro block parameter.In addition, deviser 62 can be by double-clicking the macro block definition dialog box 142 that starts Figure 15 to 17 in the tabulation 182 of the macro block parameter that can outside watch.
Get back to Figure 21 now, when deviser 62 finished modification macro block logic, deviser 62 can click mouse by right key and select the application menu item to revise to use on macro block editor 140.If the logic in the macro block, is then enabled its corresponding button on the macro block tab 118 of instruction tool bar 120 by checking.Support the copy and paste between main logic screen and the macro block editor 140.When disposing the macro block logic, all macro block instruction can the change ashes in the instruction tool bar 120.
Use-case: the macro block in the main logic
Deviser 62 can use browser 64 to add macro block 76 to main logic.Figure 24 is the screenshot capture of browser 64, the macro block 76 that its diagram is used by the component function piece in the main logic window 192 of browser 64 66.Particularly, deviser 62 is just using " grand 2 " macro block 194 and MAVE (moving average) component function piece 196.Deviser 62 can create the example of macro block 76 in every way in main logic window 192.For example, as mentioned above, deviser 62 can select to add element Submenu Items 126 from chief editor's volume menu 132.In addition, the button 198 in the macro block tab 118 of instruction tool bar 120 can be clicked or be dragged and dropped in the main logic window 192.Do not having under the outside situation about connecting, each macro block example is added to main logic window 192.The external visibility of macro block example is followed following agreement: the digital input and output of macro block example figure respectively are rendered as
Figure BSA00000434602600191
With
Figure BSA00000434602600192
, the analog input of macro block example and export respectively that figure is rendered as
Figure BSA00000434602600193
With
Figure BSA00000434602600194
Use-case: configuration macro block instance parameter
In case macro block example (for example, Figure 24 grand 2 194) has been added to main logic window 192, deviser 62 can dispose the parameter of macro block example.Deviser 62 can click the button 200 in the upper right corner of macro block example.Figure 25 is the exemplary macro block property dialog box 202 that ejects when the button 200 in the upper right corner of deviser's 62 click macro block examples.As shown in the figure, can select parameter options card 204 checking the external parameter of macro block example (for example, Figure 24 grand 2 194), and externally parameter is to revise external parameter under the situation that can be provided with.If macro block 76 is enabled security, then prompting deviser 62 enters password before entering macro block editor 140.In macro block editor 140, configuration and layout when being used to edit the macro block logic configuration of parameters of operating part and layout and defmacro functional block 76 are identical.
Use-case: management macro block
Deviser 62 can use browser 64 to manage macro block 76.Figure 26 is the exemplary macroblock manager dialog frame 206 that ejects when deviser 62 selects the specific macro block example in the macro block editor 140 and selects macro block manager option.Particularly, deviser 62 can select macro block manager option by clicking from the macro block submenu 138 (referring to for example Figure 20) under the mother-tool menu 136 of the macro block manager Submenu Items of mother-tool menu 136 and browser 64, has wherein selected the macro block example.Macro block manager dialog frame 206 is listed all macro blocks 76, and does not consider its completion status.Can select single macro block 76, and can revise macro block 76, perhaps delete macro block 76 by pressing delete button 210 by pressing modification button 208.If browser 64 is not in edit pattern, then forbidding is revised button 208 and delete button 210.On the contrary, if browser 64 is in edit pattern, then enables and revise button 208 and delete button 210.Whether the specific macro block 76 of status Bar 212 expressions is finished.How many macro block examples 214 expressions of example row have created.When deviser 62 attempted to revise or deletes defined macro block 76, this information provided the summary about the macro block example that is just using.Whether the specific macro block 76 of security column 216 expressions is subjected to password protection.
Use-case: revise the macro block definition
As mentioned above, deviser 62 can use browser 64 to revise active macro block 76 in edit pattern.Get back to graphic example among Figure 24, deviser 62 can start the macro block definition dialog box 142 of Figure 15 to 17 with many different modes.For example, Figure 27 is the screenshot capture of browser 64, and it illustrates the situation of opening macro block submenu 138 macro block definition Submenu Items 174 and mother-tool menu 136 under of deviser's 62 clicks from mother-tool menu 136.Another mode is to click mouse by right key on the macro block example.Figure 28 is the part screenshot capture of browser 64, and its graphical designs person 62 clicks the situation of mouse by right key on the macro block example.As shown in figure 28, open macro block (mb) type definition Submenu Items 218 and become available.Alternatively, deviser 62 can press the modification button 208 of the macro block manager dialog frame 206 of Figure 26.In these options any one drawn the macro block definition dialog box 142 of Figure 15 to 17.
In case show the macro block definition dialog box 142 of Figure 15 to 17, deviser 62 can revise the title of selected macro block 76 in the name field 152 on the graphic general tab 144 of Figure 15.When deviser 62 pressed ACK button 156, title can be applied to all examples of selected macro block 76, and used the macro block button 198 on the macro block tab 118 of newname update instruction tool bar 120.Deviser 62 can revise the input and output of selected macro block 76 on the graphic I/O tab 146 of Figure 16.When deviser 62 presses ACK button 156, can upgrade the input and output of all examples of macro block 76.Deviser 62 can enable security on security tab 150 new password to be set.When if deviser 62 presses ACK button 156, the security modification can be applied to all examples of selected macro block 76.The modification of the logic of selected macro block 76 comprises the parameter configuration of each component function piece 66.After revising selected macro block 76, described deviser 62 clicks the application menu option to use all editors.Figure 29 is the screenshot capture of browser 64, and its graphical designs person 62 uses whole editors' situation by clicking application menu item 220.
Use-case: remove the macro block definition
Deviser 62 also can use browser 64 to remove active macro block 76 in edit pattern.Get back to Figure 27 and 28 graphic examples, deviser 62 can select macro block manager option by clicking from the macro block submenu 138 (referring to for example Figure 20) under the mother-tool menu 136 of the macro block manager Submenu Items of mother-tool menu 136 and browser 64, has wherein selected the macro block example.This has drawn the macro block manager dialog frame 206 of Figure 26, and wherein deviser 62 can select macro block 76 and press delete button 210 to remove selected macro block 76.If in main logic, used the macro block 76 of deletion, then can point out deviser 62, and deviser 62 must select to continue the selected macro block 76 of deletion.If deviser 62 selects " being ", then selected macro block 76 meetings disappear from the instruction list of the macro block tab 118 of instruction tool bar 120.In main logic, can delete the employed example of type with the macro block 76 that removes.
Macro block 76 encapsulation are used for the customization steering logic of application-specific, and it comprises the intellecture property (IP) that deviser 62 may not wish to be exposed to other people.The purpose of password protection is the ability that its IP of protection is provided for macro block deviser 62.Stage at design macro block 76 is provided with password.When using password protection in main logic, its scope can extend to each macro block example.
Use-case: password protection is set
Deviser 62 also can use browser 64 that the password protection that enlivens macro block 76 is set in edit pattern.Get back to graphic example in Figure 27 and 28, deviser 62 can open the macro block definition dialog box 142 of Figure 15 to 17 with previously described any way.In case opened macro block definition dialog box 142, deviser 62 can select security tab 150.Figure 30 is the exemplary macroblock definition dialog box 142 of Figure 15 when selecting security tab 150.Default ground, the forbidding password protection.Deviser 62 can select to enable password check box 222 to enable the password protection of macro block 76.Enable password check box 220 in case choose, deviser 62 can set up new password.
Use-case: the macro block under the operation password protection
In case specific macro block 76 has been set up password protection, the use of the macro block 76 of password protection needs deviser's 62 checking passwords.For example, Figure 31 is the exemplary macroblock password dialog frame 224 that shows when deviser 62 attempts the macro block 76 of use password protection.When configuration software 50 during just with automation equipment 18 online interactions, the password of input can be sent to automation equipment 18.If automation equipment 18 is passed through password authentication, the then operation of describing in the configuration software 50 meeting continuation use-case formerly.During when configuration software 50 off-lines and not with automation equipment 18 online interactions, configuration software 50 is responsible for the checking password.If it is by checking, the then operation of describing in the configuration software 50 meeting continuation use-case formerly.
Configuration software 50 has three different operator schemes.First operator scheme is online animation mode.In this pattern, configuration software 50 is constantly communicated by letter with target automation equipment 18.When configuration software 50 is in line states, and when the configurations match that presents on configuration and the automation equipment 18, configuration software 50 can be operated in this pattern.Deviser 62 can see the execution result of logic on the automation equipment 18 in the animation mode.In the time of in being in this pattern, deviser 62 can only be allowed to logic is carried out attribute modification.Yet if deviser 62 selects editor's configuration, configuration software 50 can withdraw from this pattern, and enters the edit pattern that describes below.Second operator scheme is online wait edit pattern.In this pattern, configuration software 50 can be communicated by letter with automation equipment 18.When configuration software 50 is in line states, and when the configuration that presents on configuration and the automation equipment 18 did not match, configuration software 50 can be operated in this pattern.The 3rd operator scheme is edit pattern.In this pattern, deviser 62 is allowed to revise logic, and configuration software 50 can not be communicated by letter with automation equipment 18.
Use-case: preserve and download configuration
Deviser 62 can use configuration software 50 that macro block definition and password protection setting thereof are downloaded to specific automation equipment 18.When doing like this, the configuration of automation equipment 18 is saved in the local file, and the configuration of automation equipment 18 is downloaded to automation equipment 18.If configuration software 50 arrives off-line state, then the configuration of automation equipment 18 can be saved to local file, comprises the information that macro block 76 and password protection thereof are provided with.When configuration software 50 was got back to presence, the configuration of automation equipment 18 was downloaded to automation equipment 18 at this moment, comprised the information that macro block 76 and password protection thereof are provided with.
Use-case: upload and preserve configuration
Under the situation that specific automation equipment 18 has been configured, deviser 62 also can use configuration software 50 to upload macro block definition and password protection setting thereof from automation equipment 18.When doing like this, the configuration of automation equipment 18 is uploaded from automation equipment 18, and is saved in the local file.If configuration software 50 arrives off-line state, then the configuration of automation equipment 18 can be saved to local file, comprises the information that macro block 76 and password protection thereof are provided with.If configuration software 50 is got back to presence, then the configuration of automation equipment 18 is downloaded to automation equipment 18, comprises the information that macro block 76 and password protection thereof are provided with.So can be in online or off-line mode the configuration of being preserved of operation automation equipment 18.
Exemplary macro block-combinde alarms
Configuration software 50 provides the warning function piece as the basic function logic.The warning function piece is from the input port receiving inputted signal, and based on the configuration of parameter: Gao-Gao restriction, high restriction, low restriction and low-low restriction, via an output port output alarm signal.This single output with digital data type comprises a plurality of warnings.In output word, to define low 4, wherein: position 0-LLAlarm, position 1-LAlarm, position 2-HAlarm, position 3-HHAlarm.Thereby, in warning function block object definition, to introduce, the operation rule that follow in the following form calculates output, and what wherein HHLimit, HLimit, LLimit and LLLimit represented the warning function piece need be by the internal threshold parameter of deviser's 62 configurations.Figure 32 is the representative condition of exemplary warning function piece and the tabulation 226 of output.
Figure 33 is diagram equates the browser 64 of the exemplary warning function piece 228 that (MEQ) functional block 230 is used by mark a part screenshot capture. in this is used, when deviser 62 wishes to filter the particular alarm position from this output of warning function piece 228, can use additional MEQ functional block 230.For example, if deviser 62 only wants the output (for example, numeral output 1) of HAlarm signal as hardware when the value of analog input 1 is assessed as data source, then can logic and the parameter setting that constitute MEQ functional block 230 as illustrated.Situation can be all the single alarm bits in the output of respectively output alarm functional block 228 more generally.As described herein, the function of macro block can be used to design integrated macro block 76 to realize this function.For example, this macro block 76 can be named as combinde alarms.Figure 34 is the exemplary embodiment of the logic of combinde alarms macro block 232.As shown in the figure, combinde alarms macro block 232 can comprise warning function piece 228 and corresponding to each four the MEQ functional blocks 230 in the position output (for example, HHLimit, HLimit, LLimit and LLLimit) of warning function piece 228.Figure 35 is the exemplary embodiment of combinde alarms macro block 232, and it can use in main logic, and wherein each alarm bit output 234 is connected to a numeral output 236.The combinde alarms macro block is only represented the mode that can comprise macro block function described herein, but is not intended to limit.
Nested macro block 76 is important characteristics.Figure 36 illustrates the exemplary nested of a plurality of macro blocks 76.Derivation/the importing of macro block 76 also is important characteristic.Figure 37 is the part screenshot capture of browser 64, and it illustrates deviser 62 and how to select derivation/importing instruction.
Though a diagram here and described some characteristic of invention, yet those skilled in the art can expect many modifications and variations.Therefore, should be appreciated that appended claims attempts all this modifications and variations are covered in true spirit of the present invention and the scope.

Claims (13)

1. distribute control method that is used for process comprises:
Grand creation module in the visit design environment;
Visit a plurality of functional blocks, described a plurality of functional blocks are configured to export to generate according to the arithmetic of input carry out desired and/or logical operation;
Create via creation module grand in a plurality of functional blocks in described a plurality of functional blocks are encapsulated in the single plug-in unit instruction set, in the input of wherein said a plurality of functional blocks one of at least with export in be mapped to one of at least described grand input and output;
Described grand configuration is used for specific automation process;
Described grand downloading in the automation equipment; With
Store described grand for follow-up use in other automation equipment.
2. the method for claim 1, wherein said functional block comprise the nonvolatile code with the Object-Oriented Programming Language configuration.
3. the method for claim 1 wherein disposes grand at least one memory register of configuration that comprises, wherein said functional block reads at least one input from described memory register.
4. the method for claim 1 wherein disposes grand at least one memory register of configuration that comprises, wherein said functional block writes described memory register with at least one output.
5. the method for claim 1, in which during operation, described automation equipment is coupled to automation controller via network, but under not from the situation of the order of described automation controller according to described at least one input of grand reception and generate at least one output.
6. the method for claim 1 wherein in described design environment, is created described grand on the configuration station.
7. the method for claim 1 comprises described grand uploading to from described automation equipment is disposed the station.
8. distributed automatization opertaing device comprises:
Storage comprises the grand memory circuitry of a plurality of functional blocks, and described functional block is configured to export the described grand specific automation process that is arranged to according to the arithmetic of input carry out desired and/or logical operation to generate;
Processor is configured to carry out described grand; With
Interface is configured to according to by the grand of described processor execution output being exported.
9. equipment as claimed in claim 8, wherein said distributed automatization opertaing device comprises the input/output terminal piece.
10. equipment as claimed in claim 8, wherein said distributed automatization opertaing device comprises the button piece.
11. equipment as claimed in claim 8, wherein said distributed automatization opertaing device comprises overload relay.
12. equipment as claimed in claim 8, wherein said distributed automatization opertaing device comprises motor driver or motor starter.
13. a dcs comprises:
The distributed automatization opertaing device comprises: storage comprises the grand memory circuitry of a plurality of functional blocks, and described functional block is configured to export the described grand specific automation process that is arranged to according to the arithmetic of input carry out desired and/or logical operation to generate; Processor is configured to carry out described grand; And interface, be configured to according to output being exported by the grand of described processor execution; With
Automation controller arrives described distributed automatization opertaing device via network coupled;
Wherein said distributed automatization opertaing device is configured to communicate by letter with described automation controller via described network, but receives the output that input and output are generated under the situation from the order of described automation controller not.
CN2011100384811A 2010-02-12 2011-02-12 Marco functional block for packaging device-level embedded logic Pending CN102193536A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US30427510P 2010-02-12 2010-02-12
US61/304,275 2010-02-12
US12/895,392 2010-09-30
US12/895,392 US9134720B2 (en) 2010-02-12 2010-09-30 Macro function block for encapsulating device-level embedded logic

Publications (1)

Publication Number Publication Date
CN102193536A true CN102193536A (en) 2011-09-21

Family

ID=44601741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100384811A Pending CN102193536A (en) 2010-02-12 2011-02-12 Marco functional block for packaging device-level embedded logic

Country Status (1)

Country Link
CN (1) CN102193536A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628208A (en) * 2018-04-28 2018-10-09 武汉纺织大学 A kind of embedded control system and its control method based on distributed I/O
CN109086070A (en) * 2018-07-25 2018-12-25 浙江中控技术股份有限公司 A kind of industry control industry library packaging method and system defined based on free logic
CN111913426A (en) * 2019-05-08 2020-11-10 创升益世(东莞)智能自控有限公司 Software container method applied to industrial automation control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998036335A2 (en) * 1997-02-14 1998-08-20 Fisher-Rosemount Systems, Inc. Process control system using a layered-hierarchy control strategy distributed into multiple control devices
US5971581A (en) * 1997-09-17 1999-10-26 National Instruments Corp. Fieldbus network configuration utility with improved scheduling and looping
EP1278162A1 (en) * 2001-07-19 2003-01-22 Toyota Caelum Incorporated CAD system, design-support program for CAD system, and design methods
CN101267517A (en) * 2007-03-12 2008-09-17 三星电子株式会社 Apparatus and method for operating macro command and inputting macro command
GB2456037A (en) * 2007-12-31 2009-07-01 Fisher Rosemount Systems Inc Automatic configuration of synchronous block execution for control modules in Fieldbus networks
CN101529351A (en) * 2006-08-24 2009-09-09 西门子能量及自动化公司 Devices, systems, and methods for configuring a programmable logic controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998036335A2 (en) * 1997-02-14 1998-08-20 Fisher-Rosemount Systems, Inc. Process control system using a layered-hierarchy control strategy distributed into multiple control devices
US5971581A (en) * 1997-09-17 1999-10-26 National Instruments Corp. Fieldbus network configuration utility with improved scheduling and looping
EP1278162A1 (en) * 2001-07-19 2003-01-22 Toyota Caelum Incorporated CAD system, design-support program for CAD system, and design methods
CN101529351A (en) * 2006-08-24 2009-09-09 西门子能量及自动化公司 Devices, systems, and methods for configuring a programmable logic controller
CN101267517A (en) * 2007-03-12 2008-09-17 三星电子株式会社 Apparatus and method for operating macro command and inputting macro command
GB2456037A (en) * 2007-12-31 2009-07-01 Fisher Rosemount Systems Inc Automatic configuration of synchronous block execution for control modules in Fieldbus networks

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628208A (en) * 2018-04-28 2018-10-09 武汉纺织大学 A kind of embedded control system and its control method based on distributed I/O
CN108628208B (en) * 2018-04-28 2020-01-14 武汉纺织大学 Embedded control system based on distributed IO and control method thereof
CN109086070A (en) * 2018-07-25 2018-12-25 浙江中控技术股份有限公司 A kind of industry control industry library packaging method and system defined based on free logic
CN111913426A (en) * 2019-05-08 2020-11-10 创升益世(东莞)智能自控有限公司 Software container method applied to industrial automation control system

Similar Documents

Publication Publication Date Title
US11227080B2 (en) Industrial automation information contextualization method and system
RU2417391C2 (en) Devices, systems and methods of configuring programmable logic controller
US9134720B2 (en) Macro function block for encapsulating device-level embedded logic
US7290030B2 (en) Internet object based interface for industrial controller
US7836217B2 (en) Associating and evaluating status information for a primary input parameter value from a Profibus device
US20150019191A1 (en) Industrial simulation using redirected i/o module configurations
US8990768B2 (en) Software object property return method and system
CN101763043B (en) For the method and system of automation collaborative framework
CN105991765A (en) Method for backuping the industrial automatic factory in the cloud
CN101788791A (en) Application builder for industrial automation
CN107548475A (en) Adaptive striding equipment control and steerable system and its corresponding method
EP3002649B1 (en) Industrial simulation using redirected i/o module configurations
CN104238503A (en) Graphic display configuration framework for unified control system interface
CN102809948B (en) System and method for block instantiation
US20150045917A1 (en) Remote object data property replication method and system
CN102193536A (en) Marco functional block for packaging device-level embedded logic
CN103792857A (en) Scalable automation system
US10268611B2 (en) Input/output (I/O) binding with automatic international electromechanical commission (IEC) address generation in remote terminal unit (RTU) configuration
Thramboulidis et al. Field device specification for the development of function block oriented engineering support systems
CN107561950B (en) Programming method of controller in building and server for providing programming tool of controller
EP4170442A1 (en) Edge application discovering and translating state machine objects in automation controllers for mes and dcs applications
EP4307105A1 (en) Extensible profiles for industrial control modules
US20240103851A1 (en) Presentation design to automation device binding
US20240103850A1 (en) Presentation design to background service binding
EP4345549A1 (en) Presentation design dynamic generation from data model server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20110921

RJ01 Rejection of invention patent application after publication