Esam E1200 Скачать руководство пользователя страница 8

 

MANUALE D’USO / USER’S GUIDE

 

 



E1200 

[email protected]     www.esam.biz 

page 8 - 16 

rev. 1.07 

0714 

 

 

PROTOCOLLO MODBUS RTU / 

MODBUS RTU PROTOCOL

 

 

Funzioni Modbus RTU implementate: 

 

- 03 read holding registers. 

E’ possibile leggere fino a 120 word 

per volta. Entrambe le word dei valori valori floating point devono 
essere lette con una singola richiesta. 
Se 

l’indirizzo iniziale o finale cade in mezzo ad un valore floating 

point verrà ritornato un codice di errore (illegal address).  

 

-  06  preset  single  register. 

Questo  comando  funziona  solo  con 

valori  interi.  I  valori  floating  point  devono  essere  scritti  con 

“preset 

multiple register” 

 

- 16 preset multiple register. 

Questo comando è utilizzato per 

scrivere un valore floating point (2 word). 

E’ utilizzabile anche per 

scrivere un valore intero (1 word) 
Si può scrivere un solo valore intero o floating point alla volta.

 

 

Modbus RTU functions implemented: 

 

- 03 read holding registers. 

 Up to 120 words of contiguous data 

can be retrieved at a time. Both words of floating point values must 
be read with a single query. The instrument sends back an exception 
response (illegal address) if the initial and final register of the query 
are not chosen properly  

 

- 06 preset single register. 

This command works only with integer 

values. Floating point values must be written with “preset multiple 
registers”  

 

- 16 preset multiple register. 

This command is intended to write a 

floating point value (2 words). Can be used also to write an integer 
value (1 word). 
Only a single value at a time can be written (float or integer).

 

 

Tipi di dati. 

 La comunicazione seriale avviene tramite la 

trasmissione di parole binarie di 16 bit (word). I dati sono di due tipi: 
interi (una word) e floating point (2 word).   
Esempio: Per leggere  quattro misure partendo dal registro 100. si 
dovranno chiedere 8 word, quindi i registri da 100 a 107. 

 

Valori floating point. 

I numeri floating point seguono la specifica 

IEEE 32 bit floating point standard. 

 

Data types. 

 Serial communication basically consists of 16 bit binary 

words. Two data types are used: integer (one word) and floating 
point (2 words).  
Example: To read 4 measured values starting register 100, 
8 words are required, that is from register 100 to 107. 

 

 

Floating point value. 

According to the IEEE 32 bit standard format, 

a floating point value is coded as follows: 

 
 

MSB 

 

LSB 

seeeeeee  :  emmmmmmm

 

mmmmmmmm  :  mmmmmmmm

 

word A 

 

word B

 

 
 

s

  segno del numero 0 positivo  1 negativo 

e

  esponente a 8 bit 

m

 mantissa del numero 23 bit 

 

Comando 

SWFP

: Impostando 0 si riceverà  prima la word A e poi la 

word B; impostando 1 prima la word B e poi la word A 

 

Codici di errore Modbus RTU implementati: 

 

-

 

1 illegal function

 - funzione non valida o non implementata. 

 

-

 

2 illegal data address

 - richiesta di lettura o scrittura ad un 

indirizzo non valido. Es. registro inesistente, lettura di una sola 
word di un valore float. 

 

-

 

3 illegal data value

 - scrittura di un valore non valido, ad esempio 

fuori dai limiti ammessi. 

 

Sign bit. ”0” if the value is positive, “1” if the value is negative 

8 bit exponent 

The mantissa, which is coded in 23 bits. 

 

SWFP

 Command: Setting to 0 word A will be sent before      word B; 

setting 1 word B will be sent before word A. 

 

Modbus RTU implemented exception codes: 

 

-

 

1 illegal function

 - invalid or non implemented function

 

-

 

2 illegal data address

 - read or write request at an invalid 

address. Ex. Non existent register, read one word only of a 
floating point value. 

 

-

 

3 illegal data value

 - write request of an invalid value, e.g. out of 

allowed limits. 

 

BLOCCO VIRTUALE DI REGISTRI MODBUS /

 

VIRTUAL BLOCK OF MODBUS REGISTERS

 

 

La lettura di un blocco di registri modbus è molto più efficiente della 
lettura separata di tante singole variabili, ma richiede che le variabili 
occupino registri modbus consecutivi. 
In questo strumento esiste la possibilità di creare un blocco virtuale, 
che faccia apparire in sequenza variabili sparse. 
La massima lunghezza del blocco virtuale è di 50 word. 
Il blocco virtuale si trova nei registri modbus da 2100 a 2149. 
La definizione delle variabili del blocco virtuale si trova nei registri 
modbus da 2000 a 2049. 

 

Esempio 1:  

 

Scrivendo nei registri modbus da 2000 a 2005 i numeri 100, 0, 122, 
0, 144, 0, ogni successiva richiesta di un blocco di 6 word a partire 
dal registro 2100 ritornera' i valori di V1 (registri 100-101), V2 
(registri 122-123) e V3 (reg. 144-145).  
Notare che ogni valore di 32 bit (float) occupa 2 registri virtuali e che 
deve essere inserito uno zero come secondo registro 

 

Esempio 2:  

 

Scrivendo nei registri modbus 2000 ... 2005 i numeri 500, 501, 304, 
0, 502, 503, ogni successiva richiesta di un blocco di 6 word a partire 
dal registro 2100 ritornera' i valori di indirizzo di stazione (registro 
500), baud rate (registro 501), rapporto TA esterno (registri 304-305 
), minimo ritardo alla risposta (registro 502) e swap float (registro 
503). Notare che il rapporto TA (float) richiede 2 registri virtuali e che 
e' stato inserito uno zero come secondo registro. 

 

Reading a block of Modbus registers with a single query is much 
more efficient than reading individual variables, but works only if the 
variables are located in contiguous registers. 
This instrument allows to define a “virtual block” of variables, that is 
to read an arbitrary chosen list of variables as if their were 
contiguous. The maximum length of the virtual block is 50 words. 
The virtual block is located in registers from 2100 to 2149. 
The list of variables of the virtual block is defined in registers from 
2000 to 2049 

 

Example 1: 

 

Writing the numbers 100, 0, 122, 0, 144,0, to Modbus registers from 
2000 to 2005, any following query of a block of 6 words, starting from 
register 2100 will return the values of V1 (registers 100-101), V2 
(registers 122-123) and V3 (registers 144-145). 
Please note that every float requires two virtual registers and that a 
zero must be entered as second register.  

 

Example 2: 

 

Writing the numbers 500, 501,304, 0, 502, 503, to Modbus registers 
from 2000 to 2005, any following query of a block of 6 words, starting 
from register 2100 will return the values of station address (register 
500), baud rate (register 501),external CT ratio (registers 304-305), 
minimum reply delay time (register 502) and swap float (register 
503). Please note that CT ratio (float) requires two virtual registers 
and that a zero must be entered as second word register. 

 

Содержание E1200

Страница 1: ...ccia Ethernet configurazione dello strumento e visualizzazione misure da browser Web acquisizione dati da sistemi Scada con protocollo Modbus TCP inserzione trifase con 3 TA o 2 TA ARON o monofase con 1 TA rapporti TA e TV configurabili montaggio su profilato DIN EN50022 35 The Network analyzer E1200 entirely designed and developed by ESAM is built to comply with all the modern requirements of mea...

Страница 2: ...attiva uscente Active Energy Out Ea Ea1 Ea2 Ea3 Wh Energia reattiva entrante Reactive Energy In Er Er1 Er2 Er3 VARh Energia reattiva uscente Reactive Energy Out Er Er1 Er2 Er3 VARh Potenza attiva media entrante ultimi 15 minuti Average Active Power In last 15 minutes Pm Pm1 Pm2 Pm3 W Potenza attiva media uscente ultimi 15 minuti Average Active Power Out last 15 minutes Pm Pm1 Pm2 Pm3 W Potenza rea...

Страница 3: ...hase input voltage range 0 1 2Vn nominal input current 5A input current range 0 1 2 In continuous overload 1 5Vn 2In instantaneous overload 1 sec 2Vn 20In programmable external TV ratio 1 99999 programmable external TV ratio 1 99999 averaging time interval AC period 1 sec accuracy voltage current active power 0 2 of reading 5 100 of input range 45 65 Hz temperature coefficient 0 01 C RS485 serial ...

Страница 4: ...ia di rete Ethernet a 10 Mbit s in reti miste 10 100 1000 Mbit s ciò non costituisce un problema purché l E1200 venga collegato a uno switch di rete Evitare invece di usare uno hub in quanto ciò rallenterebbe anche i dispositivi in grado di comunicare fra di loro a velocità maggiore Lo strumento è dotato di un connettore di rete standard RJ45 e ha la seguente configurazione di default Indirizzo IP...

Страница 5: ...legare l E1200 a uno switch di rete con un cavo normale se l E1200 è stato correttamente configurato a questo punto sarà accessibile con un browser da qualsiasi PC collegato alla rete Lo strumento è completamente configurabile per mezzo del web server Il web server consente inoltre la visualizzazione di tutti i valori misurati e calcolati The E1200 network analyzer does not support DHCP and theref...

Страница 6: ...put modules V mA Outputs For each E3000 analog output max 4 E3000 modules 12 analog outputs Output type 0 10V 4 20mA Normal inverted output e g 4 20 or 20 4 mA Output function for power factor readings Low range of output variable High range of output variable Reset readings Individual commands allow to reset Max average power values Min max values of all the readings Energy values SERVER MODBUS T...

Страница 7: ...pronti a ricevere quando l E1200 inizia a rispondere SWFP ordine di trasmissione delle due word dei valori floating point valori validi 0 1 vedi protocollo Modbus nota 2 Parametro configurabile solo per la seconda porta seriale PROT selezione Modbus slave PROT 2 default oppure Modbus master PROT 4 per pilotaggio moduli di output analogico E3000 Impostazioni default di fabbrica per entrambe le port...

Страница 8: ...23 bits SWFP Command Setting to 0 word A will be sent before word B setting 1 word B will be sent before word A Modbus RTU implemented exception codes 1 illegal function invalid or non implemented function 2 illegal data address read or write request at an invalid address Ex Non existent register read one word only of a floating point value 3 illegal data value write request of an invalid value e ...

Страница 9: ... picco I3 nell ultimo periodo AC I3 peak value in last AC period A 158 159 Float Read only S3 Potenza Apparente fase 2 Apparent power Phase 2 VA 160 161 Float Read only PF3 Fattore di potenza fase 3 Power factor Phase 3 162 163 Float Read only THD V3 Distorsione armonica totale V3 Total harmonic distortion V3 164 165 Float Read only THD I3 Distorsione armonica totale I3 Total harmonic distortion I...

Страница 10: ...Phase 2 Average Neg Act Power W 284 285 Float Read only QMMP2 Max Potenza reatt pos media fase 2 Max Phase 2 Average Pos React Power VAR 286 287 Float Read only QMMN2 Max Potenza reatt neg media fase 2 Max Phase 2 Average Neg React Power VAR 288 289 Float Read only PMMP3 Max Potenza att pos media fase 3 Max Phase 3 Average Pos Act Power W 290 291 Float Read only PMMN3 Max Potenza att neg media fas...

Страница 11: ... potenza del sistema trifase The three phase power factor 2280 2281 2480 2481 Float Read only Corrente di neutro Neutral current A Tab 3 REGISTRI DEI PARAMETRI PARAMETER REGISTERS Register Type Read Write Label Description Value Unit 300 301 Float Read only TAP Ingresso nominale I Rated I Input A 302 303 Float Read only TVP Ingresso nominale V Rated V Input V 304 305 Float Read Write ETAR Rapporto...

Страница 12: ...ll uscita function applied to output Tab 8 2708 Int Read Write AOS13 E3000 mod 1 out 3 selezione misura in uscita output reading selection 6 100 180 2709 Int Read Write AOT13 E3000 mod 1 out 3 tipo di uscita output type Tab 7 2710 Int Read Write AOI13 E3000 mod 1 out 3 uscita normale invertita normal inverted output 0 1 2711 Int Read Write AOF13 E3000 mod 1 out 3 funzione applicata all uscita func...

Страница 13: ... 2 out 2 fine campo misura output high range 7 2820 2821 float Read Write AOL23 E3000 mod 2 out 3 inizio campo uscita output low range 7 2822 2823 float Read Write AOH23 E3000 mod 2 out 3 fine campo misura output high range 7 2824 2825 float Read Write AOL31 E3000 mod 3 out 1 inizio campo uscita output low range 7 2826 2827 float Read Write AOH31 E3000 mod 3 out 1 fine campo misura output high ran...

Страница 14: ... which word has to be sent first so set this parameter to have them sent in the order that your master Modbus equipment understands MSB LSB seeeeeee emmmmmmm mmmmmmmm mmmmmmmm word A word B s segno del numero 1 se il valore è negativo 0 se il valore è positivo Sign bit negative it is 1 positive it is 0 e esponente a 8 bit 8 bit exponent m mantissa del numero 23 bit The mantissa which is code in 23...

Страница 15: ... campo verificare che la rete RS485 sia cablata a regola d arte soprattutto per collegamenti di lunghezza elevata e con molti slave connessi usare doppino schermato di buona qualità collegare la calza al terminale 0 degli slave mettere la calza a terra in un unico punto evitare diramazioni della linea e collegamenti a stella montare la resistenza di terminazione 120 ohm ai due estremi della linea ...

Страница 16: ...ve cable too long or wrong type defective network switch 2 Check if the web server works otherwise verify the E1200 network configuration IP address netmask as detailed in the Ethernet interface section of this manual The E1200 IP address must be different from any already assigned static IP address and out of the range of dynamic IP addresses managed by DHCP 3 Check if the E1200 and your Modbus T...

Отзывы: