Lovato DMG Series User manual

Doc. I317IGB12_19.doc 18/12/2019 P. 1 / 41
SERIE DMG DMG SERIES
Multimetri - analizzatori digitali Digital multimeters-analyzers
PROTOCOLLO DI COMUNICAZIONE MODBUS® COMMUNICATION PROTOCOL
MODBUS®
I317 I GB 12_19 31100244

Doc. I317IGB12_19.doc 18/12/2019 P. 2 / 41
PROTOCOLLO MODBUS®
I multimetri digitali DMG110 e DMG210 supportano i
protocolli di comunicazione Modbus RTU® e Modbus
ASCII® sulla porta seriale RS-485.
Il multimetro digitale DMG300 supporta i protocolli di
comunicazione Modbus RTU®, Modbus ASCII® e
Modbus TCP® sui moduli di espansione:
EXM 10 11 RS 232
EXM 10 12 RS485
EXM 10 20 RS 485 + 2 relè
EXM 10 10 USB
EXM 10 13 Ethernet
I multimetri digitali DMG6…,DMG700, DMG800 e
DMG900 supportano i protocolli di comunicazione
Modbus RTU®, Modbus ASCII® e Modbus TCP®
sui moduli di espansione:
EXP 10 10 USB
EXP 10 11 RS232
EXP 10 12 RS485
EXP 10 13 Ethernet
Grazie a questa funzione e’ possibile leggere lo stato
degli apparecchi e controllare gli stessi tramite i
software Lovato Electric (Xpress e Synergy),
software di supervisione standard forniti da terze parti
(SCADA) oppure tramite apparecchiature dotate di
interfaccia Modbus® quali PLC e terminali intelligenti.
IMPOSTAZIONE DEI PARAMETRI
Per configurare il protocollo Modbus®, accedere al
SETUP MENU e selezionare il menu M07.
Fare riferimento al manuale del dispositivo per la
corretta impostazione dei parametri.
M07 – COMUNICAZIONE
(COMn, n=1…2)
Ud
M
Default Range
P07.n.01 Indirizzo
seriale nodo
01 01-255
P07.n.02 Velocità
seriale
bps 9600 1200
2400
4800
9600
19200
38400
57600
115200
P07.n.03 Formato dati 8 bit – n 8 bit, no parità
8 bit, dispari
8bit, pari
7 bit, dispari
7 bit, pari
P07.n.04 Bit di stop 1 1-2
P07.n.05 Protocollo Modbus RTU Modbus RTU
Modbus ASCII
Modbus TCP
P07.n.06 Indirizzo IP 0.0.0.0 000.000.000.000
255.255.255.255
P07.n.07 Subnet mask 0.0.0.0 000.000.000.000
255.255.255255
P07.n.08 TCP-IP port 1001 0-9999
P07.n.09 Funzione
canale
Slave Slave
Gateway
Mirror
P07.n.10 Client / server Server Client
Server
P07.n.11 Indirizzo IP
remoto
0.0.0.0 000.000.000.000
255.255.255.255
P07.n.12 Porta IP
remota
1001 0-9999
P07.n.13 Indirizzo
gateway IP
0.0.0.0 000.000.000.000
255.255.255.255
MODBUS® PROTOCOL
The digital multimeters DMG110 and DMG210
support the communication protocols Modbus
RTU® and Modbus ASCII® on the RS-485 serial
port.
The digital multimeter DMG300 supports the
communication protocols Modbus RTU®, Modbus
ASCII® and Modbus TCP® on the expansion
modules:
EXM 10 11 RS 232
EXM 10 12 RS485
EXM 10 20 RS 485 + 2 relè
EXM 10 10 USB
EXM 10 13 Ethernet
The digital multimeter DMG6…, DMG700, DMG800
and DMG900 support the communication protocols
Modbus RTU®, Modbus ASCII® and Modbus TCP®
on the expansion modules:
EXP 10 10 USB
EXP 10 11 RS232
EXP 10 12 RS485
EXP 10 13 Ethernet
Using this function it is possible to read the device
status and to control the units through Lovato
Electric softwares (Xpress and Synergy), third-party
supervision softwares (SCADA) or through other
intelligent devices supporting Modbus®, like PLCs.
PARAMETER SETTING
To configure the Modbus® protocol, enter SETUP
MENU and choose the M07 menu. Refer to device
operating manual for the parameter setup.
M07– COMMUNICATION
(COMn, n=1…2)
UoM Default Range
P07.n.01 Node serial
address
01 01-255
P07.n.02 Serial speed
bps 9600 1200
2400
4800
9600
19200
38400
57600
115200
P07.n.03 Data format 8 bit – n 8 bit, no parity
8 bit, odd
8bit, even
7 bit, odd
7 bit, even
P07.n.04 Stop bits 1 1-2
P07.n.05 Protocol Modbus RTU Modbus RTU
Modbus ASCII
Modbus TCP
P07.n.06 IP address 0.0.0.0 000.000.000.000
255.255.255.255
P07.n.07 Subnet mask 0.0.0.0 000.000.000.000
255.255.255.255
P07.n.08 TCP-IP port 1001 0-9999
P07.n.09 Channel
function
Slave Slave
Gateway
Mirror
P07.n.10 Client / server Server Client
Server
P07.n.11 Remote IP
address
0.0.0.0 000.000.000.000
255.255.255.255
P07.n.12 Remote IP
port
1001 0-9999
P07.n.13 IP gateway
address
0.0.0.0 000.000.000.000
255.255.255.255

Doc. I317IGB12_19.doc 18/12/2019 P. 3 / 41
PROTOCOLLO MODBUS® RTU
Quando si utilizza il protocollo Modbus® RTU, la
struttura del messaggio di comunicazione è così
costituita:
T1
T2
T3
Indirizzo
( 8 bit)
Funzione
(8 bit)
Dati
(N x 8 bit)
CRC
(16 bit)
T1
T2
T3
Il campo Indirizzo contiene l’indirizzo dello
strumento slave cui il messaggio viene inviato.
Il campo Funzione contiene il codice della funzione
che deve essere eseguita dallo slave.
Il campo Dati contiene i dati inviati allo slave o
quelli inviati dallo slave come risposta ad una
domanda.
Per la serie DMG, la lunghezza massima
consentita per il campo dati e’ di :
DMG110-210-300: 64 registri da 16 bit (128 bytes)
(dalla rev 5 del DMG300: 80 registri da 16 bit (160
bytes))
DMG 6…-700-800-900: 80 registri da 16 bit (160
bytes)
Il campo CRC consente sia al master che allo slave
di verificare se ci sono errori di trasmissione.
Questo consente, in caso di disturbo sulla linea di
trasmissione, di ignorare il messaggio inviato per
evitare problemi sia dal lato master che slave.
La sequenza T1 T2 T3 corrisponde al tempo
durante il quale non devono essere scambiati dati sul
bus di comunicazione, per consentire agli strumenti
collegati di riconoscere la fine di un messaggio e
l’inizio del successivo. Questo tempo deve essere
pari a 3.5 caratteri.
Il DMG misura il tempo trascorso tra la ricezione di
un carattere e il successivo e se questo tempo
supera quello necessario per trasmettere 3.5
caratteri, riferiti al baud rate impostato, il prossimo
carattere viene considerato l’inizio di un nuovo
messaggio.
FUNZIONI MODBUS®
Le funzioni disponibili sono:
03 = Read input
register
Consente la lettura delle
misure disponibili nel DMG
04 = Read input
register
Consente la lettura delle
misure disponibili nel DMG.
06 = Preset single
register
Permette la scrittura dei
parametri
07 = Read exception Permette di leggere lo stato
dell’ apparecchio
10 = Preset multiple
register
Permette la scrittura di più
parametri
17 = Report slave ID
Permette di leggere
informazioni relative all’
apparecchio
Per esempio, se si vuole leggere dal DMG con
indirizzo 01 il valore della potenza attiva L2 che si
trova alla locazione 22 (16 Hex), il messaggio da
spedire è il seguente:
01 04 00 15 00 02 60 0F
Dove:
01= indirizzo slave
04 = funzione di lettura locazione
00 15 = indirizzo della locazione diminuito di
un’unità, contenete il valore della potenza attiva L2
00 02 = numero di registri da leggere a partire
dall’indirizzo 22
60 0F = checksum CRC
MODBUS® RTU PROTOCOL
If one selects the Modbus® RTU protocol, the
communication message has the following
structure:
T1
T2
T3
Address
( 8 bit)
Function
(8 bit)
Data
(N x 8 bit)
CRC
(16 bit)
T1
T2
T3
The Address field holds the serial address of the
slave destination device.
The Function field holds the code of the function
that must be executed by the slave.
The Data field contains data sent to the slave or
data received from the slave in response to a query.
For the DMG series, the maximum length for the
data field is:
DMG110-210-300: 64 16-bit registers (128 bytes)
(from rev 5 del DMG300: 80 16-bit registers (160
bytes)):
DMG 6…-700-800-900: 80 16-bit registers (160
bytes)
The CRC field allows the master and slave
devices to check the message integrity. If a
message has been corrupted by electrical noise or
interference, the CRC field allows the devices to
recognize the error and thereby to ignore the
message.
The T1 T2 T3 sequence corresponds to a time in
which data must not be exchanged on the
communication bus to allow the connected devices
to recognize the end of one message and the
beginning of another. This time must be at least 3.5
times the time required to send one character.
The DMG measures the time that elapses from the
reception of one character and the following. If this
time exceeds the time necessary to send 3.5
characters at the selected baudrate, then the next
character will be considered as the first of a new
message.
MODBUS® FUNCTIONS
The available functions are:
03 = Read input
register
A
llows to read the DMG
measures.
04 = Read input
register
Allows to read the DMG
measures.
06 = Preset single
register Allows writing parameters
07 = Read exception
A
llows to read the device
status
10 = Preset multiple
register
A
llows writing several
parameters
17 = Report slave ID
A
llows to read information
about the device.
For instance, to read the value of active power of
line L2 , which resides at location 22 (16 Hex) from
the DMG with serial address 01, the message to
send is the following:
01 04 00 15 00 02 60 0F
Whereas:
01= slave address
04 = Modbus® function ‘Read input register’
00 15 = Address of the required register (active
power L2) decreased by one
00 02 = Number of registers to be read beginning
from address 22
60 0F = CRC Checksum

Doc. I317IGB12_19.doc 18/12/2019 P. 4 / 41
La risposta del DMG è la seguente:
01 04 04 00 01 FB 00 E9 74
Dove:
01= indirizzo del DMG (Slave 01)
04 = funzione richiesta dal Master
04 = numero di byte inviati dal DMG
00 01 FB 00 = valore esadecimale potenza attiva L2
= 129792 = 1.29792 KW
E9 74 = checksum CRC
FUNZIONE 04: READ INPUT REGISTER
La funzione 04 permette di leggere una o più
grandezze consecutive in memoria. L’indirizzo di
ciascuna grandezza e’ indicato nelle Tabelle 2-4
riportate nelle ultime pagine del presente manuale.
Come da standard Modbus®, l’indirizzo specificato
nel messaggio va diminuito di 1 rispetto a quello
effettivo riportato nella tabella.
Se l’indirizzo richiesto non è compreso nella tabella o
il numero di registri richiesti è maggiore del numero
consentito il DMG ritorna un messaggio di errore (
vedi tabella errori).
Richiesta Master:
Indirizzo slave 08h
Funzione 04h
MSB Indirizzo registro 00h
LSB Indirizzo registro 0Fh
MSB Numero registri 00h
LSB Numero registri 08h
LSB CRC C1h
MSB CRC 56h
Nell’esempio vengono richiesti ,allo slave numero 8,
8 registri consecutivi a partire dall’indirizzo 10h.
Quindi vengono letti i registri dall’ 10h al 17h.
Il comando termina sempre con il valore di checksum
CRC.
Risposta Slave:
Indirizzo slave 08h
Funzione 04h
Numero di byte 10h
MSB Dato 10h 00h
LSB Dato 10h 00h
--------------------------------------------------- ----
MSB Dato 17h 00h
LSB Dato 17h 00h
LSB CRC 5Eh
MSB CRC 83h
La risposta è composta sempre dall’indirizzo dello
slave, dalla funzione richiesta dal Master e dai dati
dei registri richiesti. La risposta termina sempre con il
valore di checksum CRC.
The DMG answer is the following:
01 04 04 00 01 FB 00 E9 74
Where:
01 = DMG address (Slave 01)
04 = Function requested by the master
04 = Number of bytes sent by the DMG
00 01 FB 00 = Hex value of the active power
L2=129792 = 1.29792 KW
E9 74 = CRC checksum
FUNCTION 04: READ INPUT REGISTER
The Modbus® function 04 allows to read one or
more consecutive registers from the slave memory.
The address of each measure is given in the tables
2-4 on the final pages of this manual.
As for Modbus® standard, the address in the query
message must be decreased by one from the
effective address reported in the table.
If the measure address is not included in the table
or the number of requested registers exceeds the
acceptable max number, the DMG will return an
error code (see error table).
Master query:
Slave address 08h
Function 04h
MSB address 00h
LSB address 0Fh
MSB register number 00h
LSB register number 08h
LSB CRC C1h
MSB CRC 56h
In the above example, slave 08 is requested for 8
consecutive registers beginning with address 10h.
Thus, registers from 10h to 17h will be returned. As
usual, the message ends with the CRC checksum.
Slave response:
Slave address 08h
Function 04h
Byte number 10h
MSB register 10h 00h
LSB register 10h 00h
--------------------------------------------------- ----
MSB register 17h 00h
LSB register 17h 00h
LSB CRC 5Eh
MSB CRC 83h
The response is always composed of the slave
address, the function code requested by the master
and the contents of the requested registers. The
answer ends with the CRC.

Doc. I317IGB12_19.doc 18/12/2019 P. 5 / 41
FUNZIONE 06: PRESET SINGLE REGISTER
Questa funzione permette di scrivere nei registri.
Essa puo’ essere utilizzata solo con i registri di
indirizzo superiore a 1000 Hex. E’ possibile ad
esempio impostare i parametri del setup. Qualora il
valore impostato non rientri nel valore minimo e
massimo della tabella il DMG risponderà con un
messaggio di errore. Se viene richiesto un parametro
ad un indirizzo inesistente verrà risposto con un
messaggio di errore. L’indirizzo ed il range valido per
i vari parametri può essere trovato nelle Tabelle 5, 6
e 7.
Richiesta Master:
Indirizzo slave 08h
Funzione 06h
MSB Indirizzo registro 2Fh
LSB Indirizzo registro 0Fh
MSB Dato 00h
LSB Dato 0Ah
LSB CRC 31h
MSB CRC 83h
Risposta Slave:
La risposta è un eco della domanda, cioè viene
inviato al master l’indirizzo del dato da modificare e il
nuovo valore del parametro.
FUNZIONE 07: READ EXCEPTION STATUS
Tale funzione permette di leggere lo stato in cui si
trova il commutatore di linea.
Richiesta Master:
Indirizzo slave 08h
Funzione 07h
LSB CRC 47h
MSB CRC B2h
La tabella seguente riporta il significato del byte
inviato dal DMG come risposta:
BIT SIGNIFICATO
0 Verifica checksum memoria programma
1
2
3
4
5
6
7
FUNZIONE 17: REPORT SLAVE ID
Questa funzione permette di identificare il tipo di
multimetro.
Richiesta Master.
Indirizzo slave 08h
Funzione 11h
LSB CRC C6h
MSB CRC 7Ch
FUNCTION 06: PRESET SINGLE REGISTER
This function allows to write in the registers.
It can be used only with registers with address
higher than 1000 Hex. For instance, it is possible to
change setup parameters. If the value is not in the
correct range, the DMG will answer with an error
message. In the same way, if the parameter
address is not recognised, the DMG will send an
error response.
The address and the valid range for each parameter
are indicated in Tables 5, 6 and 7.
Master message:
Indirizzo slave 08h
Funzione 06h
MSB Indirizzo registro 2Fh
LSB Indirizzo registro 0Fh
MSB Dato 00h
LSB Dato 0Ah
LSB CRC 31h
MSB CRC 83h
Slave response:
The slave response is an echo to the query, that is
the slave sends back to the master the address and
the new value of the variable.
FUNCTION 07: READ EXCEPTION STATUS
This function allows to read the status of the
automatic transfer switch.
Master query:
Slave address 08h
Function 07h
LSB CRC 47h
MSB CRC B2h
The following table gives the meaning of the status
byte sent by the DMG as answer:
BIT MEANING
0 Checksum verify to program memory
1
2
3
4
5
6
7
FUNZIONE 17: REPORT SLAVE ID
This function allows to identify the multimeter type.
Master query.
Slave address 08h
Function 11h
LSB CRC C6h
MSB CRC 7Ch

Doc. I317IGB12_19.doc 18/12/2019 P. 6 / 41
Risposta Slave:
Indirizzo slave 08h
Funzione 11h
Contatore bytes 04 h
Dato 1 (Tipo) 82h
Dato 2 (Revisione software) 04h
Dato 3 (Revisione hardware) 00h
Dato 4 (Revisione parametri) 01h
LSB CRC …h
MSB CRC …h
79h = DMG210, 82h = DMG300, AAh = DMG700,
B4h = DMG800, BEh = DMG900, 40h = DMG600,
41h = DMG610, 42h = DMG611…, 47h = DMG615,
51h = DMG110.
ERRORI
Nel caso lo slave riceva un messaggio errato,
segnala la condizione al master rispondendo con un
messaggio composto dalla funzione richiesta in OR
con 80 Hex, seguita da un codice di errore.
Nella seguente tabella vengono riportati i codici di
errore inviati dallo slave al master:
TABELLA 1: CODICI ERRORE
COD ERRORE
01 Funzione non valida
02 Indirizzo registro illegale
03 Valore del parametro fuori range
04 Impossibile effettuare operazione
06 Slave occupato, funzione
momentaneamente non disponibile
FUNZIONE 16: PRESET MULTIPLE REGISTER
Questa funzione permette di modificare più parametri
consecutivamente o parametri composti da più di 2
byte. L’indirizzo ed il range valido per i vari parametri
possono essere trovati nella Tabella 8.
Richiesta Master:
Indirizzo slave 08h
Funzione 10h
MSB Indirizzo registro 20h
LSB Indirizzo registro 01h
MSB Numero registri 00h
LSB Numero registri 02h
MSB Dato 00h
LSB Dato 00h
MSB Dato 00h
LSB Dato 00h
LSB CRC 85h
MSB CRC 3Eh
Risposta Slave:
Indirizzo slave 08h
Funzione 10h
MSB Indirizzo registro 20h
LSB Indirizzo registro 01h
MSB Numero byte 00h
LSB Numero byte 02h
LSB CRC 1Bh
MSB CRC 51h
Slave response:
Slave address 08h
Function 11h
Byte count 04 h
Data 01 –Type82h
Data 02 – (Sw revision) 04h
Data 03 – (Hardware revision) 00h
Data 04 – (Parameter revision) 01h
LSB CRC …h
MSB CRC …h
79h = DMG210, 82h = DMG300, AAh =
DMG700, B4h = DMG800, BEh = DMG900, 40h =
DMG600, 41h = DMG610, 42h = DMG611…, 47h =
DMG615, 51h = DMG110.
ERRORS
In case the slave receives an incorrect message, it
answers with a massage composed by the queried
function ORed with 80 Hex, followed by an error
code byte.
In the following table are reported the error codes
sent by the slave to the master:
TABLE 1: ERROR CODES
CODE ERROR
01 Invalid function
02 Invalid address
03 Parameter out of range
04 Function execution impossible
06 Slave busy, function momentarily not
available
FUNZIONE 16: PRESET MULTIPLE REGISTER
This function allows to modify multiple parameters
with a single message, or to preset a value longer
than one register. The address and the valid range
for each parameter are stated in Table 8.
Master message:
Slave address 08h
Function 10h
MSB register address 20h
LSB register address 01h
MSB register number 00h
LSB register number 02h
MSB data 00h
LSB data 00h
MSB data 00h
LSB data 00h
LSB CRC 85h
MSB CRC 3Eh
Slave response:
Slave address 08h
Function 10h
MSB register address 20h
LSB register address 01h
MSB byte number 00h
LSB byte number 02h
LSB CRC 1Bh
MSB CRC 51h

Doc. I317IGB12_19.doc 18/12/2019 P. 7 / 41
PROTOCOLLO MODBUS® ASCII
Il protocollo Modbus® ASCII viene utilizzato
normalmente nelle applicazioni che richiedono di
comunicare via modem.
Le funzioni e gli indirizzi disponibili sono gli stessi
della versione RTU, ma i caratteri trasmessi sono in
ASCII e la terminazione del messaggio non e’
effettuata a tempo ma con dei caratteri di ritorno a
capo.
Se si seleziona il parametro P7.x.05 o P7.05 o come
protocollo Modbus® ASCII, la struttura del
messaggio di comunicazione sulla relativa porta di
comunicazione è così costituita:
:
Indirizzo
2 chars
Funzione
2 chars
Dati
(N chars)
LRC
2 chars
CR
LF
Il campo Indirizzo contiene l’indirizzo dello
strumento slave cui il messaggio viene inviato.
Il campo Funzione contiene il codice della funzione
che deve essere eseguita dallo slave.
Il campo Dati contiene i dati inviati allo slave o
quelli inviati dallo slave come risposta ad una
domanda. La massima lunghezza consentita e’ di
(ved. Pag. 3) registri consecutivi.
Il campo LRC consente sia al master che allo
slave di verificare se ci sono errori di trasmissione.
Questo consente, in caso di disturbo sulla linea di
trasmissione, di ignorare il messaggio inviato per
evitare problemi sia dal lato master che slave.
Il messaggio termina sempre con i caratteri di
controllo CRLF (0D 0A).
Esempio:
Per esempio, se si vuole leggere dal DMG con
indirizzo 8 il valore della corrente di fase L3
equivalente che si trova alla locazione 12 (0C Hex),
il messaggio da spedire è il seguente:
: 08 04 00 0B 00 02 E7 CRLF
Dove:
: = ASCII 3Ah = Delimitatore inizio messaggio
08 = indirizzo slave.
04 = funzione di lettura locazione.
00 0B = indirizzo della locazione diminuito di un’unità,
contenente il valore della corrente di fase L3
00 02 = numero di registri da leggere a partire
dall’indirizzo 04.
E7 = checksum LRC.
CRLF = ASCII 0Dh 0Ah = delimitatore fine
messaggio
La risposta del DMG è la seguente:
: 08 04 04 00 00 A8 AE 9B CR
LF
Dove:
: = ASCII 3Ah = Delimitatore inizio messaggio
08 = indirizzo del DMG (Slave 08).
04 = funzione richiesta dal Master.
04 = numero di byte inviati dallo slave.
00 00 A8 AE = valore esadecimale della corrente di
fase L3 = 4.3182 A.
9B = checksum LRC.
CRLF = ASCII 0Dh 0Ah = delimitatore fine
messaggio
MODBUS® ASCII PROTOCOL
The Modbus® ASCII protocol is normally used in
application that require to communicate through a
couple of modems.
The functions and addresses available are the same
as for the RTU version, but the transmitted
characters are in ASCII and the message end is
delimited by Carriage return/ Line Feed instead of a
transmission pause.
If one selects the parameter P7.x.05 or P7.05 as
Modbus® ASCII protocol, the communication
message on the correspondent communication port
has the following structure:
:
Address
(2 chars)
Function
(2 chars)
Dates
(N chars)
LRC
(2
chars)
CR
LF
The Address field holds the serial address of the
slave destination device.
The Function field holds the code of the function
that must be executed by the slave.
The Data field contains data sent to the slave or
data received from the slave in response to a query.
The maximum allowable length is of (read pag. 3)
consecutive registers.
The LRC field allows the master and slave
devices to check the message integrity. If a
message has been corrupted by electrical noise or
interference, the LRC field allows the devices to
recognize the error and thereby ignore the
message.
The message terminates always with CRLF
control character (0D 0A).
Example:
For instance, to read the value of the current phase
L3, which resides at location 12 (0C Hex) from the
slave with serial address 08, the message to send is
the following:
: 08 04 00 0B 00 02 E7 CRLF
Whereas:
: = ASCII 3Ah message start delimiter
08 = slave address
04 = Modbus® function ‘Read input register’
00 0B = Address of the required register (L3 current
phase ) decreased by one
00 02 = Number of registers to be read beginning
from address 04
E7= LRC Checksum
CRLF = ASCII 0Dh 0Ah = Message end delimiter
The DMG answer is the following:
: 08 04 04 00 00 A8 AE 9B CR
LF
Whereas:
: = ASCII 3Ah message start delimiter
08 = DMG address (Slave 08)
04 = Function requested by the master
04 = Number of bytes sent by the multimeter
00 00 A8 AE = Hex value of the current phase of L3
(= 4.3182 A.)
9B = LRC checksum
CRLF = ASCII 0Dh 0Ah = Message end delimiter

Doc. I317IGB12_19.doc 18/12/2019 P. 8 / 41
Algoritmo di calcolo del CRC
CRC calculation algorithm
CALCOLO DEL CRC (CHECKSUM per RTU)
Esempio di calcolo:
Frame = 0207h
Inizializzazione CRC 1111 1111 1111 1111
Carica primo byte 0000 0010
Esegue xor con il primo 1111 1111 1111 1101
Byte della frame
Esegue primo shift a dx 0111 1111 1111 1110 1
Carry=1,carica polinomio 1010 0000 0000 0001
Esegue xor con il 1101 1111 1111 1111
polinomio
Esegue secondo shift dx 0110 1111 1111 1111 1
Carry=1,carica polinomio 1010 0000 0000 0001
Esegue xor con il 1100 1111 1111 1110
polinomio
Esegue terzo shift 0110 0111 1111 1111 0
Esegue quarto shift 0011 0011 1111 1111 1
Carry=1, carica polinomio 1010 0000 0000 0001
Esegue xor con il 1001 0011 1111 1110
Polinomio
Esegue quinto shift dx 0100 1001 1111 1111 0
Esegue sesto shift dx 0010 0100 1111 1111 1
Carry=1, carica polinomio 1010 0000 0000 0001
Esegue xor con polinomio 1000 0100 1111 1110
Esegue settimo shift dx 0100 0010 0111 1111 0
Esegue ottavo shift dx 0010 0001 0011 1111 1
Carry=1, carica polinomio 1010 0000 0000 0001
Carica secondo byte 0000 0111
della frame
Esegue xor con il 1000 0001 0011 1001
Secondo byte della frame
Esegue primo shift dx 0100 0000 1001 1100 1
Carry=1, carica polinomio 1010 0000 0000 0001
Esegue xor con il 1110 0000 1001 1101
polinomio
Esegue secondo shift dx 0111 0000 0100 1110 1
Carry=1, carica polinomio 1010 0000 0000 0001
Esegue xor con il 1101 0000 0100 1111
polinomio
Esegue terzo shift dx 0110 1000 0010 0111 1
Carry=1, carica polinomio 1010 0000 0000 0001
Esegue xor con il 1100 1000 0010 0110
polinomio
Esegue quarto shift dx 0110 0100 0001 0011 0
Esegue quinto shift dx 0010 0100 0000 1001 1
Carry=1, carica polinomio 1010 0000 0000 0001
Esegue xor con il 1001 0010 0000 1000
polinomio
Esegue sesto shift dx 0100 1001 0000 0100 0
Esegue settimo shift dx 0010 0100 1000 0010 0
Esegue ottavo shift dx 0001 0010 0100 0001 0
Risultato CRC 0001 0010
0100 0001
12h 41h
Nota: Il byte 41h viene spedito per primo (anche se
e’ il LSB), poi viene trasmesso 12h.
CALCOLO LRC (CHECKSUM per ASCII)
Esempio di calcolo:
Indirizzo 01 00000001
Funzione 04 00000100
Start address hi. 00 00000000
Start address lo. 00 00000000
Numero registri 08 00001000
Somma 00001101
Complemento a 1 11110010
+ 1 00000001
Complemento a 2 11110101
Risultato LRC F5
CRC CALCULATION (CHECKSUM for RTU)
Example of CRC calculation:
Frame = 0207h
CRC initialization 1111 1111 1111 1111
Load the first byte 0000 0010
Execute xor with the first 1111 1111 1111 1101
Byte of the frame
Execute 1st right shift 0111 1111 1111 1110 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1101 1111 1111 1111
polynomial
Execute 2nd right shift 0110 1111 1111 1111 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1100 1111 1111 1110
polynomial
Execute 3rd right shift 0110 0111 1111 1111 0
Execute 4th right shift 0011 0011 1111 1111 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1001 0011 1111 1110
polynomial
Execute 5th right shift 0100 1001 1111 1111 0
Execute 6th right shift 0010 0100 1111 1111 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1000 0100 1111 1110
polynomial
Execute 7th right shift 0100 0010 0111 1111 0
Execute 8th right shift 0010 0001 0011 1111 1
Carry=1,load polynomial 1010 0000 0000 0001
Load the second byte 0000 0111
of the frame
Execute xor with the 1000 0001 0011 1001
Second byte of the frame
Execute 1st right shift 0100 0000 1001 1100 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1110 0000 1001 1101
polynomial
Execute 2nd right shift 0111 0000 0100 1110 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1101 0000 0100 1111
polynomial
Execute 3rd right shift 0110 1000 0010 0111 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1100 1000 0010 0110
polynomial
Execute 4th right shift 0110 0100 0001 0011 0
Execute 5th right shift 0010 0100 0000 1001 1
Carry=1,load polynomial 1010 0000 0000 0001
Execute xor with the 1001 0010 0000 1000
polynomial
Execute 6th right shift 0100 1001 0000 0100 0
Execute 7th right shift 0010 0100 1000 0010 0
Execute 8th right shift 0001 0010 0100 0001 0
CRC Result 0001 0010
0100 0001
12h 41h
Note: The byte 41h is sent first(even if it is the
LSB), then12h is sent.
LRC CALCULATION (CHECKSUM for ASCII)
Example of LRC calculation:
Address 01 00000001
Function 04 00000100
Start address hi. 00 00000000
Start address lo. 00 00000000
Number of registers 08 00001000
Sum 00001101
1. complement 11110010
+ 1 00000001
2. complement 11110101
LRC result F5
CRC xor BYTE = CRC
n = 0
CRC right shift
carry over
CRC xor POLY = CRC
n = n + 1
next BYTE
end message
End
n > 7
Hex FFFF = CRC
no
no
yes
yes

Doc. I317IGB12_19.doc 18/12/2019 P. 9 / 41
TABELLA 2: TABLE 2:
MISURE FORNITE DAL PROTOCOLLO DI COM. MEASURES SUPPLIED BY SERIAL COMMUNICATION PROTOCOL
(Utilizzabili con funzioni 03 e 04) (To be used with functions 03 and 04)
Le misure di potenza sono normalmente restituite con la risoluzione di 1/100 W. Nel caso in cui la potenza massima teorica per ogni singola fase (data dalla combinazione di TA e
TV) superi i 5 MW, allora le misure di potenza sono restutite con la risoluzione di 1/10W. E’ possibile interrogare lo strumento all’indirizzo 2F70H per capire se il DMG sta lavorando con
una o l’altra delle due scale. Se restituisce 0000h, allora sta funzionando con scala normale 1/100W, altrimenti sta lavorando con 1/10W. La scala non cambia mai durante il
funzionamento a meno di modificare l’impostazione di TA o TV. Lo stesso criterio si applica contemporaneamente a tutte le potenze (W, var, VA). Funzione disponibile a partire dalle
revisioni SW: 08 (DMG700) – 09 (DMG800) – 06 (DMG900).
The power measuremet are normally specified with the resolution of 1/100W. In case the maximum theorical power per phase (given by combination of CT and VT ratios) is more
than 5MW, then the resolution of all power measurements will be 1/10W. It is possible to make query to address 2F70H to see if the device if it is working with lower or higher resolution.
If it returns 0000h then it is working with standard 1/100W resolution, otherwise it is working with 1/10W. The scale never changes during operation of the instrument, unless CT or VT
settings are changed. The scale change is applied simultaneously on all power measurements (W, var, VA). This function is available starting from SW revision 08 (DMG700) – 09
(DMG800) – 06 (DMG900).
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
MISURA ISTANTANEA (IN)
ISTANTANEOUS MEASURE (IN)
0002H 2 Tensione di fase L1 L1 Phase Voltage V/100 Unsigned long ●●●●●●
0004H 2 Tensione di fase L2 L2 Phase Voltage V/100 Unsigned long ●●●●●●
0006H 2 Tensione di fase L3 L3 Phase Voltage V/100 Unsigned long ●●●●●●
006AH 2 Tensione Neutro-Terra Neutral-Earth Voltage V/100 Unsigned long ●
0008H 2 Corrente di fase L1 L1 Current
A
/10000 Unsigned long ●●●●●●
000AH 2 Corrente di fase L2 L2 Current
A
/10000 Unsigned long ●●●●●●
000CH 2 Corrente di fase L3 L3 Current
A
/10000 Unsigned long ●●●●●●
006CH 2 Corrente di Neutro Neutral Current
A
/10000 Unsigned long ●
000EH 2 Tensione L1-L2 L1-L2 Voltage V/100 Unsigned long ●●●●●●
0010H 2 Tensione L2-L3 L2-L3 Voltage V/100 Unsigned long ●●●●●●
0012H 2 Tensione L3-L1 L3-L1 Voltage V/100 Unsigned long ●●●●●●
0014H 2 Potenza
A
ttiva L1 L1 Active Power W/100 Signed long ●●●●●●
0016H 2 Potenza Attiva L2 L2 Active Power W/100 Signed long ●●●●●●
0018H 2 Potenza Attiva L3 L3 Active Power W/100 Signed long ●●●●●●
001AH 2 Potenza Reattiva L1 L1 Reactive Power Var/100 Signed long ●●●●●●
001CH 2 Potenza Reattiva L2 L2 Reactive Power Var/100 Signed long ●●●●●●
001EH 2 Potenza Reattiva L3 L3 Reactive Power Var/100 Signed long ●●●●●●
0020H 2 Potenza Apparente L1 L1 Apparent Power VA/100 Unsigned long ●●●●●●
0022H 2 Potenza Apparente L2 L2 Apparent Power VA/100 Unsigned long ●●●●●●
0024H 2 Potenza Apparente L3 L3 Apparent Power VA/100 Unsigned long ●●●●●●
0026H 2 Fattore Di Potenza L1 L1 Power Factor /10000 Signed long ●●●●●●
0028H 2 Fattore Di Potenza L2 L2 Power Factor /10000 Signed long ●●●●●●
002AH 2 Fattore Di Potenza L3 L3 Power Factor /10000 Signed long ●●●●●●
002CH 2 CosPhi L1 L1 CosPhi /10000 Signed long ●
002EH 2 CosPhi L2 L2 CosPhi /10000 Signed long ●
0030H 2 CosPhi L3 L3 CosPhi /10000 Signed long ●
0032H 2 Frequenza Frequency
Hz/1000
Unsigned long ●●●●●●
Hz/100
DMG210
0034H 2 Tensione di fase equivalente Eqv. Phase Voltage V/100 Unsigned long ●●●●●●
0036H 2 Tensione concatenata equivalente Eqv. Phase-To-Phase Voltage V/100 Unsigned long ●●●●●●
0038H 2 Corrente equivalente Eqv. Current
A
/10000 Unsigned long ●●●●●●
003AH 2 Potenza Attiva equivalente Eqv. Active Power W/100 Signed long ●●●●●●
003CH 2 Potenza Reattiva equivalente Eqv. Reactive Power Var/100 Signed long ●●●●●●
003EH 2 Potenza Apparente equivalente Eqv. Apparent Power VA/100 Unsigned long ●●●●●●
0040H 2 Fattore Di Potenza equivalente Eqv Power Factor /10000 Signed long ●●●●●●
0042H 2
A
simmetria Tensione Fase-Fase Phase-Phase Voltage Asymmetriy %/100 Unsigned long ●●●●●●
0044H 2
A
simmetria Tensione Fase-Neutro Phase-Neural Voltage Asymmetriy %/100 Unsigned long ●●●●●●
0046H 2
A
simmetria Corrente Current Asymmetry %/100 Unsigned long ●●●●●●
0048H 2 Corrente di Neutro Neutral Current
A
/10000 Unsigned long ●●●●●●

Doc. I317IGB12_19.doc 18/12/2019 P. 10 / 41
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
0054H 2 Thd Tensione L1 L1 Voltage Thd %/100 Unsigned long ●●●●●●
0056H 2 Thd Tensione L2 L2 Voltage Thd %/100 Unsigned long ●●●●●●
0058H 2 Thd Tensione L3 L3 Voltage Thd %/100 Unsigned long ●●●●●●
0066H 2 Thd Tensione N-Terra N-Earth Voltage Thd %/100 Unsigned long ●
005AH 2 Thd Corrente L1 L1 Current Thd %/100 Unsigned long ●●●●●●
005CH 2 Thd Corrente L2 L2 Current Thd %/100 Unsigned long ●●●●●●
005EH 2 Thd Corrente L3 L3 Current Thd %/100 Unsigned long ●●●●●●
0068H 2 Thd Corrente N N Current Thd %/100 Unsigned long ●
0060H 2 Thd Tensione L1-2 L1-2 Voltage Thd %/100 Unsigned long ●●●●●●
0062H 2 Thd Tensione L2-3 L2-3 Voltage Thd %/100 Unsigned long ●●●●●●
0064H 2 Thd Tensione L3-1 L3-1 Voltage Thd %/100 Unsigned long ●●●●●●
0070H 2 KW L1-2 KW L1-2 W/100 Unsigned long DMG
110 ●
0072H 2 KW L2-3 KW L2-3 W/100 Unsigned long DMG
110 ●
0074H 2 KW L3-1 KW L3-1 W/100 Unsigned long DMG
110 ●

Doc. I317IGB12_19.doc 18/12/2019 P. 11 / 41
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
MISURA MASSIMA (HI) MAXIMUM MEASURE (HI)
0400H 2 Tensione di fase L1 L1 Phase Voltage V/100 Unsigned long ●●●●●●
0402H 2 Tensione di fase L2 L2 Phase Voltage V/100 Unsigned long ●●●●●●
……..
0462H 2 Thd Tensione L3-1 Thd L3-1 Voltage %/100 Unsigned long ●●●●●●
MISURA MINIMA (LO) MINIMUM MEASURE (LO)
0600H 2 Tensione di fase L1 L1 Phase Voltage V/100 Unsigned long ●●●●●●
0602H 2 Tensione di fase L2 L2 Phase Voltage V/100 Unsigned long ●●●●●●
……..
0662H 2 Thd Tensione L3-1 Thd L3-1 Voltage %/100 Unsigned long ●●●● ● ●
MISURA MEDIA (AV) AVARAGE MEASURE (AV)
0800H 2 Tensione di fase L1 L1 Phase Voltage V/100 Unsigned long ●●●●●●
0802H 2 Tensione di fase L2 L2 Phase Voltage V/100 Unsigned long ●●●●●●
……..
0862H 2 Thd Tensione L3-1 Thd L3-1 Voltage %/100 Unsigned long ●●●● ● ●
MISURA MAX DEMAND (MD) MAX DEMAND MEASURE (MD)
0A00H 2 Tensione di fase L1 L1 Phase Voltage V/100 Unsigned long ●●●●●●
0A02H 2 Tensione di fase L2 L2 Phase Voltage V/100 Unsigned long ●●●●●●
……..
0A62H 2 Thd Tensione L3-1 Thd L3-1 Voltage %/100 Unsigned long ●●● ● ●
ARMONICHE HARMONICS
3100H 1 2. Armonica Tensione L1 2. Harmonic L1 Voltage %/10 Unsigned int
●
3101H 1 3. Armonica Tensione L1 3. Harmonic L1 Voltage %/10 Unsigned int
●
………..
313FH 1 63. Armonica Tensione L1 63. Harmonic L1 Voltage %/10 Unsigned int
●
3140H 1 2. Armonica Tensione L2 2. Harmonic L2 Voltage %/10 Unsigned int
●
………..
317FH 1 63. Armonica Tensione L2 63. Harmonic L2 Voltage %/10 Unsigned int
●
3180H 1 2. Armonica Tensione L3 2. Harmonic L3 Voltage %/10 Unsigned int
●
………..
31BFH 1 63. Armonica Tensione L3 63. Harmonic L3 Voltage %/10 Unsigned int
●
3340H 1 2. Armonica Tensione N 2. Harmonic N Voltage %/10 Unsigned int
●
………..
337FH 1 63. Armonica Tensione N 63. Harmonic N Voltage %/10 Unsigned int
●
31C0H 1 2. Armonica Corrente L1 2. Harmonic L1 Current %/10 Unsigned int
●
………..
31FFH 1 63. Armonica Corrente L1 31. Harmonic L1 Current %/10 Unsigned int
●
3200H 1 2. Armonica Corrente L2 2. Harmonic L2 Current %/10 Unsigned int
●
………..
323FH 1 63. Armonica Corrente L2 63. Harmonic L2 Current %/10 Unsigned int
●
3240H 1 2. Armonica Corrente L3 2. Harmonic L3 Current %/10 Unsigned int
●
………..
327FH 163. Armonica Corrente L3 63. Harmonic L3 Current %/10 Unsigned int
●
3380H 1 2. Armonica Corrente N 2. Harmonic N Current %/10 Unsigned int
●
………..
33BFH 1 63. Armonica Corrente N 63. Harmonic N Current %/10 Unsigned int
●
3280H 1 2. Armonica Tensione L1-L2 2. Harmonic L1-L2 Voltage %/10 Unsigned int
●
………..
32BFH 1 63. Armonica Tensione L1-L2 63. Harmonic L1-L2 Voltage %/10 Unsigned int
●
32C0H 1 2. Armonica Tensione L2-L3 2. Harmonic L2-L3Voltage %/10 Unsigned int
●
………..
32FFH 1 63. Armonica Tensione L2-L3 63. Harmonic L2-L3Voltage %/10 Unsigned int
●
3300H 1 2. Armonica Tensione L3-L1 2. Harmonic L3-L1Voltage %/10 Unsigned int
●
………..
333FH 1 63. Armonica Tensione L3-L1 63. Harmonic L3-L1Voltage %/10 Unsigned int ●

Doc. I317IGB12_19.doc 18/12/2019 P. 12 / 41
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6…
0C00H 2 2. Armonica Tensione L1 2. Harmonic L1 Voltage %/10 Unsigned long ●● ● ●
0C02H 2 3. Armonica Tensione L1 3. Harmonic L1 Voltage %/10 Unsigned long ●● ● ●
………..
0C1AH 2 15. Armonica Tensione L1 15. Harmonic L1 Voltage %/10 Unsigned long ●● ● ●
………..
0C3FH 2 31. Armonica Tensione L1 31 Harmonic L1 Voltage %/10 Unsigned long ● ●
0C40H 2 2. Armonica Tensione L2 2. Harmonic L2 Voltage %/10 Unsigned long ●● ● ●
………..
0C5AH 2 15. Armonica Tensione L2 15. Harmonic L2 Voltage %/10 Unsigned long ●● ● ●
………..
0C7FH 2 31. Armonica Tensione L2 31. Harmonic L2 Voltage %/10 Unsigned long ● ●
0C80H 2 2. Armonica Tensione L3 2. Harmonic L3 Voltage %/10 Unsigned long ●● ● ●
………..
0C9AH 2 15. Armonica Tensione L3 15. Harmonic L3 Voltage %/10 Unsigned long ●● ● ●
………..
0CBFH 2 31. Armonica Tensione L3 31. Harmonic L3 Voltage %/10 Unsigned long ● ●
0CC0H 2 2. Armonica Corrente L1 2. Harmonic L1 Current %/10 Unsigned long ●● ● ●
………..
0CDAH 2 15. Armonica Corrente L1 15. Harmonic L1 Current %/10 Unsigned long ●● ● ●
………..
0CFFH 2 31. Armonica Corrente L1 31. Harmonic L1 Current %/10 Unsigned long ● ●
0D00H 2 2. Armonica Corrente L2 2. Harmonic L2 Current %/10 Unsigned long ●● ● ●
………..
0D1AH 2 15. Armonica Corrente L2 15. Harmonic L2 Current %/10 Unsigned long ●● ● ●
………..
0D3FH 2 31. Armonica Corrente L2 31. Harmonic L2 Current %/10 Unsigned long ● ●
0D40H 2 2. Armonica Corrente L3 2. Harmonic L3 Current %/10 Unsigned long ●● ● ●
……….. d
0D5AH 2 15. Armonica Corrente L3 15. Harmonic L3 Current %/10 Unsigned long ●● ● ●
………..
0D7FH 2 31. Armonica Corrente L3 31. Harmonic L3 Current %/10 Unsigned long ● ●
0D80H 2 2. Armonica Tensione L1-L2 2. Harmonic L1-L2 Voltage %/10 Unsigned long ●● ● ●
………..
0D9AH 2 15. Armonica Tensione L1-L2 15. Harmonic L1-L2 Voltage %/10 Unsigned long ●● ● ●
………..
0DBAH 2 31. Armonica Tensione L1-L2 31. Harmonic L1-L2 Voltage %/10 Unsigned long ● ●
0DC0H 2 2. Armonica Tensione L2-L3 2. Harmonic L2-L3 Voltage %/10 Unsigned long ●● ● ●
………..
0DDAH 2 15. Armonica Tensione L2-L3 15. Harmonic L2-L3 Voltage %/10 Unsigned long ●● ● ●
………..
0DFFH 2 31. Armonica Tensione L2-L3 31. Harmonic L2- Voltage %/10 Unsigned long ● ●
0E00H 2 2. Armonica Tensione L3-L1 2. Harmonic L3-L1 Voltage %/10 Unsigned long ●● ● ●
………..
0E1AH 2 15. Armonica Tensione L3-L1 15. Harmonic L3-L1 Voltage %/10 Unsigned long ●● ● ●
………..
0E3FH 2 31. Armonica Tensione L3-L1 31. Harmonic L3-L1 Voltage %/10 Unsigned long ● ●

Doc. I317IGB12_19.doc 18/12/2019 P. 13 / 41
1B20H 4 Energia Attiva Importata totale Total imp. Active Energy kWh / 100 Unsigned long-long DMG210
●07
DMG110
●07 ●08 ●09 ●06 ●
1B24H 4 Energia Attiva Esportata totale Total exported Active Energy kWh / 100 Unsigned long-long DMG210
●07
DMG110
●07 ●08 ●09 ●06 ●
1B28H 4 Energia Reattiva Importata totale Total imp. Reactive Energy kvarh / 100 Unsigned long-long DMG210
●07
DMG110
●07 ●08 ●09 ●06 ●
1B2CH 4 Energia Reattiva Esportata totale Total exp. Reactive Energy kvarh / 100 Unsigned long-long DMG210
●07
DMG110 ●07 ●08 ●09 ●06 ●
1B30H 4 Energia apparente totale Total Apparent Energy kVAh / 100 Unsigned long-long DMG210
●07
DMG110
●07 ●08 ●09 ●06 ●
1B34H 4 Energia Attiva Importata parziale Partial imp. Active Energy kWh / 100 Unsigned long-long DMG210
●07
DMG110
●07 ●08 ●09 ●06 ●
1B38H 4 Energia Attiva Esportata parziale Partial exp. Active Energy kWh / 100 Unsigned long-long DMG210
●07
DMG110 ●07 ●08 ●09 ●06 ●
1B3CH 4 Energia Reattiva Importata parziale Partial imp. Reactive Energy kvarh / 100 Unsigned long-long DMG210
●07
DMG110
●07 ●08 ●09 ●06 ●
1B40H 4 Energia Reattiva Esportata parziale Partial exp Reactive Energy kvarh / 100 Unsigned long-long DMG210
●07
DMG110
●07 ●08 ●09 ●06 ●
1B44H 4 Energia apparente parziale Partial Apparent Energy kVAh / 100 Unsigned long-long DMG210
●07
DMG110 ●07 ●08 ●09 ●06 ●
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
28F0H 1
A
nno Year Unsigned int ●●
28F1H 1 Mese Month Unsigned int
●●
28F2H 1 Giorno Day Unsigned int
●●
28F3H 1 Ora Hour Unsigned int
●●
28F4H 1 Minuti Minutes Unsigned int
●●
28F5H 1 Secondi Seconds Unsigned int
●●
2074H
1
Sequenza fasi
1 = corretta
0 = non corretta
Phase sequence
1 = good
0 = not good
Unsigned int DMG
210
20F0H
1
Sequenza fasi
1 = corretta
0 = non corretta
Phase sequence
1 = good
0 = not good
Unsigned int DMG
110
●
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
1A20H 2 Energia Attiva Importata totale Total imp. Active Energy kWh / 100 Unsigned long DMG210 ● ● ● ●
1A22H 2 Energia Attiva Esportata totale Total exported Active Energy kWh / 100 Unsigned long DMG210 ● ● ● ●
1A24H 2 Energia Reattiva Importata totale Total imp. Reactive Energy kvarh / 100 Unsigned long DMG210 ● ● ● ●
1A26H 2 Energia Reattiva Esportata totale Total exp. Reactive Energy kvarh / 100 Unsigned long DMG210 ● ● ● ●
1A28H 2 Energia apparente totale Total Apparent Energy kVAh / 100 Unsigned long DMG210 ● ● ● ●
1A2AH 2 Energia Attiva Importata parziale Partial imp. Active Energy kWh / 100 Unsigned long DMG210 ● ● ● ●
1A2CH 2 Energia Attiva Esportata parziale Partial exp. Active Energy kWh / 100 Unsigned long DMG210 ● ● ● ●
1A2EH 2 Energia Reattiva Importata parziale Partial imp. Reactive Energy kvarh / 100 Unsigned long DMG210 ● ● ● ●
1A30H 2 Energia Reattiva Esportata parziale Partial exp Reactive Energy kvarh / 100 Unsigned long DMG210 ● ● ● ●
1A32H 2 Energia apparente parziale Partial Apparent Energy kVAh / 100 Unsigned long DMG210 ● ● ● ●

Doc. I317IGB12_19.doc 18/12/2019 P. 14 / 41
Nota:
Note:
I contatori di energia a questi indirizzi sono lunghi 2 word (4 bytes). Essi ritornano a 0 dopo aver oltrepassato il conteggio di 19 999 999 . 99 kWh.
The energy counters at these addresses are 2 words (4 bytes) long. They roll-over to 0 after having exceeded the count value of 19 999 999 .99 kWh.
I contatori di energia a questi indirizzi sono lunghi 4 word (8 bytes). Essi ritornano a 0 dopo aver oltrepassato il conteggio di 999 999 999 . 99 kWh per apparecchi
con versione software uguale o superiore a quella riportata vicino al simbolo ●. Per versioni inferiori si comportano come i contatori alla nota precedente.
The energy counters at these addresses are 4 words (4 bytes) long. They roll-over to 0 after having exceeded the count value of 999 999 999 .99 kWh for units with
software revision equal to or higher than the one written nearby symbol ●. For earlier versions they act like counters described in the previous note.
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
1B48H 4 Tariffa 1 Energia Attiva Importata Imp. Active Energy Tariff 1 kWh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B4CH 4 Tariffa 1 Energia Attiva Esportata Exp. Active Energy Tariff 1 kWh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B50H 4 Tariffa 1 Energia Reattiva Importata Imp. Reactive Energy Tariff 1 kvarh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B54H 4 Tariffa 1 Energia Reattiva Esportata Exp.Reactive Energy Tariff 1 kvarh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B58H 4 Tariffa 1 Energia apparente Apparent Energy Tariff 1 kVAh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B5CH 4 Tariffa 2 Energia Attiva Importata Imp. Active Energy Tariff 2 kWh / 100 Unsigned long-long ●07 ●08 ●09 ●06
……
1B6CH 4 Tariffa 2 Energia apparente Apparent Energy Tariff 2 kVAh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B70H 4 Tariffa 3 Energia Attiva Importata Imp. Active Energy Tariff 3 kWh / 100 Unsigned long-long ●07 ●08 ●09 ●06
……….
1B80H 4 Tariffa 3 Energia apparente Apparent Energy Tariff 3 kVAh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B84H 4 Tariffa 4 Energia Attiva Importata Imp.Active Energy Tariff 4 kWh / 100 Unsigned long-long ●07 ●08 ●09 ●06
……...
1B94H 4 Tariffa 4 Energia apparente Apparent Energy Tariff 4 kVAh / 100 Unsigned long-long ●07 ●08 ●09 ●06
1B98H 4 Tariffa 5 Energia Attiva Importata Imp. Active Energy Tariff 5 kWh / 100 Unsigned long-long ●06
……….
1BA8H 4 Tariffa 5 Energia apparente Apparent Energy Tariff 5 kVAh / 100 Unsigned long-long ●06
1BACH 4 Tariffa 6 Energia Attiva Importata Imp.Active Energy Tariff 6 kWh / 100 Unsigned long-long
●06
……...
1BBCH 4 Tariffa 6 Energia apparente Apparent Energy Tariff 6 kVAh / 100 Unsigned long-long
●06
1BC0H 4 Tariffa 7 Energia Attiva Importata Imp. Active Energy Tariff 7 kWh / 100 Unsigned long-long
●06
……….
1BD0H 4 Tariffa 7 Energia Attiva Importata Imp.Active Energy Tariff 7 kWh / 100 Unsigned long-long
●06
1BD4H 4 Tariffa 8 Energia apparente Apparent Energy Tariff 8 kVAh / 100 Unsigned long-long ●06
……….
1BE4H 4 Tariffa 8 Energia Attiva Importata Imp. Active Energy Tariff 8 kWh / 100 Unsigned long-long ●06
kWh / 100 Unsigned long-long
1E20H 4 Energia attiva L1 importata kWh / 100 Unsigned long-long DMG110 ●
1E24H 4 Energia attiva L1 esportata kWh / 100 Unsigned long-long DMG110 ●
1E28H 4 Energia reattiva L1 induttiva kWh / 100 Unsigned long-long DMG110 ●
1E2CH 4 Energia reattiva L1 capacitiva kWh / 100 Unsigned long-long DMG110 ●
1E30H 4 Energia apparente L1 importata kWh / 100 Unsigned long-long DMG110 ●
1E34H 4 Energia attiva L1 importata parziale kWh / 100 Unsigned long-long DMG110 ●
1E38H 4 Energia attiva L1 esportata parziale kWh / 100 Unsigned long-long DMG110 ●
1E3CH 4 Energia reattiva L1 induttiva parziale kWh / 100 Unsigned long-long DMG110 ●
1E40H 4 Energia reattiva L1 capacitiva
parziale kWh / 100 Unsigned long-long DMG110 ●
1E44H 4 Energia apparente L1 importata
parziale kWh / 100 Unsigned long-long DMG110 ●
1E48H 4 Energia attiva L2 importata kWh / 100 Unsigned long-long DMG110 ●
…. …. ………………… ………………… ….
…. …. ….
1E70H 4 Energia attiva L3 importata kWh / 100 Unsigned long-long DMG110 ●
…. …. ………………… ………………… ….
…. …. ….

Doc. I317IGB12_19.doc 18/12/2019 P. 15 / 41
Nota:
Nelle tabelle il numero vicino al simbolo ‘●’ indica la rev SW del DMG a partire dalla quale l’indirizzo specificato viene supportato dal protocollo.
Note:
In the following tables, the number near of the symbol ‘●’ indicates the SW revision of the DMG starting from which the address is supported by the protocol.
Se l’ingresso analogico è un segnale di tensione
o corrente, l’unità di misura è quella impostata nel
paramtero P16.x.07, se è un ingresso PT100 l’unità
di misura è espresso in gradi °C (o gradi °F)
Esempio:
Il valore all’indirizzo 2100H è 0x05 (esadecimale),
= 0x00000101 vuol dire che gli ingressi 1 e 3 sono
attivi.
Lo stato del bit 0 indica l’allarme in ritenuta.
Lo stato del bit 1 indica l’allarme attivo.
If the analog input is a voltage or current signal,
the unit of measure is set in the parameter P16.x.07,
if it is a PT100 input unit of measurement is
expressed in degrees ° C (or degrees ° F)
Example:
The value at address 2100H is 0x05 (hexadecimal)
= 0x00000101 means that the inputs 1 and 3 are
active
The status of bit 0 indicates a latched alarm.
The status of bit 1 indicates an active alarm.
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT FORMATO FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
0F50H 2 Ingresso Analogico 1 Analog Input 1 /100 Unsigned long ●
0F52H 2 Ingresso Analogico 2 Analog Input 2 /100 Unsigned long ●
….
0F5EH 2 Ingresso Analogico 8 Analog Input 8 /100 Unsigned long ●
0F60H 2 Uscita Analogica 1 Analog Output 1 /1000 Unsigned long ●
0F62H 2 Uscita Analogica 2 Analog Output 2 /1000 Unsigned long ●
….
0F6EH 2 Uscita Analogica 8 Analog Output 8 /1000 Unsigned long ●
1D00H 2 Contatore 1 Counter 1 Nr Unsigned long ● ● ● ●
1D02H 2 Contatore 2 Counter 2 Nr Unsigned long ● ● ● ●
1D04H 2 Contatore 3 Counter 3 Nr Unsigned long ● ● ● ●
1D06H 2 Contatore 4 Counter 4 Nr Unsigned long ● ● ● ●
1E00H 2 Contaore totale Total Hour meter s Unsigned long ● ● ● ● ● ●
1E02H 2 Contaore totale Partial Hour meter s Unsigned long ● ● ● ● ● ●
2100H 1 OR di tutti gli ingressi OR of all Inputs Unsigned int ●●
2101H 1 Ingresso 1 Input 1 bool Unsigned int ●●●●
…..
2108H 1 Ingresso 8 Input 8 bool Unsigned int ●●●●
2110H 1 OR di tutte le uscite OR of all Outputs Unsigned int ●6●
2111H 1 Uscite 1 Output 1 bool Unsigned int ●●●●
…… ●
2118H 1 Uscite 8 Output 8 bool Unsigned int ●●●●
2120H 1 OR di tutti gli allarmi OR of all Alarms Unsigned int DMG110 ●6●
2121H 1 Allarme 1 Alarm 1 Unsigned int ●●●
….
2128H 1 Allarme 8 Alarm 8 Unsigned int ●●●
2130H 1 OR di tutti i booleani OR of all Boolean Unsigned int ●6
2131H 1 Booleano 1 Boolean 1 bool Unsigned int ●●●
…
2138H 1 Booleano 8 Boolean 8 bool Unsigned int ●●●
2140H 1 OR Tutti i limiti OR All Limits Unsigned int DMG110 ●6●
2141H 1 Limite 1 Limit 1 bool Unsigned int ●●●
…
0148H 1 Limite 8 Limit 8 bool Unsigned int ●●●
4F00H 1 Remoto 1 Remote 1 bool Unsigned int DMG110 ●●●●●
….
4F07H 1 Remoto 8 Remote 8 bool Unsigned int ●●● ●

Doc. I317IGB12_19.doc 18/12/2019 P. 16 / 41
TABELLA 3:
COMANDI
(Utilizzabili con funzione 06)
TABLE 3:
COMMANDS
(To be used with function 06)
ATTENZIONE
Dopo aver usato questo comando è preferibile
utilizzare il comando di REBOOT.
ATTENZIONE
Dopo avere eseguito questo comando, per
ottenere il risultato del test bisogna eseguire una
domanda 4 all’indirizzo 0x1F20, il significato dei bit
della risposta è riportato nella tabella sottostante.
ATTENZIONE
Questa funzione è attiva solo se nessun ingresso è
programmato con la funzione tariffa (TAR-A e TAR-B)
Risultati test collegamento:
Test wiring results:
ATTENTION
After using of this command it is recommended to
send REBOOT command.
ATTENTION
After executing this command, to get the test result
you can use the query 4 at address 0x1F20; the
meaning of the bits of the response is shown in the
table below.
ATTENTION
This function is enabled only if none of the inputs is
set with the tariff function (TAR-A and TAR-B).
BIT SIGNIFICATO MEANING
0 Mancanza tensione di fase L1 Phase to neutral voltage L1
1 Mancanza tensione di fase L2 Phase to neutral voltage L2
2 Mancanza tensione di fase L3 Phase to neutral voltage L3
3 Mancanza corrente di fase L1 Phase to neutral current L1
4 Mancanza corrente di fase L2 Phase to neutral current L2
5 Mancanza corrente di fase L3 Phase to neutral current L3
6 Errata Sequenza fasi Wrong phase sequence
7 Fase sbilanciata Phase unbalance
8 T
A
1 invertito CT1 Inverted
9 T
A
2 invertito CT2 Inverted
10 T
A
3 invertito CT3 Inverted
11 T
A
1 su fase L2 CT1 on phase L2
12 T
A
1 su fase L3 CT1 on phase L3
13 T
A
2 su fase L1 CT2 on phase L1
14 T
A
2 su fase L3 CT2 on phase L3
15 T
A
3 su fase L1 CT3 on phase L1
16 T
A
3 su fase L2 CT3 on phase L2
Se il risultato di ogni bit è uguale a 1 il collegamento è corretto.
If the result every bits is 1 the wiring is correct.
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
2FF0H 1 Azzera valori HI –LO Reset HI-LO values 0 Unsigned int ●●●●●●
2FF0H 1 Azzera Max Demand Reset Max Demand 1 Unsigned int ●●●●●●
2FF0H 1 Azzera energia parziale Reset Partial Energy 2 Unsigned int ●●●●●●
2FF0H 1 Azzera contore parziale Reset Partial hour 3 Unsigned int ●●●●●●
2FF0H 1 Azzera contatori Reset External counter 4 Unsigned int ●●●●
2FF0h 1 Azzera tariffe Reset Energy Tariff 5 Unsigned int ●●●●
2FF0H 1 Azzera allarmi Reset Alarms 6 Unsigned int DMG110 ●●●●●
2FF0H 1 Azzera limiti Reset Limits 7 Unsigned int DMG110 ●●●●●
2FF0H 1 Azzera energia totale Reset all Energy counters 11 Unsigned int ●●●●●●
2FF0H 1 Azzera contaore totale Reset all Hour counters 12 Unsigned int ●●●●●●
2FF0H 1 Setup a default Parametrs to default 13 Unsigned int ●●●●●●
2FF0H 1 Salva copia setup Backup parameters 14 Unsigned int ●●●●●●
2FF0H 1 Ripristina setup Restore parameters 15 Unsigned int ●●●●●●
2FF0H 1 Test collegamento Wiring Test 16 Unsigned int ●●●●●●
2FF0H 1 Azzera memoria eventi Reset events log 18 Unsigned int ●1
2FF0H 1
A
zzera contatori qualità
energia
Energy quality counters
reset 19 Unsigned int ●3
2FF0H 1
A
zzera risultati qualità
energia
Energy quality results
reset 20 Unsigned int ●3
2FF0H 1 Azzera HI Reset HI 100 Unsigned int ●●●●●●
2FF0H 1 Azzera LO Reset LO 200 Unsigned int ●●●●●●
2F01H 1 Reboot sistema System reboot 1 Unsigned int ●●●●●●
4200H 1 Impostazione tariffa energ. Set Energy tariff 1÷4 Unsigned int ●4●3●3●1

Doc. I317IGB12_19.doc 18/12/2019 P. 17 / 41
Nota:
Nelle tabelle il numero vicino al simbolo ‘●’ indica la rev SW del DMG a partire dalla quale l’indirizzo specificato viene supportato dal protocollo.
Note:
In the following tables, the number near of the symbol ‘●’ indicates the SW revision of the DMG starting from which the address is supported by the protocol.
TABELLA 4: TABLE 4:
EVENTI EVENTS
La data - ora viene letta in modalità compressa con formato unsigned long. Rappresenta il numero di secondi trascorsi a partire dal 01.01.1990 Per poter trasformare il dato in data e
ora corretta si po’ importare questo dato in una tabella Excel e applicare la seguente formula:
DATA EXCEL = (VALORE LETTO / 86400) + 32874
Date and time are read in compressed mode with unsigned long format. It represents the number of seconds elapsed since 1.1.1990. To transform the data into the correct date and
time you can import this data into an Excel table and apply the following formula:
EXCEL DATE = (RETURNED VALUE / 86400) + 32874
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT FORMATO FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
21D0H 1 PUNTATORE EVENTI
Indica l’ultimo evento registrato
EVENTS POINTER
Last event stored
Unsigned integer
●1
21D1H 1 CONTATORE EVENTI
Indica il numero totale eventi
EVENTS COUNTER
Total events stored
Unsigned integer
●1
3800H 1 EVENTO 1 DATA/ORA HMSB
EVENT 1 DATA/TIME HMSB
Unsigned integer
●1
3801H 1 EVENTO 1 DATA/ORA MSB
EVENT 1 DATE/TIME MSB
Unsigned integer ●1
3802H 1 EVENTO 1 DATA/ORA H LSB
EVENT 1 DATE/TIME HLSB
Unsigned integer ●1
3803H 1 EVENTO 1 DATA/ORA LSB
EVENT 1 DATE/TIME LSB
Unsigned integer ●1
3804H 1 LIBERO FREE Unsigned integer ●1
3805H 1 CLASSE EVENTO (tab. 5) EVENT CLASS (tab. 5) Unsigned integer ●1
3806H 1 TIPO EVENTO (tab. 5) EVENT TYPE (tab. 5) Unsigned integer ●1
3807H 1 CODICE EVENTO (tab. 6) EVENT CODE (tab. 6) Unsigned integer ●1
3808H 1 MISURA HMSB MEASURE HMSB Unsigned integer ●1
3809H 1 MISURA MSB MEASURE MSB Unsigned integer ●1
380AH 1 MISURA HLSB MEASURE HLSB Unsigned integer ●1
380BH 1 MISURA LSB MEASURE LSB Unsigned integer ●1
380CH 1 LIBERO FREE Unsigned integer ●1
380EH 1 LIBERO FREE Unsigned integer ●1
380EH 1 LIBERO FREE Unsigned integer ●1
380FH 1 LIBERO FREE Unsigned integer ●1
……….. Unsigned integer ●1
3E30H 1 EVENTO 100 DATA/ORA MMSB EVENT 100 DATA MMSB Unsigned integer
●1
3E31H 1 EVENTO 100 DATA/ORA MSB EVENT 100 DATA/TIME MSB Unsigned integer ●1
3E32H 1 EVENTO 100 DATA/ORA LSB EVENT 100 DATA/TIME LSB Unsigned integer ●1
3E33H 1 EVENTO 100 DATA/ORA LLSB EVENT 100 DATA/TIME LLSB Unsigned integer ●1
3E34H 1 LIBERO FREE Unsigned integer ●1
3E35H 1 CLASSE EVENTO (tab. 5) EVENT CLASS (tab. 5) Unsigned integer ●1
3E36H 1 TIPO EVENTO (tab. 5) EVENT TYPE (tab. 5) Unsigned integer ●1
3E37H 1 CODICE EVENTO (tab. 6) EVENT CODE (tab. 6) Unsigned integer ●1
3E38H 1 MISURA MMSB MEASURE MMSB Unsigned integer ●1
3E39H 1 MISURA MSB MEASURE MSB Unsigned integer ●1
3E3
A
H 1 MISURA LSB MEASURE LSB Unsigned integer ●1
3E3BH 1 MISURA LLSB MEASURE LLSB Unsigned integer ●1
3E3CH 1 LIBERO FREE Unsigned integer ●1
3E3DH 1 LIBERO FREE Unsigned integer ●1
3E3EH 1 LIBERO FREE Unsigned integer ●1
3E0FH 1 LIBERO FREE Unsigned integer ●1

Doc. I317IGB12_19.doc 18/12/2019 P. 18 / 41
TABELLA 5: TABLE 5:
EVENTI: EVENTS:
Indirizzo
Address CLASSE EVENTO TIPO EVENTO SORGENTE
SOUCE
EVENT CLASS EVENT TYPE
0 POWER 0- POWER ON
1- POWER DOWN
2- REBOOT
POWER 0- POWER ON
1- POWER DOWN
2- REBOOT
1 MISURA (tab 6) 0- HIGH
1- LOW
2- MAX DEMAND
MEASURE (tab 6) 0- HIGH
1- LOW
2- MAX DEMAND
2 ALLARME0- INIZIO ALLARME
1- FINE ALLARME
2- RESET ALLARME
ALLARM0-
A
LARM BEGIN
1- ALARM END
2- ALARM RESET
3 LIMITE0- LIMITE ON
1- LIMITE OFF
2- RESET ALLARME
LIMIT0- LIMIT ON
1- LIMIT OFF
2- ALARM RESET
4 REMOTO0- COMANDO REMOTO ON
1- COMANDO REMOTO OFF
REMOTE0- REMOTE COMMAND ON
1- REMOTE COMMAND OFF
5 COMUNICAZIONE 0- COMUNICAZIONE ON
1- COMUNICAZIONE OFF
COMMUNICATION 0- COMMUNICATION ON
1- COMMUNICATION OFF
6 TARIFFE0- CAMBIO TARIFFA TARIFF0- TARIFF CHANGE
7 SETUP 0- MENU PARAMETRI
1- MENU CUSTOM
2- MENU COMANDI
SETUP 0- PARAMETERS MENU
1- CUSTOM MENU
2- COMMAND MENU
8 MENU COMANDI0-
A
ZZERA HI
–
LOW
1- AZZERA MAX DEMAND
2- AZZERA ENERGIA PARZIALE
3- AZZERA CONTORE PARZIALE
4- AZZERA CONTATORI
5- AZZERA TARIFFE
6- AZZERA ALLARMI
7- AZZERA LIMITI
8- AZZERA ENERGIA MENSILE
9- AZZERA ENERGIA TOTALE
10- AZZERA CONTAORE TOTALE
11- SETUP A DEFAULT
12- SALVA COPIA SETUP
13- RIPRISTINA SETUP
14- TEST COLLEGAMENTO
15- TOUCH SCREEN CALIBRATION
16- AZZERA EVENTI
17- AZZERA CONTATORI EN50160
18- AZZERA MEMORIA EN50160
COMMAND
MENU
0- RESET HI
–
LOW
1- RESET Max Demand
2- RESET PARTIAL ENERGYe
3- RESET PARTIAL COUNTERS
4- RESET COUNTERS
5- RESET TARIFF
6- RESET ALARMS
7- RESET LIMITS
8- RESET MONTHLY ENERGY
9- RESET TOTAL ENERGY
10- RESET TOTAL COUNTER
11- SETUP TO DEFAULT
12- SAVE SETUP
13- RESTORE SETUP
14- WIRING TEST
15- TOUCH SCREEN CALIBRATION
16- RESET EVENTS
17- RESET EN50160COUNTERS
18- RESET EN50160 MEMORY
9 PASSWORD 0- PASSWORD UTENTE
0- PASSWORD AMMINISTRATORE
PASSWORD 0- USER PASSWORD
0- ADMINISTARTOR PASSWORD
10 CONFIGURAZIONE 0- CAMBIO CONFIGURAZIONE MODULI CONFIGURATION 0- CHANGE MODULE CONFIGURATION
11 DIP SWITCH 0- CAMBIO CONFIGURAZIONE SWITCH DIP SWITCH 0- CHANGE SWITCH CONFIGURATION
12 QUALITA’ ENERGIA
EN50160
0- TENSIONE ALTA ON
1- TENSIONE ALTA OFF
2- TENSIONE BASSA ON
3- TENSIONE BASSA OFF
4- THD ON
5- THD OFF
6- ASIMMETRIA ON
7- ASIMMETRIA OFF
8- FREQUENZA ALTA ON
9- FREQUENZA ALTA OFF
10- FREQUENZA BASSA ON
11- FREQUENZA BASSA OFF
12- LIVELLO ARMONICHE ON
13- LIVELLO ARMONICHE OFF
14- DIP ON
15- DIP OFF
16- SWELL ON
17- SWELL OFF
18- INTERRUZIONE ON
19- INTERRUZIONE OFF
20- NVHI ON
21- NVHI OFF
22- NVLO ON
23- NVLO OFF
24- NFHI ON
25- NFHI OFF
26- NFLO ON
27- NFLO OFF
VLN O VLL
AVARAGE 10MIN
PAR P01.07
0- HIGH VOLTAGE ON
1- HIGH VOLTAGE OFF
2- LOW VOLTAGE ON
3- LOW VOLTAGE OFF
4- THD ON
5- THD OFF
6- ASYMMETRY ON
7- ASYMMETRY OFF
8- HIGH FREQUENCY ON
9- HIGH FREQUENCY OFF
10- LOW FREQUENCY ON
11- LOWFREQUENCY OFF
12- HARMONIC LEVEL ON
13- HARMONIC LEVEL OFF
14- DIP ON
15- DIP OFF
16- SWELL ON
17- SWELL OFF
18- INTERRUPTION ON
19- INTERRUPTION OFF
20- NVHI ON
21- NVHI OFF
22- NVLO ON
23- NVLO OFF
24- NFHI ON
25- NFHI OFF
26- FLO ON
27- NFLO OFF
THD
AVARAGE 10MIN
A
SY VLN O VLL
AVARAGE 10MIN
PAR P01.07
FREQUENCY
AVARAGE 10MIN
HARMONIC
LEVEL
VLN O VLL
AVARAGE 10MIN
PAR P01.07
FREQUENCY
AVARAGE 10MIN

Doc. I317IGB12_19.doc 18/12/2019 P. 19 / 41
Il numero massimo eventi memorizzati è 100 (buffer circolare).
The max events number stored is 100 (circular buffer).
TABELLA 6:
CODICE EVENTO
EVENT CODE
MISURA
MEASURE
UNITA’
UNIT
0 V L1-N V/100
1 V L2-N V/100
2 V L3-N V/100
3 I L1
A
/10000
4 I L2
A
/10000
5 I L3
A
/10000
6 V L1-L2 V/100
7 V L2-L3 V/100
8 V L3-L1 V/100
9 W L1 W/100
10 W L2 W/100
11 W L3 W/100
12 var L1 var/100
13 var L2 var/100
14 var L3 var/100
15 VA L1 VA/100
16 VA L2 VA/100
17 VA L3 VA/100
18 PF L1 /10000
19 PF L2 /10000
20 PF L3 /10000
21 COSPHI L1 /10000
22 COSPHI L2 /10000
23 COSPHI L3 /10000
24 Hz /1000
25 V L-N EQV V/100
26 V L-L EQV V/100
27 I EQV
A
10000
28 W TOT W/100
29 var TOT Var/100
30 VA TOT VA/100
31 PF TOT /10000
32
A
SY VL-L %/100
33
A
SY VL-N %/100
34 UNBAL. I %/100
35 I N
A
/10000
36 LIBERO/FREE LIBERO/FREE
37 LIBERO/FREE LIBERO/FREE
38 LIBERO/FREE LIBERO/FREE
39 LIBERO/FREE LIBERO/FREE
40 LIBERO/FREE LIBERO/FREE
41 THD V L1 %/100
42 THD V L2 %/100
43 THD V L3 %/100
44 THD I L1 %/100
45 THD I L2 %/100
46 THD I L3 %/100
47 THD V L1L2 %/100
48 THD V L2L3 %/100
49 THD V L3L1 %/100
50 THD V L4 %/100
51 THD I L4 %/100
52 V L3-N V/100
53 I L4
A
/10000
54 LIBERO/FREE LIBERO/FREE
55 LIBERO/FREE LIBERO/FREE
56 LIBERO/FREE LIBERO/FREE
57 LIBERO/FREE LIBERO/FREE
58 LIBERO/FREE LIBERO/FREE
59 LIBERO/FREE LIBERO/FREE
60 LIBERO/FREE LIBERO/FREE
61 LIBERO/FREE LIBERO/FREE
62 LIBERO/FREE LIBERO/FREE
63 LIBERO/FREE LIBERO/FREE
Per Allarmi,limiti,comando remoto,tariffe, selezione menù comandi, il codice evento indica il relativo numero/canale associato.
For Alarms,limits,remote comand, command menu selection, the event code indicates the associated number/channel.
Es:
Classe evento 3 = Limite + Codice evento 4 = Limite 4
Event class 3 = Limit + Event code 4 = Limit 4

Doc. I317IGB12_19.doc 18/12/2019 P. 20 / 41
Nota:
Nelle tabelle il numero vicino al simbolo ‘●’ indica la rev SW del DMG a partire dalla quale l’indirizzo specificato viene supportato dal protocollo.
Note:
In the following tables, the number near of the symbol ‘●’ indicates the SW revision of the DMG starting from which the address is supported by the protocol.
TABELLA 7 TABLE 7:
QUALITA’ ENERGIA EN50160 ENERGY QUALITY EN50160
All’indirizzo C000h deve essere sommato il valore letto all’indirizzo 2090H. Il risultato indica l’indirizzo dove è memorizzata la prima forma d’onda catturata.
L’offset tra una curva e la successiva è di 196 bytes. I primi 4 byte indicano la data di registrazione della curva.
Prima di leggere i dati di tutte le curve è necessario inviare il valore 1 all’indirizzo 20F1 (vedi tabella sopra).
To the address C000h the user must add the value read from address 2090H. The results indicates the address where the first waveform capture is stored.
The offset between two waveforms is 196 bytes. The first 4 bytes indicates the time stamp of the waveform capture.
It is necessary to send the value 1 to address 20F1 (see the above table) before reading the data of all the curves.
Indirizzo
Address WORDS MISURA MEASURE UNITA’
UNIT
FORMATO
FORMAT
DMG
110
210
DMG
300
DMG
700
DMG
800
DMG
900
DMG
6...
33E0H 1 QUALITA’ ENERGIA SETTIMANA
ATTUALE
A
CTUAL WEEK ENERGY
QUALITY
%/10 Unsigned integer
●3
………..
●3
33FEH 1 QUALITA’ ENERGIA SETTIMANA
ATTUALE
A
CTUAL WEEK ENERGY
QUALITY
%/10 Unsigned integer
●3
3400H 1 QUALITA’ ENERGIA TUTTE LE
SETTIMANE ANNO CORRENTE
WEEKLY ENERGY QUALITY
CURRENT YEAR
%/10 Unsigned integer
●3
………..
●3
375FH 1 QUALITA’ ENERGIA TUTTE LE
SETTIMANE ANNO CORRENTE
WEEKLY ENERGY QUALITY
CURRENT YEAR
%/10 Unsigned integer
●3
3760H 1 QUALITA’ ENERGIA MENSILEMONTHLY ENERGY
QUALITY
%/10 Unsigned integer
●3
………..
●3
376FH 1 QUALITA’ ENERGIA MENSILEMONTHLY ENERGY
QUALITY
%/10 Unsigned integer
●3
3770H 1 QUALITA’ ENERGIA ANNUALEYEARLY ENERGY QUALITY %/10 Unsigned integer
●3
………..
●3
377FH 1 QUALITA’ ENERGIA ANNUALEYEARLY ENERGY QUALITY %/10 Unsigned integer
●3
1800H 2 CONTATORE DIP DIPS COUNTER Unsigned long
●3
1802H 2 CONTATORE SWELL SWELLS COUNTER Unsigned long
●3
1804H 2 CONTATORE INTERRUZ. TOT TOT INTERRUPTIONS
COUNTER
Unsigned long
●3
1806H 2 CONTATORE INTERRUZIONI
>180s
INTERRUPTIONS >180s
COUNTER
Unsigned long
●3
1808H 2 CONTATORE TENSIONE NHI VOLTAGE NHI COUNTER Unsigned long
●3
180AH 2 CONTATORE TENSIONE HI VOLTAGE HI COUNTER Unsigned long
●3
180CH 2 CONTATORE TENSIONE NLO VOLTAGE NLO COUNTER Unsigned long
●3
180EH 2 CONTATORE TENSIONE LO VOLTAGE LO COUNTER Unsigned long
●3
1810H 2 CONTATORE THD THD COUNTER Unsigned long
●3
1812H 2 CONTATORE ASIMMETRIA
A
SYMMETRY COUNTER Unsigned long
●3
1814H 2 CONTATORE FREQ. NHI FREQ. NHI COUNTER Unsigned long
●3
1816H 2 CONTATORE FREQ. HI FREQ. HI COUNTER Unsigned long
●3
1818H 2 CONTATORE FREQ. NLO FREQ. NLO COUNTER Unsigned long
●3
181AH 2 CONTATORE FREQ LO FREQ. LO COUNTER Unsigned long
●3
20F1h 1
A
BILITA LETTURA EEPROM EEPROM READOUT ENABLE Unsigned integer
●3
2090h 1 INDIRIZZO INIZIO CURVE EQ EQ WAVEFORM CAPTURE
ADDRESS
Unsigned integer
●3
C000H +
196 PRIMA CURVA MEMORIZZATA
EN50160
FIRST WAVEFORM STORED
Unsigned integer
●3
………..
C6E4H +
196 ULTIMA CURVA MEMORIZZATA
EN50160
LAST WAVEFORM STORED
Unsigned integer
●3
This manual suits for next models
7
Table of contents
Other Lovato Multimeter manuals