Download Print this page
Lovato DMG210 Protocol Instructions

Lovato DMG210 Protocol Instructions

Modbus communication protocol
Hide thumbs Also See for DMG210:

Advertisement

Quick Links

Multimetro digitale
PROTOCOLLO DI COMUNICAZIONE
MODBUS®
Doc. AHIT101C0208.doc
DMG210 DMG300
77
DMG700 DMG800
Date: 10/11/2009
DMG210 DMG300
DMG700 DMG800
Digital multimeter
MODBUS® COMMUNICATION PROTOCOL
P. 1 / 18

Advertisement

loading

Summary of Contents for Lovato DMG210

  • Page 1 DMG210 DMG300 DMG210 DMG300 DMG700 DMG800 DMG700 DMG800 Multimetro digitale Digital multimeter PROTOCOLLO DI COMUNICAZIONE MODBUS® COMMUNICATION PROTOCOL MODBUS® Doc. AHIT101C0208.doc Date: 10/11/2009 P. 1 / 18...
  • Page 2: Modbus Protocol

    PROTOCOLLO MODBUS® MODBUS® PROTOCOL Il multimetro digitale DMG210 supporta i protocolli di The digital multimeter DMG210 supports the comunicazione Modbus RTU® e Modbus ASCII® communication protocols Modbus RTU® and sulla porta seriale RS-485. Modbus ASCII® on the RS-485 serial port.
  • Page 3: Modbus Rtu Protocol

    PROTOCOLLO MODBUS® RTU MODBUS® RTU PROTOCOL Quando si utilizza il protocollo Modbus® RTU, la If one selects the Modbus® RTU protocol, the struttura del messaggio di comunicazione è così communication message following costituita: structure: Indirizzo Funzione Dati Address Function Data ( 8 bit) (8 bit) (N x 8 bit)
  • Page 4 FUNZIONE 04: READ INPUT REGISTER FUNCTION 04: READ INPUT REGISTER La funzione 04 permette di leggere una o più The Modbus® function 04 allows to read one or grandezze consecutive in memoria. L’indirizzo di more consecutive registers from the slave memory. ciascuna grandezza e’...
  • Page 5 FUNZIONE 06: PRESET SINGLE REGISTER FUNCTION 06: PRESET SINGLE REGISTER Questa funzione permette di scrivere nei registri. This function allows to write in the registers. Essa puo’ essere utilizzata solo con i registri di It can be used only with registers with address indirizzo superiore a 1000 Hex.
  • Page 6 MSB CRC …h LSB CRC …h LSB CRC …h 79h = DMG210, 82h = DMG300, AAh DMG700, 79h = DMG210, 82h = DMG300, AAh DMG700, B4 = DMG800 B4 = DMG800 ERRORS ERRORI In case the slave receives an incorrect message, it...
  • Page 7: Modbus® Ascii Protocol

    PROTOCOLLO MODBUS® ASCII MODBUS® ASCII PROTOCOL Il protocollo Modbus® ASCII viene utilizzato The Modbus® ASCII protocol is normally used in normalmente nelle applicazioni che richiedono di application that require to communicate through a comunicare via modem. couple of modems. Le funzioni e gli indirizzi disponibili sono gli stessi The functions and addresses available are the same della versione RTU, ma i caratteri trasmessi sono in as for the RTU version, but the transmitted...
  • Page 8 CALCOLO DEL CRC (CHECKSUM per RTU) CRC CALCULATION (CHECKSUM for RTU) Esempio di calcolo: Example of CRC calculation: Hex FFFF = CRC Frame = 0207h Frame = 0207h Inizializzazione CRC 1111 1111 1111 1111 CRC initialization 1111 1111 1111 1111 Carica primo byte 0000 0010 Load the first byte...
  • Page 9 TABELLA 2: TABLE 2: MISURE FORNITE DAL PROTOCOLLO DI COMUNICAZIONE MEASURES SUPPLIED BY SERIAL COMMUNICATION PROTOCOL (Utilizzabili con funzioni 03 e 04) (To be used with functions 03 and 04) FORMATO Indirizzo UNITA’ MISURA WORDS MEASURE FORMAT Address UNIT MISURA ISTANTANEA MEASURE ISTANTANEOUS 0002H Tensione Di Fase L1...
  • Page 10 FORMATO Indirizzo UNITA’ MISURA WORDS MEASURE FORMAT Address UNIT MISURA MASSIMA MEASURE MAXIMUM 0400H Tensione Di Fase L1 L1 Phase Voltage V/100 Unsigned long ● ● ● ● 0402H Tensione Di Fase L2 L2 Phase Voltage V/100 Unsigned long ● ●...
  • Page 11 Indirizzo UNITA’ Misura FORMATO FORMAT WORDS MEASURE Address UNIT Unsigned long ● ● ● ● 1A20H Energia Attiva Importata totale Active Energy Imp. Tot kWh / 100 Unsigned long ● ● ● ● 1A22H Energia Attiva Esportata totale Active Energy Exp. Tot kWh / 100 Unsigned long ●...
  • Page 12 Indirizzo UNITA’ Misura FORMATO FORMAT WORDS MEASURE Address UNIT ● ● ● 1D00H Contatore 1 Counter 1 Unsigned long ● ● ● 1D02H Contatore 2 Counter 2 Unsigned long ● ● ● 1D04H Contatore 3 Counter 3 Unsigned long ● ●...
  • Page 13 TABLE 3: TABELLA 3: COMMANDS COMANDI (To be used with function 06) (Utilizzabili con funzione 06) INDIRIZZO WORDS COMANDO COMMAND VALORE FORMATO ADDRESS VALUE FORMAT 2FF0H Unsigned int Azzera HI –LOW Reset HIGH-LOW ● ● ● ● Unsigned int 2FF0H Azzera Max Demand Reset Max Demand ●...
  • Page 14 TABELLA 4: TABLE 4: PARAMETRI SETUP SETUP PARAMETERS (Utilizzabili con funzioni 04 e 06) (To be used with functions 04 and 06) CODE MENU MENU WORDS ADDRESS Generale General P01.01 Primario TA CT primary 10000 5000H ● ● ● ● P01.02 Secondario TA CT secondary...
  • Page 15 CODE MENU MENU WORDS ADDRESS Coumunicazione Communication P07.n.01 Indirizzo seriale nodo Serial node address 5300H + (n -1) * 80H ● ● ● ● P07.n.02 Velocità seriale Serial speed 5302H + (n -1) * 80H ● ● ● ● P07.n.03 Formato dati Data format 5304H + (n -1) * 80H...
  • Page 16 CODE MENU MENU WORDS ADDRESS Ingressi Inputs P13.n .01 Funzione ingresso Input function 6480H + (n -1) * 80H ● ● ● P13.n .02 Stato a riposo Normal status 6482H + (n -1) * 80H ● ● ● P13.n .03 Ritardo ON ON delay 60000...
  • Page 17 Schemi di collegamento Network wiring diagram • DMG210 TR A RS485 RS485 DMG210 n°31 DMG210 n°1 • EXM 10 11 RS 232 EXM 10 11 • EXM 10 12 RS485 RS232 EXM10 .. EXM10 .. CABLE 51C4 SET AS REPEATER RS232/RS485 CONV.
  • Page 18 • EXP 10 11 RS 232 Cable 51C2 RJ6/6 RS232 • EXP 10 12 RS 485 B SG RS485 RS485 EXP10 12 n°31 EXP10 12 n°1 Doc. AHIT101C0208.doc Date: 10/11/2009 P. 18 / 18...

This manual is also suitable for:

Dmg700 dmg800Dmg300