EP1468356A2 - Automated method for generating program modules used for controlling field devices by means of a machine-readable parametered description of the field devices - Google Patents

Automated method for generating program modules used for controlling field devices by means of a machine-readable parametered description of the field devices

Info

Publication number
EP1468356A2
EP1468356A2 EP02787944A EP02787944A EP1468356A2 EP 1468356 A2 EP1468356 A2 EP 1468356A2 EP 02787944 A EP02787944 A EP 02787944A EP 02787944 A EP02787944 A EP 02787944A EP 1468356 A2 EP1468356 A2 EP 1468356A2
Authority
EP
European Patent Office
Prior art keywords
control
field devices
parameter
description
parameters
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
Application number
EP02787944A
Other languages
German (de)
French (fr)
Inventor
Michael Braun
Roland Heidel
Ludwig Rausch
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.)
Siemens AG
Original Assignee
Siemens AG
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Siemens AG filed Critical Siemens AG
Publication of EP1468356A2 publication Critical patent/EP1468356A2/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23299Remote load of program, through fieldbus
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25428Field device
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31132FDT interfacing profibus field device drivers DTM with engineering tool
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31339From parameters, build processes, select control elements and their connection

Definitions

  • the invention relates to an automated method for generating program modules for controlling field devices from a machine-readable, parameterized description of the field devices, which is used on a control unit for controlling the field devices, the field devices each having control devices with at least one microprocessor, with at least one electronic storage means and with Include data input and output means for communication with the control unit.
  • Devices for measuring and positioning, recording and regulating form the essential part of a system for the automation of industrial processes are collectively referred to as field devices.
  • field devices As a measuring device, they are used, in particular, to record and display parameters that are central to production, such as pressure, flow, level and temperature.
  • positioners As positioners, they often have the functionality of a valve, whereby either continuous or discrete control of the flow rate can be made possible.
  • the so-called measuring sensor includes all devices and measuring instruments that are required to generate a raw measurement result. In the case of a flow meter, these are, for example, the measuring tube itself and measuring probes, for example electrodes, which may be embedded in the tube lining.
  • the so-called transmitter which is usually connected to it, serves essentially as a first processing of those made available by the sensor Output data. Certain simple signal processing tasks, such as self-monitoring of the system or calibration and damping of the measured values, can still be carried out within the field device itself.
  • means for remote control of the field device are usually also provided in the transmitter, so that both the processed measurement data can be forwarded and the operating states of the field device can be changed by an external control unit.
  • a control device is usually provided in intelligent field devices today: on the one hand, this serves to read out, process or generate the electrical output signals of the measuring, regulating or actuating instruments used in the field device. On the other hand, the control device can be used to establish a connection to an internal or external control unit.
  • So-called hand-held terminals have long been used for remote control of the field devices, which usually communicate with the field devices via the fieldbus using the so-called Hart protocol.
  • computers connected to the fieldbus are increasingly being used, whose communication is also based on the Hart protocol or on the more modern Profibus protocols (Profibus-DP, Profibus-PA).
  • the connections between the computers and the fieldbus are established via so-called coupling modules.
  • the remote control units mentioned must typically be able to perform the following tasks.
  • the main task is to set and change the parameters required for the operation of the field device.
  • the data received by the field device must be checked for plausibility and be comparable to older data.
  • control unit To perform these tasks, it is necessary that the control unit be provided with certain data that represent the properties of the field device. This is often done using a machine-readable, para- meterized description of the field device.
  • a well-known example of such a description is the so-called device design. cription language (DDL). This consists of a list of variables and menus, to which certain attributes specific to the respective field device are assigned.
  • the variables describe parameters that are required to control the field device or to read out its measured values.
  • the menus describe a structuring of the operation, which is necessary or at least useful for performing the control tasks.
  • the parameterized description described in this way can be read and interpreted directly by the hand-held terminals or by PC-based software.
  • Control tasks are performed (firmware). Two blocks can typically be distinguished among these program modules.
  • a general analog input block the solutions to various tasks are summarized, which are required for almost all different field devices. Such general tasks consist, for example, of querying and forwarding a damping quantity for the pending measurement, regulating a limit value monitoring, rescaling the data value output by the measuring sensor and finally lashing a certain failure value, which in the event of an incorrect limit value exceeding serves as a substitute value and thus ensures that the controlled process can continue safely.
  • transducer all procedures are summarized that are specific to the particular field device type.
  • the object of the invention is to create an automated method for generating program modules for controlling field devices, which bypasses the independent creation of the firmware and thus in principle prevents inconsistencies between the program modules of the control units and the field devices can.
  • the invention solves this problem with an automated method with the features set out in claim 1.
  • the method is based on the machine-readable, parameterized description of the field devices, which is used on a control unit to control the field devices.
  • a parameterized description is already in place known in the art and, as has been shown above, can usually be interpreted directly by the control programs.
  • the parameters of the field device contained in the description and the control-relevant properties of the respective parameters defined by the description are recognized. These are the data type, the size, the amount of allowed values or the allowed value range.
  • program modules for the control device of the field device are generated for at least one of the recognized parameters, which can be executed by the microprocessor of the field device.
  • definition modules which define segments of the storage medium, the data type, and / or the size, which are specific for the respective parameter.
  • access modules can also be generated which regulate the access of the control device to the associated memory segment for the respective parameter and which cause the control device to execute other program modules when accessing parameters.
  • the core task of the firmware developer is fulfilled by the automatic generation of these two types of program arm modules. Segments are defined on the storage means of the field device, which correspond to the respective operating parameters of the field device. The access of the control device of the field device to the respective parameter value is then regulated in the access module.
  • an input control module that can be called by the access module can also be generated for at least one parameter, which checks when a parameter changes whether the parameter value lies within the set of permitted values or within the permitted range.
  • an error message can then advantageously be generated if the respective parameter value has not passed this consistency check.
  • Such input control modules which check the input of a control value for consistency, are often already provided in the general control software of the control units. In the event of an incorrect entry, the user can be shown an error message immediately and can be asked to make a new entry. Therefore, with additional automatically created input control modules on the side of the field devices themselves, only additional security is initially achieved. However, these modules achieve their full effectiveness in the context of stand-alone operation * of the field device.
  • field devices are not only intended for operation under remote control, but are additionally provided with a display and input devices which allow operating states to be set directly on the field device itself.
  • the field device and its firmware must carry out the consistency check of the values entered carry out what input control modules of the type mentioned also as part of the firmware.
  • a designation module is generated for at least one parameter, which stores a designation of the parameter on the storage means and enables access to the parameter under this designation.
  • User-friendly operation of the field device is only possible by connecting an internal variable name with an explanatory name.
  • Figure 1 shows a system for monitoring and controlling the
  • These field devices are connected via the fieldbus 4 to the control units 5, .beta., 5 being a hand-held -Terminal and 6 represents a commercially available personal computer.
  • the data line between the fieldbus 4 and the computer 6 is provided with a coupling module 7. All of the control and monitoring tasks can optionally be performed on both of these control units.
  • the data transmitted by the field devices can be received and reproduced, so that the operating personnel can get a reliable impression of the operating states of the flow meter 2 and of the control valve 3.
  • the control units 5, 6 can also have a direct influence on the field devices 2, 3.
  • the flow measurement can be based on a specific period of time. are limited, with a start or a stop signal being sent to the flow meter 2 at the beginning and at the end of this period.
  • the damping of the value determined by the flow meter 2 can also be changed. This is an important output variable for the processing of the raw measured value that is still carried out within the field device 2. It defines the period over which the recorded data are averaged. Modern flexible field devices often cover different measuring ranges. It may therefore be necessary, for example, to re-scale the raw data in the flow measuring device 2, for which purpose the measuring range and the scaling factor can be adjusted by a command from the control unit 5, 6. However, it is also conceivable for the calibration of the field devices that certain calibration signals are sent from the control units 5 and 6 to the field devices.
  • the respective specifications of the field devices i.e. the special properties of the respective device type
  • the parameters required for control and their properties then result from these specifications.
  • the control modules contain a parameter which regulates the damping of the raw measured value.
  • This parameter has certain properties: For example, the data stored in it is of the type of a floating point number with “simple” accuracy. Furthermore, damping can only be permitted in a certain range, the upper and lower limits of which must also be specified in the description.
  • a field device 2 is connected to a control computer 6 via a fieldbus 4. Via a coupling module 7 on the control computer 6 side, data and commands can be exchanged bidirectionally between the field device 2 and the computer 6 serving as the control unit.
  • the functionality of the control computer is determined by control software 12. This has a general part 14 in which the basic control routines, the user interface and the interface programming are stored. This general part 14 of the control software represents, as it were, the framework of the control program, it can in principle be used for a large number of field devices.
  • a machine-readable parameterized description 13 of the field devices This essentially consists of a list of parameters that are required to control the field device. For example, these are the damping, codes for switching the field device on and off, upper and lower limit values, when exceeded or undershot, error messages are generated, codes for device calibration, and factors for rescaling the data recorded by the intelligent field device. This list must be very selective at this point, since approximately 100 such parameters are required to control modern field devices.
  • the parameterized description 13 is today Usually stored in an agreed syntax called DDL (Device Description Language). It is directly machine-readable in that the respective sections about the individual parameters can be read 51 and interpreted directly by the routines of the general part 14 of the software.
  • DDL Description carried out in DDL is conventionally based on a textual description 15.
  • the developer of a new field device type describes there in detail the specification of the new device. To do this, he must at least implicitly address the control-relevant parameters and their properties, but he does not feel compelled to carry out the description in machine-readable form. Rather, it will often be the case, for example, that not all properties of a parameter are mentioned, since the developer can rightly assume that a reader can sensibly supplement these properties if he is a specialist and knows the corresponding parallel devices.
  • this textually written description 15 into the machine-readable parameterized description 13 is outlined with the implementation step 16.
  • this step involves all sources of error that result from the incompleteness, but also from the inevitable ambiguity of a textual description.
  • a certain level of interpretation by the DDL 13 programmer is always necessary, which leads to inaccuracies or even errors in the DDL script. Since the DDL known today has a very simple and intuitively understandable syntax, some developers of field devices will therefore be obliged to do the description in DDL themselves.
  • firmware In order to perform the control tasks that occur on the intelligent field device 2, certain program modules 11 are executed on the microprocessor of the field device 2, which are referred to overall as firmware.
  • This Firmware is used primarily to control and read out the actuators and sensors 17 of the field device.
  • data, measured values and commands can also be stored on a memory module 18, which also belongs to the field device, and can be processed on the microprocessor in a specific manner specified by the firmware. It is obvious that here, too, basically independent software has to be generated for each field device type, which is created with due regard for the respective hardware components and their functionality.
  • FIG. An alternative form of application of the invention is shown in FIG. Instead of originally specifying the specification of the new field device type in text form, the developer here has carried out the description in a machine-readable and parameterized manner and thus anticipated interpretation step 16. This does not result in any additional work, since it is necessary to convert the description into a machine-readable form, as can be seen in FIG. 3. This anticipation of the specification is possible without major prior knowledge, since the DDL description language, in particular, is an intuitively understandable and simple coding method.
  • FIG. 5 shows, as an example of a machine-readable, parameterized description, the part of a description written in Device Description Language (DDL). This parameterized description was developed from the original textual description. In the section shown, the variable "dmp 1" is defined internally in line 1, in line 4 it is specified that this parameter is of the type of a floating point number with simple precision. Lines 6 and 7 stipulate that only values between 1.753 and 7.529 These values result from the properties of the hardware used.
  • DDL Device Description Language
  • Figure 6 outlines the sequence of an advantageous application of the inventive method.
  • the invention is based on the machine-readable, parameterized description of a field device.
  • a first step 31 the four parameters of the field device contained in the description are recognized, and the control-relevant properties of the parameters defined in the description can then be recognized in a second step 32.
  • a plurality of program modules are generated for the parameter v, in each of which the recognized properties of v are incorporated.
  • the declaration module 41 is generated, which defines a specific segment on the storage medium and the data type “flow number *” for v.
  • an access module 42 is generated which, when the parameter v is accessed, causes the control device of the field device to execute an input control module 43 which has also been generated. [42 to be added].
  • the input control module 43 checks whether the new parameter value lies between the limits of the permitted value range, ie between 1.753 and 7.529. If this is not the case, an error message 44 is generated generated, which can be read out and displayed by the control computer.

Abstract

Disclosed is an automated method for generating program modules used for controlling field devices by means of a machine-readable parametered description of the field devices. The inventive method is used with a control unit controlling the field devices. Each of said field devices comprises control devices with at least one microprocessor, at least one electronic storing means, and data input and output means for communicating with the control unit. The novel method consists of the following steps: the parameters of the field device contained in the description are detected; the control-relevant characteristics of the respective parameters, which are defined in the description, i.e. particularly the type of data, size, allowed variables or allowed range of variables, are detected; program modules are generated for the control device of the field device, which can be executed by the microprocessor of the field device and are at least in part based on the detected parameters and/or the detected control-relevant characteristics of the parameters.

Description

Beschreibungdescription
Automatisiertes Verfahren zum Erzeugen von Prograrrrmmodulen zur Steuerung von Feldgeräten aus einer maschinenlesbaren parametrisierten Beschreibung der FeldgeräteAutomated process for generating program modules for controlling field devices from a machine-readable, parameterized description of the field devices
Die Erfindung betrifft ein automatisiertes Verfahren zum Erzeugen von Programmmodulen zur Steuerung von Feldgeräten aus einer maschinenlesbaren parametrisierten Beschreibung der Feldgeräte, die auf einer Steuerungseinheit zur Steuerung der Feldgeräte verwendet wird, wobei die Feldgeräte jeweils Kontrollvorrichtungen mit zumindest einem Mikroprozessor, mit zumindest einem elektronischen Speichermittel sowie mit Da- tenein- und -ausgabemitteln zur Kommunikation mit der Steue- rungseinheit umfassen.The invention relates to an automated method for generating program modules for controlling field devices from a machine-readable, parameterized description of the field devices, which is used on a control unit for controlling the field devices, the field devices each having control devices with at least one microprocessor, with at least one electronic storage means and with Include data input and output means for communication with the control unit.
Geräte zum Messen und Stellen, Aufzeichnen und Regeln bilden den wesentlichen Teil eines Systems zur Automatisierung von industriellen Prozessen. Diese Geräte werden insgesamt unter dem Begriff Feldgeräte zusammengefasst . Als Messgerät dienen sie insbesondere der Erfassung und Wiedergabe von für die Produktion zentralen Größen wie Druck, Durchfluss, Füllstand und Temperatur. Als Stellungsregler besitzen sie oft die Funktionalität eines Ventils, wobei entweder eine kontinuier- liehe oder diskrete Steuerung der Durchflussmenge ermöglicht werden kann.Devices for measuring and positioning, recording and regulating form the essential part of a system for the automation of industrial processes. These devices are collectively referred to as field devices. As a measuring device, they are used, in particular, to record and display parameters that are central to production, such as pressure, flow, level and temperature. As positioners, they often have the functionality of a valve, whereby either continuous or discrete control of the flow rate can be made possible.
In der Praxis werden bei den häufig anzutreffenden Messungs- Feldgeräten zwei Bestandteile unterschieden. Der sogenannte Messaufnehmer umfasst sämtliche Vorrichtungen sowie Messinstrumente, die zur Erzeugung eines Roh-Messergebnisses erforderlich sind. Bei einem Durchschlussmesser sind dies etwa das Messrohr selbst sowie Messsonden, beispielsweise Elektroden, die unter Umständen in die Rohrauskleidung eingelassen sind. Der meist daran angeschlossene sogenannte Messumformer als zweites Bestandteil dient im wesentlichen einer ersten Verarbeitung der von dem Messaufnehmer zur Verfügung gestellten Ausgangsdaten. Bestimmte einfache Signalverarbeitungsaufgaben, wie etwa die Selbstüberwachung des Systems oder die Kalibrierung und Dämpfung der Messwerte können hier noch innerhalb des Feldgeräts selbst durchgeführt werden. Daneben sind in dem Messumformer üblicherweise auch Mittel zur Fernsteuerung des Feldgeräts vorgesehen, so dass sowohl die aufbereiteten Messdaten weitergeleitet werden können als auch durch eine externe Steuerungseinheit Betriebszustände des Feldgeräts verändert werden können.In practice, two components are distinguished in the measurement field devices that are frequently encountered. The so-called measuring sensor includes all devices and measuring instruments that are required to generate a raw measurement result. In the case of a flow meter, these are, for example, the measuring tube itself and measuring probes, for example electrodes, which may be embedded in the tube lining. The so-called transmitter, which is usually connected to it, serves essentially as a first processing of those made available by the sensor Output data. Certain simple signal processing tasks, such as self-monitoring of the system or calibration and damping of the measured values, can still be carried out within the field device itself. In addition, means for remote control of the field device are usually also provided in the transmitter, so that both the processed measurement data can be forwarded and the operating states of the field device can be changed by an external control unit.
Diese Zweiteilung der Feldgeräte in ein ausführendes Gerät (Messaufnehmer) einerseits und ein Umformungsgerät (Messumformer) andererseits ist aber nicht nur bei Messungs-Feldge- räten üblich, sondern durchaus bei den meisten Typen moderner Feldgeräten. Zwar wäre eine getrennte Fertigung und Vermarktung der beiden Bestandteile nicht notwendig, aus der Existenz eines Umformungsgeräts lässt sich allerdings ein entscheidendes Charakteristikum moderner Feldgeräte erkennen: Diese besitzen zu einem bestimmten Grad Datenverarbeitungska- pazität und können daher auch intelligente Feldgeräte genannt werden.This division of the field devices into an executing device (measuring sensor) on the one hand and a conversion device (measuring transducer) on the other hand is not only common for measurement field devices, but also for most types of modern field devices. A separate production and marketing of the two components would not be necessary, but the existence of a forming device reveals a decisive characteristic of modern field devices: These have a certain amount of data processing capacity and can therefore also be called intelligent field devices.
In dieser Eigenschaft finden die besonderen Bedürfnisse komplexer Anlagenstrukturen ihren Niederschlag. Je vielfältiger und flexibler einerseits die Steuerungsmöglichkeiten werden, je höher andererseits die Ansprüche an Präzision und Zuverlässigkeit geraten, desto größer werden die zur Steuerung von Automatisierungssystemen erforderlichen Datenmengen. Oft stellt sich dabei das benutzte Bussystem als Engpass heraus, dessen Kapazität letztlich einzig für die erreichte Maximalgeschwindigkeit der Datenverarbeitung verantwortlich ist. Von daher resultiert die Tendenz, die Datenverarbeitung möglichst zu dezentralisieren und die Menge der transportierten Daten auf ein Minimum zu reduzieren.This is where the special needs of complex plant structures are reflected. The more diverse and flexible the control options, on the one hand, and the higher the demands for precision and reliability, the greater the amount of data required to control automation systems. The bus system used often turns out to be a bottleneck, the capacity of which is ultimately only responsible for the maximum speed of data processing. Hence the tendency to decentralize data processing as much as possible and to reduce the amount of data transported to a minimum.
Diese Dezentralisierung der Datenverarbeitung stellt nicht zuletzt besondere Anforderungen an die zum Einsatz kommenden Feldgeräte und führt auch zur Entwicklung der genannten Umformungsgeräte wie die Messumformer. Allgemeiner gesprochen ist in intelligenten Feldgeräte heute üblicherweise eine Kontrollvorrichtung vorgesehen: Diese dient einerseits dazu, die elektrischen Ausgangssignale der in dem Feldgerät zum Einsatz kommenden Mess-, Regel- oder Stellinstrumente auszulesen, aufzuarbeiten oder zu erzeugen. Andererseits kann mit Hilfe der Kontrollvorrichtung eine Verbindung zu einer internen oder externen Steuerungseinheit hergestellt werden.Last but not least, this decentralization of data processing places special demands on those used Field devices and also leads to the development of the aforementioned conversion devices such as the transmitters. Generally speaking, a control device is usually provided in intelligent field devices today: on the one hand, this serves to read out, process or generate the electrical output signals of the measuring, regulating or actuating instruments used in the field device. On the other hand, the control device can be used to establish a connection to an internal or external control unit.
Zur Fernsteuerung der Feldgeräte kommen bereits seit längerem sogenannte Hand-held-Terrαinals zum Einsatz, die üblicherweise mittels des sogenannten Hart-Protokolls über den Feldbus mit den Feldgeräten kommunizieren. Immer häufiger werden aber auch an den Feldbus angeschlossene Computer eingesetzt, deren Kommunikation ebenfalls auf dem Hart-Protokoll oder aber auf den moderneren Profibus-Protokollen (Profibus-DP, Profibus- PA) beruht. Die Verbindungen der Computer mit dem Feldbus werden dabei über sogenannte Koppelmodule hergestellt.So-called hand-held terminals have long been used for remote control of the field devices, which usually communicate with the field devices via the fieldbus using the so-called Hart protocol. However, computers connected to the fieldbus are increasingly being used, whose communication is also based on the Hart protocol or on the more modern Profibus protocols (Profibus-DP, Profibus-PA). The connections between the computers and the fieldbus are established via so-called coupling modules.
Um den zum Teil umfangreichen Einsatzbereich der modernen intelligenten Feldgeräte abzudecken, müssen die genannten Fernsteuerungseinheiten typischerweise die folgenden Aufgaben erfüllen können. Vornehmlich gilt es, die für den Betrieb des Feldgeräts erforderlichen Parameter einzustellen und zu verändern. Die von dem Feldgerät empfangenen Daten müssen auf Plausibilität geprüft werden sowie mit älteren Daten vergleichbar sein. Schließlich ist es wünschenswert, das Verhalten des Feldgeräts unter bestimmten Vorgaben simulieren zu können.In order to cover the sometimes extensive field of application of modern intelligent field devices, the remote control units mentioned must typically be able to perform the following tasks. The main task is to set and change the parameters required for the operation of the field device. The data received by the field device must be checked for plausibility and be comparable to older data. Finally, it is desirable to be able to simulate the behavior of the field device under certain conditions.
Zur Erfüllung dieser Aufgaben ist erforderlich, dass der Steuerungseinheit bestimmte Daten zur Verfügung gestellt werden, die die Eigenschaften des Feldgeräts repräsentieren. Dies geschieht häufig über eine maschinenlesbare pararαetri- sierte Beschreibung des Feldgerätes. Ein bekanntes Beispiel für eine solche Beschreibung ist die sogenannte Device Des- cription Language (DDL) . Diese besteht aus einer Auflistung von Variablen und Menüs, denen jeweils bestimmte für das jeweilige Feldgerät spezifische Attribute zugewiesen werden. Die Variablen beschreiben dabei Parameter, die zur Steuerung des Feldgeräts oder zum Auslesen seiner Messwerte erforderlich sind. Die Menüs beschreiben eine Strukturierung der Bedienung, die zur Erfüllung der Steuerungsaufgaben erforderlich oder zumindest nützlich ist. Die so beschriebene para e- trisierte Beschreibung kann unmittelbar von den Hand-held- Terminals oder von einer PC-basierten Software gelesen und interpretiert werden. Damit wird es möglich, die für eine Vielzahl von Feldgeräten einsetzbare universelle Steuerungssoftware mit den Daten der spezifischen Eigenschaften eines bestimmten Feldgeräts auszufüllen. Die Umsetzung der parame- trisierten Beschreibung in ein lauffähiges Steuerungsprogramm erfordert also auf der Seite des Steuerungsgeräts keine weiteren, von Hand vorzunehmenden, Schritte.To perform these tasks, it is necessary that the control unit be provided with certain data that represent the properties of the field device. This is often done using a machine-readable, para- meterized description of the field device. A well-known example of such a description is the so-called device design. cription language (DDL). This consists of a list of variables and menus, to which certain attributes specific to the respective field device are assigned. The variables describe parameters that are required to control the field device or to read out its measured values. The menus describe a structuring of the operation, which is necessary or at least useful for performing the control tasks. The parameterized description described in this way can be read and interpreted directly by the hand-held terminals or by PC-based software. This makes it possible to fill in the universal control software that can be used for a large number of field devices with the data of the specific properties of a specific field device. The implementation of the parameterized description into an executable control program therefore does not require any further manual steps on the control device side.
Eine derartige automatisierte Umsetzung der parametrisierten Beschreibung ist auf Seiten der Feldgeräte im Stand der Technik nicht bekannt.Such an automated implementation of the parameterized description is not known to the field devices in the prior art.
Allerdings ist es auch hier erforderlich, Programmmodule zu erzeugen, die in der Kontrollvorrichtung des Feldgeräts ge- speichert sind und bei deren Ausführung die erforderlichenHowever, here too it is necessary to generate program modules that are stored in the control device of the field device and that are required to execute them
Steuerungsaufgaben wahrgenommen werden (Firmware) . Unter diesen Programmmodulen lassen sich typischerweise zwei Blöcke unterscheiden. In einem allgemeinen Analog-Input-Block werden die Lösungen verschiedener Aufgabenstellungen zusammenge- fasst, die beinahe bei allen unterschiedlichen Feldgeräten anfallen. Solche allgemeinen Aufgaben bestehen beispielsweise in dem Abfragen und Weiterleiten einer Dämpfungsgroße für die anstehende Messung, in der Regelung einer Grenzwertüberwachung, in der Umskalierung des von dem Messsensor ausgegebe- nen Datenwerts sowie schließlich im Zurrverfügung stellen eines bestimmten Ausfallwerts, der für den Fall einer fehlerhaften Grenzwertüberschreitung als Ersatzwert dient und damit gewährleistet, dass der gesteuerte Prozess sicher weiterlaufen kann. In einem zweiten, Transducer genannten, Programmmodulblock werden alle Prozeduren zusammengefasst, die für den besonderen Feldgerätetyp spezifisch sind.Control tasks are performed (firmware). Two blocks can typically be distinguished among these program modules. In a general analog input block, the solutions to various tasks are summarized, which are required for almost all different field devices. Such general tasks consist, for example, of querying and forwarding a damping quantity for the pending measurement, regulating a limit value monitoring, rescaling the data value output by the measuring sensor and finally lashing a certain failure value, which in the event of an incorrect limit value exceeding serves as a substitute value and thus ensures that the controlled process can continue safely. In a second program module block called transducer, all procedures are summarized that are specific to the particular field device type.
Die Software dieser beiden Blöcke muss bei den im Stand der Technik vorhandenen Lösungen stets werksseitig von dem Hersteller jedes neuen Feldgerätetyps individuell erstellt werden. Dabei können die Entwickler zwar im Rahmen des Analog- Input-Blocks weitgehend auf vorhandene Prozeduren aufbauen. Dies verhindert jedoch grundsätzlich nicht, dass die mit jeder Neuerstellung von Software verbundenen Probleme auch hier zu Tage treten. Diese bestehen hier nicht nur in den üblichen Anforderungen an ein fehlerfreies, lauffähiges, sicheres so- wie zur Wartung gut dokumentiertes Programm.With the solutions available in the prior art, the software of these two blocks must always be individually created in the factory by the manufacturer of each new field device type. The developers can largely build on existing procedures within the framework of the analog input block. In principle, however, this does not prevent the problems associated with every new software creation from coming to light here. These do not only consist of the usual requirements for an error-free, executable, safe and well-documented program for maintenance.
Insbesondere gilt es nämlich, die auf den Feldgeräten ausführbaren Programmmodule konsistent zu den Programmen der Steuerungseinheiten zu gestalten. Inkonsistenten zwischen Firmware und Steuerungseinheit können, wenn überhaupt, nur sehr aufwendig durch umfangreiche Tests festgestellt und behoben werden. Denn sie führen nicht notwendigerweise zu abfangbaren Fehlermeldungen oder Systemabstürzen, sondern können möglicherweise lediglich das Ausgangssignal in einer Wie- se verfälschen, die es dem Personal äußerst schwierig macht, die Ursache festzustellen. Liegt etwa in dem Programrαmodul, das eine Umskalierung der von dem Sensor gelieferten Daten vornimmt, ein Vorzeichenfehler vor, so wird dieser falsche Messwert zunächst an die Steuerungseinheit weitergeleitet. Falls der falsche Messwert noch in einem theoretisch denkbaren Bereich liegt, so muss der Fehler nicht bemerkt werden, sondern das Bedienpersonal kann sich unter Umständen lediglich dazu veranlasst sehen, bestimmte Maßnahmen zur Korrektur des Wertes vorzunehmen, die bei Kenntnis des wahren Messwer- tes nicht erforderlich wären. Liegt der Messwert außerhalb des denkbaren Bereichs, so werden Fehlerursachen häufig zu- erst im Bereich der eingesetzten kommenden Hardware gesucht werden.In particular, it is important to make the program modules executable on the field devices consistent with the programs of the control units. Inconsistencies between the firmware and the control unit can, if at all, only be determined and eliminated very extensively by extensive tests. This is because they do not necessarily lead to catchable error messages or system crashes, but may only falsify the output signal in a way that makes it extremely difficult for personnel to determine the cause. If, for example, there is a sign error in the program module that rescales the data supplied by the sensor, this incorrect measured value is first forwarded to the control unit. If the wrong measured value is still in a theoretically conceivable range, the error need not be noticed, but the operating personnel may only be obliged to take certain measures to correct the value, which are not necessary when the true measured value is known would. If the measured value lies outside the conceivable range, the causes of errors are often only be searched in the area of the upcoming hardware used.
Ein weiterer Nachteil dieser gesonderten Entwicklung der Firmware besteht darin, dass der Entwickler üblicherweise ausgeht von einer Spezifikation des Feldgeräts, die textuell als Dokumentation der Feldgeräteigenschaften niedergelegt wurde. Es wird also von dem Softwareentwickler zusätzlich eine Interpretation dieser Beschreibung erfordert, was beinahe regelmäßig mit zusätzlichen Ungenauigkeiten und Fehlern verbunden ist.Another disadvantage of this separate development of the firmware is that the developer usually starts from a specification of the field device, which was laid down textually as documentation of the field device properties. The software developer therefore also requires an interpretation of this description, which is almost regularly associated with additional inaccuracies and errors.
Im Stand der Technik bekannt sind also lediglich Verfahren, bei denen die Programmmodule zur Steuerung der Steuerungsein- heit einerseits sowie der Feldgeräte andererseits getrennt voneinander erstellt werden. Diese Lösungen sind naheliegend und erscheinen nur konsequent, da die Systemvoraussetzungen der beiden Einheiten unterschiedlich sind. Dies betrifft nicht nur die Hardware-Bauteile, sondern auch die Betriebs- Systeme des Hand-held-Terminals bzw. Computers einerseits bzw. des Mikroprozessors der Feldgeräte andererseits.Thus, only methods are known in the prior art in which the program modules for controlling the control unit on the one hand and the field devices on the other hand are created separately from one another. These solutions are obvious and only appear consistent, since the system requirements of the two units are different. This applies not only to the hardware components, but also to the operating systems of the hand-held terminal or computer on the one hand and the microprocessor of the field devices on the other.
Ausgehend von diesem Stand der Technik stellt sich die Erfindung die Aufgabe, ein automatisiertes Verfahren zum Erzeugen von Prograrranmodulen zur Steuerung von Feldgeräten zu schaffen, das eine eigenständige Erstellung der Firmware umgeht und damit prinzipiell verhindert, dass Inkonsistenzen zwischen den Programmmodulen der Steuerungseinheiten sowie der Feldgeräte auftreten können.Based on this prior art, the object of the invention is to create an automated method for generating program modules for controlling field devices, which bypasses the independent creation of the firmware and thus in principle prevents inconsistencies between the program modules of the control units and the field devices can.
Die Erfindung löst diese Aufgabe mit einem automatisierten Verfahren mit den in Anspruch 1 wiedergegebenen Merkmalen.The invention solves this problem with an automated method with the features set out in claim 1.
Das Verfahren geht aus von der maschinenlesbaren parametri- sierten Beschreibung der Feldgeräte, die auf einer Steuerungseinheit zur Steuerung der Feldgeräte verwendet wird. Eine solche parametrisierte Beschreibung ist bereits im Stand der Technik bekannt und kann, wie oben gezeigt wurde, meist unmittelbar von den Steuerungsprogrammen interpretiert werden. Erfindungsgemäß werden die in der Beschreibung enthaltenen Parameter des Feldgeräts sowie die durch die Beschreibung definierten steuerungsrelevanten Eigenschaften der jeweiligen Parameter erkannt. Diese sind der Datentyp, die Größe, die Menge der erlaubten Werte bzw. der erlaubte Wertebereich. Zudem werden für zumindest einen der erkannten Parameter Programmmodule für die Kontrollvorrichtung des Feldgeräts er- zeugt, die von dem Mikroprozessor des Feldgeräts ausführbar sind. Erstens ist es möglich, Definitionsmodule zu erzeugen, die für den jeweiligen Parameter bestimmte Segmente des Speichermittels, den Datentyp, und/oder die Größe festlegen. Zweitens können auch Zugriffsmodule erzeugt werden, die für den jeweiligen Parameter den Zugriff der Kontrollvorrichtung auf das zugehörige Speichersegment regeln sowie die Kontrollvorrichtung bei dem Parameterzugriff zur Ausführung anderer Programmmodule veranlassen.The method is based on the machine-readable, parameterized description of the field devices, which is used on a control unit to control the field devices. Such a parameterized description is already in place known in the art and, as has been shown above, can usually be interpreted directly by the control programs. According to the invention, the parameters of the field device contained in the description and the control-relevant properties of the respective parameters defined by the description are recognized. These are the data type, the size, the amount of allowed values or the allowed value range. In addition, program modules for the control device of the field device are generated for at least one of the recognized parameters, which can be executed by the microprocessor of the field device. Firstly, it is possible to generate definition modules which define segments of the storage medium, the data type, and / or the size, which are specific for the respective parameter. Secondly, access modules can also be generated which regulate the access of the control device to the associated memory segment for the respective parameter and which cause the control device to execute other program modules when accessing parameters.
Durch die automatische Erzeugung dieser beiden Typen von Pro- grarrrmmodulen wird die Kernaufgabe des Entwicklers der Firmware erfüllt. Auf dem Speichermittel des Feldgeräts werden Segmente festgelegt, die dem jeweiligen Betriebsparameter des Feldgeräts entsprechen. Im Zugriffsmodul wird sodann der Zu- griff der Kontrollvorrichtung des Feldgeräts auf den jeweiligen Parameterwert geregelt.The core task of the firmware developer is fulfilled by the automatic generation of these two types of program arm modules. Segments are defined on the storage means of the field device, which correspond to the respective operating parameters of the field device. The access of the control device of the field device to the respective parameter value is then regulated in the access module.
Indem die Erfindung an einer maschinenlesbaren parametrisierten Beschreibung der Feldgeräte ansetzt, greift sie zurück auf ein Funktionsmodul, das bei den bekannten Verfahren ohnehin für jeden Feldgerätetyp erstellt wird und auf den Fernsteuerungseinheiten zum Einsatz gelangt. Solche Beschreibungen der Feldgeräte werden dort dazu benutzt, den Steuerungsprogrammen Daten und Informationen über die Spezifikation des zu steuernden Feldgeräts zur Verfügung zu stellen. Indem die Erfindung im weiteren die in einer solchen Beschreibung enthaltenen Parameter und ihre steuerungsrelevanten Eigenschaf- ten analysiert und daraus Programmmodule für die Kontrollvorrichtung des Feldgeräts erzeugt, macht sie eine eigenständige manuelle Programmierung dieser Module unnötig. Dabei liegen die Vorteile eines solchen automatisierten Vorgehens bei der Erstellung dieser Firmware nicht nur in der Zeitersparnis und Präzision bei der Programmentwicklung. Vielmehr können damit auch Inkonsistenzen zwischen den beteiligten Steuerungspro- grammen wirkungsvoll vermieden werden: Die auf dem Mikroprozessor der Feldgeräte laufenden Programmmodule basieren auf derselben Parameterspezifikation, die auch dem Ablaufprogramm der Steuerungseinheit zugrunde liegen.By starting with a machine-readable, parameterized description of the field devices, it makes use of a function module that is created for each type of field device in the known methods and that is used on the remote control units. Such descriptions of the field devices are used there to provide the control programs with data and information about the specification of the field device to be controlled. In that the invention further includes the parameters contained in such a description and their control-relevant properties. analyzed and program modules generated from it for the control device of the field device, it makes independent manual programming of these modules unnecessary. The advantages of such an automated procedure when creating this firmware are not only the time savings and precision in program development. Rather, inconsistencies between the control programs involved can be effectively avoided in this way: The program modules running on the microprocessor of the field devices are based on the same parameter specification which is also the basis of the execution program of the control unit.
In einer vorteilhaften Ausführungsform der Erfindung kann zusätzlich für zumindest einen Parameter ein von dem Zugriffs- modul aufrufbares Eingabekontrollmodul erzeugt werden, das bei einer Parameteränderung überprüft, ob der Parameterwert innerhalb der Menge der erlaubten Werte bzw. innerhalb des erlaubten Bereichs liegt. Im weiteren kann sodann vorteilhaft eine Fehlermeldung erzeugt werden, falls der jeweilige Para- meterwert diese Konsistenzprüfung nicht bestanden hat. Solche Eingabekontrollmodule, die die Eingabe eines Steuerungswertes auf ihre Konsistenz überprüfen, sind zwar häufig bereits in der allgemeinen Steuerungssoftware der Steuerungseinheiten vorgesehen. Dem Benutzer kann hier bei einer fehlerhaften Eingabe unmittelbar eine Fehlermeldung angezeigt werden und er kann aufgefordert werden, eine Neueingabe vorzunehmen. Von daher erreicht man mit zusätzlichen automatisiert erstellten Eingabekontrollmodulen auf der Seite der Feldgeräte selbst zunächst nur eine zusätzliche Sicherheit. Ihre volle Wirksam- keit entfalten diese Module allerdings im Rahmen eines „stand alone-Betriebs* des Feldgeräts. Wie oben bereits gezeigt wurde, sind manche Feldgeräte nicht nur für den Betrieb unter Fernsteuerung vorgesehen, sondern zusätzlich mit einem Display sowie Eingabeeinrichtungen versehen, die es erlauben, Betriebszustände unmittelbar am Feldgerät selbst einzustellen. Für diesen Bedienungsmodus muss das Feldgerät und seine Firmware die Konsistenzprüfung von eingegebenen Werten selbst vornehmen, was Eingabekontrollmodule der genannten Art auch als Bestandteil der Firmware erfordert.In an advantageous embodiment of the invention, an input control module that can be called by the access module can also be generated for at least one parameter, which checks when a parameter changes whether the parameter value lies within the set of permitted values or within the permitted range. In addition, an error message can then advantageously be generated if the respective parameter value has not passed this consistency check. Such input control modules, which check the input of a control value for consistency, are often already provided in the general control software of the control units. In the event of an incorrect entry, the user can be shown an error message immediately and can be asked to make a new entry. Therefore, with additional automatically created input control modules on the side of the field devices themselves, only additional security is initially achieved. However, these modules achieve their full effectiveness in the context of stand-alone operation * of the field device. As has already been shown above, some field devices are not only intended for operation under remote control, but are additionally provided with a display and input devices which allow operating states to be set directly on the field device itself. For this operating mode, the field device and its firmware must carry out the consistency check of the values entered carry out what input control modules of the type mentioned also as part of the firmware.
In einer weiteren vorteilhaften Ausführungsform wird für zu- mindest einen Parameter ein Bezeichnungsmodul erzeugt, das eine Bezeichnung des Parameters auf dem Speichermittel speichert und einen Zugriff auf den Parameter unter dieser Bezeichnung ermöglicht. Erst durch die Verbindung eines internen Variablennamens mit einer erläuternden Bezeichnung, wird eine benutzerfreundliche Bedienung des Feldgeräts möglich.In a further advantageous embodiment, a designation module is generated for at least one parameter, which stores a designation of the parameter on the storage means and enables access to the parameter under this designation. User-friendly operation of the field device is only possible by connecting an internal variable name with an explanatory name.
Bei einer Fernsteuerung kann eine solche Verbindung zwar, wie im Stand der Technik üblich, von der auf der Steuerungseinheit laufenden Software vorgenommen werden. Aber auch diesbezüglich gilt es, einen komfortablen und bedienerfreundlichen „stand alone-Betrieb* zu ermöglichen.In the case of remote control, such a connection can, as is customary in the prior art, be made by the software running on the control unit. In this regard, too, it is important to enable comfortable and user-friendly "stand-alone operation *".
Die Erfindung wird im folgenden anhand der beigefügten Abbildungen beispielhaft näher beschrieben:The invention is described in more detail below by way of example with reference to the accompanying figures:
Figur 1 zeigt ein System zur Überwachung und Steuerung desFigure 1 shows a system for monitoring and controlling the
Durchflusses einer Flüssigkeit durch das Rohr 1, bei dem zwei Feldgeräte zum Einsatz kommen: Ein Durchflussmesser 2 sowie ein kontinuierlich regelbares Ventil 3. Diese Feldgeräte sind über den Feldbus 4 mit den Steuerungseinheiten 5, β.verbun- den, wobei 5 ein Hand-Held-Terminal und 6 einen handelsüblichen Personalcomputer darstellt. Zur Kommunikation ist die Datenleitung zwischen dem Feldbus 4 und dem Computer 6 mit einem Koppelmodul 7 versehen. Auf beiden dieser Steuerungseinheiten können wahlweise sämtliche Steuerungs- und Überwa- chungsaufgaben wahrgenommen werden. Insbesondere können die von den Feldgeräten ausgesendeten Daten empfangen und wiedergegeben werden, so dass sich das Bedienpersonal einen zuverlässigen Eindruck über die Betriebszustände des Durchflussmessers 2 sowie des Stellventils 3 verschaffen kann. Anderer- seits können die Steuerungseinheiten 5, 6 aber auch unmittelbar Einfluss nehmen auf die Feldgeräte 2, 3. Beispielsweise kann die Durchflussmessung auf eine bestimmte Zeitspanne be- grenzt werden, wobei am Anfang und am Ende dieser Zeitspanne ein Start- bzw. ein Stop-Signal an den Durchflussmesser 2 gesendet werden. Ebenso kann die Dämpfung des von dem Durchflussmesser 2 ermittelten Wertes verändert werden. Diese ist eine wichtige Ausgangsgröße für die noch innerhalb des Feldgeräts 2 durchgeführte Aufarbeitung des Rohmesswerts. Sie legt fest, über welchen Zeitraum die aufgenommenen Daten ge- mittelt werden. Moderne flexible Feldgeräte decken häufig unterschiedliche Messbereiche ab. Daher kann es erforderlich sein, beispielsweise eine Umskalierung der Rohdaten noch im Durchflussmessgerät 2 vorzunehmen, wozu der Messbereich und der Skalierungsfaktor durch einen Befehl von der Steuerungseinheit 5, 6 verstellbar ist. Aber auch zur Kalibrierung der Feldgeräte ist denkbar, dass bestimmte Eichsignale von den Steuerungseinheiten 5 und 6 an die Feldgeräte gesandt werden.Flow of a liquid through the pipe 1, in which two field devices are used: a flow meter 2 and a continuously controllable valve 3. These field devices are connected via the fieldbus 4 to the control units 5, .beta., 5 being a hand-held -Terminal and 6 represents a commercially available personal computer. For communication, the data line between the fieldbus 4 and the computer 6 is provided with a coupling module 7. All of the control and monitoring tasks can optionally be performed on both of these control units. In particular, the data transmitted by the field devices can be received and reproduced, so that the operating personnel can get a reliable impression of the operating states of the flow meter 2 and of the control valve 3. On the other hand, the control units 5, 6 can also have a direct influence on the field devices 2, 3. For example, the flow measurement can be based on a specific period of time. are limited, with a start or a stop signal being sent to the flow meter 2 at the beginning and at the end of this period. The damping of the value determined by the flow meter 2 can also be changed. This is an important output variable for the processing of the raw measured value that is still carried out within the field device 2. It defines the period over which the recorded data are averaged. Modern flexible field devices often cover different measuring ranges. It may therefore be necessary, for example, to re-scale the raw data in the flow measuring device 2, for which purpose the measuring range and the scaling factor can be adjusted by a command from the control unit 5, 6. However, it is also conceivable for the calibration of the field devices that certain calibration signals are sent from the control units 5 and 6 to the field devices.
Zum Funktionieren dieses beschriebenen bidirektionalen Datenverkehrs zwischen Steuerungseinheiten 5 und 6 einerseits und Feldgeräten 2 und 3 andererseits ist es erforderlich, dass die Programmmodule der Geräte aufeinander abgestimmt sind.In order for this described bidirectional data traffic to function between control units 5 and 6 on the one hand and field devices 2 and 3 on the other hand, it is necessary that the program modules of the devices are coordinated with one another.
Insbesondere müssen die jeweiligen Spezifikationen der Feldgeräte, also die besonderen Eigenschaften des jeweiligen Gerätetyps, bei der Programmerstellung bekannt sein. Aus diesen Spezifikationen ergeben sich dann die zur Steuerung erforder- liehen Parameter sowie deren Eigenschaften. Für eine der oben genannten Steuerungsaufgaben ist es beispielsweise erforderlich, dass die Steuerungsmodule einen Parameter enthalten der die Dämpfung des Roh-Messwerts regelt. Dieser Parameter hat bestimmte Eigenschaften: Beispielsweise sind die in ihm ge- speicherten Daten vom Typ einer Fließkommazahl mit „einfacher* Genauigkeit. Ferner können nur Dämpfungen in einem bestimmten Bereich erlaubt sein, dessen obere und untere Grenze ebenfalls in der Beschreibung angegeben werden müssen.In particular, the respective specifications of the field devices, i.e. the special properties of the respective device type, must be known when the program is created. The parameters required for control and their properties then result from these specifications. For one of the control tasks mentioned above, it is necessary, for example, that the control modules contain a parameter which regulates the damping of the raw measured value. This parameter has certain properties: For example, the data stored in it is of the type of a floating point number with “simple” accuracy. Furthermore, damping can only be permitted in a certain range, the upper and lower limits of which must also be specified in the description.
Solche Beschreibungen werden üblicherweise von dem Entwickler des Feldgeräts textuell als Fließtext niedergelegt und von den Programmierern der in den Geräten zum Einsatz kommenden Software interpretiert sowie umgesetzt. Das heißt, dass der Entwickler des Geräts beschreibt, wie die Dämpfung vorgenommen wird, welche Genauigkeit und welches Datenformat der einzugebende Dämpfungsparameter besitzen muss, sowie welche Pa- rameterwerte grundsätzlich zulässig sind.Such descriptions are usually written down as text by the developer of the field device and by the programmers of those used in the devices Software interpreted and implemented. This means that the developer of the device describes how the damping is carried out, which accuracy and which data format the damping parameter to be entered must have, as well as which parameter values are generally permissible.
Aus Figur 2 sind schematisch die nach den bekannten Verfahren vorzunehmenden Programmierschritte ersichtlich. Ein Feldgerät 2 ist über einen Feldbus 4 mit einem Steuerungscomputer 6 verbunden. Über ein Kopplungsmodul 7 auf Seiten des Steuerungscomputers 6 lassen sich bidirektional Daten und Befehle zwischen dem Feldgerät 2 sowie dem als Steuerungseinheit dienenden Computer 6 austauschen. Die Funktionalität des Steuerungscomputers wird bestimmt von einer Steuerungssoftware 12. Diese besitzt einen allgemeinen Teil 14, in dem die grundsätzlichen Steuerungsroutinen, die Benutzeroberfläche sowie die Schnittstellenprogrammierung niedergelegt sind. Dieser allgemeine Teil 14 der Steuerungssoftware stellt gleichsam den Rahmen des Steuerungsprogramms dar, er kann grundsätzlich für eine Vielzahl von Feldgeräten genutzt werden.The programming steps to be carried out according to the known methods are shown schematically in FIG. A field device 2 is connected to a control computer 6 via a fieldbus 4. Via a coupling module 7 on the control computer 6 side, data and commands can be exchanged bidirectionally between the field device 2 and the computer 6 serving as the control unit. The functionality of the control computer is determined by control software 12. This has a general part 14 in which the basic control routines, the user interface and the interface programming are stored. This general part 14 of the control software represents, as it were, the framework of the control program, it can in principle be used for a large number of field devices.
Um allerdings diesen Rahmen an einen besonderen Feldgerätetyp anzupassen, ist es erforderlich, auf dem Steuerungscomputer 6 gespeicherte Daten bereitzustellen, die die besondere Spezi- fikation des Gerätetyps wiedergeben. Dies geschieht durchHowever, in order to adapt this frame to a particular field device type, it is necessary to provide data stored on the control computer 6 which reflect the particular specification of the device type. This happens through
Einbindung einer maschinenlesbaren parametrisierten Beschreibung 13 der Feldgeräte. Diese besteht im wesentlichen aus einer Auflistung von Parametern, die zur Steuerung des Feldgeräts benötigt werden. Beispielsweise sind dies die Dämpfung, Codes zum Ein- und Ausschalten des Feldgeräts, obere und untere Grenzwerte, bei deren Überschreitung bzw. Unterschreitung Fehlermeldungen erzeugt werden, Codes für die Gerätekalibrierung, sowie Faktoren zur Umskalierung der von dem intelligenten Feldgerät aufgenommenen Daten. Diese Auflistung muss an dieser Stelle sehr selektiv ausfallen, da zur Steuerung moderner Feldgeräte ungefähr 100 solcher Parameter benötigt werden. Die parametrisierte Beschreibung 13 ist heute üblicherweise in einer vereinbarten Syntax abgelegt, die DDL (Device-Description-Language) genannt wird. Sie ist insofern unmittelbar maschinenlesbar, als die jeweiligen Abschnitte über die einzelnen Parameter direkt von den Routinen des all- gemeinen Teils 14 der Software eingelesen 51 und interpretiert werden können. Die in DDL ausgeführte Beschreibung wird herkömmlich auf Grundlage einer textuell niedergelegten Beschreibung 15 erstellt. Der Entwickler eines neuen Feldgerätetyps beschreibt dort ausführlich die Spezifikation des neuen Geräts. Dazu muss er zumindest implizit auf die genannten steuerungsrelevanten Parameter und deren Eigenschaften eingehen, er sieht sich allerdings nicht gezwungen, die Beschreibung in maschinenlesbare Form auszuführen. Vielmehr wird es beispielsweise durchaus häufig der Fall sein, dass nicht sämtliche Eigenschaften eines Parameters Erwähnung finden, da der Entwickler zu Recht annehmen kann, dass ein Leser diese Eigenschaften sinnvoll ergänzen kann, sofern er ein Fachmann ist und entsprechenden Parallelgeräte kennt.Integration of a machine-readable parameterized description 13 of the field devices. This essentially consists of a list of parameters that are required to control the field device. For example, these are the damping, codes for switching the field device on and off, upper and lower limit values, when exceeded or undershot, error messages are generated, codes for device calibration, and factors for rescaling the data recorded by the intelligent field device. This list must be very selective at this point, since approximately 100 such parameters are required to control modern field devices. The parameterized description 13 is today Usually stored in an agreed syntax called DDL (Device Description Language). It is directly machine-readable in that the respective sections about the individual parameters can be read 51 and interpreted directly by the routines of the general part 14 of the software. The description carried out in DDL is conventionally based on a textual description 15. The developer of a new field device type describes there in detail the specification of the new device. To do this, he must at least implicitly address the control-relevant parameters and their properties, but he does not feel compelled to carry out the description in machine-readable form. Rather, it will often be the case, for example, that not all properties of a parameter are mentioned, since the developer can rightly assume that a reader can sensibly supplement these properties if he is a specialist and knows the corresponding parallel devices.
Die Umsetzung dieser textuell niedergelegten Beschreibung 15 in die maschinenlesbare parametrisierte Beschreibung 13 ist mit dem Umsetzungsschritt 16 skizziert. Dieser Schritt ist in der Praxis mit sämtlichen Fehlerquellen behaftet, die sich aus der Unvollständigkeit, aber auch aus der unvermeidbaren Zweideutigkeit einer textuellen Beschreibung ergeben. Stets ist eine gewisse Interpretationsleistung des Programmierers der DDL 13 notwendig, wodurch Ungenauigkeiten oder gar Fehler in dem DDL-Skript auftreten. Da mit der heute bekannten DDL eine recht einfache und intuitiv verständliche Syntax vor- liegt, werden sich manche Entwickler von Feldgeräten daher dazu veranlasst sehen, selbst die Beschreibung in DDL vorzunehmen.The implementation of this textually written description 15 into the machine-readable parameterized description 13 is outlined with the implementation step 16. In practice, this step involves all sources of error that result from the incompleteness, but also from the inevitable ambiguity of a textual description. A certain level of interpretation by the DDL 13 programmer is always necessary, which leads to inaccuracies or even errors in the DDL script. Since the DDL known today has a very simple and intuitively understandable syntax, some developers of field devices will therefore be obliged to do the description in DDL themselves.
Zur Wahrnehmung der auf dem intelligenten Feldgerät 2 anfal- lenden Steuerungsaufgaben werden auf dem Mikroprozessor des Feldgeräts 2 bestimmte Programmmodule 11 zur Ausführung gebracht, die insgesamt als Firmware bezeichnet werden. Diese Firmware dient vornehmlich zur Ansteuerung und zum Auslesen der Aktuatoren und Sensoren 17 des Feldgeräts. Hier können allerdings auch Daten, Messwerte und Befehle auf einem ebenfalls zum Feldgerät gehörenden Speicherbaustein 18 gespei- chert und auf dem Mikroprozessor in bestimmter, von der Firmware vorgegebener Weise bearbeitet werden. Es ist offensichtlich, dass auch hier für jeden Feldgerätetyp im Grunde eigenständige Software zu erzeugen ist, die mit Rücksicht auf die jeweiligen Hardwarebauteile sowie deren Funktionalität er- stellt wird.In order to perform the control tasks that occur on the intelligent field device 2, certain program modules 11 are executed on the microprocessor of the field device 2, which are referred to overall as firmware. This Firmware is used primarily to control and read out the actuators and sensors 17 of the field device. Here, however, data, measured values and commands can also be stored on a memory module 18, which also belongs to the field device, and can be processed on the microprocessor in a specific manner specified by the firmware. It is obvious that here, too, basically independent software has to be generated for each field device type, which is created with due regard for the respective hardware components and their functionality.
Es ist bekannt, diese Firmware aus der textuell niedergelegten Beschreibung des Feldgeräts 15 zu erzeugen 19. Auch dieser Programmierschritt ist mit den gleichen Unsicherheiten behaftet wie die Umsetzung 16 der textuellen Beschreibung 15 in DDL 13. Zwar wird der Programmierer der Firmware bei einem Großteil der zu erstellenden Software auf bereits bestehende (Standard-) Programmmodule zurückgreifen können (sog. Analog- Input-Block) . Gleichwohl ist er darauf angewiesen, die jewei- ligen Spezifika des Feldgeräts, die in der textuellen Beschreibung 15 niedergelegt sind, zu berücksichtigen und an der richtigen Stelle in die Programmmodule einzubauen. Problematisch bei diesem bekannten Verfahren ist das Folgende: Es ist unbedingt erforderlich, dass zwischen den Softwareblöcken des Steuerungscomputers 12 sowie der Firmware 11 absoluteIt is known to generate this firmware from the textually written description of the field device 15. This programming step also has the same uncertainties as the implementation 16 of the textual description 15 in DDL 13. Although the programmer of the firmware is responsible for a large part of the creating software can use existing (standard) program modules (so-called analog input block). Nevertheless, he is dependent on taking the respective specifics of the field device into account, which are laid down in the textual description 15, and installing them in the right place in the program modules. The problem with this known method is the following: It is absolutely necessary that between the software blocks of the control computer 12 and the firmware 11 absolute
Konsistenz besteht. Unstimmigkeiten zwischen diesen Programmblöcken können zu unabsehbaren Fehlern führen, die zum Teil nur äußerst schwer aufzuspüren sind, da sie unter Umständen nur bei bestimmten Betriebszuständen des Feldgeräts bzw. des Steuerungscomputers zu Tage treten. Die Folge ist, dass bei den im Stand der Technik bekannten Verfahren äußerst umfangreiche Testphasen durchlaufen werden müssen, bis die neu entwickelte Software als fehlerfrei gelten darf und das Feldgerät somit die Marktreife erlangt. Diese Problematik beruht im Grunde darauf, dass zwei voneinander unabhängige Interpretationsschritte 16 und 19 erforderlich sind. Die Erfindung schlägt demgegenüber ein Verfahren vor, bei dem die neu zu erstellende Firmware 11 unmittelbar aus der ohnehin vorhandenen maschinenlesbaren parametrisierten Beschreibung 13 erzeugt wird. Dies wird in Figur 3 skizzenhaft wie- dergegeben. Auf diese Weise kann auf den Interpretations- und Softwareerzeugungsschritt 19 verzichtet werden. An seine Stelle tritt die automatisierte Programmerzeugung 21, die von der maschinenlesbaren Beschreibung ausgeht. Auf diese Weise werden Inkonsistenzen zwischen den unterschiedlichen Pro- grammmodulen prinzipiell unmöglich, da die Firmware 11 notwendigerweise auf der gleichen Datenmenge beruht, die auch der auf dem Steuerungscomputer zur Anwendung kommenden parametrisierten Beschreibung zugrunde liegt. Als Nebeneffekt ergibt sich noch eine äußerst schnelle sowie zuverlässige Weise der Programmerstellung für die Firmware 11, da das Verfahren automatisiert ist und keine manuelle Programmiertätigkeit erfordert.There is consistency. Inconsistencies between these program blocks can lead to unforeseeable errors, some of which are extremely difficult to track down, since they may only come to light in certain operating states of the field device or the control computer. The result is that extremely extensive test phases have to be carried out in the methods known in the prior art until the newly developed software can be considered to be error-free and the field device is thus ready for the market. This problem is based essentially on the fact that two mutually independent interpretation steps 16 and 19 are required. In contrast, the invention proposes a method in which the firmware 11 to be newly created is generated directly from the machine-readable parameterized description 13 which is already present. This is shown in outline in FIG. 3. In this way, the interpretation and software generation step 19 can be omitted. The automated program generation 21, which is based on the machine-readable description, takes its place. In this way, inconsistencies between the different program modules are in principle impossible, since the firmware 11 is necessarily based on the same amount of data that is also the basis of the parameterized description used on the control computer. As a side effect, there is an extremely fast and reliable way of creating the program for the firmware 11, since the method is automated and does not require any manual programming.
In Figur 4 ist eine alternative Anwendungsform der Erfindung dargestellt. Statt die Spezifikation des neuen Feldgerätetyps ursprünglich textuell niederzulegen, hat der Entwickler hier die Beschreibung unmittelbar maschinenlesbar und parametri- siert ausgeführt und somit den Interpretationsschritt 16 vorweggenommen. Damit entsteht keine zusätzliche Arbeit, da die Umsetzung der Beschreibung in eine maschinenlesbare Form, wie sich aus Figur 3 ergibt, ohnehin notwendig ist. Diese Vorwegnahme der Spezifikation ist ohne größere Vorkenntnisse möglich, da insbesondere mit der Beschreibungssprache DDL eine intuitiv verständliche und einfache Codierungsweise bekannt ist.An alternative form of application of the invention is shown in FIG. Instead of originally specifying the specification of the new field device type in text form, the developer here has carried out the description in a machine-readable and parameterized manner and thus anticipated interpretation step 16. This does not result in any additional work, since it is necessary to convert the description into a machine-readable form, as can be seen in FIG. 3. This anticipation of the specification is possible without major prior knowledge, since the DDL description language, in particular, is an intuitively understandable and simple coding method.
Die Erzeugung der Firmware erfolgt auch hier nach dem erfindungsgemäßen Verfahren in Schritt 21. Wie bei dem in Figur 3 dargestellten Verfahren können auch hier keinerlei Inkonsis- tenzen 22 zwischen den Softwareblöcken 11 und 12 auftreten, da beide auf der selben Datengrundlage, nämlich der maschinenlesbaren parametrisierten Beschreibung 13 aufbauen. Figur 5 zeigt als Beispiel für eine maschinenlesbare parame- trisierte Beschreibung den Teil einer in Device-Description- Language (DDL) verfassten Beschreibung. Diese parametrisierte Beschreibung wurde aus der ursprünglich textuell niedergeleg- ten Beschreibung entwickelt. In dem wiedergegebenen Ausschnitt wird intern die Variable „dmp 1" in Zeile 1 definiert, in Zeile 4 wird festgelegt, dass diese Parameter vom Typ einer Fließkommazahl mit einfacher Genauigkeit ist. Die Zeilen 6 und 7 legen fest, dass lediglich Werte zwischen 1,753 und 7,529 erlaubt sind. Diese Werte ergeben sich aus den Eigenschaften der verwendeten Hardware.The firmware is also generated here using the method according to the invention in step 21. As with the method shown in FIG. 3, no inconsistencies 22 can occur between the software blocks 11 and 12 here, since both are parameterized on the same data basis, namely the machine-readable Build description 13. FIG. 5 shows, as an example of a machine-readable, parameterized description, the part of a description written in Device Description Language (DDL). This parameterized description was developed from the original textual description. In the section shown, the variable "dmp 1" is defined internally in line 1, in line 4 it is specified that this parameter is of the type of a floating point number with simple precision. Lines 6 and 7 stipulate that only values between 1.753 and 7.529 These values result from the properties of the hardware used.
Figur 6 skizziert den Ablauf einer vorteilhaften Anwendung des erfinderischen Verfahrens. Die Erfindung geht aus von der maschinenlesbaren parametrisierten Beschreibung eines Feldgeräts. In einem ersten Schritt 31 werden die in der Beschreibung enthaltenen vier Parameter des Feldgeräts erkannt, sodann können jeweils die in der Beschreibung definierten steuerungsrelevanten Eigenschaften der Parameter in einem zweiten Schritt 32 erkannt werden. Der Parameter v besitzt drei Eigenschaften, die in dem Schritt 32 erkannt werden. Dies ist die untere Grenze des erlaubten Wertebereichs von 1,753, die obere Grenze mit 7,529 sowie der für die Skalierung der Rohmessdaten zu verwendende Faktor n=0,01. In dem weiteren Verfahrensschritt 33 werden für den Parameter v mehreren Programmmodule erzeugt, in die jeweils die erkannten Eigenschaften von v eingehen. Zum einen wird das Deklarationsmodul 41 erzeugt, das für v ein bestimmtes Segment auf dem Speichermittel sowie den Datentyp „Fließzahl* festlegt. Zugleich wird ein Zugriffsmodul 42 erzeugt, das die Kontrollvorrichtung des Feldgeräts bei einem Zugriff auf den Parameter v zur Ausführung eines ebenfalls erzeugten Eingabekontrollmoduls 43 veranlasst. [42 noch einfügen]. Das Eingabekontrollmodul 43 überprüft bei jeder benutzerveranlassten Pa- rameteränderung, ob der neue Parameterwert zwischen den Grenzen des erlaubten Wertbereichs, also zwischen 1,753 und 7,529 liegt. Ist dies nicht der Fall so wird eine Fehlermeldung 44 erzeugt, die von dem Steuerungscomputer ausgelesen und angezeigt werden kann. Figure 6 outlines the sequence of an advantageous application of the inventive method. The invention is based on the machine-readable, parameterized description of a field device. In a first step 31, the four parameters of the field device contained in the description are recognized, and the control-relevant properties of the parameters defined in the description can then be recognized in a second step 32. The parameter v has three properties that are recognized in step 32. This is the lower limit of the permitted value range of 1.753, the upper limit of 7.529 and the factor n = 0.01 to be used for scaling the raw measurement data. In the further method step 33, a plurality of program modules are generated for the parameter v, in each of which the recognized properties of v are incorporated. On the one hand, the declaration module 41 is generated, which defines a specific segment on the storage medium and the data type “flow number *” for v. At the same time, an access module 42 is generated which, when the parameter v is accessed, causes the control device of the field device to execute an input control module 43 which has also been generated. [42 to be added]. With each user-induced parameter change, the input control module 43 checks whether the new parameter value lies between the limits of the permitted value range, ie between 1.753 and 7.529. If this is not the case, an error message 44 is generated generated, which can be read out and displayed by the control computer.

Claims

Patentansprüche claims
1. Automatisiertes Verfahren zum Erzeugen von Programmodulen zur Steuerung von Feldgeräten aus einer maschinenlesbaren pa- rametrisierten Beschreibung der Feldgeräte, die auf einer Steuerungseinheit zur Steuerung der Feldgeräte verwendet wird, wobei die Feldgeräte jeweils Kontrollvorrichtungen mit zumindest einem Mikroprozessor, mit zumindest einem elektronischen Speichermittel sowie mit Daten-Ein- und Ausgabemittel zur Kommunikation mit der Steuerungseinheit umfassen, bestehend aus den folgenden Schritten:1. Automated method for generating program modules for controlling field devices from a machine-readable, parameterized description of the field devices, which is used on a control unit for controlling the field devices, the field devices each having control devices with at least one microprocessor, with at least one electronic storage means and with Data input and output means for communication with the control unit comprise, consisting of the following steps:
Erkennen der in der Beschreibung enthaltenen Parameter des Feldgeräts,Recognizing the parameters of the field device contained in the description,
Erkennen der in der Beschreibung definierten steuerungs- relevanten Eigenschaften der jeweiligen Parameter, nämlich insbesondere Datentyp, Größe, erlaubte Werte beziehungsweise erlaubter Wertebereich,Recognizing the control-relevant properties of the respective parameters defined in the description, namely in particular data type, size, permitted values or permitted value range,
Erzeugen von Programmodulen für die Kontrollvorrichtung des Feldgeräts, die von dem Mikroprozessor des Feldgeräts ausführbar sind, und die zumindest teilweise auf den erkannten Parametern und/oder den erkannten steuerungsrelevanten Eigenschaften der Parameter beruhen.Generation of program modules for the control device of the field device, which can be executed by the microprocessor of the field device and which are based at least in part on the recognized parameters and / or the recognized control-relevant properties of the parameters.
2. Verfahren nach Anspruch 1, bei dem für zumindest einen Parameter ein Deklarationsmodul erzeugt wird, das für den2. The method according to claim 1, in which a declaration module is generated for at least one parameter, which for the
Parameter bestimmte Segmente des Speichermittels reserviert und/oder den Datentyp und/oder die Größe festlegt, wobei das reservierte Speichersegment, der Datentyp und/oder die Größe den erkannten Eigenschaften des Parameters entspricht.Parameter reserves certain segments of the storage means and / or specifies the data type and / or the size, the reserved memory segment, the data type and / or the size corresponding to the recognized properties of the parameter.
3. Verfahren nach Anspruch 2, bei dem für zumindest einen Parameter ein Zugriffsmodul erzeugt wird, das für den Parameter den Zugriff der Kontrollvorrichtung auf das im Deklarationsmodul definierte Speichersegment regelt.3. The method according to claim 2, in which an access module is generated for at least one parameter, which controls the access of the control device to the memory segment defined in the declaration module for the parameter.
4. Verfahren nach Anspruch 1, bei dem für zumindest einen Parameter ein Verweisungsmodul erzeugt wird, das die Kon- trollvorrichtung bei dem Parameterzugriff zur Ausführung anderer Programmodule veranlaßt.4. The method as claimed in claim 1, in which a reference module is generated for at least one parameter, which reference module troll device in the parameter access to execute other program modules.
5. Verfahren nach einem der Ansprüche 1 bis 4, bei dem zusätzlich für zumindest einen Parameter ein von dem Zugriffsmodul aufrufbares Eingabekontrollmodul erzeugt wird, das bei einer Parameteränderung überprüft, ob der neue Parameterwert innerhalb der Menge der erlaubten Werte beziehungsweise innerhalb des erlaubten Bereichs liegt.5. The method as claimed in one of claims 1 to 4, in which an input control module which can be called by the access module is additionally generated for at least one parameter and which checks in the event of a parameter change whether the new parameter value lies within the set of permitted values or within the permitted range.
6. Verfahren nach einem der Ansprüche 1 bis 5, bei dem eine Fehlermeldung erzeugt wird, falls der von der Steuerungseinheit übermittelte Parameterwert nicht innerhalb der Menge der erlaubten Werte beziehungsweise außerhalb des zulässigen Be- reichs liegt.6. The method according to any one of claims 1 to 5, in which an error message is generated if the parameter value transmitted by the control unit is not within the set of permitted values or outside the permissible range.
7. Verfahren nach einem der Ansprüche 1 bis 6, bei dem zusätzlich für zumindest einen Parameter ein Bezeichungsmodul erzeugt wird, das eine Bezeichnung des Parameters auf dem Speichermittel speichert und einen Zugriff auf den Parameter unter dieser Bezeichnung ermöglicht.7. The method according to any one of claims 1 to 6, in which a designation module is additionally generated for at least one parameter, which stores a designation of the parameter on the storage means and enables access to the parameter under this designation.
8. Vorrichtung zur Erzeugung von Steuerungsmodulen für Feldgeräte aus einer maschinenlesbaren parametrisierten Beschrei- bung der Feldgeräte, die auf Steuerungseinheiten zur Fernsteuerung der Feldgeräte verwendet wird, wobei die Feldgeräte jeweils eine Kontrollvorrichtung mit zumindest einem Mikroprozessor, mit zumindest einem elektronischen Speichermittel sowie mit Datenein- und ausgabemitteln zur Kommunikation mit den Steuerungseinheiten umfassen, bestehend aus einer Eingabeeinrichtung zum Einlesen und Speichern der Beschreibung, einer ersten Analyseeinrichtung zum Erkennen der in der Beschreibung enthaltenen Parameter des Feldgeräts, - einer zweiten Analyseeinrichtung zum Erkennen der in der Beschreibung definierten steuerungsrelevanten Eigenschaf- ten der Parameter, nämlich insbesondere Datentyp, Größe, erlaubte Werte beziehungsweise erlaubter Wertebereich; einer Erzeugungseinrichtung, die für zumindest einen der in der ersten Analyseeinrichtung erkannten Parameter zu- mindest eines der folgenden, auf dem Mikroprozessor der Feldgeräten ausführbaren, Programmodule erzeugt: Deklarationsmodul, das für den jeweiligen Parameter bestimmte Segmente des Speichermittels, den Datentyp, die Größe und/oder die Menge der erlaubten Werte beziehungs- weise den erlaubten Wertebereich festlegt,8. Device for generating control modules for field devices from a machine-readable parameterized description of the field devices, which is used on control units for remote control of the field devices, the field devices each having a control device with at least one microprocessor, with at least one electronic storage means and with data input and output means for communication with the control units, consisting of an input device for reading and storing the description, a first analysis device for recognizing the parameters of the field device contained in the description, - a second analysis device for recognizing the control-relevant properties defined in the description. ten of the parameters, namely in particular data type, size, permitted values or permitted value range; a generating device that generates at least one of the following program modules that can be executed on the microprocessor of the field devices for at least one of the parameters detected in the first analysis device: declaration module that contains segments of the storage medium, the data type, the size and / / or the amount of allowed values or the allowed value range,
Zugriffsmodul, das für den jeweiligen Parameter den Zugriff der Kontrollvorrichtung auf das im Deklarationsmodul definierte Speichersegment regelt sowie die Kontrollvorrichtung bei dem Parameterzugriff zur Ausführung an- derer Programmodule veranlassen kann. Access module which regulates the access of the control device to the memory segment defined in the declaration module for the respective parameter and which can cause the control device to execute other program modules when accessing parameters.
EP02787944A 2001-12-27 2002-12-12 Automated method for generating program modules used for controlling field devices by means of a machine-readable parametered description of the field devices Withdrawn EP1468356A2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US34370101P 2001-12-27 2001-12-27
US343701P 2001-12-27
PCT/EP2002/014166 WO2003056423A2 (en) 2001-12-27 2002-12-12 Automated method for generating program modules used for controlling field devices

Publications (1)

Publication Number Publication Date
EP1468356A2 true EP1468356A2 (en) 2004-10-20

Family

ID=23347251

Family Applications (1)

Application Number Title Priority Date Filing Date
EP02787944A Withdrawn EP1468356A2 (en) 2001-12-27 2002-12-12 Automated method for generating program modules used for controlling field devices by means of a machine-readable parametered description of the field devices

Country Status (3)

Country Link
US (1) US20070088518A1 (en)
EP (1) EP1468356A2 (en)
WO (1) WO2003056423A2 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10253603A1 (en) * 2002-11-15 2004-06-03 Endress + Hauser Conducta Gesellschaft für Mess- und Regeltechnik mbH + Co. KG Method for generating software modules for field devices in process automation technology
JP4622474B2 (en) * 2004-11-17 2011-02-02 横河電機株式会社 Field device and system using the same
US7752344B2 (en) * 2005-06-01 2010-07-06 Siemens Aktiengesellschaft Parameterization device and method for parameterizing electrical devices
DE102005063162A1 (en) * 2005-12-30 2007-10-31 Codewrights Gmbh Method for testing device descriptions for field devices of automation technology
DE102006042805A1 (en) * 2006-09-08 2008-03-27 Endress + Hauser Gmbh + Co. Kg Method for generating consistent device-specific software components for field devices of automation technology
DE102007054925B4 (en) 2007-04-13 2022-02-24 Endress + Hauser Process Solutions Ag Process for monitoring a network of process automation technology
DE102007039528A1 (en) * 2007-08-21 2009-02-26 Endress + Hauser Conducta Gesellschaft für Mess- und Regeltechnik mbH + Co. KG Field device for process automation
DE102007059671A1 (en) * 2007-12-10 2009-06-25 Endress + Hauser Process Solutions Ag A method of operating a system comprising a field device and an operating system
EP2187571B1 (en) * 2008-11-12 2011-06-15 VEGA Grieshaber KG Generating a device description for a measuring device
EP2204704B1 (en) 2008-12-31 2013-01-30 Siemens Aktiengesellschaft Method for operating an industrial automation system comprising multiple networked computing units and industrial automation system
EP2221681B1 (en) * 2009-02-19 2017-03-29 Siemens Aktiengesellschaft Engineering system for programming a control and setting the parameters of field devices
US8738190B2 (en) * 2010-01-08 2014-05-27 Rockwell Automation Technologies, Inc. Industrial control energy object
US9391797B2 (en) * 2010-12-09 2016-07-12 Schneider Electric USA, Inc. Dynamic host profiles for option modules
DE102011009583B4 (en) 2011-01-27 2023-08-03 Rohde & Schwarz GmbH & Co. Kommanditgesellschaft Easy creation of a remote control sequence for measuring devices
US10365676B2 (en) * 2015-04-30 2019-07-30 Abb Inc. Secured control of circuit breakers in a digital substation

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4319338A (en) * 1979-12-12 1982-03-09 Allen-Bradley Company Industrial communications network with mastership determined by need
FR2610120B1 (en) * 1987-01-26 1989-07-13 Merlin Gerin CONTROL AND PROTECTION ASSEMBLY CONNECTING A LOCAL COMMUNICATION NETWORK TO AN INDUSTRIAL PROCESS
GB9006661D0 (en) * 1990-03-24 1990-05-23 Reflex Manufacturing Systems L Network-field interface for manufacturing systems
AU9030391A (en) * 1990-10-16 1992-05-20 Consilium, Inc. Object-oriented architecture for factory floor management
US6094600A (en) * 1996-02-06 2000-07-25 Fisher-Rosemount Systems, Inc. System and method for managing a transaction database of records of changes to field device configurations
US5909368A (en) * 1996-04-12 1999-06-01 Fisher-Rosemount Systems, Inc. Process control system using a process control strategy distributed among multiple control elements
US5892939A (en) * 1996-10-07 1999-04-06 Honeywell Inc. Emulator for visual display object files and method of operation thereof
EP0913750B1 (en) * 1997-10-31 2003-02-12 Endress + Hauser GmbH + Co. KG Apparatus for remote control and/or remote operation of a field device by means of a control device via a field-bus
FI114745B (en) * 1998-06-01 2004-12-15 Metso Automation Oy Control systems for field devices
KR100313553B1 (en) * 1998-06-25 2001-11-07 이마이 기요스케 Remote supervisory control system
US6449715B1 (en) * 1999-10-04 2002-09-10 Fisher-Rosemount Systems, Inc. Process control configuration system for use with a profibus device network
US6445963B1 (en) * 1999-10-04 2002-09-03 Fisher Rosemount Systems, Inc. Integrated advanced control blocks in process control systems
US6799148B2 (en) * 2001-05-03 2004-09-28 Invensys Systems, Inc. Electronic mail based remote historian and system
DE10151115A1 (en) * 2001-10-15 2003-05-08 Siemens Ag Method for operating and observing field devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO03056423A2 *

Also Published As

Publication number Publication date
US20070088518A1 (en) 2007-04-19
WO2003056423A2 (en) 2003-07-10
WO2003056423A3 (en) 2004-08-05

Similar Documents

Publication Publication Date Title
EP1558975B1 (en) Method for the offline parameterisation of a field appliance used in process automation technology
EP2171553B1 (en) Method for controlling a field device in automation engineering
DE102007047061B4 (en) Method for operating field devices of process automation technology with a device-independent operating program
EP1468356A2 (en) Automated method for generating program modules used for controlling field devices by means of a machine-readable parametered description of the field devices
EP2247987A1 (en) Method for operating 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
DE10234304A1 (en) Process for updating device descriptions for field devices in process automation technology
DE102006062605A1 (en) Field device online operation method for e.g. fill level measuring device, involves transmitting operating units/menu structures from field device to device description for representing operating units/structures using operating program
EP2188600A2 (en) Method for monitoring a process system having a field bus in the process automation technology
WO2009074544A1 (en) Method for operating a system comprising a field device and an operating system
DE102007054417A1 (en) Determining device-internal parameter addresses from fieldbus-specific parameter addresses of a field device
WO2004046837A1 (en) Method for producing software modules for field appliances used in the process automation technique
WO2010020661A1 (en) Method for determining a static data structure of a field device
DE10250250B4 (en) Method for parameterizing a field device of process automation technology
DE10223158A1 (en) Process-control system with software compatible stored program control as control machine, uses monitoring unit for conversion of operating value into physical unit scale
WO2016087149A1 (en) Method for overwriting a non-volatile memory of a field device
DE102006062604A1 (en) Device description i.e. device type manager, testing method for e.g. process field bus, involves providing test component between frame application and device descriptions, where test component tests interface access
DE102010027963A1 (en) Method for operating field device e.g. pressure measuring device for detecting pressure in process automation engineering, involves providing list of static parameters whose value is changed such that list is read by control tool
DE102008042919A1 (en) Field devices for process automation device, have field bus interface, and are formed for communication of fieldbus-protocol, where field devices have also field-device-specific device identification that is specific for field-device-type
DE102017128903A1 (en) Network of automation technology
DE10394242T5 (en) Method and instrument for allocating computational resources in a distributed control system
DE102016114600B3 (en) IO-Link capable sensor and method of communication
LU500646B1 (en) Technique for providing diagnostic functionality for a programmable logic controller based application
DE102005057000A1 (en) Field bus device for use in process control system, has integrated detector detecting relevant bus communication parameters, and display device connected with detector for directly visualizing detected parameters on bus device
DE102021133959A1 (en) Method for replacing a field device with a replacement field device in a measuring point of an automation technology system

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20040518

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR IE IT LI LU MC NL PT SE SI SK TR

17Q First examination report despatched

Effective date: 20050211

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20100105