Porovnávané verzie

Kľúč

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

LZQJ-XC is an electric meter from the German manufacturer EMH, which is sold in Slovakia by the Schrack company. The attribute XC in the name means that, compared to the classic LZQJ, it has a slot for a plug-in module from the EMH Variomod XC or Interface Module XC model series. Plug-in modules add additional communication interfaces to the electricity meter.

 Image Added Image Added
Figure 10 - View of LZQJ-XC with and without bottom cover je elektromer od nemeckého výrobcu EMH, ktorý na Slovensku predáva firma Schrack. Prívlastok XC v názve značí, že oproti klasickým LZQJ má šachtu pre zásuvný modul z modelovej rady EMH Variomod XC alebo Interface Module XC. Zásuvné moduly pridávajú do elektromera ďalšie komunikačné rozhrania.
Image Removed Image Removed
Obrázok 10 Pohľad na LZQJ-XC s dolným krytom a bez neho

Kotva
_Ref476285080
_Ref476285080
Obrázok Figure 11 Komunikačné rozhrania - LZQJ-XC
Na snímke Obrázok 11 sú označené hlavné prvky svorkovnice a komunikačné rozhrania. Sú popísané aj na štítku nalepenom na vnútornej strane dolného krytu.communication interfaces

In Figure 11, the main elements of the terminal block and communication interfaces are marked. They are also described on the label stuck on the inside of the lower cover.

    1. Terminal box for the electrical network. Only phase 1 and the ground are connected in the picture.
    2. Terminals
  1. Svorkovnica pre elektrickú sieť. Na snímke je zapojená iba 1. fáza a uzemnenie.
  2. Svorky
    1. 23, 24, 27 -
  3. rozhranie RS485 integrované priamo na elektromere.
  4. Konektor GPRS antény zásuvného modulu. (Pri testovaní sme namiesto originálnej antény používali kúsok medeného drôtu a bolo to postačujúce.)
  5. Svorkovnica rozhrania RS485 na zásuvnom module. Cez toto rozhranie je možné pripojiť RS485 zbernicu s ďalšími elektromermi – zásuvný modul vtedy slúži ako prekladač IP a sériovej komunikácie.
  6. Optické rozhranie – pre priloženie optickej hlavy.

Obslužný softvér EMH-COM

    1. RS485 interface integrated directly on the electricity meter.
    2. Plug-in module GPRS antenna connector. (In testing we used a piece of copper wire instead of the original antenna and it was sufficient.)
    3. RS485 interface terminal block on the plug-in module. Through this interface, it is possible to connect the RS485 bus with other electricity meters - the plug-in module then serves as an IP and serial communication translator.
    4. Optical interface - for attaching an optical head.


EMH-COM utility software

We had the EMH-COM utility software (license-restricted version of the K elektromeru sme mali k dispozícii obslužný softvér EMH-COM (licenčne obmedzená verzia nástroja EMH-COMBI-Master 2000 tool) , ktorý umožňuje z elektromera čítať hodnoty, nastaviť presný čas a zapísať do elektromera konfiguráciu pripravenú v textovom súbore (s príponou available for the electric meter, which allows you to read values from the electric meter, set the exact time, and write the configuration prepared in a text file (with the extension *.set) , ktorú musel niekto pred tým vytvoriť v nástroji to the electric meter, which someone had to create before in the COMBI-Master. Na komunikáciu používa protokol IEC62056-21 a dokáže sa k elektromeru pripojiť všetkými rozhraniami.
Konfigurácia pripojenia je prístupná cez tool. It uses the IEC62056-21 protocol for communication and can connect to the electricity meter through all interfaces.
The connection configuration can be accessed via the menu Settings | Program Settings... Na karte General je možné vybrať typ komunikáciecan be used to select the type of communication on the General tab:

  • COM port sériová komunikácia cez optickú hlavu alebo serial communication via optical head or RS485.
    •  Vybrať Select COM8 (alebo iný príslušný or other appropriate port) a nechať and leave the Bluetooth OKK prázdne, aj keď sa komunikuje cez USB optickú hlavublank, even if communicating via a USB optical head
    • Baud rate:
      • The optical head uses
       Baud rate:
      • Optická hlava používa Mode C
      • RS485 komunikuje rýchlosťou communicates at a speed of 4800 Bd.
  • TCP/IP komunikácia cez IP rozhranie zásuvného modulucommunication via the IP interface of the plug-in module
    • IP address – according to the IP address assigned to the device
    • Port
    •  IP adresa – podľa priradenej IP adrese zariadeniu
    •  Port number: 8000 – Variomod XC štandardne používa uses TCP port 8000 .

Pre väčšinu operácií je potrebné zadať aj heslo, ktoré je štandardne v elektromere nastavené na „00000000". Zadáva sa do políčka Login-password aj W5-password.
V prípade, že je elektromer pripojený k sériovej zbernici s viacerými elektromermi, je nutné zadať do políčka Meter – address sériové číslo elektromera. Inak je údaj nepovinný.

Obslužný softvér Variomod Manager

Zásuvné moduly Variomod XC sú zariadenia s vlastnou konfiguráciou a vlastným konfiguračným nástrojom. Konfigurovať ich možno, keď sú zapojené v elektromere. Pri prvotnej inicializácii je najlepšie použiť optickú hlavu, neskôr je možné sa pripojiť aj cez TCP/IP priamo cez zásuvný modul.
Pre nadviazanie konfiguračného spojenia sú potrebné nasledovné kroky:

  1. V hlavnom menu programu: File | New
  2. Z dialógu vybrať typ zásuvného modulu (na testovanie boli k dispozícii XC EthernetXC GSM/GPRS).
  3. Zadať identifikačné údaje zásuvného modulu podľa typového štítka na module

Image Removed
Obrázok 12 Zadanie typu Variomod XC

    • by default.

For most operations, it is also necessary to enter a password, which is set to "00000000" by default in the electricity meter. It is entered in both the Login-password and W5-password fields.
If the electricity meter is connected to a serial bus with several electricity meters, it is necessary to enter the serial number of the electricity meter in the field Meter - address. Otherwise, this data is optional.


Variomod Manager utility software

Variomod XC plug-ins are devices with their own configuration and their own configuration tool. They can be configured when plugged into the power meter. For initial initialization, it is best to use an optical head, later it is also possible to connect via TCP/IP directly via the plug-in module.
The following steps are required to establish a configuration connection:

  • In the main menu of the program: File | New
  • Choose the type of plug-in module from the dialog (XC Ethernet and XC GSM/GPRS were available for testing).
  • Enter the identification data of the plug-in module according to the nameplate on the module


Image Added
Figure 12 - Specifying the Variomod XC type

  1. Use the connection button (marked with the letter A in the picture) and choose the type of connection:
    1. Direct – for RS485 on the plug-in
    Použiť tlačidlo pripojenia (na obrázku označené písmenom A) a zvoliť si typ spojenia
    1. Direct – pre RS485 na zásuvnom module (Baud rate: 4800, Parameter: 7E1, Password: bez heslano password)
    2. Mode-Xpre optickú hlavu for an optical head (Baud rate: 300, Bluetooth OKK: prázdneempty, Meter address: sériové číslo elektromeraserial number of the electricity meter, Configuration password: prázdneempty)
      Kotva
      _GoBack
      _GoBack
    3. TCP/IP – komunikácia na diaľku - remote communication (Company: prázdneempty, TCP/IP address: port: IP adresa zariadeniaaddress of the device, port 8000, Configuration password: bez heslaempty)
  2. Potvrdiť OK, chvíľu počkať – nadviazanie spojenia trvá do 30 sekúnd
  3. Confirm OK, wait a while - establishing a connection takes up to 30 seconds.
  4. The dialog "Zobrazí sa dialóg „File has been changed. Save?" – môžete si uložiť nastavenie pripojeniaProgram stiahne základné informácie zo zásuvného modulu – následne je možné konfigurovaťappears – you can save the connection settings.
  5. The program downloads basic information from the plug-in module - it can then be configured.


Kotva
_Ref476296175
_Ref476296175

...

APN

...

setting for GPRS

...

communication

  1. V pripojenom In the connected Variomod Manager-i označte v strome konfigurácie položku GPRS.
  2. Stlačte Read.
  3. Zobrazí sa priebeh načítania hodnôt.
  4. Zadajte správnu APN (a prípadne ďalšie parametre podľa inštrukcií operátora).
  5. Zapíšte konfiguráciu do zásuvného modulu.

Image Removed
Obrázok 13 Nastavenie APN do Variomod XC GPRS
Analogickým postupom je možné nastaviť spôsob získania IP adresy vo Variomod XC Ethernet.

Aktivácia protokolu DLMS/COSEM

  1. , mark the GPRS item in the configuration tree.
  2. Press Read.
  3. The progress of reading the values will be displayed.
  4. Enter the correct APN (and possibly other parameters according to the operator's instructions).
  5. Write the configuration to the plugin.

Image Added
Figure 13 APN setting to Variomod XC GPRS

It is possible to set the method of obtaining an IP address in Variomod XC Ethernet using an analogous procedure.

DLMS/COSEM protocol activation

In the basic setting, the electricity meter communicates only with the IEC62056-21 protocol on all its interfaces (optical, RS485, plug-in module interface). For activation, it is necessary to send the following SET of parameters via the EMH-COM program to the electricity meter. The SET must be stored in a file with the *.set extension and is sent with the Elektromer v základnom nastavení komunikuje jedine protokolom IEC62056-21 na všetkých svojich rozhraniach (optické, RS485, rozhranie pre zásuvný modul). Pre aktiváciu je potrebné zaslať nasledujúci SET parametrov cez program EMH-COM do elektromera. SET musí byť uložený v súbore s príponou *.set a posiela sa príkazom File | Transfer... command
_pac000(0001000002000000)
_hcc002(0000)
_hcc012(FFFF)
_hpc020(00000000)
Zásuvné moduly Variomod XC v základnom nastavení komunikujú s elektromerom po internej zbernici s parametrami sériovej komunikácie 4800Bd 7E1. Je potrebné prepnúť parametre na 4800Bd 8N1 v programe Variomod Manager. Postup je obdobný ako v kapitole 2.3.3 – prvky na obrázku označené ako Parity musia zostať prázdne.

Parametre pre DLMS komunikáciu

In the default setting, Variomod XC plug-in modules communicate with the electricity meter via the internal bus with serial communication parameters 4800Bd 7E1. It is necessary to switch parameters to 4800Bd 8N1 in Variomod Manager. The procedure is similar to that in chapter 2.3.3 - the elements in the image marked as Parity must remain empty.

Parameters for DLMS communication

The electricity meter uses the HDLC protocol on the relational layer. The electricity meter requires the use of a physical device address. The addresses areElektromer používa na relačnej vrstve protokol HDLC. Elektromer požaduje použitie adresy fyzického zariadenia. Adresy sú:

  • HDLC physical device address – k spodným 4 cifrám sériového čísla sa pripočíta 256 - 256 is added to the bottom 4 digits of the serial number
  • HDLC logical device address – 1
  • HDLC client address – 16 (0x10) pre neautorizovaný prístup bez heslafor unauthorized access without a password, 32 (0x20) s heslomwith a password
  • Heslo Password = 00000000

Ďalšie postrehy


Other observations

From the testing experience, it can be concluded that the DLMS protocol was added to LZQJ-XC only later, and IEC62056-21 clearly prevails. This can be seen, for example, from the fact that if a problem occurs during the establishment of DLMS communication, the electricity meter switches to IEC21 mode and starts "Readout" - the output of values to all communication channels.
If the LZQJ-XC is currently performing a "Readout", it cannot be interrupted other than by disconnecting the power supply. If someone tries to communicate with it at that time, instead of a response, it will only receive a "piece" of the readout that just came from the electricity meter.
LZQJ-XC knows several "Readout" lists. The classic one, described in the IEC62056-21 standard, is called T1. In addition, it also knows T2, T3, and TS. Attention, T2 contains a very long list of Load profile values, it can take up to 10 minutes until he finishes this list.
The IEC62056-21 standard explicitly states that the slash character "/" is a formatting character that cannot be used in a data block as part of data. However, EMH also uses it in data to indicate "P/S" units.
The Variomod XC plug-in cannot handle two independent TCP connections at the same time. However, through one TCP connection, it is possible to have parallel open DLMS sessions with several electricity meters on a shared serial busZo skúseností z testovania možno konštatovať, že protokol DLMS bol do LZQJ-XC doplnený až dodatočne a jednoznačnú prevahu má IEC62056-21. Vidieť to napríklad z toho, že ak pri nadväzovaní DLMS komunikácie nastane nejaký problém, elektromer sa prepne do IEC21 módu a spustí „Readout" – výpis hodnôt do všetkých komunikačných kanálov.
Ak LZQJ-XC práve vykonáva „Readout" výpis, nie je vtedy možné ho prerušiť inak ako odpojením od napájania. Ak sa s ním v tom čase pokúša niekto komunikovať, namiesto odpovede prijme iba „kus" výpisu, ktorý práve prišiel z elektromera.
LZQJ-XC pozná viacero „Readout" výpisov. Klasický, popísaný v štandarde IEC62056-21, označuje ako T1. Okrem toho pozná aj T2, T3 a TS. Pozor, T2 obsahuje veľmi dlhý výpis hodnôt Load profilov, môže trvať aj 10 minút, kým tento výpis dokončí.
V štandarde IEC62056-21 je explicitne uvedené, že znak lomky „/" je formátovací znak, ktorý nemôže byť použitý v dátovom bloku ako súčasť dát. EMH ho však používa aj v dátach na označenie jednotiek „P/S".
Zásuvný modul Variomod XC nedokáže súčasne obsluhovať dve nezávislé TCP spojenia. Cez jedno TCP spojenie je však možné mať paralelne otvorené DLMS relácie s viacerými elektromermi na zdieľanej sériovej zbernici.