FLOWCOMP GAS-NET C2, GAS-NET 2 Series, GAS-NET C1 Technical Documentation Manual

DSfG Gateways C1 and C2
Series 2
Technical Documentation
Function, operation,
2007 Elster GmbH September 2007
Copyright:
2007 Elster GmbH
GAS-WORKS, Z1 and FLOW COMP are German registered trademarks of FLOW COMP Systemtechnik.
Microsoft, Windows and Windows NT are registered trademarks of Microsoft Corporation.
Elster GmbH
Schlossstrasse 95a
D - 44357 Dortmund, Germany
Tel.: +49 - 2 31 - 93 71 10 0
Fax: +49 - 2 31 - 93 71 10 99
E-Mail: systems@elster-instromet.com
gas-net C1 and C2
Page ii
Contents
Safety and warning notes.................................................................................... v
General Notes on the Structure of this Manual .................................................. vi
1 Introduction ..............................................................................................1-1
1.1 The gas-net system idea..................................................................1-1
1.2 The gas-net DSfG gateway..............................................................1-1
2 How the gas-net DSfG Gateway works....................................................2-1
2.1 Host job list (Data exchange module)...............................................2-2
2.2 DSfG job list (DSfG module) ............................................................2-2
2.3 Foreign Protocols Module (for C2 devices only)...............................2-3
2.4 Simulating a gas quality entity via DSfG
(Gas quality simulation module).......................................................
2.5 Counters module..............................................................................2-4
2.6 Integrated RDT Module (for C2 devices only) .................................. 2-7
3 Device view and design ...........................................................................3-2
4 GW-GNET+..............................................................................................4-1
4.1 Creating and exporting a gas-net parameter data record:
Brief description................................................................................4-1
Importing and editing a parameterisation: Brief description..............4-3
4.2
2-3
4.3 Extras: GW-GNET+ service programs .............................................4-5
5 Installation................................................................................................5-1
5.1 Mounting the gas-net C1 / C2 ..........................................................5-1
5.2 Line Connection ...............................................................................5-1
6 Commissioning.........................................................................................6-1
6.1 Device Parameterisation..................................................................6-1
6.2 Commissioning of the Gateway........................................................6-1
6.3 Commissioning the Integrated RDT .................................................6-2
7 Maintenance.............................................................................................7-1
gas-net C1 and C2
Page iii
7.1 Battery Replacement .......................................................................7-1
8 Technical data: gas-net C1 and C2 ......................................................... 8-1
9 Annex.......................................................................................................9-1
9.1 Host protocols..................................................................................9-1
10 Bibliography...........................................................................................10-1
11 Index......................................................................................................11-1
gas-net C1 and C2
Page iv
Safety and warning notes
Attention! The following safety and warning notes must be
!
observed:
The gas-net C1 and C2 devices must neither be stored at temperatur es
below -20°C nor above +50°C.
A temperature between 0°C and +40°C must be guaranteed during
operation.
The gas-net C1 and C2 devices must be installed outside ex-zone 2. The power supply of the gas-net devices is 24 V DC and must be
secured externally by 1 A.
The earthing is connected to PE of the power supply socket for
equipotential bonding.
Observe the regulations of the relevant standards, in particular the
regulations of DIN EN 50014, DIN EN 50020 and DIN EN 50039.
gas-net C1 and C2
Page v
General Notes on the Structure of this Manual
The documentation on hand describes the gas-net C1 and C2 DSfG Gateways. As the description holds mostly for both devices, C1 and C2, we refer generally to the device 'gas-net DSfG gateway'.
In short, the functional differences between C1 and C2 are the following: The C2 devic e is availa ble in a mou nting width of 1/3 an d 1/2 (the C 1 has a
mounting width of 1/6) and is therefore able to provide more communication interfaces. (Several additional foreign digital protocols are supported as well.)
The C2 supports the functionality Integrated RDT for establishing a data
connection between the gas-net device and a remote center. T his function­ality uses the public switched telephone network or GSM wireless network, a serial direct connection, or TCP.
If a functionality is not available for the gas-net C1, it will be explicitly stated in the text.
gas-net C1 and C2
Page vi
Introduction 1
1 Introduction

1.1 The gas-net system idea

is the generic term for a whole device family. All gas-net devices,
including future device types, stand out due to a uniform appearance, operation and parameterisation. The FLOW COMP devices, each by itself, always cover a multitude of measure-
ment and control functionalities. gas-net devices also provide this functional variet y. To keep the operation and parameterisation of the devices well structured and user-friendly, the gas-net series is based on a modular concept. A module corr esponds to a specific func­tionality, and to each module belongs a group of settings within the parameter data record. The DSfG gateway gas-net C1, for instance, includes the modules
, DSfG, Data exchange, Counters, and Gas quality simulation.
System
A particular module can be employed in different device types. This yields a modular system that is advantageous to the user as a particular module can always be operated and parameterised in the same way, no matter in which device type it has been installed.

1.2 The gas-net DSfG gateway

The DSfG protocol is a digital data protocol, especiall y developed for the com­munication between gas metering devices in gas measuring and regulating stations. However, such gas measuring and regulating stations often also con­tain a PLC (programmable controller), the tasks of which comprise the open­and closed-loop control of the station and telecontrol interfacing to a telec ontrol centre. Most of the PLCs are not DSfG-capable but use other digital communi­cation protocols bus. The gas-net DSfG gateway solves this probl em: This device is connected to the DSfG bus on the one side and on the other via a digital connection to the PLC called host in the following.
1
. Consequently, they cannot be simply included in the DSfG
1
Typical protocols are, for instance, 3964R/RK512 (e.g. in case of Siemens S5/S7) or
Modbus-RTU (e.g. in case of Cegelec Modicon).
gas-net C1 and C2 Page 1-1
1 Introduction
Correction
Correction
Data logging
DSfG
bus
DSfG
Gateway
digital
connection
Host
Telecontrol centre
Telecontrol line
Typical system structure with an integrated gas-net C1 DSfG gateway
In summary, the gas-net DSfG gateway accomplishes the following tasks:
Cyclic or event-driven data polling at DSfG stations. Conversion of this data
into the host protocol, and its transmission to the host computer.
Cyclic or event-driven data polling at the host computer. Conversion of this
data into the DSfG protocol, and its transmission to DSfG stations.
Simulation of a gas quality entity towards the DSfG bus using gas quality
data provided by the host.
gas-net C1 and C2
Page 1-2
Method of operation 2
2 How the gas-net DSfG Gateway works
The illustration below shall explain how the gas-net DSfG Gateway works in principle. The comprehension of the way the gas-net gateway works is essential for the following description of the device operation and parameterisation.
Import values
Export values
Transfer
DSfG
Bus
DSfG job list
memory,
Calculations
Export values
DSfG
Gateway
Structure of a gas-net C1 DSfG Gateway
Host job list
Import values
Host
The gas-net gateway c yclically executes a jo b list for the DSfG side and o ne for the host side, one independent of the other. The results of import jobs are al­ways stored as data points in a transfer memory, whereas export jobs always take their data points from the transfer memory that has been filled before. The job lists themselves are generated by a PC during commissioning and para­meterised in the gateway. To a limited extent, the gas-net DSfG Gateway can also calculate with the data points of the transfer memory. This function will be described in the foll owing chapters, too.
gas-net C1 and C2 Page 2-1
2 Method of operation

2.1 Host job list (Data exchange module)

The job list of the host describes all data flows to be processed between host and gas-net DSfG Gateway. The system distinguishes between the flow direc­tion to the host (data export) and the flow direction from the host (data import). The data transport in the direction to the host is processed cyclicall y. If a new value arrives from the DSfG side, the associated export value will be updated. In addition to the specification of the destination in the host, the description of the export value also defines the way of positioning the data point in the host (e.g. size, scaling, limits, bit position). A particular import value describes for the reverse data flow direction from which position in the host a data point shall be collected and in which way it shall be converted. It can be parameterised whether the transmission to the DSfG side shall be performed cyclically or event-driven. Any number of import values from the host can be combined to a job group. All data points of a job group are always put into the transfer memory altogether and simultaneously, but only after all of them have been collected again onc e more. Moreover, a job group may be linked with a trigger. A trigger is a defined position within the host. It initiates a new processing of a job when its content has changed.

2.2 DSfG job list (DSfG module)

The DSfG job list describes all data flows to be processed between the DSfG stations and gas-net DSfG Gateway. The system distinguishes between the flow direction to DSfG stations (export values) and the flow direction from DSfG sta­tions (import values). A particular import value for a DSfG station describes the DSfG data e lement that shall be collected and put into the transfer memory. F or this, any numerical data element provided by the addressed station can be addressed, without exception. Several import values of one and the same DSfG station are combined to a job group, a so-called query telegram. All data elements of a query telegram are collected via DSfG queries and thus always put into the transfer memory al­together and simultaneously. DSfG import groups also comply with some spe­cial features of the DSfG regulations relating to the telegram traffic. For in­stance, it is possible to process query telegrams either cyclically or upon the
gas-net C1 and C2
Page 2-2
Method of operation 2
arrival of an attention telegram2. You can also collect the most recent entry of a
3
standard query
. Finally, the processing of each individual query telegram can be blocked. This function is useful if the associated DSfG station is temporarily not in operation.

2.3 Foreign Protocols Module (for C2 devices only)

The Foreign Protocols module is incorporated in the C2 software only a nd fa­cilitates the connection of several manufacturer-specific protocols (e.g. the Uni­form protocol). This functionality is intended for special applications; please contact Elst er for further information.
2.4 Simulating a gas quality entity via DSfG
(Gas quality simulation module)
The simulation of the gas quality data is a ver y special function of the gas-net DSfG Gateway. The DSfG regulations stipulate a specific process that announces the existence of a new gas quality analysis across DSfG and dis­tributes this analysis to all stations interested in it. However, if there is no gas quality analyser incorporated in the gas measuring and regulating station, and the gas quality data is injected via the telecontrol system, the gateway may inject this remotely provided gas quality data in the DSfG bus as if it were a gas
2
According to the DSfG specifications the DSfG entities may generate attention telegrams in case of special events. These attention telegrams are routed to all devices on the bus as multi-address message.
3
A DSfG standard query serves to collect several coherent dates of a DSfG station at once by querying with a single data element. For instance, via the “bia” data element you address the standard query 1 of a volume corrector entity. The response to this query supplies all current totalizers and important measurements. Other standard queries are updated upon certain events. The standard query 2 (“bib”) for a volume corrector, for example, is always updated at the end of an interval or at the beginning and end of alarms. Each time such a data record is logged the ordinal number increases by one. When polling via an ordinal number, such standard queries always supply exactly the data record that belongs to the indicated ordinal number. The information on the highest ordinal number ("level indicator") is also available via a DSfG data element. This way, you are in the position to collect the most recent entry of a standard query via DSfG.
gas-net C1 and C2
Page 2-3
2 Method of operation
quality analyser itself. Thus, a gas quality analyser is being simulated for the DSfG entities interested in gas quality data (e.g. for volume correctors). It pro­vides a new analysis each time an analysis is supplied via the host.

2.5 Counters module

The M1’s counting function may file counters for different ph ysical values, com­prising Counters and Totalizing counters. The created count va lues are avail­able across the system and thus can, for instance, be logged, output and in particular queried via DSfG.
2.5.1 Counters and Conversion Factors
The so-called Counters create a totalizer based on an input value consisting of either a count value or a flow rate. This input value may either be supplied by a transmitter directly connected to the device (e.g. a gas meter with encoder to­talizer, Q.Sonic or FLOWSIC ultrasonic gas meter or a meter with a pulse i nter­face) or come in via a digital protocol from an external source (e.g. via DSfG or MODBUS). If the incoming count value (possibly determined based on the flo w rate) is a volume, it can be multiplied by a conversion factor to create the counter. T his way a counter for the base volume, energy or mass can be created based on an input of the volume at operating conditions. A base volume input can be used for creating an energy or mass totalizer. To define or calculate the factor, a so-called convers ion factor is assign ed to the counter. The definition of such a conversion factor comprises the following specifications:
- Hs and Rho as constants
- k-ratio calculation method k=const or SGERG-88 or no correction (if the
totalizer input value already is the base volume)
- Pressure and temperature inputs (consideration of online values for the calculation of the compression factor Z)
Up to 5 conversion factors can be parameterized, each of which may be as­signed to different counters at the same time.
gas-net C1 and C2
Page 2-4
Method of operation 2
The following table shows useful combinations for counters being weighte d with a conversion factor:
Input value Target
value
Factor for counter k-ratio calculation
method
V or Q V *Z k=const or SGERG E *Z *Hs k=const or SGERG m *Z *Rho k=const or SGERG
V or Q E *Hs no correction m *Rho no correction
A counter is considered being disturbed in one of the following cases:
- The optional related message input Disturbance information has been set.
- The input value for the creation of the c ounter is disturbed (protocol timeout,
cable break, etc.)
- A coefficient is disturbed (e.g. the pressure input value of a parameterized conversion factor)
If the totalizer is transferred digitally, it is possible to either transfer the original totalizer or to create an own counter. Totalizers/counters being cr eated by the device itself can be set via the data interface by means of the GW-GNET+ soft­ware during an online connection. The setting of totalizers i s subject to the user lock (numeric code). The Counters module is able to file up to 100 counters.
2.5.2 Counters - Intercalating Totalizers
If an input totalizer comes in via a digital protocol only at regular intervals, the option Intercalate totalizer is available to achieve that the counter increases continuously and not suddenly. Based on the input values the Intercalate totalizer functionality creates a count value, which is updated continuously. This updatin g is based on the change of the incoming count value during the previous time interval and can thus n ot start unless valid count values permitting a calculation of the average change have arrived two times in a row. This calculated average change per time interval is continuousl y added to the internally created totalizer. As soon as the next totaliz er arrives, the ch ange rate is calculated anew, thus achieving that the difference in case of deviations be­tween the created totalizer and the original totalizer is compensated over the
gas-net C1 and C2
Page 2-5
2 Method of operation
course of time. The original totalizer is thus not just automatically transfer red to the created totalizer. This is important because a possible running backwards of the intercalated totalizer must be prevented. An intercalated totalizer will fluctuate around the original tot alizer when the flow rates are changing. In principle, this totalizer can only re present an approximate value, which is the more precise the lower the flo w rate fluctuations are and the more often a new intercalation value comes in. The procedure is only started anew if an error occurs, such as a mains failur e, an error of the totalizer input value or an exceeding of the parameterizable communication timeout. As soon as the error is no longer pending, the newly supplied totalizer will be transferred to the intercalated totalizer and the creatio n of the intercalated totalizer will be restarted. There is a special procedure for recognizing the setting of a totalizer: A maxi­mum flow rate Qmax is parameterized that must not be exceeded. An implausi­ble totalizer increment violating the defined maximum flow rate is interpreted as “setting”. In such a case, too, the new totalizer will be immediately transferred to the intercalated totalizer and the creation of the intercalated totalizer will be started anew. Furthermore, the intercalation of the intercalated counters is stopped belo w a flow rate of 1/10 of the maximum flow rate. In such a case o nly the totalizers being supplied via the protocol will be transferred to the i ntercalated totalizer. This prevents that the intercalated totalizer reading is higher than the original totalizer when the station is shut.
2.5.3 Totalizing Counters
A totalizing counter totalizes up to 10 counters and creates a total count value. Each of the involved counters may be included in the totalizing counter with a positive or negative sign. If all involved counters have a flow rate input value, a total flow rate is additionally created. A totalizing counter is considered being disturbed if at least one of the involve d counters is disturbed. If a counter with a negative sign influences a totalizing counter, the overall result should always be positive. Nevertheless, it may happen from time to time that, in terms of figures, a negative total increment occurs – for instance, in case of pulse inputs with different input types (HF, LF). A totalizing counter nev er counts backwards. An internal buffer retains negative quantities instead. The retained
gas-net C1 and C2
Page 2-6
Method of operation 2
negative quantities will be subtracted as soon as the total increment is positive again. The negative quantities can be deleted with a menu command. In addition, accumulated negative quantities of a totalizing counter are al ways deleted when the counter changes from the disturbed to the undisturbed status. A total flow rate is always positive; if a negative value is determin ed in terms of figures, the total flow rate is set to 0. Total flow rate and total count value are available as values across the system; therefore, they can in particular be logged and output. Totalizing counters can be set via the data interface using the GW-GNET+ soft­ware during an online connection. Possibly retained negative quantities are deleted when a totalizing counter is set. The setting of a counter is subject to the user lock (numeric code). The Counters module can file up to 20 totalizing counters.

2.6 Integrated RDT Module (for C2 devices only)

The Integrated RDT (Remote Data Transmission) module implements the data connection between the gas-net device and a remote center. The center accesses the data traffic as a logical equal-access station via the integrated RDT during an established data connection. The data transmission is imple­mented according to DSfG specifications by means of a Class B DSfG interface. If the device is equipped with a DSfG interface, further devices may be con­nected via this interface. If such a local DSfG bus exists, the connection to the center not only refers to the communication with the entities inside the device but with the entire local DSfG bus traffic. With respect to data communications, the RDT integrated in the device thus completely replaces an independent DSfG RDT as other devices connected via DSfG may also use it. The parameterization of the gas-net device assigns an own bus address (EADR) to the internal Center via RDT entity
4
.
The data connection may use one of the following transmission media:
4
According to DSfG terminology an Entity is an enclosed functionality within a device. One single entity is not necessarily identical with an enclosed device, as a device may contain different entities with their own DSfG bus addresses.
gas-net C1 and C2
Page 2-7
2 Method of operation
1) Public switched telephone network or GSM wireless network (hardware requirements: modem, COM2 interface)
2) Serial direct connection (hardware requirements: null-modem cable, COM2 interface)
3) TCP (hardware requirements: computer network, TCP/IP interface)
Independent of the data transmission type, the data connection establis hed by the integrated RDT offers multiple diagnostic and information gathering possi­bilities. For example, it is possible to poll archive data from a remote location. However, the RDT may also be parameterized in such a way that a special event (e.g. a correction alarm) will trigger a call at the center. This works as follows: Accord­ing to the DSfG Specification, the entities gener ate Attention telegrams that are forwarded to all other stations in form of a multi-address message in case of special events. It is possible to separately define for e ach station that the center
5
will be informed spontaneously in case of particular generated telegram types
.
5
Each DSfG telegram contains a character for the telegram type (TTY). The telegram type
identifiers of the currently valid attention telegram types are the following:
Telegram type TTY
Bus alarm B Freeze request F Hint H End of billing period I Alarm L New measurement M Parameter change P Warning W Make-specific meaning Y Timesynch telegram Z
gas-net C1 and C2
Page 2-8
Method of operation 2
Re 1) Data connection via modem and telephone line or GSM wireless network The data connection usually uses either the public or the company telephone
network. If a system is not connected to a line-bound telephone net work, a con­nection can be implemented via the GSM wireless network. An external modem is connected to the COM2 interface of the gas-net device for connection to the respective telephone network. In order to check the access authorization of the center, the integrated RDT manages the bus address, bus identifier and password of the center (Center identifier). A login procedure is carried out during a call connection. If errors occur during this procedure, each side is authorized to inter rupt the connection by ‘hanging up’ for in this case a faulty connection or an unauthorized access can be assumed. The remote center, however, is only linked via the integrated RDT during an established telephone connection. If the transmission of attention telegrams has been parameterized, the center will be spon taneously called and informed. For this, the integrated RDT has to know the center’s telephone number. Furthermore, it is possible to synchronize the internal device time via the inte­grated RDT if there is a server reachable by telephone and provi ding the time via telephone in accordance with a defined protocol. Should you b e interested, please consult Elster-Instromet systems to clarify the usability of this functional­ity in your case.
Re 2) Serial direct connection (null-modem cable) In case of a serial direct connection the RDT assumes a continuous connection, i.e. a leased-line operation. The interface har d ware is conne cted by a thre e- core null-modem cable; control lines are therefore not supported. T he RDT is always online, so there is no connection set-up, no login procedure, and no connection tear-down. Telegrams to DSfG Class B may arrive at the RDT at any time and are processed there accordingly, i.e. they are answered by internal b us stations or routed to the local DSfG bus. Attention telegrams from local entities are spontaneously sent by the RDT via the leased lin e to the center directly after their creation. This operating mode is thus intended for applications for which a continuously established serial direct connection is guaranteed.
gas-net C1 and C2
Page 2-9
Loading...
+ 37 hidden pages