Page 1
MULTIMETRO DIGITALE DIGITAL MULTIMETER DMK40 DMK40 PROTOCOLLO DI COMUNICAZIONE COMMUNICATION PROTOCOL MODBUS RTU MODBUS RTU ® ® ADDENDUM ADDENDUM p. 1 / 25 Date: 20/02/2006 Doc. code:AHIT303$0500.doc...
Page 2
INTERFACCIA SERIALE RS-485 RS 485 SERIAL INTERFACE Il modello DMK40 è provvisto di una interfaccia seriale RS-485 half duplex optoisolata. The model DMK40 has a built-in isolated Half duplex RS-485 serial interface. L’impostazione della porta di comunicazione si effettua nel setup del multimetro The communication port setting is obtained through dedicated setup parameters, as tramite alcuni parametri dedicati.
FUNZIONI FUNCTIONS Per esempio, se si vuole leggere dal multimetro con indirizzo 8 il valore della tensione For instance, to read the value of the equivalent phase-to-phase voltage, which concatenata equivalente che si trova alla locazione 16 (10 Hex), il messaggio da resides at location 16 (10 Hex) of the multimeter with serial address 08, the message spedire è...
Il multimetro formatta le misure automaticamente con i coefficienti di k (1000) e M The multimeter automatically formats the measures with the coefficient of k (1000) and (1000000). M (1000000). Nel protocollo in esame le grandezze vengono trasferite in base all’unità elencata The measures transferred by the protocol are expressed in the unit of measure listed nella Tabella 2 e sono tutte composte da 4 byte.
Page 5
FUNZIONE 16: PRESET MULTIPLE REGISTER FUNCTION 16: PRESET MULTIPLE REGISTER Questa funzione permette di modificare più parametri consecutivamente o parametri This function allows to modify multiple parameters with a single message, or to preset composti da più di 2 byte. L’indirizzo ed il range valido per i vari parametri possono a value longer than one register.
FUNZIONE 23: Read/Write 4X Registers) FUNCTION 23: Read/Write 4X Registers Questa funzione permette di combinare lettura e scrittura in un unico comando. This function allows to combine reading and writing all in one command. E’ possibile leggere un gruppo di registri e scrivere un altro diverso gruppo. It is possible to read a set of registers and write another different set.
Page 7
PROTOCOLLO MODBUS® ASCII MODBUS® ASCII PROTOCOL Se si seleziona il parametro P.44 come protocollo Modbus® ASCII, la struttura del If one selects Modbus® ASCII protocol at parameter P.44, the communication messaggio di comunicazione è così costituito: message has the following structure: Indirizzo Funzione Dati...
Page 8
Richiesta Master: Master query: Indirizzo slave Slave address Funzione Function MSB Indirizzo registro MSB register address LSB Indirizzo registro LSB register address MSB Numero registri MSB register number LSB register number LSB Numero registri CRLF CRLF In the above example, slave 08 is requested for 8 consecutive registers beginning with Nell’esempio vengono richiesti allo slave numero 8, 8 registri consecutivi a partire address 10h.
Page 9
Risposta Slave: Slave response: La risposta è un eco della domanda, cioè viene inviato al master l’indirizzo del dato da The slave response is an echo to the query that is the slave sends back to the master modificare e il nuovo valore del parametro. the address and the new value of the variable.
FUNZIONE 17: REPORT SLAVE ID Questa funzione permette di identificare il tipo di strumento. FUNCTION 17: SLAVE ID REPORT This function allows to identify the instrument type. Richiesta Master. Master query: Indirizzo slave Slave Address Funzione Function CRLF CRLF Risposta Slave: Slave response: Indirizzo slave Slave Address...
CALCOLO DEL CRC (CHECKSUM) CRC CALCULATION (CHECKSUM) Hex FFFF = CRC Esempio di calcolo: Example of CRC calculation: Frame = 0207h Frame = 0207h CRC xor BYTE = CRC Inizializzazione CRC 1111 1111 1111 1111 CRC initialization 1111 1111 1111 1111 Carica primo byte 0000 0010 Load the first byte...
Page 12
DATA-LOGGER SYSTEM SETUP IMPOSTAZIONE DMK40 DMK40 SETTING Il DMK40 viene prodotto con parametri di default che disabilitano il data- The DMK40 is supplied with default parameters that disable the data-logger. logger. L’abilitazione del data-logger può essere facilmente effettuata Enabling the data-logger is easily obtained through the Lovato or other mediante il software Lovato o altro software di controllo tramite protocollo di control software using Modbus...
Page 13
TABELLA 2: TABLE 2: MISURE FORNITE DAL PROTOCOLLO DI COMUNNICAZIONE MEASURES SUPPLIED BY SERIAL COMMUNICATION PROTOCOL INDIRIZZO WORDS MISURA MEASURE UNITA’ FORMATO ADDRESS UNIT FORMAT Tensione di fase L1 L1 Phase voltage Unsigned long Tensione di fase L2 L2 Phase voltage Unsigned long Tensione di fase L3 L3 Phase voltage...
Page 14
TABELLA 2 (continua) TABLE 2 (continuation) INDIRIZZO WORDS MISURA MEASURE UNITA’ FORMATO ADDRESS UNIT FORMAT Average Potenza attiva di fase L1 Average L1 Phase active power Unsigned long Average Potenza attiva di fase L2 Average L2 Phase active power Unsigned long Average Potenza attiva di fase L3 Average L3 Phase active power Unsigned long...
Page 15
TABELLA 2 (continua) TABLE 2 (continuation) INDIRIZZO WORDS MISURA MEASURE UNITA’ FORMATO ADDRESS UNIT FORMAT 7. armonica tensione di fase L1 7° harmonic on L1 phase voltage Unsigned long 7. armonica tensione di fase L2 7° harmonic on L2 phase voltage Unsigned long 7.
Page 16
TABELLA 2 (continua) TABLE 2 (continuation) INDIRIZZO WORDS MISURA MEASURE UNITA’ FORMATO ADDRESS UNIT FORMAT 142h 2. armonica corrente di fase L1 2° harmonic on L1 phase current Unsigned long 144h 2. armonica corrente di fase L2 2° harmonic on L2 phase current Unsigned long 146h 2.
Page 17
TABELLA 2 (continua) TABLE 2 (continuation) INDIRIZZO WORDS MISURA MEASURE UNITA’ FORMATO ADDRESS UNIT FORMAT 1Aeh 20. armonica corrente di fase L1 20° harmonic on L1 phase current Unsigned long 1B0h 20. armonica corrente di fase L2 20° harmonic on L2 phase current Unsigned long 1B2h 20.
Page 18
Unsigned integer fermato quando la memoria è esaurita. memory is full. Se il valore è 0 indica che l’orologio del Dmk40 è When set to 0, the DMK40 clock is programmed 21F0h stato settato durante l’ora solare; se uguale a 1 to standard time;...
Page 19
Measure selected according to Table 2 Se per esempio si vuole memorizzare il valore dell’energia ogni 60 min bisogna impostare 3600 sec. Se l’orologio del DMK40 indica le 08:35:26, con l’impostazione del tempo di sincronizzazione di 60 minuti, il primo record verrà memorizzato alle 09:00:00. La base tempi di memorizzazione dei successivi record dipende dal valore impostato all’indirizzo 215Ch,215Eh e 2160h.
Page 20
If bit 32 is set to 1, the assigned value, given by the difference time of the DMK and PC clocks, from bit 0 to bit 15 will be decreased. If bit 32 is equal to 0, the value from bit 0 to bit 15 will be summed. This instruction is useful if the two clocks differ by a few seconds or minutes; otherwise, it is better to directly reset the DMK40 clock using the addresses 2150h to 215Ah.
Page 21
TABELLA 7 : TABLE 7: MISURE ASSOCIABILI SOGLIA START-STOP READINGS ASSOCIABLE TO START-STOP DATA-LOGGER DATALOGGER MISURA MEASURE Tensioni di fase L1,L2,L3 L1,L2,L3 phase voltage Tensioni concatenate L1-L2, L2-L3,L3-L1 L1-L2, L2-L3,L3-L1 phase-to-phase voltage Correnti di fase L1,L2,L3 L1,L2,L3 phase current Potenza attiva L1,L2,L3 L1,L2,L3 active power Potenza reattiva L1,L2,L3 L1,L2,L3 reactive power...
Page 22
TABELLA 7 (continua) TABLE 7 (continues) MISURA MEASURE Average Potenza reattiva di fase L1 Average L1 reactive power Average Potenza reattiva di fase L2 Average L2 reactive power Average Potenza reattiva di fase L3 Average L3 reactive power Average Potenza apparente di fase L1 Average L1 apparent power Average Potenza apparente di fase L2 Average L2 apparent power...
Page 23
TABLE 7 (continues) TABELLA 7 (continua) MISURA MEASURE 14. armonica tensione di fase L1 14° harmonic L1 phase voltage 14. armonica tensione di fase L2 14° harmonic L2 phase voltage 14. armonica tensione di fase L3 14° harmonic L3 phase voltage 15.
Page 24
15. armonica corrente di fase L1 15° harmonic L1 phase current 15. armonica corrente di fase L2 15° harmonic L2 phase current 15. armonica corrente di fase L3 15° harmonic L3 phase current 16. armonica corrente di fase L1 16° harmonic L1 phase current 16.
Page 25
FUNZIONE SOVRACCARICO CONDENSATORI CAPACITOR OVERLOAD FUNCTION Nei multimetri DMK31, DMk32, DMK61 e DMK 62 e’ disponibile la Multimeters DMK31, DMK32, DMK61 and DMK62 have a built-in capacitor visualizzazione del sovraccarico condensatori, espresso in percentuale (solo per overload monitoring function (three phase system only). This function is to sistemi trifase).
Need help?
Do you have a question about the DMK40 and is the answer not in the manual?
Questions and answers