DE102006013827A1 - Field device e.g. fill level measuring device, adjusting method for automation engineering, involves storing user-specific function if string is free from syntax-error, and computing functional values during each function call - Google Patents
Field device e.g. fill level measuring device, adjusting method for automation engineering, involves storing user-specific function if string is free from syntax-error, and computing functional values during each function call Download PDFInfo
- Publication number
- DE102006013827A1 DE102006013827A1 DE200610013827 DE102006013827A DE102006013827A1 DE 102006013827 A1 DE102006013827 A1 DE 102006013827A1 DE 200610013827 DE200610013827 DE 200610013827 DE 102006013827 A DE102006013827 A DE 102006013827A DE 102006013827 A1 DE102006013827 A1 DE 102006013827A1
- Authority
- DE
- Germany
- Prior art keywords
- function
- string
- user
- field device
- syntax
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0426—Programming the control sequence
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25428—Field device
Abstract
Description
Die Erfindung betrifft ein Verfahren zur benutzerspezifischen Anpassung eines Feldgerätes der Automatisierungstechnik gemäß dem Oberbegriff des Anspruchs 1.The The invention relates to a method for customization a field device of automation technology according to the preamble of Claim 1.
In der Automatisierungstechnik werden vielfach Feldgeräte eingesetzt, die zur Erfassung und/oder Beeinflussung von Prozessvariablen dienen.In In automation technology field devices are often used which serve to detect and / or influence process variables.
Beispiele für derartige Feldgeräte sind Füllstandsmessgeräte, Massedurchflussmessgeräte, Druck- und Temperaturmessgeräte, pH- und Leitfähigkeitsmessgeräte etc., die als Sensoren die entsprechenden Prozessvariablen Füllstand, Durchfluss, Druck, Temperatur bzw. pH-Wert bzw. Leitfähigkeitswert erfassen.Examples for such field devices are level gauges, mass flow meters, pressure and temperature measuring devices, pH and conductivity meters, etc., as sensors the corresponding process variables level, Flow, pressure, temperature or pH value or conductivity value to capture.
Zur Beeinflussung von Prozessvariablen dienen Aktoren, die z. B. als Ventile den Durchfluss einer Flüssigkeit in einem Rohrleitungsabschnitt oder als Pumpen den Füllstand in einem Behälter steuern.to Influence of process variables are actuators, the z. B. as Valves the flow of a liquid in a pipe section or as pumps the level in a container Taxes.
Als Feldgeräte werden auch Registriergeräte bezeichnet, die vor Ort Messdaten aufzeichnen.When field devices are also called recording devices, which record measurement data on site.
Eine Vielzahl solcher Feldgeräte wird von der Fa. Endress+Hauser hergestellt und vertrieben.A Variety of such field devices is manufactured and sold by Endress + Hauser.
In der Regel sind Feldgeräte in modernen Automatisierungsanlagen über Feldbussysteme (HART, Profibus, Foundation Fieldbus, etc.) mit übergeordneten Einheiten (z. B. Leitsysteme oder Steuereinheiten) verbunden, um mit diesen Daten insbesondere Messdaten auszutauschen. Diese übergeordneten Einheiten dienen unter anderem zur Prozesssteuerung, Prozessvisualisierung, Prozessüberwachung.In usually are field devices in modern automation systems via fieldbus systems (HART, Profibus, Foundation Fieldbus, etc.) with parent Units (eg control systems or control units) connected to in particular to exchange measured data with these data. This parent Among other things, units are used for process control, process visualization, Process monitoring.
Aus
der
Allgemein ist bei Feldgeräten eine benutzerspezifische Anpassung normalerweise dadurch möglich, dass Parameterwerte für im Feldgerät fest vorgegebene Funktionen benutzerspezifisch gewählt werden können. Funktionen selbst können jedoch nicht abgeändert werden, da sie in kompilierter Form vorliegen. Werden solche Änderungen gewünscht, muss das im Feldgerät ablaufenden Softwareprogramm abgeändert werden. In der Regel handelt es sich hierbei um Einzellösungen für ganz spezielle Anwendungen. Dies bedeutet einen erheblichen Verwaltungsaufwand bei den verschiedenen Softwareversionen auf Seiten des Feldgeräteherstellers. Bei jeder Softwareänderung müssen diese Einzellösungen speziell berücksichtigt werden. Auch Zertifizierungen sind bei einer Vielzahl von Softwareversionen umfangreicher, da teilweise jede einzelne Version zertifiziert werden muss.Generally is with field devices a customization usually possible by that Parameter values for in the field device fixed functions are selected user-specifically can. Functions themselves can but not changed because they are in compiled form. Will such changes desired, must that in the field device be changed running software program. Usually These are individual solutions for very specific applications. This means a considerable administrative burden on the various Software versions on the part of the field device manufacturer. With every software change have to these individual solutions specially considered become. Also, certifications are more extensive in a variety of software versions, because sometimes every single version has to be certified.
Außerdem muss das geänderte Softwareprogramm in das betreffende Feldgerät übertragen werden. Hierfür muss ein Servicetechniker das Gerät aufsuchen und das Softwareprogramm ins Gerät übertragen. Meist ist hiermit auch eine unerwünschte Unterbrechung des Messbetriebs verbunden.In addition, must the changed Software program are transferred to the field device concerned. This must be a Service technician visit the device and transfer the software program to the device. This is usually also an undesirable interruption of the measuring operation connected.
Aufgabe der Erfindung ist es deshalb ein Verfahren zur benutzerspezifischen Anpassung eines Feldgeräts der Automatisierungstechnik anzugeben, das die oben genannten Nachteile nicht aufweist, das insbesondere eine einfach, schnell und kostengünstig durchführbar ist.task The invention is therefore a method for user-specific Adaptation of a field device specify the automation technology, not the above-mentioned disadvantages having, in particular, a simple, fast and inexpensive to carry out.
Gelöst wird diese Aufgabe durch die im Anspruch 1 angegebenen Verfahrensschritte.Is solved This object is achieved by the method steps indicated in claim 1.
Vorteilhafte Weiterentwicklungen der Erfindung sind in den Unteransprüchen angegeben.advantageous Further developments of the invention are specified in the subclaims.
Die wesentliche Idee der Erfindung besteht darin im Softwareprogramm, das in kompilierter Form vorliegt, einen Interpreterprogrammteil vorzusehen. Der Interpreterprogrammteil dient zur Verarbeitung von benutzerspezifischen Funktionen, die als Zeichenkette vom Benutzer am Feldgerät eingegeben werden. Nach der Überprüfung der benutzerspezifischen Funktion auf die richtige Syntax wird die Funktion unter dem Funktionsnamen abgespeichert. Bei jedem Aufruf des Funktionsnamens im Softwareprogramm wird der Funktionswert neu berechnet.The essential idea of the invention consists in the software program, which is in compiled form, an interpreter program part provided. The interpreter program part is used for processing user-specific functions that are as a string by the user on the field device be entered. After checking the user-specific function to the correct syntax will be the function stored under the function name. Each time the function name is called the software value recalculates the function value.
Dies kann sehr schnell und wiederkehrend erfolgen. Der Funktionswert kann am Feldgerät angezeigt oder über eine externe Schnittstelle z. B. eine Feldbusschnittstelle oder einen Stromausgang an eine zentrale Steuereinheit weitergegeben werden.This can be done very fast and recurring. The function value can on the field device displayed or over an external interface z. B. a fieldbus interface or passed a current output to a central control unit become.
Durch den Interpreterprogrammteil ist es somit für den Anwender möglich eine beliebige Funktion als Formel am Feldgerät einzugeben, um damit eine benutzerspezifische Anpassung des Feldgerätes zu ermöglichen.By the interpreter program part is thus possible for the user to enter any function as a formula on the field device in order to create a to allow user-specific adaptation of the field device.
Nachfolgend ist die Erfindung anhand eines in der Zeichnung dargestellten Ausführungsbeispiels näher erläutert.following The invention is explained in more detail with reference to an embodiment shown in the drawing.
Es zeigen:It demonstrate:
In
Das im Mikroprozessor μP ablaufende Softwareprogramm SP definiert die anwendungsbezogenen Funktionalitäten des Feldgerätes (z. B. Messwertberechnung, Hüllkurvenauswertung, Linearisierung der Messwerte, Diagnoseaufgaben etc.).The in the microprocessor μP running software program SP defines the application-related functionalities of the field device (eg measured value calculation, envelope evaluation, Linearization of measured values, diagnostic tasks, etc.).
Weiterhin ist der Mikroprozessor μP mit einer Anzeigebedieneinheit A/B (z. B. LCD-Anzeige mit mehreren Drucktasten verbunden.Farther is the microprocessor μP with a display operation unit A / B (e.g., multi-LCD display Push buttons connected.
Zur Kommunikation mit einer Steuereinheit ist der Mikroprozessor μP über einen Kommunikations-Einheit COM mit einer externen Schnittstelle ES verbunden. Eine Versorgungseinheit NT liefert die notwendige Energie für die einzelnen Elektronikkomponenten des Feldgerätes F1. Die Energieversorgungsleitungen zu den einzelnen Komponenten im Feldgerät sind der Übersichtlichkeit halber nicht eingezeichnet.to Communication with a control unit is the microprocessor μP via a Communication unit COM connected to an external interface ES. A supply unit NT supplies the necessary energy for the individual Electronic components of the field device F1. The power supply lines For the sake of clarity, the individual components in the field device are not located.
Bei der externen Schnittstelle ES kann es sich zum Beispiel um einen 4–20 mA Stromausgang handeln, über den ein vom Feldgerät F1 gelieferter Messwert an eine Steuereinheit oder an eine Warte weitergeleitet wird. Alternativ kann es sich bei der externen Schnittstelle ES auch um eine digitale Kommunikationsschnittstelle handeln nach einem der in der Automatisierungstechnik üblichen Standards wie z. B. HART, Profibus oder Foundation Fieldbus. Das Feldgerät kann auch als 2-Leiter-Gerät (loop powered) ausgelegt sein, das in diesem Fall über die Schnittstelle ES versorgt wird.at the external interface ES may be, for example, a 4-20 mA Power output act, over the one from the field device F1 supplied measured value forwarded to a control unit or to a control room becomes. Alternatively, the external interface ES also act around a digital communication interface after a the standard in automation technology standards such. B. HART, Profibus or Foundation Fieldbus. The field device can also as a 2-wire device (loop powered), in this case via the interface IT is being supplied.
In
Die einzelnen Einheiten DS, K, MWV sowie MWD sind jeweils mit einer Eingabeverwaltungseinheit EV verbunden. Über die Eingabeverwaltungseinheit EV erhalten diese Einheiten die notwendigen Parameter, die über die Anzeige-/Bedieneinheit A/B eingegeben werden. Die Eingabeverwaltungseinheit EV ist zusätzlich mit einem Interpreterprogrammteil IP, der die eigentliche Neuerung darstellt, verbunden.The individual units DS, K, MWV and MWD are each with a Input management unit EV connected. About the input management unit EV, these units get the necessary parameters over the Display / control unit A / B are entered. The input management unit EV is additional with an interpreter program part IP, which is the actual innovation represents, connected.
Gestrichelt umrandet sind die Komponenten dargestellt, die zum Softwareprogramm SP gehören, das im Mikroprozessor μP abläuft. Das Softwareprogramm SP liegt in kompilierter Form vor und dient im Wesentlichen zur Messwertverarbeitung.dashed Outlined are the components that are part of the software program Belong to the SP, that in the microprocessor μP expires. The software program SP is available in a compiled form and serves essentially for measured value processing.
Nachfolgend ist das erfindungsgemäße Verfahren näher erläutert. Im Softwareprogramm SP stehen verschiedene Variablen und mathematische Basisfunktionen bzw. Operatoren in einem Rechenprogrammteil zur Verfügung.following is the inventive method explained in more detail. in the Software program SP are various variables and mathematical Basic functions or operators in a computer program part for Available.
In einem Verfahrenschritt a) gibt der Benutzer eine benutzerspezifische Funktion F als Zeichenkette ein.In a method step a), the user gives a user-specific Function F as a string.
Die Eingabe kann z. B. über die Anzeigebedieneinheit A/B erfolgen. In einem Verfahrenschritt b) wird die Zeichenkette Z an einen Interpreterprogrammteil IP weitergegeben. Anschließend wird die Zeichenkette Z auf Syntaxfehler geprüft (Verfahrensschritt c). Hierbei kann z. B. festgestellt werden, ob die angegebenen Variablen definiert bzw. alle Klammerausdrücke ordnungsgemäß sind.The Input can z. B. over the display operation unit A / B is performed. In a process step b) the string Z is passed to an interpreter program part IP. Subsequently the character string Z is checked for syntax errors (method step c). in this connection can z. For example, determine if the specified variables are defined or all parentheses are correct.
Wenn die Prüfung nach Verfahrensschritt d) fehlerfrei erfolgt ist, wird die benutzerspezifische Funktion unter dem entsprechenden Funktionsnamen gespeichert.If the exam After process step d) is done without errors, the user-specific function saved under the corresponding function name.
Die Berechnung des Funktionswertes der benutzerspezifischen Funktion F erfolgt immer dann, wenn der Funktionsnamen aufgerufen wird.The calculation of the function value of the user-specific function F always takes place when the function name is called.
Somit kann der Funktionswert schnell und einfach berechnet werden. Die für die Berechnung des jeweiligen Funktionswerts eventuell benötigten Parameterwerte oder Variablen werden von den jeweiligen Einheiten DS, K, MWV, MWD sowie EV entsprechend zur Verfügung gestellt.Consequently The function value can be calculated quickly and easily. The for the Calculation of the respective function value possibly required parameter values or variables are from the respective units DS, K, MWV, MWD and EV accordingly posed.
Als einfaches Beispiel sei die Funktion test angegeben, die sich wie folgt berechnet. test= mf/vf wobei die Variable mf den Massedurchfluss und die Variable vf den Volumendurchfluss angibt. Die Zeichenkette Z, die der Benutzer eingeben muss, lautet in diesem Fall einfach „test= mf/vf". Diese Variable test gibt die Dichte der zu messenden Flüssigkeit (oder Gas) wieder. Das Feldgerät F1 kann so konfiguriert werden, dass die Variable test z. B. angezeigt werden soll. Jedes Mal wenn die Anzeige-/Bedieneinheit A/B diesen Funktionswert benötigt, wird dieser berechnet und entsprechend aktualisiert dargestellt. Ebenfalls kann diese Variable test mit der externen Schnittstelle ES verknüpft werden und z. B. als Stromsignal (4–20 mA) ausgegeben werden.When A simple example is given the function test, which is like follows calculated. test = mf / vf where the variable mf is the mass flow and the variable vf indicates the volume flow. The string Z, which the user must enter, is simply "test = mf / vf ". This variable test Gives the density of the liquid (or gas) to be measured. The field device F1 can be configured so that the test variable z. B. be displayed should. Each time the display / control unit A / B receives this function value needed this is calculated and updated accordingly. Also, this variable can test with the external interface IT linked be and z. B. output as current signal (4-20 mA).
Der wesentliche Vorteil den das erfindungsgemäße Verfahren bietet, besteht darin, dass der Anwender eine benutzerspezifische Funktion am Feldgerät eingeben kann, um damit eine benutzerspezifische Anpassung des Feldgerätes zu ermöglichen.Of the essential advantage of the inventive method offers consists in that the user enters a user-specific function on the field device can, in order to allow a user-specific adaptation of the field device.
Der Rechenprogrammteil des Softwareprogramms stellt die mathematischen Operatoren Addition, Subtraktion, Multiplikation und Division zur Verfügung. Als weitere Funktionen sind z. B. die Winkelfunktionen Sinus bzw. Cosinus oder die Exponentialfunktion denkbar. Es können auch Boolesche Operatoren zur Verfügung gestellt werden. Damit können vom Anwender auch Bedingungen definiert werden.Of the Computer program part of the software program represents the mathematical Operators addition, subtraction, multiplication and division to Available. As further features are z. B. the trigonometric functions sine or Cosine or the exponential function conceivable. It can too Boolean operators available be put. So that can from Users can also be defined conditions.
Als Zusatzfunktionen dienen alle im Feldgerät bereits zur Verfügung gestellten Funktionen. Für Coriolis-Massedurchflussmesser sind das z. B. Dichtekalibrationsfunktion, Viskositätskalibrationsfunktion, Schleichmengenunterdrückung, Leerrohrerkennung etc.) Diese vorab implementierten Funktionen können von der benutzerspezifischen Funktion F selbstverständlich auch aufgerufen werden.When Additional functions are all provided in the field device Functions. For Coriolis mass flowmeters are the z. B. density calibration function, viscosity calibration function, Low flow cut off, Empty pipe detection etc.) These previously implemented functions can be used by Of course, the user-specific function F can also be called.
Prinzipiell können auch mehrere benutzerspezifische Funktionen eingegeben werden.in principle can also several user-specific functions are entered.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE200610013827 DE102006013827A1 (en) | 2006-03-23 | 2006-03-23 | Field device e.g. fill level measuring device, adjusting method for automation engineering, involves storing user-specific function if string is free from syntax-error, and computing functional values during each function call |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE200610013827 DE102006013827A1 (en) | 2006-03-23 | 2006-03-23 | Field device e.g. fill level measuring device, adjusting method for automation engineering, involves storing user-specific function if string is free from syntax-error, and computing functional values during each function call |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102006013827A1 true DE102006013827A1 (en) | 2007-09-27 |
Family
ID=38438412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE200610013827 Withdrawn DE102006013827A1 (en) | 2006-03-23 | 2006-03-23 | Field device e.g. fill level measuring device, adjusting method for automation engineering, involves storing user-specific function if string is free from syntax-error, and computing functional values during each function call |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102006013827A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2189897B1 (en) * | 2008-11-19 | 2013-04-24 | VEGA Grieshaber KG | Multiplication of an integer with a floating-point number |
DE102012016403A1 (en) * | 2012-08-21 | 2014-02-27 | Krohne Messtechnik Gmbh | Method for parameterizing a field device and corresponding field device and system for parameterization |
-
2006
- 2006-03-23 DE DE200610013827 patent/DE102006013827A1/en not_active Withdrawn
Non-Patent Citations (2)
Title |
---|
a)CalcExpress for LabVIEW. (Home) <www.kshif.com/calcexpress/index.html>In:<web.arch 11.03.05. b)CalCEXPRss for Labview.(Testimonials)<www.kshif.com/calcexpress/t .html>.<web.archive.org> am 08.03.2005; * |
Labview-Wikipedia.Version vom 13.03.2006.<http://de.wikipedia.org/windex.php? title=LabVIEW&oldid=14606983>,Abs.3; * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2189897B1 (en) * | 2008-11-19 | 2013-04-24 | VEGA Grieshaber KG | Multiplication of an integer with a floating-point number |
US8443019B2 (en) | 2008-11-19 | 2013-05-14 | Vega Grieshaber Kg | Method and apparatus having a measured value input for applying a measured value |
DE102012016403A1 (en) * | 2012-08-21 | 2014-02-27 | Krohne Messtechnik Gmbh | Method for parameterizing a field device and corresponding field device and system for parameterization |
DE102012016403B4 (en) * | 2012-08-21 | 2014-10-30 | Krohne Messtechnik Gmbh | Method for parameterizing a field device and corresponding field device and system for parameterization |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2150781B1 (en) | Method for starting up and/or reconfiguring a programmable field measuring instrument | |
DE10014272B4 (en) | Field device, and method for reprogramming a field device | |
EP2181367B1 (en) | Method for operating a field device for process automation having at least two measurement channels and field device for process automation having at least two measurement channels and suitable for performing said method | |
DE10251503A1 (en) | Process for offline parameterization of a field device in process automation technology | |
EP3087439B1 (en) | Measurement transducer having a monitoring function | |
WO2020052899A1 (en) | Method for improving the measuring performance of automation field devices | |
EP1662346B1 (en) | Method for secure parametrisation of a field device in automation technology | |
DE102007063312A1 (en) | Parameterization system and method for parameterizing a field device | |
EP1966727B1 (en) | Method for determining an output value from a sensor in automation engineering | |
DE102007054925B4 (en) | Process for monitoring a network of process automation technology | |
WO2008058991A1 (en) | Method for operating a modular field transmitter, operating on the basis of the block model, in automation engineering | |
DE102006013827A1 (en) | Field device e.g. fill level measuring device, adjusting method for automation engineering, involves storing user-specific function if string is free from syntax-error, and computing functional values during each function call | |
WO2016087149A1 (en) | Method for overwriting a non-volatile memory of a field device | |
DE102018133316B4 (en) | Method for operating a field device in automation technology and a field device in automation technology | |
DE10392770B3 (en) | Mass flow sensor and method for pressure fluctuation independent mass flow control | |
DE10163564A1 (en) | field device | |
WO2012119829A1 (en) | Measuring device with compensation for a delayed response behavior | |
EP1331535A1 (en) | Field bus device | |
EP3262382A1 (en) | Measuring device | |
DE102013114406A1 (en) | Method for parameterizing a field device of automation technology | |
EP2059870B1 (en) | Method for the production of consistent, device-specific software components for field devices of automation technology | |
WO2017102364A1 (en) | Method for checking data in a database of a pam | |
WO2022017700A1 (en) | Method for monitoring a first processor of a sensor module by means of a second processor | |
WO2022089853A1 (en) | Method for executing functionalities in a custody transfer system | |
DE102020121982A1 (en) | Method for integrating a field device in automation technology into a distributed ledger |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
OM8 | Search report available as to paragraph 43 lit. 1 sentence 1 patent law | ||
R005 | Application deemed withdrawn due to failure to request examination |
Effective date: 20130326 |