Forum: µC & Digital Electronics Modscan issue with energy meter

Author: WB Isme (Company: NIL) (zenniz)
Posted on:

Rate this post
0 useful
not useful
I'm using Modscan to check the data from my Integra 1630 Energy meter. 
Often, i will only receive a register value of 0x00 while occasionally a 
good reply. I tried changing the scan rate from 100ms to 5s but nothing 
changes. The wire connected from my RS485 to the energy meter is less 
than 50m.
Anyone has any idea why this is happening and is there any adjustment i 
can do to make the slave send back good reply instead of 0x00?

Here are some readings of the replied data from my Modscan
1st reply - 00
2nd reply - 00
3rd reply - 01 04 04 4c 72 b5 ca bb c8
4th reply - 00
5th reply - 00
6th reply - 00
7th reply - 00
8th reply - 01 44 44 4c 72 b5 ca bb c8
9th reply - 00
10th reply - 00

: Moved by Moderator
Author: WB Isme (Company: NIL) (zenniz)
Posted on:

Rate this post
0 useful
not useful
Found the solution.
There are no terminal resistor between the twisted pair.
After adding a 120ohms resistor between it, i got good reading.

Author: DOMINIC VINOTH (Company: PROCON) (domvinoth)
Posted on:

Rate this post
0 useful
not useful
Modbus is totally new to me. So it would be greatly appreciated if 
anyone could help me figuring out,

 In my product I am using 8bit micro controller, which is collect the 
data from field in every 5ms once . already we have  implement modbus 
communication  to my module via RS 485 communication.

but my problem is how i can communicate with my module into MODSCAN32 
software. i was trying this but i am geting invalid slave response. 
kindly advice me .

V.Dominic Antony Vinoth.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.