Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Insufficient data received error in modbus

Status
Not open for further replies.

paddy_p

Member level 2
Joined
May 31, 2012
Messages
47
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Mumbai India
Activity points
1,669
View attachment commdata.txtHi,

I have a monitor which is programmed as modbus slave (RTU ). When I am connecting single device and checking the RS485 communication using Modbus poll and RS232 to RS 485 converter, it works fine. But when I connect another similar device in loop at that time it gives insufficient data byte error and CRC error.

Please advice what could be the problem.

Thanks,
Paddy
 
Last edited:

But when I connect another similar device in loop
I won't describe a RS485 bus as a "loop". Are you talking about something different?

What do you exactly mean with "a monitor which is programmed as modbus slave"? A monitor should connect passively to the bus, a slave is an active device answering requests to its device address.

Possible reasons for communication failure:
- two slaves using the same device address
- a RS485 bus related problem, e.g. wrong termination or missing bias resistors
 
Hi,

I am sorry for using wrong term. I mean to say multidrop connection. The problem was occurring because of improper voltage (reverse voltage i.e. VCC is connected to GND and vice versa) to bias resistors.

Thanks for your support!!

Regards,
Paddy
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top