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
Page 1: ...317IGB12_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 ...
Page 2: ... 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 prot...
Page 3: ...ne 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 Addre...
Page 4: ...e 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 FU...
Page 5: ...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 n...
Page 6: ...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 Type 82h 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 D...
Page 7: ...ta 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 tr...
Page 8: ...0010 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 polyn...
Page 9: ...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 l...
Page 10: ... 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 Voltag...
Page 11: ...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 Arm...
Page 12: ... 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 H...
Page 13: ...RMAT DMG 110 210 DMG 300 DMG 700 DMG 800 DMG 900 DMG 6 28F0H 1 Anno 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 corret...
Page 14: ...p 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...
Page 15: ...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 Cou...
Page 16: ...2 TA1 su fase L3 CT1 on phase L3 13 TA2 su fase L1 CT2 on phase L1 14 TA2 su fase L3 CT2 on phase L3 15 TA3 su fase L1 CT3 on phase L1 16 TA3 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 DM...
Page 17: ...d 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 MISUR...
Page 18: ...RIFF 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 CONFIGU...
Page 19: ...L 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 5...
Page 20: ...TTE 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 MENSILE MONTHLY ENERGY QUALITY 10 Unsigned integer 3 3 376FH 1 QUALITA ENERGIA MENSILE MONTHLY ENERGY QUALITY 10 Unsigned integer 3 3770H 1 QUALITA ENERGIA ANNUALE YEARLY E...
Page 21: ...nno corrente current year 3776H HAR anno corrente current year Esempio Example MISURA VISUALIZZATA A DISPLAY MEASURE SHOWN ON DISPLAY 0 VHI 1 VLO 2 THD con P18 06 THD 3 ASY 4 FHI 5 FLO 6 HAR con P18 06 HAR 3400H VHI prima settimana anno corrente first week of current year 3401H VHI seconda settimana anno corrente second week of current year 3436H VLO prima settimana anno corrente first week of cur...
Page 22: ... P02 07 Pagina di default Default page 1 32 1 1 508CH P02 08 Sotto pagina di default Default sub page 0 13 0 1 508EH P02 09 Tempo di aggiornamento display Display update time 1 50 5 1 5090H M03 Password Password P03 01 Abilitazione password Enable passwords 0 1 0 1 5100H P03 02 Password livello utente User level Password 0 9999 1000 1 5102H P03 03 Password livello avanzato Advanced level Password ...
Page 23: ... 5800H n 1 80H P09 n 02 Numero canale x Channel number x 1 8 1 1 5802H n 1 80H P09 n 03 Memoria Latch 0 1 0 1 5804H n 1 80H P09 n 04 Priorità Priority 0 1 0 1 5806H n 1 80H P09 n 05 Testo Text ALAn 8 5808H n 1 80H M10 Contatori Counters P10 n 01 Sorgente conteggio Counter source 0 4 0 1 5C00H n 1 80H P10 n 02 Numero canale x Channel number x 1 8 1 1 5C02H n 1 80H P10 n 03 Moltiplicatore Multiplier...
Page 24: ... 8 6E8AH n 1 40H P16 n 07 Unità Unito of measure UMn 3 6E92H n 1 40H M17 Uscite Analogici Analog Outputs P17 n 01 Tipo di uscita Output type 0 4 0 1 7080H n 1 40H P17 n 02 Misura di riferimento Reference measure 0 47 0 1 7082H n 1 40H P17 n 03 Valore inizio scala Start of scale value 9999 9999 0 1 signed 7084H n 1 40H P17 n 04 Moltiplicatore Multiplier 0 6 2 1 7086H n 1 40H P17 n 05 Valore fondo s...
Page 25: ...ezione numero sottomenu Submenu number selection 4 read 6 write Per selezionare il sottomenu 4 scrivere il valore 4 Se il sottomenu non è presente scrivere 0 Write value 4 to select the submenu number 4 If the submenu number is not required write 0 0x5002 1 Selezione numero parametro Parameter number selection 4 read 6 write Per selezionare il parametro 2 scrivere il valore 2 Write value 2 to sele...
Page 26: ...tions 04 and 06 Indirizzo Address WORDS MISURA MEASURE UNITA UNIT FORMATO FORMAT DMG 110 210 DMG 300 DMG 700 DMG 800 DMG 900 DMG 6 28F0 1 Anno Year Unsigned int 28F1 1 Mese Month Unsigned int 28F2 1 Giorno Day Unsigned int 28F3 1 Ora Hour Unsigned int 28F4 1 Minuti Minutes Unsigned int 28F5 1 Secondi Seconds Unsigned int ...
Page 27: ...zo slave 08h 08h Funzione 06h 06h MSB Indirizzo registro 21h 21h LSB Indirizzo registro EFh EFh MSB Dato 00h 00h LSB Dato 01h 00h LSB CRC 73h B2h MSB CRC 5Ah 9Ah EXM1030 AND EXP1030 COMMUNICATION PROTOCOL DATALOGGER SETUP In order to setup which measurements are to be collected which types the sampling time and to prepare the flash memory to work the following operations must be done 1 STOP LOGGER...
Page 28: ... 0h 15min 0s Slave address 08h Function 10h MSB register address 22h LSB register address 01h MSB register number 00h LSB register number 03h Byte number 06h MSB Hours 00h LSB Hours 00h MSB Minutes 00h LSB Minutes 0Fh MSB Seconds 00h LSB Seconds 00h LSB CRC 3Ah MSB CRC F7h 6 Selecting the 32 masurements to be recorded commnd 2162h Send the index internal address of the measurement to be sampled 32...
Page 29: ...FACTOR 28 28 31 28 ASIMMETRIA DI TENSIONE V L N V L N ASIMMETRY 29 29 32 30 ASIMMETRIA DI TENSIONE V L L V L L ASIMMETRY 30 30 33 29 SBILANCIAMENTO CORRENTE CURRENT UNBALANCE 31 31 34 31 CORRENTE NEUTRO TEORICA CALCULATED NEUTRAL CURRENT 32 32 35 32 THD TENSIONE L1 THD L1 VOLTAGE 33 33 36 THD TENSIONE L2 THD L2 VOLTAGE 34 34 37 THD TENSIONE L3 THD L3 VOLTAGE 35 35 38 THD CORRENTE L1 THD L1 CURRENT...
Page 30: ...ERGY L1 46 ENERGIA APPARENTE L1 TOTALE TOTAL APPARENT ENERGY L1 47 ENERGIA ATTIVA L1 IMPORTATA PARZIALE PARTIAL IMPORTED ACTIVE ENERGY L1 48 ENERGIA ATTIVA L1 ESPORTATA PARZIALE PARTIAL EXPORTED ACTIVE ENERGY L1 49 ENERGIA REATTIVA L1 IMPORTATA PARZIALE PARTIAL IMPORTED REACTIVE ENERGY L1 50 ENERGIA REATTIVA L1 ESPORTATA PARZIALE PARTIAL EXPORTED REACTIVE ENERGY L1 51 ENERGIA APPARENTE L1 PARZIALE...
Page 31: ... 15 con decimale TOTAL COUNTER 15 with decimal 15 CONTATORE TOT 16 con decimale TOTAL COUNTER 16 with decimal 16 CONTATORE PAR 01 con decimale PARTIAL COUNTER 01 with decimal 17 CONTATORE PAR 02 con decimale PARTIAL COUNTER 02 with decimal 18 CONTATORE PAR 03 con decimale PARTIAL COUNTER 03 with decimal 19 CONTATORE PAR 04 con decimale PARTIAL COUNTER 04 with decimal 20 CONTATORE PAR 05 con decima...
Page 32: ... with decimal 69 TARIFFA 06 2 con decimale TARIFF 06 2 with decimal 70 TARIFFA 06 3 con decimale TARIFF 06 3 with decimal 71 TARIFFA 06 4 con decimale TARIFF 06 4 with decimal 72 TARIFFA 07 1 con decimale TARIFF 07 1 with decimal 73 TARIFFA 07 2 con decimale TARIFF 07 2 with decimal 74 TARIFFA 07 3 con decimale TARIFF 07 3 with decimal 75 TARIFFA 07 4 con decimale TARIFF 07 4 with decimal 76 TARIF...
Page 33: ...TICO 06 con decimale MATHEMATICAL 06 with decimal 118 MATEMATICO 07 con decimale MATHEMATICAL 07 with decimal 119 MATEMATICO 08 con decimale MATHEMATICAL 08 with decimal 120 MATEMATICO 09 con decimale MATHEMATICAL 09 with decimal 121 MATEMATICO 10 con decimale MATHEMATICAL 10 with decimal 122 MATEMATICO 11 con decimale MATHEMATICAL 11 with decimal 123 MATEMATICO 12 con decimale MATHEMATICAL 12 wit...
Page 34: ... 3 TARIFF 02 3 168 TARIFFA 02 4 TARIFF 02 4 169 TARIFFA 03 1 TARIFF 03 1 170 TARIFFA 03 2 TARIFF 03 2 171 TARIFFA 03 3 TARIFF 03 3 172 TARIFFA 03 4 TARIFF 03 4 173 TARIFFA 04 1 TARIFF 04 1 174 TARIFFA 04 2 TARIFF 04 2 175 TARIFFA 04 3 TARIFF 04 3 176 TARIFFA 04 4 TARIFF 04 4 177 TARIFFA 05 1 TARIFF 05 1 178 TARIFFA 05 2 TARIFF 05 2 179 TARIFFA 05 3 TARIFF 05 3 180 TARIFFA 05 4 TARIFF 05 4 181 TARI...
Page 35: ...ATEMATICO 06 MATHEMATICAL 06 231 MATEMATICO 07 MATHEMATICAL 07 232 MATEMATICO 08 MATHEMATICAL 08 233 MATEMATICO 09 MATHEMATICAL 09 234 MATEMATICO 10 MATHEMATICAL 10 235 MATEMATICO 11 MATHEMATICAL 11 236 MATEMATICO 12 MATHEMATICAL 12 237 MATEMATICO 13 MATHEMATICAL 13 238 MATEMATICO 14 MATHEMATICAL 14 239 MATEMATICO 15 MATHEMATICAL 15 240 MATEMATICO 16 MATHEMATICAL 16 241 7 Impostazione dei tipi del...
Page 36: ...00h LSB Numero registri 02h 02h Numero byte 04h 04h MSB Syncro 00h 00h LSB Syncro 00h 01h LSB CRC 2Fh EEh MSB CRC C3h 03h LSB Measurement 1 00h MSB Measurement 2 00h LSB Measurement 2 00h MSB Measurement 3 00h LSB Measurement 3 00h MSB Measurement 4 00h LSB Measurement 4 00h MSB Measurement 5 00h LSB Measurement 5 00h MSB Measurement 32 00h LSB Measurement 32 00h Not used 00h Not used 00h Not used...
Page 37: ...ando START LOGGER indirizzo 21F3h Indirizzo slave 08h Funzione 06h MSB Indirizzo registro 21h LSB Indirizzo registro F2h MSB Dato 00h LSB Dato 00h LSB CRC 22h MSB CRC 9Ch 9 LOOP or STOP when memory full command 2206h LOOP STOP Slave address 08h 08h Function 06h 06h MSB register address 22h 22h LSB register address 05h 05h MSB Data 00h 00h LSB Data 00h 01h LSB CRC 93h 52h MSB CRC 2Ah EAh 10 Start s...
Page 38: ...sta master primo bit di stato indirizzo 21F3h Indirizzo slave 08h Funzione 04h MSB Indirizzo registro 21h LSB Indirizzo registro F2h MSB Numero registri 00h LSB Numero registri 01h LSB CRC 9Ah MSB CRC 9Ch 13 REBOOT command 2F01h Slave address 08h Function 06h MSB register address 2Fh LSB register address 00h MSB Data 00h LSB Data 01h LSB CRC 40h MSB CRC 47h DOWNLOAD DATA FROM DATALOGGER Per scaric...
Page 39: ...10h MSB Indirizzo registro 1Fh LSB Indirizzo registro F1h MSB Numero registri 00h LSB Numero registri 02h Numero byte 04h MSB Data Ora 28h Data Ora 78h Data Ora 89h LSB Data Ora D8h Slave answer first status bit Slave address 08h Function 04h Byte number 02h MSB Wait Recording 00h LSB Wait Recording 01h LSB CRC A4h MSB CRC F1h Master query second status bit command 21F4h Slave address 08h Function...
Page 40: ... Indirizzo slave 08h Funzione 17h MSB Indirizzo num registri da ricevere 0Fh LSB Indirizzo num registri da ricevere 7Dh MSB Numero registri record 00h LSB CRC 71h MSB CRC F8h Date Time number of seconds from Jenuary 1st 1990 0h00m00s 5 Delay end index search indirizzo 21F7h Richiesta master Indirizzo slave 08h Funzione 04h MSB Indirizzo registro 21h LSB Indirizzo registro F6h MSB Numero registri 0...
Page 41: ...B Dato 4 00h Dato 4 00h Dato 4 3Fh LSB Dato 4 72h LSB CRC MSB CRC Data ora numero secondi trascorsi da 1 1 1990 LSB Register number each record 0Ah MSB Record number address 30h LSB Record number address 3Fh MSB Register number each datum 00h LSB Register number each datum 02h Byte number each datum 04h MSB Record index 00h Record index 00h Record index 00h LSB Record index 03h LSB CRC 60h MSB CRC...