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

 

MANUALE D’USO / USER’S GUIDE

 

 



E1200 

[email protected]     www.esam.biz 

page 15 - 16 

rev. 1.07 

0714 

 

 

SOLUZIONE PROBLEMI DI COMUNICAZIONE / 

COMMUNICATION TROUBLESHOOTING 

 

L’interfaccia  seriale  RS485  è  basata  su  una  linea  di 
comunicazione  differenziale  bilanciata,  impedenza  tipica:  120

La  lunghezza  massima  del  collegamento  non  è  definita  ma 
dipende  dalla  velocità  comunicazione,  dal  rapporto  segnale 
disturbo, dalla qualità del cavo. Si fissa generalmente a 1200 metri 
la lunghezza massima. 
Si  può  usare  cavo  non  schermato  se  la  distanza  è  di  qualche 
metro  in  ambiente  elettricamente  poco  “rumoroso”.  Per  distanze 
comprese  tra  15  e  100  metri  è  possibile  usare  un  generico  cavo 
schermato  e  twistato,  mentre per  i  collegamenti  oltre  100  metri  è 
opportuno  usare cavo di  qualità,  ad  esempio  CEAM  CPR  6003 o 
BELDEN 9841. 
Lo schermo del cavo utilizzato dovrà essere collegato al morsetto 
0 e messo a terra da un lato (preferibilmente lato master). 
 

Quando Modbus su RS485 non funziona: 

 

1)  Provare con una rete Modbus semplice, un master e uno 

slave: controllare il cablaggio sia corretto, ovvero che A, B e 
0 del master siano collegati ai rispettivi A, B e 0 dello slave 

2)  Verificare che i parametri base di comunicazione del master 

siano: 8 bit, 1 stop bit, bit di parità assente, e che il baud rate 
sia lo stesso dello slave  

3) 

Verificare che l’indirizzo assegnato allo slave sia quello che  il 
master cerca di interrogare 

4)  Se si utilizza un convertitore RS232/485, verificare che si 

commuti in ricezione prima che lo slave abbia iniziato ad 
inviare la risposta 

5)  Se la rete smette di funzionare quando si aggiunge uno 

slave, controllare che l’ultimo slave aggiunto non abbia A e  B 
invertiti o lo stesso indirizzo di un altro slave già collegato. 

6)  Le variabili float devono essere lette o scritte con un singolo 

comando Modbus: non e’ possibile leggere o scrivere  
“mezzo float”. 

7)  Per specifica del protocollo i registri Modbus (quelli scritti nel 

manuale dello strumento) si contano a partire da 1, ma gli 
indirizzi dei registri si contano da 0. Ciò significa che per 
chiedere la variabile che si trova nel registro 100 sulla linea 
seriale viaggia il numero 99. Il software dell’unita’ master 
dovrebbe provvedere a inviare 99 quando gli si chiede il 
registro 100, in modo che per l’utente tutto sia trasparente. 
Se così non fosse impostare nel master il numero del registro 
- 1 (cioè in questo esempio 99) 

8) 

L’analizzatore ESAM E1200 gestisce la richiesta di un blocco 
di holding registers (modbus funzione 3) fino a un massimo  
di 120 word (60 variabili float): gli indirizzi iniziale e finale non 
devono cadere a metà di una variabile float. 

9)  Negli strumenti ESAM la scrittura in blocco di holding 

registers (modbus funzione 16) e’ limitata a 2 word, ovvero 
una variabile float  

10) 

Se si ricevono numeri senza senso, verificare che l’ordine in 
cui lo slave invia le due word che compongono le variabili 
float sia quello che il master sia aspetta. In caso contrario 
impostare diversamente il master o lo slave. 

11)  In caso di malfunzionamento solo in 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.  

 

 

 

The RS485 serial interface is based on a differential balanced 
communication line with a typical impedance of 120 ohms. 
The maximum achievable length of the link depends on  
communication speed, signal to noise ratio and cable quality: it 
is generally specified as 1200 meters. 
An unshielded twisted pair can be used on short distances if the 
electrical environment is not too noisy. 
For distances between 15 and 100 meters any shielded twisted 
pair will work, but for longer links a high quality low loss cable 
like CEAN CPR 6003 or BELDEN 9841 is suggested. 
The cable shield must be connected to the 0 terminals and 
grounded at one point only (preferably on master side). 

 

When Modbus on RS485 doesn’t work:  

 

1)  Try a simple Modbus network, just one master and one 

slave: check wiring, that is master A, B, 0 terminals 
properly connected to slave A, B, 0. 

2)  Check master communication parameters: they must be 8 

data bits, 1 stop bit, no parity, baud rate the same of the 
slave 

3)  Check if the address of the slave is the one the master is 

trying to access. 

4)  If you are using a RS232/RS485 converter, verify that it 

properly switches in receive mode before the slave starts 
sending its reply. 

5)  If the network stops working when you add a slave, check 

if the slave is properly wired and if its address is not the 
same of another slave already connected 

6)  Floating point variables must be read and written with a 

single Modbus command: it is not allowed to read or write 
one half of a float. 

7)  According to Modbus specification, Modbus registers (that 

is those listed on the instruction manual) are counted 
starting from 1, while their addresses starts from 0. This 
means that when you ask for register 100 the actual 
number which the master must send on the line is 99. The 
master should deal with this in a transparent way for the 
user: if not, you have to modify master setup entering 
register number - 1 (in this example 99) 

8)  ESAM E1200 implements Modbus function 3 (read holding 

registers) up to a maximum of 120 words (60 floating point 
variables): initial and final addresses of the block must not 
be in the middle of a float. 

9)  ESAM instruments implement Modbus function 16 (preset 

multiple registers) only for 2 words, that is 1 floating point 
value. 

10)  If the master is receiving meaningless numbers, check if 

the slave sends the two words of a float in the same order 
as the master is expecting. If not change setup either in the 
master or in the slave 

11)  If you experience network malfunctioning in field only, 

verify the layout of the RS485 line. Use high quality 
shielded pairs, always connect 0 terminals, ground the 
shield in one point only, avoid line branches and star 
topologies, put the 120 ohm termination resistance at the 
ends of the line. All this is most important with long lines 
and many slaves connected.       

 

 

 

Содержание 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...

Отзывы: