Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

The following figure shows the relational model of the configuration database from the Central's point of view. Compared to the model seen by SGCom, it is enhanced by an SGCom entity, which allows data collection from many meters to be distributed among multiple instances of the SGCom application. The meaning of individual entities is described in the following subsections.
Commonly used entity attributes:

  • id – artificial primary key
  • name – the text name of the entity, intended for better orientation, has no application meaning for SGCom
  • idParentEntity - an attribute with a similar name represents a foreign key that refers an entity to its parent entity whose name is prefixed by "id"


Image Added
Figure 2 - Relational configuration database model

SGCom entity

Represents an instance of the SGCom application. At its start, each instance logs into the metering central with its own name, which corresponds to the name attribute. Accordingly, the metering central sends it the appropriate subset of the configuration database.

DataCollector entity, SD.SGC_DataCollector structure definition

Represents an instance of an Event object that implements the I.SGC_DataCollector ESL interface. Here, SGCom will transfer the collected data from the meters according to the selected time schedule. The metering central can contain several instances of "DataCollectors" due to load scaling.
Attributes:

  • eventName – the name of the D2000 object of type Event
  • processName – the name of the process on which the corresponding instance is executed
  • instanceNumber – Event instance number (default value is 0).


ConnectorGroup entity, SD.SGC_ConnectorGroup structure definition

It groups Connector entities into logical units for the purpose of controlling the number of parallel serviced connections in a given group.
Attributes:

  • parallelism – defines the maximum number of connections handled in parallel (Connector) in a given group.


Connector entity, SD.SGC_Connector structure definition

It contains the configuration of the communication line to one meter or a group of meters. It is similar to D2000 objects of type Line. During data collection, one Connector type entity is assigned at most one thread, which sequentially serves individual meters connected by a given communication line.
Attributes:

  • type - The type of communication medium and protocol. A numeric type whose values are defined in the SGC_ConnectorType status text. It can acquire values:
    • tcp – communication is transmitted via TCP/IP
    • serial – communication is transmitted through the computer's serial port
    • udpAddax – communication is transmitted via UDP/IP – the reverse mode of Addax electricity meters
    • udpMoxa - UDP/IP is translated by the serial server device to the serial line and back
  • connectionString - the address to connect to the meter. According to the physical connection type:
    • tcp -

Na nasledujúcom obrázku je znázornený relačný model konfiguračnej databázy z pohľadu Centrály. V porovnaní s modelom, ktorý vidí SGCom, je rozšírená o entitu SGCom, ktorá umožňuje rozdeliť zber dát z veľkého množstva meračov medzi viaceré inštancie aplikácie SGCom. Význam jednotlivých entít je popísaný v nasledujúcich podkapitolách.
Všeobecne používané atribúty entitít:

  • id – umelý primárny kľúč
  • name – textové pomenovanie entity, určené pre lepšiu orientáciu, pre SGCom nemá aplikačný význam
  • idParentEntity – atribút s podobným názvom predstavuje cudzí kľúč, ktorým sa entita odkazuje na svoju nadradenú entitu, ktorej názov je za prefixom „id".

Image Removed
Obrázok 2: Relačný model konfiguračnej databázy

Entita SGCom

Reprezentuje inštanciu aplikácie SGCom. Každá inštancia sa pri svojom štarte prihlási do centrály svojím vlastným menom, ktoré korešponduje s atribútom name. Podľa toho centrála zašle príslušnú podmnožinu konfiguračnej databázy.

Entita DataCollector, definícia štruktúry SD.SGC_DataCollector

Reprezentuje inštanciu objektu typu Event, ktorý implementuje ESL rozhranie I.SGC_DataCollector. Sem bude SGCom odovzdávať zozbierané dáta z meračov podľa zvoleného časového harmonogramu. Centrála môže z dôvodu škálovania záťaže obsahovať viacero inštancií „DataCollector-ov".
Atribúty:

  • eventName – meno D2000 objektu typu Event
  • processName – meno procesu, na ktorom je príslušná inštancia vykonávaná
  • instanceNumber – číslo inštancie Event-u (štandardná hodnota je 0).

Entita ConnectorGroup, definícia štruktúry SD.SGC_ConnectorGroup

Združuje entity Connector do logických celkov za účelom riadenia počtu paralelne obsluhovaných spojení v danej skupine.
Atribúty:

  • parallelism – definuje maximálny počet paralelne obsluhovaných spojení (Connector) v danej skupine.

Entita Connector, definícia štruktúry SD.SGC_Connector

Obsahuje konfiguráciu komunikačnej linky k jednému meraču alebo skupine meračov. Je podobná D2000 objektom typu Linka. Pri zbere dát je jednej entite typu Connector priradené najviac jedno vlákno, ktoré sekvenčne obsluhuje jednotlivé merače pripojené danou komunikačnou linkou.
Atribúty:

  • type – Typ komunikačného média a protokolu. Číselníkový typ, ktorého hodnoty sú definované v stavovom texte SGC_ConnectorType. Môže nadobúdať hodnoty:
    • tcp – komunikácia je prenášaná cez TCP/IP
    • serial – komunikácia je prenášaná cez sériový port počítača
    • udpAddax – komunikácia je prenášaná cez UDP/IP – reverzný režim elektromerov Addax
    • udpMoxa – UDP/IP je prekladané zariadením MOXA na sériovú linku a späť.
  • connectionString – adresa pre pripojenie k meraču. Podľa typu fyzického pripojenia:
    • tcphost.name.or.ip.address:port (napre.g. 192.168.1.222:12211) – skladá sa z IP adresy alebo doménového mena - consists of the IP address or domain name (192.168.1.222) a čísla and the TCP portu port number (12211) oddeleného dvojbodkou, na ktorom čaká merač na nadviazanie TCP spojeniaseparated by a colon, on which the meter is waiting to accept TCP connection.
    • serial - comPort baudRate (napre.g. COM13 COM13  4800) – skladá sa z názvu sériového portu - consists of the serial port name (COM13) a komunikačnej rýchlosti and the baud rate (4800) oddelenej medzerou. (Ostatné parametre sériovej komunikácie sú odvodené z hodnoty atribútu typeseparated by a space. (Other serial communication parameters are derived from the value of the type attribute.)
    • udpAddax - deviceId@port (napr. eg ADX115884@5025) – skladá sa z unikátneho ID zariadenia - consists of a unique device ID (ADX115884) a čísla and a UDP portu port number (5025) , na ktorom čaká SGCom na prichádzajúce UDP datagramy, v ktorých merač oznamuje svoje unikátne ID a svoju aktuálnu IP adresuon which SGCom waits for incoming UDP datagrams in which the meter announces its unique ID and its current IP address.
    • udpMoxa - host.name.or.ip.address:port@localport (napre.g. 172.16.22.22:4001@16001) – skladá sa z IP adresy alebo doménového mena - consists of the IP address or domain name (172.16.22.22) a čísla UDP portu na ktorom komunikuje MOXA and the UDP port number on which serial server device communicates (4001) a čísla lokálneho UDP portu and local UDP port numbers (16001) , na ktoré MOXA odosiela UDP datagramy.
  • keepAliveSeconds – dĺžka časového intervalu od ukončenia spojenia s posledným zariadením na linke po uzatvorenie linky. Uplatňuje sa pri protokoloch HDLC a IEC21 a zabraňuje zbytočnému otváraniu a zatváraniu linku (napr COM port) pri častých úlohách.

Entita PhysicalDevice, definícia štruktúry SD.SGC_PhysicalDevice

    • to which serial server device sends UDP datagrams.
  • keepAliveSeconds – the length of the time interval from the end of the connection with the last device on the line to the closing of the line. It is used for HDLC and IEC21 protocols and prevents unnecessary opening and closing of the line (e.g. COM port) during frequent tasks.


PhysicalDevice entity, SD.SGC_PhysicalDevice structure definition

It represents a physical measuring device See the DLMS/COSEM Green Book (chapter Predstavuje fyzické meracie zariadenie Viď DLMS/COSEM Zelenú knihu (kap. 3.1.20) podľa definície according to the COSEM definition.
AtribútyAttributes:

  • protocoltyp komunikačného protokolu relačnej vrstvy. Číselníkový typ, ktorého hodnoty sú definované v stavovom texte the type of communication protocol of the relational layer. A numeric type whose values are defined in the SGC_ProtocolType. Môže nadobúdať hodnoty status text. It can acquire values:
    •  hdlc hdlcpoužíva sa HDLC protokol, cez ktorý sa prenáša The HDLC protocol is used, through which DLMS/COSEM is transmitted.
    •  wrapper wrapperpoužíva sa IEC62056-47 (COSEM transport for IPv4) , cez ktorý sa prenáša is used, through which DLMS/COSEM . Nemôže sa použiť v kombinácii so sériovou linkou. iec21 – používa sa is transmitted. It cannot be used in combination with a serial line.
    • iec21IEC62056-21 . Nemôže sa použiť v kombinácii s UDPis used. It cannot be used in combination with UDP.
  • address – HDLC adresa fyzického zariadenia. Nadobúda hodnotu v rozsahu address of the physical device. It is a value in the range 0 .. 0x3FFF. Používa sa pri protokole HDLC, pri iných protokoloch je ignorovanáIt is used for the HDLC protocol, it is ignored for other protocols.
  • serialNumberSériové číslo fyzického zariadenia. Používa sa pri protokole IEC21, pri iných protokoloch je ignorovaná.

...

  • Serial number of the physical device. It is used for the IEC21protocol, it is ignored for other protocols.


LogicalDevice entity, SD.SGC_LogicalDevice

...

structure definition

It represents a logical measuring device See the Predstavuje logické meracie zariadenie Viď DLMS/COSEM Zelenú knihu (kap. Green Book (chapter 3.1.17) podľa definície according to the COSEM . Jedno fyzické zariadenie typicky obsahuje viacero logických zariadení, z ktorých každé plní iný účel (meranie, manažment, v prípade združených meračov merania rôznych médií). Obyčajne je však v aplikácii zaujímavé len jedno logické zariadenie. Entity logického a príslušného fyzického zariadenia spolu tvoria ekvivalent D2000 objektu Stanica.
Atribúty:definition. One physical device typically contains several logical devices, each of which fulfills a different purpose (measurement, management, in the case of combined meters, measurement of different media). However, usually only one logical device is of interest in an application. Together, the logical and corresponding physical device entities form the D2000 equivalent of a Station object.
Attributes:

  • address – the address of the logical device. It typically has a value of 1, or takes on values from the range 1 .. 0x7F. The value is not used in the IEC62056-21 protocol.
  • client - ID of the client connecting to the device. The value is not used in the IEC21 protocol. Specifies the user role to which the authorization type, password, and access rights to individual COSEM objects in the logical device are bound. It takes on values in the range 1 .. 0x7F, while the value 0x10 is used from the definition of the DLMS protocol for public access without a password with the right to read measured quantities.
  • authenticationType - authorization type, a numeric type whose values are defined in the SGC_AuthenticationType status text. It can acquire values:
    • none – access without a password
    • password – access with a shared password transmitted without encryption
  • password – shared password. It is used only if authenticationType has the value password.
  • baseTimezoneOffsetMinutes – basic (in winter time) offset of the time zone in which the electric meter works, relative to GMT in minutes. (E.g. for Central European time it takes the value 60).
  • connectionKeepAliveSeconds – the length of the time interval from the last task performed on the device to the termination of the connection. If tasks follow more frequently, the connection is not closed. 
    ATTENTION: the parameter is applied only for the DLMS protocol. Any communication with the IEC21 protocol will automatically close all other open connections, even if they should still remain open according to this parameter.
  • flags – a numeric attribute interpreted as a bit field, where each bit is interpreted as a certain flag.
    • bit 0 – The meter shows the time zone shift as the opposite value. (For example, electricity meters in the Iskra basic setting or electricity meters in the SSE-D report).
    • bit 1 – HDLC connection establishment will start via the IEC21 protocol and subsequent protocol switching.
    • bit 2 – The electricity meter does not use summer time.
    • bit 3 – Recording of the entire communication in TRACE is activated for the electricity meter.
    • bit 4 – Activates the sending of the F101 command when setting the time using the IEC21 protocol. Required for some EMH LZQJ electricity meters.
    • bit 5 – Deactivates the IEC21 readout of T3 and TS pages, which are read automatically for EMH family electric meters.
  • model – Defines the model of the electricity meter, a numeric type whose values are defined in the status text SGC_DeviceTypeModel. It can acquire values:
    • Anonymous LN – an unspecified electricity meter that uses the "Logical Name Referencing Method".
    • Anonymous SN - an unspecified electricity meter that uses the "Short
  • address – adresa logického zariadenia. Typicky má hodnotu 1, resp. nadobúda hodnoty z rozsahu 1 .. 0x7F. V protokole IEC21 nie je hodnota použitá.
  • client – ID klienta pripájajúceho sa k zariadeniu. V protokole IEC21 nie je hodnota použitá. Určuje používateľskú rolu, ku ktorej sa viaže typ autorizácie, heslo a prístupové práva k jednotlivým COSEM objektom v logickom zariadení. Nadobúda hodnoty v rozsahu 1 .. 0x7F, pričom hodnota 0x10 sa z definície protokolu DLMS používa na verejný prístup bez hesla s oprávnením na čítanie meraných veličín.
  • authenticationType – typ autorizácie, číselníkový typ, ktorého hodnoty sú definované v stavovom texte SGC_AuthenticationType. Môže nadobúdať hodnoty:
    •  none – prístup bez hesla
    •  password – prístup so zdieľaným heslom prenášaným bez šifrovania
  • password – zdieľané heslo. Používa sa iba ak authenticationType má hodnotu password.
  • baseTimezoneOffsetMinutes – základný (v zimnom čase) posun časovej zóny, v ktorej pracuje elektromer, voči GMT v minútach. (Napr. pre stredoeurópsky čas nadobúda hodnotu 60).
  • connectionKeepAliveSeconds – dĺžka časového intervalu od vykonanej poslednej úlohy na zariadení až po ukončenie spojenia. Pokiaľ úlohy nasledujú častejšie, spojenie sa neuzatvára. 
    POZOR: parameter sa aplikuje len pre DLMS protokol. Prípadná komunikácia protokolom IEC21 automaticky uzatvorí všetky ostatné otvorené spojenia, aj keď by podľa tohto parametra ešte mali zostať otvorené.
  • flags – číselný atribút interpretovaný ako bitové pole, pričom každý bit je interpretovaný ako určitý príznak.
    • bit 0 – Elektromer zobrazuje posun časovej zóny ako opačnú hodnotu. (Napríklad elektromery v základnom nastavení Iskra alebo elektromery v správe SSE-D).
    • bit 1 – Nadviazanie HDLC spojenia začne cez protokol IEC21 a následné prepnutie protokolov.
    • bit 2 – Elektromer nepoužíva letný čas
    • bit 3 – Pre elektromer je aktivovaný zápis celej komunikácie do TRACE.
    • bit 4 – Aktivuje zaslanie povelu F101 pri nastavovaní času protokolom IEC21. Potrebné pre niektoré EMH LZQJ elektromery.
    • bit 5 – Deaktivuje IEC21 readout stránok T3 a TS, ktoré sa čítajú automaticky pre elektromery rodiny EMH.
  • model – Definuje model elektromera, číselníkový typ, ktorého hodnoty sú definované v stavovom texte SGC_DeviceTypeModel. Môže nadobúdať hodnoty:
    • Anonymous LN – bližšie nešpecifikovaný elektromer, ktorý používa „Logical Name Referencing Method".
    • Anonymous SN – bližšie nešpecifikovaný elektromer, ktorý používa „Short Name Referencing Method".
    • Addax NP73E
    • EMH LZQJ-XCmoderný modern EMH LZQJ s podporou zásuvných modulov a protokolu with support for plug-in modules and DLMS/COSEM protocol
    • Landis+Gyr ZMD405CTIskra
    • Spark MT880
    • Iskra
    • Spark MT382
    • EMH LZQJ (no DLMS)  – starý model – old EMH LZQJ s možnosťou komunikácie len cez model with only IEC 62056-21 communication capability.
    • landisGyrZFD405CR44
    • landisGyrZMD405CR44
    • landisGyrZMD410AT21
    • landisGyrZMD410CT44
    • landisGyrZMQ202C
    • emhLZQJ_XC_P2A4
    • emhLZQJ_XC_P2A2
    • emhLZQJ_XC_P2F4
    • emhLZQJ_XC_S1E4
    • emhLZQJ_XC_S5E4
    • emhLZQJ_XC_S1A4
    • emhLZQJ_XC_S5A4
    • emhLZQJ_XC_S5F4
    • emhPZQJ
    • sanxing_S210
    • emhNXT4
    • metcomMCS301

...


PeriodicEvent entity,

...

SD.SGC_PeriodicEvent

...

structure definition

An entity defines a regularly recurring event. For each event, SGCom creates a separate entry in its task schedule, even if two events occur simultaneously. With one entity, it is possible to simultaneously plan regular data collection from meters and regular data transmission to the metering central.
Attributes:

  • beginTime – the exact moment in time of the first occurrence of the event. It marks the edge of the period - e.g. 5th minute of every hour. In practice, it is set far into the past, but for testing purposes, it can be set to the near future, so that the task only starts executing after the test environment has "warmed up".
  • stepType - indicates the units in which the size of the time step with which the event repeats is expressed. It is a numeric type whose values are enumerated by the SGC_StepType status text. It can acquire the following values:
    • second – one second
    • day – one calendar day, while 23 and 25-hour days are also taken into account when changing to summer/winter time. The date and time of the change is determined by the time zone.
    • month – one calendar month that has 28 to 31 days.
  • stepCount - time step size expressed in units defined by the stepType attribute.
  • timeZoneOffset - time zone designation as an offset from GMT in minutes.
  • priority – priority of regular data collection according to this entity. A positive number, with a value of 1 representing the highest priority.
  • ttlSeconds - The maximum time allowed for how long a periodic collection job can wait for its service in the job queue.

For example, an entity with attribute values

Entita definuje pravidelne sa opakujúcu udalosť. Pre každú udalosť si SGCom vytvára zvlášť záznam do svojho harmonogramu úloh a to aj v prípade, že dve udalosti nastávajú súčasne. Jednou entitou je možné plánovať súčasne aj pravidelný zber dát z meračov aj pravidelné odovzdávanie dát do centrály.
Atribúty:

  • beginTime – presný časový okamih prvého výskytu udalosti. Označuje hranu periódy – napr. 5. minúta každej hodiny. V praxi sa nastavuje hlboko do minulosti, ale pre testovacie účely môže byť nastavená aj do blízkej budúcnosti, aby sa úloha začala vykonávať až po „zahriatí" testovacieho prostredia.
  • stepType – označuje jednotky, v ktorých sa vyjadruje veľkosť časového kroku, s ktorým sa udalosť opakuje. Ide o číselníkový typ, ktorého hodnoty sú vymenované stavovým textom SGC_StepType. Môže nadobúdať nasledovné hodnoty:
    •  second – jedna sekunda
    •  day – jeden kalendárny deň, pričom sa do úvahy berie aj 23 a 25 hodinový deň pri zmene na letný / zimný čas. Dátum a čas zmeny je určený podľa časovej zóny.
    •  month – jeden kalendárny mesiac, ktorý má 28 až 31 dní.
  • stepCount – veľkosť časového kroku vyjadrená v jednotkách definovaných atribútom stepType.
  • timeZoneOffset – označenie časovej zóny ako posun voči GMT v minútach.
  • priority – priorita pravidelného zberu dát podľa tejto entity. Kladné číslo, pričom hodnota 1 predstavuje maximálnu prioritu.
  • ttlSeconds – Maximálny povolený čas, ako dlho môže úloha pravidelného zberu čakať na svoju obsluhu vo fronte úloh.

Napríklad entita s hodnotami atribútov beginTime = 7. III. 2017 12:00:15,000; stepType = second; stepCount = 900; timeZoneOffset = 60; vygeneruje udalostiwill generate events: 7. III. 2017 12:00:15,000; 7. III. 2017 12:15:15,000; 7. III. 2017 12:30:15,000; ...

...


DataPoint entity,

...

SD.SGC_

...

DataPoint structure definition

The entity addresses a specific value that can be read or written to the meter during data collection. It is the D2000 equivalent of an I/O tag object.
Note: The following terms are used in the following text:

  • The addressed COSEM object – its logical name (OBIS See

Entita adresuje konkrétnu hodnotu, ktorú možno pri zbere dát z merača prečítať, alebo do merača zapísať. Je ekvivalentom D2000 objektu typu Meraný bod.
Pozn.: V nasledujúcom texte sa používajú nasledovné pojmy:

  • Adresovaný COSEM objekt – jeho logické meno (OBIS Viď. DLMS/COSEM Blue Book (kap. chapter 7) kód) je zhodné s hodnotou atribútu obis.
  • Referencovaný objekt – je adresovaný entitou, na ktorú sa odkazuje atribút idArchivedDataPoint.

Atribúty:

  • code) is the same as the value of the obis attribute.
  • Referenced object – is addressed by the entity referenced by the idArchivedDataPoint attribute.

Attributes:

  • valueType - the type of value in the meter, a numeric type, defined by the status text valueType – typ hodnoty v merači, číselníkový typ, definovaný stavovým textom SGC_ValueType:
    •  registerScaledValue – hodnota objektu typu Register Viď registerScaledValue – the value of a Register object See DLMS/COSEM Blue Book (kap chapters 4.3.2, 4.3.3, 4.3.4), ExtendedRegister alebo DemandRegister. Obsahuje okamžitú, resp. aktuálnu hodnotu niektorej z meraných veličín (napr. okamžitá hodnota napätia v sieti, alebo aktuálna hodnota spotreby, atďor DemandRegister. Contains immediate or the current value of one of the measured quantities (e.g. the instantaneous value of the voltage in the network, or the current value of consumption, etc.).
    •  archivedRegisterValue – archivovaná hodnota objektu typu archivedRegisterValue – the archived value of a Register, ExtendedRegister alebo DemandRegister v objekte typu ProfileGeneric Viď, or DemandRegister object in a ProfileGeneric object See. DLMS/COSEM Blue Book (kap. chapter 4.3.6). Obsahuje časový rad historických hodnôtIt contains a time series of historical values.
    •  consumerDisconnectControlState – stav objektu typu DisconnectControl Viď. consumerDisconnectControlState – state of the DisconnectControl object. See DLMS/COSEM Blue Book (kap. chapter 4.5.8). Objekt riadi odpojenie a pripojenie odberateľa na diaľku (napríklad pri meškajúcich platbách za dodávku). Pri pravidelnom zbere dát je z objektu prečítaná hodnota okamžitého stavu (atribút control_state), pri „okamžitom" čítaní na požiadanie je z objektu prečítaný aj riadiaci mód (atribúr The object controls the disconnection and connection of the customer remotely (for example, in case of late payments for delivery). During regular data collection, the value of the immediate state (attribute control_state) is read from the object, during "immediate" reading on demand, the control mode is also read from the object (attribute control_mode).
    • dataIntegerValueceločíselná hodnota objektu. Používa sa na referencovanie príznakov riadku v profile.archivedIntegerValue – archivovaná hodnota objektu s celočíselnou hodnotou - typicky príznak riadku v integer value of the object. It is used to reference row flags in a profile.
    • archivedIntegerValue - The archived value of an integer-valued object - typically a row flag in the profile.
    • dataTextValuetextová hodnota objektuthe text value of the object.
    • currentTimeValuehodnota času v objekte typu Clock.
  • idPeriodicEvent – nepovinná referencia na časový harmonogram. Ak je použitá, vykonáva sa pravidelný zber tejto hodnoty z merača podľa definovaného harmonogramu. Ak použitá nie je, hodnotu možno prečítať iba na vyžiadanie cez „okamžitú" úlohu.
  • idArchivedDataPoint - nepovinná „spätná" referencia. Ak je použitá, označuje iný DataPoint, čím sa modeluje archivovanie odkazovanej okamžitej hodnoty v merači do adresovaného profilu.
  • dlmsAddress – adresa objektu zapísaná v tvare OBIS kódu. Používa sa pri prístupe k objektu cez protokol DLMS.
  • iec21RegisterAddress – adresa objektu typu register zapísaná v tvare redukovaného OBIS kódu. Používa sa pri prístupe k objektu cez protokol IEC21.
  • iec21ProfileReferenceAddress – adresa objektu typu register, ako je referencovaná v objekte typu Profile pri prístupe cez protokol IEC21.

Niekedy je potrebné vytvoriť viacero entít typu DataPoint, ktoré zdanlivo adresujú ten istý COSEM objekt. Typické sú tieto prípady:

  • Ak je potrebné čítať archivované hodnoty viacerých meraných veličín, pričom sú všetky archivované tým istým profilom. Pre každú archivovanú veličinu vznikne entita, ktorá adresuje profil, ale spätnou referenciou odkazuje na entitu, ktorá adresuje okamžitú hodnotu.
  • Ak je potrebné vykonávať pravidelný zber dát tej istej veličiny s rôznou periódou.

Entita DataPointSet, definícia štruktúry SD.SGC_DataPointSet

Predstavuje zoskupenie meraných veličín do určitého logického celku. V praxi ide o typizované odberné miesto, charakterizované definovaným zoznamom meraní na definovanom type merača.

Entita PE2DP2DPS, definícia štruktúry SD.SGC_PE2DP2DPS

Väzobná entita, ktorá predstavuje ternárnu asociáciu medzi entitami typu PeriodicEvent, DataPointDataPointSet. Prítomnosť tejto asociácie vyjadruje zaradenie DataPoint-u do DataPointSet-u, pričom odovzdávanie dát bude prebiehať s periódou definovanou PeriodicEvent-om. Prítomnosť PeriodcEvent-u vo vzťahu je nepovinná, ak nie je prítomný, odovzdávanie dát neprebieha.
POZOR: Nie je povolené, aby odovzdávanie dát nebolo naplánované, ak je naplánovaný zber – hrozilo by preplnenie databázy. Je možné naplánovať odovzdávanie dát aj v prípade, že zber nie je naplánovaný, ale vytvára to zbytočnú komunikačnú záťaž.

Entita LD2DPS, definícia štruktúry SD.SGC_LD2DPS

Väzobná trieda, ktorá priradzuje logickému zariadeniu skupiny meraných veličín. Priradené množiny nemusia byť nutne disjunktné, pri spracovaní plánovaných úloh sa vzniknuté duplicitné odkazy na DataPoint-y eliminujú.

Entita ConnectorTask, definícia SD.SGC_ConnectorTask

Predstavuje pravidelne sa opakujúcu úlohu súvisiacu s referencovanou entitou typu Connector. Jediná implementovaná úloha je zákaz komunikácie na linke v definovanom časovom intervale, ktorá sa používa na zabezpečenie časových okien v multi-master prostredí. Napríklad keď sa na zdieľanej sériovej linke nachádza okrem SGCom-u aj zariadenie typu Scalar a podľa dohody môže SGCom komunikovať každú štvrťhodinu od 5. do 10. minúty.

Atribúty:

    • time value in the Clock object.
  • idPeriodicEvent - an optional reference to the time schedule. If used, this value is collected regularly from the meter according to a defined schedule. If not used, the value can only be read on demand via an "immediate" task.
  • idArchivedDataPoint - optional "back" reference. If used, indicates another DataPoint, modeling the archiving of the referenced instantaneous value in the meter to the addressed profile.
  • dlmsAddress - object address written in the form of OBIS code. It is used when accessing an object via the DLMS protocol.
  • iec21RegisterAddress – register object address written in the form of a reduced OBIS code. It is used when accessing an object via the IEC21 protocol.
  • iec21ProfileReferenceAddress – the address of the register type object as referenced in the Profile type object when accessing via the IEC21 protocol.

Sometimes it is necessary to create multiple DataPoint entities that appear to address the same COSEM object. The following cases are typical:

  • If it is necessary to read the archived values of several measured variables, while they are all archived by the same profile. For each archived quantity, an entity is created that addresses the profile but refers back to the entity that addresses the immediate value.
  • If it is necessary to carry out regular data collection of the same quantity with a different period.


DataPointSet entity, SD.SGC_DataPointSet structure definition

It represents the grouping of measured quantities into a certain logical unit. In practice, it is a typified delivery point, characterized by a defined list of measurements on a defined type of meter.


PE2DP2DPS entity, SD.SGC_PE2DP2DPS structure definition

A binding entity that represents a ternary association between PeriodicEvent, DataPoint, and DataPointSet entities. The presence of this association expresses the inclusion of the DataPoint in the DataPointSet, while data transfer will take place with the period defined by PeriodicEvent. The presence of PeriodcEvent in the relationship is optional, if it is not present, data transfer does not take place.
ATTENTION: It is not allowed that the data transfer is not scheduled if the collection is scheduled - there would be a risk of overflowing the database. It is possible to schedule data transmission even when collection is not scheduled, but this creates an unnecessary communication burden.


LD2DPS entity, SD.SGC_LD2DPS structure definition

Binding class that assigns a group of measured variables to a logical device. The assigned sets do not necessarily have to be disjoint, duplicate links to DataPoints are eliminated during the processing of planned tasks.


ConnectorTask entity, SD.SGC_ConnectorTask structure definition

Represents a regularly recurring task related to the referenced Connector entity. The only implemented task is the prohibition of communication on the line in a defined time interval, which is used to secure time windows in a multi-master environment. For example, when there is a Scalar device in addition to SGCom on the shared serial line, and according to the agreement, SGCom can communicate every quarter of an hour from the 5th to the 10th minute.

Attributes:

  • type – the type of regular task:
    • noCommunication – prohibition of communication for the given Connector from the moment the task started for the time defined by the parameter value in seconds.
  • parameter – an integer parameter, for a more precise task specification
  • type – typ pravidelnej úlohy:
    • noCommunication – zákaz komunikácii pre daný Connector od momentu, kedy sa úloha spustila na dobu definovanú hodnotou parametra v sekundách.
  • parameter – celočíselný parameter, pre presnejšiu špecifikáciu úlohy.